@font-face {
  font-family: 'GangJie Uchen';
  src: url('./GangJie-Uchen_1.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d1117;
  --panel: #0f1724;
  --alt: #0b1220;
  --text: #e6edf3;
  --muted: #9fb0c3;
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --ring: #60a5fa33;
  --ok: #10b981;
  --tibetan-font: 'GangJie Uchen', sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--tibetan-font), system-ui, -apple-system, Segoe UI, Roboto, PingFang SC, Microsoft YaHei, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #12213f, transparent),
              radial-gradient(1000px 500px at 90% 10%, #1b2b4d, transparent),
              var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus { left: 16px; top: 12px; width: auto; height: auto; padding: 8px 12px; background: var(--primary); color: #fff; border-radius: 6px; }

.container { width: min(1100px, 92%); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(180deg, #0e1626, #0e1626cc 60%, transparent);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid #1f2a44;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; letter-spacing: 0.5px; }
.brand-mark { color: var(--ok); }
.brand-name { color: var(--text); }
.site-nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover, .site-nav a:focus { color: var(--text); background: #1b2338; outline: 2px solid transparent; box-shadow: 0 0 0 4px var(--ring); }

.hero { padding: 80px 0 44px; }
.hero h1 { font-size: clamp(32px, 6vw, 48px); margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.8; }
.meta { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; color: var(--muted); }
.deadline .label, .cd-label { color: var(--text); }
.cta-row { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid #28406f; color: var(--text); text-decoration: none; background: #132141; box-shadow: inset 0 0 0 1px #1e3a7a, 0 6px 20px #0b1a33; transition: transform .12s ease, background .2s ease; }
.btn:hover, .btn:focus { transform: translateY(-1px); background: #0f1a33; outline: 2px solid transparent; box-shadow: 0 0 0 4px var(--ring), 0 6px 20px #0b1a33; }
.btn.primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); border-color: #1e40af; box-shadow: 0 10px 30px #1d4ed84d; }
.btn.ghost { background: transparent; border-color: #2a3e66; }

.section { padding: 56px 0; background: transparent; }
.section.alt { background: linear-gradient(180deg, #0c1629, #0d1527); border-block: 1px solid #1c2a4b; }
.section h2 { margin-top: 0; }
.grid.two { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 860px) { .grid.two { grid-template-columns: 1fr 1fr; } }

.callout { margin-top: 18px; padding: 14px 16px; background: #0f1c36; border: 1px solid #1f335e; border-radius: 12px; color: var(--muted); }

.steps { counter-reset: step; padding-left: 0; }
.steps li { list-style: none; position: relative; padding-left: 36px; margin: 14px 0; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #102549; color: var(--text); display: grid; place-items: center; border: 1px solid #264578; }
.linklike { background: none; border: none; padding: 0; color: var(--primary); cursor: pointer; text-decoration: underline; }
.upload-box { margin-top: 16px; padding: 16px; border: 1px dashed #2a3f6b; border-radius: 12px; background: #0c1933; color: var(--muted); }

details { background: #0f1a33; border: 1px solid #223863; border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
details[open] { background: #0e162b; }
summary { cursor: pointer; }

.site-footer { margin-top: 40px; border-top: 1px solid #1c2a4b; background: #0c1424; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; color: var(--muted); }
.back-top { color: var(--muted); text-decoration: none; }
.back-top:hover, .back-top:focus { color: var(--text); text-decoration: underline; }

#countdown { font-variant-numeric: tabular-nums; color: var(--text); }

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


