/* OWNIT · AI Voice Agent: Noir. The night shift.
   Near-black canvas, soft white type, one cold accent (ice cyan with a faint violet edge), Geist + Geist Mono. */

:root {
  --bg: #06070a;
  --bg-1: #0a0c11;
  --bg-2: #0f1218;
  --bg-3: #151922;
  --line: rgba(206, 230, 255, 0.09);
  --line-2: rgba(206, 230, 255, 0.15);
  --line-3: rgba(206, 230, 255, 0.24);
  --ink: #eef3f8;
  --ink-2: #b2bcc8;
  --ink-3: #828d9a;
  --ink-4: #717b88;
  --ice: #6ee7ff;
  --ice-2: #b9f4ff;
  --ice-a: rgba(110, 231, 255, 0.1);
  --ice-b: rgba(110, 231, 255, 0.22);
  --violet: #8f7bff;
  --end: #ff7a7a;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --gut: clamp(16px, 4vw, 56px);
  /* layers */
  --z-sky: 0;
  --z-content: 2;
  --z-top: 30;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.still { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "ss01";
}
img, video, canvas, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: 0; }
.ic { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(110, 231, 255, 0.28); color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }

h2 {
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 { color: var(--ink); font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ice); color: #041015; padding: 10px 14px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ================================================================ top bar */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-top);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.top.scrolled {
  background: rgba(6, 7, 10, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 -1px 0 var(--line);
}
.top-in {
  max-width: 1440px; margin: 0 auto; height: 68px; padding: 0 var(--gut);
  display: flex; align-items: center; gap: 18px;
}
.brand {
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: 0.12em;
  padding: 8px 0;
}
.top-sub { color: var(--ink-3); font-size: 14px; padding-left: 18px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.top-nav { margin-left: auto; display: flex; gap: 4px; }
.top-nav a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.top-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.btn-top {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
  border: 1px solid rgba(110, 231, 255, 0.4);
  background: rgba(110, 231, 255, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease);
}
.btn-top .ic { color: var(--ice); width: 1em; height: 1em; }
.btn-top:hover { background: rgba(110, 231, 255, 0.14); border-color: rgba(110, 231, 255, 0.7); }
.btn-top:active { transform: scale(0.97); }
@media (max-width: 1080px) { .top-nav { display: none; } .btn-top { margin-left: auto; } }
@media (max-width: 560px) { .nl-sep { display: none; } [data-closed] { flex-basis: 100%; } .top-sub { display: none; } .top-in { height: 60px; } .btn-top { height: 40px; padding: 0 14px; font-size: 13.5px; } }

/* ================================================================ hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  overflow: clip; isolation: isolate;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 70% at 70% 30%, rgba(30, 42, 64, 0.35), transparent 60%),
    var(--bg);
}
.hero::after, .end::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0), var(--bg));
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: var(--z-sky); pointer-events: none; opacity: 0.9; }

/* the planet horizon: a huge disc whose top edge is lit, with air glowing above it */
.horizon {
  position: absolute; z-index: 1; left: 50%; top: calc(100% - 15vh);
  width: max(2400px, 230vw); aspect-ratio: 1; transform: translateX(-50%);
  pointer-events: none;
}
.hz-planet {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(52% 3.2% at 50% 0%, rgba(150, 236, 255, 0.2), transparent 100%),
    radial-gradient(40% 9% at 50% 0%, rgba(110, 231, 255, 0.07), transparent 100%),
    #040508;
  box-shadow:
    inset 0 1.5px 0 rgba(225, 250, 255, 0.95),
    inset 0 4px 10px rgba(110, 231, 255, 0.55),
    inset 0 22px 60px rgba(110, 231, 255, 0.16),
    0 0 0 1px rgba(150, 236, 255, 0.35),
    0 -4px 18px rgba(110, 231, 255, 0.55),
    0 -24px 90px rgba(110, 231, 255, 0.26),
    0 -70px 220px rgba(143, 123, 255, 0.2);
}
.hz-air {
  position: absolute; left: 50%; top: 0; width: 58%; height: 26vh; min-height: 180px;
  transform: translate(-50%, -100%); transform-origin: 50% 100%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(110, 231, 255, 0.2), rgba(143, 123, 255, 0.09) 45%, transparent 72%);
  filter: blur(6px); opacity: 0.8;
}
html.js:not(.still) .hero .horizon { animation: rise 2.2s var(--ease) both; }
@keyframes rise { from { transform: translate(-50%, 60px); opacity: 0.2; } to { transform: translateX(-50%); opacity: 1; } }

.hero-in {
  position: relative; z-index: var(--z-content);
  flex: 1; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 104px var(--gut) clamp(96px, 16vh, 150px);
  display: grid; align-items: center; column-gap: clamp(24px, 3vw, 48px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-areas: "intro stage";
}
.intro { grid-area: intro; max-width: 690px; }
.stage { grid-area: stage; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.c-id { grid-area: id; }
.c-tx { grid-area: tx; }
.c-steps { grid-area: steps; }

.nightline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  color: var(--ink-3); font-size: 14px; margin-bottom: 26px;
}
.nightline .ic { color: var(--ice); width: 1.15em; height: 1.15em; }
.nightline time { color: var(--ink); font-size: 15px; }
.nl-sep { width: 18px; height: 1px; background: var(--line-3); }

h1 { color: var(--ink); font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
.h-time {
  display: block; font-weight: 300; font-size: clamp(56px, 7.4vw, 96px); line-height: 0.96;
  font-variant-numeric: tabular-nums; letter-spacing: -0.045em;
  color: var(--ink);
  text-shadow: 0 0 60px rgba(110, 231, 255, 0.25);
}
.h-line { display: block; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; margin-top: 10px; letter-spacing: -0.03em; }
.lede { margin-top: 22px; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.55; color: var(--ink-2); max-width: 31em; text-wrap: pretty; }

.answer-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.answer {
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  height: 68px; padding: 0 30px 0 9px; border-radius: 999px;
  color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(110, 231, 255, 0.13), rgba(110, 231, 255, 0.05));
  box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.42), 0 0 44px -6px rgba(110, 231, 255, 0.3), 0 20px 50px -24px rgba(110, 231, 255, 0.5);
  transition: transform 0.16s var(--ease), box-shadow 0.25s ease, background-color 0.25s ease;
}
.answer:hover { box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.75), 0 0 60px -4px rgba(110, 231, 255, 0.42), 0 20px 50px -24px rgba(110, 231, 255, 0.6); }
.answer:active { transform: scale(0.97); }
.a-ic {
  position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ice); color: #03222b;
  box-shadow: 0 0 24px rgba(110, 231, 255, 0.55);
}
.a-ic .ic { width: 22px; height: 22px; position: relative; }
.a-ic i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(110, 231, 255, 0.7); opacity: 0; }
html.js:not(.still) .hero[data-state="idle"] .a-ic i { animation: ring 2.4s var(--ease) infinite; }
html.js:not(.still) .hero[data-state="idle"] .a-ic i + i { animation-delay: 0.5s; }
html.js:not(.still) .hero[data-state="idle"] .a-ic .ic { animation: buzz 2.4s ease-in-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.85; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes buzz { 0%, 30%, 100% { transform: rotate(0); } 4%, 12%, 20% { transform: rotate(-12deg); } 8%, 16%, 24% { transform: rotate(12deg); } }
.hero.paused .a-ic i, .hero.paused .a-ic .ic { animation-play-state: paused !important; }
.answer-note { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.answer-note .ic { color: var(--ink-2); }

.log { margin-top: 44px; }
.log-l { font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.log-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; }
.log-t {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; text-align: left;
  padding: 14px 0 6px; min-height: 64px; border-top: 1px solid var(--line-2);
  color: var(--ink-3); transition: color 0.2s ease;
}
.log-t::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ice);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
  box-shadow: 0 0 12px rgba(110, 231, 255, 0.8);
}
.log-t time { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 3px; transition: color 0.2s ease; }
.log-t span { display: block; font-size: 15px; line-height: 1.3; }
.log-t:hover { color: var(--ink-2); }
.log-t[aria-selected="true"] { color: var(--ink); }
.log-t[aria-selected="true"] time { color: var(--ice); }
.log-t[aria-selected="true"]::before { transform: scaleX(1); }
.log-t:active { transform: translateY(1px); }

