/* daily debrief website. Colors, radii and type follow the app's design system (app/Debrief/Views/Theme.swift).
   Light theme only, like the app. No script lettering. */

:root {
  --paper: #F6F0E7;
  --card: #FFFCF7;
  --sunken: #EFE7DB;
  --ink: #2F241D;
  --ink-soft: #8A7A6A;
  --ink-faint: #B9AC9D;
  --accent: #A8814F;
  --accent-soft: rgba(168, 129, 79, .13);
  --espresso: #2B211B;
  --cream: #F6F0E7;
  --line: rgba(47, 36, 29, .09);
  --alert: #A6533B;

  --radius: 22px;
  --radius-small: 14px;
  --gutter: 20px;

  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

  --shadow-card: 0 1px 1px rgba(47, 36, 29, .04), 0 10px 28px -12px rgba(47, 36, 29, .16);
  --shadow-deep: 0 2px 2px rgba(43, 33, 27, .10), 0 30px 60px -24px rgba(43, 33, 27, .55), 0 12px 24px -14px rgba(43, 33, 27, .35);
  --spring: cubic-bezier(.2, .9, .25, 1.08);
  --ease: cubic-bezier(.3, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--ink); color: var(--cream);
  border: 0; border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 10px 22px -12px rgba(47, 36, 29, .7);
  transition: transform .25s var(--spring), background-color .2s, box-shadow .2s;
}
.btn:hover { background: #3B2E25; }
.btn:active { transform: scale(.97); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: default; }

.text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-mark { display: block; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--spring); pointer-events: none; }
.nav-mark img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--ink-soft); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav.is-stuck { background: rgba(246, 240, 231, .82); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav.is-stuck .nav-mark { opacity: 1; transform: none; pointer-events: auto; }

/* ── Hero ── */
.hero { position: relative; padding: 132px 0 96px; }
.hero::before {
  /* the warm light that sits behind the app's player card, spread across the page */
  content: ""; position: absolute; inset: -10% -20% auto auto; width: 900px; height: 780px; z-index: -1;
  background: radial-gradient(closest-side, rgba(168, 129, 79, .20), rgba(168, 129, 79, .07) 55%, transparent 100%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 72px; align-items: center; }
.hero-mark { width: min(430px, 82%); height: auto; margin: 0 0 30px -4.6%; }
.hero h1 { font: 600 clamp(42px, 5.6vw, 70px)/1.03 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.lead { margin-top: 24px; max-width: 33em; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: #5E4F43; }

.signup { margin-top: 34px; max-width: 520px; }
.signup-row {
  display: flex; gap: 6px; padding: 6px;
  background: var(--card); border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
  transition: box-shadow .2s;
}
.signup-row:focus-within { box-shadow: 0 0 0 2px var(--accent), var(--shadow-card); }
.signup input[type="email"] {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px;
  border: 0; background: transparent; color: var(--ink);
  font: 17px/1 var(--sans); outline: none; border-radius: 999px;
}
.signup input::placeholder { color: var(--ink-faint); }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-note { margin-top: 12px; padding-left: 24px; font-size: 14px; color: var(--ink-soft); min-height: 1.5em; }
.signup.is-done .signup-row { display: none; }
.signup.is-done .signup-note { padding: 18px 22px; background: var(--card); border-radius: var(--radius-small); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); color: var(--ink); font: 500 17px/1.4 var(--serif); }
.signup.is-error .signup-note { color: var(--alert); }

.soon { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14.5px; color: var(--ink-soft); }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }

/* ── Player (the app's espresso card) ── */
.player {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 30px 30px 26px; border-radius: 30px;
  background: var(--espresso); color: var(--cream);
  box-shadow: var(--shadow-deep);
}
.player::before {
  content: ""; position: absolute; z-index: -1; inset: -40% -30% auto auto; width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(168, 129, 79, .46), rgba(168, 129, 79, .12) 60%, transparent);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease); opacity: .75;
}
.player[data-state="playing"]::before { opacity: 1; transform: scale(1.12); }
.player-top { display: flex; align-items: center; gap: 20px; }
.play {
  flex: none; width: 76px; height: 76px; border-radius: 50%; border: 0;
  background: var(--cream); color: var(--espresso);
  display: grid; place-items: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 12px 24px -10px rgba(0, 0, 0, .7);
  transition: transform .3s var(--spring);
}
.play:hover { transform: scale(1.04); }
.play:active { transform: scale(.94); }
.play svg { width: 30px; height: 30px; fill: currentColor; grid-area: 1 / 1; transition: opacity .15s, transform .3s var(--spring); }
.play .i-play { transform: translateX(2px); }
.play .i-pause { opacity: 0; transform: scale(.6); }
.player[data-state="playing"] .i-play { opacity: 0; transform: scale(.6); }
.player[data-state="playing"] .i-pause { opacity: 1; transform: none; }
.player-title { min-width: 0; flex: 1; }
.player-title h2 { font: 600 25px/1.15 var(--serif); letter-spacing: -.01em; }
.player-title p { margin-top: 5px; font-size: 15px; color: rgba(246, 240, 231, .58); }

