/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: #F4F4F8;
  background-color: #0B0B12;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #6C5CE7; outline-offset: 3px; border-radius: 2px; }

::selection { background: rgba(108, 92, 231, .35); color: #fff; }

/* ============ CSS VARIABLES ============ */
:root {
  --bg-primary: #0B0B12;
  --bg-surface: #171720;
  --bg-raised: #232330;
  --text-primary: #F4F4F8;
  --text-muted: #A8A8B8;
  --text-dim: #6E6E80;
  --accent-purple: #6C5CE7;
  --accent-purple-light: #8B7CF8;
  --accent-orange: #FFB84D;
  --accent-gradient: linear-gradient(135deg, #6C5CE7, #FFB84D);
  --border-subtle: #2C2C3A;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --header-height: 72px;
  --container-max: 1200px;
  --space-px: 24px;
  --space-lg: 64px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.28);
  --shadow-md: 0 8px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.45);
  --transition-fast: cubic-bezier(.25,.1,.25,1) .2s;
  --transition-base: cubic-bezier(.25,.1,.25,1) .35s;
  --font-weight-black: 900;
  --font-weight-bold: 700;
}

/* ============ CONTAINER & LAYOUT BASE ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-px);
}
.section { padding-block: var(--space-lg); position: relative; }
.section-sm { padding-block: 40px; }
.section-head { margin-bottom: 48px; max-width: 620px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-purple);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -.02em;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  letter-spacing: .01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  white-space: nowrap;
  user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #0B0B12;
  background: linear-gradient(135deg, #6C5CE7, #FFB84D);
  box-shadow: 0 4px 24px rgba(255, 184, 77, .18);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255, 184, 77, .28);
  background: linear-gradient(135deg, #7A6CF5, #FFC060);
}
.btn-ghost {
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent-purple); background: rgba(108, 92, 231, .08); }
.btn-outline {
  color: var(--accent-purple-light);
  border: 1px solid rgba(108, 92, 231, .5);
  background: transparent;
}
.btn-outline:hover { background: rgba(108, 92, 231, .12); border-color: var(--accent-purple); }
.btn-sm { padding: 10px 20px; font-size: .875rem; border-radius: 6px; }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ============ SKIP LINK ============ */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 20px;
  background: var(--accent-purple);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  pointer-events: none;
  opacity: 0;
  transition: top var(--transition-base), opacity var(--transition-base);
}
.skip-link:focus-visible {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

/* ============ PROGRESS BAR ============ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 1500;
  pointer-events: none;
  transition: width .1s linear;
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar { display: none; }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 18, .88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(44, 44, 58, .5);
  height: var(--header-height);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
.site-header.is-scrolled {
  background: rgba(11, 11, 18, .96);
  border-bottom-color: rgba(108, 92, 231, .25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .42);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  gap: 16px;
}

/* Brand */
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6C5CE7, #FFB84D);
  box-shadow: 0 0 18px rgba(108, 92, 231, .35);
  position: relative;
  flex-shrink: 0;
  display: inline-block;
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(11, 11, 18, .65);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255, 184, 77, .35);
}
.brand-name {
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text-primary);
  line-height: 1.2;
}
.header-tagline {
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-dim);
  letter-spacing: .08em;
  border-left: 1px solid var(--border-subtle);
  padding-left: 16px;
  margin-left: 4px;
  white-space: nowrap;
  display: none;
}

/* Primary nav desktop */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  letter-spacing: .01em;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}
.nav-link:hover { color: var(--text-primary); background: rgba(255, 255, 255, .045); }
.nav-link[aria-current="page"] { color: var(--text-primary); font-weight: 700; }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-cta { display: inline-flex; }

