:root {
  color-scheme: dark;
  --bg: #1a1930;
  --panel: #211f3b;
  --panel-2: #17172b;
  --text: #f7f7ff;
  --muted: #b1b3d0;
  --accent: #a79dff;
  --accent-2: #ece7ff;
  --accent-soft: rgba(167,157,255,0.16);
  --border: rgba(255,255,255,0.08);
  --shadow: 0 24px 70px rgba(0,0,0,0.44);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.08), transparent 24%),
    linear-gradient(180deg, #090d13 0%, var(--bg) 42%, #0b0f15 100%);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
img { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; line-height: 1.72; color: var(--muted); }
h1,h2,h3,strong { margin: 0; color: var(--text); }
.page-shell { width: min(100%, var(--max)); margin: 0 auto; padding: 18px 20px 28px; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.site-header {
  position: sticky; top: 12px; z-index: 30;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 14px 18px; margin-bottom: 22px;
  border: 1px solid var(--border); border-radius: 22px;
  background: rgba(9, 13, 19, 0.76); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.brand-row { display:flex; align-items:center; gap:12px; }
.brand-mark img { width: 180px; height: auto; }
.site-nav { display:flex; justify-content:center; gap: 8px; flex-wrap: wrap; }
.site-nav a {
  padding: 10px 14px; border-radius: 999px; color: var(--muted);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(255,255,255,0.06); color: var(--text); transform: translateY(-1px); }
.menu-button {
  display:none; width:48px; height:48px; padding:0; border-radius:14px; border:1px solid var(--border);
  background: rgba(255,255,255,0.03); cursor:pointer;
}
.menu-button span { display:block; width:20px; height:2px; margin:4px auto; border-radius:999px; background: var(--text); }
.header-cta, .footer-link, .btn {
  display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding: 0 18px;
  border-radius: 999px; font-weight: 700; letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.header-cta, .btn-primary {
  color: #1f1608; background: linear-gradient(135deg, var(--accent-2), color-mix(in srgb, var(--accent) 82%, #a36c1c));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 26%, transparent);
}
.btn-secondary { border:1px solid color-mix(in srgb, var(--accent) 28%, transparent); background: rgba(255,255,255,0.04); }
.btn-tertiary { border:1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.btn:hover, .header-cta:hover, .footer-link:hover { transform: translateY(-1px); }
.btn-wide { width: 100%; }
.hero, .content-split, .content-grid, .content-stack, .final-cta { margin-bottom: 22px; }
.hero {
  display:grid; align-items:center; gap:22px; padding: 16px 0 8px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
}
.hero-copy { padding: 16px 0; }
.eyebrow, .section-kicker {
  display:inline-flex; align-items:center; gap:8px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: color-mix(in srgb, var(--accent-2) 82%, white);
  font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
h1 { margin-top: 16px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .95; letter-spacing: -.04em; }
.hero-lead { margin-top: 16px; max-width: 60ch; font-size: 1.04rem; }
.hero-pills, .hero-actions, .chips { display:flex; flex-wrap:wrap; gap:10px; }
.hero-pills { margin-top: 18px; }
.hero-pills span, .chips span {
  padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03);
}
.hero-actions { margin-top: 22px; }
.card-surface, .section-surface, .module-panel, .info-panel, .faq-item, .category-card, .article-card {
  border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--panel); box-shadow: var(--shadow);
}
.hero-visual { padding: 20px; overflow: hidden; }
.hero-visual img { width: 100%; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); }
.hero-visual-grid { display:grid; gap:14px; }
.hero-visual-bottom, .hero-visual-top { display:flex; gap:12px; justify-content: space-between; }
.hero-visual-top { margin-bottom: 14px; }
.status-chip {
  display:inline-flex; align-items:center; min-height:34px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,0.05); color: #d8deea; font-size: .85rem; font-weight: 700;
}
.status-chip--accent { background: color-mix(in srgb, var(--accent) 18%, transparent); color: #f7e5b8; }
.section-surface { padding: 24px; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom: 18px; }
.section-head h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; }
.section-head p { max-width: 42ch; }
.grid-2 { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.module-panel, .category-card, .article-card, .info-panel, .faq-item { padding: 22px; }
.module-panel--soft { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02)); }
.module-panel h3, .category-card h3, .article-card h3, .info-panel h3 { font-size: 1.08rem; line-height: 1.35; }
.module-panel p, .category-card p, .article-card p, .info-panel p { margin-top: 10px; }
.image-frame { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.image-frame img { width:100%; height:auto; }
.timeline { display:grid; gap: 12px; }
.timeline-item { display:grid; grid-template-columns: 54px minmax(0,1fr); gap: 14px; align-items:start; padding: 18px; border-radius: 20px; background: rgba(255,255,255,0.04); }
.timeline-index, .step-index, .badge-index {
  display:inline-grid; place-items:center; width:54px; height:54px; border-radius:16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, transparent), rgba(255,255,255,0.03));
  color: color-mix(in srgb, var(--accent-2) 82%, white); font-weight: 800;
}
.timeline-item p { margin-top: 6px; }
.faq-list { display:grid; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-trigger {
  width:100%; display:flex; justify-content:space-between; align-items:center; gap: 16px; padding: 20px 22px;
  border:0; background: transparent; color: var(--text); text-align:left; cursor:pointer;
}
.faq-trigger span:first-child { font-size: 1.03rem; line-height: 1.35; }
.faq-icon { position:relative; width:18px; height:18px; flex:none; }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; inset:0; margin:auto; width:18px; height:2px; border-radius:999px; background: color-mix(in srgb, var(--accent-2) 72%, white); transition: opacity .2s ease, transform .2s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { opacity: 0; }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-panel p { padding: 0 22px 20px; }
.faq-item.is-open .faq-panel { max-height: 220px; }
.final-cta {
  display:flex; align-items:center; justify-content:space-between; gap:18px; padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
.final-cta h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height:1.08; }
.final-cta p { margin-top: 10px; }
.final-cta__actions { display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
.site-footer { display:flex; justify-content:space-between; gap:16px; align-items:center; padding: 18px 4px 4px; }
.site-footer p { margin-top: 6px; }
.footer-link { border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); }
.menu-toggle-inline { display:none; }
@media (max-width: 1024px) {
  .site-header { grid-template-columns: 1fr; }
  .site-nav { justify-content:flex-start; }
  .hero, .content-split, .grid-2, .grid-3, .grid-4, .final-cta { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-shell { padding: 12px 12px 18px; }
  .site-header {
    top: 0; margin: 0 -12px 16px; border-radius: 0 0 20px 20px; padding: 12px 14px 14px;
  }
  .brand-row { justify-content:space-between; }
  .menu-button { display:inline-block; }
  .site-nav { display:none; width:100%; padding-top: 8px; }
  .site-header.is-open .site-nav { display:flex; }
  .header-cta { width:100%; }
  .hero { padding-top: 6px; }
  h1 { font-size: clamp(2.1rem, 11vw, 3.4rem); }
  .hero-actions, .final-cta__actions { flex-direction:column; align-items:stretch; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head, .site-footer, .hero-visual-top, .hero-visual-bottom, .final-cta { flex-direction:column; align-items:stretch; }
  .final-cta__actions, .hero-visual-bottom, .hero-visual-top { width:100%; }
}

