*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: var(--size-body)/var(--leading-body) var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display); line-height: var(--leading-display); margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
/* Gaps are ink to ink: trim each text block to its cap height and baseline */
h1, h2, h3, p, .kicker, .lead, figcaption { text-box: trim-both cap alphabetic; }
a { color: inherit; }

.wrap { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-pad) 0; }
.lead { font-size: var(--size-lead); color: var(--ink-soft); max-width: 36ch; }
.kicker { font-weight: 600; color: var(--ink-soft); margin-bottom: var(--space-text); }

/* Primary button: near-black (near-white in dark), flat (18 Nov: the user asked for no shadow) */
.button { display: inline-block; padding: var(--s1) var(--s3); border-radius: var(--r-control);
  background: var(--btn); color: var(--btn-ink); font-weight: 560; letter-spacing: -0.01em; text-decoration: none;
  transition: background .15s ease, transform .15s ease; }
.button:hover { background: var(--btn-hover); }
/* Hover: one soft band of light sweeps across left to right, once per hover (18 Nov, the user's ask in place of the 2px lift) */
.button:not(.quiet) { position: relative; overflow: hidden; isolation: isolate; }
.button:not(.quiet)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-100%);
  background: linear-gradient(105deg, transparent 30%, oklch(1 0 0 / calc(0.3 - 0.16 * var(--dark))) 50%, transparent 70%); }
.button:not(.quiet):hover::after { animation: btn-sheen .7s cubic-bezier(0.33, 1, 0.68, 1); }
@keyframes btn-sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .button:not(.quiet):hover::after { animation: none; } }
.button:active { transform: translateY(2px); transition-duration: .15s; } /* pushdown on press, after tablomat.com's hero CTA */
.button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.button.quiet { background: transparent; color: var(--ink); padding-left: 0; padding-right: 0; box-shadow: none; }
.button.quiet:hover { background: transparent; color: var(--ink-soft); box-shadow: none; }
.button.quiet:hover, .button.quiet:active { transform: none; }
.button.go { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; gap: 3px; } /* 18 Nov: drawn arrow in place of the → glyph */
.button.go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.button.go:hover svg { transform: translateX(3px); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: var(--paper); transition: box-shadow .25s ease; }
.top.scrolled { box-shadow: var(--shadow-bar); }
.top .wrap { display: flex; align-items: center; gap: var(--s4); padding-top: var(--s2); padding-bottom: var(--s2); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1; letter-spacing: -0.02em; text-decoration: none; position: relative; top: -2px; }
.brand-mark { width: 28px; height: 28px; flex: none; transform: translateY(1px); }
.brand-steps { fill: var(--ink); stroke: var(--ink); }
.brand-base { fill: var(--ink); }
/* Nav items after tablomat.com: padded text links, a soft fill on hover, a hairline before the account links */
.top nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.top nav a { display: flex; align-items: center; padding: 12px 16px; border-radius: 10px; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s; }
.top nav a:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 5%, var(--paper)); }
.bp-snap .top nav a { transition: none !important; } /* set by nav.js for two frames when the window crosses 900 */
.top nav .sep { align-self: stretch; margin: 8px 0; border-right: 1px solid var(--line); }

/* Hero */
.hero { --hero-top: var(--s7); padding: var(--hero-top) 0 var(--s8); min-height: max(640px, 100svh);
  display: flex; align-items: center; overflow-x: clip; }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.hero h1 { max-width: 12ch; text-wrap: pretty; }
.hero .lead { margin-top: var(--space-lead); }
.hero .actions { display: flex; gap: var(--s4); align-items: center; margin-top: var(--space-actions); }

/* Desk layout (preview panel, Layout): the headline, lead and actions centred on top, the app rising underneath in a wider
   design space, cut by the hero's bottom edge so only its top shows. */
@media (min-width: 761px) {
  .hero.desk { min-height: 0; display: block; padding-bottom: 0; }
  .hero.desk .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s8); justify-items: center; }
  .hero.desk .hero-text { display: grid; justify-items: center; text-align: center; max-width: 800px; }
  .hero.desk h1 { max-width: none; }
  .hero.desk .lead { max-width: 640px; }
  .hero.desk .stage { width: 100%; height: var(--desk-show, 600px); display: grid; justify-items: center; align-content: start;
    clip-path: inset(-400px -100vw 0 -100vw); }
  .hero.desk .pv-scene { --pv-w: 1280; --pv-h: 800; --desk-w: min(1280px, calc(100vw - 2 * var(--s5))); width: var(--desk-w);
    margin-inline: calc((100% - var(--desk-w)) / 2); justify-self: start; perspective-origin: 50% 0; }
  .hero.desk .pv-app { grid-template-columns: 224px 360px 1fr; border-radius: 12px; }
}

/* Text Only layout (preview panel, Layout): no product picture; the desk layout's centred headline, lead and actions,
   centred both ways in the first screen below the top bar. */
.hero.solo { --hero-top: var(--s7); min-height: calc(100svh - var(--top-h, 78px)); padding-top: var(--hero-top); padding-bottom: var(--s7);
  display: flex; align-items: center; }
body.nb-canvas .hero.solo { min-height: 100svh; padding-top: calc(var(--s7) + var(--bar-h)); } /* hero runs under the bar: pad the bar back */
.hero.solo .stage { display: none; }
.hero.solo .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hero.solo .hero-text { display: grid; justify-items: center; text-align: center; max-width: 800px; }
.hero.solo h1 { max-width: none; }
.hero.solo .lead { max-width: 640px; }
.hero.solo .actions { justify-content: center; }
@media (max-width: 760px) { .hero.solo .actions { align-items: center; } }

/* Hero product preview: the real app's Inbox, drawn 1:1 at its own sizes (14px UI, 16px messages) in a fixed design
   space and zoomed to fit the column. preview.js sets the zoom, the tilt and the effects. */
.stage { position: relative; }
.pv-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pv-scene { --pv-w: 1000; --pv-h: 680; --pv-shell: oklch(calc(var(--l-alt) - .012) 0 0); position: relative; width: min(calc(var(--pv-w) * 1px), calc(100% + max(0px, (100vw - var(--page-width)) / 2 - var(--s5)))); aspect-ratio: var(--pv-w) / var(--pv-h); perspective: 1600px; perspective-origin: 30% 50%; }
.pv-glow { position: absolute; inset: 8% 4% 4% 8%; border-radius: 50%; background: radial-gradient(closest-side, var(--accent), transparent);
  filter: blur(48px); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.pv-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform; }
.pv-fit { position: relative; width: calc(var(--pv-w) * 1px); height: calc(var(--pv-h) * 1px); transform-style: preserve-3d; }
.pv-fit, .pv-fit * { text-box: normal; }
.pv-fit p, .pv-fit ul, .pv-fit ol, .pv-fit h4 { margin: 0; }
.pv-fit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* The window: grey shell, sidebar and tab strip on the shell, white panes inset 8px */
.pv-app { position: absolute; inset: 0; display: grid; grid-template-columns: 200px 320px 1fr; grid-template-rows: 44px 1fr; gap: 0 8px;
  padding: 0 8px 8px 0; background: var(--pv-shell); border-radius: 12px; box-shadow: var(--pv-shadow, var(--shadow-3)); overflow: hidden;
  font-size: 14px; line-height: 20px; color: var(--ink-soft); text-align: left; transform-style: preserve-3d; transition: background .4s ease, box-shadow .4s ease; }
.pv-fit b, .pv-fit strong { font-weight: 500; color: var(--ink); }
.pv-side { grid-row: 1 / 3; display: flex; flex-direction: column; padding: 12px; gap: 2px; }
.pv-org { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px; margin-bottom: 18px; }
.pv-org b { flex: 1; font-weight: 600; }
.pv-org svg { width: 16px; height: 16px; }
.pv-orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, oklch(from var(--accent) calc(l + .2) c h), var(--accent)); }
.pv-nav { display: grid; gap: 4px; }
.pv-nav span { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px; border-radius: 8px; }
.pv-nav span.on { background: color-mix(in oklab, var(--ink) 7%, var(--paper-alt)); color: var(--ink); }
.pv-nav kbd { margin-left: auto; font: inherit; color: var(--ink-soft); }
.pv-nav em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.pv-label { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 8px; margin-top: 18px; }
.pv-label svg { width: 16px; height: 16px; }
.pv-agents span { gap: 8px; color: var(--ink); font-weight: 600; }
/* As the app's sidebar: a 20px person in the muted ink, its presence dot 10px with its 2px ring in the shell, at the bottom right */
.pv-person { position: relative; display: grid; font-style: normal; color: var(--ink-soft); }
.pv-person svg { width: 20px; height: 20px; }
.live .pv-person::after { content: ""; position: absolute; right: 0; bottom: 0; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.68 0.17 150);
  box-shadow: 0 0 0 2px var(--pv-shell); }
/* The app's load chip: 20px, radius 6, 14/500, amber for busy */
.pv-load { margin-left: auto; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 500;
  background: color-mix(in oklab, oklch(0.924 0.12 95.746) calc(70% - 50% * var(--dark)), oklch(0.828 0.189 84.429 / calc(.2 * var(--dark))));
  color: color-mix(in oklab, oklch(0.414 0.112 45.904) calc(100% - 100% * var(--dark)), oklch(0.924 0.12 95.746)); }
