:root {
  --page: #101214;
  --surface: #191d20;
  --raised: #24292d;
  --text: #f7f5ef;
  --subtext: #d4d9db;
  --border: #8b959a;
  --accent: #ff898b;
  --accent-fill: #bb353e;
  --accent-text: #fff;
  --focus: #ffe178;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --page: #f9f8f3;
  --surface: #fff;
  --raised: #f0efea;
  --text: #181b1d;
  --subtext: #384044;
  --border: #606b70;
  --accent: #a32131;
  --accent-fill: #a32131;
  --accent-text: #fff;
  --focus: #164db5;
  color-scheme: light;
}
:root[data-theme="yellow"] {
  --page: #000;
  --surface: #090909;
  --raised: #151515;
  --text: #fff;
  --subtext: #f0f0f0;
  --border: #fff;
  --accent: #ffe15a;
  --accent-fill: #ffe15a;
  --accent-text: #000;
  --focus: #fff;
  color-scheme: dark;
}
:root[data-size="large"] { font-size: 125%; }
html { scroll-behavior: auto; }
body { background: var(--page); color: var(--text); line-height: 1.65; }
a { text-underline-offset: .18em; }
a:hover { text-decoration: underline; }
:is(a, button):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { top: -100px; background: var(--surface); color: var(--text); border: 2px solid var(--focus); font-size: 1rem; }
.skip-link:focus { top: 12px; }
.site-header { height: auto; min-height: 78px; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1rem; background: var(--surface); border-color: var(--border); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1rem; letter-spacing: .02em; text-transform: none; }
.brand .brand-name { color: var(--accent); font-size: 1.15rem; font-family: 'Noto Sans SC', sans-serif; font-weight: 800; font-style: italic; }
.brand .brand-icon {
  display: block;
  width: 76px;
  height: 43px;
  flex: none;
  background: var(--accent);
  -webkit-mask: url('/logo-mark.svg') center / contain no-repeat;
  mask: url('/logo-mark.svg') center / contain no-repeat;
}
.site-header nav { flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 1rem; color: var(--text); }
.site-header nav a, .site-footer>a { min-height: 44px; display: inline-flex; align-items: center; }
.site-header nav a:hover, .text-link:hover { color: var(--accent); }
.login-link { border-color: var(--border); color: var(--text); }
.reading-tools { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; border-top: 1px solid var(--border); padding-top: .75rem; }
.reading-tools-label { font-weight: 700; font-size: 1rem; }
.theme-buttons, .size-buttons, .narration-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.reading-tools button { border: 2px solid var(--border); background: var(--surface); color: var(--text); border-radius: .3rem; min-height: 44px; padding: .5rem .85rem; font: inherit; font-size: 1rem; cursor: pointer; }
.reading-tools button[aria-pressed="true"] { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-text); font-weight: 700; }
.reading-tools button:disabled { opacity: .55; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-copy { background: var(--page); }
.hero h1, .statement h2, .how h2, .join h2, .headset-content>h2 { letter-spacing: -.035em; overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(2.6rem, 4.4vw, 4.5rem); }
.hero h1 em, .statement h2 strong, .how h2 strong, .headset-content>h2 strong { color: var(--accent); }
.hero-lead, .section-intro, .headset-grid p, .headset-grid li, .agency p, .story-grid p, .process p, .join>div>p, .join-grid p { color: var(--subtext); font-size: 1rem; line-height: 1.8; }
.eyebrow, .section-label, .story-num, .join-grid article>span, .feature-number, .art-card>span, .art-caption { color: var(--accent); font-size: .9rem; letter-spacing: .04em; }
.hero-note { color: var(--subtext); font-size: 1rem; }
.button, .text-link { font-size: 1rem; min-height: 48px; align-items: center; }
.primary { background: var(--accent-fill); color: var(--accent-text); }
.primary:hover { background: var(--accent-fill); color: var(--accent-text); filter: brightness(1.12); }
.text-link { color: var(--accent); display: inline-flex; }
.hero-art { background: radial-gradient(circle at 62% 42%, #6d3038, #28181d 55%, #101214); }
.halo { border-color: #fff8; }
.route-line { border-color: #fff; }
.route-dot { background: #fff; border-color: #ffffff44; }
.art-card { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.art-card span, .art-card small { color: var(--subtext); font-size: .9rem; }
.art-card strong { font-size: 1.1rem; }
.art-caption { color: #fff; }
.headset, .how { background: var(--raised); }
.demo-video { margin: 2rem 0 2.5rem; max-width: 960px; }
.demo-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border: 2px solid var(--border); border-radius: .4rem; }
.demo-video figcaption { margin-top: .75rem; color: var(--subtext); font-size: 1rem; line-height: 1.6; }
.story-grid article, .headset-grid article { background: var(--surface); border-color: var(--accent); }
.headset-grid article:nth-child(2) { border-color: var(--accent); }
.story-grid h3, .process h3, .agency h3 { font-size: 1.25rem; }
.story-grid b { color: var(--accent); font-size: 1rem; }
.headset-grid ul, .process>div, .section-label span { border-color: var(--border); }
.headset-grid li::before, .process span, .agency>span { color: var(--accent); }
.agency { background: var(--surface); border: 1px solid var(--border); }
.join { background: var(--surface); color: var(--text); }
.join h2, .join .section-label, .join-grid article>span { color: var(--text); }
.join-grid article, .join-status, .support { border-color: var(--border) !important; }
.join-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 1rem; border: 1px solid var(--border); border-radius: .25rem; }
.join-status { margin-top: auto; border-top: 1px solid; padding-top: 1rem; color: var(--subtext); font-size: 1rem; }
.support p, .site-footer p { color: var(--subtext); font-size: 1rem; }
.site-footer { background: var(--page); color: var(--text); border-top: 1px solid var(--border); }
.site-footer>a { font-size: 1rem; }
:root[data-theme="yellow"] .hero-art { background: #111; border: 2px solid var(--border); }
:root[data-theme="yellow"] .route-line, :root[data-theme="yellow"] .halo { border-color: var(--accent); }
:root[data-theme="yellow"] .art-caption { color: var(--accent); }
@media (max-width: 650px) {
  .site-header nav { overflow: visible; white-space: normal; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .hero-art { min-height: 390px; }
  .art-card { min-width: 0; width: min(46%, 210px); }
  .art-card-one { left: 4%; }
  .art-card-two { right: 4%; }
}
@media (max-width: 380px) {
  .art-card { width: 48%; }
  .art-card strong { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