.eq { display: flex; align-items: center; gap: 4px; height: 28px; flex: none; }
.eq i { width: 4px; border-radius: 2px; background: var(--accent); height: 8px; }
.eq i:nth-child(1) { height: 22px; } .eq i:nth-child(2) { height: 26px; } .eq i:nth-child(3) { height: 10px; } .eq i:nth-child(4) { height: 8px; } .eq i:nth-child(5) { height: 18px; }
.player[data-state="playing"] .eq i { animation: eq 1.1s ease-in-out infinite alternate; }
.player[data-state="playing"] .eq i:nth-child(2) { animation-delay: -.35s; }
.player[data-state="playing"] .eq i:nth-child(3) { animation-delay: -.7s; }
.player[data-state="playing"] .eq i:nth-child(4) { animation-delay: -.15s; }
.player[data-state="playing"] .eq i:nth-child(5) { animation-delay: -.55s; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

.scrub { position: relative; height: 64px; margin-top: 26px; }
.wave { position: absolute; inset: 0; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: rgba(246, 240, 231, .22); height: 12%; transition: background-color .25s; }
.wave i.is-played { background: var(--accent); }
.scrub-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.scrub:has(.scrub-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }

.player-times { display: flex; justify-content: space-between; margin-top: 10px; font: 500 13.5px/1 var(--sans); font-variant-numeric: tabular-nums; color: rgba(246, 240, 231, .5); }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 14px; }
.ctl { width: 44px; height: 44px; border: 0; background: none; color: rgba(246, 240, 231, .8); display: grid; place-items: center; border-radius: 50%; transition: transform .25s var(--spring), color .15s; }
.ctl:hover { color: var(--cream); }
.ctl:active { transform: scale(.88); }
.ctl svg { width: 34px; height: 34px; }
.ctl text { font: 700 9.5px/1 var(--sans); fill: currentColor; }
.pace { display: flex; align-items: center; height: 44px; padding: 0 4px; border-radius: 999px; background: rgba(246, 240, 231, .09); }
.pace button { width: 46px; height: 36px; border: 0; background: none; color: rgba(246, 240, 231, .8); border-radius: 999px; display: grid; place-items: center; transition: background-color .15s, transform .25s var(--spring); }
.pace button:hover { background: rgba(246, 240, 231, .1); color: var(--cream); }
.pace button:active { transform: scale(.9); }
.pace button[disabled] { opacity: .3; cursor: default; }
.pace svg { width: 18px; height: 18px; }
.pace-now { font: 600 15px/1 var(--sans); font-variant-numeric: tabular-nums; width: 56px !important; }

.player-caption { margin: 22px 6px 0; min-height: 3.2em; font: 400 18px/1.5 var(--serif); color: var(--ink-soft); transition: color .3s; }
.player-caption.is-live { color: var(--ink); }