.pv-foot { margin-top: auto; display: flex; gap: 18px; padding: 8px; }
.pv-foot .end { margin-left: auto; }
.pv-tabs { grid-column: 2 / 4; display: flex; align-items: center; gap: 4px; }
.pv-tabs span { width: 44px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.pv-tabs span.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.pv-tabs .add { margin-left: auto; width: 32px; }

/* Panes */
.pv-pane, .pv-card { background: var(--surface); border-radius: 8px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.pv-head { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line); flex: none; }
.pv-head b { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-head svg { color: var(--ink-soft); }
.pv-head b + svg, .pv-head .pv-btn + svg { margin-left: 4px; }
.pv-btn { height: 30px; padding: 0 10px; display: grid; place-items: center; border-radius: 6px; background: var(--paper-alt); color: var(--ink); white-space: nowrap; }
.pv-switch { display: inline-flex; align-self: flex-start; margin: 24px 0 16px 20px; padding: 4px; border-radius: 8px; background: var(--paper-alt); }
.pv-switch span { padding: 6px 16px; border-radius: 6px; }
.pv-switch .on { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.pv-rows { list-style: none; padding: 0 12px; display: grid; gap: 4px; }
.pv-rows li { display: grid; gap: 6px; padding: 8px; border-radius: 8px; }
.pv-rows li.on { background: var(--paper-alt); }
.pv-rows p { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.pv-rows p:first-child b { flex: 1; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.pv-rows li.on p:first-child b { font-weight: 600; }
.pv-rows p:last-child { display: block; text-overflow: ellipsis; }
.pv-rows time { display: flex; align-items: center; gap: 6px; }
.pv-rows time svg { width: 16px; height: 16px; color: oklch(0.6 0.15 150); stroke-width: 2.25; }
.pv-rows .done b, .pv-rows .done .pv-chip { color: var(--ink-soft); font-weight: 400; }
.pv-rows .done .pv-chip { background: none; padding: 0; }
.pv-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px; font-size: 14px; line-height: 20px; margin-right: 6px; border-radius: 6px; background: var(--paper-alt);
  color: var(--ink); font-weight: 500; vertical-align: middle; }
.pv-chip svg { width: 14px; height: 14px; color: var(--ink-soft); }

.pv-feed { flex: 1; display: flex; flex-direction: column; gap: 22px; padding: 24px 28px 0; font-size: 16px; line-height: 28px; color: var(--ink); overflow: hidden; }
.pv-you-name { align-self: flex-end; margin: 0 4px -6px 0; font-size: var(--size-small); font-weight: 500; color: var(--ink-soft); } /* 18 Nov: user asked for "You" over the user's message */
.pv-you { align-self: flex-end; max-width: 85%; padding: 8px 16px; border-radius: 16px; background: var(--paper-alt); }
.pv-msg { display: grid; justify-items: start; gap: 8px; }
.pv-msg ol { padding-left: 24px; }
.pv-doc { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line); }
.pv-doc svg { color: var(--ink-soft); }
.pv-meta { display: flex; gap: 16px; font-size: 14px; color: var(--ink-soft); }
.pv-composer { display: flex; align-items: center; gap: 14px; height: 56px; margin: 0 24px 20px; padding: 0 16px 0 20px; border-radius: 24px; flex: none;
  background: var(--paper-alt); }
.pv-composer span { flex: 1; font-size: 16px; }
.pv-composer .send { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }

/* Layered cards: the thread, a document behind it and the team in front, apart in depth */
.pv-card { position: absolute; opacity: 0; visibility: hidden; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1), visibility 0s .4s;
  box-shadow: var(--pv-shadow, var(--shadow-3)); font-size: 14px; line-height: 20px; color: var(--ink-soft); text-align: left; }
.pv-docpage { left: 0; top: 0; width: 420px; height: 470px; }
.pv-docbody { padding: 32px 36px; display: grid; gap: 16px; font-size: 16px; line-height: 26px; }
.pv-docbody h4 { font-size: 25px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.pv-opt { display: grid; gap: 8px; padding: 20px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.pv-opt.on { box-shadow: inset 0 0 0 2px var(--accent); }
.pv-opt small { font-size: 14px; }
.pv-opt strong { font-size: 25px; line-height: 30px; font-weight: 600; letter-spacing: -.03em; }
.pv-teamcard { left: -10px; top: 400px; width: 290px; }
.pv-teamcard ul { list-style: none; padding: 12px 16px 16px; display: grid; gap: 4px; }
.pv-teamcard li { display: flex; gap: 12px; align-items: center; padding: 8px; }
.pv-teamcard p { display: grid; }
.pv-teamcard .live .pv-person::after { box-shadow: 0 0 0 2px var(--surface); }
.pv-scene.layered .pv-card { opacity: 1; visibility: visible; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.pv-scene.layered .pv-app { background: transparent; box-shadow: none; padding: 0; overflow: visible; }
.pv-scene.layered .pv-side, .pv-scene.layered .pv-tabs, .pv-scene.layered .pv-list { visibility: hidden; }
.pv-scene.layered .pv-thread { position: absolute; left: 330px; top: 30px; width: 640px; height: 560px; box-shadow: var(--pv-shadow, var(--shadow-3)); }
.pv-thread { transition: transform .5s cubic-bezier(.2,.7,.2,1); }

@keyframes pv-bob { 50% { translate: 0 -10px; } }
.pv-scene.bob .pv-tilt { animation: pv-bob 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .pv-scene.bob .pv-tilt { animation: none; } }

/* Ladder */
.section-head { max-width: 760px; margin-bottom: var(--space-head); }
.section-head .lead { margin-top: var(--space-lead); }
.ladder { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sep); }
.ladder li { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: var(--s4); padding: var(--row-pad) 0; border-bottom: 1px solid var(--sep); align-items: baseline; }
.ladder .n { font-family: var(--font-display); font-weight: 700; font-size: var(--size-h3); color: var(--ink-soft); }
.ladder li.us .n, .ladder li.us h3 { color: var(--accent); }
.ladder p { color: var(--ink-soft); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-row) var(--gap-col); }
.grid p { margin-top: var(--gap-tight); color: var(--ink-soft); max-width: 44ch; }




/* Shared bits: avatar, panel, split */
/* Anything in a role's colour: its soft tint behind, its tone on top */
.av, .tag { background: oklch(var(--l-tint) var(--c-tint) var(--h, var(--accent-h)));
  color: oklch(var(--l-tone) var(--c-tone) var(--h, var(--accent-h))); }
.av { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-weight: 600; font-size: 14px; }
.av.lg { width: 48px; height: 48px; font-size: 18px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: var(--s4); }


/* Block diagram */
.flow { display: flex; align-items: center; }
.node { flex: 1 1 0; min-width: 0; display: flex; gap: var(--s2); align-items: center; background: var(--surface); border-radius: var(--r-sm); padding: var(--s3); box-shadow: var(--shadow-1); }
.node > div { min-width: 0; }
.node small { display: block; color: var(--ink-soft); font-size: var(--size-small); }
.node b { font-weight: 600; }
.node.you { background: var(--ink); color: var(--paper); box-shadow: none; }
.node.you small { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.stack { flex: 1.1 1 0; display: grid; gap: var(--s1); padding: var(--s2); box-shadow: inset 0 0 0 1px var(--line); background: var(--paper-alt);
  border-radius: calc(var(--r-nest) * (var(--r-sm) + var(--s2)) + (1 - var(--r-nest)) * var(--r-md)); } /* wraps sm nodes: their curve plus the padding */
.edge { flex: 0 0 var(--s5); height: 2px; background: var(--ink-soft); opacity: .45; position: relative; }
.edge::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--ink-soft); border-right: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-card); }
.card { background: var(--surface); border-radius: var(--r-md); padding: var(--card-pad); box-shadow: var(--shadow-1); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card h3 { margin-top: var(--gap-group); }
.card p { margin-top: var(--gap-tight); color: var(--ink-soft); }

/* Chart and stats */
.stats { display: flex; gap: var(--gap-card); margin-top: var(--space-head); }
.stat { flex: 1; padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-1); }
.stat b { display: block; font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--size-h2); letter-spacing: var(--tracking-display); line-height: 1; }
.stat span { display: block; margin-top: var(--gap-tight); color: var(--ink-soft); font-size: var(--size-small); }
.chart figcaption { font-weight: 600; margin-bottom: var(--s4); }
.bars { --r-bar: max(2px, calc(var(--r-nest) * (var(--r-md) - var(--card-pad)) + (1 - var(--r-nest)) * var(--r-sm) / var(--r-step))); height: 220px; display: flex; align-items: end; gap: var(--s1); border-bottom: 1px solid var(--line); }
/* One hue in steps: the oldest week palest, the latest the full accent */
.bars span { flex: 1; height: calc(var(--v) / 8 * 100%); border-radius: var(--r-bar) var(--r-bar) 0 0;
  background: color-mix(in oklab, var(--accent) calc(22% + var(--i) * 78% / 7), var(--surface)); }
.axis { display: flex; justify-content: space-between; margin-top: var(--s1); color: var(--ink-soft); font-size: var(--size-small); }

/* Layered diagram: each layer sits on the one below */
.layers { display: grid; gap: var(--s0); }
.layer { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3) var(--s4); border-radius: var(--r-sm); }
/* Steps of the accent, light at the base to full at the top */
.layer span { color: color-mix(in oklch, currentColor 72%, transparent); }
.layer.l3 { margin: 0 var(--s6); background: var(--accent); color: var(--accent-ink); }
.layer.l2 { margin: 0 var(--s5); background: color-mix(in oklab, var(--accent) 34%, var(--surface)); color: var(--ink); }
.layer.l1 { margin: 0 var(--s3); background: color-mix(in oklab, var(--accent) 18%, var(--surface)); }
.layer.l0 { background: color-mix(in oklab, var(--accent) 7%, var(--surface)); }

/* Carousel: bleeds to the window edge, snaps to the page's left edge */
.carousel { --edge: max(var(--gutter), calc((100vw - var(--page-width)) / 2 + var(--gutter)));
  display: flex; gap: var(--gap-card); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: var(--s1) var(--edge) var(--s4); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(360px, 80vw); scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-md); padding: var(--card-pad); box-shadow: var(--shadow-2); }
