:root {
  color-scheme: dark;
  --ink: #07111b;
  --ink-2: #0b1724;
  --ink-3: #102334;
  --cream: #f4efe6;
  --cream-2: #ded8ce;
  --muted: #a8b7c4;
  --cyan: #2de2e6;
  --cyan-soft: #8ef3ee;
  --coral: #d9936d;
  --line: rgba(244, 239, 230, 0.14);
  --max: 1180px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 84% 7%, rgba(45, 226, 230, 0.1), transparent 24rem), var(--ink);
  color: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); font-size: 20px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.primary-nav, .footer-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.primary-nav a, .footer-nav a { border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 700; padding: 9px 12px; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .footer-nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--cream); }
.primary-nav .nav-cta { border: 1px solid rgba(45, 226, 230, 0.48); color: var(--cyan-soft); margin-left: 5px; padding-inline: 16px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 999px; color: var(--cream); font-weight: 800; padding: 9px 14px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] nav { position: absolute; top: calc(100% + 12px); right: 0; min-width: min(300px, calc(100vw - 28px)); display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); box-shadow: var(--shadow); }
.mobile-nav a { border-radius: 12px; color: var(--cream-2); font-weight: 700; padding: 10px 12px; text-decoration: none; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.07); color: var(--cream); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--cyan-soft); font-size: 13px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow::before { width: 24px; height: 2px; background: var(--cyan); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -0.045em; }
.sentence-heading { word-spacing: 0.08em; }
h1 { max-width: 820px; margin-bottom: 26px; font-size: clamp(3.2rem, 8vw, 7.3rem); }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.hero { position: relative; overflow: hidden; padding: 112px 0 94px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr); gap: clamp(54px, 8vw, 110px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.lede { max-width: 690px; margin-bottom: 34px; color: var(--cream-2); font-size: clamp(1.16rem, 2vw, 1.45rem); line-height: 1.55; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.actions-spaced { margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 800; text-align: center; text-decoration: none; }
.button-primary { border-color: var(--cyan); background: var(--cyan); color: var(--ink); }
.button-primary:hover { background: var(--cyan-soft); }
.button-secondary:hover { border-color: rgba(244, 239, 230, 0.4); background: rgba(255, 255, 255, 0.06); }
.text-link { display: inline-block; margin-top: 22px; font-weight: 800; text-underline-offset: 4px; }
.hero-visual { position: relative; min-height: 520px; }
.signal-disc { position: absolute; inset: 4% 4% auto auto; width: min(480px, 92%); aspect-ratio: 1; border: 1px solid rgba(45, 226, 230, 0.24); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 47px, rgba(45, 226, 230, 0.1) 48px 49px), radial-gradient(circle at 58% 42%, rgba(45, 226, 230, 0.2), rgba(7, 17, 27, 0.08) 58%, transparent 70%); }
.signal-card { position: absolute; z-index: 2; border: 1px solid rgba(244, 239, 230, 0.16); border-radius: var(--radius-md); background: rgba(13, 30, 44, 0.88); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.signal-card-main { right: 0; bottom: 8%; z-index: 2; width: min(390px, 92%); padding: 26px; }
.signal-card-side { top: 4%; left: 0; z-index: 1; width: min(280px, 78%); padding: 22px; transform: rotate(-3deg); }
.signal-card-side { border-color: rgba(217, 147, 109, 0.42); background: rgba(64, 40, 35, 0.92); }
.signal-heading { margin: 10px 0 0; font-size: 1.3rem; }
.signal-card-side p { margin: 12px 0 0; color: var(--cream-2); font-size: 14px; line-height: 1.45; }
.mini-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.now-playing-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 11px 0 4px; font-size: 22px; font-weight: 850; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5b54; box-shadow: 0 0 0 6px rgba(255, 91, 84, 0.12); }
.wave { display: flex; height: 58px; align-items: center; gap: 6px; margin: 24px 0; }
.wave span { width: 6px; border-radius: 999px; background: linear-gradient(var(--cyan-soft), var(--cyan)); }
.wave span:nth-child(1) { height: 22%; }
.wave span:nth-child(2) { height: 46%; }
.wave span:nth-child(3) { height: 74%; }
.wave span:nth-child(4) { height: 38%; }
.wave span:nth-child(5) { height: 88%; }
.wave span:nth-child(6) { height: 54%; }
.wave span:nth-child(7) { height: 96%; }
.wave span:nth-child(8) { height: 62%; }
.wave span:nth-child(9) { height: 42%; }
.wave span:nth-child(10) { height: 78%; }
.wave span:nth-child(11) { height: 50%; }
.wave span:nth-child(12) { height: 28%; }
.section { padding: 104px 0; }
.section-compact { padding-block: 72px; }
.section-tint { border-block: 1px solid var(--line); background: var(--ink-2); }
.section-warm { background: var(--coral); color: #102035; }
.section-warm .eyebrow, .section-warm .card-kicker { color: #17324a; }
.section-warm .eyebrow::before { background: #17324a; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading-standalone { margin-bottom: 0; }
.section-heading p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 19px; }
.section-warm .section-heading p:not(.eyebrow), .section-warm .card p { color: rgba(16, 32, 53, 0.78); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-3); }
.section-warm .card { border-color: rgba(16, 32, 53, 0.2); background: rgba(255, 255, 255, 0.2); }
.card-kicker { color: var(--cyan-soft); font-size: 13px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.card h3, .card-heading { margin: 38px 0 14px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.card p { margin-bottom: 0; color: var(--muted); }
.support-card { display: flex; flex-direction: column; }
.support-contact { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.support-contact-label { display: block; color: var(--cyan-soft); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.support-email { display: block; margin-top: 8px; color: var(--cream); font-weight: 800; overflow-wrap: anywhere; text-decoration: none; text-underline-offset: 4px; }
.support-email:hover { color: var(--cyan-soft); text-decoration: underline; }
.context-card { position: relative; overflow: hidden; }
.context-card::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; content: ""; }
.context-card-game::before { background: var(--cyan); }
.context-card-topic::before { background: var(--coral); }
.feature-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr); align-items: center; gap: clamp(46px, 8vw, 100px); }
.phone-stage { position: relative; min-height: 680px; display: grid; place-items: center; }
.phone-stage::before { position: absolute; width: 520px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(45, 226, 230, 0.18), transparent 68%); content: ""; }
.phone-stage picture { position: relative; z-index: 1; width: min(410px, 86%); }
.phone-stage img { width: 100%; max-height: 690px; object-fit: contain; filter: drop-shadow(0 30px 36px rgba(0, 0, 0, 0.42)); }
.check-list { display: grid; gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: var(--cream-2); }
.check-list li::before { position: absolute; top: 0.43em; left: 0; width: 16px; height: 16px; border: 2px solid var(--cyan); border-radius: 50%; content: ""; }
.page-hero { padding: 92px 0 68px; }
.page-hero h1 { max-width: 950px; font-size: clamp(3.2rem, 7vw, 6.2rem); }
.page-layout { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 60px; padding: 38px 0 110px; }
.page-aside { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
.page-aside p:last-child { margin-bottom: 0; }
.prose { max-width: 760px; }
.prose h2 { margin: 52px 0 20px; font-size: clamp(2rem, 4vw, 3.3rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--cream-2); }
.prose a { color: var(--cyan-soft); text-underline-offset: 3px; }
.notice { padding: 24px; border: 1px solid rgba(45, 226, 230, 0.35); border-radius: var(--radius-md); background: rgba(45, 226, 230, 0.07); }
.notice strong { color: var(--cyan-soft); }
.legal-layout { display: grid; grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr); gap: 64px; align-items: start; }
.legal-metadata { position: sticky; top: 110px; overflow-wrap: anywhere; }
.legal-metadata dl { margin: 24px 0 0; }
.legal-metadata dl div { border-top: 1px solid var(--line); padding: 14px 0; }
.legal-metadata dt { color: var(--cyan-soft); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-metadata dd { margin: 5px 0 0; color: var(--cream-2); }
.legal-metadata a { color: inherit; text-underline-offset: 3px; }
.legal-document { max-width: 820px; }
.legal-document h2 { margin: 48px 0 18px; font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.08; }
.legal-document h3 { margin: 30px 0 12px; font-size: 1.16rem; }
.legal-document p, .legal-document li { line-height: 1.72; }
.legal-document li + li { margin-top: 9px; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border: 1px solid rgba(45, 226, 230, 0.24); border-radius: var(--radius-lg); background: radial-gradient(circle at 85% 25%, rgba(45, 226, 230, 0.16), transparent 16rem), var(--ink-3); }
.cta-panel h2 { max-width: 650px; margin: 0; }
.routing-card { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-3); }
.routing-card h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.routing-card p:not(.eyebrow) { max-width: 540px; margin-bottom: 28px; color: var(--muted); }
.routing-card .button { margin-top: auto; }
.error-panel { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; }
.page-support main, .page-download main { display: flex; flex-direction: column; }
.page-support main > .section:last-child, .page-download main > .page-hero:first-child { flex: 1; }
.page-download main > .page-hero:first-child { display: flex; align-items: center; }
.site-footer { padding: 58px 0 36px; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-note { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.preview-flag { position: fixed; right: 16px; bottom: 16px; z-index: 20; border: 1px solid rgba(45, 226, 230, 0.4); border-radius: 999px; background: rgba(7, 17, 27, 0.92); color: var(--cyan-soft); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; padding: 8px 11px; text-transform: uppercase; }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-grid, .feature-split, .page-layout, .legal-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .hero-visual { min-height: 480px; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .page-layout { gap: 26px; }
  .legal-layout { gap: 28px; }
  .legal-metadata { position: static; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .footer-main { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .hero, .section { padding-block: 72px; }
  h1 { overflow-wrap: anywhere; font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-visual { min-height: 650px; }
  .signal-card-main { top: 0; right: 0; bottom: auto; }
  .signal-card-side { top: auto; bottom: 0; left: 0; width: 86%; }
  .phone-stage { min-height: 560px; }
  .card, .cta-panel { padding: 24px; }
  .button { width: 100%; }
  .preview-flag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
