/* Chirp website. Colors and type follow the app: warm reading surfaces,
   restrained blue, sand accents, Neuton for display and Bricolage for UI. */

:root {
  --canvas: #F9F9F7;
  --surface: #FFFFFF;
  --sidebar: #F3F3F0;
  --ink: #212426;
  --ink-2: #3A3E41;
  --muted: #6A6C6F;
  --line: #DFDFDB;
  --line-soft: #EAEAE6;
  --accent: #4581E3;
  --accent-ink: #2F67C4;
  --highlight: #ABC2F3;
  --wash: #EEF3FD;
  --sand: #E6D9C9;
  --sand-soft: #F2EBE2;
  --teal: #18C5CC;
  --blue: #2B6CF6;
  --dark: #17191B;
  --dark-2: #222528;
  --dark-line: #34383C;
  --dark-muted: #9A9DA0;

  --serif: "Neuton", "Iowan Old Style", Georgia, serif;
  --sans: "Bricolage Grotesque", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--highlight); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 11.5vw, 156px);
  line-height: .9;
  letter-spacing: -0.025em;
  margin: 0;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.display-sm { font-size: clamp(48px, 7vw, 92px); }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 18px;
}

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.split-head .section-lede { margin: 0; }
.section-lede {
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 18px;
  margin: 24px 0 0;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.9em;
  height: 1.9em;
  padding: 0 .45em;
  font-family: var(--sans);
  font-size: .82em;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
  line-height: 1;
  vertical-align: .08em;
}
kbd + kbd { margin-left: 3px; }

code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--sidebar);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: .08em .35em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .apple { width: 18px; height: 22px; flex: none; margin-top: -3px; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 13px 26px 13px 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 30px -12px rgba(33,36,38,.55);
}
.btn-primary:hover { transform: translateY(-1px); background: #000; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 16px 36px -14px rgba(33,36,38,.6); }
.btn-primary:active { transform: translateY(0); }
.btn-primary .apple { width: 20px; height: 24px; }
.btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-title { font-size: 17px; font-weight: 600; letter-spacing: -.005em; }
.btn-sub { font-size: 12.5px; color: rgba(255,255,255,.62); margin-top: 3px; }

.btn-small {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 8px 16px 8px 14px;
  gap: 8px;
}
.btn-small .apple { width: 13px; height: 16px; margin-top: -2px; }
.btn-small:hover { background: #000; }

.link-arrow {
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s;
}
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover span { transform: translateX(3px); }

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

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 249, 247, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line-soft); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.01em;
}
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav .btn-small { margin-left: 8px; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(48px, 9vw, 112px) 0 0; overflow-x: clip; }
.hero::before {
  /* the one splash of brand color: a soft wash behind the demo */
  content: "";
  position: absolute;
  inset: 38% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(24,197,204,.13), transparent 70%),
    radial-gradient(45% 55% at 70% 45%, rgba(43,108,246,.13), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; }
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "eyebrow eyebrow" "title side";
  align-items: end;
  column-gap: clamp(32px, 6vw, 96px);
}
.hero-copy .eyebrow { grid-area: eyebrow; justify-self: start; }
.hero-copy .display { grid-area: title; }
.hero-side { grid-area: side; padding-bottom: 10px; }
.hero-side .lede { margin-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  margin: 0 0 28px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
  margin: 32px 0 36px;
}

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin: 22px 0 0; font-size: 14px; color: var(--muted);
}
.sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

.not-mac {
  margin: 18px 0 0; font-size: 14px; color: var(--ink-2);
  padding: 10px 14px; border-radius: 10px; background: var(--sand-soft);
  max-width: 34em;
}

/* ---------- Demo window ---------- */