.slide h3 { margin-top: var(--gap-group); }
.slide p { margin-top: var(--gap-tight); color: var(--ink-soft); }
.tag { align-self: flex-start; padding: 2px var(--s1); border-radius: var(--r-control); font-weight: 600; font-size: var(--size-small); }
.slide-foot { margin-top: var(--gap-group); display: flex; align-items: center; gap: var(--s1); color: var(--ink-soft); }
.nav-arrows { display: flex; gap: var(--s1); }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-1); font: inherit; font-size: 18px; color: var(--ink); cursor: pointer; }
.arrow:hover { box-shadow: var(--shadow-2); }
.arrow:disabled { opacity: .35; cursor: default; box-shadow: var(--shadow-1); }

/* FAQ, after tablomat.com: full-width rows between hairlines, a chevron that turns,
   and the answer opening by animating grid rows 0fr -> 1fr (true height, no max-height guess) */
.faq { border-top: 1px solid var(--sep); }
.faq .item { border-bottom: 1px solid var(--sep);
  /* v167 (user 18 Nov): the answer's space above it lives inside its clipped box, as on tablomat.com, so the box always holds the letters' tops; s1 of the question's bottom room moves under the item to keep every gap s5 */
  --faq-lift: var(--s1); padding-bottom: var(--faq-lift); }
.faq .q { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4);
  padding: var(--s5) var(--s4) calc(var(--s5) - var(--faq-lift)); font: 600 var(--size-h3)/1.5 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.faq .q span { text-box: trim-both cap alphabetic; }
.faq .q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r-sm); }
.faq .q::after { content: ""; flex: none; width: 24px; height: 24px; margin-top: -4px; background: currentColor;
  -webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat;
  transition: transform .15s ease-in-out; }
.faq .item.open .q::after { transform: rotate(180deg); }
.faq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .15s ease-in-out; }
.faq .item.open .a { grid-template-rows: 1fr; }
.faq .a > div { min-height: 0; overflow: hidden; padding: 0 var(--s4); visibility: hidden; transition: visibility 0s .15s; }
.faq .item.open .a > div { visibility: visible; transition: visibility 0s; }
.faq .a p { font-size: var(--size-lead); color: var(--ink-soft); padding: var(--faq-lift) 0 calc(var(--s5) - var(--faq-lift)); }
:root { --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z'/%3E%3C/svg%3E"); }


@media (max-width: 760px) {
  .faq .q::after { width: 20px; height: 20px; margin-top: -2px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand-mark { width: 25px; height: 25px; }
  .ladder li { grid-template-columns: 48px 1fr; gap: var(--s0) var(--s2); }
  .ladder li p { grid-column: 2; }
  .grid { grid-template-columns: 1fr; gap: var(--gap-row); }
  .hero .actions { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .pv-scene { --pv-w: 600; --pv-h: 600; width: 100%; perspective-origin: 50% 50%; }
  .pv-app { grid-template-columns: 1fr; grid-template-rows: 1fr; padding: 8px; }
  .pv-side, .pv-tabs, .pv-list, .pv-card { display: none; }
  .pv-scene.layered .pv-thread { position: static; width: auto; height: auto; }
  .flow { flex-direction: column; align-items: stretch; }
  .node, .stack { flex: none; }
  .edge { flex: none; width: 2px; height: var(--s3); align-self: center; }
  .edge::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--ink-soft); border-bottom: 0; }
  .cards { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .layer.l3 { margin: 0 var(--s3); } .layer.l2 { margin: 0 var(--s2); } .layer.l1 { margin: 0 var(--s1); }
  .section-head.row .nav-arrows { display: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* Content pass (gm1 home copy, 17 Nov) */
.tbd { background: oklch(0.95 0.08 95); color: oklch(0.38 0.08 80); border-radius: 4px; padding: 0 4px; }
.hero .under { margin-top: var(--s3); color: var(--ink-soft); font-size: var(--size-small); }
@media (max-width: 760px) { .hero .under { display: none; } } /* phone: the early-access line goes, desktop keeps it (user, 18 Nov) */
.narrow > * { max-width: 760px; }
.small-note { margin-top: var(--s4); color: var(--ink-soft); font-size: var(--size-small); max-width: 44ch; }
.night > div { display: flex; gap: var(--s3); }
.night time { font-variant-numeric: tabular-nums; color: var(--ink-soft); min-width: 3.5em; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--gap-col); margin: 0; border-top: 1px solid var(--sep); }
.facts > div { display: grid; grid-template-columns: 12em 1fr; gap: var(--s3); padding: var(--row-pad) 0; border-bottom: 1px solid var(--sep); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: var(--s0); }
}

.cards-note { margin-top: var(--gap-group); color: var(--ink-soft); }

/* ── Section craft (v33): product fragments, stages, rails ── */

.vig { position: relative; height: 132px; overflow: hidden; background: var(--paper-alt);
  background-image:
    radial-gradient(120% 90% at 0% 0%, oklch(calc(0.93 - 0.62 * var(--dark)) calc(0.05 * var(--amount)) var(--h)) 0%, transparent 70%),
    radial-gradient(90% 80% at 100% 100%, oklch(calc(0.95 - 0.64 * var(--dark)) calc(0.035 * var(--amount)) calc(var(--h) + 30)) 0%, transparent 70%); }
.mini { position: absolute; left: var(--s3); right: var(--s3); top: var(--s5);
  background: var(--surface); border-radius: var(--r-sm); padding: var(--s2) var(--s2) var(--s2) var(--s2);
  box-shadow: var(--shadow-2), 0 -6px 0 -3px color-mix(in oklch, var(--surface) 75%, transparent),
    0 -6px 0 -2px color-mix(in oklch, var(--ink) 5%, transparent);
  font-size: var(--size-small); line-height: 1.45; }
.mini .who { display: flex; align-items: center; gap: var(--s1); }
.mini .who b { font-weight: 600; }
.mini p { margin-top: var(--s0); padding-left: 28px; color: var(--ink); white-space: nowrap; }
.mp { display: inline-grid; place-items: center; width: 20px; height: 20px; color: var(--ink-soft); }
.mp svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini .tag { margin-left: auto; white-space: nowrap; padding: 1px var(--s1); border-radius: 6px; font-size: var(--size-small); font-weight: 500;
  background: var(--paper-alt); color: var(--ink-soft); }
.mini .tag.wait { background: oklch(calc(0.94 - 0.6 * var(--dark)) 0.06 75); color: oklch(calc(0.48 + 0.3 * var(--dark)) 0.12 65); }



/* Overnight: a timeline rail, the morning picked out */
.night { gap: 0; }
.night > div { position: relative; align-items: baseline; padding: var(--s1) 0 var(--s1) var(--s4); }
.night > div::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: color-mix(in oklch, var(--ink) 18%, transparent); }
.night > div:first-child::before { top: 50%; }
.night > div.end::before { bottom: 50%; }
.night > div::after { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.night > div.end::after { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 18%, transparent); }
.night > div.end span { font-weight: 600; }
.night figcaption { padding-left: var(--s4); }

/* Safety: a quiet grid of facts, ruled like a spec sheet */
.facts { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 0; border-radius: var(--r-md); overflow: hidden;
  background: var(--line); gap: 1px; box-shadow: 0 0 0 1px var(--line); }
.facts > div { display: block; padding: var(--s4); background: var(--paper); border: 0; }
.facts dd { margin-top: var(--s1); }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, 1fr); } }


@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
}

/* ── Section rework (17 Nov): white page, canvas panels for visuals, one dark band ── */
.canvas { background-color: var(--surface);
  background-image:
    radial-gradient(70% 80% at 15% 10%, var(--wash-a) 0%, transparent 70%),
    radial-gradient(70% 80% at 90% 95%, var(--wash-b) 0%, transparent 70%); }
.canvas { border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--rim); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; max-width: 44ch; }

/* Problem: two columns that answer each other row for row */
.contrast { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); gap: 0 var(--gap-card);
  max-width: 980px; margin: 0 auto; }
.contrast .col { grid-row: span 5; display: grid; grid-template-rows: subgrid; padding: var(--s5) var(--s6) var(--s3);
  border-radius: var(--r-lg); }
.contrast h3 { padding-bottom: var(--s4); }
.contrast p { font-size: var(--size-lead); line-height: 1.4; padding: var(--s4) 0; border-top: 1px solid var(--sep); }
.contrast .before { box-shadow: inset 0 0 0 1px var(--line); }
.contrast .before h3, .contrast .before p { color: var(--ink-soft); }
.contrast .after { background: var(--surface); box-shadow: var(--shadow-3), 0 0 0 2px color-mix(in oklch, var(--accent) 45%, transparent); }
.contrast .after h3 { color: var(--accent); }
.contrast .after p { font-weight: 500; }

/* What It Takes On: four big tiles, a piece of the product on each one's own colour */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-card); }
.tile { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.tile .vig { height: 240px; background-color: var(--surface);
  background-image:
    radial-gradient(110% 100% at 0% 0%, oklch(calc(0.90 - 0.62 * var(--dark)) calc(0.07 * var(--amount)) var(--h)) 0%, transparent 70%),
    radial-gradient(90% 90% at 100% 100%, oklch(calc(0.93 - 0.64 * var(--dark)) calc(0.05 * var(--amount)) calc(var(--h) + 30)) 0%, transparent 70%); }
.tile .mini { left: 50%; right: auto; top: 50%; width: min(360px, 78%); transform: translate(-50%, -40%); padding: var(--s3); box-shadow: var(--shadow-3),
  0 -8px 0 -4px color-mix(in oklch, var(--surface) 80%, transparent), 0 -8px 0 -3px color-mix(in oklch, var(--ink) 5%, transparent); }
.tile-body { padding: var(--s5) var(--s5) var(--s6); }
.tile-body p { margin-top: var(--gap-tight); color: var(--ink-soft); max-width: 44ch; }
.cards-note { margin-top: var(--s5); }

/* An agent icon's green "live" dot */
.mp.live { position: relative; }
.mp.live::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.68 0.17 150); box-shadow: 0 0 0 2px var(--surface); }