/* the sphere */
.orb {
  position: relative; width: min(100%, 600px, 64vh); aspect-ratio: 1; flex: none;
  transform-origin: 50% 50%;
  --lv: 0;
}
.orb-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-halo {
  position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 231, 255, 0.26), rgba(110, 231, 255, 0.08) 55%, transparent 100%);
  opacity: calc(0.6 + var(--lv) * 1.1);
  transform: scale(calc(1 + var(--lv) * 0.25));
  filter: blur(10px);
}
.orb.tone-caller .orb-halo { background: radial-gradient(closest-side, rgba(176, 166, 255, 0.2), rgba(143, 123, 255, 0.06) 55%, transparent 100%); }

.stage-foot { width: 100%; display: flex; flex-direction: column; align-items: center; margin-top: -2%; min-height: 0; }
.incoming {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  background: rgba(10, 12, 17, 0.6); box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.incoming b { color: var(--ink); font-weight: 500; }
.incoming .mono { font-size: 13px; color: var(--ink-3); }
.in-l { display: inline-flex; align-items: center; gap: 8px; color: var(--ice); font-size: 12.5px; }
.ring-dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); flex: none; }
html.js:not(.still) .ring-dot { animation: blink 1.2s steps(2, jump-none) infinite; }
html.js:not(.still) .live-dot { animation: pulse 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }
.speaker { font-size: 13px; color: var(--ink-3); text-align: center; min-height: 20px; transition: color 0.3s ease; }
.speaker b { font-weight: 500; color: var(--ice); }
.speaker.caller b { color: #c9c0ff; }

/* ---------------------------------------------------------------- call state */
.hero[data-state="live"] .hero-in,
.hero[data-state="done"] .hero-in {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) minmax(320px, 410px);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "id stage tx" "steps stage tx";
  align-items: stretch; row-gap: 26px;
}
.hero[data-state="live"] .orb { width: min(100%, 440px, 54vh); }
.hero[data-state="done"] .orb { width: min(100%, 230px, 28vh); }
.hero[data-state="live"] .stage, .hero[data-state="done"] .stage { justify-content: center; }
.hero[data-state="done"] .stage { justify-content: flex-start; padding-top: 8px; }

