/* rennscopelabs.com. One page, dark only: the subject is a car at night.
   Mode colors are the Mac app's (SoundSetupView.swift), always paired with the mode name. */
@font-face { font-family: Geist; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #07090A; --panel: #0E1113; --line: #1B2125; --line-2: #3A444B;
  --text: #EEF2F4; --text-2: #D5DCE0; --text-3: #AAB4BA;
  --amber: #E8B24A; --amber-ink: #0E1113; --focus: #4FD1C5; --danger: #FF9C8A;
  --range: #6FC3F0; --normal: #8BD17C; --sport: #F2A93B; --plus: #FF6A3D; --individual: #B18CFF;
  --mode: var(--plus);
  --pad: clamp(20px, 5vw, 72px);
  --font: Geist, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.55 var(--font); overflow-x: hidden; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: var(--amber); }
a:hover { color: #F2C873; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.mono { font-family: var(--mono); }
.muted { color: var(--text-3); }
.small { font-size: 16px; color: var(--text-2); max-width: 32em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 5; padding: 12px 16px; background: var(--amber); color: var(--amber-ink); font-weight: 600; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-left { object-position: 30% center; }
.shade { position: absolute; inset: 0; }
.shade-72 { background: rgb(7 9 10 / .72); }
.shade-55 { background: rgb(7 9 10 / .55); }
.shade-45 { background: rgb(7 9 10 / .45); }
.shade-up { background: linear-gradient(0deg, rgb(7 9 10 / .92) 0%, rgb(7 9 10 / .5) 45%, rgb(7 9 10 / .05) 80%); }
.shade-right { background: linear-gradient(270deg, rgb(7 9 10 / .94) 0%, rgb(7 9 10 / .7) 45%, rgb(7 9 10 / .15) 80%); }
.photo-section { position: relative; overflow: hidden; }

h2 { font-size: clamp(38px, 4.6vw, 68px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.45vw, 21px); color: var(--text-2); max-width: 27em; }

/* Mode colors */
.m-range { --c: var(--range); } .m-normal { --c: var(--normal); } .m-sport { --c: var(--sport); }
.m-plus { --c: var(--plus); } .m-individual { --c: var(--individual); }

/* Buttons */
.btn-ghost, .btn-primary { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-ghost { min-height: 44px; padding: 0 18px; border: 1px solid rgb(238 242 244 / .4); background: rgb(7 9 10 / .6); color: var(--text); font-size: 16px; }
.btn-ghost:hover { color: var(--text); border-color: var(--text); }
.btn-primary { min-height: 60px; padding: 0 32px; border: 0; background: var(--amber); color: var(--amber-ink); font-size: 19px; font-weight: 600; }
.btn-primary:hover { background: #F0C065; }
.btn-primary:active, .play:active { transform: scale(.98); }
.btn-primary[disabled] { opacity: .6; cursor: default; }

/* Hero: the app's dial over the photo, the readout strip under it */
.hero { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg { object-position: 72% center; background-position: 72% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 9 10 / .9) 0%, rgb(7 9 10 / .5) 45%, rgb(7 9 10 / .12) 100%); }
.hero-scrim { position: absolute; inset: 0; background: var(--bg); opacity: .1; }
.top { position: relative; min-height: 84px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 7px; }
.top-links { display: flex; align-items: center; gap: 24px; }
.signin { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--text); text-decoration: none; }
.hero-grid { position: relative; width: 100%; max-width: calc(1296px + 2 * var(--pad)); margin: 0 auto; padding: clamp(20px, 2.5vw, 40px) var(--pad) clamp(28px, 3.5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.hero-copy .lede { max-width: 25em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.hero-play { min-height: 68px; padding: 0 30px 0 24px; border: 0; border-radius: 999px; background: var(--amber); color: var(--amber-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 600; }
.hero-play:hover { background: #F0C065; }
.hero-play:active { transform: scale(.98); }
.i-pause, .is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.dial-col { flex: 0 1 440px; min-width: 0; display: flex; justify-content: center; margin: 0 auto; }
.dial { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; }
.dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-disc { fill: rgb(7 9 10 / .72); stroke: rgb(238 242 244 / .14); stroke-width: 1; }
.dial-ticks { stroke: #56626A; stroke-width: 6; stroke-dasharray: 1.5 9.18; transform-origin: 230px 230px; }
.arc { stroke: var(--c); stroke-opacity: .35; stroke-width: 2; stroke-linecap: round; }
.lit { transform-origin: 230px 230px; transform: rotate(64deg); }
.lit-arc, .lit-glow { stroke: var(--plus); stroke-linecap: round; }
.lit-arc { stroke-width: 3; }
.lit-glow { stroke-width: 7; filter: blur(4px); }
.dial-pulse { stroke: var(--mode); stroke-width: 1; opacity: 0; }
.dial-mode { position: absolute; transform: translate(-50%, -50%); min-width: 76px; min-height: 48px; padding: 4px 6px; border: 0; border-radius: 10px; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; opacity: .74; }
.dial-mode:hover, .dial-mode[aria-pressed="true"] { opacity: 1; }
.dial-name { font-size: clamp(15px, 1.4vw, 20px); font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--c); }
.dial-prof { font-size: clamp(11.5px, .95vw, 13.5px); line-height: 1.2; white-space: nowrap; color: var(--text); }
.p-sport { left: 50%; top: 17%; } .p-normal { left: 26.6%; top: 38.6%; } .p-plus { left: 73.4%; top: 38.6%; }
.p-range { left: 29.5%; top: 66%; } .p-individual { left: 70.5%; top: 66%; }

.lab { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.lab-amber { color: var(--amber); }
.strip { position: relative; border-top: 1px solid rgb(238 242 244 / .16); background: rgb(7 9 10 / .82); }
.strip-grid { max-width: calc(1296px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-wrap: wrap; align-items: stretch; }
/* Small cells never shrink below their text, so a long profile name can't run into Speed. */
.cell { flex: 1 0 auto; min-width: 130px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid rgb(238 242 244 / .16); }
.cell:first-child { padding-left: 0; border-left: 0; }
.cell-wide { flex: 4 1 420px; min-width: 0; padding-right: 0; gap: 8px; }
.cell-v { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.cell-v.mono { letter-spacing: -.04em; }
.cell-prof { color: var(--mode); }
.cell-meta { font-size: 13px; color: var(--text-3); width: 0; min-width: 100%; } /* wraps inside its cell instead of widening it */
.cell:has(.cell-prof) { min-width: 200px; } /* room for the longest profile name, so switching modes never moves the strip */
.trace-top { display: flex; justify-content: space-between; gap: 12px; }
.trace-top .lab:last-child { flex: 0 0 auto; white-space: nowrap; }
.wave { position: relative; height: 84px; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave path { fill: none; stroke-width: 2.2; }
.wave-dim { stroke: var(--line-2); }
.wave-on { stroke: var(--mode); }
.wave-speed { stroke: var(--text); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wave-lit { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); }
.wave-dot { position: absolute; left: 0; top: 96%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text); }
.honest { position: relative; padding: 12px var(--pad) 16px; font-size: 14px; line-height: 1.5; color: var(--text-3); background: rgb(7 9 10 / .82); }

/* Profiles */
.profiles { padding: clamp(72px, 9vw, 132px) var(--pad); }
.profiles h2 { max-width: 14em; margin-bottom: 44px; }
.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.bento + .bento { margin-top: 16px; }
.tile { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; display: flex; align-items: flex-end; }
.tile-big { flex: 2 1 560px; min-height: 600px; }
.bento-col { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tile-launch { flex: 1 1 300px; min-height: 300px; }
.tile-copy { position: relative; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.tile-giant { font-size: clamp(52px, 7vw, 104px); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.tile-lede { max-width: 33em; font-size: 19px; line-height: 1.5; }
.tile-note { padding: 22px; font-size: 17px; line-height: 1.45; }
.tile-app { flex: 1.5 1 480px; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 48px); }
.tile-app .win-sound { position: relative; margin: 0; }
.panel { min-width: 0; padding: 26px; border-radius: 14px; background: #161A1D; border: 1px solid #2A3136; display: flex; flex-direction: column; gap: 14px; }
.panel-yours { flex: 1 1 320px; justify-content: center; }
.names { display: flex; flex-direction: column; font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }
.panel-yours .names { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; }
.panel-note { font-size: 16px; color: var(--text-3); }

/* Hear it first */
.hear { padding: 0 var(--pad) clamp(72px, 9vw, 132px); }
.steps { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.steps figure { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.crop { position: relative; border-radius: 14px; overflow: hidden; }
.crop-4-5 { aspect-ratio: 4 / 5; }
.bg-garage { object-position: 100% center; background-position: 100% center; }
.steps figure.step2 { flex: 1.7 1 420px; }
.crop-laptop { aspect-ratio: 5 / 4; }
.steps .win-preview { flex: none; }
/* The app's Live Preview screen, laid onto the laptop's display in the photo by the script (a perspective transform). */
.screen { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; overflow: hidden; background: #0E1113; color: #EEF2F4; font: 14px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", Geist, sans-serif; filter: brightness(.88) saturate(.95); box-shadow: 0 0 90px rgb(232 178 74 / .3); }
/* The app's own window at true size (type is the app's designed size plus 2 pt, as its type table does). */
.sc-chrome { height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #121619; }
.sc-chrome i { width: 12px; height: 12px; border-radius: 50%; }
.sc-app { display: flex; height: 772px; }
.sc-side { flex: 0 0 190px; background: #121619; border-right: 1px solid #2A3136; }
.sc-brand { padding: 24px 18px 32px; font-size: 21px; font-weight: 600; letter-spacing: -.7px; }
.sc-nav { display: flex; align-items: center; height: 43px; margin: 0 12px 5px; padding: 0 13px 0 0; border-radius: 7px; font-size: 15px; color: #EEF2F4; }
.sc-nav svg { flex: 0 0 40px; width: 40px; height: 21px; }
.sc-nav span { flex: 1; }
.sc-nav.on { color: #E8B24A; font-weight: 600; background: rgb(232 178 74 / .09); }
.sc-nav.on i { width: 3px; height: 15px; border-radius: 2px; background: #E8B24A; }
.sc-main { position: relative; flex: 1; min-width: 0; }
.sc-page { padding: 28px 32px; }
.sc-page-t { font-size: 30px; font-weight: 600; letter-spacing: -.7px; }
.sc-page-s { margin-top: 6px; font-size: 15px; color: #AAB4BA; }
.sc-dim { position: absolute; inset: 0; background: rgb(8 10 11 / .62); }
.sc-sheet { position: absolute; left: 50%; top: 34px; width: 760px; margin-left: -380px; padding: 24px; border-radius: 12px; background: #0E1113; border: 1px solid #2A3136; box-shadow: 0 24px 64px rgb(3 5 6 / .6); display: flex; flex-direction: column; gap: 18px; }
.sc-head { display: flex; align-items: center; gap: 12px; }
.sc-title { font-size: 20px; font-weight: 600; }
.sc-sec { flex: 1; font-size: 14px; color: #AAB4BA; }
.sc-muted { font-size: 14px; color: #87939B; }
.sc-teal { font-size: 14px; color: #4FD1C5; }
.sc-pill { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #AAB4BA; background: rgb(170 180 186 / .08); border: 1px solid rgb(170 180 186 / .18); }
.sc-pill.sc-live { color: #4FD1C5; background: rgb(79 209 197 / .08); border-color: rgb(79 209 197 / .18); }
.sc-btn { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; background: #1E2428; border: 1px solid #3A444B; font-size: 14px; font-weight: 600; }
.sc-go { background: #E8B24A; border-color: rgb(232 178 74 / .4); color: #0E1113; }
.sc-plays { display: flex; flex-direction: column; gap: 4px; }
.sc-prof { margin-right: 10px; font-size: 19px; font-weight: 600; color: #E8B24A; }
.sc-cols { display: flex; gap: 20px; }
.sc-list { flex: 0 0 210px; display: flex; flex-direction: column; gap: 10px; }
.sc-h { font-size: 15px; font-weight: 600; }
.sc-sect { padding: 4px; border-radius: 12px; background: #161A1D; border: 1px solid #2A3136; }
.sc-sect-t { padding: 4px 10px 2px; font-size: 12px; font-weight: 600; color: #87939B; }
.sc-row { display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 10px; border: 1px solid transparent; white-space: nowrap; }
.sc-row.on { color: #E8B24A; font-weight: 600; background: #1E2428; border-color: #2A3136; }
.sc-panel { flex: 1; min-width: 0; padding: 18px; border-radius: 12px; background: #161A1D; border: 1px solid #2A3136; display: flex; flex-direction: column; gap: 16px; }
.sc-name { margin-bottom: 3px; font-size: 17px; font-weight: 600; }
.sc-modes { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-grid-top { grid-column: 1 / -1; display: flex; justify-content: center; }
.sc-grid-top .sc-tile { width: 170px; }
.sc-tile { position: relative; padding: 8px 10px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; background: color-mix(in srgb, var(--c) 5%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.sc-tile b { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--c); }
.sc-tile span { font-size: 13px; color: #AAB4BA; }
.sc-tile::after { content: ""; position: absolute; inset: -1px; border-radius: 10px; background: color-mix(in srgb, var(--c) 13%, transparent); border: 1.5px solid color-mix(in srgb, var(--c) 90%, transparent); opacity: 0; }
[data-playing-mode="range"] .t-range::after, [data-playing-mode="normal"] .t-normal::after, [data-playing-mode="sport"] .t-sport::after, [data-playing-mode="plus"] .t-plus::after, [data-playing-mode="individual"] .t-individual::after { opacity: 1; }
.sc-spk { display: none; width: 14px; height: 14px; }
.is-playing[data-playing-mode="range"] .t-range .sc-spk, .is-playing[data-playing-mode="normal"] .t-normal .sc-spk, .is-playing[data-playing-mode="sport"] .t-sport .sc-spk, .is-playing[data-playing-mode="plus"] .t-plus .sc-spk, .is-playing[data-playing-mode="individual"] .t-individual .sc-spk { display: block; }
.sc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #2A3136; font-size: 14px; color: #AAB4BA; }
.sc-live, .is-playing .sc-idle { display: none; }
.is-playing .sc-live { display: block; }
.is-playing .sc-btn.sc-live { display: inline-flex; }
.screen-glare { position: absolute; inset: 0; background: linear-gradient(118deg, rgb(255 255 255 / .09) 0%, rgb(255 255 255 / .02) 32%, transparent 46%); pointer-events: none; }
.bg-speaker { object-position: 80% center; background-position: 80% center; }
.steps h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.steps figcaption p { color: var(--text-3); }
.steps .win-review { flex: none; max-width: none; transform: none; }
@media (min-width: 1000px) { .step2 { margin-top: 72px; } .step3 { margin-top: 144px; } }

/* Studio */
.studio { min-height: 680px; display: flex; align-items: center; padding: clamp(72px, 9vw, 120px) var(--pad); }
.big { font-size: clamp(48px, 8vw, 128px); font-weight: 600; letter-spacing: -.05em; line-height: .95; }
.studio .lede { margin-top: 22px; max-width: 26em; font-size: clamp(18px, 1.5vw, 22px); color: var(--text); }

/* Reassurance */
.calm { min-height: 600px; display: flex; align-items: center; padding: clamp(72px, 9vw, 120px) var(--pad); }
.calm-line { font-size: clamp(30px, 3.4vw, 50px); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }

/* Invite */
.invite { padding: clamp(72px, 9vw, 120px) var(--pad); }
.invite-wrap { display: flex; justify-content: flex-end; }
.invite-box { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row .field { flex: 1 1 200px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field-year { flex: 0 1 140px; }
label { font-size: 15px; font-weight: 500; }
.optional { font-weight: 400; color: var(--text-3); }
input, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px; border: 1px solid #56626A; background: rgb(7 9 10 / .78); color: var(--text); font: inherit; }
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.help { font-size: 14px; color: var(--text-3); }
.form-error { font-size: 16px; color: var(--danger); }
.btn-primary { align-self: flex-start; }
.sent { padding: 24px; border-radius: 14px; border: 1px solid rgb(114 201 156 / .5); background: rgb(7 9 10 / .78); }
.sent h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.sent p { color: var(--text-2); }
.needs { font-size: 15px; line-height: 1.5; color: var(--text-2); }
[hidden] { display: none !important; }

/* Footer */
.foot { padding: 44px var(--pad) 56px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-start; justify-content: space-between; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-brand .brand { font-size: 17px; min-height: 0; }
.foot-brand a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.foot-brand .small { font-size: 14px; }
.legal { flex: 1 1 420px; max-width: 720px; font-size: 13.5px; line-height: 1.6; color: var(--text-3); }

/* Glimpses of the Mac app, drawn in the app's own palette. Each one is a picture, not a control. */
.win { font: 14px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", Geist, "Helvetica Neue", Arial, sans-serif; color: #EEF2F4; background: #0E1113; border: 1px solid #2A3136; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / .62); text-align: left; width: 100%; }
.win-bar { position: relative; height: 38px; display: flex; align-items: center; padding: 0 14px; background: #121619; border-bottom: 1px solid #2A3136; }
.win-dots { display: flex; gap: 8px; }
.win-dots i { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #FF5F57; } .dot-y { background: #FEBC2E; } .dot-g { background: #28C840; }
.win-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: #AAB4BA; }
.win-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.win-h { font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.win-sub { font-size: 14px; color: #AAB4BA; line-height: 1.45; }
.win-note { font-size: 13px; color: #AAB4BA; line-height: 1.45; }
.win-label { font-size: 13px; font-weight: 600; color: #AAB4BA; }
.win-panel { min-width: 0; padding: 16px 18px; border-radius: 14px; background: #161A1D; border: 1px solid #2A3136; display: flex; flex-direction: column; gap: 10px; }
.win-panel.amber { border-color: rgb(232 178 74 / .45); }
.win-cols { display: flex; flex-wrap: wrap; gap: 14px; }
.win-cols > * { flex: 1 1 250px; }
.win-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 10px; background: #1E2428; border: 1px solid #2A3136; font-size: 15px; }
.win-tag { font-size: 12.5px; font-weight: 600; color: var(--c); white-space: nowrap; }
.win-quiet { font-size: 12.5px; color: #AAB4BA; white-space: nowrap; }
.win-list { display: flex; flex-direction: column; gap: 6px; }
.win-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.win-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; background: #1E2428; border: 1px solid #3A444B; font-size: 14px; font-weight: 600; white-space: nowrap; }
.win-btn.primary { background: #E8B24A; border-color: #E8B24A; color: #0E1113; }
.win-btn.amber { background: rgb(232 178 74 / .1); border-color: #E8B24A; color: #E8B24A; }
.win-ok { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.win-ok span { display: inline-flex; align-items: center; gap: 8px; }
.win-ok span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #72C99C; }
.win-switch { flex: 0 0 auto; position: relative; width: 38px; height: 22px; border-radius: 11px; background: #E8B24A; }
.win-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #0E1113; }
.win-change { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) 16px minmax(0, 1.2fr); align-items: center; gap: 10px; padding: 12px 14px; background: #1E2428; font-size: 15px; }
.win-change + .win-change { border-top: 1px solid #2A3136; }
.win-change b { font-weight: 600; color: var(--c); }
.win-change .was { font-size: 14px; color: #AAB4BA; }
.win-changes { border-radius: 10px; border: 1px solid #2A3136; overflow: hidden; }
.win-drives { display: flex; flex-wrap: wrap; gap: 6px; }
.win-drives span { padding: 5px 10px; border-radius: 999px; background: #1E2428; border: 1px solid #2A3136; font-size: 12.5px; color: #D5DCE0; white-space: nowrap; }
.win-drives .on { border-color: #E8B24A; color: #E8B24A; background: rgb(232 178 74 / .1); }
.win-trace { width: 100%; height: 64px; }
.win-trace path { fill: none; stroke: #E8B24A; stroke-width: 2; vector-effect: non-scaling-stroke; }
.win-sl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; }
.win-sl b { font-size: 15px; font-weight: 600; }
.win-sl .val { font-size: 13px; color: #E8B24A; font-variant-numeric: tabular-nums; }
.win-sl .desc { grid-column: 1 / -1; font-size: 13px; color: #AAB4BA; }
.win-sl .bar { grid-column: 1 / -1; position: relative; height: 4px; margin: 10px 0 8px; border-radius: 2px; background: #2A3136; }
.win-sl .bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 2px; background: #E8B24A; transform: scaleX(var(--s)); transform-origin: left; }
.win-sl .bar::after { content: ""; position: absolute; top: -6px; left: 0; width: 100%; height: 16px; margin-left: -8px; background: radial-gradient(circle 8px at 8px 8px, #EEF2F4 96%, transparent 100%) no-repeat; transform: translateX(var(--at)); }
.at-50 { --at: 50%; --s: .5; } .at-54 { --at: 54%; --s: .54; } .at-62 { --at: 62%; --s: .62; }
.win-design { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14.5px; }
.win-design.on { background: rgb(232 178 74 / .09); color: #E8B24A; font-weight: 600; }
.win-row { position: relative; }
.win-row > * { position: relative; }
.win-row[class*="row-"]::before { content: ""; position: absolute; inset: -1px; border-radius: 10px; border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); opacity: 0; }
[data-playing-mode="range"] .row-range::before, [data-playing-mode="normal"] .row-normal::before, [data-playing-mode="sport"] .row-sport::before, [data-playing-mode="plus"] .row-plus::before, [data-playing-mode="individual"] .row-individual::before { opacity: 1; }
.win-ticks span::before { width: 16px; height: 16px; content: "\2713"; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #0E1113; }

/* Where the windows sit */
.win-sound { max-width: 540px; margin-top: 8px; }
.hear-win { position: relative; max-width: 940px; margin: 28px auto 0; }
.studio-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.studio-copy { flex: 1 1 380px; min-width: 0; }
.win-studio { flex: 1 1 460px; max-width: 640px; }
.calm-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.calm-grid .calm-line { flex: 1 1 420px; min-width: 0; }
.win-review { flex: 1 1 400px; max-width: 520px; }
@media (min-width: 900px) {
  .hear-win { margin-top: -72px; }
  .win-studio { transform: rotate(1.2deg); }
  .win-review { transform: rotate(-1.2deg); }
}
@keyframes parallax { from { transform: scale(1.14) translateY(-4%); } to { transform: scale(1.14) translateY(4%); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tile > .bg, .crop > .bg { animation: parallax linear both; animation-timeline: view(); }
  }
}

/* Life: the pieces that move. Their motion is defined further down and only for visitors who haven't asked for less. */
.hero-photo { position: absolute; inset: 0; }
.lamp { position: absolute; left: 0; top: 0; width: 240px; height: 110px; margin: -55px 0 0 -120px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 248 235 / .8), rgb(255 236 200 / .22) 45%, transparent 75%); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.hero-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgb(255 240 215 / .2) 50%, transparent 62%); transform: translateX(-60%); opacity: 0; pointer-events: none; }
/* The shimmer lights only the bars: a brighter copy of the waveform seen through a soft mask that slides across. */
.wave-shimmer { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000, transparent); mask-image: linear-gradient(90deg, transparent, #000, transparent);
  -webkit-mask-size: 28% 100%; mask-size: 28% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: -40% 0; mask-position: -40% 0; }
.wave-glint { stroke: rgb(214 222 228 / .75); }
.drive-progress { position: fixed; left: 0; top: 0; z-index: 4; width: 100%; height: 2px; background: var(--mode); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.has-progress .drive-progress { opacity: 1; }
.arc { transform-origin: 230px 230px; }
.w { display: inline-block; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .38) 50%, transparent 60%); transform: translateX(-130%); pointer-events: none; }

/* Motion. Everything here is switched off for people who ask for less of it. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes sheen { 0% { transform: translateX(-130%); } 28%, 100% { transform: translateX(130%); } }
@keyframes breathe { from { opacity: .4; } to { opacity: 1; } }
@keyframes shimmer { from { -webkit-mask-position: -40% 0; mask-position: -40% 0; } to { -webkit-mask-position: 140% 0; mask-position: 140% 0; } }
@keyframes sweep-light { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
@keyframes arc-in { from { opacity: 0; transform: rotate(-28deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; translate: 0 10px; } }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em); } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s var(--ease) both; }
  .d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .75s; }
  .hero-photo { animation: drift 30s ease-in-out infinite alternate; }
  /* Entrance: the headline arrives word by word, then the dial's arcs come on one after another, then the labels. */
  h1[data-words].split { animation: none; }
  .w { animation: word-in .9s var(--ease) both; }
  .arc { animation: arc-in .9s var(--ease) both; }
  .arc.m-range { animation-delay: .35s; } .arc.m-normal { animation-delay: .5s; } .arc.m-sport { animation-delay: .65s; }
  .arc.m-plus { animation-delay: .8s; } .arc.m-individual { animation-delay: .95s; }
  .lit { animation: fade-in .8s ease-out 1.2s both; }
  .dial-mode { animation: pop-in .7s var(--ease) both; }
  .p-range { animation-delay: .75s; } .p-normal { animation-delay: .85s; } .p-sport { animation-delay: .95s; }
  .p-plus { animation-delay: 1.05s; } .p-individual { animation-delay: 1.15s; }
  /* Idle: the selected arc breathes and the waveform catches a little light until the drive plays. */
  body:not(.is-playing) .lit-glow { animation: breathe 2.8s ease-in-out infinite alternate; }
  body:not(.is-playing):not(.has-progress) .wave-shimmer { opacity: 1; animation: shimmer 5.5s ease-in-out 1.6s infinite; }
  .is-playing .hero-sweep { animation: sweep-light 7s linear infinite; }
  .drive-progress, .lamp, .hero-sweep { transition: opacity .3s linear; }
  /* Scroll: headings, cards and app windows rise in as they arrive. The script adds .motion and then .in. */
  .motion .rv { opacity: 0; translate: 0 30px; }
  .motion .win.rv { translate: 0 48px; rotate: 2deg; }
  .motion .steps .win.rv { opacity: 1; translate: 0 0; rotate: 0deg; }
  .motion .rv.in { opacity: 1; translate: 0 0; rotate: 0deg; transition: opacity .9s var(--ease), translate .9s var(--ease), rotate .9s var(--ease); }
  .photo-section > .bg { animation: drift 36s ease-in-out infinite alternate; }
  /* Inside the windows: the lit row follows the mode, sliders ease to their values, the checks tick in. */
  .win-row::before { transition: opacity .45s ease-in-out; }
  .win-sl .bar::before, .win-sl .bar::after { transition: transform 1.3s var(--ease) .45s; }
  .motion .win-studio:not(.in) .bar { --at: 50%; --s: .5; }
  .win-ticks span::before { transition: transform .5s var(--ease) .7s; }
  .win-ticks span + span::before { transition-delay: .95s; }
  .motion .win-review:not(.in) .win-ticks span::before { transform: scale(0); }
  .win-change { transition: opacity .6s ease-out .3s; }
  .win-change + .win-change { transition-delay: .5s; }
  .motion .win-review:not(.in) .win-change { opacity: 0; }
  /* Hover and press */
  .tile > .bg, .crop > .bg { transition: scale 1.2s var(--ease); }
  .tile:hover > .bg, .crop:not(.crop-laptop):hover > .bg { scale: 1.04; }
  .crop-laptop > .bg { animation: none; }
  .sc-tile::after { transition: opacity .45s ease-in-out; }
  .is-playing .sc-pill.sc-live { animation: breathe 1.4s ease-in-out infinite alternate; }
  .panel { transition: translate .4s var(--ease); }
  .panel:hover { translate: 0 -4px; }
  .dial-name { transition: scale .25s var(--ease); }
  .dial-mode:hover .dial-name { scale: 1.07; }
  .dial-mode:active .dial-name { scale: .97; }
  .btn-primary:hover, .hero-play:hover { transform: translateY(-2px); }
  .btn-primary:active, .hero-play:active { transform: scale(.98); }
  .btn-ghost { transition: translate .2s var(--ease); }
  .btn-ghost:hover { translate: 0 -1px; }
  .btn-primary::after { animation: sheen 5.5s ease-in-out 2s infinite; }
  .dial-ticks { animation: sweep 60s linear infinite; }
  .lit { transition: transform .45s ease-in-out; }
  .lit-arc, .lit-glow, .wave-on, .dial-pulse { transition: stroke .45s ease-in-out; }
  .dial-mode, .mode-link, .info { transition: opacity .45s ease-in-out, box-shadow .45s ease-in-out; }
  .btn-primary, .hero-play { transition: transform .15s var(--ease), background .2s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 720px) {
  .signin { display: none; }
  .cell { flex: 1 1 45%; }
  .cell:has(.cell-prof) { min-width: 0; }
  .cell:nth-child(3), .cell-wide { flex-basis: 100%; padding-left: 0; padding-right: 0; border-left: 0; border-top: 1px solid rgb(238 242 244 / .16); }
  .tile-big { min-height: 520px; }
  .invite-wrap { justify-content: flex-start; }
  .shade-right { background: rgb(7 9 10 / .8); }
}