/* ── Section furniture ── */
section { position: relative; }
.section-head { max-width: 640px; }
.section-head h2, .private h2, .launch h2 { font: 600 clamp(32px, 3.8vw, 48px)/1.08 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.section-head p { margin-top: 16px; font-size: 18px; color: #5E4F43; max-width: 34em; }
.section-head a { color: var(--accent); }

/* ── Listen along ── */
.listen { padding: 96px 0 40px; }
.script { margin-top: 72px; position: relative; }
.script::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 60px; width: 1px; background: var(--line); }
.beat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: start; padding: 0 0 76px; }
.line {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: baseline;
  width: 100%; padding: 0; border: 0; background: none; text-align: left;
}
.stamp {
  position: relative; z-index: 1; justify-self: start;
  padding: 6px 0; width: 56px; text-align: center;
  background: var(--paper); border-radius: 999px;
  font: 600 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-faint);
  box-shadow: 0 0 0 1px var(--line);
  transition: color .3s, background-color .3s, box-shadow .3s;
}
.say { font: 400 clamp(21px, 2.1vw, 27px)/1.42 var(--serif); letter-spacing: -.005em; color: var(--ink-faint); transition: color .45s var(--ease); text-wrap: pretty; }
.line:hover .say { color: #6B5B4D; }
.line:hover .stamp { color: var(--accent); }
.script:not(.has-active) .say { color: var(--ink); }
.beat.is-active .say { color: var(--ink); }
.beat.is-active .stamp { background: var(--ink); color: var(--cream); box-shadow: none; }
.shot { display: grid; gap: 14px; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.script.has-active .beat:not(.is-active) .shot { opacity: .5; }
.beat.is-active .shot { transform: translateY(-4px); }

/* App cards */
.card { background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 0 0 1px rgba(47, 36, 29, .04), var(--shadow-card); }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.greeting { background: none; box-shadow: none; padding: 4px 4px 0; }
.greet { margin-top: 14px; font: 600 44px/1.05 var(--serif); letter-spacing: -.02em; }
.headline { margin-top: 12px; font: 400 21px/1.4 var(--serif); color: #5E4F43; }

.weather { display: flex; align-items: center; gap: 18px; }
.sun { width: 44px; height: 44px; flex: none; fill: var(--accent); stroke: var(--accent); }
.weather-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.weather-text strong { font: 600 18px/1.2 var(--sans); }
.weather-text span { font-size: 14.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.temp { font: 400 44px/1 var(--serif); letter-spacing: -.02em; }

.card-head { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.card-head svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.card-head span { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.card-head em { margin-left: auto; font: 400 14px/1 var(--sans); color: var(--ink-faint); font-style: normal; }
.rows { margin-top: 8px; }
.rows li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows.due li { grid-template-columns: 1fr auto; }
.rows time { font: 500 14.5px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.rows div { display: grid; gap: 3px; min-width: 0; }
.rows strong { font: 600 17px/1.25 var(--sans); }
.rows span { font-size: 14.5px; color: var(--ink-soft); }
.tag { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag.alert { background: rgba(166, 83, 59, .12); color: var(--alert); letter-spacing: .02em; font-size: 12px; }

.main-thing { position: relative; padding-left: 44px; }
.main-thing::before { content: ""; position: absolute; left: 24px; top: 22px; bottom: 22px; width: 3px; border-radius: 2px; background: var(--accent); }
.main-text { margin-top: 10px; font: 500 22px/1.3 var(--serif); }

.notes { margin-top: 6px; }
.notes li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.notes li:first-child { border-top: 0; }
.stories { margin-top: 6px; }
.stories li { display: grid; gap: 7px; justify-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.stories li:first-child { border-top: 0; }
.stories li:last-child, .notes li:last-child, .rows li:last-child { padding-bottom: 2px; }
.stories strong { font: 600 17.5px/1.3 var(--serif); }
.stories span { font-size: 15px; color: var(--ink-soft); }

.sources { background: var(--sunken); box-shadow: none; }
.sources-title { font: 600 19px/1.3 var(--serif); }
.sources ul { margin-top: 14px; display: grid; gap: 9px; }
.sources li { position: relative; padding-left: 20px; font-size: 16px; color: #5E4F43; }
.sources li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sources-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }

/* ── Voices ── */
.voices { padding: 72px 0 104px; }
.voice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.voice {
  position: relative; display: grid; grid-template-columns: 1fr; justify-items: start; gap: 4px;
  padding: 22px 22px 20px; text-align: left;
  background: var(--card); border: 0; border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(47, 36, 29, .04), var(--shadow-card);
  transition: transform .35s var(--spring), box-shadow .3s, background-color .3s, color .3s;
}
.voice:hover { transform: translateY(-3px); }
.voice:active { transform: scale(.98); }
.voice-play { width: 44px; height: 44px; margin-bottom: 26px; border-radius: 50%; background: var(--sunken); position: relative; transition: background-color .3s; }
.voice-play::before { content: ""; position: absolute; left: 17px; top: 14px; border-left: 13px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; transition: all .2s; }
.voice-name { font: 600 26px/1.1 var(--serif); letter-spacing: -.01em; }
.voice-detail { font-size: 15px; color: var(--ink-soft); transition: color .3s; }
.voice-bars { position: absolute; right: 22px; top: 30px; display: flex; align-items: center; gap: 3px; height: 28px; opacity: 0; transition: opacity .3s; }
.voice-bars i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); transform: scaleY(.3); }
.voice.is-playing { background: var(--espresso); color: var(--cream); box-shadow: var(--shadow-deep); }
.voice.is-playing .voice-detail { color: rgba(246, 240, 231, .58); }
.voice.is-playing .voice-play { background: var(--cream); }
.voice.is-playing .voice-play::before { left: 15px; top: 14px; width: 14px; height: 16px; border: 0; border-left: 5px solid var(--espresso); border-right: 5px solid var(--espresso); }
.voice.is-playing .voice-bars { opacity: 1; }
.voice.is-playing .voice-bars i { animation: eq .7s ease-in-out infinite alternate; }
.voice-bars i:nth-child(2) { animation-delay: -.2s !important; } .voice-bars i:nth-child(3) { animation-delay: -.45s !important; }
.voice-bars i:nth-child(4) { animation-delay: -.1s !important; } .voice-bars i:nth-child(5) { animation-delay: -.6s !important; }
.voice-bars i:nth-child(6) { animation-delay: -.3s !important; } .voice-bars i:nth-child(7) { animation-delay: -.5s !important; }

.manner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; margin-top: 88px; }
.manner h3 { font: 600 clamp(26px, 2.6vw, 34px)/1.12 var(--serif); letter-spacing: -.015em; }
.manner-copy p { margin-top: 14px; font-size: 18px; color: #5E4F43; max-width: 28em; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 26px; padding: 4px; border-radius: 999px; background: var(--sunken); }
.seg button { height: 40px; padding: 0 18px; border: 0; background: none; border-radius: 999px; font: 600 15px/1 var(--sans); color: var(--ink-soft); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(47, 36, 29, .12), 0 6px 14px -8px rgba(47, 36, 29, .3); }
.manner-quote { position: relative; padding: 6px 0 6px 34px; border-left: 3px solid var(--accent); display: grid; gap: 16px; min-height: 250px; align-content: center; }
.manner-quote p { font: 400 clamp(21px, 2.1vw, 27px)/1.4 var(--serif); letter-spacing: -.005em; text-wrap: pretty; }
.manner-quote.is-swapping p { animation: swap .5s var(--ease) both; }
.manner-quote.is-swapping p:nth-child(2) { animation-delay: .07s; }
.manner-quote.is-swapping p:nth-child(3) { animation-delay: .14s; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Overnight ── */
.overnight { padding: 104px 0; background: linear-gradient(180deg, var(--paper), var(--sunken) 22%, var(--sunken) 78%, var(--paper)); }
.night { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-deep);
  /* midnight to morning, in the app's own browns */
  background: linear-gradient(90deg, #1E1612 0%, #2B211B 34%, #4A3728 60%, #6E5237 71%, #C9A973 78%, #E6D2AE 89%, #F0E2C8 100%); }
.night li { position: relative; padding: 30px 26px 34px; color: var(--cream); display: grid; align-content: start; gap: 8px; min-height: 230px; }
.night li + li::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 34px; width: 1px; background: rgba(246, 240, 231, .16); }
.night-time { font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 240, 231, .62); margin-bottom: 44px; }
.night strong { font: 600 24px/1.15 var(--serif); letter-spacing: -.01em; }
.night p { font-size: 15.5px; line-height: 1.5; color: rgba(246, 240, 231, .78); }
.night li:last-child { color: var(--espresso); }
.night li:last-child .night-time { color: rgba(43, 33, 27, .72); }
.night li:last-child p { color: rgba(43, 33, 27, .86); }
.night li:last-child::before { background: rgba(43, 33, 27, .16); }

.surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.surface { display: grid; grid-template-rows: 300px auto; gap: 22px; }
.surface > div:first-child { border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.surface figcaption { font-size: 16px; color: #5E4F43; max-width: 26em; }
.surface figcaption strong { display: block; margin-bottom: 6px; font: 600 21px/1.2 var(--serif); color: var(--ink); }

.lock-screen { background: linear-gradient(165deg, #6E5440, #2B211B 78%); color: var(--cream); align-content: center; justify-items: center; gap: 2px; padding: 24px; }
.lock-date { font: 500 14px/1 var(--sans); opacity: .82; }
.lock-time { font: 300 76px/1 var(--sans); letter-spacing: -.03em; margin: 6px 0 22px; }
.lock-widget { display: flex; align-items: center; gap: 12px; width: min(100%, 268px); padding: 11px 14px 11px 11px; border-radius: 20px; background: rgba(246, 240, 231, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(246, 240, 231, .12) inset; }
.lw-play { width: 40px; height: 40px; border-radius: 50%; background: rgba(246, 240, 231, .22); display: grid; place-items: center; flex: none; }
.lw-play svg { width: 18px; height: 18px; fill: var(--cream); transform: translateX(1px); }
.lw-text { display: grid; gap: 3px; flex: 1; }
.lw-text b { font: 600 17px/1 var(--serif); }
.lw-text i { font: 400 13px/1 var(--sans); font-style: normal; opacity: .75; }
.lw-wave, .lw-wave i { display: flex; }
.lw-wave { align-items: center; gap: 3px; height: 20px; }
.lw-wave i { width: 3px; border-radius: 2px; background: var(--cream); opacity: .8; height: 40%; }
.lw-wave i:nth-child(2) { height: 100%; } .lw-wave i:nth-child(3) { height: 60%; } .lw-wave i:nth-child(4) { height: 85%; } .lw-wave i:nth-child(5) { height: 35%; }

.watch .watch-body { background: var(--card); box-shadow: 0 0 0 1px rgba(47, 36, 29, .04) inset; }
.watch-face { width: 188px; height: 228px; border-radius: 46px; background: var(--paper); padding: 20px 14px 14px; box-shadow: 0 0 0 7px #1D1714, 0 0 0 8px #4A3B31, 0 26px 40px -18px rgba(43, 33, 27, .6); display: grid; align-content: start; gap: 4px; }
.watch-face img { height: 16px; width: auto; }
.watch-date { font: 500 10.5px/1 var(--sans); color: var(--ink-soft); margin-bottom: 8px; }
.watch-player { background: radial-gradient(120% 120% at 100% 0%, #5A4330, var(--espresso) 62%); color: var(--cream); border-radius: 20px; padding: 13px 12px 12px; display: grid; gap: 11px; }
.wp-title { font: 600 14.5px/1 var(--serif); }
.wp-row { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.wp-play { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.wp-play svg { width: 20px; height: 20px; fill: var(--espresso); transform: translateX(1px); }
.wp-skip { width: 26px; height: 26px; border-radius: 50%; background: rgba(246, 240, 231, .14); }
.wp-bar { height: 3px; border-radius: 2px; background: rgba(246, 240, 231, .2); overflow: hidden; }
.wp-bar i { display: block; width: 34%; height: 100%; background: var(--accent); }

.ears-art { background: var(--espresso); padding: 26px; }
.np { width: min(100%, 290px); padding: 18px; border-radius: 24px; background: rgba(246, 240, 231, .09); box-shadow: 0 0 0 1px rgba(246, 240, 231, .08) inset; display: grid; grid-template-columns: 60px 1fr; gap: 14px 14px; align-items: center; color: var(--cream); }
.np img { width: 60px; height: 60px; padding: 12px 8px; border-radius: 12px; background: var(--paper); object-fit: contain; }
.np-text { display: grid; gap: 5px; min-width: 0; }
.np-text b { font: 600 15px/1.15 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-text i { font: 400 13.5px/1 var(--sans); font-style: normal; opacity: .6; }
.np-bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(246, 240, 231, .2); overflow: hidden; }
.np-bar i { display: block; width: 42%; height: 100%; background: var(--cream); border-radius: 3px; }
.np-ctl { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 38px; padding: 4px 0 2px; }
.np-ctl i { width: 0; height: 0; border-left: 13px solid var(--cream); border-top: 8px solid transparent; border-bottom: 8px solid transparent; opacity: .9; }
.np-ctl i:first-child { transform: scaleX(-1); }
.np-ctl .np-pause { width: 20px; height: 24px; border: 0; border-left: 7px solid var(--cream); border-right: 7px solid var(--cream); }

/* ── Privacy (the page's one dark room) ── */
.private { padding: 112px 0; background: var(--espresso); color: var(--cream); overflow: hidden; }
.private::before { content: ""; position: absolute; left: -12%; bottom: -60%; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(168, 129, 79, .28), transparent); pointer-events: none; }
.private-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 80px; align-items: start; }
.private-lead { margin-top: 20px; font-size: 19px; color: rgba(246, 240, 231, .74); max-width: 26em; }
.private .text-link { display: inline-block; margin-top: 26px; color: #D2B287; }
.ledger div { padding: 24px 0; border-top: 1px solid rgba(246, 240, 231, .14); display: grid; grid-template-columns: 190px 1fr; gap: 24px; }
.ledger div:last-child { border-bottom: 1px solid rgba(246, 240, 231, .14); }
.ledger dt { font: 600 19px/1.25 var(--serif); }
.ledger dd { font-size: 16.5px; line-height: 1.55; color: rgba(246, 240, 231, .74); }

/* ── Questions ── */
.questions { padding: 112px 0 72px; }
.questions-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 2px; font: 600 21px/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq p { padding: 0 44px 26px 2px; font-size: 17px; color: #5E4F43; max-width: 38em; }

/* ── Launch ── */
.launch { padding: 72px 0 120px; }
.launch-inner { text-align: center; display: grid; justify-items: center; padding: 72px 28px 64px; border-radius: 36px; background: var(--card); box-shadow: 0 0 0 1px rgba(47, 36, 29, .04), 0 40px 80px -40px rgba(47, 36, 29, .3); }
.launch-dd { width: 96px; height: auto; margin-bottom: 28px; }
.launch p { margin-top: 16px; font-size: 18px; color: #5E4F43; max-width: 30em; }
.signup-center { width: 100%; }
.signup-center .signup-note { padding-left: 0; text-align: center; }
.launch .signup-row { background: var(--paper); }

/* ── Footer ── */
.foot { padding: 0 0 56px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot img { height: 24px; width: auto; }
.foot nav { display: flex; gap: 24px; }
.foot a { font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot p { margin-left: auto; font-size: 13.5px; color: var(--ink-faint); }

/* ── Document pages (Privacy, Support) ── */
.doc { padding: 132px 0 96px; }
.doc .wrap { width: min(720px, 100% - 2 * var(--gutter)); }
.doc h1 { font: 600 clamp(36px, 5vw, 52px)/1.06 var(--serif); letter-spacing: -.02em; }
.doc .date { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.doc .lead { max-width: none; }
.doc h2 { margin: 52px 0 12px; font: 600 26px/1.2 var(--serif); letter-spacing: -.01em; }
.doc h3 { margin: 24px 0 4px; font-size: 17px; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.doc li { margin-bottom: 7px; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.nav.is-doc { background: rgba(246, 240, 231, .82); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav.is-doc .nav-mark { opacity: 1; transform: none; pointer-events: auto; }

/* ── Smaller screens ── */
@media (max-width: 980px) {
  .hero { padding: 108px 0 72px; }
  /* one column: the player moves up, right under the introduction */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-mark { order: 1; } .hero h1 { order: 2; } .hero .lead { order: 3; }
  .hero-player { order: 4; max-width: 560px; width: 100%; margin: 40px 0 8px; }
  .hero .signup { order: 5; } .hero .soon { order: 6; }
  .nav-links { display: none; }
  .nav-links.keep { display: flex; gap: 22px; }
  .nav-row { justify-content: space-between; }
  .beat { grid-template-columns: 1fr; gap: 26px; padding-bottom: 60px; }
  .shot { padding-left: 76px; }
  .voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manner { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; }
  .manner-quote { min-height: 0; }
  .night { grid-template-columns: 1fr; background: linear-gradient(180deg, #1E1612 0%, #2B211B 34%, #4A3728 60%, #6E5237 72%, #C9A973 79%, #E6D2AE 90%, #F0E2C8 100%); }
  .night li { min-height: 0; padding: 26px 26px 28px; }
  .night li + li::before { left: 26px; right: 26px; top: 0; bottom: auto; width: auto; height: 1px; }
  .night-time { margin-bottom: 14px; }
  .surfaces { grid-template-columns: 1fr; gap: 44px; }
  .surface { grid-template-rows: 280px auto; }
  .private-grid, .questions-grid { grid-template-columns: 1fr; gap: 44px; }
  .foot p { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hero { padding: 96px 0 56px; }
  .hero-mark { width: 78%; margin-bottom: 22px; }
  .signup-row { flex-direction: column; border-radius: 24px; padding: 8px; }
  .signup input[type="email"] { height: 50px; text-align: center; }
  .signup-note { padding-left: 0; text-align: center; }
  .soon { align-items: flex-start; }
  .soon-dot { margin-top: 7px; }
  .player { padding: 22px 20px 20px; border-radius: 26px; }
  .player-top { gap: 14px; }
  .play { width: 64px; height: 64px; }
  .player-title h2 { font-size: 21px; }
  .player-title p { font-size: 14px; }
  .eq { display: none; }
  .scrub { height: 52px; margin-top: 22px; }
  .wave { gap: 2px; }
  .player-controls { gap: 12px; }
  .listen { padding-top: 64px; }
  .script { margin-top: 48px; }
  .script::before { left: 23px; }
  .line { grid-template-columns: 48px 1fr; gap: 14px; }
  .stamp { width: 48px; font-size: 12px; }
  .shot { padding-left: 0; }
  .card { padding: 18px 18px; }
  .rows li { grid-template-columns: 70px 1fr auto; gap: 10px; }
  .greet { font-size: 36px; }
  .weather { gap: 14px; }
  .weather-text span { white-space: normal; }
  .temp { font-size: 38px; }
  .voices { padding: 40px 0 72px; }
  .voice-grid { gap: 12px; margin-top: 36px; }
  .voice { padding: 16px 16px 16px; }
  .voice-play { margin-bottom: 18px; }
  .voice-name { font-size: 22px; }
  .voice-bars { right: 16px; top: 24px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; width: 100%; }
  .seg button { border-radius: 18px; }
  .overnight { padding: 72px 0; }
  .night { margin-top: 44px; border-radius: 26px; }
  .private { padding: 80px 0; }
  .ledger div { grid-template-columns: 1fr; gap: 8px; }
  .questions { padding: 80px 0 48px; }
  .faq summary { font-size: 19px; padding: 20px 2px; }
  .faq p { padding-right: 8px; }
  .launch { padding: 48px 0 80px; }
  .launch-inner { padding: 52px 18px 44px; border-radius: 28px; }
  .doc { padding-top: 104px; }
}

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