.demo-stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.window {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow:
    0 1px 1px rgba(0,0,0,.03),
    0 12px 24px -8px rgba(30,40,60,.08),
    0 50px 100px -30px rgba(30,50,90,.22);
  overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 16px;
  height: 46px; padding: 0 18px;
  background: var(--sidebar);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.lights { display: inline-flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #DCDCD8; display: block; }
.window .lights i:nth-child(1) { background: #FF5F57; }
.window .lights i:nth-child(2) { background: #FEBC2E; }
.window .lights i:nth-child(3) { background: #28C840; }
.window-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 auto; }
.window-dim { color: var(--muted); font-weight: 400; margin-left: 4px; }
.rec {
  width: 8px; height: 8px; border-radius: 50%; background: #E5484D;
  box-shadow: 0 0 0 0 rgba(229,72,77,.45);
  animation: rec 2s infinite;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(229,72,77,.45); }
  70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); }
}
.window-time { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 64px; text-align: right; }

.transcript {
  height: 460px;
  padding: 28px clamp(18px, 4vw, 40px) 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}
.transcript.scrolled {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 80px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 80px);
}
.transcript > * { flex: none; }

.line {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 18px;
  animation: lineIn .5s var(--ease) both;
}
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.line-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.line-who { font-size: 13px; font-weight: 600; margin-bottom: 2px; display: flex; align-items: center; gap: 8px; }
.line-who .src { font-weight: 400; color: var(--muted); font-size: 12px; }
.line-text { font-size: 17px; line-height: 1.5; color: var(--ink); }
.line.you .line-who { color: var(--accent-ink); }
.line.for-you .line-text { text-decoration: underline; text-decoration-color: var(--highlight); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.tag-you {
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-ink); background: var(--wash);
  padding: 2px 7px; border-radius: 999px;
}

.reply {
  grid-column: 2;
  margin-top: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--line-soft);
  position: relative;
  animation: lineIn .45s var(--ease) both;
}
.reply::before {
  content: "";
  position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}
.reply-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); margin-bottom: 4px;
}
.reply-head img { width: 15px; height: 15px; border-radius: 4px; }
.reply-head b { color: var(--ink); font-weight: 600; }
.latency {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
  font-weight: 500;
}
.reply-text { font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--ink); }
.reply-text .hold { color: var(--muted); font-style: italic; }
.caret {
  display: inline-block; width: 2px; height: 1em; margin-left: 2px;
  background: var(--accent); vertical-align: -0.12em;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.steps-live { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 5px; }
.steps-live li {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  animation: lineIn .35s var(--ease) both;
}
.steps-live li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--line); flex: none;
}
.steps-live li.done::before { background: var(--accent); }
.steps-live li.run::before { background: var(--teal); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.source {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 12px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px;
  animation: lineIn .35s var(--ease) both;
}

/* Floating card, the app's glass overlay */
.float-card {
  position: absolute;
  right: max(var(--gutter), calc(50% - 600px));
  bottom: clamp(40px, 7vw, 84px);
  width: 300px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 24px 50px -16px rgba(20,40,80,.28), 0 0 0 1px rgba(0,0,0,.05);
  transform: rotate(-.6deg);
  z-index: 2;
}
.float-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.float-head img { border-radius: 5px; }
.float-body {
  margin: 8px 0 12px; font-family: var(--serif); font-size: 17px; line-height: 1.35; color: var(--ink);
  min-height: 3.9em;
  transition: opacity .3s;
}
.float-body.swap { opacity: 0; }
.float-actions { display: flex; gap: 6px; }
.float-actions span {
  font-size: 11.5px; font-weight: 500; color: var(--ink-2);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line-soft);
}

.keys-hint {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin: 34px 0 0; font-size: 14px; color: var(--muted);
}
.keys-hint span { margin-left: 10px; }

/* ---------- Timing ---------- */

.timing { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line-soft); }

.ruler { margin: 0 0 clamp(56px, 8vw, 96px); }
.ruler-track {
  position: relative;
  height: 128px;
  border-bottom: 1px solid var(--ink);
}
.ruler-track::before {
  /* 100 ms grid */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 14px;
  background: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 10%);
  opacity: .5;
}
.ruler-track::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 7px;
  background: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 2%);
  opacity: .22;
}
.ruler-band {
  position: absolute;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  bottom: 0;
  height: 100%;
}
.ruler-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(69,129,227,0), rgba(69,129,227,.22));
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform-origin: bottom;
}
.reveal.in .ruler-band::before { animation: grow 1.1s .2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ruler-label {
  position: absolute;
  right: calc(100% + 14px);
  top: 4px;
  white-space: nowrap;
  text-align: right;
  font-size: 15px;
  color: var(--ink-2);
}
.ruler-label b {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; color: var(--accent-ink);
  letter-spacing: -.01em;
}
.ruler-start {
  position: absolute; left: 0; bottom: 22px;
  font-size: 15px; color: var(--ink-2);
  padding-left: 12px; border-left: 2px solid var(--ink);
  line-height: 1.25;
}
.ruler-start b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); }
.ruler-ticks {
  display: flex; justify-content: space-between;
  margin-top: 10px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.ruler-ticks span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.ruler-ticks span:first-child { justify-content: flex-start; }
.ruler-ticks span:last-child { justify-content: flex-end; }
.ruler figcaption { margin-top: 18px; font-size: 13px; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}
.stats > div { padding: 28px 24px 4px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -.02em;
}
.stats dd { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); max-width: 22ch; }