/* Proof: the one dark band */
.band { border-radius: var(--r-lg); padding: var(--s8) var(--s7); color: #fff; position: relative; overflow: hidden;
  background: oklch(calc(0.22 + 0.06 * var(--dark)) 0.03 var(--accent-h));
  background-image: radial-gradient(60% 90% at 100% 0%, oklch(0.40 calc(0.10 * var(--amount)) var(--accent-h) / .55), transparent 70%); }
.band h2 { color: #fff; }
.band .lead { color: rgb(255 255 255 / .72); }
.band .section-head { margin-bottom: var(--s7); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.figures div { padding-top: var(--s4); border-top: 1px solid rgb(255 255 255 / .16); }
.figures b { display: block; font-family: var(--font-display); font-size: var(--size-h1); font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display); line-height: 1; text-box: trim-both cap alphabetic; }
.figures span { display: block; margin-top: var(--s3); color: rgb(255 255 255 / .72); text-box: trim-both cap alphabetic; }

/* Pricing: the plans lead */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-card); max-width: 800px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: var(--s6) var(--s5); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-2); }  /* v163 (user 18 Nov): corners r-lg to r-md; outline kept */
.plan h3 { font-family: var(--font-display); font-size: var(--size-h2); font-weight: var(--weight-display); letter-spacing: var(--tracking-display); line-height: 1.1; } /* the plan name as the product's name (user, 18 Nov) */
.plan .for { margin-top: var(--s3); color: var(--ink-soft); }
.plan .cost { margin-top: var(--s5); display: flex; align-items: baseline; gap: var(--s1); }
.plan .cost b { font-family: var(--font-display); font-size: var(--size-h2); font-weight: var(--weight-display); letter-spacing: var(--tracking-display); line-height: 1; }
.plan .cost span { color: var(--ink-soft); }
.plan ul { list-style: none; margin: var(--s5) 0 0; padding: 0; flex: 1; }
.plan li { padding: var(--s2) 0; border-top: 1px solid var(--sep); }
.plan .button { margin-top: var(--s5); text-align: center; }
.plans-note { margin-top: var(--s5); text-align: center; color: var(--ink-soft); }

/* Closing: one big canvas */
.closing .canvas { text-align: center; padding: var(--s9) var(--s6); }
.closing h2 { max-width: none; margin: 0 auto; text-wrap: balance; } /* 18 Nov: one line, width permitting (user) */
.closing .lead { margin: var(--space-lead) auto 0; }
.closing .button { margin-top: var(--space-actions); }

/* v167 (user 18 Nov, a repeat): phone keeps desktop insets everywhere; the phone space ratio already shrinks them */
@media (max-width: 760px) {
  .contrast, .tiles, .figures, .plans { grid-template-columns: 1fr; }
  .contrast { gap: var(--gap-card); }
  .contrast .col { grid-row: auto; grid-template-rows: none; }
  .tile .vig { height: 190px; }
  .tile .mini { width: calc(100% - 2 * var(--s3)); }
  .tile .mini p { white-space: normal; }
  .figures { gap: var(--s4); }
  .plan { padding: var(--s7) var(--s6); }  /* v162 (user 18 Nov: text too close to the edge, looked cheap): more room than desktop's s6 s5, never less */

}

/* ── Subpages (17 Nov): Pricing, How It Works, Security, and Home's short links to them. Layout glue only. ── */
.top nav a[aria-current="page"] { color: var(--ink); }
.more { margin-top: var(--space-actions); }
/* Home: the short pricing line, centred like the closing */
/* A subpage's header: title and lead, centred, with room under the top bar; content follows at the head gap */
.page-head { min-height: var(--head-h, 480px); display: flex; align-items: center; padding: var(--s6) 0; } /* 18 Nov: taller, a colour band painted by hero.js (Header panel, H); the top bar stays white above it */
.page-head > .wrap { width: 100%; }
.page-head .section-head { margin-bottom: 0; }
.page-head .lead { text-wrap: balance; }
.page-head + section { padding-top: var(--space-head); }
/* Pricing: what both plans include, white cards on a canvas */
.canvas.inset { padding: var(--s6); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.canvas .card h3 { margin-top: 0; }
.canvas .card:hover { transform: none; box-shadow: var(--shadow-1); }
@media (max-width: 1000px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .cards.four { grid-template-columns: 1fr; }

}

/* Early access: the beta label, the pricing note, and the request dialog */
.beta { display: inline-flex; align-items: center; gap: var(--s1); margin-bottom: var(--s4);
  padding: 4px var(--s2) 4px 4px; border-radius: var(--r-control); background: var(--surface); box-shadow: var(--shadow-1);
  font-size: var(--size-small); color: var(--ink-soft); }
.beta b { padding: 2px var(--s1); border-radius: var(--r-control); background: var(--btn); color: var(--btn-ink); font-weight: 560; }
.beta:not(:has(span)) { padding-right: 4px; }
.plans-note { margin: var(--s4) auto 0; max-width: 44ch; text-align: center; color: var(--ink-soft); font-size: var(--size-small); }

dialog.access { width: min(460px, calc(100vw - 2 * var(--s3))); max-height: calc(100dvh - 2 * var(--s3)); overflow: auto;
  padding: var(--s6) var(--s5) var(--s5); border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-3); }
dialog.access::backdrop { background: oklch(0.2 0.01 var(--accent-h) / .32); backdrop-filter: blur(6px); }
dialog.access[open] { animation: access-in .22s cubic-bezier(.2,.8,.2,1); }
dialog.access[open]::backdrop { animation: access-fade .22s ease; }
@keyframes access-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes access-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { dialog.access[open], dialog.access[open]::backdrop { animation: none; } }
.access [hidden] { display: none !important; }
.access .x { position: absolute; top: var(--s2); right: var(--s2); width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft); font-size: 24px; line-height: 1; cursor: pointer; }
.access .x:hover { background: var(--paper-alt); color: var(--ink); }
/* Phones: a 40px close control centred on the "Early access" pill's row, its × lined up with the content's right edge;
   the field hint "Optional" never breaks onto its own line: it sits at the right of the label's first line. */
@media (max-width: 760px) {
  .access .x { top: calc(var(--s6) - 3px); right: calc(var(--s5) - 13px); width: 40px; height: 40px; display: grid; place-items: center; font-size: 28px; }
  .access .lt { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); }
  .access .lt i { white-space: nowrap; margin-left: 0; }
}
.access .beta { margin-bottom: var(--s3); }
.access h2 { font-size: 28px; line-height: 1.15; }
.access .intro { margin-top: var(--s2); color: var(--ink-soft); }
.access form { display: grid; }
.access label { display: grid; gap: 6px; margin-top: var(--s3); font-weight: 560; font-size: var(--size-small); }
.access label i { font-style: normal; font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.access form > .beta { justify-self: start; }
.access h2:focus { outline: none; }
.access label:first-of-type { margin-top: var(--s4); }
.access input, .access textarea { font: inherit; font-size: var(--size-body); font-weight: 400; color: var(--ink);
  padding: 10px var(--s2); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease; }
.access input:focus, .access textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent); }
.access label.bad input { border-color: oklch(0.58 0.19 25); }
.access label.bad::after { content: "Please fill this in"; font-weight: 400; color: oklch(0.55 0.19 25); }
.access label.bad:has([type=email])::after { content: "Please enter a valid email"; }
.access .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access .err { margin-top: var(--s3); font-size: var(--size-small); color: oklch(0.55 0.19 25); }
.access form .button:disabled { opacity: .7; cursor: default; }
.access .plan-pick { margin-top: var(--s3); font-size: var(--size-small); color: var(--ink-soft); }
.access form .button { margin-top: var(--s4); width: 100%; text-align: center; border: 0; font: inherit; font-weight: 560; cursor: pointer; }
.access .fine { margin-top: var(--s2); text-align: center; color: var(--ink-soft); font-size: var(--size-small); }
.access .tick { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--btn); margin-bottom: var(--s3); }
.access .tick svg { width: 24px; height: 24px; fill: none; stroke: var(--btn-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.access .mail { color: var(--ink); font-weight: 560; }
.access ol { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); counter-reset: s; }
.access li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; column-gap: var(--s2); font-size: var(--size-small); color: var(--ink-soft); }
.access li::before { content: counter(s); grid-row: span 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper-alt); color: var(--ink); font-weight: 600; font-size: 12px; }
.access li b { color: var(--ink); font-weight: 560; font-size: var(--size-body); }
.access .done .button { margin-top: var(--s5); width: 100%; text-align: center; border: 0; font: inherit; font-weight: 560; cursor: pointer; }
.beta b { white-space: nowrap; }
@media (max-width: 600px) { .hero .beta span { display: none; } .hero .beta { padding-right: 4px; } }
.access .intro { margin-top: var(--s3); }
.hero .under b { color: var(--ink); font-weight: 560; }
/* Narrow phones: the emblem made the top bar 39px too wide at 375. Tighten the bar only here; the last link's text lines up with the page edge. */
@media (max-width: 400px) {
  .top .wrap { gap: 12px; }
  .top nav { gap: 0; margin-right: -6px; }
  .top nav a { padding: 10px 6px; font-size: 15px; }
  .brand { font-size: 19px; gap: 6px; }
  .brand-mark { width: 24px; height: 24px; }
}

/* ── Lift (17 Nov): every section in the hero's language. Centred axis, no bordered boxes, structure from hairlines
   and space, colour only from the hero's fields, figures in tabular numerals. ── */
.section-head.center { max-width: 820px; }

/* Still On You: each habit and its answer on one row, across a shared hairline; today in soft grey, the team in ink */
.pairs { max-width: 960px; margin: 0 auto; }
.pair { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; column-gap: var(--s4);
  padding: var(--s5) 0; border-top: 1px solid var(--sep); }
