:root {
  color-scheme: light dark;
  --page: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf2f9;
  --surface-strong: #e3ebf5;
  --ink: #132039;
  --ink-soft: #40506a;
  --muted: #65748c;
  --line: #dbe4ef;
  --accent: #1565d8;
  --accent-strong: #0d51b1;
  --accent-wash: #e6f0ff;
  --mint: #21b6a8;
  --shadow: 0 24px 70px rgba(35, 60, 93, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0c1321;
  --surface: #121d30;
  --surface-soft: #18263d;
  --surface-strong: #21324d;
  --ink: #f2f6ff;
  --ink-soft: #c3cfe0;
  --muted: #96a6bd;
  --line: #2b3a53;
  --accent: #70aaff;
  --accent-strong: #9bc2ff;
  --accent-wash: #1a3153;
  --mint: #42d0c0;
  --shadow: 0 26px 72px rgba(0, 0, 0, .3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0c1321;
    --surface: #121d30;
    --surface-soft: #18263d;
    --surface-strong: #21324d;
    --ink: #f2f6ff;
    --ink-soft: #c3cfe0;
    --muted: #96a6bd;
    --line: #2b3a53;
    --accent: #70aaff;
    --accent-strong: #9bc2ff;
    --accent-wash: #1a3153;
    --mint: #42d0c0;
    --shadow: 0 26px 72px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.55; transition: background-color .2s, color .2s; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 14px; border-radius: 8px; background: var(--surface); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { width: min(1240px, calc(100% - 48px)); height: 76px; margin: auto; display: flex; align-items: center; gap: 34px; border-bottom: 1px solid var(--line); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 790; letter-spacing: -.035em; }
.brand img, .footer-brand img { border-radius: 9px; display: block; }
.site-header nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-header nav a { color: var(--ink-soft); font-size: 13px; font-weight: 630; text-decoration: none; transition: color .15s; }
.site-header nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--accent); }
.site-header nav .nav-code { color: var(--accent); }
.theme-toggle { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 20px; cursor: pointer; }

.hero { min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; padding-block: 54px 64px; }
.hero-copy { padding: 12px 0 12px 22px; }
.eyebrow { margin: 0 0 17px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 16%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 570px; margin-bottom: 20px; font-size: clamp(48px, 6.2vw, 76px); font-weight: 780; letter-spacing: -.075em; line-height: .99; }
h1 span { color: var(--accent); }
.hero-lede { max-width: 480px; margin-bottom: 28px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.hero-actions, .start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-source-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--accent); font-size: 12px; font-weight: 730; text-decoration: none; }
.hero-source-link:hover, .source-guide-link a:hover { color: var(--accent-strong); }
.button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 11px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 730; text-decoration: none; transition: transform .15s, background-color .15s, border-color .15s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 25%, transparent); }
:root[data-theme="dark"] .button-primary { color: #0c1321; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .button-primary { color: #0c1321; } }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--accent); }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.player-stage { position: relative; min-width: 0; padding: 26px 12px 0; }
.stage-glow { position: absolute; top: 50%; left: 50%; width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 21%, transparent), transparent 68%); filter: blur(8px); transform: translate(-50%, -53%); }
.device-frame { position: relative; width: min(100%, 470px); margin: auto; padding: 15px 17px 16px; border: 1px solid color-mix(in srgb, var(--line) 80%, white); border-radius: 25px; background: linear-gradient(150deg, var(--surface) 10%, var(--surface-soft)); box-shadow: var(--shadow), inset 0 1px 0 color-mix(in srgb, white 65%, transparent); transform: rotate(1.5deg); }
.device-topline { height: 32px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; font-weight: 780; letter-spacing: .12em; }
.device-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12px; letter-spacing: -.02em; }
.device-brand img { border-radius: 7px; }
.device-clock { padding-right: 3px; }
.screen-content { position: relative; min-height: 260px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 34px 35px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: radial-gradient(ellipse at 75% 20%, rgba(80, 156, 219, .5), transparent 31%), linear-gradient(120deg, #102944, #183f63 54%, #233e61); color: #f4f9ff; }
.screen-content::after { content: ""; position: absolute; right: -15px; bottom: -64px; width: 240px; height: 210px; border: 1px solid rgba(203,230,255,.16); border-radius: 50% 50% 0 0; background: linear-gradient(145deg, rgba(92,161,212,.12), rgba(203,229,255,.03)); transform: rotate(-22deg); }
.screen-kicker { position: relative; z-index: 1; margin-bottom: 10px; color: #c8e9ff; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: #5bf0cb; }
.screen-title { position: relative; z-index: 1; max-width: 270px; font-size: clamp(37px, 4.6vw, 55px); font-weight: 790; letter-spacing: -.055em; line-height: .93; }
.screen-subtitle { position: relative; z-index: 1; margin-top: 12px; color: #b6cee0; font-size: 11px; }
.screen-controls { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 29px; }
.play-icon { width: 27px; height: 27px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; background: #eaf7ff; color: #183c5e; font-size: 10px; }
.timeline { height: 3px; flex: 1; background: rgba(229,245,255,.32); }
.timeline span { display: block; width: 38%; height: 100%; background: #70d8d2; }
.control-label { color: #c7e0f1; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.device-footer { display: flex; justify-content: space-between; gap: 8px; padding: 14px 3px 0; color: var(--ink-soft); font-size: 9px; font-weight: 680; }
.stage-caption { margin: 15px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.content-notice { display: flex; align-items: flex-start; gap: 17px; padding: 19px 22px; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 15px; background: var(--accent-wash); }
.notice-mark { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 50%; color: var(--accent); font-family: Georgia, serif; font-size: 16px; font-weight: 700; }
.notice-label { margin: 0 0 3px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.content-notice p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.content-notice strong { color: var(--ink); }

.section { padding-block: 105px; }
.section-heading { max-width: 620px; margin-bottom: 33px; }
.section-heading .eyebrow { margin-bottom: 13px; }
h2 { margin-bottom: 13px; font-size: clamp(30px, 4vw, 44px); font-weight: 760; letter-spacing: -.06em; line-height: 1.08; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: 1.13fr 1fr 1fr; gap: 14px; }
.feature-card { position: relative; min-height: 240px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.feature-card-wide { grid-row: span 2; min-height: 494px; background: linear-gradient(152deg, var(--surface), var(--surface-soft)); }
.feature-card-accent { background: linear-gradient(145deg, var(--accent-wash), var(--surface)); }
.feature-number { position: absolute; top: 24px; right: 24px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin: 2px 0 20px; border-radius: 13px; background: var(--accent-wash); color: var(--accent); font-size: 24px; font-weight: 600; }
.feature-card h3 { max-width: 270px; margin-bottom: 9px; font-size: 20px; letter-spacing: -.04em; line-height: 1.16; }
.feature-card p { max-width: 370px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.mini-list { display: grid; gap: 10px; margin-top: 37px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.mini-list span { display: flex; align-items: center; gap: 10px; }
.mini-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-blue { background: #5794f6; }.dot-violet { background: #9882ee; }.dot-green { background: #2cc4a5; }

.platform-section { padding-block: 88px; background: var(--surface-soft); }
.platform-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 70px; }
.platform-intro { margin: 0; }
.platform-intro h2 { max-width: 380px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 730; text-decoration: none; }
.platform-intro .text-link { margin-top: 23px; }
.platform-list { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.platform-row { min-height: 76px; display: grid; grid-template-columns: 34px 1fr auto 16px; align-items: center; gap: 12px; padding: 12px 17px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .15s; }
.platform-row:last-child { border-bottom: 0; }
.platform-row:hover { background: var(--surface-soft); }
.platform-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-soft); color: var(--ink-soft); font-size: 18px; }
.android-icon { color: #309a69; }.vega-icon { color: #9769e8; }.ps-icon { color: #2683ce; }
.platform-name { min-width: 0; display: grid; gap: 2px; }
.platform-name strong { font-size: 13px; }
.platform-name small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.status-pill { white-space: nowrap; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 750; }
.status-source { background: var(--accent-wash); color: var(--accent); }
.status-experimental { background: color-mix(in srgb, #a579ef 14%, var(--surface)); color: #956adf; }
.row-arrow { color: var(--muted); font-size: 14px; }

.start-section { padding-block: 90px 76px; }
.start-card { display: grid; grid-template-columns: 1fr 250px; gap: 30px; align-items: center; padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(118deg, var(--surface), var(--accent-wash)); box-shadow: var(--shadow); }
.start-copy { max-width: 670px; }
.start-copy h2 { max-width: 570px; }
.start-copy > p:not(.eyebrow) { max-width: 570px; margin-bottom: 23px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.start-actions { gap: 19px; }
.source-guide-link { margin: 16px 0 0; font-size: 12px; }
.source-guide-link a { color: var(--accent); font-weight: 720; text-decoration: none; }
.start-aside { min-height: 150px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 12px; font-weight: 750; }
.aside-icon { margin-bottom: 13px; color: var(--accent); font-family: ui-monospace, monospace; font-size: 29px; font-weight: 800; letter-spacing: -.1em; }
.start-aside small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.5; }
.privacy-strip { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 18px; padding: 22px 0 65px; border-bottom: 1px solid var(--line); }
.privacy-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-wash); color: var(--accent); font-size: 22px; }
.privacy-strip h2 { margin-bottom: 3px; font-size: 16px; letter-spacing: -.025em; }
.privacy-strip p { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer { min-height: 90px; display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 11px; }
.footer-brand { color: var(--ink); font-size: 14px; }
.footer-brand img { border-radius: 7px; }
.site-footer p { margin: 0 auto 0 0; }
.site-footer div { display: flex; gap: 18px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }

.privacy-page { max-width: 760px; padding-block: 72px 100px; }
.privacy-page .eyebrow { margin-bottom: 13px; }
.privacy-page h1 { max-width: 700px; margin-bottom: 18px; font-size: clamp(40px, 5.5vw, 61px); }
.privacy-updated { color: var(--muted); font-size: 12px; }
.privacy-callout { margin: 28px 0 42px; padding: 19px 21px; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 14px; background: var(--accent-wash); color: var(--ink-soft); font-size: 13px; }
.privacy-page h2 { margin-top: 35px; font-size: 22px; }
.privacy-page h3 { margin: 25px 0 8px; font-size: 16px; }
.privacy-page p, .privacy-page li { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.privacy-page ul { padding-left: 21px; }
.privacy-page a { color: var(--accent); }
.privacy-back { display: inline-block; margin-bottom: 31px; color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; }

@media (max-width: 800px) {
  .site-header { height: 68px; gap: 16px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 11px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 9px; padding-block: 67px 48px; }
  .hero-copy { padding-left: 0; }
  .hero-lede { max-width: 600px; }
  .player-stage { width: min(100%, 520px); margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-wide { grid-row: auto; min-height: 280px; }
  .platform-layout { grid-template-columns: 1fr; gap: 35px; }
  .platform-intro { max-width: 640px; }
  .start-card { grid-template-columns: 1fr; }
  .start-aside { min-height: auto; }
}

@media (max-width: 560px) {
  .wrap, .site-header { width: min(100% - 32px, 1120px); }
  .site-header { position: relative; gap: 10px; }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .site-header nav { gap: 10px; }
  .site-header nav a { font-size: 10px; }
  .site-header nav a:nth-child(1), .site-header nav a:nth-child(2) { display: none; }
  .theme-toggle { width: 34px; height: 34px; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(47px, 15vw, 67px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 auto; }
  .button { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .player-stage { padding-inline: 0; }
  .device-frame { padding: 11px; border-radius: 19px; }
  .screen-content { min-height: 230px; padding: 27px 23px; }
  .device-footer { font-size: 8px; }
  .content-notice { gap: 12px; padding: 16px; }
  .content-notice p:last-child { font-size: 12px; }
  .section { padding-block: 76px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card-wide { min-height: 0; padding: 21px; }
  .feature-card-wide .mini-list { margin-top: 24px; }
  .platform-section { padding-block: 70px; }
  .platform-row { grid-template-columns: 30px 1fr 14px; gap: 9px; padding: 12px; }
  .platform-row .status-pill { grid-column: 2; justify-self: start; }
  .platform-name small { font-size: 9px; }
  .row-arrow { grid-column: 3; grid-row: 1; }
  .start-section { padding-block: 70px 54px; }
  .start-card { padding: 23px; }
  .privacy-strip { grid-template-columns: 39px 1fr; align-items: start; gap: 12px; padding-bottom: 45px; }
  .privacy-strip .text-link { grid-column: 2; }
  .site-footer { flex-wrap: wrap; gap: 11px 18px; padding-block: 22px; }
  .site-footer p { width: calc(100% - 110px); margin-right: 0; }
  .site-footer div { width: 100%; justify-content: space-between; gap: 8px; }
  .site-footer a { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