.pane-in { animation: paneIn 0.6s var(--ease) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.c-id { display: flex; flex-direction: column; gap: 22px; align-self: start; }
.c-head { display: flex; align-items: center; gap: 16px; }
.c-av {
  position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 30% 25%, #1d2531, #0d1016);
  box-shadow: inset 0 0 0 1px var(--line-3);
  color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: 0.02em;
}
.c-av b { font-weight: 500; }
.c-name { color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.c-num { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.c-to { font-size: 14px; color: var(--ink-3); margin-top: 1px; }
.c-to b { color: var(--ink-2); font-weight: 500; }
.c-timer { padding: 18px 0 0; border-top: 1px solid var(--line); }
.c-status { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.c-time { color: var(--ink); font-size: clamp(44px, 4.2vw, 58px); font-weight: 300; line-height: 1.05; letter-spacing: -0.04em; margin-top: 4px; }
.c-clock { font-size: 13px; color: var(--ink-3); }
.hero[data-state="done"] .live-dot { background: var(--ink-4); box-shadow: none; animation: none; }
.c-ctl { display: flex; gap: 10px; flex-wrap: wrap; }
.ctl {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 15px; border-radius: 999px;
  font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.16s var(--ease);
}
.ctl:hover { background: rgba(255, 255, 255, 0.08); }
.ctl:active { transform: scale(0.97); }
.ctl .off { display: none; }
.ctl[aria-pressed="true"] .on { display: none; }
.ctl[aria-pressed="true"] .off { display: block; }
.ctl[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.5); color: var(--ice-2); }
.ctl-end { color: #ffd9d9; background: rgba(255, 92, 92, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 122, 122, 0.4); }
.ctl-end .ic { color: var(--end); }
.ctl-end:hover { background: rgba(255, 92, 92, 0.2); }
.hero[data-state="done"] .c-ctl { display: none; }

.c-steps { align-self: stretch; min-height: 0; }
.cs-hd { font-size: 14px; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cs { margin-top: 6px; }
.cs li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 10px;
  padding: 7px 0; font-size: 14.5px; line-height: 1.4; color: var(--ink-4);
  transition: color 0.35s ease;
}
.cs .st-ic { width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.cs .st-ic .ic { width: 12px; height: 12px; opacity: 0; transform: scale(0.6); transition: opacity 0.25s ease, transform 0.35s var(--ease); color: #03222b; }
.cs time { font-size: 12px; color: var(--ink-3); opacity: 0; transition: opacity 0.3s ease; padding-top: 2px; }
.cs li.now { color: var(--ink); }
.cs li.now .st-ic { box-shadow: inset 0 0 0 1.5px var(--ice); }
html.js:not(.still) .cs li.now .st-ic { animation: pulse 1.2s ease-in-out infinite; }
.cs li.ok { color: var(--ink-2); }
.cs li.ok .st-ic { background: var(--ice); box-shadow: 0 0 12px rgba(110, 231, 255, 0.45); }
.cs li.ok .st-ic .ic { opacity: 1; transform: none; }
.cs li.ok time { opacity: 1; }

.c-tx {
  display: flex; flex-direction: column; min-height: 0; align-self: stretch;
  border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(15, 18, 24, 0.78), rgba(10, 12, 17, 0.6));
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  max-height: min(600px, calc(100svh - 240px));
}
.tx-hd { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.tx-hd .mono { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx {
  flex: 1; min-height: 220px; overflow-y: auto; padding: 18px 20px 22px; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 28px, #000 100%);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.ln { margin-bottom: 16px; }
.ln:last-child { margin-bottom: 0; }
.ln-who { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; margin-bottom: 4px; color: var(--ink-3); }
.ln.ai .ln-who b { color: var(--ice); font-weight: 500; }
.ln.caller .ln-who b { color: #c9c0ff; font-weight: 500; }
.ln p { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.ln .w { color: var(--ink-4); transition: color 0.18s ease; }
.ln .w.on { color: var(--ink); }
.ln.past .w.on { color: var(--ink-2); }

.results { width: 100%; max-width: 420px; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.booked {
  border-radius: var(--r-md); padding: 16px 18px 17px;
  background: linear-gradient(180deg, rgba(110, 231, 255, 0.1), rgba(110, 231, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.35), 0 0 50px -20px rgba(110, 231, 255, 0.5);
}
.bk-hd { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ice); }
.bk-job { color: var(--ink); font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-top: 8px; line-height: 1.2; }
.bk-when { color: var(--ink); font-size: 15.5px; margin-top: 2px; }
.bk-meta { color: var(--ink-3); font-size: 13.5px; margin-top: 6px; line-height: 1.45; }
.sms { padding: 0 2px; }
.sms-hd { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 7px; }
.sms-b {
  max-width: 92%; padding: 11px 14px; border-radius: 18px 18px 18px 6px;
  background: #1c2029; color: var(--ink); font-size: 14.5px; line-height: 1.45;
}
.r-early { font-size: 15px; color: var(--ink-2); text-align: center; }
.r-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.16s var(--ease);
}
.btn-ghost .ic { width: 1.05em; height: 1.05em; color: var(--ice); }
.btn-ghost:hover { background: rgba(110, 231, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.45); }
.btn-ghost:active { transform: scale(0.97); }

/* tablet: two columns while on the call */
@media (max-width: 1199px) and (min-width: 860px) {
  .log-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .hero[data-state="live"] .hero-in,
  .hero[data-state="done"] .hero-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas: "id stage" "tx stage" "tx steps";
    row-gap: 22px;
  }
  .c-tx { max-height: max(300px, calc(100svh - 330px)); }
  .hero[data-state="live"] .orb { width: min(100%, 320px, 40vh); }
  /* compact caller card */
  .c-id { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head timer" "ctl ctl"; gap: 16px 12px; align-items: center; }
  .c-head { grid-area: head; gap: 12px; min-width: 0; }
  .c-av { width: 48px; height: 48px; font-size: 15px; }
  .c-name { font-size: 19px; }
  .c-num { font-size: 12.5px; }
  .c-to { font-size: 13px; }
  .c-timer { grid-area: timer; border-top: 0; padding: 0; text-align: right; }
  .c-time { font-size: 36px; margin-top: 0; }
  .c-status { justify-content: flex-end; font-size: 12.5px; gap: 7px; }
  .c-status span { white-space: nowrap; }
  .c-clock { display: none; }
  .c-ctl { grid-area: ctl; }
}

/* phones */
@media (max-width: 859px) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "stage" "intro";
    align-content: start; padding-top: 76px; padding-bottom: 120px;
  }
  .orb { width: min(64vw, 260px, 34vh); }
  @media (min-width: 600px) { .orb { width: min(56vw, 360px, 36vh); } }
  .stage-foot { margin-top: -4%; }
  .incoming { padding: 8px 14px; font-size: 13.5px; gap: 10px; }
  .incoming [data-in-num] { display: none; }
  .intro { margin-top: 18px; }
  .nightline { margin-bottom: 14px; font-size: 13px; }
  .lede { margin-top: 16px; }
  .answer-row { margin-top: 24px; }
  .log { margin-top: 30px; }
  .log-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 8px; }
  .log-t { padding: 10px 12px; min-height: 58px; border-top: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(10, 12, 17, 0.86); }
  .log-t::before { display: none; }
  .log-t[aria-selected="true"] { box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.55); background: #0d1a20; }
  .hero[data-state="live"] .hero-in,
  .hero[data-state="done"] .hero-in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "id" "stage" "tx" "steps";
    row-gap: 20px;
  }
  .hero[data-state="live"] .orb { width: min(54vw, 220px); }
  .hero[data-state="done"] .orb { width: 140px; }
  .c-av { width: 46px; height: 46px; }
  .c-name { font-size: 18px; }
  .c-time { font-size: 34px; }
  .c-tx { max-height: 360px; }
  .tx { min-height: 180px; }
  .ctl { flex: 1; justify-content: center; }
}

/* ================================================================ one night */
.night { position: relative; background: var(--bg); }
.night-pin {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr);
  background: radial-gradient(90% 60% at 50% 0%, rgba(24, 32, 48, 0.4), transparent 70%), var(--bg);
}
.night-dawn {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(60% 50% at 96% 88%, rgba(110, 231, 255, 0.18), transparent 70%),
    radial-gradient(55% 38% at 70% 96%, rgba(143, 123, 255, 0.14), transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(40, 60, 84, 0.3));
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.night-hd { position: relative; padding: 112px var(--gut) 0; max-width: 1440px; width: 100%; margin: 0 auto; }
.night-hd p { margin-top: 14px; font-size: 17px; max-width: 38em; }
.night-meter {
  position: relative; max-width: 1440px; width: 100%; margin: 0 auto; padding: 22px var(--gut) 0;
  display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap;
}
.nm-time { color: var(--ice); font-size: clamp(30px, 3vw, 40px); font-weight: 300; letter-spacing: -0.03em; min-width: 5.6em; text-shadow: 0 0 30px rgba(110, 231, 255, 0.4); }
.nm-stats { display: flex; gap: 22px; font-size: 13.5px; color: var(--ink-3); }
.nm-stats b { color: var(--ink); font-weight: 500; font-size: 15px; margin-right: 4px; }

.night-view { position: relative; min-height: 0; --play: 30vw; }
.night-track { position: absolute; inset: 0 auto 0 0; height: 100%; will-change: transform; }
.ruler { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.ruler .tk { position: absolute; top: 0; width: 1px; height: 7px; background: var(--line-2); transform: translateY(-3px); }
.ruler .hr { position: absolute; top: 0; width: 1px; height: 16px; background: var(--line-3); transform: translateY(-8px); }
.ruler .hr span { position: absolute; top: 22px; left: 0; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.ruler .hr.sun span { color: var(--ice); transform: none; left: 12px; }
.ruler .lit { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--ice); box-shadow: 0 0 10px var(--ice); }

.ncalls { position: absolute; inset: 0; }
.nc { position: absolute; top: 50%; width: 270px; }
.nc::before { /* stem from the line to the card */
  content: ""; position: absolute; left: 0; width: 1px; background: var(--line-2); transition: background-color 0.4s ease;
}
.nc::after { /* dot on the line */
  content: ""; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-3); transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.nc.up::before { bottom: 0; height: 40px; }
.nc.dn::before { top: 0; height: 40px; }
.nc-card {
  position: absolute; left: 0; width: 100%; padding: 14px 16px 15px; border-radius: var(--r-md);
  background: rgba(13, 16, 22, 0.86); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.45s ease, background-color 0.45s ease, opacity 0.45s ease, transform 0.6s var(--ease);
  opacity: 0.5; transform: translateY(0);
}
.nc.up .nc-card { bottom: 40px; }
.nc.dn .nc-card { top: 40px; }
.nc-time { font-size: 12.5px; color: var(--ink-3); }
.nc-who { color: var(--ink); font-size: 16px; font-weight: 500; margin-top: 3px; letter-spacing: -0.01em; }
.nc-need { font-size: 14px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.nc-out {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.4; color: var(--ink-3);
}
.nc-out .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--ink-4); transition: color 0.4s ease; }
.nc.on .nc-card { opacity: 1; background: rgba(14, 19, 26, 0.94); box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.3), 0 0 40px -18px rgba(110, 231, 255, 0.5); }
.nc.on::before { background: rgba(110, 231, 255, 0.55); }
.nc.on::after { background: var(--ice); box-shadow: 0 0 12px var(--ice); }
.nc.on .nc-time { color: var(--ice); }
.nc.on .nc-need { color: var(--ink-2); }
.nc.on .nc-out { color: var(--ink); }
.nc.on .nc-out .ic { color: var(--ice); }
.nc.blocked.on .nc-out .ic { color: var(--ink-3); }

.playhead {
  position: absolute; top: 4%; bottom: 4%; left: var(--play); width: 1px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(110, 231, 255, 0.85) 20%, rgba(110, 231, 255, 0.85) 80%, transparent);
  box-shadow: 0 0 14px rgba(110, 231, 255, 0.7);
}

/* the list version (phones, reduced motion, capture) */
.night.is-list .night-pin { height: auto; min-height: 0; overflow: visible; display: block; padding-bottom: 72px; }
.night.is-list .night-meter, .night.is-list .playhead, .night.is-list .ruler { display: none; }
.night.is-list .night-view { padding: 28px var(--gut) 0; max-width: 820px; margin: 0 auto; }
.night.is-list .night-track { position: relative; inset: auto; height: auto; transform: none !important; width: auto !important; }
.night.is-list .ncalls { position: relative; inset: auto; padding-left: 26px; }
.night.is-list .ncalls::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--line-2), rgba(110, 231, 255, 0.5) 80%, rgba(110, 231, 255, 0.1)); }
.night.is-list .nc { position: relative; left: auto !important; top: auto; width: auto; margin-bottom: 14px; }
.night.is-list .nc::before { display: none; }
.night.is-list .nc::after { left: -26px; top: 20px; }
.night.is-list .nc-card { position: relative; inset: auto; }
.night.is-list .nc-end { display: flex; }
.nc-end { display: none; align-items: center; gap: 10px; color: var(--ice); font-family: var(--mono); font-size: 13px; padding: 6px 0 0 26px; }

/* ================================================================ film */
.film { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; overflow: clip; isolation: isolate; }
.film-media { position: absolute; inset: 0; z-index: -1; background: #0a0b0f url("https://images.pexels.com/videos/30041196/pexels-photo-30041196.jpeg?auto=compress&cs=tinysrgb&w=1200") center / cover no-repeat; }
.film-media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.85) brightness(0.72) contrast(1.1); }
.film-media { filter: none; }
.film-media::before { /* grade the poster too */
  content: ""; position: absolute; inset: 0; background: rgba(6, 7, 10, 0.25);
}
.film-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 7, 10, 0.2) 22%, rgba(6, 7, 10, 0.1) 55%, rgba(6, 7, 10, 0.7) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 7, 10, 0.75) 0%, rgba(6, 7, 10, 0.15) 60%),
    rgba(24, 70, 92, 0.32);
  mix-blend-mode: normal;
}
.film-copy { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; padding: 120px var(--gut); }
.film-line {
  color: var(--ink); font-size: clamp(38px, 5.6vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -0.04em;
  max-width: 12.5em; text-wrap: balance;
}
.film-line .wd { transition: opacity 0.3s linear; }
.film-sub { margin-top: 26px; font-size: clamp(16px, 1.4vw, 20px); color: var(--ink-2); max-width: 30em; text-wrap: pretty; }

/* ================================================================ voices */
.voices { padding: clamp(100px, 14vh, 160px) 0 clamp(90px, 12vh, 140px); }
.voices-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.v-side { position: sticky; top: 110px; }
.v-sub { margin-top: 16px; font-size: 17px; max-width: 28em; }
.v-now { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.v-now blockquote p {
  color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 400; text-wrap: pretty;
}
.v-now blockquote p::before { content: "\201C"; }
.v-now blockquote p::after { content: "\201D"; }
.v-now .w { color: var(--ink-4); transition: color 0.15s ease; }
.v-now .w.on, .v-now.idle .w { color: var(--ink); }
.v-now figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.v-now.playing figcaption { color: var(--ice); }

.v-list { display: flex; flex-direction: column; gap: 10px; }
.vt {
  width: 100%; display: grid; grid-template-columns: 52px minmax(96px, 150px) minmax(0, 1fr) 40px; align-items: center; gap: 18px;
  padding: 14px 20px 14px 14px; border-radius: var(--r-lg); text-align: left;
  background: rgba(13, 16, 22, 0.7); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.16s var(--ease);
}
.vt:hover { background: rgba(17, 21, 29, 0.9); box-shadow: inset 0 0 0 1px var(--line-2); }
.vt:active { transform: scale(0.99); }
.vt-play {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.vt-play .ic { width: 18px; height: 18px; }
.vt-play .i-p { margin-left: 2px; }
.vt .i-s { display: none; }
.vt[aria-pressed="true"] .i-s { display: block; }
.vt[aria-pressed="true"] .i-p { display: none; }
.vt-name b { display: block; color: var(--ink); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.vt-name small { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 1px; }
.vt-wave { width: 100%; height: 44px; }
.vt-dur { font-size: 12.5px; color: var(--ink-3); text-align: right; }
.vt[aria-pressed="true"] {
  background: linear-gradient(90deg, rgba(110, 231, 255, 0.09), rgba(13, 16, 22, 0.8) 70%);
  box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.45), 0 0 60px -24px rgba(110, 231, 255, 0.55);
}
.vt[aria-pressed="true"] .vt-play { background: var(--ice); color: #03222b; box-shadow: 0 0 22px rgba(110, 231, 255, 0.5); }

/* ================================================================ morning report */
.report { padding: clamp(80px, 12vh, 140px) 0; position: relative; }
.report::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(110, 231, 255, 0.06), transparent 70%);
}
.report-hd { position: relative; max-width: 760px; margin-bottom: 44px; }
.report-hd p { margin-top: 16px; font-size: 17px; max-width: 36em; }
.rp {
  position: relative; border-radius: 28px; overflow: clip;
  background: linear-gradient(180deg, #0e1117, #0a0c10);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.rp-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap;
  padding: 22px 28px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(110, 231, 255, 0.07), transparent 55%);
}
.rp-when { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ice); }
.rp-hi { color: var(--ink); font-size: 17px; font-weight: 450; }
.rp-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.rp-side { padding: 26px 28px; border-right: 1px solid var(--line); }
.rp-side-in { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 30px; }
.rp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.rp-stats dt { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.rp-stats dd { color: var(--ink); font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 32px; font-weight: 400; letter-spacing: -0.03em; margin-top: 4px; line-height: 1.1; }
.rp-stats div:nth-child(3) dd { color: var(--ice); }
.rp-mini { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.rp-bars { display: grid; grid-template-columns: repeat(9, 1fr); align-items: end; gap: 5px; height: 64px; }
.rp-bars i { display: block; height: max(3px, var(--h)); border-radius: 3px; background: rgba(110, 231, 255, 0.55); }
.rp-bars i.z { background: var(--line-2); }
.rp-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.rp-first { padding: 16px 18px; border-radius: var(--r-md); background: rgba(110, 231, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.25); }
.rp-first .rp-mini { color: var(--ice); margin-bottom: 4px; }
.rp-first-b { color: var(--ink); font-size: 16px; font-weight: 500; }
.rp-first-s { font-size: 14px; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }

.rp-list { padding: 8px 10px; }
.rc { border-bottom: 1px solid var(--line); }
.rc:last-child { border-bottom: 0; }
.rc-hd {
  width: 100%; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto 22px; align-items: center; gap: 16px;
  padding: 16px 16px; text-align: left; border-radius: 14px;
  transition: background-color 0.2s ease;
}
.rc-hd:hover { background: rgba(255, 255, 255, 0.03); }
.rc-hd time { font-size: 13px; color: var(--ink-3); }
.rc-who b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; }
.rc-who small { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.4; margin-top: 1px; }
.rc-hd > .ic { width: 18px; height: 18px; color: var(--ink-3); transition: transform 0.3s var(--ease); }
.rc-hd[aria-expanded="true"] > .ic { transform: rotate(180deg); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.tag .ic { width: 14px; height: 14px; }
.tag.t-book { color: var(--ice-2); box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.4); background: rgba(110, 231, 255, 0.07); }
.tag.t-urgent { color: #041a20; background: var(--ice); box-shadow: none; font-weight: 500; }
.tag.t-block { color: var(--ink-3); }
.rc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.rc-body > div { overflow: hidden; min-height: 0; }
.rc.open .rc-body { grid-template-rows: 1fr; }
.rc-in { padding: 2px 16px 22px 106px; }
.rc-sum { display: flex; flex-direction: column; gap: 6px; }
.rc-sum li { position: relative; padding-left: 16px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.rc-sum li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: var(--ink-3); }
.rc-play {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  margin-top: 16px; padding: 10px 14px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-2);
  max-width: 520px;
}
.rc-pbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: #03222b; transition: transform 0.16s var(--ease); }
.rc-pbtn:active { transform: scale(0.95); }
.rc-pbtn .ic { width: 16px; height: 16px; }
.rc-pbtn .i-p { margin-left: 2px; }
.rc-pbtn .i-s, .rc-play.playing .rc-pbtn .i-p { display: none; }
.rc-play.playing .rc-pbtn .i-s { display: block; }
.rc-wave { display: flex; align-items: center; gap: 2px; height: 30px; min-width: 0; overflow: hidden; }
.rc-wave i { flex: 1; min-width: 2px; height: var(--h); border-radius: 2px; background: var(--ink-4); transition: background-color 0.15s ease; }
.rc-wave i.on { background: var(--ice); }
.rc-dur { font-size: 12.5px; color: var(--ink-3); }
.rc-tx { margin-top: 14px; font-size: 14px; color: var(--ink-3); line-height: 1.55; max-width: 560px; }
.rc-tx b { color: var(--ink-2); font-weight: 500; }
.rc-play.playing + .rc-tx { color: var(--ink); }
.rc-play.playing + .rc-tx b { color: var(--ice); }

/* ================================================================ setup */
.setup { padding: clamp(80px, 12vh, 140px) 0; }
.setup-hd p { margin-top: 16px; font-size: 17px; }
.s3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: 64px; }
.s3::before { /* the wire */
  content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px;
  background: linear-gradient(90deg, rgba(110, 231, 255, 0.5), rgba(143, 123, 255, 0.45) 60%, rgba(110, 231, 255, 0.5));
}
.s3::after { /* a light that travels along it */
  content: ""; position: absolute; left: 28px; top: 27px; width: 120px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--ice-2), transparent);
  filter: blur(1px); opacity: 0;
}
html.js:not(.still) .s3.run::after { animation: travel 4.5s var(--ease-io) infinite; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(calc(var(--s3w, 900px) - 176px)); opacity: 0; } }
.s3 li { position: relative; }
.s3-node {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.5), 0 0 30px -6px rgba(110, 231, 255, 0.5);
}
.s3-node .ic { width: 24px; height: 24px; }
.s3-day { margin-top: 26px; font-size: 13px; color: var(--ice); }
.s3 h3 { margin-top: 6px; font-size: clamp(20px, 1.8vw, 24px); }
.s3 p:last-child { margin-top: 10px; font-size: 16px; max-width: 26em; }