.pair.head { border-top: 0; padding: 0 0 var(--s4); }
.pair.head h3 { font-size: var(--size-body); line-height: 1; font-weight: 600; color: var(--ink-soft); }
.pair.head h3:last-child { color: var(--ink); }
.pair p { font-size: var(--size-lead); line-height: 1.4; }
.pair p:first-child { color: var(--ink-soft); }
.pair p:last-child { color: var(--ink); font-weight: 500; }
.pair .to { width: 22px; height: 22px; justify-self: center; fill: none; stroke: color-mix(in oklch, var(--ink) 28%, transparent);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pair:last-child { border-bottom: 1px solid var(--sep); }

/* Proof: three figures on the page itself, ruled like a spec sheet */
.proof .figures { max-width: 1040px; margin: 0 auto; gap: 0; border-top: 1px solid var(--sep); border-bottom: 1px solid var(--sep); }
.proof .figures div { border-top: 0; padding: var(--s6) var(--s4); text-align: center; }
.proof .figures div + div { border-left: 1px solid var(--sep); }
.proof .figures b { color: var(--ink); font-variant-numeric: tabular-nums; }
.proof .figures span { color: var(--ink-soft); }

/* Closing: the hero's colour returns as a bookend; headline at the hero's size */
.closing { min-height: min(820px, 92svh); display: grid; align-items: center; padding: var(--s9) 0 var(--s8); }
.closing .wrap { text-align: center; width: 100%; }
.closing h2 { font-size: var(--size-h1); line-height: 1.12; max-width: none; margin: 0 auto; text-wrap: balance; }
.closing .lead { margin: var(--space-lead) auto 0; max-width: 40ch; text-wrap: balance; }
.closing .button { margin-top: var(--space-actions); }

@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr; row-gap: var(--s2); }
  .pair .to { display: none; }
  .pair.head { display: none; }
  .pair p:first-child { font-size: var(--size-body); }
  .proof .figures div + div { border-left: 0; border-top: 1px solid var(--sep); }
  .closing { min-height: 0; padding: var(--s8) 0; }
}
.section-head .lead { text-wrap: balance; }
.closing .lead { max-width: 30em; }

/* What It Takes On: the hero's colour, fainter, across the window; on it the team's updates stacked like notifications.
   Under it, one ruled column per kind of work, in the stack's order. */
.takes-stage { position: relative; padding: var(--s7) var(--gutter) var(--s8); }
.notes { display: grid; gap: var(--s2); width: min(440px, 100%); margin: 0 auto; }
.note { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; column-gap: var(--s1); row-gap: 6px;
  padding: var(--s3) var(--s3) var(--s3) var(--s3); border-radius: 18px;
  background: color-mix(in oklch, var(--surface) 82%, transparent); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 16px 40px -18px rgb(0 0 0 / calc(.25 * var(--shade))), 0 0 0 1px var(--rim); }
.note b { font-weight: 600; font-size: var(--size-small); line-height: 20px; }
.note .tag { margin: 0; padding: 0 var(--s1); height: 22px; line-height: 22px; border-radius: 6px; font-size: var(--size-small); font-weight: 500;
  background: color-mix(in oklch, var(--ink) 6%, transparent); color: var(--ink-soft); }
.note .tag.wait { background: oklch(calc(0.94 - 0.6 * var(--dark)) 0.06 75); color: oklch(calc(0.48 + 0.3 * var(--dark)) 0.12 65); }
.note p { grid-column: 2 / 4; color: var(--ink); text-box: normal; line-height: 1.4; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); margin-top: 0; }
.spec > div { padding-top: var(--s4); border-top: 1px solid var(--sep); }
.spec p { margin-top: var(--s3); color: var(--ink-soft); }
.cards-note.center { text-align: center; margin: var(--s7) auto 0; }
#takes { padding-bottom: var(--section-pad); }
#takes .section-head { margin-bottom: 0; }

/* Overnight: one line across the page from night to morning; each stop's time above, what happened below; the morning lit */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: calc(var(--s4) + 24px + var(--s3) + 5px); height: 1px;
  background: linear-gradient(to right, color-mix(in oklch, var(--ink) 14%, transparent), color-mix(in oklch, var(--ink) 22%, transparent) 70%, var(--accent)); }
.timeline li { display: grid; justify-items: center; text-align: center; gap: var(--s3); padding: var(--s4) var(--s2) 0; }
.timeline time { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--size-lead); line-height: 24px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-soft); }
.timeline i { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--ink) 35%, transparent); }
.timeline span { max-width: 16ch; color: var(--ink); line-height: 1.4; }
.timeline .end time { color: var(--ink); font-weight: 600; }
.timeline .end i { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in oklch, var(--accent) 16%, transparent); }
.timeline .end span { font-weight: 600; }

@media (max-width: 1000px) { .spec { grid-template-columns: repeat(2, 1fr); row-gap: var(--s6); } }
@media (max-width: 760px) {
  .takes-stage { padding: var(--s6) var(--gutter) var(--s7); }
  .spec { grid-template-columns: 1fr; row-gap: var(--s5); }
  .timeline { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .timeline::before { left: calc(4.5em + var(--s3) + 5px); right: auto; top: 28px; bottom: 28px; width: 1px; height: auto;
    background: linear-gradient(to bottom, color-mix(in oklch, var(--ink) 14%, transparent), var(--accent)); }
  .timeline li { grid-template-columns: 4.5em 11px 1fr; justify-items: start; text-align: left; align-items: center; column-gap: var(--s3); padding: var(--s2) 0; }
  .timeline span { max-width: none; }
}

/* What is an AI team: text left, a mesh of agents passing work right (no loop, no fixed workflow) */
/* What Is an AI Team?: its own soft grey stage (no hero colour), one lifted team panel from the app, three traits on hairlines */
.team-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); padding: var(--s8) var(--s6) var(--s7);
  /* The user's gradient (18 Nov, Gradient panel at 1132 x 921): #f3f5f9 from 16% at the top to full at the foot; no grain. */
  background: linear-gradient(180deg, rgba(243, 245, 249, 0.16) -21.7%, rgba(243, 245, 249, 1) 136.1%), transparent; }
:root[style*="color-scheme: dark"] .team-stage { background: linear-gradient(180deg, rgba(255, 255, 255, .015) -21.7%, rgba(255, 255, 255, .035) 136.1%); }
.team-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[style*="color-scheme: dark"] .team-stage::before { mix-blend-mode: screen; filter: invert(1); }
.team-stage .section-head h2 { text-wrap: balance; }
.team-panel { margin: 0 auto; max-width: 720px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-3);
  padding: 8px 8px 12px; font-size: 14px; line-height: 20px; text-align: left; }
.team-panel, .team-panel * { text-box: normal; }
.team-panel p { margin: 0; }
.tp-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; }
.tp-head b { font-weight: 600; color: var(--ink); }
.tp-head span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tp-row { position: relative; display: grid; grid-template-columns: 20px 184px minmax(0, 1fr) 24px; align-items: center; gap: 0 14px; min-height: 60px; padding: 8px 16px; border-radius: 8px; }
.tp-row + .tp-row:not(.me):not(.me + .tp-row) { box-shadow: 0 -1px 0 color-mix(in oklch, var(--ink) 6%, transparent); border-radius: 0; }
.tp-row .mp { align-self: start; margin-top: 2px; }
.tp-row .mp svg { width: 20px; height: 20px; }
.tp-who { display: grid; }
.tp-who b { font-weight: 600; color: var(--ink); }
.tp-who span { color: var(--ink-soft); }
.tp-line { color: var(--ink-soft); transition: opacity .3s ease, translate .3s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }  /* v158 (user 18 Nov): one line, long text ends in an ellipsis, so the panel never resizes as lines change */
.tp-line b { font-weight: 500; color: var(--ink); }
.tp-line.out { opacity: 0; translate: 0 3px; }
.tp-row.me { --row: color-mix(in oklab, var(--ink) 4%, var(--surface)); background: var(--row); }
.tp-row.me .mp.live::after { box-shadow: 0 0 0 2px var(--row); }
.tp-row.me .tp-line { color: var(--ink); }
.team-stage .section-head { max-width: 880px; }
.team-stage .section-head.center .team-lead { max-width: none; text-wrap: balance; }
.tp-head span { display: inline-flex; align-items: center; gap: 8px; }
.tp-pulse { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.68 0.17 150); animation: tp-pulse 2s ease-out infinite; }
@keyframes tp-pulse { 0% { box-shadow: 0 0 0 0 oklch(0.68 0.17 150 / .45); } 100% { box-shadow: 0 0 0 7px oklch(0.68 0.17 150 / 0); } }
/* Working: three dots breathing in turn, as a typing mark, on every row */
.tp-busy { display: inline-flex; gap: 3px; justify-self: end; }
.tp-busy i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-soft); opacity: .25; animation: tp-dot 1.2s ease-in-out infinite; }
.tp-busy i:nth-child(2) { animation-delay: .15s; } .tp-busy i:nth-child(3) { animation-delay: .3s; }
.tp-row:nth-child(2n) .tp-busy i { animation-duration: 1.4s; } .tp-row:nth-child(3n) .tp-busy i { animation-duration: 1.05s; }
@keyframes tp-dot { 0%, 60%, 100% { opacity: .25; translate: 0 0; } 30% { opacity: .9; translate: 0 -2px; } }
/* Hand-off flash removed (v94, 18 Nov): the user asked twice for the blue that lit the named row to go */
@media (prefers-reduced-motion: reduce) { .tp-busy i, .tp-pulse { animation: none; opacity: .6; } }
.tp-tag { margin-left: 2px; padding: 0 6px; border-radius: 6px; font-weight: 500; white-space: nowrap;
  background: oklch(calc(0.94 - 0.6 * var(--dark)) 0.06 75); color: oklch(calc(0.48 + 0.3 * var(--dark)) 0.12 65); }
