/* Punchy — public site.
 * Tokens match the app: charcoal, a warm off-white ground, one orange used for the single primary action.
 * Platform fonts and tabular numerals, no web-font request. Contrast pairs are checked by tests/site.test.mjs. */

:root {
  --ink: #171C23;
  --ink-2: #3F4752;        /* secondary text on the ground: 8.6:1 */
  --ink-3: #5A636E;        /* tertiary text on the ground: 5.8:1 */
  --ground: #F6F7F5;
  --paper: #FFFFFF;
  --line: #D9DCD8;
  --line-strong: #B8BDB8;
  --orange: #F15A24;
  --orange-hover: #FF7040;
  --on-orange: #171C23;    /* charcoal on orange: 5.0:1 (white would be 3.4:1) */
  --on-dark-2: #C4CAD1;    /* secondary text on charcoal: 10.5:1 */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 28, 35, .06), 0 12px 32px rgba(23, 28, 35, .10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 40px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.55 var(--font); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 245, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font-weight: 800; font-size: 24px; letter-spacing: -.03em; text-decoration: none; }
.brand-p {
  display: inline-block;
  transform: translateY(-.025em) rotate(-1deg);
  transform-origin: 52% 72%;
}
.brand b { color: var(--orange); }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 0; }
.nav a:hover { color: var(--ink); }
.top .btn { margin-left: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: 700 16px var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: rgba(23, 28, 35, .06); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.btn.primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- drafting-grid backdrop and marks ---------- */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(23, 28, 35, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 28, 35, .06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.marks { position: relative; }
.marks::before, .marks::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1.5px solid var(--ink); opacity: .35; }
.marks::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.marks::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 88px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
h1 { font-size: clamp(48px, 9vw, 92px); line-height: .98; letter-spacing: -.045em; margin: 0 0 24px; font-weight: 800; }
h1 span { display: block; }
h1 span:last-child { color: var(--orange); }
.lede { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 34em; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.meta { margin: 20px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; list-style: none; }
.meta li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; margin-right: 8px; vertical-align: middle; }

.stage { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
.stage .report { position: absolute; right: -2%; top: 8%; width: 58%; transform: rotate(3deg); }
.stage .phone { position: relative; z-index: 2; margin-right: 22%; }

/* ---------- phone and report illustrations (HTML, so they stay crisp and cannot drift into stock imagery) ---------- */
.phone { width: 270px; background: #0F1318; border-radius: 40px; padding: 10px; box-shadow: var(--shadow); }
.screen { background: var(--ground); border-radius: 31px; overflow: hidden; min-height: 520px; font-size: 12.5px; line-height: 1.4; color: var(--ink); }
.screen .bar { background: var(--ink); color: #fff; padding: 14px 16px 12px; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; }
.screen .bar b { color: var(--orange); }
.screen .body { padding: 12px 14px 16px; display: grid; gap: 9px; }
.s-label { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.s-draft { background: #EAF2F0; border: 1px solid #C9DDD9; border-radius: 10px; padding: 8px 10px; font-size: 11.5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.s-draft b { color: var(--ink); }
.s-draft i { font-style: normal; border: 1px solid var(--ink-3); border-radius: 8px; padding: 2px 8px; font-weight: 700; font-size: 10.5px; color: var(--ink); background: #fff; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; display: flex; align-items: center; gap: 10px; }
.s-num { font-weight: 800; background: var(--ground); border-radius: 8px; padding: 5px 8px; font-size: 13px; }
.s-field { background: #FFFBF3; border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 11px; font-weight: 600; font-size: 12.5px; }
.s-field small { display: block; font-weight: 500; color: var(--ink-3); font-size: 10.5px; margin-bottom: 2px; }
.s-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo {
  aspect-ratio: 4 / 3; border-radius: 9px; border: 1px solid var(--line-strong); position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, #E3E6E2 0 7px, #D6DAD5 7px 14px);
}
.photo.tall { aspect-ratio: 3 / 4; }
.photo::after { content: "photo"; position: absolute; left: 6px; bottom: 5px; font-size: 9px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.photo-ceiling::after, .photo-door::after, .photo-paint::after { display: none; }
.s-foot { display: flex; gap: 7px; margin-top: 4px; }
.s-btn { flex: 1; text-align: center; font-weight: 800; border-radius: 10px; padding: 9px 0; font-size: 12px; background: var(--orange); color: var(--on-orange); }
.s-btn.ghost { flex: none; width: 64px; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); }

.sheet-page { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 4px; padding: 7% 7% 6%; font-size: 9px; line-height: 1.4; color: var(--ink); aspect-ratio: 8.5 / 11; }
.sheet-page .rhead { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2.5px solid var(--sheet-accent, #2E6F6B); padding-bottom: 8px; margin-bottom: 9px; }
.sheet-page .logo { font-weight: 800; font-size: 13px; letter-spacing: -.02em; color: var(--sheet-accent, #2E6F6B); }
.sheet-page .doc { text-align: right; color: var(--ink-3); font-size: 7.5px; }
.sheet-page h3 { margin: 0 0 1px; font-size: 14px; letter-spacing: -.02em; }
.sheet-page .sub { color: var(--ink-3); font-size: 7.5px; margin-bottom: 8px; }
.sheet-page .room { border-top: 1px solid var(--line); padding: 7px 0 3px; font-weight: 800; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.sheet-page .iss { display: grid; grid-template-columns: 22px 1fr; gap: 4px; margin: 5px 0 7px; }
.sheet-page .iss b.n { color: var(--ink-3); font-weight: 800; }
.sheet-page .iss p { margin: 1px 0 0; color: var(--ink-2); font-size: 8px; }
.sheet-page .ph2 { display: flex; gap: 6px; margin-top: 4px; }
.sheet-page .ph2 .photo { flex: 1; border-radius: 2px; }
.sheet-page .foot { position: relative; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 4px; font-size: 6.5px; color: var(--ink-3); display: flex; justify-content: space-between; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 9vw, 104px) 0; }
section.alt { background: var(--paper); border-block: 1px solid var(--line); }
section.dark { background: var(--ink); color: #fff; }
section.dark .eyebrow { color: var(--on-dark-2); }
.head { max-width: 40em; margin: 0 0 clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 16px; font-weight: 800; }
.head p { margin: 0; font-size: 19px; color: var(--ink-2); }
section.dark .head p { color: var(--on-dark-2); }

/* three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: s; padding: 0; list-style: none; margin: 0; }
.steps li { position: relative; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.steps .no { display: block; font-size: clamp(56px, 8vw, 88px); line-height: 1; font-weight: 800; letter-spacing: -.05em; color: var(--orange); margin: 6px 0 14px; }
.steps h3 { font-size: 24px; margin: 0 0 8px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--ink-2); }
.steps strong { color: var(--ink); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; list-style: none; margin: 0; }
.features li { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.features h3 { font-size: 19px; margin: 12px 0 6px; letter-spacing: -.01em; }
.features p { margin: 0; color: var(--ink-2); font-size: 16px; }
.features .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--orange); display: grid; place-items: center; }
.features .ico svg { width: 20px; height: 20px; }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #FFE9DF; color: #7A2A0C; border-radius: 6px; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }

/* sample report */
.sample { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.sample .pages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sample .pages .sheet-page:nth-child(2) { transform: translateY(24px); --sheet-accent: #B3541E; }
.sample ul { padding: 0; margin: 20px 0 28px; list-style: none; display: grid; gap: 10px; }
.sample li { padding-left: 28px; position: relative; color: var(--ink-2); }
.sample li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 2px; background: var(--orange); }
.note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* audiences */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid #343B45; border-radius: var(--radius); overflow: hidden; padding: 0; list-style: none; margin: 0; }
.who li { padding: 26px 22px; border-right: 1px solid #343B45; }
.who li:last-child { border-right: 0; }
.who h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.who p { margin: 0; color: var(--on-dark-2); font-size: 15.5px; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; list-style: none; margin: 0; }
.trust li { border-left: 3px solid var(--orange); padding-left: 18px; }
.trust h3 { margin: 0 0 6px; font-size: 19px; }
.trust p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* beta and waitlist */
.access { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.card h3 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.02em; }
.card .sub { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; }
.terms { margin: 0 0 22px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 15px; color: var(--ink-2); display: grid; gap: 4px; list-style: none; }
.terms b { color: var(--ink); }
form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; }
label small { font-weight: 500; color: var(--ink-3); }
input, select, textarea {
  font: 500 17px var(--font); color: var(--ink); background: #FFFDF8; border: 1.5px solid #8A918A; border-radius: 10px;
  padding: 12px 14px; min-height: 50px; width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
[aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.err { color: #B3261E; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 15.5px; }
.status.ok { background: #E7F3EA; color: #1F4A2B; border: 1px solid #B9D8C1; }
.status.bad { background: #FDECEA; color: #7A1A14; border: 1px solid #F0C0BB; }
.status:empty { display: none; }
.side { display: grid; gap: 18px; }
.side .card { padding: 24px; }

/* faq */
.faq { max-width: 52em; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* footer */
footer { background: var(--ink); color: var(--on-dark-2); padding: 48px 0 56px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer .brand { color: #fff; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer small { display: block; margin-top: 8px; color: #9AA3AD; font-size: 13.5px; max-width: 30em; }

/* sticky phone CTA */
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .sample, .access { grid-template-columns: 1fr; }
  .stage { min-height: 480px; order: 2; }
  .features, .trust { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .who li:nth-child(2) { border-right: 0; }
  .who li:nth-child(-n+2) { border-bottom: 1px solid #343B45; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .nav, .top .btn { display: none; }
  .top .wrap { height: 58px; }
  .steps, .features, .trust { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .who li { border-right: 0; border-bottom: 1px solid #343B45; }
  .who li:last-child { border-bottom: 0; }
  .row2 { grid-template-columns: 1fr; }
  .stage .report { display: none; }
  .stage .phone { margin-right: 0; }
  .stage { min-height: 0; padding-top: 8px; }
  .sample .pages .sheet-page:nth-child(2) { display: none; }
  .sample .pages { grid-template-columns: 1fr; max-width: 360px; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 247, 245, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .dock .btn { width: 100%; }
  footer { padding-bottom: 96px; }
}
@media print { .top, .dock { display: none; } }

/* ---------- small utilities (kept here so the page needs no inline styles under its CSP) ---------- */
.acc-teal { --sheet-accent: #2E6F6B; }
.acc-rust { --sheet-accent: #B3541E; }
.photo.narrow { max-width: 34%; }
.photo.wide { aspect-ratio: 4 / 3; }
.legal { max-width: 46em; }
.legal-title { font-size: clamp(36px, 6vw, 56px); }
.legal ul { color: var(--ink-2); }

/* ---------- the AI cue: one small, consistent mark ---------- */
.ai-chip {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  font: 800 12.5px var(--font); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: #FFE9DF; border: 1.5px solid var(--orange); border-radius: 999px; padding: 5px 12px 5px 9px;
}
.ai-chip svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.ai-chip.tiny { font-size: 10.5px; padding: 1px 7px; letter-spacing: .08em; margin-left: 8px; }
.brand .ai-chip.tiny { margin-left: 8px; font-size: 10px; letter-spacing: .1em; vertical-align: 4px; }
.s-draft .ai-chip.tiny { margin-left: 0; margin-right: 2px; }
.ai-chip.on-dark { background: rgba(241, 90, 36, .14); color: #fff; }
.eyebrow .ai-chip { margin: 0; }
.hero .eyebrow { margin-bottom: 22px; }

/* hero: the voice bubble beside the phone */
.stage .bubble {
  position: absolute; z-index: 3; left: -4%; bottom: 7%; max-width: 235px;
  background: var(--ink); color: #fff; border-radius: 18px 18px 18px 4px; padding: 12px 15px 12px 12px;
  display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--shadow); font-size: 14px; line-height: 1.35; font-weight: 600;
}
.bubble .ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.bubble .ico svg { width: 16px; height: 16px; }

/* the AI benefits band */
.ai-band { position: relative; }
.ai-band h2 { max-width: 18em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); padding: 0; list-style: none; margin: 0; }
.pillars li { border-top: 2px solid var(--orange); padding-top: 22px; }
.pillars .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.pillars .ico svg { width: 24px; height: 24px; }
.pillars h3 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 8px; }
.pillars p { margin: 0; color: var(--on-dark-2); font-size: 17px; }
.pillar-note { margin: 40px 0 0; padding-top: 22px; border-top: 1px solid #343B45; color: var(--on-dark-2); font-weight: 600; max-width: 44em; }

/* the demonstration: four stages, one observation */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; }
.stage-card { position: relative; padding: 0 clamp(10px, 1.6vw, 22px); display: flex; flex-direction: column; gap: 14px; }
.stage-card:not(:last-child)::after { content: ""; position: absolute; right: -1px; top: 20px; width: 2px; height: calc(100% - 40px); background: repeating-linear-gradient(to bottom, var(--line-strong) 0 6px, transparent 6px 12px); }
.stage-card .cap { display: flex; align-items: center; gap: 10px; }
.stage-card .n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.stage-card.ai .n { background: var(--orange); color: var(--on-orange); }
.stage-card h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.stage-card > p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.viz { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-height: 250px; box-shadow: 0 1px 2px rgba(23, 28, 35, .05); display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 12.5px; line-height: 1.4; }
.stage-card.ai .viz { border: 2px solid var(--orange); background: linear-gradient(180deg, #FFF7F3, #fff 40%); }

.viz-photo { align-items: center; gap: 16px; background: #0F1318; border-color: #0F1318; }
.viewfinder { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.viewfinder .photo { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.viewfinder .photo::after { color: #D9DCD8; }
.viewfinder .br { position: absolute; width: 22px; height: 22px; border: 2.5px solid #fff; opacity: .9; }
.viewfinder .tl { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.viewfinder .tr { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.viewfinder .bl { left: 10px; bottom: 10px; border-right: 0; border-top: 0; }
.viewfinder .brr { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.shutter { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; }
.shutter .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.shutter svg { width: 20px; height: 20px; }

.viz-voice { gap: 14px; }
.mic { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px 8px 8px; }
.mic .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; flex: none; }
.mic .ico svg { width: 17px; height: 17px; }
.wave { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 28px; gap: 2px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: #fff; height: 10px; animation: pulse 1.15s ease-in-out infinite; }
.wave i:nth-child(4n+1) { height: 16px; animation-delay: -.2s; }
.wave i:nth-child(4n+2) { height: 24px; animation-delay: -.5s; }
.wave i:nth-child(4n+3) { height: 12px; animation-delay: -.8s; }
.wave i:nth-child(4n) { height: 20px; animation-delay: -.35s; }
@keyframes pulse { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.rec { font-weight: 700; font-size: 12px; opacity: .85; }
blockquote { margin: 0; padding: 12px 14px; background: var(--ground); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; font-weight: 600; font-size: 14px; line-height: 1.45; color: var(--ink); }

.viz-ai { gap: 8px; }
.ai-chip.working { align-self: flex-start; margin-bottom: 2px; }
.ai-chip.working::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.draft { display: grid; gap: 6px; }
.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(241, 90, 36, .18) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 3.2s ease-in-out infinite; }
@keyframes sweep { 0%, 15% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
.s-card small { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #1F4A2B; background: #E7F3EA; border-radius: 6px; padding: 2px 6px; }

.viz-save { gap: 10px; }
.viz-save .s-field.edit { background: #fff; border-color: var(--ink); border-width: 1.5px; }
.saved { align-self: flex-start; font-weight: 800; font-size: 12px; color: #1F4A2B; background: #E7F3EA; border: 1px solid #B9D8C1; border-radius: 8px; padding: 5px 10px; }
.saved::before { content: "\2713\00a0"; }

.note.center { text-align: center; margin-top: 28px; }

/* features: the AI ones lead and are marked */
.features li.is-ai { border-color: var(--orange); border-width: 1.5px; background: linear-gradient(180deg, #FFF7F3, var(--ground) 60%); }
.features li.is-ai .ico { background: var(--orange); color: var(--ink); }
.features h3 .ai-chip { margin-left: 8px; }

@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stage-card:nth-child(2n)::after { display: none; }
}
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
  .stage .bubble { left: 0; }
}
@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr; row-gap: 32px; }
  .stage-card { padding: 0; }
  .stage-card::after { display: none; }
  .viz { min-height: 0; }
  .stage .bubble { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 16px; border-radius: 18px; }
  .stage { flex-direction: column; }
  .hero .eyebrow .ai-chip { font-size: 11.5px; }
}

/* keep the headline's last line whole, and keep the hero's overlapping art from widening the page */
h1 span:last-child { font-size: .8em; letter-spacing: -.04em; white-space: nowrap; }
.hero { overflow-x: clip; }

/* grid children may shrink below their content, so nothing can widen the page */
.hero .wrap > *, .sample > *, .sample .pages > *, .access > *, .flow > *, .features > *, .steps > *, .pillars > *, .trust > *, .who > * { min-width: 0; }
.sheet-page { overflow: hidden; }

/* ---------- cookie consent ---------- */
.consent { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; font-size: 15px; color: var(--ink-2); }
.consent a { color: var(--ink); }
.consent-actions { display: flex; gap: 10px; }
.consent .btn.small { min-height: 44px; }
footer .linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
footer .linklike:hover { color: #fff; text-decoration: underline; }

/* ---------- header fit on tablets ---------- */
.brand, .nav a, .top .btn { white-space: nowrap; }
.brand { flex: none; }
@media (max-width: 1080px) { .top .wrap { gap: 16px; } .nav { gap: 18px; margin-left: 0; } .nav a { font-size: 14.5px; } }
@media (max-width: 860px) { .nav { display: none; } }

.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