/* ---------- How it works (dark) ---------- */

.how {
  background: var(--dark);
  color: #F2F2EF;
  padding: clamp(88px, 12vw, 150px) 0;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: "";
  position: absolute; right: -200px; top: -240px; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(43,108,246,.22), transparent);
  pointer-events: none;
}
.on-dark .kicker { color: var(--highlight); }
.how .h2 { max-width: 18ch; }

.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.6fr;
  border-top: 1px solid var(--dark-line);
  position: relative;
}
.flow > li {
  padding: 28px 22px 0 0;
  position: relative;
}
.flow > li + li { padding-left: 22px; border-left: 1px solid var(--dark-line); }
.flow > li::before {
  /* a node on the line */
  content: "";
  position: absolute; top: -5px; left: -5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dark); border: 1px solid var(--dark-muted);
}
.flow > li:first-child::before { left: 0; }
.flow > li.flow-split::before { background: var(--accent); border-color: var(--accent); }
.flow-n { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--dark-muted); letter-spacing: .06em; }
.flow h3 {
  font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1;
  margin: 10px 0 12px; letter-spacing: -.01em;
}
.flow p { margin: 0; font-size: 15px; line-height: 1.55; color: #BDBFC1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split > div {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  padding: 14px 14px 16px;
}
.split h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #fff; }
.split p { font-size: 14px; }

.tools {
  margin-top: clamp(56px, 7vw, 88px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
}
.tools p { margin: 0; color: var(--dark-muted); font-size: 15px; }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li {
  font-size: 14px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--dark-line); color: #E4E5E3;
}

/* ---------- Features ---------- */

.features { padding: clamp(88px, 12vw, 150px) 0; }
.features .h2 { max-width: 20ch; }
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.feature-cols article { border-top: 1px solid var(--ink); padding-top: 22px; }
.feature-cols h3 {
  font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.01em;
  margin: 0 0 14px; line-height: 1;
}
.feature-cols h3 span { font-style: italic; color: var(--accent); margin-right: 6px; font-size: .8em; }
.feature-cols p { margin: 0 0 18px; color: var(--ink-2); }
.feature-cols ul { list-style: none; margin: 0; padding: 0; }
.feature-cols li {
  font-size: 15px; padding: 11px 0; border-top: 1px solid var(--line-soft); color: var(--ink-2);
}

/* ---------- Privacy ---------- */

.privacy {
  padding: clamp(88px, 12vw, 150px) 0;
  background: var(--sand-soft);
  border-top: 1px solid #E8DFD3;
  border-bottom: 1px solid #E8DFD3;
}
.privacy .kicker { color: #8A6B45; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.checks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: 16px; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checks b { color: var(--ink); font-weight: 600; font-size: 18px; }

.files {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 30px 60px -30px rgba(90,70,40,.35);
  overflow: hidden;
}
.files-bar {
  display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px;
  background: var(--sidebar); border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--muted);
}
.files-bar .lights i { width: 10px; height: 10px; }
.files pre {
  margin: 0; padding: 22px 22px 18px;
  font-family: var(--mono); font-size: 13px; line-height: 1.85; color: var(--ink-2);
  overflow-x: auto;
}
.f-dir { color: var(--ink); font-weight: 600; }
.f-note { color: var(--muted); font-style: italic; }
.files-foot { margin: 0; padding: 14px 22px 18px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }

/* ---------- Get started ---------- */