.team-stage .traits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); max-width: 960px; margin: var(--s8) auto 0; text-align: left; }
.team-stage .traits > div { padding-top: var(--s3); border-top: 1px solid color-mix(in oklch, var(--ink) 7%, transparent); }  /* v158: 14 to 7 (user 18 Nov: gentler) */
.team-stage .traits h3 { font-size: var(--size-h3); }
.team-stage .traits p { margin-top: var(--s3); color: var(--ink-soft); font-size: var(--size-body); }
@media (max-width: 900px) { .team-stage .traits { grid-template-columns: 1fr; gap: var(--s4); } }
@media (max-width: 600px) { .team-stage { border-radius: var(--r-md); } }
/* v158: rows stack (name over line) up to 820, so the Team Leader's tag is never cut off at tablet widths */
@media (max-width: 820px) { .tp-row { grid-template-columns: 20px minmax(0, 1fr) 20px; padding: 10px 16px; } .tp-line { grid-column: 2 / -1; } .tp-busy { grid-column: 3; grid-row: 1; } .tp-who { display: flex; gap: 8px; } .tp-who span { display: none; }
  /* v158 (user 18 Nov: Needs you crammed): the Team Leader's tag sits on the name line, where the working dots were; a row waiting on you isn't busy */
  .tp-row.me .tp-busy { display: none; } .tp-row.me .tp-tag { position: absolute; top: 10px; right: 16px; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .tp-line { transition: none; } }

/* App marks: a soft round chip holding the app's logo (section 3 feed) */
.ap-mark { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: color-mix(in oklch, var(--ink) 4%, var(--surface)); }
.ap-mark::after { content: ""; position: absolute; inset: 7px; background: var(--u) center / contain no-repeat; }
.ap-mark.mono::after { background: var(--c); -webkit-mask: var(--u) center / contain no-repeat; mask: var(--u) center / contain no-repeat; }

/* You Stay in Charge: four promises, each shown by a small piece of the app lifted on the same #f5f5f5 as the pill band (section 3), text below */
#charge { padding-bottom: var(--section-pad); }
.charge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s5); max-width: 1040px; margin: 0 auto; }
.charge h3 { font-size: var(--size-h3); margin-top: var(--s4); }
.charge article > p { margin-top: var(--s2); color: var(--ink-soft); max-width: 44ch; }
.ch-tile { display: grid; place-items: center; height: 240px; padding: var(--s5); border-radius: 20px; background: var(--lanes-bg, #f5f5f5); }
#charge .ch-tile, #steps .ch-tile { background: #f3f5f9; } /* the user's flat panel colour for You Stay in Charge, 18 Nov, in place of the gradients */
:root[style*="color-scheme: dark"] .ch-tile, :root[style*="color-scheme: dark"] #charge .ch-tile, :root[style*="color-scheme: dark"] #steps .ch-tile { background: rgba(255, 255, 255, .03); }
.ch-ui { width: min(100%, 340px); padding: 18px 20px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lift); font-size: 15px; line-height: 21px; }
.ch-ui, .ch-ui * { text-box: normal; }
#charge .ch-ui, #steps .ch-ui { width: min(100%, 420px); padding: 22px 26px; border-radius: 16px; font-size: 16px; line-height: 23px; } /* v92: user wanted the white panels larger, not the tiles */
#charge .ch-own, #steps .ch-own { padding: 4px 20px; }
.ch-ui p { margin: 0; }
.ch-chat { display: grid; gap: 14px; }
.ch-msg { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 8px; } /* 18 Nov: icon closer to the name and centred on its line */
.ch-msg .mp { width: 16px; height: 18px; margin-top: 0; }
.ch-msg .mp.live::after { right: -2px; bottom: 0; width: 6px; height: 6px; } /* the user's green dot on the agent icon */
.ch-msg b { display: block; line-height: 18px; margin-bottom: 3px; font-size: var(--size-small); font-weight: 500; color: var(--ink-soft); }
.ch-msg p { color: var(--ink); }
.ch-you-wrap { display: grid; justify-items: end; gap: 2px; } /* 18 Nov: "You" over the user's message, styled like the agents' names */
.ch-you-wrap > b { font-size: var(--size-small); font-weight: 500; color: var(--ink-soft); padding-right: 4px; }
.ch-you-wrap .ch-you + .ch-you { margin-top: 4px; }
.ch-you-wrap .ch-you { justify-self: end; max-width: 80%; padding: 7px 12px; border-radius: 14px; background: color-mix(in oklch, var(--ink) 6%, var(--surface)); color: var(--ink); }
.ch-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.ch-log li:not(:last-child)::after { content: ""; position: absolute; left: 58px; top: 50%; height: calc(100% + 14px); width: 1px; background: color-mix(in oklch, var(--ink) 12%, transparent); }
.ch-log li::before { content: ""; grid-column: 2; grid-row: 1; align-self: center; justify-self: center; position: relative; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--ink) 30%, transparent); }
.ch-log li.now::before { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 16%, transparent); }
.ch-log li > time { grid-column: 1; grid-row: 1; } .ch-log li > span { grid-column: 3; grid-row: 1; }
.ch-log li { position: relative; display: grid; grid-template-columns: 40px 21px minmax(0, 1fr); gap: 0 8px; color: var(--ink); }
.ch-log time { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.ch-log b { font-weight: 500; color: var(--ink); }
.ch-log .now span { font-weight: 600; color: var(--ink); }
.ch-log .now time { color: var(--ink); font-weight: 600; }
.ch-own { display: grid; gap: 0; padding: 4px 16px; }
.ch-own > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0; }
.ch-own > div + div { box-shadow: 0 -1px 0 color-mix(in oklch, var(--ink) 6%, transparent); }
.ch-own p { display: grid; }
.ch-own b { font-weight: 500; color: var(--ink); }
.ch-own span { color: var(--ink-soft); font-size: var(--size-small); }
.ch-ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in oklch, var(--ink) 6%, var(--surface)); color: var(--ink); }
.ch-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .charge { grid-template-columns: 1fr; gap: var(--s6); } .ch-tile { height: auto; min-height: 200px; } }

/* What Our Customers Run moved to use-cases.html (v97); its .uses styles removed */
.use-app { display: grid; padding: 16px 18px 6px; }
.use-app > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; }
.use-app > div + div { box-shadow: 0 -1px 0 color-mix(in oklch, var(--ink) 6%, transparent); }
.use-app .use-app-head { grid-template-columns: minmax(0, 1fr); padding: 0 0 12px; }
.use-app-head p { display: grid; }
.use-app-head b { font-weight: 600; color: var(--ink); }
.use-app-head span { font-size: var(--size-small); color: var(--ink-soft); }

