:root {
  --bg: #000;
  --text: #fff;
  --muted: #8e8e93;
  --spoken: #666;
  --hairline: rgba(255, 255, 255, 0.1);
  --voice-on: #34c759;
  --voice-off: #595959;
  --record: #ff3b30;
  --gutter: clamp(20px, 5vw, 48px);
  --page: 1120px;

  --phone-w: calc(min(86svh, 780px) * 9 / 19.5);
  --card-w: calc(var(--phone-w) * 0.9);
  --card-h: calc(var(--card-w) * 9 / 16);
  --card-line: calc(var(--card-w) * 0.1);
  --card-cue-y: calc(var(--card-h) * 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(var(--page) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img { border-radius: 22%; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  max-width: calc(var(--page) + var(--gutter) * 2);
  min-height: calc(100svh - 52px);
  margin: 0 auto;
  padding: 24px var(--gutter);
}

h1 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

.lede {
  max-width: 30em;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.soon {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phone {
  width: var(--phone-w);
  aspect-ratio: 9 / 19.5;
  padding: calc(var(--phone-w) * 0.022);
  border-radius: calc(var(--phone-w) * 0.15);
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--phone-w) * 0.13);
  background: #1c1c1e;
}

.view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.island {
  position: absolute;
  top: calc(var(--phone-w) * 0.03);
  left: 50%;
  width: calc(var(--phone-w) * 0.3);
  height: calc(var(--phone-w) * 0.085);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.prompter {
  position: absolute;
  top: calc(var(--phone-w) * 0.15);
  left: 50%;
  width: var(--card-w);
  height: var(--card-h);
  transform: translateX(-50%);
  overflow: hidden;
  border-radius: calc(var(--card-w) * 0.06);
  background: #000;
  box-shadow: 0 0 0 1px var(--hairline), 0 calc(var(--card-w) * 0.04) calc(var(--card-w) * 0.14) rgba(0, 0, 0, 0.5);
}

.script {
  position: absolute;
  top: var(--card-cue-y);
  right: calc(var(--card-w) * 0.055);
  left: calc(var(--card-w) * 0.055);
  font-size: calc(var(--card-w) * 0.072);
  font-weight: 600;
  line-height: var(--card-line);
  letter-spacing: -0.01em;
  transition: transform 0.32s ease-out, opacity 0.3s ease;
}

.script.jump { transition: none; }
.script.hidden { opacity: 0; }

.word { transition: color 0.12s linear; }
.word.spoken { color: var(--spoken); }

.fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(var(--card-w) * 0.133);
  background: linear-gradient(to bottom, transparent, #000);
}

.cue {
  position: absolute;
  top: calc(var(--card-cue-y) + var(--card-line) / 2 - var(--card-w) * 0.014);
  left: calc(var(--card-w) * 0.014);
  width: calc(var(--card-w) * 0.019);
  height: calc(var(--card-w) * 0.028);
  background: var(--text);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.voice {
  position: absolute;
  top: calc(var(--card-w) * 0.022);
  right: calc(var(--card-w) * 0.023);
  width: calc(var(--card-w) * 0.017);
  height: calc(var(--card-w) * 0.017);
  border-radius: 50%;
  background: var(--voice-on);
  transition: background 0.2s linear;
}

.voice.waiting { background: var(--voice-off); }

.progress {
  position: absolute;
  right: calc(var(--card-w) * 0.06);
  bottom: calc(var(--card-w) * 0.028);
  left: calc(var(--card-w) * 0.06);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-fill {
  display: block;
  height: 100%;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s ease-out;
}

.record {
  position: absolute;
  right: 0;
  bottom: calc(var(--phone-w) * 0.07);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--phone-w) * 0.035);
}

.timer {
  color: var(--text);
  font-size: calc(var(--phone-w) * 0.042);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.shutter {
  display: grid;
  place-items: center;
  width: calc(var(--phone-w) * 0.2);
  height: calc(var(--phone-w) * 0.2);
  border: calc(var(--phone-w) * 0.012) solid var(--text);
  border-radius: 50%;
}

.shutter::after {
  content: "";
  width: 42%;
  height: 42%;
  border-radius: 18%;
  background: var(--record);
}

.what,
.faq,
.foot {
  max-width: calc(var(--page) + var(--gutter) * 2);
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.what { padding-top: clamp(64px, 12vh, 140px); }

.lines { list-style: none; }

.lines li {
  position: relative;
  padding: 0 0 0.62em 0.75em;
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  transition: color 0.25s linear;
}

.lines li.spoken { color: var(--spoken); }

.lines li.current::before {
  content: "";
  position: absolute;
  top: 0.32em;
  left: 0;
  width: 0.34em;
  height: 0.5em;
  background: var(--text);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.faq { padding-top: clamp(72px, 14vh, 160px); }

.faq h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.faq h3 {
  max-width: 640px;
  margin-top: 40px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.faq p {
  max-width: 640px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(72px, 14vh, 160px);
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 860px) {
  :root { --phone-w: min(78vw, 340px); }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 48px;
    min-height: 0;
    padding-top: 56px;
  }

  .pitch { width: 100%; }
}
