/* ComputerDoIt site styles: shared by the homepage and every page built by scripts/site/build.py. */
  :root {
    --bg: #F3F1EB;
    --surface: #FFFFFF;
    --sunk: #F8F7F3;
    --ink: #121212;
    --ink-2: #3E3D39;
    --muted: #7D7A72;
    --faint: #A9A59B;
    --line: rgba(18, 18, 18, .08);
    --line-2: rgba(18, 18, 18, .14);
    /* Flat saturated job colours: one per kind of work. */
    --c-intake: #FF6B1A;
    --c-diary: #A69CFF;
    --c-billing: #2FD66F;
    --c-calls: #FF5CAA;
    --c-other: #F2DD3D;
    --cta: #1F3BFF;
    --accent: #1F3BFF;
    --accent-soft: #E8ECFF;
    --ok: #13854A;
    --ok-soft: #E3F6EA;
    --warn: #A4620A;
    --shadow-sm: 0 1px 2px rgba(18,18,18,.05);
    --shadow: 0 1px 2px rgba(18,18,18,.04), 0 18px 40px -22px rgba(18,18,18,.22);
    --shadow-lg: 0 2px 4px rgba(18,18,18,.03), 0 50px 100px -40px rgba(18,18,18,.35);
    --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
    --display: 'Geist', ui-sans-serif, system-ui, sans-serif;
    --mono: 'Geist Mono', ui-monospace, monospace;
    --pad: clamp(18px, 4.5vw, 64px);
    --max: 1240px;
    --ease: cubic-bezier(.23, 1, .32, 1);
    --spring: cubic-bezier(.32, .72, 0, 1);
    --r: 14px;
    --sub: #3E3D39;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 90px; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 80; opacity: .05; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
  a { color: inherit; }
  img { max-width: 100%; display: block; }
  img[hidden] { display: none; }
  ::selection { background: var(--ink); color: #fff; }
  :focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
  h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.045em; font-weight: 600; color: var(--ink); }
  h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: .98; margin: 16px 0 18px; }
  h3 { font-size: 24px; line-height: 1.12; letter-spacing: -.03em; }
  p { margin: 0; }
  .sub { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; line-height: 1.55; }
  .tag { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 7px 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; }
  .tag i { width: 7px; height: 7px; border-radius: 2px; background: var(--cta); }

  /* Buttons: pill with the arrow in its own island */
  .btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--spring), background-color .2s; }
  .btn .arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); transition: transform .35s var(--spring); }
  .btn:active { transform: scale(.98); }
  @media (hover: hover) and (pointer: fine) { .btn:hover .arrow { transform: translate(2px, -1px) scale(1.05); } }
  .btn.cta { background: var(--cta); }
  .btn.ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); padding: 0 22px; }
  .btn.ghost .arrow { background: rgba(18,18,18,.06); }
  .btn.sm { height: 40px; font-size: 14px; padding: 0 16px; }
  .btn:disabled { opacity: .45; cursor: default; transform: none; }

  .r { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .8s var(--spring), transform .8s var(--spring), filter .8s var(--spring); transition-delay: var(--d, 0s); }
  .r.in { opacity: 1; transform: none; filter: none; }

  /* Floating island nav */
  .top { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); width: max-content; max-width: calc(100% - 24px); }
  .top .wrap { display: contents; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font: 650 16px/1 var(--display); letter-spacing: -.03em; text-decoration: none; margin-right: 18px; }
  .brand .sq { width: 18px; height: 18px; border-radius: 5px; flex: none; background: conic-gradient(from 90deg, var(--c-intake) 0 25%, var(--c-diary) 0 50%, var(--c-billing) 0 75%, var(--c-calls) 0); }
  .top nav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; color: var(--ink-2); }
  .top nav a { text-decoration: none; padding: 9px 13px; border-radius: 999px; transition: background-color .2s; }
  @media (hover: hover) and (pointer: fine) { .top nav a:hover { background: rgba(18,18,18,.05); } }
  .top .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  @media (max-width: 760px) { .top nav a { display: none; } .brand { margin-right: 8px; } }

  /* ───────── Hero: the wall of admin ───────── */
  /* Ledger paper under the wall: ruled lines, a margin rule, and a warm vignette. */
  .ledger { background:
      radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(80, 64, 40, .16) 100%),
      linear-gradient(90deg, transparent calc(7% - 1px), rgba(255, 92, 170, .22) calc(7% - 1px) 7%, transparent 7%),
      repeating-linear-gradient(180deg, transparent 0 15px, rgba(18, 18, 18, .045) 15px 16px),
      #F4F2EC; }
  /* One ethereal ASCII flow behind the whole page: full in the hero and close, a whisper elsewhere. */
  html { background: var(--bg); }
  body { background: transparent; }
  .ether { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
  .hero { position: relative; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
  .field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; cursor: crosshair; }
  .hero-copy { position: relative; z-index: 4; text-align: center; padding: 110px var(--pad) 120px; max-width: 1120px; display: grid; justify-items: center; pointer-events: none; }
  .hero-copy > * { pointer-events: auto; }
  .hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .92; letter-spacing: -.055em; margin: 22px 0 22px; }
  .hero h1 span { display: block; color: var(--muted); }
  .hero .sub { margin: 0 auto 30px; text-align: center; font-size: clamp(17px, 1.45vw, 20px); }
  .ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
  .chips span, .chips a { text-decoration: none; font: 500 12.5px/1 var(--mono); letter-spacing: .03em; padding: 7px 10px; border-radius: 4px; color: var(--ink); }
  .chips > :nth-child(1) { background: var(--c-intake); }
  .chips > :nth-child(2) { background: var(--c-diary); }
  .chips > :nth-child(3) { background: var(--c-billing); }
  .chips a { transition: transform .2s var(--spring), box-shadow .2s; }
  @media (hover: hover) and (pointer: fine) { .chips a:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
  .chips a:active { transform: scale(.96); }
  .chips span:nth-child(5) { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
  .chips { position: relative; }
  .more { font: 500 12.5px/1 var(--mono); letter-spacing: .03em; padding: 7px 10px; border-radius: 4px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
  .more[aria-expanded="true"] { background: var(--cta); }
  .more-pop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 6; width: min(460px, 92vw); text-align: left; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); animation: pop .22s var(--ease); }
  .more-pop p { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
  .more-pop ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14.5px; }
  .more-pop li::before { content: "→ "; color: var(--faint); font-family: var(--mono); }
  @keyframes pop { from { opacity: 0; transform: translate(-50%, -4px) scale(.98); } }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
  .hud { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 14px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(18,18,18,.88); color: #fff; font: 500 13px/1 var(--mono); box-shadow: var(--shadow-lg); white-space: nowrap; }
  .hud b { font-weight: 500; font-variant-numeric: tabular-nums; display: inline-block; min-width: 3ch; text-align: right; }
  .hud .hint { color: rgba(255,255,255,.55); }
  .hud .pill { background: var(--c-billing); color: var(--ink); padding: 8px 12px; border-radius: 999px; border: 0; font: 500 13px/1 var(--mono); cursor: pointer; transition: transform .2s var(--spring); }
  .hud .pill:active { transform: scale(.96); }
  .hud a.pill { text-decoration: none; }
  .hud .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c-billing); box-shadow: 0 0 0 0 rgba(47,214,111,.6); animation: pulse 2s infinite; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,214,111,0); } 100% { box-shadow: 0 0 0 0 rgba(47,214,111,0); } }
  @media (max-width: 560px) { .hud .hint { display: none; } }
  .bubbles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .bubble-done { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 16px; background: #fff; backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font: 500 14px/1.2 var(--sans); color: var(--ink); white-space: nowrap; transform-origin: 0 100%; }
  .bubble-done i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font: 600 13px var(--mono); color: var(--ink); flex: none; }
  .bubble-done small { display: block; font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }

  section { padding: clamp(96px, 15vh, 180px) 0; position: relative; }
  .head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 56px; }
  @media (max-width: 900px) { .head { grid-template-columns: 1fr; gap: 0; } }

  /* ───────── Jobs bento ───────── */
  .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
  .tile { grid-column: span 6; border-radius: 28px; padding: 8px; position: relative; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; }
  .tile.w7 { grid-column: span 7; } .tile.w5 { grid-column: span 5; } .tile.w12 { grid-column: 1 / -1; min-height: 0; } .tile.w4 { grid-column: span 4; }
  @media (max-width: 1100px) and (min-width: 901px) { .tile.w4 { grid-column: span 6; } .tile.w4.billing { grid-column: 1 / -1; } }
  .core-split { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: center; gap: 0; min-height: 260px; }
  @media (max-width: 900px) { .core-split { grid-template-columns: 1fr; gap: 14px; } .arrow-col { display: none; } }
  .mail { background: var(--sunk); border-radius: 16px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
  .mail-head { display: flex; justify-content: space-between; font-size: 14px; } .mail-head span { font: 500 12px var(--mono); color: var(--muted); }
  .mail-subj { font-weight: 600; margin: 6px 0 8px; }
  .mail-body { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
  .mail-body mark { background: transparent; color: inherit; border-radius: 4px; padding: 1px 2px; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
  .mail-body mark.hit { background: color-mix(in srgb, var(--c-intake) 28%, transparent); box-shadow: inset 0 -2px 0 var(--c-intake); }
  .arrow-col { display: grid; place-items: center; height: 100%; }
  .arrow-col span { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--c-intake) 50%, transparent); background-size: 200% 100%; animation: flow 1.6s linear infinite; }
  @keyframes flow { to { background-position: -200% 0; } }
  .fields .row { opacity: .35; transition: opacity .3s var(--ease); }
  .fields .row.on { opacity: 1; }
  @media (max-width: 900px) { .tile, .tile.w7, .tile.w5 { grid-column: 1 / -1; min-height: 380px; } }
  .tile.intake { background: var(--c-intake); } .tile.diary { background: var(--c-diary); } .tile.billing { background: var(--c-billing); } .tile.calls { background: var(--c-calls); }
  .tile-top { display: flex; justify-content: space-between; align-items: start; padding: 20px 22px 14px; }
  .tile-top h3 { font-size: clamp(26px, 2.6vw, 36px); max-width: 15ch; }
  .tile.w4 .tile-top h3 { font-size: clamp(22px, 1.9vw, 27px); max-width: 13ch; }
  .tile-top .n { font: 500 13px var(--mono); white-space: nowrap; }
  .tile-top p { font-size: 15px; margin-top: 8px; max-width: 34ch; color: rgba(18,18,18,.78); }
  .core { margin-top: auto; background: var(--surface); border-radius: 22px; padding: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 30px 50px -30px rgba(0,0,0,.35); min-height: 196px; font-size: 14.5px; }
  .core .row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); align-items: center; }
  .core .row:last-child { border-bottom: 0; }
  .core .k { font: 500 11.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .core .v { min-height: 1.4em; }
  .core .v.typing::after { content: ""; display: inline-block; width: 7px; height: 1em; vertical-align: -2px; margin-left: 1px; background: var(--ink); animation: caret .9s steps(1) infinite; }
  @keyframes caret { 50% { opacity: 0; } }
  .pill-s { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--sans); padding: 4px 10px; border-radius: 999px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s; }
  .pill-s.ok { background: var(--ok-soft); color: var(--ok); box-shadow: none; }
  .pill-s.blue { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
  .week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .week .d { font: 500 11.5px var(--mono); color: var(--muted); text-align: center; text-transform: uppercase; }
  .slot { height: 34px; border-radius: 9px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font: 500 12.5px var(--sans); color: var(--ink-2); transition: background-color .3s, color .3s, transform .3s var(--spring); }
  .slot.busy { background: repeating-linear-gradient(135deg, #EFEDE7 0 5px, #E8E5DE 5px 10px); box-shadow: none; color: transparent; }
  .slot.pick { transform: scale(1.06); box-shadow: inset 0 0 0 2px var(--ink); }
  .slot.booked { background: var(--ink); color: #fff; box-shadow: none; }
  .note { margin-top: 12px; display: flex; gap: 8px; align-items: center; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .note.show { opacity: 1; transform: none; }
  .inv { display: grid; grid-template-columns: 1fr auto 128px; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); }
  .inv:last-child { border-bottom: 0; }
  .inv small { font: 500 12.5px var(--mono); color: var(--muted); }
  .inv .pill-s { justify-self: end; }
  .call-t { display: grid; gap: 8px; }
  .call-t p { padding: 9px 12px; border-radius: 12px; max-width: 88%; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .call-t p.show { opacity: 1; transform: none; }
  .call-t .them { background: var(--sunk); justify-self: start; border-top-left-radius: 4px; }
  .call-t .ai { background: var(--ink); color: #fff; justify-self: end; border-top-right-radius: 4px; }
  .call-t .ai small, .call-t .them small { display: block; font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .55; margin-bottom: 3px; }
  .eq { display: flex; gap: 3px; align-items: center; height: 22px; margin-bottom: 10px; }
  .eq i { width: 3px; height: 20px; border-radius: 2px; background: var(--ink); transform: scaleY(.2); animation: eq 1s ease-in-out infinite; }
  .eq i:nth-child(2n) { animation-delay: .15s; } .eq i:nth-child(3n) { animation-delay: .3s; } .eq i:nth-child(5n) { animation-delay: .45s; }
  @keyframes eq { 50% { transform: scaleY(1); } }

  /* ───────── Chip tabs: square colour chips like the hero sectors ───────── */
  .chiptabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
  .chiptabs button { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); letter-spacing: .03em; padding: 9px 12px; border-radius: 4px; border: 0; cursor: pointer; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s, box-shadow .25s, transform .2s var(--spring); }
  .chiptabs button::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); transition: background-color .25s; }
  .chiptabs button[aria-selected="true"] { background: var(--c); box-shadow: none; }
  .chiptabs button[aria-selected="true"]::before { background: var(--ink); }
  .chiptabs button:active { transform: scale(.97); }
  .chiptabs.dark { margin: 0; }
  .chiptabs.dark button { background: transparent; color: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
  .chiptabs.dark button[aria-selected="true"] { background: var(--c); color: var(--ink); box-shadow: none; }
  .flow-sum { font-size: 16px; color: var(--ink-2); margin: 0 0 22px; min-height: 1.6em; }

  /* ───────── Workflow: scroll-driven ─────────
   * The pin is tall; .flow-sticky holds the stage on screen while you scroll through it.
   * JS turns scroll into a step position f (0 → 3) and sets each card's transform:
   *   desktop: the four cards deal out of a pile into a row, one per scroll step
   *   below 1000px: each new card slides up and stacks on top; earlier ones shrink back and peek above
   * Inside the active card the work plays on its own, slowly, and replays with fresh details.
   */
  .flow-pin { position: relative; height: calc(100svh + 3 * var(--step-scroll, 85svh)); }
  .flow-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 92px 0 28px; overflow: hidden; }
  .flow-sticky > .wrap { width: 100%; min-width: 0; }
  .flow { --c: var(--c-intake); position: relative; }
  .flow-sum { min-height: 1.6em; }
  .flow-hint { margin: 18px 0 0; text-align: center; font: 500 12px var(--mono); color: var(--muted); letter-spacing: .04em; transition: opacity .5s var(--ease); }
  .flow-hint::after { content: "↓"; display: inline-block; margin-left: 6px; animation: nudge 1.8s var(--ease) infinite; }
  .flow-hint.gone { opacity: 0; }
  @keyframes nudge { 50% { transform: translateY(3px); } }
  .flow-cards { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .step-card { position: relative; border-radius: 22px; padding: 6px; background: #ECEAE4; box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -26px rgba(18,18,18,.35); will-change: transform; transition: transform .45s cubic-bezier(.23,1,.32,1), box-shadow .8s, background-color .8s; }
  .step-card.active { background: var(--c); box-shadow: 0 40px 70px -34px rgba(18,18,18,.45); }
  .step-card.done .step-in { opacity: 1; }
  .step-in { background: var(--surface); border-radius: 17px; padding: 16px; height: 100%; min-height: 330px; display: flex; flex-direction: column; gap: 12px; }
  .step-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .step-n { font: 500 12px var(--mono); color: var(--muted); }
  .step-badge { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px/1 var(--mono); letter-spacing: .02em; padding: 6px 8px; border-radius: 5px; background: var(--sunk); color: var(--muted); white-space: nowrap; transition: background-color .6s, color .6s; }
  .step-card.active .step-badge { background: var(--ink); color: #fff; }
  .step-card.done .step-badge { background: color-mix(in srgb, var(--c) 30%, white); color: var(--ink); }
  .step-badge .spin { display: inline-block; width: 1ch; text-align: center; }
  .step-title { font: 600 18px/1.2 var(--display); letter-spacing: -.02em; }
  .step-body { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
  .flow-steps { display: none; }
  .v-eq i { animation: none; }
  .step-card.active .v-eq i { animation: eq 1.4s ease-in-out infinite; }

  @media (max-width: 1000px) {
    .flow-pin { --step-scroll: 90svh; }
    .flow-sticky { justify-content: flex-start; padding-top: 84px; }
    .flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; }
    .flow-steps button { position: relative; width: 100%; border: 0; background: none; padding: 11px 0 0; text-align: left; font: 500 12px/1.25 var(--sans); color: var(--muted); cursor: pointer; }
    .flow-steps button::before, .flow-steps button i { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: rgba(18,18,18,.09); }
    .flow-steps button i { background: var(--c); transform: scaleX(var(--fill, 0)); transform-origin: 0 50%; }
    .flow-steps li.on button { color: var(--ink); }
    .flow-steps li.done button { color: var(--ink-2); }
    /* the stack: every card in the same cell, placed by JS */
    .flow-cards { grid-template-columns: minmax(0, 1fr); grid-template-areas: "deck"; gap: 0; padding-top: 42px; }
    .step-card { grid-area: deck; transform-origin: 50% 0; transition: transform .35s cubic-bezier(.23,1,.32,1), box-shadow .8s, background-color .8s; }
    .step-in { min-height: 380px; padding: 18px; }
    .step-title { font-size: 22px; }
    .step-body { font-size: 15px; }
    .flow-sum { font-size: 15px; margin-bottom: 14px; }
    .flow-hint { margin-top: 14px; }
  }
  @media (max-width: 1000px) and (min-width: 640px) { .flow, .flow-sum, .flow-hint { max-width: 620px; margin-left: auto; margin-right: auto; } }
  @media (max-width: 600px) {
    .flow-steps button { font-size: 10.5px; }
    .step-in { min-height: 360px; padding: 16px; }
    .step-title { font-size: 20px; }
    .chiptabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .chiptabs::-webkit-scrollbar { display: none; }
    .chiptabs button { flex: none; }
  }
  @media (max-height: 760px) and (max-width: 600px) { .flow-sum { display: none; } .step-in { min-height: 330px; } }
  @media (prefers-reduced-motion: reduce) { .step-card { transition: none; } .flow-hint::after { animation: none; } }
  /* step visuals */
  .v-mail { background: var(--sunk); border-radius: 12px; padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
  .v-mail b { display: block; font-size: 13.5px; } .v-mail small { display: block; color: var(--muted); font: 500 11.5px var(--mono); margin: 2px 0 6px; }
  .v-mail p { color: var(--ink-2); line-height: 1.55; }
  .v-mail mark { background: transparent; color: inherit; border-radius: 3px; transition: background-color .3s, box-shadow .3s; }
  .v-mail mark.hit { background: color-mix(in srgb, var(--c) 30%, transparent); box-shadow: inset 0 -2px 0 var(--c); }
  .v-row { display: grid; grid-template-columns: 78px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); opacity: .3; transition: opacity .3s; }
  .v-row.on { opacity: 1; } .v-row:last-child { border-bottom: 0; }
  .v-row span { font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
  .v-check { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: var(--sunk); opacity: .45; transition: opacity .3s, background-color .3s; }
  .v-check i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 600 11px var(--mono); font-style: normal; border: 2px solid var(--line-2); }
  .v-check.run { opacity: 1; } .v-check.run i { border-top-color: var(--ink); animation: spin .7s linear infinite; }
  .v-check.ok { opacity: 1; } .v-check.ok i { background: var(--ink); border-color: var(--ink); color: #fff; }
  .v-check.miss { opacity: 1; } .v-check.miss i { background: #fff; border-color: #D6453D; color: #D6453D; }
  .v-draft { background: var(--sunk); border-radius: 12px; padding: 12px; color: var(--ink-2); line-height: 1.55; min-height: 92px; }
  .v-draft.typing::after { content: ""; display: inline-block; width: 6px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: caret .9s steps(1) infinite; }
  .v-ok { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--spring); }
  .v-ok.show { opacity: 1; transform: none; }
  .v-ok button { border: 0; border-radius: 8px; padding: 7px 11px; font: 600 12.5px var(--sans); background: var(--c); color: var(--ink); cursor: pointer; }
  .v-bub { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--spring); }
  .v-bub.show { opacity: 1; transform: none; }
  .v-bub small { display: block; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .55; margin-bottom: 2px; }
  .v-bub.them { background: var(--sunk); align-self: flex-start; border-top-left-radius: 4px; }
  .v-bub.ai { background: var(--ink); color: #fff; align-self: flex-end; border-top-right-radius: 4px; }
  .v-bub.sms { background: var(--c); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
  .v-meta { font: 500 11px var(--mono); color: var(--muted); align-self: flex-end; opacity: 0; transition: opacity .3s; } .v-meta.show { opacity: 1; }
  .v-eq { display: flex; gap: 3px; align-items: center; height: 26px; }
  .v-eq i { width: 3px; height: 24px; border-radius: 2px; background: var(--ink); transform: scaleY(.15); }
  .step-card.active .v-eq i { animation: eq 1s ease-in-out infinite; }
  .v-eq i:nth-child(2n) { animation-delay: .15s; } .v-eq i:nth-child(3n) { animation-delay: .3s; } .v-eq i:nth-child(5n) { animation-delay: .45s; }
  .v-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .v-tags span { font: 500 12.5px var(--mono); padding: 6px 9px; border-radius: 4px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: scale(.9); transition: opacity .25s, transform .3s var(--spring), background-color .25s; }
  .v-tags span.show { opacity: 1; transform: none; } .v-tags span.key { background: var(--c); box-shadow: none; }
  .v-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .v-week .d { font: 500 10.5px var(--mono); color: var(--muted); text-align: center; text-transform: uppercase; }
  .v-week .s { height: 26px; border-radius: 6px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font: 500 11px var(--sans); color: var(--ink-2); transition: background-color .25s, transform .25s var(--spring), color .25s; }
  .v-week .s.busy { background: repeating-linear-gradient(135deg, #EFEDE7 0 4px, #E8E5DE 4px 8px); box-shadow: none; color: transparent; }
  .v-week .s.scan { transform: scale(1.08); box-shadow: inset 0 0 0 2px var(--ink); }
  .v-week .s.offer { background: var(--c); box-shadow: none; color: var(--ink); }
  .v-week .s.pick { background: var(--ink); color: #fff; box-shadow: none; }
  .v-inv { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
  .v-inv:last-child { border-bottom: 0; }
  .v-inv small { font: 500 11.5px var(--mono); color: var(--muted); grid-column: 1; }
  .v-inv .pill-s { grid-row: 1 / 3; grid-column: 2; }
  .v-link { border-radius: 14px; padding: 14px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
  .v-link b { font: 600 26px/1 var(--display); letter-spacing: -.04em; }
  .v-link .bar { height: 6px; border-radius: 6px; background: rgba(18,18,18,.08); overflow: hidden; } .v-link .bar i { display: block; height: 100%; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--spring); }
  .v-files { display: grid; gap: 6px; }
  .v-file { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--sunk); font-size: 13px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--spring); }
  .v-file.show { opacity: 1; transform: none; }
  .v-file i { width: 22px; height: 26px; border-radius: 4px; background: var(--c); font-style: normal; display: grid; place-items: center; font: 600 8px var(--mono); }
  .v-file em { font-style: normal; font: 500 11px var(--mono); color: var(--muted); }

  /* ───────── Tabs (shared) ───────── */
  .tabs { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(18,18,18,.05); margin-bottom: 18px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 500 14.5px var(--sans); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .25s; }
  .tabs button[aria-selected="true"] { color: #fff; }
  .tab-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .45s var(--spring), width .45s var(--spring); }
  .tabs.dark { background: rgba(255,255,255,.08); margin: 0; }
  .tabs.dark button { color: rgba(255,255,255,.65); }
  .tabs.dark button[aria-selected="true"] { color: var(--ink); }
  .tabs.dark .tab-ink { background: #fff; }
  .swap-out { opacity: 0 !important; transform: translateY(6px) !important; transition: opacity .18s var(--ease), transform .18s var(--ease) !important; }
  .swap-in { animation: swapin .35s var(--ease); }
  @keyframes swapin { from { opacity: 0; transform: translateY(6px); } }

  /* ───────── Never ───────── */
  .never { background: var(--ink); color: #fff; overflow: clip; }
  .rules-pin { position: relative; height: calc(100svh + 2 * 50svh); }
  .rules-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 84px 0 24px; }
  .rules-sticky > .wrap { width: 100%; min-width: 0; }
  .rules-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; font: 500 12px var(--mono); color: rgba(255,255,255,.5); letter-spacing: .04em; }
  .rules-prog { position: relative; width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
  .rules-prog i { position: absolute; inset: 0; background: var(--rc, var(--c-calls)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .3s cubic-bezier(.23,1,.32,1), background-color .5s; }
  .never-list b em { display: inline-block; }
  .never .tag { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.18); }
  .never .tag i { background: var(--c-calls); }
  .never-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  .never-list { margin: 34px 0 0; padding: 0; list-style: none; }
  .never-list.hard b em { color: var(--c-calls); } .never-list.soft b em { color: var(--c-diary); } .never-list.better b em { color: var(--c-billing); }
  .never-list li { transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .never-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
  .never-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
  .never-list b { font: 600 clamp(30px, 4.8vw, 68px)/1 var(--display); letter-spacing: -.05em; }
  .never-list b em { font-style: normal; color: rgba(255,255,255,.38); }
  .never-list span { font-size: 15px; color: rgba(255,255,255,.6); max-width: 30ch; text-align: right; }
  @media (max-width: 760px) { .never-list li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; } .never-list span { text-align: left; } .never-list b { font-size: clamp(28px, 8vw, 40px); } .never-list { margin-top: 22px; } }
  @media (max-width: 600px) { #rule-tabs { overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; gap: 5px; } #rule-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } #rule-tabs button { justify-content: center; font-size: 10.5px; letter-spacing: 0; padding: 9px 4px; white-space: nowrap; } #rule-tabs button::before { display: none; } #rule-tabs button:not([aria-selected="true"]) { box-shadow: inset 0 -2px 0 var(--c), inset 0 0 0 1px rgba(255,255,255,.2); } .never-head { gap: 12px; } }
  @media (max-height: 760px) and (max-width: 760px) { .never-list span { font-size: 13.5px; } .never-list li { padding: 12px 0; } }

  /* ───────── Pricing ───────── */
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .plan { border-radius: 28px; padding: 8px; background: rgba(18,18,18,.04); box-shadow: inset 0 0 0 1px var(--line); }
  .plan-in { border-radius: 22px; background: var(--surface); padding: 26px; height: 100%; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
  .plan .stage { align-self: start; }
  .plan .price { font: 600 46px/1 var(--display); letter-spacing: -.05em; margin: 10px 0 0; }
  .plan .price small { font: 500 15px var(--sans); color: var(--muted); letter-spacing: 0; }
  .plan .note2 { font-size: 14px; color: var(--muted); }
  .plan ul { list-style: none; padding: 16px 0 0; margin: 6px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
  .plan li::before { content: "→"; color: var(--muted); margin-right: 10px; font-family: var(--mono); }
  .plan.mid .plan-in { background: var(--ink); color: #fff; }
  .plan.mid .price small, .plan.mid .note2 { color: rgba(255,255,255,.6); }
  .plan.mid ul { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
  .plan.mid .tag { background: var(--c-billing); border-color: transparent; }

  /* ───────── Data + FAQ ───────── */
  .duo { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
  @media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
  .facts { display: grid; gap: 10px; }
  .fact { border-radius: 20px; background: var(--surface); padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
  .ficon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--ink); }
  .ficon svg { width: 22px; height: 22px; }
  .fact h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 4px; }
  .fact p { color: var(--ink-2); font-size: 15px; }
  .faq { margin-top: 70px; border-top: 1px solid var(--line-2); }
  .faq details { border-bottom: 1px solid var(--line-2); }
  .faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; font: 600 clamp(19px, 1.8vw, 24px)/1.25 var(--display); letter-spacing: -.03em; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--muted); transition: transform .3s var(--spring); }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq .a { padding: 0 0 24px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }

  /* ───────── Close: the wall again, clearing for a call ───────── */
  .close { position: relative; min-height: 86vh; display: grid; place-items: center; overflow: hidden; }
  .close .hero-copy { padding: 90px var(--pad); }
  .close h2 { font-size: clamp(52px, 9vw, 140px); line-height: .9; letter-spacing: -.06em; margin: 16px 0 22px; }
  .close h2 .dim { display: block; color: var(--muted); }
  .foot { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 30px; }
  .foot-top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line-2); }
  @media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; } }
  .foot-brand p { color: var(--ink-2); margin: 14px 0 20px; max-width: 36ch; }
  .foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  @media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
  .foot-cols p { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
  .foot-cols a { display: block; text-decoration: none; padding: 5px 0; font-size: 15px; color: var(--ink); }
  @media (hover: hover) and (pointer: fine) { .foot-cols a:hover { color: var(--cta); } }
  .foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; color: var(--muted); font-size: 13.5px; }

  /* Live demo workspace */
  .demo { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .builder { display: flex; gap: 8px; max-width: 620px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
  .builder span { display: flex; align-items: center; padding-left: 12px; color: var(--muted); font: 500 14px var(--mono); }
  .builder input { flex: 1; min-width: 0; border: 0; outline: none; font: 500 16px var(--sans); color: var(--ink); background: transparent; }
  @media (max-width: 520px) { .builder { flex-wrap: wrap; } .builder span { display: none; } .builder input { flex-basis: 100%; height: 44px; padding: 0 10px; } .builder .btn { width: 100%; } }
  .builder-note { text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
  .builder-err { text-align: center; min-height: 1.5em; margin-top: 8px; font-size: 14px; color: #B42318; }
  .ws { margin-top: 40px; }
  .ws[hidden] { display: none; }
  .ws .app-body { grid-template-columns: 360px 1fr; min-height: 600px; }
  @media (max-width: 960px) { .ws .app-body { grid-template-columns: 1fr; } }
  .brief { border-right: 1px solid var(--line); background: var(--sunk); padding: 18px; overflow-y: auto; max-height: 72vh; }
  @media (max-width: 960px) { .brief { border-right: 0; border-bottom: 1px solid var(--line); max-height: none; } }
  .brief-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
  .brief-logo { width: 46px; height: 46px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); object-fit: contain; padding: 4px; }
  .brief-name { font: 600 19px/1.15 var(--display); letter-spacing: -.01em; }
  .brief-trade { font-size: 12.5px; color: var(--muted); }
  .log { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
  .log li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); animation: fade .35s var(--ease) both; }
  .log li i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
  .log li.done i { border: 0; background: var(--ok); animation: none; position: relative; }
  .log li.done i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes fade { from { opacity: 0; transform: translateY(4px); } }
  .dna { display: grid; gap: 8px; }
  .dna .row { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; animation: fade .4s var(--ease) both; }
  .dna .row span { display: block; font: 500 10.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
  .dna .row p { font-size: 13px; color: var(--ink); line-height: 1.45; }
  .dna .pills { display: flex; flex-wrap: wrap; gap: 4px; }
  .dna .pills em { font-style: normal; font-size: 12px; padding: 2px 7px; border-radius: 6px; background: var(--sunk); border: 1px solid var(--line); }
  .rules-box { margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
  .rules-box ol { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); }
  .rules-box li { padding: 2px 0; animation: fade .4s var(--ease) both; }
  .chat { display: flex; flex-direction: column; min-height: 600px; max-height: 72vh; }
  @media (max-width: 960px) { .chat { min-height: 520px; } }
  .chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
  .chat-head .who { font-weight: 600; }
  .chat-head .meta { margin-left: auto; font: 500 11.5px var(--mono); color: var(--muted); }
  .thread { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(var(--surface), var(--sunk)); }
  .loading { margin: auto; text-align: center; display: grid; gap: 14px; justify-items: center; color: var(--muted); font-size: 13.5px; }
  .loading img { width: min(320px, 70%); border-radius: 14px; box-shadow: var(--shadow); }
  .bubble { max-width: 80%; font-size: 14.5px; line-height: 1.5; animation: fade .3s var(--ease) both; }
  .bubble small { display: block; font: 500 10.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
  .bubble p { padding: 10px 13px; border-radius: 12px; white-space: pre-wrap; }
  .bubble.agent p { background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; box-shadow: var(--shadow-sm); }
  .bubble.user { align-self: flex-end; text-align: right; }
  .bubble.user p { background: var(--ink); color: #fff; border-top-right-radius: 4px; text-align: left; }
  .bubble.voice small::after { content: " · voice"; color: var(--accent); }
  .tool-line { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; font: 500 12px var(--sans); color: var(--ok); background: var(--ok-soft); padding: 5px 10px; border-radius: 8px; }
  .tool-line.run { color: var(--accent); background: var(--accent-soft); }
  .typing-dots { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; border-top-left-radius: 4px; width: max-content; }
  .typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: bob 1.1s infinite; }
  .typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes bob { 30% { transform: translateY(-4px); background: var(--muted); } }
  .suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; }
  .suggest[hidden], .composer[hidden], .voice-box[hidden] { display: none; }
  .suggest button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 11px; font: 500 12.5px var(--sans); color: var(--ink-2); cursor: pointer; }
  .suggest button:hover { border-color: var(--ink); color: var(--ink); }
  .composer { display: flex; gap: 8px; padding: 12px 16px; }
  .composer input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; font: 15px var(--sans); outline: none; background: var(--surface); }
  .composer input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .voice-box { padding: 16px; display: grid; gap: 10px; justify-items: center; border-top: 1px solid var(--line); }
  .wave { display: flex; gap: 3px; align-items: center; height: 44px; }
  .wave i { width: 4px; height: 6px; border-radius: 2px; background: var(--accent); }
  .wave[data-phase="speaking"] i { animation: talk .8s ease-in-out infinite; }
  .wave[data-phase="listening"] i { animation: listen 1.6s ease-in-out infinite; }
  .wave[data-phase="thinking"] i, .wave[data-phase="connecting"] i { animation: think 1.1s ease-in-out infinite; opacity: .5; }
  .wave i:nth-child(2n) { animation-delay: .1s; } .wave i:nth-child(3n) { animation-delay: .22s; } .wave i:nth-child(5n) { animation-delay: .35s; }
  @keyframes talk { 50% { height: 40px; } }
  @keyframes listen { 50% { height: 14px; } }
  @keyframes think { 50% { height: 10px; opacity: 1; } }
  .voice-phase { font: 600 16px var(--display); }
  .voice-meta { font: 500 11.5px var(--mono); color: var(--muted); }
  .dock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: var(--sunk); }
  .dock .btn { width: 100%; }
  .dock .btn.book { background: var(--accent); border-color: var(--accent); }

  /* Booking dialog */
  dialog.book { width: min(640px, 94vw); max-height: 92vh; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); color: var(--ink); }
  dialog.book::backdrop { background: rgba(15,16,19,.45); backdrop-filter: blur(3px); }
  .bk { padding: 24px; max-height: 92vh; overflow-y: auto; }
  .bk-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }
  .bk-top h3 { font-size: 24px; }
  .bk-top p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
  .x { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; flex: none; }
  .bk-step { margin-top: 16px; }
  .bk-step[hidden] { display: none; }
  .bk-label { font: 600 12px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
  .opts { display: flex; flex-wrap: wrap; gap: 6px; }
  .opts button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; padding: 8px 12px; font: 500 13.5px var(--sans); cursor: pointer; text-align: left; }
  .opts button small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
  .opts button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
  .opts button[aria-pressed="true"] small { color: var(--accent); }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  @media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
  .form-grid label { display: grid; gap: 5px; font: 500 12.5px var(--sans); color: var(--ink-2); }
  .form-grid .full { grid-column: 1 / -1; }
  .form-grid input, .form-grid textarea { font: 14.5px var(--sans); padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; outline: none; color: var(--ink); background: var(--surface); }
  .form-grid input:focus, .form-grid textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .form-grid textarea { min-height: 72px; resize: vertical; }
  .bk-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
  .bk-msg { margin-top: 14px; min-height: 1.4em; font-size: 14px; color: #B42318; }
  .bk-msg.calm { color: var(--muted); }
  .done-box { text-align: center; padding: 10px 0 4px; }
  .done-box .ok-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 24px; margin: 0 auto 12px; }
  .done-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; text-align: left; max-width: 380px; margin: 16px auto 0; font-size: 14px; }
  .done-box dt { color: var(--muted); }
  .done-box dd { margin: 0; }

  /* Composer: one pill, round send button */
  .composer { padding: 10px 14px 12px; }
  .composer { position: relative; }
  .composer input { height: 50px; border-radius: 999px; padding: 0 60px 0 18px; box-shadow: var(--shadow-sm); }
  .composer .send { position: absolute; right: 21px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: #fff; border: 0; cursor: pointer; transition: transform .2s var(--spring), background-color .2s, opacity .2s; }
  .composer .send svg { width: 17px; height: 17px; }
  .composer .send:disabled { background: var(--line-2); color: var(--muted); opacity: 1; }
  .composer .send:not(:disabled):active { transform: translateY(-50%) scale(.92); }
  @media (hover: hover) and (pointer: fine) { .composer .send:not(:disabled):hover svg { transform: translateY(-1px); } }
  .composer .send svg { transition: transform .2s var(--spring); }

  /* ───────── Small screens, section by section ───────── */
  .hud-tick { display: none; }
  .hud .short { display: none; }
  @media (max-width: 640px) { .hud .long { display: none; } .hud .short { display: inline; } }
  @media (max-width: 640px) {
    /* Hero: sectors on one line, the tools chip below; the agent's work shows inside the bar, not over the copy. */
    .chips { gap: 5px; }
    .chips span, .chips a, .more { font-size: 11.5px; padding: 6px 8px; }
    .bubbles { display: none; }
    .hud { left: 12px; right: 12px; transform: none; bottom: 14px; gap: 10px; padding: 6px 6px 6px 14px; max-width: none; }
    .hud-label { display: none; }
    .hud-tick { display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.75); }
    .hud b { min-width: 2ch; order: -1; }
    .hud .pill { padding: 8px 10px; font-size: 12px; }
    .hero-copy { padding-bottom: 96px; }
    /* Demo builder: one pill, button inside. */
    .builder { flex-wrap: nowrap; }
    .builder input { flex-basis: auto; height: 46px; padding: 0 6px 0 12px; }
    .builder .btn { width: auto; height: 46px; padding: 0 16px; font-size: 14px; }
  }
  /* Pricing: three across while there is room, then a swipeable row. */
  @media (max-width: 1000px) { .plan .price { font-size: 38px; } .plan-in { padding: 22px; } }
  @media (max-width: 700px) {
    .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 10px; scrollbar-width: none; }
    .plans::-webkit-scrollbar { display: none; }
    .plan { flex: 0 0 min(84%, 360px); scroll-snap-align: center; }
    .plan-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
    .plan-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background-color .25s, transform .25s var(--spring); }
    .plan-dots i.on { background: var(--ink); transform: scale(1.2); }
  }
  .plan-dots { display: none; }
  @media (max-width: 700px) { .plan-dots { display: flex; } }

  /* demo + dialog re-skin */
  .demo { background: transparent; border: 0; }
  .demo .sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
  .demo .sec-head .sub { margin: 0 auto; }
  .kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 7px 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; }
  .kicker .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--c-calls); }
  .app { position: relative; background: var(--surface); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); overflow: hidden; }
  .app-bar { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--sunk); }
  .lights { display: flex; gap: 6px; } .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
  .app-bar .title { font: 500 13.5px var(--sans); color: var(--muted); } .app-bar .title b { color: var(--ink); font-weight: 600; }
  .example { margin-left: auto; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--c-billing); padding: 5px 9px; border-radius: 999px; }
  .app-body { display: grid; }
  .builder { border-radius: 999px; padding: 6px; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); border: 0; }
  .builder .btn { height: 46px; padding: 0 20px; }
  .dock .btn { justify-content: center; padding: 0 16px; height: 46px; }
  .dock .btn.book { background: var(--cta); }
  .btn.ghost.sm { height: 36px; }
  .bubble p { border-radius: 16px; }
  .bubble.user p { background: var(--ink); }
  .log li i { border-top-color: var(--cta); }
  .opts button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
  .opts button[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
  dialog.book { border-radius: 26px; }
  .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

  /* Demo workspace: always fits the screen; either side can take it over. */
  .ws { height: calc(100dvh - 104px); min-height: 520px; max-height: 920px; display: flex; flex-direction: column; }
  .ws[hidden] { display: none; }
  .ws .app-body { flex: 1; min-height: 0; grid-template-columns: 380px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); transition: grid-template-columns .5s var(--spring); }
  .ws[data-focus="chat"] .app-body { grid-template-columns: 52px minmax(0, 1fr); }
  .ws[data-focus="brief"] .app-body { grid-template-columns: minmax(0, 1fr) 52px; }
  .ws .brief, .ws .chat { min-height: 0; max-height: none; position: relative; }
  .ws .chat { min-height: 0; }
  .pane .rail { display: none; }
  .ws[data-focus="chat"] .brief > :not(.rail), .ws[data-focus="brief"] .chat > :not(.rail) { display: none; }
  .ws[data-focus="chat"] .brief, .ws[data-focus="brief"] .chat { padding: 0; overflow: hidden; background: var(--sunk); }
  .ws[data-focus="chat"] .brief .rail, .ws[data-focus="brief"] .chat .rail { display: grid; place-items: center; width: 100%; height: 100%; border: 0; background: none; cursor: pointer; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .rail span { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-flex; align-items: center; gap: 8px; }
  .rail span::before { content: "⤢"; transform: rotate(90deg); }
  .pane-tools { position: sticky; top: 0; z-index: 2; height: 0; display: flex; justify-content: flex-end; }
  .pane-btn { width: 30px; height: 30px; border-radius: 9px; border: 0; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; flex: none; transition: transform .2s var(--spring), background-color .2s; }
  .pane-btn svg { width: 14px; height: 14px; }
  .pane-btn[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
  .pane-btn[aria-pressed="true"] svg { transform: rotate(180deg); }
  .pane-btn:active { transform: scale(.94); }
  .chat-head .pane-btn { margin-left: 8px; }
  .ws[data-focus="brief"] .dna { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
  @media (max-width: 960px) {
    .ws { height: calc(100dvh - 100px); }
    .ws .app-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, .9fr) minmax(0, 1.4fr); transition: grid-template-rows .5s var(--spring); }
    .ws[data-focus="chat"] .app-body, .ws[data-focus="brief"] .app-body { grid-template-columns: 1fr; }
    .rail span { writing-mode: horizontal-tb; transform: none; }
    /* One pane at a time: the other becomes a bar you tap to swap to. */
    .ws[data-focus="chat"] .brief .rail, .ws[data-focus="brief"] .chat .rail { justify-content: start; padding: 0 16px; font-size: 12.5px; letter-spacing: .04em; text-transform: none; font-family: var(--sans); font-weight: 600; color: var(--ink); }
    .ws[data-focus="chat"] .brief .rail span::after, .ws[data-focus="brief"] .chat .rail span::after { content: "Tap to open"; margin-left: auto; font: 500 11px var(--mono); color: var(--muted); }
    .ws[data-focus="chat"] .brief .rail span, .ws[data-focus="brief"] .chat .rail span { width: 100%; }
    .ws[data-focus="brief"] .chat { border-top: 1px solid var(--line); }
    .ws[data-focus="brief"] .chat .rail { background: var(--ink); color: #fff; }
    .ws[data-focus="brief"] .chat .rail span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-billing); transform: none; }
    .ws[data-focus="brief"] .chat .rail span::after { color: rgba(255,255,255,.6); }
    .ws[data-focus="chat"] .brief .rail span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c-diary); transform: none; }
    .ws[data-focus="chat"] .brief { border-bottom: 1px solid var(--line); }
    .ws[data-focus="chat"] .brief .rail { background: var(--ink); color: #fff; }
    .ws[data-focus="chat"] .brief .rail span::after { color: rgba(255,255,255,.6); }
    .ws .app-body { grid-template-rows: minmax(0, 1fr) 52px; }
    .ws[data-focus="chat"] .app-body { grid-template-rows: 52px minmax(0, 1fr); }
    .ws[data-focus="brief"] .app-body { grid-template-rows: minmax(0, 1fr) 52px; }
    .pane-btn { display: none; }
    .ws .brief { overflow-y: auto; }
  }
  @media (max-width: 600px) { .ws .dock { grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 8px; } .ws .dock .btn { height: 40px; font-size: 13px; padding: 0 8px; } .ws .suggest { display: none; } }
  .dna .agent-row { background: color-mix(in srgb, var(--c-diary) 26%, white); border-color: transparent; }
  .agent-tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--mono); padding: 3px 7px; border-radius: 4px; background: var(--c-diary); color: var(--ink); margin-left: 6px; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .r { opacity: 1; transform: none; filter: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }

  /* ═════════ Pages built by scripts/site/build.py (about, industries, workflows, legal) ═════════ */
  .page-hero { position: relative; padding: clamp(140px, 20vh, 200px) 0 clamp(64px, 10vh, 110px); }
  .page-hero .wrap { display: grid; gap: 22px; justify-items: start; }
  .page-hero h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: .94; letter-spacing: -.055em; max-width: 16ch; margin: 0; }
  .page-hero h1 span { display: block; color: var(--muted); }
  .page-hero .sub { font-size: clamp(17px, 1.45vw, 20px); max-width: 60ch; }
  .page-hero .tag i, .sec-tag i { background: var(--c, var(--cta)); }
  .crumbs { font: 500 12.5px var(--mono); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
  .crumbs a { color: var(--muted); text-decoration: none; }
  @media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); } }
  .page section { padding: clamp(72px, 11vh, 140px) 0; }
  .page section + section { padding-top: 0; }
  .page h2 { font-size: clamp(32px, 4.4vw, 60px); max-width: 20ch; }
  .lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 62ch; }

  /* cards */
  .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (max-width: 960px) { .cards, .cards.two { grid-template-columns: 1fr; } }
  .card { border-radius: 22px; padding: 6px; background: rgba(18,18,18,.04); box-shadow: inset 0 0 0 1px var(--line); display: flex; }
  .card-in { flex: 1; border-radius: 17px; background: var(--surface); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
  .card .kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .card .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--c-intake)); }
  .card h3 { font-size: 21px; letter-spacing: -.025em; }
  .card p { color: var(--ink-2); font-size: 15.5px; }
  a.card { text-decoration: none; color: inherit; transition: transform .3s var(--spring); }
  a.card:active { transform: scale(.99); }
  @media (hover: hover) and (pointer: fine) { a.card:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
  .card .go { margin-top: auto; padding-top: 6px; font: 500 13px var(--mono); color: var(--ink); }

  /* steps: a numbered run of what happens, and who does it */
  .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
  .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 22px 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .steps .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 600 14px var(--mono); background: var(--c, var(--c-intake)); color: var(--ink); }
  .steps h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 6px; }
  .steps p { color: var(--ink-2); font-size: 15.5px; max-width: 70ch; }
  .who { font: 500 11.5px/1 var(--mono); letter-spacing: .04em; padding: 7px 9px; border-radius: 5px; white-space: nowrap; }
  .who.auto { background: var(--ok-soft); color: var(--ok); }
  .who.you { background: #FFF1D6; color: var(--warn); }
  @media (max-width: 700px) { .steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 18px; gap: 14px; } .steps .who { grid-column: 2; justify-self: start; } }

  /* split: prose beside a checklist */
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
  @media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
  .split .prose p + p { margin-top: 14px; }
  .prose p { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
  .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; }
  .ticks li::before { content: "✓"; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--c, var(--c-billing)); color: var(--ink); }

  /* example conversation (.convo: .example is the demo's app-bar pill) */
  .convo { max-width: 760px; display: grid; gap: 10px; padding: 22px; font: 400 15px/1.5 var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
  .convo .v-bub.them { justify-self: start; } .convo .v-bub.ai, .convo .v-bub.sms { justify-self: end; }
  .convo .v-bub { opacity: 1; transform: none; max-width: 86%; font-size: 15px; }
  .convo .note { font: 500 12px var(--mono); color: var(--muted); text-align: center; margin: 4px 0; opacity: 1; transform: none; display: block; }

  /* static rules list on dark */
  .page .never { padding: clamp(80px, 12vh, 140px) 0; }
  .page .never-list b { font-size: clamp(28px, 3.8vw, 52px); }

  /* related links */
  .related { display: flex; flex-wrap: wrap; gap: 8px; }
  .related a { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); padding: 10px 12px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); text-decoration: none; }
  .related a::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--c-intake)); }
  @media (hover: hover) and (pointer: fine) { .related a:hover { box-shadow: inset 0 0 0 1px var(--ink); } }

  /* about */
  .about-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
  @media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }
  .portrait { border-radius: 28px; padding: 7px; background: conic-gradient(from 90deg, var(--c-intake) 0 25%, var(--c-diary) 0 50%, var(--c-billing) 0 75%, var(--c-calls) 0); box-shadow: var(--shadow-lg); max-width: 420px; justify-self: center; width: 100%; }
  .portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: var(--sunk); }
  .facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  @media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } }
  .facts-row div { padding: 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .facts-row b { display: block; font: 600 22px/1.15 var(--display); letter-spacing: -.03em; margin-bottom: 6px; }
  .facts-row span { color: var(--ink-2); font-size: 14.5px; }

  /* legal and other long-form documents */
  .doc { max-width: 760px; }
  .doc h2 { font-size: 24px; letter-spacing: -.03em; margin: 44px 0 10px; max-width: none; }
  .doc p, .doc li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
  .doc ul { padding-left: 20px; }
  .doc a { color: var(--cta); }
  .doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; display: block; overflow-x: auto; }
  .doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-2); vertical-align: top; min-width: 120px; }
  .doc th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .doc .note { background: var(--surface); border-radius: 14px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; }
  .doc .meta { color: var(--muted); font-size: 15px; }

  /* footer with five columns */
  .foot-cols.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  @media (max-width: 1100px) { .foot-cols.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .foot-cols.five { grid-template-columns: 1fr 1fr; } }
  .foot-top.wide { grid-template-columns: .8fr 2.2fr; }
  @media (max-width: 1100px) { .foot-top.wide { grid-template-columns: 1fr; } }

  /* work: image cards that link out */
  .works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  @media (max-width: 860px) { .works { grid-template-columns: 1fr; } }
  .work { display: flex; flex-direction: column; border-radius: 24px; padding: 6px; background: rgba(18,18,18,.04); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--spring); }
  .work:active { transform: scale(.99); }
  @media (hover: hover) and (pointer: fine) { .work:hover { box-shadow: inset 0 0 0 1px var(--ink); } .work:hover .shot img { transform: scale(1.025); } }
  .work .shot { display: block; overflow: hidden; border-radius: 18px 18px 6px 6px; background: var(--sunk); aspect-ratio: 16 / 10; }
  .work .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--spring); }
  .work-in { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 16px; }
  .work-in .kicker { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .work-in h3 { font-size: 22px; letter-spacing: -.03em; }
  .work-in p { color: var(--ink-2); font-size: 15.5px; }
  .work-in .go { font: 500 13px var(--mono); color: var(--ink); margin-top: 4px; }