/* v97: Use Cases page (user: the home page's customer section moved to its own page, room to tell each case). One case per row: tile and text side by side, sides alternating, in #charge's language */
#cases { padding-bottom: var(--section-pad); }
.cases { display: grid; row-gap: var(--s8); max-width: 1040px; margin: 0 auto; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s7); align-items: center; }
.case .ch-tile { height: 380px; }
.case .ch-ui { width: min(100%, 400px); }
.case:nth-of-type(even) .ch-tile { order: 2; }
.case-who { margin: 0; font-size: var(--size-small); font-weight: 500; color: var(--ink-soft); }
#steps .case-who { font-size: var(--size-body); font-weight: 600; } /* 18 Nov: the user found Step N too small */
/* Step 1: the team as people, each with what they do; the newest joined today */
.ch-roster > div { grid-template-columns: 24px minmax(0, 1fr) auto; }
.ch-roster p span { margin-top: 1px; }
#steps .ch-roster > div { grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 8px; align-items: start; } /* 18 Nov: icon on the name's line, as step 3 */
#steps .ch-roster .mp { width: 16px; height: 18px; margin-top: 2.5px; justify-self: start; } /* 18 Nov: the same 18 box and small dot as step 3, centred on the 23 name line */
#steps .ch-roster .mp.live::after { right: -2px; bottom: 0; width: 6px; height: 6px; }
#steps .ch-roster .ch-new { align-self: center; }
.ch-new { font-style: normal; font-size: var(--size-small); font-weight: 500; padding: 0 8px 2px; /* 18 Nov: lowercase sat 1-2px low; same 25 height */ border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, oklch(0.68 0.17 150) 14%, var(--surface)); color: oklch(calc(0.45 + 0.3 * var(--dark)) 0.12 150); }
/* Step 3: each colleague's task, and at the right whether it's done or still being worked on (home's three-dot mark) */
#steps .ch-chat:not(.ch-acts) { gap: 18px; } /* 18 Nov: a little more room between you and the reply (user, step 5) */
#steps .ch-you-wrap > b { line-height: 18px; } /* 18 Nov: same line as the agents' names */
#steps .ch-chat:not(.ch-acts) > :first-child { margin-top: -4px; } #steps .ch-chat:not(.ch-acts) > .ch-msg:last-child { margin-bottom: -2px; } /* trims the first name line's leading so the inset above it matches the one below the last line (user, step 2) */
.ch-acts { gap: 0; padding-top: 8px !important; padding-bottom: 8px !important; }
.ch-act { grid-template-columns: 16px minmax(0, 1fr) 28px; align-items: center; padding: 14px 0; }
.ch-act + .ch-act { box-shadow: 0 -1px 0 color-mix(in oklch, var(--ink) 6%, transparent); }
.ch-act .mp { align-self: start; margin-top: 0; }
.ch-act .tp-busy { justify-self: end; gap: 4px; } .ch-act .tp-busy i { width: 5px; height: 5px; background: var(--ink); }
.ch-act:nth-child(3) .tp-busy i { animation-duration: 1.4s; }
.ch-done { justify-self: end; width: 18px; height: 18px; fill: none; stroke: oklch(0.6 0.15 150); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.case h2 { margin-top: var(--space-text); /* 18 Nov: label to title on the kicker token, was s2 (user: too tight) */ font-size: var(--size-h2, 32px); }
.case-problem { margin-top: var(--s4); color: var(--ink-soft); }
.case h3 { margin-top: var(--s6); font-size: var(--size-small); font-weight: 600; color: var(--ink); }
.case ul { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.case li { padding: 10px 0; color: var(--ink); box-shadow: 0 -1px 0 color-mix(in oklch, var(--ink) 9%, transparent); }
.case-outcome { margin-top: var(--s3); color: var(--ink); } /* 18 Nov: under its own "The result" label, regular weight (user) */
/* 18 Nov: Use Cases on the home page's look (user): labels 16, not 14; panels as You Stay in Charge's (420, 16/23, 22 26) with How It Works' chat insets */
.cases .case-who { font-size: var(--size-body); font-weight: 600; }
.cases .case h3 { font-size: var(--size-body); }
.cases .ch-ui { width: min(100%, 420px); padding: 22px 26px; border-radius: 16px; font-size: 16px; line-height: 23px; }
.cases .use-app { padding: 20px 26px 8px; }
.cases .use-app-head span { font-size: var(--size-body); }
.cases .ch-chat { gap: 18px; }
.cases .ch-you-wrap > b { line-height: 18px; } /* 18 Nov: names at 14 as How It Works (user) */
.cases .ch-chat > :first-child { margin-top: -4px; } .cases .ch-chat > .ch-msg:last-child { margin-bottom: -2px; } /* as #steps: ink insets even top and bottom */
.cases .ch-chat.ch-acts { gap: 0; } .cases .ch-chat.ch-acts > .ch-msg { margin: 0; } /* 18 Nov: the status list keeps its own even rows (user: extra space under each agent) */
@media (max-width: 900px) { .case { grid-template-columns: 1fr; row-gap: var(--s5); } .case:nth-of-type(even) .ch-tile { order: 0; } .case .ch-tile { height: 280px; } }

/* Footer: one deep slate band on every page, after qaddem.com: few columns, body-size type with wide leading, soft links, the signature low left */
.foot { --foot-ink: oklch(0.98 0 0); --foot-soft: oklch(0.98 0 0 / .62);
  background: oklch(calc(0.29 - 0.09 * var(--dark)) 0.02 var(--accent-h)); color: var(--foot-soft);
  padding: var(--s7) 0 var(--s6); font-size: var(--size-body); line-height: 1.9; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap-col); }
.foot h4 { margin: 0 0 var(--s0); font: 500 var(--size-body)/1.9 var(--font-body); color: var(--foot-ink); letter-spacing: 0; }
.foot p { margin: 0; text-box: normal; line-height: inherit; color: inherit; font-size: inherit; }
.foot-about p { max-width: 34ch; }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; }
.foot nav a { color: inherit; text-decoration: none; padding: 0; border-radius: 0; background: none; font-weight: inherit; transition: color .15s; }
.foot nav a:hover { color: var(--foot-ink); }
.foot-sign { margin-top: var(--s7); display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--foot-ink); text-decoration: none;
  font: var(--weight-display) 22px/1 var(--font-display); letter-spacing: -0.02em; }
.foot-brand svg { width: 28px; height: 28px; fill: currentColor; stroke: currentColor; transform: translateY(1px); }
.foot .foot-sign p { margin-top: 0; font-size: var(--size-small); line-height: 1.2; }
@media (max-width: 1000px) {
  .foot-cols { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); }
  .foot-sign { margin-top: var(--s6); }
  .foot-about p { max-width: none; }  /* v161 (user 18 Nov): the about line takes the full width on phone */
}

/* How It Works (18 Nov): six steps as Use Cases' alternating .case rows, each picture a #charge tile and fragment */
#steps .ch-tile { height: auto; min-height: 240px; }
#steps .case-problem { max-width: 44ch; }
#steps .ch-own .mp { justify-self: center; }
#steps .ch-own .now p { display: flex; align-items: center; gap: 10px; }
#steps .ch-own .now p::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 16%, transparent); } /* home's "now" dot (.ch-log li.now) */
.closing.open { min-height: 0; padding: var(--section-space) 0 calc(2 * var(--section-space)); } /* 18 Nov: more room under it (user): about the space above it; no colour fields off home, so no tall band to hold them */


/* Pricing, Both Plans Include (18 Nov, the user picked Tiles): home's You Stay in Charge tiles. */
#include .section-head { margin-bottom: var(--s7); }
#include .ch-tile { background: #f3f5f9; height: 280px; }
:root[style*="color-scheme: dark"] #include .ch-tile { background: rgba(255, 255, 255, .03); }
#include .ch-ui { width: min(100%, 420px); padding: 22px 26px; border-radius: 16px; font-size: 16px; line-height: 23px; }
#include .ch-own { padding: 4px 20px; }
#include .ch-roster > div { grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 8px; align-items: start; }
#include .ch-roster .mp { width: 16px; height: 18px; margin-top: 2.5px; justify-self: start; }
#include .ch-roster .mp.live::after { right: -2px; bottom: 0; width: 6px; height: 6px; }
#include .ch-roster .ch-new { align-self: center; }
@media (max-width: 760px) { #include .ch-tile { height: auto; min-height: 200px; } }
/* v134 18 Nov: conversation panels breathe more (user: squeezed in the white): +8 top and bottom on every chat panel, status lists excluded */
#charge .ch-ui.ch-chat:not(.ch-acts), #steps .ch-ui.ch-chat:not(.ch-acts), .cases .ch-ui.ch-chat:not(.ch-acts) { padding-top: 30px; padding-bottom: 30px; }
/* v135 18 Nov: you and the agent further apart in every chat panel (user: too close, without overdoing): 26 between messages, was 18 (14 on home). */
#charge .ch-ui.ch-chat:not(.ch-acts), #steps .ch-ui.ch-chat:not(.ch-acts), .cases .ch-ui.ch-chat:not(.ch-acts) { gap: 26px; }

/* v136 18 Nov (user: panel spilled out of its tile at mid widths): tiles never cap their content. Each tile is a floor, not a fixed height, and grows with its panel; in the two-column grids each row's tiles, titles and text line up through subgrid, so a taller panel grows its whole row */
.ch-tile, #include .ch-tile, .case .ch-tile { height: auto; }
.charge .ch-tile { min-height: 240px; }
#include .ch-tile { min-height: 280px; }
.case .ch-tile { min-height: 380px; }
.charge > article { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
@media (max-width: 900px) { .case .ch-tile { min-height: 280px; } }
@media (max-width: 760px) { .charge .ch-tile, #include .ch-tile { min-height: 200px; } .charge > article { grid-row: auto; grid-template-rows: none; } }

/* ── Phone pass (18 Nov) ── */
.menu-btn, .menu-sheet { display: none; }
/* Top bar folds into the menu below 900: the full nav needs about 860 */
@media (max-width: 900px) {
  .top nav { gap: 4px; }
  .top .wrap > nav a:not(.account), .top nav .sep { display: none; }
  .top nav a { padding: 10px; }
  .top .wrap { gap: var(--s2); }
  /* Top bar: brand, Request Access as a small button, a menu for the page links. */
  .top .wrap { min-height: 60px; padding-top: 0; padding-bottom: 0; }
  .brand { padding: 10px 0; top: 0; }
  .top nav a.account[href="#"] { display: none; }
  .top nav a.account[href="#access"] { padding: 6px 12px; background: var(--btn); color: var(--btn-ink); border-radius: var(--r-control); font-size: 14px; line-height: 20px; }
  .cta-fade .top nav a.account[href="#access"] { transition: opacity .2s ease, visibility 0s; } /* fades only when scrolling sets it off, never on a resize across 900 */
  /* hidden while a Request Access button on the page is in view, so the two never show at once (user, 18 Nov) */
  .cta-in-view .top nav a.account[href="#access"] { opacity: 0; visibility: hidden; }
  .cta-fade.cta-in-view .top nav a.account[href="#access"] { transition: opacity .2s ease, visibility 0s .2s; }
  .top nav a.account[href="#access"]:hover { background: var(--btn-hover); }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 10px; }
  .menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; overflow: visible; }
  /* two drawn icons, swapped at once (user, 18 Nov: no motion; a rotated pair of bars drew a broken cross) */
  .menu-btn .x, .menu-open .menu-btn .bars { display: none; }
  .menu-open .menu-btn .x { display: inline; }
  .menu-sheet { display: block; position: absolute; left: 0; right: 0; top: 100%; height: calc(100svh - 100%); background: var(--paper);
    padding: var(--s3) 0 var(--s6); opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
  .menu-sheet.on { opacity: 1; transform: none; }
  .menu-sheet[hidden] { display: none; }
  .menu-sheet nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  /* rows run the full width so a hover or tap fills the row; the hairline keeps to the page margin */
  .menu-sheet nav a { position: relative; display: block; border-radius: 0; background: none; padding: var(--s3) var(--gutter); font-size: var(--size-lead); font-weight: 500; color: var(--ink); text-decoration: none; }
  .menu-sheet nav a[aria-current] { color: var(--ink-soft); }
  .menu-sheet nav a::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; border-bottom: 1px solid var(--sep); }
  .menu-open { box-shadow: none !important; }
  .menu-lock { overflow: hidden; scrollbar-gutter: stable; } /* keeps the scrollbar's room so nothing shifts; html only: hidden on body would make body the sticky bar's scroller */
}
@media (max-width: 760px) {
  /* Hero: the actions stay side by side when they fit */
  .hero .actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
  /* Bands sized for a desktop screen give way to their content */
  /* v161 (user 18 Nov: too close to the footer): room under the closing about matches the space seen above it */
  .closing { min-height: 0; padding: var(--s9) 0 calc(var(--s9) + 40px); }
  .closing.open { padding: var(--section-space) 0 calc(2 * var(--section-space)); }
  /* title block midway between the bar and the content (user, 18 Nov): the band holds the whole space below, so it stays even too */
  .page-head { min-height: 0; padding: calc(2.5 * var(--s8)) 0; } /* v192 (user 18 Nov: more white above and below the colour band): the band is inset s8 top and bottom, white on both sides, and the title has 1.5 s8 inside it; 120 from title to content, above the 72 between steps */
  .page-head:not(.plain) + section, .page-head:not(.plain) + svg + section { padding-top: 0; }
  .page-head .nb-fields { top: var(--s8); bottom: var(--s8); } /* the band backs the header only and stops short of the content (user, 18 Nov); hero.js sizes the blobs to this box */ /* an icon sprite sits between on some pages */
  /* Taps of at least 44 */
  .foot nav a { padding: 7px 0; line-height: 1.5; }
  .foot h4 { margin-bottom: var(--s0); }
}
@media (max-width: 760px) {
  /* Picture tiles: the You bubble may take more of the narrower fragment */
  .ch-you-wrap .ch-you { max-width: 88%; }
  /* Step and case rows: the step's words first, then its picture */
  .case .ch-tile, .case:nth-of-type(even) .ch-tile { order: 2; }
}
@media (max-width: 400px) {
  .top nav a.account[href="#access"] { padding: 6px 10px; }
}
/* Hero actions stack unless they fit with room to spare: side by side they need about 416 (user, 18 Nov: not just when they barely fit) */
@media (max-width: 520px) { .hero .actions { flex-direction: column; } }
/* Overlay scrollbar on mouse screens (scroll.js) */
html.own-bar { scrollbar-width: none; }
html.own-bar::-webkit-scrollbar { display: none; }
.own-thumb { position: fixed; top: 0; right: 3px; z-index: 900; width: 6px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 32%, transparent);
  opacity: 0; transition: opacity .3s ease, width .15s ease; cursor: default; }
