:root {
  --paper: #F5F2EA;
  --paper-2: #ECE7DA;
  --sheet: #FFFEFA;
  --desk: #E9E4D7;
  --ink: #15171C;
  --ink-2: #3A3D45;
  --muted: #656870;
  --line: #D8D1C1;
  --line-2: #E4DED0;
  --blue: #1D3FAA;
  --blue-2: #2A4FC4;
  --blue-soft: #E2E7F5;
  --hl: #F6E27A;
  --hl-soft: #FBF1BC;
  --green: #2C7650;
  --amber: #A86412;
  --red: #B23A26;
  --serif: "Gambetta", "Iowan Old Style", Georgia, serif;
  --sans: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13.5px; border-radius: 7px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2B2E36; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }

/* ---------- Type helpers ---------- */
.kicker, .eyebrow, .label {
  font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
h2 { font: 500 clamp(36px, 4.3vw, 60px)/1.03 var(--serif); letter-spacing: -.018em; }
h2 em, h1 em { font-style: italic; color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; }
.brand-word { font: 600 25px/1 var(--serif); letter-spacing: -.025em; padding-bottom: 2px; }
.main-nav { display: flex; gap: 28px; margin-left: 12px; }
.main-nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.main-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.header-cta { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 52px 0 0; }
.hero-copy { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.hero h1 {
  grid-column: 1 / -1;
  font: 500 clamp(46px, 6.2vw, 90px)/.98 var(--serif);
  letter-spacing: -.028em;
}
.hero h1 em { font-weight: 500; }
.hero-sub { grid-column: 7 / -1; margin-top: 36px; }
.hero-log { grid-column: 1 / 6; margin-top: 44px; max-width: 430px; font: 400 12.5px/1.3 var(--mono); color: var(--ink-2); }
.hero-log p { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); align-items: baseline; }
.hero-log p:last-child { border-bottom: 1px solid var(--line); }
.hero-log time { color: var(--muted); }
.hero-log span { font-family: var(--sans); font-size: 14px; color: var(--ink); }
.hero-log b { font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hero-log .sent b { color: #fff; background: var(--blue); padding: 3px 6px; border-radius: 4px; }
.hero-sub > p:first-child { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* App mock */
.app {
  margin-top: 64px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(21,23,28,.04), 0 30px 60px -30px rgba(42,36,20,.28);
  overflow: hidden;
  font-size: 13.5px;
}
.app-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line-2);
}
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.crumbs strong { color: var(--ink); font-weight: 600; }
.crumbs .sep { color: var(--line); }
.lights { display: inline-flex; gap: 6px; margin-right: 10px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-bar-right { display: flex; align-items: center; gap: 14px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); padding: 4px 10px; border-radius: 99px; background: var(--hl-soft); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.avatars { display: flex; }
.avatars b, .av {
  width: 28px; height: 28px; border-radius: 50%; background: var(--c); border: 2px solid var(--sheet);
  display: inline-grid; place-items: center; font: 600 10.5px/1 var(--sans); color: var(--ink);
}
.avatars b + b { margin-left: -8px; }

.app-body { display: grid; grid-template-columns: 292px minmax(0, 1fr) 272px; min-height: 600px; }
.pane { padding: 18px; }
.pane-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.pane-head .meta { font-size: 12.5px; color: var(--muted); }
.pane-source { border-right: 1px solid var(--line-2); }
.pane-context { border-left: 1px solid var(--line-2); }

.transcript { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.transcript li {
  display: grid; grid-template-columns: 42px 1fr; column-gap: 8px; row-gap: 4px;
  padding: 10px 10px; border-radius: 8px; cursor: default; transition: background .15s;
}
.transcript li:hover, .transcript li.on { background: var(--paper); }
.transcript time { font: 500 11.5px/1.7 var(--mono); color: var(--muted); }
.transcript p { line-height: 1.5; color: var(--ink-2); }
.transcript b { font-weight: 600; color: var(--ink); }
.transcript .org { font-size: 11.5px; color: var(--muted); margin-right: 2px; }
.transcript mark { background: linear-gradient(transparent 12%, var(--hl-soft) 12%, var(--hl-soft) 92%, transparent 92%); color: inherit; padding: 0 1px; }
.transcript li.on mark { background: linear-gradient(transparent 12%, var(--hl) 12%, var(--hl) 92%, transparent 92%); }
.transcript .tag { grid-column: 2; font: 500 11px/1 var(--mono); color: var(--blue); }
.transcript .plain p { color: var(--muted); }

.pane-doc { background: var(--desk); padding: 28px 28px 0; display: flex; justify-content: center; overflow: hidden; }
.sheet {
  width: 100%; max-width: 560px; background: #fff; border-radius: 4px 4px 0 0;
  box-shadow: 0 0 0 1px rgba(21,23,28,.06), 0 12px 28px -18px rgba(21,23,28,.35);
  padding: 30px 36px 26px;
}
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.client-mark { width: 30px; height: 30px; border-radius: 6px; background: #0F3B33; color: #DDEBD9; display: grid; place-items: center; font: 600 11px/1 var(--sans); letter-spacing: .04em; }
.sheet-meta { font-size: 11.5px; color: var(--muted); }
.sheet-title { font: 500 30px/1.08 var(--serif); letter-spacing: -.015em; }
.sheet-lede { margin-top: 8px; color: var(--muted); font-size: 14px; }
.sheet-block { margin-top: 22px; padding: 10px 12px; margin-left: -12px; margin-right: -12px; border-radius: 6px; transition: background .2s, box-shadow .2s; }
.sheet-block.on { background: #FFFBE6; box-shadow: inset 2px 0 0 var(--hl); }
.sheet-block h3 { font: 600 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; display: flex; gap: 10px; margin-bottom: 10px; }
.sheet-block h3 span { font-family: var(--mono); color: var(--muted); font-weight: 500; }
.sheet-block p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.sheet-block sup { font: 500 9.5px/1 var(--mono); color: var(--blue); margin-left: 2px; vertical-align: super; }

.mini-gantt { display: grid; gap: 7px; }
.mini-gantt div { display: grid; grid-template-columns: 100px 1fr; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.mini-gantt div::after { content: ""; }
.mini-gantt i { display: block; height: 10px; border-radius: 3px; background: var(--ink); margin-left: var(--s); width: var(--w); }
.mini-gantt div:first-child i { background: var(--blue); }

.price-table, .calc-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.price-table th, .calc-table th { text-align: left; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.price-table td, .calc-table td { padding: 8px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.price-table th:not(:first-child), .price-table td:not(:first-child),
.calc-table th:not(:first-child), .calc-table td:not(:first-child) { text-align: right; }
.price-table td:first-child { color: var(--ink); }
.price-table small, .calc-table small { color: var(--muted); font-size: 11px; margin-left: 4px; }
.row-new td { animation: rowIn 1.6s ease; }
@keyframes rowIn { 0% { background: var(--hl); } 100% { background: transparent; } }
.sheet-totals { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.sheet-totals strong { font: 500 20px/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.sheet-totals output.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { background: var(--hl); } 100% { background: transparent; } }
.sign-line { margin-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 10px; font-size: 11.5px; color: var(--muted); }
.sign-line svg { width: 150px; height: 38px; }
.sig { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: sign 2.4s 1s ease forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }

.kv { margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.kv div { background: var(--sheet); padding: 10px 12px; }
.kv dt { font-size: 11.5px; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.checks { display: grid; gap: 8px; margin-bottom: 18px; }
.checks p { position: relative; padding-left: 22px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.checks p::before { content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
.checks p::after { content: ""; position: absolute; left: 4px; top: 5.5px; width: 6px; height: 3.5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.suggest, .signal { border: 1px solid #CAD3EE; background: #F3F5FC; border-radius: 10px; padding: 14px; }
.suggest p { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.suggest-label { font: 500 10.5px/1 var(--mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--blue) !important; margin-bottom: 8px; }
.suggest-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-weight: 600; font-size: 13px; }
.suggest.done { border-color: #BFD9C9; background: #EFF6F1; }
.suggest.done .suggest-label { color: var(--green) !important; }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; padding-bottom: 96px; }
.proof div { padding: 0 32px; border-left: 1px solid var(--line); }
.proof div:first-child { padding-left: 0; border-left: 0; }
.proof strong { display: block; font: 500 clamp(40px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -.02em; }
.proof span { display: block; margin-top: 10px; max-width: 22em; color: var(--ink-2); font-size: 15px; }
.proof-note { grid-column: 1 / -1; margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ---------- Tour ---------- */
.tour { padding: 104px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 56px; max-width: 920px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.section-head.split > p { color: var(--ink-2); font-size: 17px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline li { padding: 24px 24px 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.timeline li:first-child { border-left: 0; padding-left: 0; }
.timeline time { font: 400 54px/1 var(--serif); letter-spacing: -.02em; }
.timeline time small { font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--muted); vertical-align: top; margin-left: 2px; }
.timeline h3 { font: 600 18px/1.3 var(--sans); margin: 22px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.timeline p { color: var(--ink-2); font-size: 15.5px; }
.pill { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; background: var(--hl); padding: 5px 7px; border-radius: 4px; }
.timeline .yours time { background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%); align-self: flex-start; }
.tl-ui { margin-top: 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; font-size: 13px; }
.wave svg { width: 100%; height: 44px; display: block; }
.wave rect { fill: var(--ink); }
.wave rect.hot { fill: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); }
.tl-ui.list p { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 13px; color: var(--ink); }
.ck { width: 14px; height: 14px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.ck::after { content: ""; position: absolute; left: 4px; top: 3.5px; width: 6px; height: 3.5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.ld { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--blue); flex: none; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.review p { color: var(--ink); }
.review div { display: flex; gap: 6px; margin-top: 10px; }
.review span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 6px; }
.review .a { background: var(--ink); color: var(--paper); }
.review .r { border: 1px solid var(--line); }
.notif p { color: var(--ink); }
.notif span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

/* ---------- Builder (dark) ---------- */
.builder { background: var(--ink); color: #EDEAE2; padding: 112px 0; }
.builder .kicker { color: #A6A9B1; }
.builder h2 { color: #fff; }
.builder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.builder-copy > p { margin-top: 22px; color: #C9C6BE; max-width: 30em; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: #E2DFD7; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 1.5px; background: var(--hl); }
.try { margin-top: 36px; font: italic 500 22px/1.2 var(--serif); color: var(--hl); }

.calc { background: var(--sheet); color: var(--ink); border-radius: 14px; padding: 24px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.approval { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.approval::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.approval[data-state="ok"] { background: #E3F0E7; color: var(--green); }
.approval[data-state="review"] { background: #FBEBD3; color: var(--amber); }
.approval[data-state="block"] { background: #F6DDD7; color: var(--red); }
.calc-controls { display: grid; grid-template-columns: auto auto 1fr; gap: 20px 28px; padding: 18px; background: var(--paper); border-radius: 10px; margin-bottom: 20px; align-items: end; }
.ctrl { display: grid; gap: 8px; }
.ctrl-label { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ctrl-label output { color: var(--ink); font-weight: 600; margin-left: 4px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; height: 38px; }
.stepper button { width: 36px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 48px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 3px; height: 38px; }
.seg button { border: 0; background: transparent; padding: 0 10px; border-radius: 5px; cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.range-wrap { position: relative; height: 38px; display: flex; align-items: center; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--fill, 40%), var(--line) var(--fill, 40%)); outline-offset: 8px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.policy { position: absolute; left: var(--p); top: 0; bottom: 0; pointer-events: none; transition: left .25s; }
.policy i { position: absolute; top: 9px; width: 1.5px; height: 20px; background: var(--amber); }
.policy em { position: absolute; top: -12px; transform: translateX(-50%); font: 500 10.5px/1 var(--mono); color: var(--amber); white-space: nowrap; font-style: normal; }
.calc-table td:first-child { color: var(--ink); }
.calc-table small { display: block; margin: 2px 0 0; }
.calc-sum { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; margin-top: 18px; }
.calc-sum div { background: #fff; padding: 14px 16px; }
.calc-sum span { display: block; font-size: 12px; color: var(--muted); }
.calc-sum strong { display: block; margin-top: 4px; font: 500 24px/1.1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.calc-sum .tcv { background: var(--hl-soft); }
.calc-sum .tcv strong { font-size: 28px; }
.calc-flag { margin-top: 14px; font-size: 13px; color: var(--ink-2); }

/* ---------- Sources ---------- */
.sources { padding: 112px 0; }
.sources-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.sources-copy > p { margin-top: 22px; color: var(--ink-2); max-width: 30em; }
.sources-copy .aside { font: italic 400 20px/1.4 var(--serif); color: var(--ink); border-left: 2px solid var(--hl); padding-left: 18px; margin-top: 32px; }
.cite-demo { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cite-doc { padding: 36px 40px; border-bottom: 1px solid var(--line-2); }
.cite-doc p { font: 400 22px/1.6 var(--serif); color: var(--ink); }
.cite { background: linear-gradient(transparent 62%, var(--blue-soft) 62%); cursor: help; transition: background .15s; border-radius: 2px; }
.cite sup { font: 500 11px/1 var(--mono); color: var(--blue); margin-left: 1px; }
.cite:hover, .cite:focus, .cite.on { background: var(--hl); outline: none; }
.cite-list { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; counter-reset: c; }
.cite-list li { counter-increment: c; padding: 12px 14px 12px 40px; position: relative; border-radius: 8px; transition: background .15s; }
.cite-list li::before { content: counter(c); position: absolute; left: 14px; top: 12px; font: 500 11px/18px var(--mono); width: 18px; height: 18px; text-align: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.cite-list li.on { background: var(--hl-soft); }
.cite-list .src { font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cite-list p { font-size: 14px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }

/* ---------- Buyer ---------- */
.buyer { background: var(--paper-2); padding: 112px 0; }
.buyer-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; }
.phone { background: var(--ink); border-radius: 44px; padding: 11px; box-shadow: 0 30px 60px -30px rgba(21,23,28,.5); max-width: 340px; width: 100%; justify-self: center; }
.phone-screen { background: #fff; border-radius: 34px; padding: 14px 20px 22px; }
.ph-status { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 var(--sans); padding: 2px 6px 18px; }
.ph-status i { width: 64px; height: 18px; border-radius: 10px; background: var(--ink); margin: 0 auto; transform: translateX(-14px); }
.ph-lines { list-style: none; margin: 14px 0 0; padding: 0; font-size: 12.5px; }
.ph-lines li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.ph-lines b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ph-small { font-size: 12px; color: var(--muted); }
.ph-total { font: 500 34px/1.1 var(--serif); margin-top: 6px; letter-spacing: -.015em; }
.ph-total span { display: block; font: 400 13px/1.4 var(--sans); color: var(--muted); letter-spacing: 0; }
.ph-opt { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.ph-opt span { font-size: 12.5px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); }
.ph-opt .on { border-color: var(--ink); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink); }
.ph-label { margin-top: 20px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pad { position: relative; margin-top: 8px; border: 1px dashed #B9B2A2; border-radius: 10px; background: #FCFBF7; }
.pad canvas { display: block; width: 100%; height: 130px; touch-action: none; cursor: crosshair; }
.pad::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 30px; border-bottom: 1px solid var(--line); pointer-events: none; }
.pad-hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-60%); text-align: center; color: #A49D8D; font: italic 400 18px/1 var(--serif); pointer-events: none; transition: opacity .2s; }
.ph-actions { display: flex; justify-content: space-between; margin-top: 12px; gap: 8px; }
.ph-actions .btn-ink { flex: 1; }
.ph-done { min-height: 20px; margin-top: 12px; font-size: 12.5px; color: var(--green); font-weight: 600; }

.engage { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.engage-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.engage-head .meta { font-size: 13px; color: var(--muted); }
.people { list-style: none; margin: 0; padding: 0; }
.people li { display: grid; grid-template-columns: 230px 1fr 72px; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.who { display: flex; align-items: center; gap: 12px; }
.who .av { width: 36px; height: 36px; font-size: 12px; border: 0; flex: none; }
.who strong { display: block; font-size: 15px; font-weight: 600; }
.who span { display: block; font-size: 12.5px; color: var(--muted); }
.bars { display: flex; gap: 3px; height: 12px; }
.bars i { display: block; width: var(--w); height: 100%; background: var(--ink); border-radius: 2px; position: relative; transform-origin: left; }
.bars i.hot { background: var(--blue); }
.bars i:hover::after { content: attr(data-s); position: absolute; bottom: 18px; left: 0; background: var(--ink); color: #fff; font: 500 11px/1 var(--sans); padding: 5px 7px; border-radius: 4px; white-space: nowrap; }
.time { font: 500 13px/1 var(--mono); text-align: right; color: var(--ink-2); }
.legend { display: flex; gap: 18px; margin: 14px 0 20px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--ink); margin-right: 6px; vertical-align: -1px; }
.legend i.hot { background: var(--blue); }
.signal p { font-size: 14.5px; color: var(--ink-2); max-width: 46em; }
.signal .btn { margin-top: 14px; }

/* ---------- Stack ---------- */
.stack { padding: 104px 0; border-bottom: 1px solid var(--line); }
.stack-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.stack-grid > div > p { margin-top: 22px; color: var(--ink-2); max-width: 30em; }
.stack-list { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stack-list div { padding: 16px 16px 0 0; }
.stack-list dt { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.stack-list dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }

/* ---------- Story ---------- */
.story { padding: 112px 0 96px; }
.story-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: center; }
.story-photo { margin: 0; position: relative; }
.story-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 30% 50%; border-radius: 4px; filter: saturate(.85) contrast(1.02); }
.story-photo figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.story-copy blockquote { margin: 0; }
.story-copy blockquote p { font: 400 clamp(28px, 2.8vw, 40px)/1.18 var(--serif); letter-spacing: -.012em; text-indent: -.4em; }
.story-body { margin-top: 26px; color: var(--ink-2); max-width: 34em; }
.story-stats { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.story-stats div { padding-top: 16px; }
.story-stats dt { font-size: 13px; color: var(--muted); }
.story-stats dd { margin: 6px 0 0; font: 500 26px/1.1 var(--serif); letter-spacing: -.01em; }
.story-stats dd span { color: var(--blue); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 88px; padding-top: 40px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 64px) 1px no-repeat; }
.quotes blockquote { margin: 0; }
.quotes p { font: 400 20px/1.4 var(--serif); }
.quotes footer { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper-2); padding: 112px 0; }
.billing { justify-self: end; display: inline-flex; padding: 4px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.billing button { border: 0; background: transparent; padding: 9px 14px; border-radius: 7px; cursor: pointer; font-size: 14.5px; }
.billing button span { font: 500 11px/1 var(--mono); color: var(--green); margin-left: 4px; }
.billing button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.billing button[aria-checked="true"] span { color: var(--hl); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr) .9fr; border-top: 1px solid var(--ink); }
.plan { padding: 28px 28px 8px; border-left: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.plan:first-child { border-left: 0; padding-left: 0; }
.plan h3 { font: 500 30px/1 var(--serif); letter-spacing: -.01em; }
.plan-for { margin-top: 10px; color: var(--ink-2); font-size: 15px; min-height: 3.1em; }
.price { margin: 26px 0 22px; display: flex; align-items: baseline; gap: 8px; }
.amt { font: 500 52px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.amt-text { font-size: 36px; }
.per { font-size: 13px; color: var(--muted); }
.plan .btn { align-self: flex-start; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 0; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.plan-main { background: var(--sheet); padding-left: 28px; border-left-color: var(--ink); box-shadow: inset 0 3px 0 var(--blue); }
.plan-main + .plan { border-left-color: var(--ink); }
.plan-tag { position: absolute; top: -12px; left: 28px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; background: var(--blue); color: #fff; padding: 6px 8px; border-radius: 4px; }
.plan-ent { background: transparent; }

/* ---------- Security ---------- */
.security { background: var(--ink); color: #EDEAE2; padding: 72px 0; }
.security-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.security h2 { color: #fff; font-size: clamp(32px, 3.4vw, 46px); }
.security ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.security li strong { display: block; font-weight: 600; color: #fff; margin-bottom: 4px; }
.security li strong::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--hl); margin-right: 10px; vertical-align: 2px; }
.security li span { color: #BDBAB2; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 500 21px/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 44em; }

/* ---------- Start ---------- */
.start { background: var(--blue); color: #fff; padding: 104px 0; }
.start-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 72px; align-items: center; }
.start h2 { color: #fff; font-size: clamp(40px, 5vw, 72px); }
.start-grid > div > p { margin-top: 20px; color: #D6DDF3; font-size: 19px; max-width: 28em; }
.start-form { background: var(--sheet); color: var(--ink); border-radius: 14px; padding: 28px; display: grid; gap: 8px; }
.start-form label { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }
.start-form label span { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.start-form input, .start-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); resize: vertical; }
.start-form input:focus, .start-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.start-form .btn { margin-top: 14px; }
.form-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-note.ok { color: var(--green); font-weight: 600; }
.form-note.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 calc(40px + 96px); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 24em; }
.site-footer h4 { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.site-footer a:not(.brand):not(.for-sale) { display: block; text-decoration: none; padding: 4px 0; font-size: 15px; }
.site-footer a:not(.brand):not(.for-sale):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { font-size: 15px; color: var(--ink-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 64px) 1px no-repeat; font-size: 13.5px; color: var(--muted); }
.for-sale { color: var(--ink); text-decoration: none; background: linear-gradient(transparent 60%, var(--hl) 60%); }
.for-sale:hover { background: var(--hl); }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 84px; left: 50%; transform: translate(-50%, -10px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .app-body { grid-template-columns: 260px minmax(0, 1fr); }
  .pane-context { display: none; }
  .main-nav { gap: 20px; }
}
@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { display: none; flex-direction: column; padding: 8px 32px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 12px 0; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line-2); }
  .mobile-nav .btn { margin-top: 16px; border: 0; height: 48px; }
  .hero-sub { grid-column: 1 / -1; max-width: 640px; grid-row: 3; }
  .hero-log { grid-column: 1 / -1; grid-row: 4; max-width: 640px; margin-top: 36px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline li:nth-child(3) { border-left: 0; padding-left: 0; }
  .builder-grid, .sources-grid, .stack-grid, .story-grid, .start-grid { grid-template-columns: 1fr; gap: 48px; }
  .buyer-grid { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; width: 100%; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { border-left: 0; padding-left: 0; }
  .plan-ent { border-top: 1px solid var(--line); }
  .security-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .billing { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-row { height: 60px; }
  .mobile-nav { padding: 8px 20px 24px; }
  html { scroll-padding-top: 72px; }
  .hero { padding-top: 40px; }
  .eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(40px, 11.6vw, 56px); line-height: 1; }
  .hero-sub { margin-top: 24px; }
  .hero-sub > p:first-child { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .app { margin-top: 40px; border-radius: 12px; }
  .app-bar { height: auto; padding: 10px 12px; flex-wrap: wrap; }
  .crumbs span:not(:last-child):not(.lights) { display: none; }
  .crumbs .lights { display: inline-flex; }
  .avatars { display: none; }
  .app-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pane { min-width: 0; }
  .pane-source { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .transcript { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .transcript li { flex: 0 0 82%; scroll-snap-align: start; background: var(--paper); }
  .pane-doc { padding: 16px 12px 0; }
  .sheet { padding: 22px 18px 18px; }
  .sheet-title { font-size: 24px; }
  .sheet-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .price-table th:nth-child(3), .price-table td:nth-child(3) { display: none; }
  .sheet-totals { flex-direction: column; align-items: flex-start; }
  .mini-gantt div { grid-template-columns: 84px 1fr; }
  .proof { grid-template-columns: 1fr; gap: 28px; padding-bottom: 72px; }
  .proof div { border-left: 0; padding: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .proof div:first-child { border-top: 0; padding-top: 0; }
  .tour, .builder, .sources, .buyer, .stack, .story, .pricing, .faq, .start { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .timeline { grid-template-columns: 1fr; row-gap: 40px; }
  .timeline li { border-left: 0; padding: 0; }
  .timeline time { font-size: 44px; }
  .calc { padding: 16px; }
  .calc-controls { grid-template-columns: 1fr; padding: 14px; gap: 16px; }
  .seg { display: flex; }
  .seg button { flex: 1; white-space: nowrap; }
  .calc-head { flex-direction: column; align-items: flex-start; }
  .engage-head { flex-direction: column; gap: 6px; }
  .calc-table th:nth-child(3), .calc-table td:nth-child(3) { display: none; }
  .calc-sum { grid-template-columns: 1fr 1fr; }
  .calc-sum .tcv { grid-column: 1 / -1; }
  .cite-doc { padding: 24px 20px; }
  .cite-doc p { font-size: 19px; }
  .cite-list { grid-template-columns: 1fr; }
  .people li { grid-template-columns: 1fr auto; gap: 10px 12px; }
  .people .bars { grid-column: 1 / -1; grid-row: 2; }
  .people .time { grid-column: 2; grid-row: 1; }
  .engage { padding: 18px; }
  .stack-list { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .story-stats { grid-template-columns: 1fr; }
  .story-stats div { border-bottom: 1px solid var(--line-2); padding-bottom: 14px; }
  .quotes { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; background-size: calc(100% - 40px) 1px; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: 0 !important; padding: 28px 0 8px !important; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .plan-main { padding: 36px 20px 12px !important; border-top: 0; margin: 24px 0 8px; }
  .plan-tag { left: 20px; }
  .security ul { grid-template-columns: 1fr; }
  .faq summary { font-size: 19px; }
  .start-form { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; background-size: calc(100% - 40px) 1px; }
  .story-photo img { aspect-ratio: 4 / 3; object-position: 20% 40%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .sig { stroke-dashoffset: 0; }
}