/* Nav toggle */
.nav-toggle {
  width: 42px;
  height: 42px;
  margin-left: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(23, 23, 32, .6);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
  padding-inline: 0;
}
.nav-toggle:hover { border-color: var(--accent-purple); background: rgba(108, 92, 231, .1); }
.nav-toggle[aria-expanded="true"] { border-color: rgba(108, 92, 231, .5); background-color: rgba(108, 92, 231, .12); }
.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  pointer-events: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav CTA 只在移动端可见 */
.nav-cta-mobile { display: none; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  padding-block: 20px 0;
  font-family: var(--font-mono);
  font-size: .7813rem;
  letter-spacing: .03em;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--text-dim); }
.breadcrumbs li + li::before { content: "/"; color: #3F3F52; font-size: .75rem; }
.breadcrumbs a { color: var(--accent-purple-light); transition: color var(--transition-fast); }
.breadcrumbs a:hover { color: var(--accent-orange); }
.breadcrumbs [aria-current="page"] { color: var(--text-muted); }

/* ============ FOOTER ============ */
.site-footer {
  background: #08080D;
  border-top: 1px solid var(--border-subtle);
  margin-top: 80px;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent-gradient);
  opacity: .55;
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-block: 64px 48px;
}
.footer-brand { max-width: 340px; }
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-link .brand-name { font-size: 1.25rem; }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent-purple-light);
  letter-spacing: .05em;
  margin-top: 12px;
}
.footer-desc {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}
.footer-col-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .03em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-purple);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: .875rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}
.footer-links a:hover { color: var(--text-primary); padding-left: 4px; }
.footer-contact-list { gap: 14px; }
.footer-contact-item { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-contact-item a {
  color: var(--text-muted);
  font-size: .875rem;
  transition: color var(--transition-fast);
  word-break: break-all;
}
.footer-contact-item a:hover { color: var(--accent-orange); }
.footer-contact-text { color: var(--text-muted); font-size: .875rem; }
.footer-legal-note {
  font-size: .7813rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.6;
  border-left: 2px solid rgba(108, 92, 231, .4);
  padding-left: 12px;
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}
.footer-copyright {
  font-size: .8125rem;
  color: var(--text-dim);
}
.footer-icp {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-dim);
  letter-spacing: .04em;
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: 4px;
}
.footer-support-note {
  font-size: .75rem;
  color: var(--text-dim);
  max-width: 420px;
  text-align: right;
  line-height: 1.5;
}
.footer-support-note::before {
  content: "·";
  color: var(--accent-purple);
  font-weight: 900;
  margin-right: 6px;
}

/* ============ PROSE ============ */
.prose-container { max-width: 780px; }
.prose { font-size: .9375rem; line-height: 1.8; color: var(--text-muted); }
.prose h1, .prose h2, .prose h3 { color: var(--text-primary); font-weight: 700; line-height: 1.25; margin-top: 40px; margin-bottom: 14px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-top: 0; }
.prose h2 { font-size: 1.375rem; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.prose h3 { font-size: 1.125rem; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--accent-purple-light); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(108,92,231,.4); }
.prose a:hover { color: var(--accent-orange); text-decoration-color: rgba(255,184,77,.5); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text-primary); font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--accent-purple);
  background: rgba(108, 92, 231, .07);
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: normal;
  border-radius: 0 8px 8px 0;
}
.prose code {
  font-family: var(--font-mono);
  font-size: .85em;
  background: rgba(108, 92, 231, .12);
  color: var(--accent-purple-light);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(108, 92, 231, .2);
}