.own-thumb.on, .own-thumb:hover { opacity: 1; }
.own-thumb:hover, .own-thumb.drag { width: 9px; background: color-mix(in oklab, var(--ink) 45%, transparent); }
/* v165 (user 18 Nov: FAQ's left edge not in line with the section above): the questions sit in the same 1040 column as Both Plans Include's tiles */
#faq .wrap > .section-head, #faq .faq { max-width: 1040px; margin-inline: auto; }

/* Security page uplift (18 Nov, user: match the sibling subpages): colour header as HIW, Use Cases, Pricing; each group a section in the 1040 column with Pricing's FAQ language (left heading, rows on --sep rules), no frames: replaces .groups > .canvas > .card (nested frames). Title column 1/3, text 2/3; stacked on phones */
.sec-group .wrap > .section-head, .sec-rows { max-width: 1040px; margin-inline: auto; }
.sec-group { padding-bottom: 0; } /* v170 (user: proportions): one rhythm from body 16; groups s7 apart, heading s4 above its rows, rows s3 tall, titles flush with the heading */
.sec-group + .sec-group { padding-top: var(--s7); }
.sec-group:has(+ .closing) { padding-bottom: var(--section-pad); } /* v171: last group ends like every page's last section, so the closing has equal room above and below (user) */
.sec-group .section-head { margin-bottom: var(--s4); }
.sec-group .section-head h2 { font-size: calc(var(--size-h3) * 1.25); letter-spacing: -0.02em; } /* step 2: 25 desktop, 22.5 phone */
.sec-rows { border-top: 1px solid var(--sep); }
.sec-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap-col); padding: var(--s3) 0; border-bottom: 1px solid var(--sep); align-items: baseline; }
.sec-rows h3 { font: 600 var(--size-body)/var(--leading-body) var(--font-display); letter-spacing: -0.01em; }
.sec-rows p { font-size: var(--size-body); color: var(--ink-soft); max-width: 60ch; }
.sec-rows p a { color: var(--ink); }
@media (max-width: 760px) { .sec-rows > div { grid-template-columns: 1fr; gap: var(--s2); } } /* v193 s1 to s2, title to its text (user 18 Nov) */

/* What Can an AI Team Do for You?: the live feed (feed.js), three panes of what agents just did; picked by the user 18 Nov over the lanes */
#feed { padding-bottom: var(--section-pad); }
.feed-stage { --out: clamp(0px, (100vw - var(--page-width) - 16px) / 2, 84px); width: calc(100% + 2 * var(--out)); margin: var(--s7) 0 0 calc(-1 * var(--out)); padding: var(--s6) var(--s6) calc(var(--s6) + 12px); border-radius: 20px; background: #f3f5f9; }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.fd { margin: 0; }
.fd figcaption { display: grid; gap: var(--s2); text-align: center; margin-bottom: var(--s4); text-box: normal; }
.fd figcaption b { font: 600 var(--size-h3)/28px var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.fd figcaption span { color: var(--ink-soft); line-height: 24px; text-wrap: balance; }
.fd-card { background: var(--surface); border-radius: 12px; box-shadow: 0 8px 24px -8px rgb(0 0 0 / calc(.12 * var(--shade))), 0 2px 6px -2px rgb(0 0 0 / calc(.05 * var(--shade))), 0 0 0 1px var(--rim); overflow: hidden; } /* v181: three cards side by side get a low, subtle lift, the same on desktop and phone (user, 18 Nov) */
.fd, .fd * { text-box: normal; }
.fd p { margin: 0; }
.fd-view { --row: 72px; position: relative; height: calc(6 * var(--row)); overflow: hidden; }
.fd-list { list-style: none; margin: 0; padding: 0; position: absolute; inset: auto 0 0; }
.fd-list.go { transition: translate .7s cubic-bezier(.2, .7, .2, 1); }
.fd-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 32px; gap: 0 12px; align-items: center; height: var(--row); padding: 0 16px; transition: opacity .7s ease; }
.fd-row + .fd-row { box-shadow: 0 -1px 0 color-mix(in oklch, var(--ink) 5%, transparent); }
.fd-row .mp { align-self: start; margin-top: 15px; }
.fd-row .mp svg { width: 18px; height: 18px; }
.fd-txt { min-width: 0; }
.fd-txt b { display: block; font-size: var(--size-small); font-weight: 500; color: var(--ink-soft); line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-txt p { color: var(--ink); font-size: 15px; line-height: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-row .ap-mark { width: 32px; height: 32px; }
.fd-row.in, .fd-row.out { opacity: 0; }
@media (max-width: 1000px) { .feed { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: var(--s7); } /* stacked: panes clearly apart, so each title reads with its own card (user, 18 Nov) */ .fd-view { height: calc(4 * var(--row)); } }

/* Privacy (18 Nov; headings at step 1, 20/18, user: too large next to the text, user: plain article pages, no design effort): one reading column under the page header; bracketed open facts show as visible placeholders until filled */
.legal { padding-bottom: var(--section-pad); }
.prose { max-width: 680px; margin-inline: auto; }
.prose h2 { font-size: var(--size-h3); letter-spacing: -0.01em; margin: var(--s6) 0 var(--s3); } /* s2 to s3 under headings (user 18 Nov: too close) */
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: var(--size-body); line-height: var(--leading-body); color: var(--ink-soft); }
.prose p + p { margin-top: var(--s2); }
.prose a { color: var(--ink); }
.prose .updated { margin-top: var(--s6); font-size: var(--size-small); }
mark.todo { background: #fff4d6; color: #7a5200; border-radius: 4px; padding: 1px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.access .fine a { display: block; margin-top: 4px; color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Use Cases on phones (user 18 Nov: dense, no clear hierarchy, cases run together): each case is one block of title, intro with its outcome, a short ticked list, then the picture. "What the team takes on" and "The result" labels go; cases sit twice as far apart. Desktop unchanged. */
.cases .case-out-inline { display: none; } /* phone only: the outcome closes the intro (same text as .case-outcome) */
@media (max-width: 760px) {
  .cases { row-gap: calc(1.5 * var(--s8)); } /* v192: 96 was too much (user); 72 on Use Cases and How It Works steps */
  .cases .case-text h3, .cases .case-outcome { display: none; }
  .cases .case-out-inline { display: inline; }
  .cases .case-text ul { margin-top: var(--s4); }
}

/* Ticked case lists everywhere (user 18 Nov: "excellent, on desktop too"): replaces the ruled rows */
.cases .case li { box-shadow: none; padding: 4px 0 4px 28px; position: relative; }
.cases .case li::before { content: ""; position: absolute; left: 0; top: calc(4px + (var(--leading-body, 1.5) * 1em - 16px) / 2); width: 16px; height: 16px; background: var(--ink-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Colour band (hero.js): soft colour fields behind the home hero, its closing section and each subpage header */
.nb-hero-host { position: relative; isolation: isolate; }
.nb-fields { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; border-radius: 0; mask-image: var(--mask); -webkit-mask-image: var(--mask); }
.nb-fields i { position: absolute; border-radius: 50%; will-change: transform; }
.nb-fields .grain { position: absolute; inset: 0; border-radius: 0; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.nb-fields .veil { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, var(--paper) var(--v0), oklch(from var(--paper) l c h / .85) var(--v1), oklch(from var(--paper) l c h / 0) 100%); }
body.nb-canvas .top:not(.scrolled) { background: transparent; }
body.nb-canvas .top { transition: box-shadow .25s ease, background-color .25s ease; }
body.nb-canvas .hero { margin-top: calc(-1 * var(--bar-h)); padding-top: calc(var(--hero-top, var(--section-space)) + var(--bar-h)); }
body.nb-canvas .stage { background: transparent; overflow: visible; padding: 0; }
body.nb-canvas .stage .app { border-radius: var(--r-lg); }
