:root {
  /* The app icon's world: its navy for surfaces, its off-white for text, its
     orange cut markers for actions. Cut tags keep the app's own colors.
     The hero is the editor window. */
  --desk: #0f1320;
  --window: #171c2b;
  --panel: #1d2335;
  --line: #2c3349;
  --text: #f4f6fb;
  --dim: #9aa3bd;
  --accent: #ff8a4c;
  --take: #6f82c4;
  --ramp: #2fb5a5;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--desk); color: var(--text); font: 400 17px/1.6 var(--sans); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 5px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px/1 var(--display); }
.brand svg { width: 30px; height: 30px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--dim); }
.nav ul a { text-decoration: none; }
.nav ul a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 15px; border-radius: 7px; border: 1px solid transparent;
  font: 500 14px/1.3 var(--sans); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #1b0e06; font-weight: 600; }
.btn-primary:hover { background: #ff9d68; }
.btn-plain { background: transparent; color: var(--text); border-color: var(--line); }
.btn-plain:hover { border-color: var(--dim); }
.btn-lg { padding: 11px 20px; font-size: 15px; }

/* Hero */
.hero { padding: 64px 0 56px; display: grid; gap: 48px; }
.hero-copy { display: grid; gap: 20px; max-width: 720px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; font-weight: 700; }
.lede { font-size: 19px; color: var(--dim); max-width: 60ch; }
.lede strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fine { font-size: 13px; color: var(--dim); }

/* The editor window */
.win { margin: 0; border-radius: 12px; background: var(--window); border: 1px solid #2f3650; box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden; }
.titlebar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px 14px; background: #20263a; border-bottom: 1px solid #0a0d16; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.doc { justify-self: end; font-size: 13px; font-weight: 600; color: var(--dim); }
.seg-ctl { display: flex; background: #12172a; border-radius: 7px; padding: 2px; font-size: 12px; }
.seg-ctl span { padding: 3px 12px; border-radius: 5px; color: var(--dim); transition: background .3s, color .3s; }
.seg-ctl span.on { background: #39415c; color: var(--text); }
.win-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.stage { display: grid; min-width: 0; border-right: 1px solid #0a0d16; }
.player { background: #0b0f1a; padding: 18px 22px; font: 400 13px/1.75 var(--mono); color: #c9d1d9; overflow: hidden; white-space: pre; }
.player .k { color: #7ee787; } .player .s { color: #a5d6ff; } .player .c { color: #8b949e; } .player .n { color: #6e7681; }
.transport { display: flex; align-items: center; gap: 14px; padding: 8px 14px; font-size: 13px; color: var(--dim); border-top: 1px solid #0a0d16; background: #1a2031; font-variant-numeric: tabular-nums; }
.transport b { color: var(--text); font-weight: 500; }
.timeline { padding: 10px 12px 12px; background: #131827; display: grid; gap: 6px; }
.ruler { display: flex; justify-content: space-between; font: 400 10px/1 var(--mono); color: #66708c; }
.track { display: flex; height: 54px; border-radius: 5px; overflow: hidden; }
.seg { position: relative; flex: var(--d) 1 0; min-width: 0; overflow: hidden; transition: flex-grow 1s cubic-bezier(.7,0,.2,1); }
.seg.keep { background: color-mix(in srgb, var(--take) 30%, #131827); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--take) 70%, transparent); border-radius: 4px; }
.seg.ramp { background: color-mix(in srgb, var(--ramp) 35%, #131827); box-shadow: inset 0 0 0 1px var(--ramp); border-radius: 4px; }
.seg.keep::after, .seg.ramp::after {
  content: ""; position: absolute; inset: 15px 3px;
  background: repeating-linear-gradient(90deg, rgba(244,246,251,.5) 0 1.5px, transparent 1.5px 4px);
  mask: linear-gradient(transparent, #000 25%, #000 75%, transparent);
}
.seg.cut { background: repeating-linear-gradient(135deg, rgba(255,138,76,.26) 0 5px, rgba(255,138,76,.08) 5px 10px); }
.track.closed .seg.cut { flex-grow: 0; }
.cutlist { background: var(--panel); padding: 12px 14px; display: grid; align-content: start; font-size: 12.5px; line-height: 1.45; }
.cutlist h4 { margin: 0 0 4px; font: 600 13px/1.3 var(--sans); }
.row { padding: 9px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.row:last-child { border-bottom: 0; }
.row .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--dim); font-size: 11.5px; }
.row s { text-decoration-color: rgba(244,246,251,.55); }
.row .why { color: var(--dim); }

/* Cut tags, colored like the app */
.tag { display: inline-block; font: 600 11px/1 var(--sans); padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.t-retake { background: rgba(255,159,10,.18); color: #ffb340; }
.t-false { background: rgba(255,214,10,.16); color: #ffd60a; }
.t-aside { background: rgba(191,90,242,.18); color: #da8fff; }
.t-detour { background: rgba(47,181,165,.18); color: #5fd8c8; }
.t-mistake { background: rgba(94,92,230,.22); color: #a19fff; }
.t-wait { background: rgba(172,142,104,.2); color: #d4b48c; }
.t-air { background: rgba(152,152,157,.18); color: #c7c7cc; }
.t-keep { background: rgba(47,181,165,.12); color: #5fd8c8; box-shadow: inset 0 0 0 1px rgba(47,181,165,.5); }

/* Sections */
.section { border-top: 1px solid #1f2639; padding: 80px 0; display: grid; gap: 36px; }
.section-head { display: grid; gap: 14px; max-width: 680px; }
.section h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; font-weight: 700; }
.section .intro { color: var(--dim); font-size: 18px; }

/* What it cuts: rows like the app's cut list, in two columns */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.reason { display: grid; grid-template-columns: 112px 1fr; gap: 6px 18px; padding: 20px 0; border-top: 1px solid #1f2639; align-content: start; }
.reason .tag { justify-self: start; margin-top: 4px; grid-row: span 3; }
.reason h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.reason p { color: var(--dim); font-size: 15px; }
.reason .ex { font-size: 14px; color: var(--text); }
.reason .ex s { text-decoration-color: rgba(244,246,251,.55); color: var(--dim); }
.reason .ex .ix { font-family: var(--mono); font-size: 12px; color: #66708c; }

/* Workflow */
.flow { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.flow li { display: grid; gap: 6px; align-content: start; }
.flow h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.flow h3 span { color: var(--accent); font-weight: 400; margin-right: 8px; }
.flow p { color: var(--dim); font-size: 15px; }
.keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
kbd { font: 500 12px/1 var(--sans); padding: 4px 7px; border-radius: 5px; background: #1d2335; border: 1px solid #39415c; border-bottom-width: 2px; color: var(--text); }

/* How the AI is kept honest */
.peek { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.code { margin: 0; background: #0b0f1a; border: 1px solid #1f2639; border-radius: 10px; padding: 16px 18px; font: 400 13px/1.7 var(--mono); overflow-x: auto; white-space: pre; color: #c9d1d9; }
.code .c { color: #7d87a3; } .code .o { color: var(--accent); } .code .t { color: #5fd8c8; }
.facts { display: grid; gap: 22px; }
.fact h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.fact p { color: var(--dim); font-size: 15px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan .when { font-size: 13px; color: var(--accent); }
.plan ul { margin: 0; padding-left: 18px; color: var(--dim); font-size: 15px; display: grid; gap: 4px; }

/* FAQ */
.faq { display: grid; max-width: 760px; }
.faq details { border-top: 1px solid #1f2639; padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid #1f2639; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--dim); margin-top: 8px; max-width: 64ch; }

/* Waitlist */
.signup { display: grid; gap: 14px; max-width: 560px; }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.signup input { flex: 1 1 240px; min-width: 0; padding: 10px 12px; border-radius: 7px; border: 1px solid #39415c; background: #12172a; color: var(--text); font: 400 15px/1.3 var(--sans); }
.signup input::placeholder { color: #66708c; }
.status { font-size: 14px; color: var(--dim); min-height: 1.5em; }

footer { border-top: 1px solid #1f2639; padding: 28px 0 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 13px; }
footer .links { display: flex; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Policy and support pages */
.doc-page { padding: 56px 0 80px; display: grid; gap: 28px; max-width: 720px; }
.doc-page h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.08; font-weight: 700; }
.doc-page .updated { color: var(--dim); font-size: 14px; }
.doc-page section { display: grid; gap: 10px; }
.doc-page h2 { font-size: 22px; font-weight: 600; }
.doc-page p, .doc-page li { color: #c9cfdf; }
.doc-page ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.doc-page strong { color: var(--text); font-weight: 600; }
.doc-page a { color: var(--accent); }
.doc-page code { font: 14px var(--mono); }

@media (max-width: 860px) {
  .win-body { grid-template-columns: 1fr; }
  .stage { border-right: 0; }
  .cutlist { border-top: 1px solid #111; }
  .reasons, .flow, .peek, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav ul { display: none; }
  .reason { grid-template-columns: 1fr; }
  .reason .tag { grid-row: auto; }
  .doc { display: none; }
  .player { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .seg, .seg-ctl span { transition: none; }
}
