/* Voice2Ledger marketing site — implemented from Claude Design "Voice2Ledger Website v4e" */

:root {
  --bg: #0b0b0d;
  --panel: #111114;
  --ink: #F4F4F1;
  --ink-2: #d4d4d0;
  --ink-3: #b9b9b4;
  --muted: #a3a3a8;
  --muted-2: #929298;
  --muted-3: #8a8a90;
  --faint: #7c7c82;
  --faint-2: #6e6e74;
  --faint-3: #62626a;
  --red: #E5383B;
  --red-hover: #f04a4d;
  --red-soft: #ff8a8c;
  --red-pale: #ffb3b4;
  --line: rgba(255,255,255,.09);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Public Sans', Helvetica, sans-serif;
  --mono: 'Martian Mono', monospace;
  --brand: Geist, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
*::-webkit-scrollbar { height: 8px; width: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 8px; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red-soft); }
::selection { background: var(--red); color: #fff; }

@keyframes recDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.82); } }
@keyframes wave { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glowDrift { 0%,100% { opacity: .5; transform: translate(-50%, 0) scale(1); } 50% { opacity: .9; transform: translate(-50%, 14px) scale(1.06); } }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(900%); } }
@keyframes marchDash { to { stroke-dashoffset: -40; } }
@keyframes shimmer { 0% { background-position: -220% 0; } 100% { background-position: 220% 0; } }
@keyframes rowIn { 0%, 8% { opacity: 0; transform: translateX(-10px); } 18%, 100% { opacity: 1; transform: none; } }
@keyframes cellPop { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes drawWave { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- layout ---------- */
.page { position: relative; overflow: hidden; min-height: 100vh; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 26px; padding-right: 26px; }
.section { padding-top: 120px; }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 44px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.glow-top { position: absolute; top: -360px; left: 50%; width: 1150px; height: 720px; background: radial-gradient(50% 50% at 50% 50%, rgba(229,56,59,.26), rgba(229,56,59,0) 70%); animation: glowDrift 11s ease-in-out infinite; pointer-events: none; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(75% 50% at 50% 0%, #000, transparent); -webkit-mask-image: radial-gradient(75% 50% at 50% 0%, #000, transparent); pointer-events: none; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-soft); }
.h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -.02em; font-weight: 400; }
.h2--side { font-size: clamp(28px, 4vw, 44px); }
.h2 .dim { color: var(--muted-3); }
.lead { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
.caption { padding-top: 9px; font-family: var(--mono); font-size: 11px; color: var(--faint-3); }
.accent { color: var(--red); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 10px; font-size: 15px; transition: background .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { height: 44px; padding: 0 20px; }
.btn--block { display: flex; height: 40px; font-size: 14.5px; }
.btn--red { background: var(--red); color: #fff; font-weight: 500; }
.btn--red:hover { background: var(--red-hover); color: #fff; }
.btn--ghost { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: var(--ink-2); }
.btn--ghost:hover { background: rgba(255,255,255,.07); color: #fff; }
.btn .dot { width: 8px; height: 8px; border-radius: 999px; background: #fff; }

/* ---------- header ---------- */
.header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.wordmark { display: inline-flex; font-family: var(--brand); font-weight: 600; font-size: 20px; letter-spacing: -.035em; line-height: 1; }
.wordmark .two { background: linear-gradient(90deg, var(--red) 50%, var(--ink) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta a { display: inline-flex; align-items: center; height: 34px; border-radius: 8px; font-size: 14px; transition: background .18s ease, transform .18s ease; }
.btn-login { padding: 0 13px; border: 1px solid rgba(255,255,255,.12); color: var(--ink-2); }
.btn-login:hover { background: rgba(255,255,255,.07); color: #fff; }
.btn-trial { padding: 0 14px; background: var(--ink); color: #131316; font-weight: 500; }
.btn-trial:hover { background: #fff; color: #131316; transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 66px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.rec-badge { display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px 5px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #9ea2a8; animation: rise .6s ease both; }
.rec-dot { width: 6px; height: 6px; border-radius: 999px; background: #ff6b5f; animation: recDot 1.5s ease-in-out infinite; }
.hero h1 { margin: 0; font-family: var(--serif); max-width: 900px; font-size: clamp(38px, 6vw, 74px); line-height: 1.02; letter-spacing: -.02em; font-weight: 400; text-wrap: pretty; animation: rise .7s ease .05s both; }
.hero p { margin: 0; max-width: 620px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; color: var(--muted); text-wrap: pretty; animation: rise .7s ease .12s both; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 6px; animation: rise .7s ease .18s both; }

/* ---------- hero demo ---------- */
.demo { position: relative; padding-top: 56px; animation: rise .8s ease .24s both; }
.demo-frame { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); padding: 10px; box-shadow: 0 40px 130px -50px rgba(229,56,59,.45); }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: var(--panel); overflow: hidden; }
.demo-pane { display: flex; flex-direction: column; gap: 16px; padding: 20px; min-width: 0; }
.demo-pane--voice { border-right: 1px solid rgba(255,255,255,.06); }
.demo-pane--ledger { gap: 14px; }
@media (max-width: 860px) {
  .demo-pane--voice { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
}
.pane-head { display: flex; align-items: center; gap: 10px; }
.pane-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pane-meta { font-size: 12.5px; color: var(--faint); }
.rec-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--red-soft); }
.rec-live::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--red); animation: recDot 1.5s ease-in-out infinite; }
.waveform { display: flex; align-items: center; gap: 3px; height: 44px; padding: 0 2px; }
.waveform span { flex: 1; height: 100%; border-radius: 2px; background: var(--red); transform-origin: center; animation-name: wave; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.transcript { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; line-height: 1.55; }
.transcript div { display: grid; grid-template-columns: 62px 1fr; gap: 10px; }
.transcript .ts { font-family: var(--mono); font-size: 11.5px; color: var(--red-soft); padding-top: 2px; }
.transcript .quote { color: var(--ink-2); }
.extracting { margin-left: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 2px 8px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.14), rgba(255,255,255,0)); background-size: 220% 100%; animation: shimmer 2.6s linear infinite; }
.demo-foot { display: flex; align-items: center; gap: 8px; padding-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--faint); flex-wrap: wrap; }
.demo-foot .actions { margin-left: auto; display: inline-flex; gap: 6px; }
.demo-foot .actions span { border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 3px 8px; color: var(--ink-3); }
.demo-caption { padding-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--faint-3); text-align: center; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; }
.table { font-size: 13px; }
.trow { display: grid; align-items: center; border-bottom: 1px solid rgba(255,255,255,.05); }
.trow:last-child { border-bottom: 0; }
.thead { border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.trow .id, .trow .time { font-family: var(--mono); font-size: 11.5px; }
.trow .id { color: var(--faint); }
.trow .time { text-align: right; color: var(--ink-2); }
.trow .name { color: var(--ink); min-width: 0; }
.custom-col { position: relative; }
.custom-col::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 0; border-style: solid; border-width: 8px 8px 0 0; border-color: var(--red) transparent transparent transparent; }
.custom-mark { width: 0; height: 0; border-style: solid; border-width: 8px 8px 0 0; border-color: var(--red) transparent transparent transparent; }

.table--demo { min-width: 380px; }
.table--demo .trow { grid-template-columns: 22px minmax(0,1fr) 152px 76px; }
.table--demo .trow > span { padding: 11px 8px; }
.table--demo .trow > .id { padding-left: 6px; padding-right: 6px; }
.table--demo .thead > span { padding: 8px; }
.table--demo .thead > span:first-child { padding: 8px 6px; }
.table--demo .thead > span:last-child { text-align: right; }
.table--demo .trow:not(.thead) { animation: rowIn 7s ease infinite both; }
.table--demo .trow:nth-child(3) { animation-delay: .6s; }
.table--demo .trow:nth-child(4) { animation-delay: 1.2s; }

.table--preview { min-width: 540px; }
.table--preview .trow { grid-template-columns: 34px minmax(0,1.6fr) minmax(0,1fr) 140px 92px; transition: background .16s ease; }
.table--preview .trow:not(.thead):hover { background: rgba(255,255,255,.035); }
.table--preview .trow > span { padding: 12px 10px; }
.table--preview .thead { background: rgba(255,255,255,.025); border-bottom-color: rgba(255,255,255,.07); }
.table--preview .thead > span { padding: 9px 10px; }
.table--preview .thead > span:last-child { text-align: right; }
.table--preview .thead .custom-col::before { border-width: 9px 9px 0 0; }
.table--preview .module { color: var(--ink-3); }

.tag { border: 1px solid; border-radius: 6px; padding: 2px 7px; font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.tag--bug, .tag--showstopper { border-color: rgba(229,56,59,.4); background: rgba(229,56,59,.14); color: var(--red-pale); }
.tag--showstopper { border-color: rgba(229,56,59,.45); background: rgba(229,56,59,.16); }
.tag--feature { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: var(--ink-2); }
.tag--decision { border-color: rgba(244,244,241,.4); background: rgba(244,244,241,.1); color: var(--ink); }
.tag--must { border-color: rgba(244,244,241,.35); background: rgba(244,244,241,.08); color: var(--ink); }
.tag--nice { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--ink-3); }

/* ---------- cards ---------- */
.card { border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(229,56,59,.4); }
.card .step { font-family: var(--mono); font-size: 11px; color: var(--red-soft); }
.card .step--light { color: #c9c9c4; }
.card .title { font-size: 16px; font-weight: 500; }
.card .body { font-size: 13.5px; line-height: 1.55; color: var(--muted-2); }
.cards { display: grid; gap: 14px; }
.cards--flow { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 12px; }
.cards--integrations { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin-top: 40px; }
.cards--integrations .card { border-color: var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); gap: 10px; }
.cards--integrations .title { font-size: 17px; }

.icon-box { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(229,56,59,.5); border-radius: 9px; }
.icon-box--light { border-color: rgba(255,255,255,.22); }
.icon-rec { width: 9px; height: 9px; border-radius: 999px; background: var(--red); animation: recDot 1.5s ease-in-out infinite; }
.icon-wave { display: flex; align-items: center; gap: 2px; height: 13px; }
.icon-wave span { width: 2px; height: 100%; background: var(--red); animation: wave .9s ease-in-out infinite; }
.icon-wave span:nth-child(2) { animation-delay: .15s; }
.icon-wave span:nth-child(3) { animation-delay: .3s; }
.icon-cells { display: grid; grid-template-columns: repeat(3, 3px); gap: 2px; }
.icon-cells span { width: 3px; height: 3px; background: var(--ink); animation: cellPop 1.8s ease-in-out infinite; }
.icon-square { width: 11px; height: 11px; border: 1.5px solid var(--ink); border-radius: 2px; }

.flow-line { display: flex; justify-content: center; margin-top: 36px; }
.flow-line svg { width: 100%; max-width: 900px; height: 20px; opacity: .8; }
.flow-line line { animation: marchDash 2.4s linear infinite; }

/* ---------- panels ---------- */
.panel { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; flex-wrap: wrap; }
.panel-head .num { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.panel-head .title { font-size: 15px; font-weight: 500; }

/* assistant */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: var(--muted-2); }
.chip--active { border-color: rgba(229,56,59,.5); background: rgba(229,56,59,.12); color: var(--ink); }
.chip--active::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--red); }
.chip .soon { font-family: var(--mono); font-size: 10.5px; color: var(--faint-2); }
.glow-soft { position: absolute; inset: -50px; background: radial-gradient(50% 50% at 55% 45%, rgba(229,56,59,.14), transparent 70%); pointer-events: none; }
.config-head { display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.07); flex-wrap: wrap; }
.config-head .title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.config-body { display: flex; flex-direction: column; gap: 20px; padding: 18px; }
.config-num { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.config-approach { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 17px; font-weight: 500; }
.config-select { color: var(--red-soft); border-bottom: 2px dotted rgba(229,56,59,.7); padding-right: 4px; }
.config-field { display: flex; flex-direction: column; gap: 8px; }
.config-label { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.config-label .config-num { padding-top: 2px; }
.config-modules { border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.025); padding: 10px 12px; font-family: var(--mono); font-size: 12px; line-height: 1.75; color: var(--muted); }
.config-modules .sub { padding-left: 3ch; }
.capture { display: flex; flex-wrap: wrap; gap: 6px; }
.capture span { border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 4px 10px; font-size: 13px; color: var(--ink-2); }
.config-lang { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); border-top: 1px solid rgba(255,255,255,.06); padding-top: 16px; }
.config-lang .lang { border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 3px 10px; color: var(--ink); }
.config-lang .count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint-2); }

/* ledger */
.ledger-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; align-items: flex-start; }
.ledger-row .panel--preview { flex: 2 1 520px; min-width: 0; }
.ledger-row .panel--cols { flex: 1 1 280px; min-width: 0; }
.legend { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); }
.cols-list { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.col-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.02); font-size: 13.5px; transition: border-color .18s ease; }
.col-item:hover { border-color: rgba(229,56,59,.45); }
.col-item .type { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.cols-actions { display: flex; align-items: center; gap: 12px; padding-top: 4px; font-size: 13px; color: var(--red-soft); }
.cols-actions .sep { width: 1px; height: 14px; background: rgba(255,255,255,.14); }

/* dedupe */
.mentions { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mention { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid rgba(229,56,59,.22); border-radius: 10px; background: rgba(229,56,59,.05); }
.mention .ts { font-family: var(--mono); font-size: 11.5px; color: var(--red-soft); padding-top: 2px; }
.mention .text { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.merge-arrow { display: flex; justify-content: center; padding: 4px 0; }
.merge-arrow path { animation: marchDash 1.6s linear infinite; }
.merged { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid rgba(244,244,241,.3); border-radius: 10px; background: var(--panel); }
.merged .name { font-size: 14.5px; }
.merged .desc { font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.merged .ts { font-family: var(--mono); font-size: 11.5px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 3px 8px; }

/* evidence */
.dash-list { display: flex; flex-direction: column; gap: 10px; }
.dash-list div { display: flex; gap: 10px; }
.dash-list div::before { content: "—"; color: var(--red); }
.dash-list--evidence { padding-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.video { position: relative; aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 9px), #141417; display: grid; place-items: center; overflow: hidden; }
.video .scanline { position: absolute; left: 0; right: 0; top: 0; height: 10%; background: linear-gradient(180deg, rgba(229,56,59,0), rgba(229,56,59,.16), rgba(229,56,59,0)); animation: scan 6s linear infinite; }
.video .label { position: relative; font-family: var(--mono); font-size: 12px; color: var(--faint-2); text-align: center; padding: 0 20px; }
.player { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.player .play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: #131316; font-size: 10px; }
.player .track { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.10); position: relative; }
.player .progress { position: absolute; left: 0; top: 0; bottom: 0; width: 10%; border-radius: 999px; background: var(--red); }
.player .knob { position: absolute; left: 10%; top: -3px; width: 10px; height: 10px; border-radius: 999px; background: var(--ink); }
.player .time { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.narration { padding: 14px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 9px; }
.narration .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint-2); }
.narration p { margin: 0; font-size: 14px; line-height: 1.6; color: #c9c9c4; }
.confirmed { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; border: 1px solid rgba(244,244,241,.3); background: rgba(244,244,241,.08); color: var(--ink); border-radius: 7px; padding: 4px 10px; font-family: var(--mono); font-size: 11px; }

/* pricing */
.pricing-note .zero { font-family: var(--mono); font-size: 14.5px; color: var(--ink-2); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.tier { position: relative; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); padding: 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tier--featured { border-color: rgba(229,56,59,.45); background: linear-gradient(180deg, rgba(229,56,59,.12), rgba(255,255,255,.012)); box-shadow: 0 30px 90px -50px rgba(229,56,59,.8); }
.tier-badge { position: absolute; top: 18px; right: 18px; padding: 4px 9px; border-radius: 6px; background: rgba(229,56,59,.2); border: 1px solid rgba(229,56,59,.5); font-family: var(--mono); font-size: 11px; color: #ffd0d1; }
.tier-head { display: flex; flex-direction: column; gap: 8px; }
.tier-name { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.tier--featured .tier-name { color: var(--red-pale); }
.tier-price { display: flex; align-items: baseline; gap: 6px; }
.tier-amount { font-size: 40px; font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.tier-per, .tier-blurb { font-size: 13.5px; color: var(--muted-2); }
.tier-blurb { line-height: 1.55; }
.tier--featured .tier-per, .tier--featured .tier-blurb { color: var(--muted); }
.tier-rule { height: 1px; background: rgba(255,255,255,.07); }
.tier--featured .tier-rule { background: rgba(255,255,255,.10); }
.tier .dash-list { flex: 1; font-size: 14px; color: var(--ink-2); }
.tier--featured .dash-list { color: #e4e4e0; }
.dash-list em { font-style: normal; color: var(--muted-2); }
.pricing-foot { text-align: center; font-size: 13px; color: var(--muted-2); margin-top: 26px; }
.tier-pitch { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.notify > summary { list-style: none; cursor: pointer; align-items: center; justify-content: center; border-radius: 8px; }
.notify > summary::-webkit-details-marker { display: none; }
.notify[open] > summary { display: none; }
.notify-form { display: flex; flex-direction: column; gap: 8px; }
.notify-input { height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--ink); font: inherit; font-size: 14px; }
.notify-input:focus { outline: none; border-color: var(--red-soft); }
.notify-consent { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted-2); }

/* contact */
.contact { position: relative; padding-top: 130px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.contact > * { position: relative; }
.contact .glow-bottom { position: absolute; bottom: -140px; left: 50%; width: 900px; height: 520px; background: radial-gradient(50% 50% at 50% 50%, rgba(229,56,59,.2), transparent 70%); animation: glowDrift 12s ease-in-out infinite; pointer-events: none; }
.contact .draw { animation: drawWave 2.4s ease both; }
.contact h2 { margin: 0; font-family: var(--serif); max-width: 640px; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -.02em; font-weight: 400; }
.contact p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.contact .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* footer */
.footer { margin-top: 110px; padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted-2); }
.footer-links { display: flex; gap: 20px; font-size: 13.5px; }
.footer-links a { color: var(--muted-2); }
.footer-cookie { padding: 0; border: 0; background: none; font: inherit; color: var(--muted-2); cursor: pointer; }
.footer-cookie:hover { color: var(--red-soft); }

/* cookie consent banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 20px; z-index: 50; margin: 0 auto; width: min(640px, calc(100% - 32px)); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px 18px; background: var(--panel); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.5); animation: rise .35s ease both; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 280px; margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.cookie-banner p a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn--red { border: 0; }
.cookie-actions .btn { height: 38px; padding: 0 16px; font-size: 14px; cursor: pointer; font-family: inherit; }

/* ---------- phone ---------- */
@media (max-width: 520px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 88px; }
  .hero { padding-top: 40px; }
  .nav { gap: 16px; }
  .demo-pane { padding: 16px; }
  .mention { grid-template-columns: 62px 1fr; }
}

/* One "Start free trial" for every plan, below the plan boxes. */
.tiers-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Monthly / Annual toggle on the pricing cards — radio inputs, no script */
.billing-radio { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 22px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.billing-toggle label { cursor: pointer; padding: 6px 14px; border-radius: 7px; font-size: 13.5px; color: var(--muted-2); }
.billing-toggle label:hover { color: var(--ink); }
.billing-save { color: var(--red-soft); margin-left: 4px; }
#billing-month:checked ~ .billing-toggle label[for="billing-month"],
#billing-year:checked ~ .billing-toggle label[for="billing-year"] { background: rgba(255,255,255,.08); color: var(--ink); }
#billing-month:focus-visible ~ .billing-toggle label[for="billing-month"],
#billing-year:focus-visible ~ .billing-toggle label[for="billing-year"] { outline: 2px solid var(--red-soft); outline-offset: 2px; }
.tier-price--year { display: none; }
#billing-year:checked ~ .tiers .tier-price--month { display: none; }
#billing-year:checked ~ .tiers .tier-price--year { display: flex; }

/* ---------- legal pages (privacy.html, terms.html — built by scripts/build-legal.py) ---------- */
.legal { position: relative; max-width: 780px; padding-top: 56px; }
.legal-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-head h1 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -.02em; font-weight: 400; }
.legal-updated { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.legal-toc { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.legal-toc-title { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.legal-toc ol { margin: 12px 0 0; padding: 0; list-style: none; columns: 2 220px; column-gap: 28px; font-size: 13.5px; line-height: 1.5; }
.legal-toc li { break-inside: avoid; padding: 3px 0; }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--ink); }
.legal-body { padding-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink-3); overflow-wrap: break-word; }
.legal-body h2 { margin: 48px 0 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -.01em; font-weight: 400; color: var(--ink); scroll-margin-top: 24px; }
.legal-body h3 { margin: 28px 0 0; font-size: 16px; font-weight: 600; color: var(--ink-2); scroll-margin-top: 24px; }
.legal-body p, .legal-body ul { margin: 14px 0 0; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-top: 6px; }
.legal-body li::marker { color: var(--red); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,138,140,.4); }
.legal-body a:hover { color: var(--red-pale); }
.legal-body code { font-family: var(--mono); font-size: .85em; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.06); color: var(--ink-2); }
.legal-table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legal-table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--faint); background: rgba(255,255,255,.03); }
.legal-table th, .legal-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--ink-2); white-space: nowrap; }
.legal + .footer { margin-top: 90px; }