/* ================================================================ faq */
.faq { padding: clamp(60px, 10vh, 120px) 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px;
  color: var(--ink); font-size: 18px; font-weight: 450; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--ice); transition: transform 0.3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p { padding: 0 40px 24px 2px; font-size: 16px; max-width: 40em; }

/* ================================================================ close */
.end { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: clip; isolation: isolate; padding: 120px 0 200px; }
.horizon-end { top: calc(100% - 22vh); z-index: -1; }
.end-in { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.end h2 { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.045em; }
.end p { margin: 22px auto 0; font-size: clamp(16px, 1.3vw, 19px); max-width: 32em; text-wrap: pretty; }
.btn-main {
  display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 28px 0 30px; margin-top: 38px; border-radius: 999px;
  background: var(--ice); color: #03222b; font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 60px -10px rgba(110, 231, 255, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.16s var(--ease), box-shadow 0.25s ease;
}
.btn-main:hover { box-shadow: 0 0 80px -6px rgba(110, 231, 255, 0.85), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn-main:active { transform: scale(0.97); }

/* ================================================================ footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0 96px; }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.foot-links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.foot-links a:hover { color: var(--ice); }

/* ================================================================ reveal (fail-open: only hidden once JS opts in) */
html.rv-on .rv:not(.in) { opacity: 0; transform: translateY(18px); }
html.rv-on .rv { transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }

/* ================================================================ responsive */
@media (max-width: 1099px) {
  .rp-body { grid-template-columns: minmax(0, 1fr); }
  .rp-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .rp-side-in { position: static; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; }
  .rp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .voices-in { grid-template-columns: minmax(0, 1fr); }
  .v-side { position: static; }
  .v-now { margin-top: 28px; }
  .s3 { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-left: 0; }
  .s3::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(110, 231, 255, 0.5), rgba(143, 123, 255, 0.45)); }
  .s3::after { display: none; }
  .s3 li { padding-left: 82px; }
  .s3-node { position: absolute; left: 0; top: 0; }
  .s3-day { margin-top: 2px; }
  .faq-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  h2 { font-size: clamp(32px, 9vw, 44px); }
  .night-hd { padding-top: 84px; }
  .night-hd p, .report-hd p, .v-sub, .setup-hd p { font-size: 16px; }
  .vt { grid-template-columns: 46px minmax(0, 1fr) 34px; grid-template-areas: "p n d" "w w w"; gap: 10px 14px; padding: 12px 14px; }
  .vt-play { grid-area: p; width: 46px; height: 46px; }
  .vt-name { grid-area: n; }
  .vt-dur { grid-area: d; }
  .vt-wave { grid-area: w; height: 36px; }
  .rp { border-radius: 22px; }
  .rp-top { padding: 18px; }
  .rp-side { padding: 20px 18px; }
  .rp-side-in { grid-template-columns: minmax(0, 1fr); }
  .rp-stats { grid-template-columns: 1fr 1fr; }
  .rp-list { padding: 4px; }
  .rc-hd { grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "t c" "w c" "g c"; gap: 2px 12px; padding: 14px 12px; }
  .rc-hd time { grid-area: t; }
  .rc-who { grid-area: w; }
  .rc-hd .tag { grid-area: g; justify-self: start; margin-top: 8px; }
  .rc-hd > .ic { grid-area: c; }
  .rc-in { padding: 0 12px 18px; }
  .faq summary { font-size: 16.5px; padding: 18px 2px; }
  .faq details p { padding-right: 8px; font-size: 15.5px; }
  .film-copy { padding: 90px var(--gut); }
  .end { min-height: 0; padding: 100px 0 240px; }
  .horizon-end { top: calc(100% - 150px); }
  .foot-in { flex-direction: column; }
}

/* reduced motion: keep fades, drop movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .rv, .nc-card, .pane-in { transform: none !important; }
  .rc-body { transition: none; }
}

/* capture mode: final state, no motion */
html.still *, html.still *::before, html.still *::after { transition: none !important; animation: none !important; }