.start { padding: clamp(88px, 12vw, 150px) 0 clamp(64px, 8vw, 100px); }
.start-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 64px 1fr; column-gap: 8px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(s);
  grid-row: span 2;
  font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: .85; color: var(--accent);
}
.steps h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.steps h3 kbd { font-size: .78em; }
.steps p { margin: 0; color: var(--ink-2); }

.reqs {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 28px 28px 10px;
}
.reqs h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reqs ul { list-style: none; margin: 0; padding: 0; }
.reqs li { padding: 16px 0; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-2); }
.reqs li:first-child { border-top: 0; }
.reqs b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.reqs .optional b { color: var(--ink-2); }

/* ---------- FAQ ---------- */

.faq { padding: clamp(72px, 10vw, 130px) 0 clamp(24px, 4vw, 48px); border-top: 1px solid var(--line-soft); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0;
  font-size: 18px; font-weight: 500; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent-ink); }
.faq-list details p { margin: -4px 0 22px; max-width: 58ch; color: var(--ink-2); }

/* ---------- Final ---------- */

.final { padding: clamp(40px, 6vw, 72px) 0 clamp(96px, 12vw, 150px); }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.final-icon {
  width: 132px; height: 132px;
  filter: drop-shadow(0 24px 30px rgba(43,108,246,.28));
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line-soft); padding: 36px 0 44px; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center; }
.footer .brand { font-size: 16px; color: var(--ink); }
.footer .brand img { border-radius: 5px; }
.footer-tag { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); font-size: 16px; margin-left: 4px; }
.footer-credits { margin: 0; max-width: 60ch; justify-self: center; text-align: center; }
.footer-copy { margin: 0; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .final-icon, .rec, .caret, .steps-live li.run::before { animation: none; }
  .reveal.in .ruler-band::before { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .float-card { right: var(--gutter); }
  .flow { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 0; }
  .flow > li, .flow > li + li { padding: 24px 22px 28px 0; border-left: 0; border-top: 1px solid var(--dark-line); }
  .flow > li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--dark-line); }
  .flow > li::before { left: 0; }
  .flow > li:nth-child(even)::before { left: -5px; }
  .flow > li.flow-split { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .flow > li.flow-split::before { left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}

@media (max-width: 960px) {
  .hero-copy { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "side"; }
  .hero-side { padding-bottom: 0; }
  .hero-side .lede { margin-top: 32px; }
}

@media (max-width: 860px) {
  .split-head { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .feature-cols { grid-template-columns: 1fr; }
  .privacy-grid, .start-grid, .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-credits { justify-self: start; text-align: left; }

  .float-card {
    position: relative; right: auto; bottom: auto;
    width: auto; max-width: 420px;
    margin: -36px 12px 0 auto;
    transform: rotate(-1deg);
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .transcript { height: 440px; gap: 18px; padding-top: 20px; }
  .line { grid-template-columns: 1fr; }
  .line-time { display: none; }
  .reply { grid-column: 1; }
  .line-text { font-size: 16px; }
  .reply-text { font-size: 19px; }
  .window-dim { display: none; }
  .window-bar { padding: 0 14px; }
  .keys-hint { flex-wrap: wrap; }
  .keys-hint span { margin: 8px 0 0; width: 100%; text-align: center; }

  .ruler-track { height: 120px; margin-top: 64px; }
  .ruler-label { right: 0; top: -8px; transform: translateY(-100%); }
  .ruler-ticks span:nth-child(even) { visibility: hidden; }

  .stats > div { padding-right: 14px; }
  .stats > div + div { padding-left: 16px; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .stats dd { font-size: 14px; }

  .flow { grid-template-columns: 1fr; }
  .flow > li, .flow > li + li, .flow > li:nth-child(even) { padding: 22px 0 26px; border-left: 0; }
  .flow > li::before, .flow > li:nth-child(even)::before { left: 0; }
  .split { grid-template-columns: 1fr; }

  .steps li { grid-template-columns: 48px 1fr; }
  .steps li::before { font-size: 42px; }
  .reqs { padding: 22px 20px 6px; }
  .btn-primary { width: 100%; justify-content: center; }
  .cta { flex-direction: column; align-items: stretch; }
  .link-arrow { align-self: flex-start; }
}