/* ============ CARD ============ */
.card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent-gradient);
  transition: height var(--transition-base);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 231, .4);
  box-shadow: var(--shadow-md);
}
.card:hover::before { height: 48px; }
.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  background: rgba(108, 92, 231, .15);
  color: var(--accent-purple-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  border: 1px solid rgba(108, 92, 231, .2);
}
.card-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(108, 92, 231, .75);
  margin-bottom: 8px;
  display: block;
}
.card-title { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.card-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ============ MEDIA FRAME ============ */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--placeholder {
  background:
    linear-gradient(135deg, rgba(108, 92, 231, .08), rgba(255, 184, 77, .05)),
    var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-direction: column;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
}
.media-frame--placeholder::before {
  content: "MG";
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .8;
}
.media-frame--placeholder::after {
  content: attr(data-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: inherit;
}
.media-frame--game-preview {
  background:
    radial-gradient(circle at 70% 20%, rgba(108, 92, 231, .3), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255, 184, 77, .18), transparent 55%),
    var(--bg-surface);
}
.media-frame--game-preview::before {
  content: "";
  width: 120px;
  height: 120px;
  border: 2px solid rgba(108, 92, 231, .4);
  border-radius: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 48px rgba(108, 92, 231, .22);
}
.media-frame--game-preview::after {
  content: "◈";
  font-size: 2.25rem;
  color: var(--accent-orange);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 16px rgba(255, 184, 77, .6);
}

/* ============ CODE TAG / KBD ============ */
.kbd {
  font-family: var(--font-mono);
  font-size: .8125rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-bottom-width: 3px;
  border-radius: 5px;
  padding: 3px 9px;
  color: var(--text-primary);
  white-space: nowrap;
}
.code-tag {
  font-family: var(--font-mono);
  font-size: .7813rem;
  background: rgba(108, 92, 231, .12);
  border: 1px solid rgba(108, 92, 231, .25);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--accent-purple-light);
  letter-spacing: .03em;
}

/* ============ HIGHLIGHT / CALLOUT ============ */
.callout {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent-gradient);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin-block: 32px;
}
.callout-title { font-weight: 700; color: var(--text-primary); margin-bottom: 8px; font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.callout-title::before { content: "!"; font-family: var(--font-mono); font-weight: 900; color: var(--accent-orange); }
.callout p { font-size: .875rem; color: var(--text-muted); }

/* ============ GRID UTILITIES ============ */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-px); }
.grid-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-px); }
.grid-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-px); }
.col-span-5 { grid-column: span 5; }
.col-span-7 { grid-column: span 7; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-8 { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }

/* ============ REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.25,.1,.25,1), transform .7s cubic-bezier(.25,.1,.25,1);
  will-change: opacity, transform;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin-block: 0;
}

/* ============ BREAKPOINTS ============ */
@media (min-width: 641px) and (max-width: 1280px) {
  .header-tagline { display: inline-block; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
}

@media (max-width: 1280px) {
  .primary-nav { gap: 0; }
  .nav-link { font-size: .8125rem; padding: 8px 10px; }
}

@media (max-width: 1024px) {
  :root { --header-height: 64px; }
  .footer-main { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .grid-5-7, .grid-7-5, .grid-3, .grid-2 { grid-template-columns: 1fr; row-gap: 24px; }
  .col-span-5, .col-span-7, .col-span-4, .col-span-6, .col-span-8 { grid-column: span 12; }
}

@media (max-width: 768px) {
  .header-tagline { display: none; }
  .nav-cta-mobile { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
  .nav-cta-mobile .btn { width: 100%; }

  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 4px);
    left: 12px;
    right: 12px;
    background: rgba(23, 23, 32, .98);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
    display: none;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity var(--transition-base), transform var(--transition-base);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .primary-nav[data-open="true"] {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-link {
    font-size: .9375rem;
    padding: 14px 12px;
    border-radius: 8px;
    color: var(--text-muted);
  }
  .nav-link:hover { background: rgba(108, 92, 231, .1); }
  .nav-link[aria-current="page"] {
    color: var(--text-primary);
    background: rgba(108, 92, 231, .08);
  }
  .nav-link[aria-current="page"]::after { display: none; }

  .header-cta { display: none; }

  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-wrap: wrap; }
  .footer-support-note { text-align: left; }

  .section { padding-block: 40px; }
  .section-head { margin-bottom: 32px; }
  .skip-link { font-size: .8125rem; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 28px; height: 28px; border-radius: 6px; }
  .brand-mark::after { width: 10px; height: 10px; }
  .footer-main { padding-block: 40px 28px; }
  .card { padding: 22px; }
  .btn { padding: 12px 22px; }
}
