:root {
  color-scheme: light dark;
  --navy: #1b1633;
  --navy-2: #2b244d;
  --pink: #ff3d8b;
  --yellow: #ffc93c;
  --teal: #00a991;
  --teal-bright: #00c2a8;
  --ink: #211b36;
  --muted: #655f73;
  --paper: #fffaf2;
  --paper-2: #f6efe4;
  --card: #ffffff;
  --line: #ddd4c8;
  --shadow: 0 22px 60px rgba(27, 22, 51, .13);
  --radius: 1.4rem;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: #9f1550; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .7rem 1rem;
  border-radius: .7rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(16px);
}
.nav-wrap, .section, .footer-wrap, .legal-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.nav-wrap {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 9.75rem; height: auto; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  padding: .55rem .75rem;
  border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--paper-2); }
.site-nav .nav-cta { background: var(--navy); color: #fff; }
.site-nav .nav-cta:hover { background: var(--pink); }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-compact { padding-block: 2.5rem; }
.eyebrow {
  margin: 0 0 .8rem;
  color: #a31450;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 6.6rem); max-width: 12ch; }
h2 { margin: 0 0 1rem; font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { margin: 0 0 .55rem; font-size: 1.32rem; }
p { margin: 0 0 1rem; }
.lede { max-width: 40rem; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.section-heading { max-width: 46rem; margin-bottom: 2.5rem; }
.section-heading p { color: var(--muted); font-size: 1.12rem; }
.tiny { font-size: .82rem; color: var(--muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero {
  overflow: hidden;
  position: relative;
  min-height: min(52rem, calc(100svh - 4.6rem));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(28rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(4rem, 8vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  right: -13rem;
  top: 2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pink) 18%, transparent);
  filter: blur(12px);
}
.hero-copy .lede { margin-top: 1.4rem; }
.hero-copy, .hero-visual, .legal-copy { min-width: 0; }
.hero-actions, .store-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: .68rem 1.15rem;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--pink); border-color: var(--pink); }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { color: #fff; }
.button-small { min-height: 2.55rem; padding: .45rem .9rem; font-size: .9rem; }
.store-badge {
  display: grid;
  min-width: 11.3rem;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: .65rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(27, 22, 51, .07);
}
.store-badge svg { grid-row: 1 / 3; width: 1.8rem; }
.store-badge small { align-self: end; color: var(--muted); line-height: 1.1; }
.store-badge strong { align-self: start; line-height: 1.15; }
.store-note { width: 100%; margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }

.hero-visual { position: relative; min-width: 0; }
.dashboard-shell {
  padding: clamp(.8rem, 2vw, 1.3rem);
  border: 1px solid #443c5d;
  border-radius: 2.2rem;
  background: linear-gradient(145deg, #3a3548, #17141e 70%);
  box-shadow: 0 35px 90px rgba(27, 22, 51, .35);
}
.dash-top { height: .85rem; margin: 0 auto 1rem; width: 38%; border-radius: 99px; background: #0b0911; }
.head-unit {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  border: 3px solid #090711;
  border-radius: 1.25rem;
  background: var(--navy);
  color: #fff;
}
.hero-game { height: 100%; padding: 5.5% 5%; background: radial-gradient(circle at 80% 15%, #302950, #151127 65%); }
.hero-game-top { display: flex; justify-content: space-between; color: #cbc7da; font-size: clamp(.55rem, 1.2vw, .85rem); }
.song-name { margin-top: 5%; font-size: clamp(.7rem, 1.4vw, 1.1rem); font-weight: 800; }
.score-line { display: flex; justify-content: space-between; align-items: center; margin-top: 4%; }
.singer-chip { display: flex; align-items: center; gap: .45rem; font-weight: 800; }
.avatar-dot { width: 1.7rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--pink); font-size: .8rem; }
.score { color: var(--yellow); font-size: clamp(1rem, 3vw, 2rem); font-weight: 900; }
.note-field { position: relative; height: 44%; margin-top: 3%; border-left: 2px solid #756f8a; border-bottom: 2px solid #756f8a; }
.note-field::before, .note-field::after { content: ""; position: absolute; inset-inline: 0; height: 1px; background: #4a4564; }
.note-field::before { top: 33%; } .note-field::after { top: 66%; }
.note { position: absolute; height: 14%; border-radius: 99px; background: var(--teal-bright); box-shadow: 0 0 16px rgba(0, 194, 168, .65); }
.note.one { left: 9%; top: 57%; width: 20%; }
.note.two { left: 34%; top: 37%; width: 17%; background: var(--yellow); }
.note.three { left: 56%; top: 25%; width: 28%; background: var(--pink); }
.pitch-line { position: absolute; left: 4%; right: 5%; top: 49%; height: 3px; transform: rotate(-4deg); background: #fff; box-shadow: 0 0 8px #fff; }
.lyrics { text-align: center; margin-top: 2%; font-weight: 850; font-size: clamp(.68rem, 1.5vw, 1.15rem); }
.lyrics span { color: var(--yellow); }
.phone-float {
  position: absolute;
  right: -1.5rem;
  bottom: -2.5rem;
  width: 25%;
  aspect-ratio: 9 / 18;
  padding: .45rem;
  border: 2px solid #565064;
  border-radius: 1.55rem;
  background: #17141e;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transform: rotate(5deg);
}
.phone-float-inner { height: 100%; border-radius: 1.1rem; padding: 18% 9%; background: #211b3d; color: #fff; text-align: center; }
.phone-float img { width: 42%; margin: 0 auto 18%; }
.phone-float b { display: block; font-size: clamp(.48rem, 1.2vw, .8rem); }
.phone-float .mic-orb { width: 66%; aspect-ratio: 1; display: grid; place-items: center; margin: 25% auto 0; border-radius: 50%; background: var(--pink); font-size: clamp(.8rem, 2vw, 1.5rem); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.step-card { position: relative; padding: 2rem; border-top: 1px solid var(--line); }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 3rem;
  color: var(--pink);
  font-size: .8rem;
  font-weight: 900;
}
.step-icon { width: 3rem; height: 3rem; margin-bottom: 1rem; color: var(--navy); }
.step-card p, .feature-card p { color: var(--muted); }
.parked-band { background: var(--yellow); color: var(--navy); }
.parked-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; }
.parked-inner strong { font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.15; }
.parked-inner p { margin: 0; max-width: 43rem; }

.features { background: var(--navy); color: #fff; }
.features .eyebrow { color: var(--yellow); }
.features .section-heading p { color: #c9c4d7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 14rem; padding: 1.6rem; border: 1px solid #443d5d; border-radius: var(--radius); background: #251f43; }
.feature-card p { color: #c9c4d7; }
.feature-icon { display: grid; width: 2.8rem; aspect-ratio: 1; place-items: center; margin-bottom: 2.3rem; border-radius: .85rem; background: var(--pink); color: #fff; font-size: 1.25rem; font-weight: 900; }
.feature-card:nth-child(2) .feature-icon, .feature-card:nth-child(5) .feature-icon { background: var(--teal); }
.feature-card:nth-child(3) .feature-icon, .feature-card:nth-child(6) .feature-icon { background: var(--yellow); color: var(--navy); }

.screens-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; align-items: start; }
.capture { margin: 0; }
.capture img { width: 100%; border-radius: 1rem; border: 1px solid var(--line); box-shadow: var(--shadow); background: #111; }
.capture figcaption { margin-top: .7rem; color: var(--muted); font-size: .86rem; }
.capture-phone { grid-row: span 2; }
.capture-phone img { max-height: 39rem; width: auto; margin-inline: auto; }

.faq-list { max-width: 52rem; }
details { border-top: 1px solid var(--line); padding: 1.15rem 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 850; font-size: 1.08rem; }
details p { margin: .8rem 2rem 0 0; color: var(--muted); }
.cta-panel { padding: clamp(2rem, 6vw, 5rem); border-radius: 2rem; background: var(--pink); color: #fff; }
.cta-panel h2 { max-width: 14ch; }
.cta-panel p { max-width: 42rem; }
.cta-panel .button { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.cta-panel .button:hover { background: #fff; border-color: #fff; }

.site-footer { margin-top: 4rem; background: #100d20; color: #d8d3e4; }
.footer-wrap { display: grid; grid-template-columns: 1.25fr 2fr; gap: 2rem; padding-block: 3rem; }
.footer-brand img { width: 8rem; filter: drop-shadow(0 0 0 transparent); }
.footer-brand p { max-width: 20rem; margin-top: 1rem; color: #a9a3ba; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-links strong { display: block; margin-bottom: .55rem; color: #fff; }
.footer-links a { display: block; width: fit-content; margin: .35rem 0; color: #d8d3e4; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #302a42; color: #a9a3ba; font-size: .82rem; }

/* Legal and utility pages */
.page-hero { padding-block: clamp(4rem, 9vw, 7rem) 2.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.8rem, 7vw, 5rem); }
.page-hero .lede { margin-top: 1rem; }
.legal-wrap { display: grid; grid-template-columns: 14rem minmax(0, 46rem); gap: 4rem; padding-block: 3rem 6rem; }
.legal-nav { position: sticky; top: 6rem; align-self: start; }
.legal-nav strong { display: block; margin-bottom: .5rem; }
.legal-nav a { display: block; padding: .28rem 0; color: var(--muted); }
.legal-copy h2 { margin-top: 2.8rem; font-size: 1.8rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin-top: 2rem; font-size: 1.15rem; letter-spacing: -.01em; }
.legal-copy li { margin: .45rem 0; }
.legal-copy code { overflow-wrap: anywhere; word-break: break-word; }
.legal-copy table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal-copy th, .legal-copy td { padding: .7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.notice, .todo-notice { padding: 1rem 1.1rem; border-radius: .8rem; background: var(--paper-2); border-left: 4px solid var(--teal); }
.todo-notice { border-left-color: var(--pink); }
.contact-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); box-shadow: var(--shadow); }
.contact-card .button { margin-top: .5rem; }

/* Simulation */
.simulation-page { background: #0e0b1a; color: #fff; }
.simulation-page .site-header { background: rgba(14, 11, 26, .9); border-color: #322a49; }
.simulation-page .site-nav a { color: #fff; }
.simulation-page .site-nav a:hover, .simulation-page .site-nav a[aria-current="page"] { background: #2a2340; }
.simulation-page .brand img, .site-footer .brand-logo-dark { filter: none; }
.sim-hero { text-align: center; padding: 3.5rem 1rem 2rem; }
.sim-hero h1 { margin-inline: auto; max-width: 18ch; font-size: clamp(2.5rem, 6vw, 4.7rem); }
.sim-hero p { max-width: 43rem; margin: 1rem auto 0; color: #c5bfd3; }
.sim-label { display: inline-flex; align-items: center; gap: .45rem; color: var(--yellow); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.sim-stage { width: min(88rem, calc(100% - 2rem)); margin: 0 auto 5rem; }
.sim-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem); gap: 2rem; align-items: end; }
.car-frame { padding: 1.2rem 1.2rem 1.6rem; border: 1px solid #4a4357; border-radius: 2.5rem 2.5rem .8rem .8rem; background: linear-gradient(145deg, #35303d, #131118 72%); box-shadow: 0 30px 80px #05030a; }
.car-frame::before { content: ""; display: block; width: 35%; height: .65rem; margin: 0 auto 1rem; border-radius: 99px; background: #08060d; }
.sim-screen { overflow: hidden; width: 100%; aspect-ratio: 5 / 3; border: 4px solid #07050c; border-radius: 1.1rem; background: #18132c; }
.sim-screen.is-wide { aspect-ratio: 16 / 9; }
.game-scene { position: relative; height: 100%; padding: 3.2% 4%; background: radial-gradient(circle at 85% 15%, #332c55, #17132d 62%); }
.game-brand { display: flex; align-items: center; gap: 1.5%; font-weight: 900; font-size: clamp(.7rem, 1.45vw, 1.25rem); }
.game-brand img { width: 6%; min-width: 1.5rem; }
.game-kicker { color: #aaa3bd; font-size: clamp(.48rem, .9vw, .78rem); }
.safety-scene { display: grid; height: 100%; place-content: center; text-align: center; padding: 8%; }
.safety-icon { width: clamp(3.2rem, 7vw, 6.5rem); aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto 4%; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.6rem); }
.safety-scene h2 { margin: 0 0 2%; font-size: clamp(1.1rem, 3vw, 2.5rem); }
.safety-scene p { margin: 0 auto; max-width: 34rem; color: #c3bed0; font-size: clamp(.55rem, 1.2vw, 1rem); }
.car-button { display: inline-flex; width: fit-content; margin: 5% auto 0; padding: 1.5% 4%; border-radius: .5rem; background: var(--pink); color: #fff; font-size: clamp(.55rem, 1.1vw, .95rem); font-weight: 900; }
.join-scene { display: grid; grid-template-columns: 1fr .9fr; gap: 6%; height: 100%; align-items: center; padding: 5%; }
.join-scene h2 { margin: .5rem 0; font-size: clamp(1rem, 3vw, 2.3rem); }
.join-scene p { color: #c3bed0; font-size: clamp(.55rem, 1.15vw, .95rem); }
.fake-qr {
  position: relative;
  width: min(75%, 15rem);
  aspect-ratio: 1;
  margin-inline: auto;
  border: clamp(.35rem, .8vw, .7rem) solid #fff;
  background-color: #fff;
  background-image: repeating-conic-gradient(#17132d 0 25%, transparent 0 50%);
  background-size: 14% 14%;
}
.fake-qr::after { content: "DEMO"; position: absolute; inset: 37%; display: grid; place-items: center; background: var(--pink); color: #fff; font-size: clamp(.4rem, .8vw, .7rem); font-weight: 900; }
.lobby-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3%; }
.lobby-header h2 { margin: 0; font-size: clamp(.95rem, 2.2vw, 1.8rem); }
.lobby-count { color: var(--teal-bright); font-size: clamp(.5rem, 1vw, .9rem); font-weight: 800; }
.lobby-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 3%; }
.song-card, .singer-row { padding: 4%; border-radius: .5rem; background: rgba(255,255,255,.08); }
.song-art { display: grid; width: 34%; aspect-ratio: 1; place-items: center; border-radius: .4rem; background: var(--teal-bright); color: var(--navy); font-size: clamp(.8rem, 2vw, 1.5rem); }
.song-card h3 { margin: 4% 0 0; font-size: clamp(.6rem, 1.3vw, 1rem); }
.song-card p { margin: 0; color: #bdb7c9; font-size: clamp(.48rem, .9vw, .75rem); }
.mode-pills { display: flex; gap: 3%; margin-top: 6%; }
.mode-pill { padding: 2.5% 4%; border: 1px solid #56506c; border-radius: 99px; font-size: clamp(.4rem, .8vw, .7rem); }
.mode-pill.active { background: var(--pink); border-color: var(--pink); }
.singers { display: grid; gap: 5%; }
.singer-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4%; }
.singer-avatar { display: grid; width: clamp(1.5rem, 4vw, 3rem); aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--pink); font-size: clamp(.55rem, 1.2vw, 1rem); font-weight: 900; }
.singer-row:nth-child(2) .singer-avatar { background: var(--teal); }
.singer-name { font-size: clamp(.55rem, 1.2vw, 1rem); font-weight: 800; }
.singer-status { color: var(--teal-bright); font-size: clamp(.42rem, .8vw, .68rem); }
.ready-dot { color: var(--yellow); font-size: clamp(.45rem, .9vw, .8rem); }
.sing-scene .sing-top { display: flex; justify-content: space-between; align-items: center; }
.sing-scene .song-meta { color: #bdb7c9; font-size: clamp(.45rem, .9vw, .75rem); }
.sim-score { color: var(--yellow); font-size: clamp(.85rem, 2.6vw, 2rem); font-weight: 900; }
.lanes { position: relative; height: 49%; margin-top: 2%; border-left: 2px solid #69627e; background: repeating-linear-gradient(to bottom, transparent 0 24%, rgba(255,255,255,.08) 25%); }
.bar { position: absolute; height: 9%; border-radius: 99px; background: var(--pink); box-shadow: 0 0 14px color-mix(in srgb, var(--pink) 65%, transparent); }
.bar.b1 { left: 6%; top: 68%; width: 18%; }
.bar.b2 { left: 28%; top: 47%; width: 22%; background: var(--teal-bright); }
.bar.b3 { left: 54%; top: 31%; width: 13%; background: var(--yellow); }
.bar.b4 { left: 71%; top: 52%; width: 23%; }
.live-pitch { position: absolute; left: 4%; top: 63%; width: 59%; height: 3px; background: #fff; transform: rotate(-6deg); box-shadow: 0 0 10px #fff; }
.lyric-line { margin-top: 2%; text-align: center; font-size: clamp(.72rem, 1.8vw, 1.45rem); font-weight: 900; }
.lyric-line em { color: var(--yellow); font-style: normal; }
.duet-score { display: flex; justify-content: space-between; gap: 1rem; font-size: clamp(.43rem, .86vw, .72rem); }
.result-scene { height: 100%; display: grid; place-content: center; text-align: center; }
.confetti { color: var(--yellow); letter-spacing: .6em; font-size: clamp(.9rem, 2.5vw, 2rem); }
.result-scene h2 { margin: 2% 0; font-size: clamp(1.1rem, 3vw, 2.7rem); }
.result-score { color: var(--yellow); font-size: clamp(2rem, 6vw, 5rem); font-weight: 950; line-height: 1; }
.result-ranks { display: flex; justify-content: center; gap: 8%; margin-top: 5%; font-size: clamp(.5rem, 1vw, .85rem); }
.phone-frame { padding: .55rem; border: 2px solid #565064; border-radius: 2.4rem; background: #15121d; box-shadow: 0 25px 60px #05030a; }
.phone-notch { width: 35%; height: .4rem; margin: .25rem auto .55rem; border-radius: 99px; background: #06050a; }
.phone-screen { position: relative; overflow: hidden; aspect-ratio: 9 / 18.5; border-radius: 1.8rem; padding: 10% 8%; background: radial-gradient(circle at 75% 10%, #322957, #17132d 60%); text-align: center; }
.phone-screen img { width: 28%; margin: 0 auto 7%; }
.phone-screen h3 { margin: 0; font-size: clamp(.8rem, 1.6vw, 1.15rem); }
.phone-state { margin-top: 9%; color: var(--teal-bright); font-size: clamp(.55rem, 1vw, .76rem); font-weight: 800; }
.phone-part { margin-top: 9%; padding: 7%; border-radius: .8rem; background: rgba(255,255,255,.08); }
.phone-part small { color: #aaa3bd; }
.phone-part strong { display: block; margin-top: 2%; font-size: clamp(.65rem, 1.2vw, .9rem); }
.phone-mic { display: grid; width: 54%; aspect-ratio: 1; place-items: center; margin: 14% auto 0; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 1rem rgba(255,61,139,.09); font-size: clamp(1.2rem, 3vw, 2.5rem); }
.phone-meter { height: .4rem; margin: 14% 12% 0; border-radius: 99px; background: linear-gradient(90deg, var(--teal-bright) 0 67%, #49435e 67%); }
.sim-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.control-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.sim-controls button { min-height: 2.7rem; padding: .45rem .85rem; border: 1px solid #5a526c; border-radius: .7rem; background: #25203b; color: #fff; cursor: pointer; font-weight: 750; }
.sim-controls button:hover, .sim-controls button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }
.scene-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1rem; }
.scene-tabs button { width: 1.1rem; height: 1.1rem; padding: 0; border: 2px solid #766e8a; border-radius: 50%; background: transparent; color: transparent; cursor: pointer; }
.scene-tabs button[aria-current="step"] { background: var(--yellow); border-color: var(--yellow); }
.keyboard-hint { color: #9992aa; font-size: .8rem; }

.join-page { min-height: 100svh; display: grid; place-items: center; padding: 1.5rem; background: var(--navy); color: #fff; }
.join-card { width: min(31rem, 100%); padding: clamp(1.5rem, 6vw, 3rem); border: 1px solid #494061; border-radius: 2rem; background: #251f43; text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.join-card img { width: 10rem; margin: 0 auto 1.5rem; }
.join-card h1 { max-width: none; font-size: clamp(2rem, 8vw, 3.3rem); }
.join-card p { color: #cbc5d8; }
.join-card .store-row { justify-content: center; }
.join-card .store-badge { text-align: left; background: #fff; color: var(--navy); }
.join-safety { display: inline-flex; margin-top: 1.3rem; padding: .35rem .7rem; border-radius: 99px; background: var(--yellow); color: var(--navy); font-weight: 900; font-size: .76rem; }

@media (max-width: 860px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-bottom: 5rem; }
  .hero-copy { max-width: 43rem; }
  .hero-visual { width: min(42rem, calc(100% - 1.5rem)); margin-inline: auto; }
  .phone-float { right: -1rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-wrap { grid-template-columns: 1fr; gap: 1rem; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: .35rem .8rem; }
  .legal-nav strong { width: 100%; }
  .legal-nav a { display: inline; }
  .sim-layout { grid-template-columns: 1fr; }
  .phone-frame { width: min(16rem, 60%); margin-inline: auto; }
}

@media (max-width: 620px) {
  .nav-wrap, .section, .footer-wrap, .legal-wrap { width: min(100% - 1.25rem, var(--max)); }
  .brand img { width: 8rem; }
  .site-nav .nav-cta { padding-inline: .8rem; font-size: .86rem; }
  .section { padding-block: 4rem; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .steps, .feature-grid, .screens-grid { grid-template-columns: 1fr; }
  .step-card { padding: 1.5rem .5rem; }
  .step-card::before { margin-bottom: 1.5rem; }
  .parked-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { grid-column: auto; }
  .capture-phone { grid-row: auto; }
  .capture-phone img { width: 72%; }
  .hero-actions .button { width: 100%; }
  .dashboard-shell { border-radius: 1.4rem; }
  .phone-float { display: none; }
  .sim-stage { width: calc(100% - .75rem); }
  .sim-layout { gap: 1.2rem; }
  .car-frame { padding: .55rem .55rem .8rem; border-radius: 1.5rem .5rem .5rem; }
  .sim-screen { border-width: 2px; border-radius: .65rem; }
  .phone-frame { width: min(13rem, 55%); }
  .sim-controls { justify-content: center; }
  .keyboard-hint { width: 100%; text-align: center; }
  .legal-copy table { display: block; overflow-x: auto; }
}

@media (max-width: 430px) {
  .store-row { display: grid; grid-template-columns: 1fr 1fr; }
  .store-badge { min-width: 0; padding: .65rem .7rem; column-gap: .4rem; }
  .store-badge svg { width: 1.5rem; }
  .site-nav .nav-cta { max-width: 8.2rem; line-height: 1.1; text-align: center; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f1fb;
    --muted: #b9b2c6;
    --paper: #151120;
    --paper-2: #251f32;
    --card: #201a2b;
    --line: #3e374a;
    --shadow: 0 22px 60px rgba(0, 0, 0, .28);
  }
  a { color: #ff83b5; }
  .brand img { filter: drop-shadow(0 0 0 transparent); }
  .site-nav .nav-cta { background: var(--pink); }
  .button { background: var(--pink); border-color: var(--pink); }
  .button-secondary { background: transparent; border-color: #eee9f6; color: #fff; }
  .step-icon { color: var(--yellow); }
  .parked-band, .parked-band p { color: var(--navy); }
}

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