/* Hallmark · copy: verbatim (owner-supplied lines such as "Supercharge your teams with AI", 8 Nov) · shape: custom, a kitchen pass (swapped from draw 208bd4 Conversational FAQ: no questions on the page to build it from) · genre: editorial · theme: brand · redesign: full · draw: 208bd4
 * paper: #f8f5ed · accent: #ffda6e · display: DM Sans 500 · body: DM Sans · hero: Stage (/), Banner (/services, /training, /about, /contact) · nav: banner over a sticky bar · footer: mast · signature: the example docket hung on a rail, four jobs clipped above it
 * axes: light/grotesk-sans/warm · posture: Restrained (cream paper, black hairlines, one yellow highlight, after Pirsch Analytics) · job: book · imagery: product sample in hero, no photographs · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, the docket competes with the head; head set larger on the left and the docket kept one quiet paper tone */
/* Hallmark · waive 1 · --font-display · Plus Jakarta Sans display with Inter body is the ClickUp pairing he chose */
/* Hallmark · waive 64 · Geist Mono only on the dockets and the venue notes · a kitchen docket printer is the material these two objects show */
/* Hallmark · waive 38iii · the marked word is the hero's count-up figure and appears once on the page · Eduardo asked for a ClickUp-style highlight on the 100 */
/* Hallmark · dismissed 42 · nav is named in the stamp and sits on the page paper over a thick black rule */
/* Hallmark · reworded the hero's long lead to one sentence · 58 names it; its facts stay in the room caption and the About section */
/* Hallmark · answered F4 · one filled primary recipe, the other matches are pressed language and tab states */
/* Hallmark · answered F7 · pills on tags, chips and logo cards are the ClickUp and Dub pill system he chose on 7 Nov */
:root {
  --cube-1: #ffb547; --cube-2: #f97316; --cube-3: #e8431a;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-docket: 0.9375rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 3vw + 0.75rem, 3.25rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 32px; --section-gap: 40px; --section-gap-l: 48px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: #fdfdfc; --color-paper-2: #fdfdfc; --color-paper-3: #efefef;
  --color-ink: #202020; --color-ink-2: #4d4d4d; --color-muted: #828282;
  --color-rule: #e8e8e8;
  --color-accent: #f97316; --color-accent-hover: #ea580c; --color-accent-ink: #202020; --color-accent-text: #4d4d4d; --color-focus: #202020;
  --color-field: #fdfdfc; --color-field-2: #fdfdfc; --color-field-ink: #202020; --color-field-muted: #4d4d4d; --color-field-rule: #efefef;
  --color-sand: #fdfdfc; --color-sand-soft: #ebe6dd; --color-sand-ink: #202020;
  --color-docket: #fdfdfc; --color-docket-ink: #202020; --color-docket-muted: #4d4d4d; --color-docket-rule: #e8e8e8;
  --color-accent-on-docket: #f97316; --color-accent-on-docket-ink: #202020; --shadow-docket: rgba(32, 32, 32, 0.10);
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif; --font-body: "Inter", ui-sans-serif, system-ui, sans-serif; --font-outlier: "Geist Mono", ui-monospace, monospace;
  --radius-card: 8px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --night: #202020; --night-2: #2a2a2a; --night-ink: #f5f5f5; --night-ink-2: #d4d4d4; --night-rule: #3a3a3a; --night-glow: rgba(249, 115, 22, 0.06);
  --color-brass: #816729; --night-brass: #c4a25a; --accent-halo: rgba(249, 115, 22, 0.18); --ink-fixed: #202020; --paper-fixed: #fdfdfc;
  --tracking-display: -0.02em; --display-weight: 300;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --color-success: oklch(75% 0.14 150); --brand-mailchimp: #FFE01B;
  --color-paper: #161616; --color-paper-2: #161616; --color-paper-3: #202020; --color-ink: #efefef; --color-ink-2: #d4d4d4; --color-muted: #d4d4d4; --color-rule: #333333;
  --color-accent-text: #c8c8c8; --color-focus: #f97316;
  --color-field: #161616; --color-field-2: #161616; --color-field-ink: #efefef; --color-field-muted: #d4d4d4; --color-field-rule: #202020;
  --color-sand: #161616; --color-sand-soft: #2a251d; --color-sand-ink: #efefef; --color-brass: #c4a25a;
  --color-docket: #202020; --color-docket-ink: #efefef; --color-docket-muted: #d4d4d4; --color-docket-rule: #333333; --shadow-docket: rgba(0, 0, 0, 0.5); color-scheme: dark;
} }
:root[data-theme="dark"] { --color-success: oklch(75% 0.14 150); --brand-mailchimp: #FFE01B;
  --color-paper: #161616; --color-paper-2: #161616; --color-paper-3: #202020; --color-ink: #efefef; --color-ink-2: #d4d4d4; --color-muted: #d4d4d4; --color-rule: #333333;
  --color-accent-text: #c8c8c8; --color-focus: #f97316;
  --color-field: #161616; --color-field-2: #161616; --color-field-ink: #efefef; --color-field-muted: #d4d4d4; --color-field-rule: #202020;
  --color-sand: #161616; --color-sand-soft: #2a251d; --color-sand-ink: #efefef; --color-brass: #c4a25a;
  --color-docket: #202020; --color-docket-ink: #efefef; --color-docket-muted: #d4d4d4; --color-docket-rule: #333333; --shadow-docket: rgba(0, 0, 0, 0.5); color-scheme: dark;
}
:root { --tile-1: #1f9d55; --tile-2: #e5487f; --tile-3: #3b6ff5; --tile-4: #e5484d; --tile-5: #7c5cff; --tile-6: #f97316; --tile-7: #0ea5a4; --tile-8: #e8960c; }
:root { /* app brand colours, Simple Icons 16.35.0 (Mailchimp: its dark ink) */ --brand-airtable: #18BFFF; --brand-calendly: #006BFF; --brand-deliveroo: #00CCBC; --brand-doordash: #FF3008; --brand-dropbox: #0061FF; --brand-facebook: #0866FF; --brand-gmail: #EA4335; --brand-googlecalendar: #4285F4; --brand-googledrive: #4285F4; --brand-googlemaps: #4285F4; --brand-googlesheets: #34A853; --brand-hubspot: #FF7A59; --brand-instagram: #FF0069; --brand-mailchimp: #241C15; --brand-myob: #7B14EF; --brand-quickbooks: #2CA01C; --brand-shopify: #7AB55C; --brand-stripe: #635BFF; --brand-trello: #0052CC; --brand-tripadvisor: #34E0A1; --brand-ubereats: #06C167; --brand-whatsapp: #25D366; --brand-wix: #0C6EFC; --brand-xero: #13B5EA; --brand-zapier: #FF4F00; }

/* 8 Nov: new G4 logo glyph colours (same in light and dark) */
:root { --logo-g: #FFE4CC; --logo-4: #FFFFFF; }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: var(--color-paper-2); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 32px; --section-gap: 40px; --section-gap-l: 48px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 28px; --section-gap: 32px; --section-gap-l: 40px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* chrome */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-xs); }
.site-head { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); color: var(--color-ink); border-bottom: 1px solid var(--color-ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; }
.brand svg { flex: none; height: 36px; width: auto; color: var(--color-ink); }
.brand svg .wm { fill: currentColor; }
.brand svg rect { fill: var(--color-accent); }
.brand svg .g { fill: var(--ink-fixed); }
.brand svg .four { fill: var(--paper-fixed); }
.brand span { align-self: flex-end; font-size: var(--text-xs); color: var(--color-ink-2); }
.navbtn { display: none; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-ink); border-radius: var(--radius-card); background: transparent; color: var(--color-ink); cursor: pointer; }
.navlist { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.navlist a:not(.btn) { display: inline-block; padding-block: var(--space-sm); text-decoration: none; }
.navlist a:not(.btn):hover { text-decoration: underline; }

/* one control recipe, two weights */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: color-mix(in oklab, currentColor 14%, transparent); }
.btn.primary { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.btn.primary:hover { border-color: var(--color-ink); background: var(--color-ink-2); }
.btn:active, .navbtn:active, .tabs button:active, .actions button:active, .mail button:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.nav .btn { min-height: 44px; padding-inline: var(--space-md); }

/* hero: the head on the left, the docket hung on a rail that runs off the page */
.hero-band { background: var(--color-paper); color: var(--color-ink); }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; min-height: calc(100dvh - 104px); padding-block: var(--space-lg) var(--space-xl); }
.hero h1 { font-size: clamp(2.75rem, 3vw + 1.25rem, 4rem); line-height: 1.1; }
html[lang="es"] .hero h1 { font-size: clamp(2.5rem, 2.4vw + 1.25rem, 3.75rem); max-width: none; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.hero .btn-row { margin-top: var(--space-xl); }
.console { min-width: 0; filter: drop-shadow(0 6px 14px var(--shadow-docket)); }
.console-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xs) var(--space-md); padding-bottom: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.console-head b { font-weight: 500; color: var(--color-ink); }
.rail { position: relative; }
.rail::before { content: ""; position: absolute; inset: 0 -100rem auto 0; height: 1px; background: var(--color-ink); }
.tabs { display: flex; gap: var(--space-2xs); padding-block: 1px var(--space-xs); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: none; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-ink); border-top: 0; border-radius: 0 0 var(--space-sm) var(--space-sm); background: transparent; color: var(--color-ink); font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.tabs button:hover { background: var(--color-paper-3); }
.tabs button[aria-selected="true"] { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; }
.tabs button:focus-visible { outline-offset: -4px; outline-color: var(--color-focus); }
.docket, .ticket { --tooth: 9px; padding: var(--space-lg) var(--space-lg) var(--space-xl); background: var(--color-docket); color: var(--color-docket-ink); font-family: var(--font-outlier); font-size: var(--text-docket); line-height: 1.5; overflow: visible; mask: conic-gradient(from -45deg at bottom, transparent, var(--color-ink) 1deg 89deg, transparent 90deg) 50% / calc(2 * var(--tooth)) 100%; }
.panel { display: grid; gap: var(--space-sm); align-content: start; }
.panel + .panel { margin-top: var(--space-lg); }
/* every panel shares one cell, so the tallest sets the height in either language and a click never moves the page */
.js .panels { display: grid; }
.js .panel { grid-area: 1 / 1; margin: 0; }
.js .panel[hidden] { display: grid !important; visibility: hidden; }
@keyframes feed { from { opacity: 0; transform: translateY(-6px); } }
.panel.printing > * { animation: feed var(--dur-long) var(--ease-out) backwards; }
.panel.printing > :nth-child(2) { animation-delay: 120ms; }
.panel.printing > :nth-child(3) { animation-delay: 240ms; }
.msg { padding: var(--space-sm) var(--space-md); }
.msg.in { padding-inline: 0; }
.msg .who { display: block; margin-bottom: var(--space-2xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-docket-muted); }
.msg [data-to] { font-weight: 500; font-variant-numeric: tabular-nums; }
.msg.draft { border-radius: var(--space-sm); background: var(--color-sand-soft); }
.checked { font-size: var(--text-sm); color: var(--color-docket-muted); }
.docket-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); margin-top: var(--space-md); font-family: var(--font-body); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.actions button { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-docket-ink); border-radius: var(--radius-card); background: transparent; color: var(--color-docket-ink); cursor: pointer; }
.actions button:hover { background: var(--color-sand-soft); }
.actions button.go { border-color: var(--color-docket-ink); background: var(--color-accent-on-docket); color: var(--color-accent-on-docket-ink); }
.status { display: grid; flex: 1 1 14rem; margin: 0; font-size: var(--text-sm); }
.status span { grid-area: 1 / 1; }
.status span[hidden] { display: block !important; visibility: hidden; }

/* who it is for */
.room-cap { padding-top: var(--space-md); border-top: 1px solid var(--color-ink); font-size: var(--text-lead); }

/* the argument */
.rules { padding-block: var(--section-gap-s); }
.rules .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.rules h2 { font-size: var(--text-display-s); }
.cols { display: grid; gap: var(--space-lg); }
.step { padding-top: var(--space-md); border-top: 1px solid var(--color-ink); }
.step p { margin-top: var(--space-xs); color: var(--color-ink-2); }

/* how a job moves: four steps, numbered */
.flow { display: grid; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow li { position: relative; display: grid; gap: var(--space-2xs); padding-left: var(--space-2xl); counter-increment: step; }
.flow li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--color-ink); border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; }
.flow li + li::after { content: ""; position: absolute; left: 20px; top: calc(-1 * var(--space-lg)); height: var(--space-lg); border-left: 1px solid var(--color-ink); }
.flow b { font-size: var(--text-title); font-weight: 500; }
.flow span { color: var(--color-ink-2); }

/* example chart: one series, the peak labelled, every bar hoverable */
.week { padding-block: var(--section-gap-s); }
.week .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.week p { margin-top: var(--space-md); color: var(--color-ink-2); }
.chart { position: relative; margin: 0; padding: var(--space-xl); border: 1px solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-docket); color: var(--color-docket-ink); }
.chart svg { width: 100%; height: auto; overflow: visible; font-family: var(--font-body); }
.chart .grid { stroke: var(--color-docket-rule); stroke-width: 1; }
.chart .tick, .chart .day { fill: var(--color-docket-muted); font-size: 14px; }
.chart .val { fill: var(--color-docket-ink); font-size: 16px; font-weight: 500; }
.chart .hit { fill: transparent; }

/* venue notes */
.know { padding-block: var(--section-gap-s); border-block: 1px solid var(--color-rule); }
.know .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.know p { margin-top: var(--space-md); color: var(--color-ink-2); }
.notes { padding: var(--space-lg) var(--space-xl) var(--space-md); border: 1px solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-docket); color: var(--color-docket-ink); font-family: var(--font-outlier); font-size: var(--text-docket); }
.notes-h { padding-bottom: var(--space-sm); font-size: var(--text-sm); color: var(--color-docket-muted); }
.notes dl { margin: 0; }
.notes dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-docket-rule); }
.notes dt { font-weight: 500; }
.notes dd { margin: 0; text-wrap: pretty; }

/* the menu: priced rows, the way a venue prints one */
.menu-sec { padding-block: var(--section-gap) var(--section-gap-s); }
.menu { margin-top: var(--space-2xl); border-top: 1px solid var(--color-ink); }
.menu .offer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); grid-template-areas: "title desc price" "tag desc price"; grid-template-rows: auto 1fr; gap: 0 var(--gap-columns); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.menu .offer h3 { grid-area: title; font-size: var(--text-2xl); }
.offer .tag { display: block; font-size: var(--text-sm); color: var(--color-accent-text); }
.menu .offer .tag { grid-area: tag; margin-top: var(--space-2xs); }
.offer p { color: var(--color-ink-2); }
.menu .offer p { grid-area: desc; }
.menu .offer .price { grid-area: price; }
.price { font: 500 var(--text-xl)/1.15 var(--font-body); font-variant-numeric: tabular-nums; }
.menu .price { text-align: right; }
.price small { display: block; margin-top: var(--space-2xs); font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink-2); }
.menu .offer.first { margin-inline: calc(-1 * var(--space-md)); padding-inline: var(--space-md); border-bottom: 0; border-radius: var(--space-sm); background: var(--color-sand-soft); color: var(--color-docket-ink); }
.offer.first p, .offer.first small, .offer.first li { color: var(--color-docket-ink); }
.offer.first .tag { color: var(--color-docket-muted); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-lg); color: var(--color-ink-2); }
.menu-foot .btn { color: var(--color-ink); }

/* training: a change of paper, the line set large */
.training { padding-block: var(--section-gap-s); color: var(--color-ink); }
.training h2 { max-width: none; font-size: var(--text-display-s); }
.training-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); margin-top: var(--space-2xl); }
.training .btn { margin-top: var(--space-lg); }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); align-self: start; }
.level { padding-top: var(--space-sm); border-top: 1px solid currentColor; }
.level .mono { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); }

/* about */
.about { padding-block: var(--section-gap-s) var(--section-gap); }
.about .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.about p { max-width: 60ch; color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.5; }
.about p + p { margin-top: var(--space-md); }
.about .btn { margin-top: var(--space-lg); color: var(--color-ink); }

/* the close */
.cta { padding-block: var(--section-gap-s); border-top: 1px solid var(--color-rule); color: var(--color-ink); }
.cta .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--space-3xl); align-items: end; }
.cta h2 { font-size: var(--text-display-s); }
.cta-side { display: grid; gap: var(--space-md); justify-items: start; }
.cta-side .btn, .cta-side button { font-family: var(--font-body); }
.cta-side p { font-family: var(--font-body); font-size: var(--text-md); }
.cta-side p.cta-note { font-size: var(--text-sm); color: var(--color-docket-muted); }
.cta-side :focus-visible { outline-color: var(--color-docket-ink); }
.cta-side .btn.primary { border-color: var(--color-docket-ink); background: var(--color-docket-ink); color: var(--color-docket); }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); }
.mail code { font-family: inherit; overflow-wrap: anywhere; user-select: all; }
.mail button { min-height: 44px; padding: 0 var(--space-md); border: 1px solid currentColor; border-radius: var(--radius-card); background: transparent; color: inherit; cursor: pointer; }
.mail button:hover { background: color-mix(in oklab, currentColor 14%, transparent); }

/* footer: the wordmark as a mast */
.site-foot { padding-block: var(--space-2xl) var(--space-lg); font-size: var(--text-sm); color: var(--color-ink-2); }
.site-foot .brand { color: var(--color-ink); }
.site-foot .brand svg { height: 36px; width: auto; color: var(--color-ink); }
.site-foot .brand span { padding-bottom: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-md); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--space-xl) var(--gap-columns); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-ink); }
.foot-grid h2, .foot-grid h3 { margin-bottom: var(--space-xs); font: 500 var(--text-sm)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-ink); }
.foot-grid ul { margin: 0; padding: 0; list-style: none; }
.foot-grid ul a { display: inline-block; padding-block: var(--space-2xs); min-height: 28px; text-decoration: none; }
.foot-grid ul a:hover { text-decoration: underline; }
.foot-grid .place { margin-top: var(--space-xs); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-xl); }


/* inner pages: same chrome, same paper, a shorter teal head */
.navlist a[aria-current="page"]:not(.btn) { text-decoration: underline; }
.page-band { background: var(--color-paper); color: var(--color-ink); }
.page-head { padding-block: var(--space-2xl) var(--space-3xl); }
.page-head h1 { max-width: 24ch; font-size: clamp(2.5rem, 3vw + 1.25rem, 4rem); line-height: 1.1; }
.page-head .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.sec { padding-block: var(--section-gap-s); }
.sec.alt { border-block: 1px solid var(--color-rule); }
.sec.sand { color: var(--color-ink); }
.sec-head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.muted { color: var(--color-ink-2); }
table.sr-only { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.split-form { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split .sec-head { margin-bottom: 0; }
.stack > * + *, .prose > * + * { margin-top: var(--space-md); }
.prose .btn-row { margin-top: var(--space-lg); }
.quote { font: 500 var(--text-display-s)/1.1 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }
.mono { font-size: var(--text-sm); font-weight: 500; }
.sec .level .mono, .step .k, .side .mono { display: block; color: var(--color-accent-text); }
.btn.small { min-height: 44px; padding-inline: var(--space-md); }

.ticks, .crosses { display: grid; gap: var(--space-sm); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.ticks li, .crosses li { position: relative; padding-left: var(--space-lg); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 6px; height: 11px; border: solid var(--color-accent-text); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.crosses li::before { content: "\00d7"; position: absolute; left: 1px; top: -0.08em; font-size: 1.25em; font-weight: 500; color: var(--color-accent-text); }
.offer.first .ticks li::before { border-color: var(--color-docket-ink); }
.ticks.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); column-gap: var(--gap-columns); }
.offer strong, .ticks strong { font-weight: 500; }

.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--space-xl) var(--gap-columns); }
.offers .offer { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-xl); border: 1px solid currentColor; border-radius: var(--radius-card); }
.offers .offer h3 { font-size: var(--text-xl); }
.offers .price { margin-top: var(--space-sm); }
.offers.audit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offers.audit .offer { padding: var(--space-xl); border: 1px solid var(--color-ink); border-radius: var(--radius-card); }
.offers.audit .offer.first { background: var(--color-sand-soft); color: var(--color-docket-ink); }
.offer.first .tag { color: var(--color-docket-muted); }

/* the agents, printed like the home menu */
.offers.agents { display: block; border-top: 1px solid currentColor; }
.offers.agents .offer { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "title a b"; gap: 0 var(--gap-columns); padding: var(--space-lg) 0; border: 0; border-bottom: 1px solid var(--color-rule); border-radius: 0; }
.agents .offer h3 { grid-area: title; }
.agents .offer p:nth-of-type(1) { grid-area: a; }
.agents .offer p:nth-of-type(2) { grid-area: b; }
.agents .offer b { display: block; margin-bottom: var(--space-2xs); font-weight: 500; color: var(--color-ink); }
.audit-finds { margin-top: var(--space-2xl); }
.audit-finds h3 { font-size: var(--text-2xl); }
.audit-finds .muted { margin-top: var(--space-sm); }
.note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }

.table-scroll { border-top: 1px solid currentColor; overflow-x: auto; }
.tier-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tier-table th, .tier-table td { padding: var(--space-md) var(--space-lg) var(--space-md) 0; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: baseline; }
.tier-table thead th { font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.tier-table tbody th { font: 500 var(--text-xl)/1.2 var(--font-display); white-space: nowrap; }
.tier-table td { color: var(--color-ink-2); }
.tier-table td.price-cell { padding-right: 0; font-weight: 500; color: var(--color-ink); white-space: nowrap; }

.limits { padding: var(--space-xl); border: 1px solid currentColor; border-radius: var(--radius-card); }
.limits h3 { font-size: var(--text-xl); }
.limits .crosses:first-child { margin-top: 0; }
.limits .mono { display: block; }
.step .k { margin-top: var(--space-2xs); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.steps + p { margin-top: var(--space-xl); }

.ticket { padding: var(--space-lg) var(--space-lg) var(--space-xl); background: var(--color-docket); color: var(--color-docket-ink); font-family: var(--font-outlier); font-size: var(--text-docket); }
.stack > .ticket { margin-top: var(--space-xl); }
.ticket .th, .ticket .row, .ticket .tot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xs) var(--space-md); padding-block: var(--space-sm); }
.ticket .th { padding-top: 0; font-weight: 500; }
.ticket .row { border-top: 1px solid var(--color-docket-rule); }
.ticket .row em { font-style: normal; font-weight: 500; }
.ticket .tot { border-top: 1px solid var(--color-docket-ink); font-weight: 500; }

.faq { border-top: 1px solid currentColor; }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { padding-block: var(--space-md); font: 500 var(--text-title)/1.25 var(--font-display); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding-bottom: var(--space-lg); color: var(--color-ink-2); }

.form { display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-size: var(--text-sm); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-ink); border-radius: 6px; background: var(--color-paper); color: var(--color-ink); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.hint, .form-note { font-size: var(--text-sm); color: var(--color-ink-2); }
.form .btn-row { margin-top: var(--space-xs); }
.confirm { padding: var(--space-xl); border: 1px dashed var(--color-ink); border-radius: var(--radius-card); }
.confirm h2 { font-size: var(--text-2xl); }
.confirm p { margin-top: var(--space-sm); }
.confirm .btn-row { margin-top: var(--space-lg); }
.side { display: grid; gap: var(--space-xl); }
.side > div > * + * { margin-top: var(--space-xs); }

@media (max-width: 60rem) {
  .split, .split-form, .offers.audit, .steps, .sec .levels { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .page-head { padding-block: var(--space-xl) var(--space-2xl); }
  .offers.agents .offer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "a" "b"; gap: var(--space-xs); }
  .navbtn { display: inline-block; }
  .js .navlist { display: none; position: absolute; inset: 100% calc(-1 * var(--gutter)) auto; z-index: var(--z-dropdown); flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-xs) var(--gutter) var(--space-md); background: var(--color-paper); border-bottom: 1px solid var(--color-ink); }
  .js .navlist.open { display: flex; }
  .navlist li { padding-block: var(--space-2xs); }
  .hero, .know .container, .training-body, .about .container, .cta .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero { min-height: 0; padding-block: var(--space-xl); }
  .rules .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .week .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .chart { padding: var(--space-md); }
  .chart .tick, .chart .day { font-size: 22px; }
  .chart .val { font-size: 24px; }
  .menu .offer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "tag" "desc" "price"; grid-template-rows: none; gap: var(--space-xs); }
  .menu .price { text-align: left; }
}
@media (max-width: 40rem) {
  .tier-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tier-table, .tier-table tbody, .tier-table tr, .tier-table th, .tier-table td { display: block; width: 100%; }
  .tier-table tr { padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
  .tier-table tbody th, .tier-table td, .tier-table td.price-cell { padding: 0; border: 0; white-space: normal; }
  .tier-table td { margin-top: var(--space-2xs); }
  .ticket { padding-inline: var(--space-md); }
  .docket { padding-inline: var(--space-md); }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .tabs button { padding-inline: var(--space-xs); }
  .notes { padding-inline: var(--space-md); }
  .levels { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .site-foot .brand span { display: none; }
}

/* alive: Steep float, graphite band, Ramp-style reveals and a job that moves */
.hero { position: relative; isolation: isolate; }
@keyframes drift { 50% { translate: 0 -10px; } }
.console { animation: drift 7s ease-in-out infinite; }

.rules, .week { --color-paper: var(--night); --color-ink: var(--night-ink); --color-ink-2: var(--night-ink-2); --color-rule: var(--night-rule); --color-focus: var(--color-accent);
  --color-docket: var(--night-2); --color-docket-ink: var(--night-ink); --color-docket-muted: var(--night-ink-2); --color-docket-rule: var(--night-rule);
  background: var(--color-paper); color: var(--color-ink); }
.rules { background: var(--night); }
.rules h2, .week h2 { font-weight: 500; letter-spacing: -0.022em; }
.flow li::before { transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.flow li b { transition: color 400ms var(--ease-out); }
.flow li.on::before { border-color: var(--color-accent); background: var(--color-accent); color: var(--ink-fixed); box-shadow: 0 0 0 6px var(--accent-halo); }
.flow li:not(.on) b { color: var(--color-ink-2); }
.no-motion .flow li b, html:not(.js) .flow li b { color: var(--color-ink); }

.chart { border-color: var(--color-docket-rule); }
.chart .area { fill: var(--color-brass); fill-opacity: 0.12; }
.chart .line { fill: none; stroke: var(--color-brass); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .pt circle { fill: var(--color-docket); stroke: var(--color-brass); stroke-width: 2; transition: r 200ms var(--ease-out), fill 200ms var(--ease-out); }
.chart .pt.top circle, .chart .pt:hover circle, .chart .pt:focus-visible circle { fill: var(--color-accent); r: 8px; }
.chart .peak rect { fill: var(--color-accent); }
.chart .peak text { fill: var(--ink-fixed); font-size: 15px; font-weight: 600; }
.chart .cross { stroke: var(--color-docket-muted); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; transition: opacity 200ms; }
.chart .pt:hover .cross, .chart .pt:focus-visible .cross { opacity: 1; }
.chart .pt:focus { outline: none; }
.chart .pt:focus-visible .hit { stroke: var(--color-focus); stroke-width: 2; }
.js .chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms cubic-bezier(0.25, 1, 0.5, 1) 200ms; }
.js .chart .area, .js .chart .pt circle, .js .chart .peak { opacity: 0; transition: opacity 600ms ease 1200ms; }
.js .chart.in .line { stroke-dashoffset: 0; }
.js .chart.in .area, .js .chart.in .pt circle, .js .chart.in .peak { opacity: 1; }

.js .rv { opacity: 0; translate: 0 24px; transition: opacity 400ms cubic-bezier(0.25, 1, 0.5, 1), translate 400ms cubic-bezier(0.25, 1, 0.5, 1); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .rv, .js .chart .line, .js .chart .area, .js .chart .pt circle, .js .chart .peak { opacity: 1; translate: none; stroke-dashoffset: 0; } .console { animation: none; } }

/* Ventriloc: whisper-weight headings, sharp buttons, pill nav, white and ash bands */
h1, h2 { line-height: 1.0; }
.hero h1 { line-height: 0.98; }
.rules h2, .week h2 { font-weight: 400; letter-spacing: var(--tracking-display); }
.navlist .btn { border-radius: var(--radius-pill); }
.know, .about { background: var(--color-paper-3); border-block: 0; }
.chart { border-radius: 20px; }
a:not(.btn):not(.brand):hover { text-decoration-color: var(--color-accent); }
.js .words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .words .w > span { display: inline-block; translate: 0 105%; transition: translate 900ms cubic-bezier(0.25, 1, 0.5, 1); transition-delay: calc(var(--i) * 60ms); }
.js .words.in .w > span { translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .words .w > span { translate: none; } }
/* Handhold-style serif headings: light Cormorant, set a touch larger for its small x-height; h3 stays in Inter */
h1, h2 { letter-spacing: -0.015em; }
h1 { font-size: calc(var(--text-display) * 1.12); }
.hero h1 { font-size: clamp(3.1rem, 3.4vw + 1.4rem, 4.6rem); line-height: 1.0; }
h2 { font-size: calc(var(--text-section) * 1.12); }
.rules h2 { font-size: calc(var(--text-display-s) * 1.12); }
.rules h2, .week h2 { font-weight: 300; }
h3 { font-family: var(--font-body); font-weight: 500; letter-spacing: -0.01em; }
.know.build { background: var(--color-paper); border-block: 1px solid var(--color-rule); }

/* Dub + ClickUp home: centred hero on a grid, labelled feature heads, stack, funnel, cycler, tiles, marquee */
.grid-bg { position: relative; isolation: isolate; padding-bottom: var(--space-3xl); }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--color-rule) 1px, transparent 1px), linear-gradient(90deg, var(--color-rule) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask: linear-gradient(var(--color-ink) 40%, transparent); mask: linear-gradient(var(--color-ink) 40%, transparent); }
.hero-band .rail::before { inset: 0 0 auto 0; }
.hero.center { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; min-height: 0; padding-block: var(--space-3xl) var(--space-2xl); }
.hero.center h1 { max-width: 14ch; font-size: clamp(3.2rem, 5.2vw + 1rem, 6.4rem); line-height: 0.98; }
.hero.center .lead { max-width: 46ch; }
.hero.center .btn-row { justify-content: center; }
.pill { display: inline-flex; margin-top: var(--space-lg); padding: var(--space-2xs) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); font-size: var(--text-sm); color: var(--color-ink-2); }
.hl { padding-inline: 0.06em; font-variant-numeric: lining-nums; background: linear-gradient(transparent 70%, var(--color-accent) 70% 94%, transparent 94%) no-repeat 0 0 / 0% 100%; transition: background-size 900ms var(--ease-out) 700ms; }
.words.in .hl, .no-motion .hl, html:not(.js) .hl { background-size: 100% 100%; }
.hero-band .console { max-width: 880px; margin-inline: auto; }

.tone-sec { padding-block: var(--section-gap-s) var(--space-3xl); text-align: center; }
.tone { max-width: 22ch; margin-inline: auto; }
.tone span { color: var(--color-muted); }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: var(--space-xl) 0 0; border-top: 1px solid var(--color-rule); list-style: none; text-align: left; }
.pains b { display: block; font-weight: 500; }
.pains span { color: var(--color-ink-2); }

.feature { padding-block: var(--section-gap-s); border-top: 1px solid var(--color-rule); }
.dots { background-image: radial-gradient(var(--color-rule) 1px, transparent 1.5px); background-size: 18px 18px; }
.feature-head { display: grid; justify-items: start; gap: var(--space-md); max-width: 40rem; margin-bottom: var(--space-2xl); }
.feature-head.center { justify-items: center; margin-inline: auto; text-align: center; }
.feature-head p { color: var(--color-ink-2); }
.label { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.label i { width: 14px; height: 14px; border-radius: 4px; background: var(--color-accent); }

.stack { display: grid; gap: var(--space-sm); max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.stack li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border: 1px solid var(--color-rule); border-radius: 14px; background: var(--color-docket); color: var(--color-docket-ink); box-shadow: 0 6px 14px var(--shadow-docket); }
.stack li:nth-child(2) { margin-left: var(--space-xl); } .stack li:nth-child(3) { margin-left: var(--space-2xl); } .stack li:nth-child(4) { margin-left: var(--space-xl); }
.stack b { font-weight: 500; }
.stack span { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-docket-muted); }
.stack em { padding: var(--space-3xs) var(--space-sm); border: 1px solid var(--color-docket-rule); border-radius: var(--radius-pill); font-style: normal; font-size: var(--text-sm); }
.stack em.flag { border-color: var(--color-accent); }
.feature .note { text-align: center; }

.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.funnel { margin: 0; padding: var(--space-xl); border: 1px solid var(--color-docket-rule); border-radius: 20px; background: var(--color-docket); color: var(--color-docket-ink); }
.funnel svg { width: 100%; height: auto; font-family: var(--font-body); }
.funnel .band { fill: var(--color-accent); }
.funnel .b1 { fill-opacity: 0.85; } .funnel .b2 { fill-opacity: 0.55; } .funnel .b3 { fill-opacity: 0.3; }
.funnel .sep { stroke: var(--color-docket-rule); stroke-dasharray: 3 4; }
.funnel .stage { fill: var(--color-docket-muted); font-size: 14px; }
.funnel .pct rect { fill: var(--color-docket); }
.funnel .pct text { fill: var(--color-docket-ink); font-size: 13px; font-weight: 600; }
.js .funnel .reveal { transform: scaleX(0); transition: transform 1600ms cubic-bezier(0.25, 1, 0.5, 1) 200ms; }
.js .funnel.in .reveal { transform: scaleX(1); }
.js .funnel .pct { opacity: 0; transition: opacity 500ms ease 1300ms; }
.js .funnel.in .pct { opacity: 1; }

.cycler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.cycler li { position: relative; padding: var(--space-md) 0 0 var(--space-lg); border-left: 1px solid var(--color-rule); transition: opacity 400ms ease; }
.cycler li::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 100%; background: var(--color-accent); transform: scaleY(0); transform-origin: top; }
.cycler b { display: block; font-weight: 500; }
.cycler span { color: var(--color-ink-2); }
.js .cycler.on li { opacity: 0.4; }
.js .cycler.on li.on { opacity: 1; }
.js .cycler li.on::before { transform: scaleY(1); transition: transform 3000ms linear; }

.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule); border-left: 1px solid var(--color-rule); }
.tile { display: grid; justify-items: center; gap: var(--space-sm); padding: var(--space-xl) var(--space-sm); border-right: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); font-size: var(--text-sm); transition: background-color 200ms ease; }
.tile svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: translate 300ms var(--ease-out), color 200ms ease; }
.tile:hover { background: var(--color-paper-3); }
.tile:hover svg { translate: 0 -4px; color: var(--color-accent); }
.marquee { margin-top: var(--space-2xl); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, var(--color-ink) 12% 88%, transparent); mask: linear-gradient(90deg, transparent, var(--color-ink) 12% 88%, transparent); }
.marquee ul { display: flex; gap: var(--space-sm); width: max-content; margin: 0; padding: 0; list-style: none; animation: slide 40s linear infinite; }
.marquee li { padding: var(--space-xs) var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); white-space: nowrap; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes slide { to { translate: calc(-50% - var(--space-sm) / 2) 0; } }
.note.center { text-align: center; }

.creds { padding-block: var(--space-3xl); border-top: 1px solid var(--color-rule); text-align: center; }
.creds-h { font-size: var(--text-sm); color: var(--color-ink-2); }
.creds ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md) var(--space-2xl); margin: var(--space-lg) 0 0; padding: 0; list-style: none; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 300; }

@media (max-width: 60rem) {
  .pains, .charts, .cycler { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stack li { grid-template-columns: minmax(0, 1fr) auto; }
  .stack li span { display: none; }
  .stack li:nth-child(n) { margin-left: 0; }
  .funnel { padding: var(--space-md); }
}
@media (prefers-reduced-motion: reduce) { .marquee ul { animation: none; flex-wrap: wrap; width: auto; } .js .funnel .reveal { transform: none; } .js .funnel .pct { opacity: 1; } .hl { transition: none; } }

/* charts, round 2: a header figure, a fill that follows the line, points that pop as the line passes, a pulse on the peak, hover tips, dots that flow through the funnel */
.chart-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); margin-bottom: var(--space-md); font-family: var(--font-body); }
.chart-head > span { flex-basis: 100%; font-size: var(--text-sm); color: var(--color-docket-muted); }
.chart-head b { font-family: var(--font-display); font-size: clamp(2.2rem, 2vw + 1.4rem, 3rem); font-weight: 300; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--color-docket-ink); }
.chart-head small { font-size: var(--text-xs); color: var(--color-docket-muted); }
.chart .area { fill: url(#wk-fill); fill-opacity: 1; }
.chart .s0 { stop-color: var(--color-brass); stop-opacity: 0.4; }
.chart .s1 { stop-color: var(--color-brass); stop-opacity: 0; }
.js .chart .area { opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path 1600ms cubic-bezier(0.25, 1, 0.5, 1) 200ms; }
.js .chart.in .area { clip-path: inset(0 0 0 0); }
.js .chart .pt circle { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: opacity 250ms ease, transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), r 200ms var(--ease-out), fill 200ms var(--ease-out); transition-delay: calc(250ms + var(--k) * 210ms), calc(250ms + var(--k) * 210ms), 0s, 0s; }
.js .chart.in .pt circle { opacity: 1; transform: none; }
.chart .pt.top circle.ring { fill: none; stroke: var(--color-accent); stroke-width: 2; }
.js .chart.in .pt circle.ring { opacity: 0; animation: ping 1.8s ease-out 2.4s 5; }
@keyframes ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
.chart .tip { opacity: 0; translate: 0 6px; transition: opacity 160ms ease, translate 200ms var(--ease-out); pointer-events: none; }
.chart .pt:hover .tip, .chart .pt:focus-visible .tip { opacity: 1; translate: 0 0; }
.chart .tip rect { fill: var(--color-docket-ink); }
.chart .tip text { fill: var(--color-docket); font-size: 15px; font-weight: 600; }

.flowdots circle { fill: var(--color-docket); opacity: 0; }
.funnel.in .flowdots circle { animation: flow 5.5s linear var(--t) infinite; }
.funnel:hover .flowdots circle, .funnel:focus-within .flowdots circle { animation-play-state: paused; }
@keyframes flow { 0% { opacity: 0; transform: translateX(0); } 6% { opacity: 0.85; } 100% { opacity: 0.85; transform: translateX(590px); } }
.js .funnel .pct { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; transition: opacity 300ms ease, transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(600ms + var(--k) * 380ms); }
.js .funnel.in .pct { opacity: 1; transform: none; }
.funnel .band { transition: fill-opacity 200ms ease; }
.funnel:hover .band { fill-opacity: 0.35; }
.funnel .band:hover { fill-opacity: 0.95; }

@media (prefers-reduced-motion: reduce) {
  .js .chart .area { clip-path: none; }
  .js .chart .pt circle, .js .funnel .pct { opacity: 1; transform: none; }
  .js .chart.in .pt circle.ring, .flowdots { display: none; }
}

/* RAG + security, and the AI basics glossary */
.rag .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.rag .container > div:first-child { display: grid; justify-items: start; gap: var(--space-md); }
.rag p { color: var(--color-ink-2); }
.ragdemo { display: grid; gap: var(--space-sm); width: 100%; padding: var(--space-lg); border: 1px solid var(--color-docket-rule); border-radius: 14px; background: var(--color-docket); color: var(--color-docket-ink); font-family: var(--font-outlier); font-size: var(--text-docket); box-shadow: 0 6px 14px var(--shadow-docket); }
.ragdemo .src { display: inline-block; margin-top: var(--space-xs); padding: var(--space-3xs) var(--space-sm); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); font-family: var(--font-body); font-size: var(--text-xs); }
.secure { padding: var(--space-xl); border-radius: 20px; background: var(--night); color: var(--night-ink); }
.secure h3 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 300; letter-spacing: -0.01em; }
.secure .ticks li::before { border-color: var(--color-accent); }
.secure .note { color: var(--night-ink-2); }

.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.glossary li { display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: 14px; background: var(--color-paper); transition: border-color 200ms ease, translate 300ms var(--ease-out); }
.glossary li:hover, .js .glossary li.rv.in:hover { border-color: var(--color-accent); translate: 0 -3px; }
.glossary b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; line-height: 1.1; }
.glossary span { font-size: var(--text-sm); color: var(--color-ink-2); }
.glossary-sec { background: var(--color-paper-3); }

@media (max-width: 60rem) { .rag .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .secure { padding: var(--space-lg); } }

/* privacy policy draft */
.policy { max-width: 46rem; }
.policy h2 { margin-top: var(--space-2xl); font-size: var(--text-2xl); }
.policy ul { padding-left: var(--space-lg); }
.policy li + li { margin-top: var(--space-xs); }
.policy p, .policy li { color: var(--color-ink-2); }
.policy b { color: var(--color-ink); font-weight: 500; }
.draft { padding: var(--space-md) var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-card); }
.fill { padding: 0 0.2em; border-radius: 3px; background: var(--color-sand-soft); color: var(--color-ink); }

/* our own boxes-hover, drawn on a canvas behind the dark band */
.rules { position: relative; isolation: isolate; overflow: hidden; }
.boxes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* ClickUp look (chosen 7 Nov): heavy tight sans headings, pills everywhere, mono meta labels. Our orange stays the one accent. */
h1, h2 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.hero.center h1 { font-weight: 800; font-size: clamp(3rem, 4.6vw + 1rem, 5.4rem); line-height: 1.02; max-width: 15ch; }
h2 { font-size: calc(var(--text-section) * 0.95); }
.rules h2, .week h2 { font-weight: 700; }
.tone span { color: var(--color-muted); }
.btn, .navlist .btn, .actions button, .tabs button { border-radius: var(--radius-pill); }
.tabs button { border-top: 1px solid var(--color-ink); margin-top: var(--space-xs); }
.label { font-family: var(--font-outlier); font-size: var(--text-xs); }
.label i { border-radius: var(--radius-pill); }
.creds-h { font-family: var(--font-outlier); font-size: var(--text-xs); }
.creds ul, .chart-head b, .secure h3, .glossary b { font-weight: 700; letter-spacing: -0.03em; }
.stack li, .glossary li, .ragdemo { border-radius: 12px; }
.glossary b { font-size: var(--text-lg); }

/* Dub layer (7 Nov): borders and a soft 4px ring instead of drop shadows; feature pills under the hero */
.stack li, .ragdemo { box-shadow: 0 0 0 4px var(--shadow-docket); }
.chart, .funnel { box-shadow: 0 0 0 4px var(--shadow-docket); }
.feat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs); margin-top: var(--space-xl); }
.feat-pills a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; text-decoration: none; transition: border-color 150ms ease, translate 200ms var(--ease-out); }
.feat-pills a:hover { border-color: var(--color-accent); translate: 0 -2px; }
.feat-pills svg { width: 16px; height: 16px; fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* hero cubes: fade out with the grid lines */
.grid-bg > .boxes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; -webkit-mask: linear-gradient(var(--color-ink) 40%, transparent); mask: linear-gradient(var(--color-ink) 40%, transparent); }

/* connect: two rows of real app logos drifting in opposite directions */
.connect .marquee { margin-top: var(--space-md); }
.connect .marquee:first-of-type { margin-top: 0; }
.marquee.logos ul { animation-duration: 60s; }
.marquee.logos.rev ul { animation-direction: reverse; }
.marquee.logos li { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; transition: color 150ms ease, border-color 150ms ease; }
.marquee.logos li:hover { color: var(--color-ink); border-color: var(--color-ink-2); }
.marquee.logos svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* shorter home: venues + apps in one section */
.venues .marquee + .marquee { margin-top: var(--space-md); }
.btn-row.center { justify-content: center; margin-top: var(--space-2xl); }

/* Reorganised (8 Nov, from his Ramp + ClickUp references): Products mega menu, two-tone heads, three product lines,
 * hours calculator, FAQ accordion, gradient closing card, five-column footer. Restyled to the v55 ClickUp look on 8 Nov: bold black type, black card, orange only on controls. */
h2.tt { margin-bottom: 0; }
.tt-2 { margin: 0; max-width: none; font: 700 calc(var(--text-section) * 0.95)/1.05 var(--font-display); letter-spacing: -0.04em; color: var(--color-muted); }

/* nav + mega menu */
.mega-btn { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.mega-btn:hover { text-decoration: underline; }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: rotate var(--dur-short) var(--ease-out); }
.mega { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-dropdown); grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); border: 1px solid var(--color-rule); border-radius: 12px; background: var(--color-paper); color: var(--color-ink); overflow: hidden; }
@media (hover: hover) and (min-width: 60.01rem) { html:not(.js) .has-mega:hover .mega { display: grid; } html:not(.js) .has-mega:hover .chev { rotate: 180deg; } }
.mega-btn[aria-expanded="true"] + .mega { display: grid; }
.mega-btn[aria-expanded="true"] .chev { rotate: 180deg; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); padding: var(--space-lg); }
.mega-h { margin: 0 0 var(--space-xs); padding-bottom: var(--space-xs); border-bottom: 1px solid var(--color-rule); font: 500 var(--text-sm)/1.2 var(--font-body); color: var(--color-ink-2); }
.mega ul { display: grid; gap: var(--space-3xs); margin: 0; padding: 0; list-style: none; }
.navlist .mega li a { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: var(--space-sm); align-items: center; padding: var(--space-xs); border-radius: 12px; text-decoration: none; }
.mega li a:hover { background: var(--color-paper-3); }
.mega li a:hover b { text-decoration: underline; }
.mega i { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--color-paper-3); }
.mega i svg { width: 18px; height: 18px; fill: none; stroke: var(--color-ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mega li b { font-weight: 500; }
.mega li span { font-size: var(--text-sm); color: var(--color-ink-2); }
.navlist a.mega-feat { display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-lg); background: var(--color-paper-3); text-decoration: none; }
.feat-art { display: grid; place-content: center; aspect-ratio: 16 / 10; margin-bottom: var(--space-xs); border-radius: 12px; background: var(--night); color: var(--night-ink); font: 700 var(--text-xl)/1.1 var(--font-display); letter-spacing: -0.03em; text-align: center; }
.feat-art small { font: 500 var(--text-sm)/1.2 var(--font-body); color: var(--color-accent); }
.mega-feat b { font-weight: 500; }
.mega-feat:hover b { text-decoration: underline; }
.mega-feat > span:last-child { font-size: var(--text-sm); color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .mega-btn { display: none; }
  .js .mega-btn { display: flex; justify-content: space-between; width: 100%; }
  .js .navlist .mega { position: static; grid-template-columns: minmax(0, 1fr); border: 0; }
  .mega-cols { grid-template-columns: minmax(0, 1fr); padding: 0; gap: var(--space-md); }
  .navlist a.mega-feat { display: none; }
  .mega li span { display: none; }
  .mega i { grid-row: auto; width: 28px; height: 28px; }
}

/* three product lines */
.line-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.line-card { display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: 12px; background: var(--color-paper); color: var(--color-ink); text-decoration: none; transition: border-color var(--dur-short) ease, background-color var(--dur-short) ease; }
.line-card:hover { border-color: var(--color-ink-2); background: var(--color-paper-3); }
.line-tag { font: 500 var(--text-sm)/1.2 var(--font-body); color: var(--color-ink-2); }
.line-card b { font: 700 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.03em; }
.line-card > span:not(.line-tag) { color: var(--color-ink-2); }
.line-card em { margin-top: var(--space-xs); font-style: normal; font-weight: 600; color: var(--color-ink); }
.line-card em::after { content: " \2192"; }
.feature.dots .pains { margin-top: var(--space-2xl); }

/* hours calculator */
.calc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--gap-columns); margin-top: var(--space-xl); }
.calc-in { display: grid; gap: var(--space-lg); padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: 12px; }
.calc-in label { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs); font-weight: 500; }
.calc-in output { color: var(--color-ink); font-variant-numeric: tabular-nums; }
.calc-in input { grid-column: 1 / -1; width: 100%; accent-color: var(--color-ink); }
.calc-out { display: grid; align-content: start; gap: var(--space-2xs); padding: var(--space-xl); border-radius: 12px; background: var(--color-paper-3); }
.calc-k { margin: var(--space-sm) 0 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.calc-v { margin: 0; font: 700 var(--text-2xl)/1.1 var(--font-display); letter-spacing: -0.03em; }
.calc-v b { font-weight: 800; font-size: var(--text-3xl); letter-spacing: -0.04em; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.calc-out .btn { justify-self: start; margin-top: var(--space-md); }

/* FAQ accordion */
.faq { max-width: 860px; margin: var(--space-2xl) auto 0; border-top: 1px solid var(--color-rule); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; padding-block: var(--space-md); font-size: var(--text-lg); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--color-ink); border-bottom: 2px solid var(--color-ink); rotate: 45deg; translate: 0 -3px; transition: rotate var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq summary:hover { text-decoration: underline; }
.faq details p { margin: 0 0 var(--space-lg); max-width: 70ch; color: var(--color-ink-2); }

/* websites page */
.check-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-xl); }
.check-col { padding-top: var(--space-md); border-top: 1px solid var(--color-ink); }
.check-col h3 { margin-bottom: var(--space-sm); }
.offers.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fix-table th span { display: block; margin-top: var(--space-3xs); font-weight: 400; font-size: var(--text-sm); color: var(--color-ink-2); }
.fix-table tr.bundle th, .fix-table tr.bundle td { background: var(--color-paper-3); }
.fix-table tr.bundle td { color: var(--color-ink); font-weight: 700; }

/* closing card: the black band, as a card */
.cta { border-top: 0; }
.cta .container { padding: var(--space-3xl) var(--space-2xl); border-radius: 12px; background: var(--night); color: var(--night-ink); }
.cta h2 { color: var(--night-ink); }
.cta .cta-side { padding: var(--space-xl); border: 0; border-radius: 12px; }

/* five-column footer */
.foot-grid.cols5 { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); }

@media (max-width: 60rem) {
  .line-cards, .calc, .check-grid, .offers.plans { grid-template-columns: minmax(0, 1fr); }
  .foot-grid.cols5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta .container { padding: var(--space-2xl) var(--space-lg); }
}
.navlist .mega a:hover { text-decoration: none; }
/* Learn menu: text-only rows, ClickUp style */
.navlist .mega-text li a { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-2xs); }
.mega-text .mega-cols { gap: var(--space-md) var(--space-lg); }
.glossary li:target { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.glossary li, #levels, #formats { scroll-margin-top: 120px; }

/* ClickUp-style bar (8 Nov): logo, Products / Solutions / Learn / Pricing on the left; text link, grey button, black button on the right */
@media (min-width: 60.01rem) {
  .nav { justify-content: flex-start; gap: var(--space-xl); }
  .navlist { flex: 1; gap: var(--space-xl); }
  .navlist .nav-gap { margin-left: auto; }
  .navlist li:has(.nav-soft) { margin-left: calc(-1 * var(--space-md)); }
}
.navlist > li > a:not(.btn), .mega-btn { color: var(--color-ink-2); font-weight: 500; }
.navlist > li > a:not(.btn):hover, .mega-btn:hover, .mega-btn[aria-expanded="true"] { color: var(--color-ink); text-decoration: none; }
.navlist .btn { min-height: 44px; border-radius: 8px; font-weight: 600; }
.btn.soft { border-color: transparent; background: var(--color-paper-3); color: var(--color-ink); }
.btn.soft:hover { background: var(--color-rule); }
@media (max-width: 60rem) { .navbtn { margin-left: auto; } }

/* app logos in their own colours; black marks keep the text colour so they show in dark mode */
.marquee.logos li[style] svg { fill: var(--b); }

/* venue types: coloured icon tiles in a carousel */
.venue-row { margin-top: var(--space-xl); }
.venue-row ul { animation-duration: 45s; }
.venue-row li { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 60px; padding: 0 var(--space-lg) 0 var(--space-xs); border: 1px solid var(--color-rule); border-radius: 14px; background: var(--color-paper); font-weight: 600; }
.venue-row i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
.venue-row svg { width: 24px; height: 24px; fill: none; stroke: var(--paper-fixed); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.venue-row .t1 { background: var(--tile-1); } .venue-row .t2 { background: var(--tile-2); } .venue-row .t3 { background: var(--tile-3); } .venue-row .t4 { background: var(--tile-4); }
.venue-row .t5 { background: var(--tile-5); } .venue-row .t6 { background: var(--tile-6); } .venue-row .t7 { background: var(--tile-7); } .venue-row .t8 { background: var(--tile-8); }

/* consult pop-up: the old closing band, opened from "Book a consult" in the bar */
.cta.book-dialog { width: min(1040px, calc(100% - 2 * var(--space-md))); max-width: none; max-height: calc(100dvh - 2 * var(--space-md)); padding: 0; border: 0; background: transparent; overflow: auto; }
.book-dialog::backdrop { background: color-mix(in oklab, var(--night) 60%, transparent); }
.book-dialog .container { position: relative; max-width: none; margin: 0; }
.book-x { position: absolute; top: var(--space-sm); right: var(--space-sm); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--night-ink); font-size: var(--text-2xl); line-height: 1; cursor: pointer; }
.book-x:hover { background: color-mix(in oklab, var(--night-ink) 14%, transparent); }
.book-dialog[open] { animation: pop var(--dur-long) var(--ease-out); }
@keyframes pop { from { opacity: 0; translate: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .book-dialog[open] { animation: none; } }

/* Stripe-style black bands (8 Nov): "Always on" line-wave with three true numbers, and the integration diagram */
.night-band { --color-paper: var(--night); --color-ink: var(--night-ink); --color-ink-2: var(--night-ink-2); --color-muted: var(--night-ink-2); --color-rule: var(--night-rule); padding-block: var(--section-gap-s); background: var(--night); color: var(--night-ink); }
.night-band .tt-2 { max-width: 34ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.stats b { display: block; font: 800 clamp(2.75rem, 3vw + 1.5rem, 4.5rem)/1 var(--font-display); letter-spacing: -0.04em; }
.stats .s1 { color: var(--cube-1); } .stats .s2 { color: var(--cube-2); } .stats .s3 { color: var(--cube-3); }
.stats span { display: block; margin-top: var(--space-xs); color: var(--night-ink-2); }

.connect-sec { background-image: radial-gradient(var(--night-rule) 1px, transparent 1px); background-size: 18px 18px; }
.dg-fig { margin: var(--space-2xl) 0 0; }
.dg { display: block; width: 100%; max-width: 1000px; height: auto; margin-inline: auto; }
.dg text { font: 600 15px var(--font-body); text-anchor: middle; dominant-baseline: central; }
.dg .chip rect { fill: var(--night-2); stroke: var(--night-rule); }
.dg .chip text { fill: var(--night-ink); }
.dg .hub-bg { fill: var(--night-2); stroke: var(--color-accent); stroke-width: 1.5; }
.dg .hub-tile { fill: var(--color-accent); }
.dg .hub-g { fill: var(--ink-fixed); font: 800 24px var(--font-display); }
.dg .hub-4 { fill: var(--paper-fixed); font: 800 24px var(--font-display); }
.dg .wire { fill: none; stroke: var(--color-accent); stroke-opacity: 0.7; stroke-width: 1.5; stroke-dasharray: 3 5; animation: wire 1.4s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -16; } }
.dg-list { display: none; margin: 0; padding: 0; list-style: none; counter-reset: dg; }
.dg-list li { position: relative; padding: var(--space-sm) 0 var(--space-sm) var(--space-2xl); border-top: 1px dashed var(--night-rule); counter-increment: dg; }
.dg-list li::before { content: counter(dg); position: absolute; left: 0; top: var(--space-sm); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--color-accent); color: var(--ink-fixed); font-weight: 700; }
.dg-list b, .dg-list span { display: block; }
.dg-list span { color: var(--night-ink-2); }
.dg-fig .note { margin-top: var(--space-lg); text-align: center; color: var(--night-ink-2); }
@media (max-width: 48rem) {
  .dg { display: none; }
  .dg-list { display: block; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) { .dg .wire { animation: none; } }

/* livelier charts (8 Nov, after Ventriloc, Trunk and Retool): KPI tiles with sparklines, a live cursor tour, a ticking histogram */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0 0 var(--gap-columns); padding: 0; list-style: none; }
.kpi { display: grid; grid-template-columns: minmax(0, 1fr) 120px; grid-template-areas: "l s" "v s" "d s"; align-items: end; column-gap: var(--space-md); padding: var(--space-lg); border: 1px solid var(--color-docket-rule); border-radius: 20px; background: var(--color-docket); }
.kpi span { grid-area: l; font-size: var(--text-sm); color: var(--color-docket-muted); }
.kpi b { grid-area: v; margin-top: var(--space-2xs); font: 800 var(--text-3xl)/1 var(--font-display); letter-spacing: -0.04em; }
.kpi em, .chart-head .delta { grid-area: d; justify-self: start; margin-top: var(--space-xs); padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-success) 14%, transparent); color: var(--color-success); font: 600 var(--text-xs)/1.5 var(--font-body); font-style: normal; }
.kpi .spark { grid-area: s; width: 120px; height: 36px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .kpi.rv .spark polyline { stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms cubic-bezier(0.25, 1, 0.5, 1) calc(var(--d, 0ms) + 300ms); }
.js .kpi.rv.in .spark polyline { stroke-dashoffset: 0; }

.chart .cur { opacity: 0; transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1), opacity 300ms ease; pointer-events: none; }
.chart .cur.on { opacity: 1; }
.chart .cur path { fill: var(--color-docket-ink); stroke: var(--color-docket); stroke-width: 1.2; }
.chart .cur rect { fill: var(--color-accent); }
.chart .cur text { fill: var(--ink-fixed); font: 700 12px var(--font-body); }
.chart .pt.auto circle { fill: var(--color-accent); r: 8px; }
.chart .pt.auto .cross { opacity: 1; }
.chart .pt.auto .tip { opacity: 1; translate: 0 0; }

.histo-card { margin: var(--gap-columns) 0 0; padding: var(--space-xl); border: 1px solid var(--color-docket-rule); border-radius: 20px; background: var(--color-docket); color: var(--color-docket-ink); }
.histo { display: flex; align-items: flex-end; gap: var(--space-3xs); height: 160px; overflow: hidden; }
.histo i { flex: 1 0 0; min-width: 4px; display: flex; flex-direction: column-reverse; height: var(--h); border-radius: 3px 3px 0 0; overflow: hidden; transform-origin: bottom; transition: transform 400ms var(--ease-out), opacity 400ms ease; }
.histo i b { display: block; height: var(--a); background: var(--color-accent); }
.histo i s { display: block; flex: 1; background: var(--color-docket-muted); opacity: 0.55; text-decoration: none; }
.js .histo.grow i { transform: scaleY(0); }
.js .histo.grow.in i { transform: scaleY(1); transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1) calc(var(--k) * 14ms); }
.histo i.new { animation: barIn 600ms cubic-bezier(0.25, 1, 0.5, 1); }
.js .histo i.out { transform: scaleY(0); opacity: 0; }
@keyframes barIn { from { transform: scaleY(0); } }
.histo-key { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-docket-muted); }
.histo-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: var(--space-xs); border-radius: 3px; vertical-align: -1px; }
.histo-key .k-a::before { background: var(--color-accent); }
.histo-key .k-b::before { background: var(--color-docket-muted); opacity: 0.55; }
.histo-key .k-now { margin-left: auto; }
.histo-key .k-now::before { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@media (max-width: 60rem) { .kpis { grid-template-columns: minmax(0, 1fr); } .histo { height: 120px; } .histo-card { padding: var(--space-md); } }
@media (prefers-reduced-motion: reduce) { .histo-key .k-now::before { animation: none; } .histo i.new { animation: none; } }

/* compact integration diagram (8 Nov): tools on the left, curved wires into the hub, drafts on the right */
.connect-sec .dg { max-width: 940px; }
.connect-sec .dg-fig { margin-top: var(--space-xl); }
.dg text.l, .dg .col { text-anchor: start; }
.dg .col { fill: var(--night-ink-2); font: 500 13px var(--font-body); }
.dg .chip rect.logo-bg { fill: var(--paper-fixed); stroke: none; }
.dg .chip .mono { fill: var(--ink-fixed); }
.dg svg { display: inline; width: 18px; height: 18px; overflow: visible; }
.dg .chip.out circle { fill: var(--color-accent); }
.dg .tag { text-anchor: end; fill: var(--night-ink-2); font: 500 12px var(--font-body); }
.dg .wire { stroke-width: 1.25; stroke-opacity: 0.55; }
.dg .hub-ring { fill: none; stroke: var(--color-accent); stroke-opacity: 0.3; }
.dg .hub-name { fill: var(--night-ink); font: 700 15px var(--font-body); }
.dg .hub-sub { fill: var(--night-ink-2); font: 500 12px var(--font-body); }

/* FAQ in the top bar: one tab, questions open in place */
.mega-faq .faq-in { padding: var(--space-lg); }
.mega-faq .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); max-width: none; margin: 0; border-top: 0; }
.mega-faq .faq summary { min-height: 48px; padding-block: var(--space-sm); font-size: var(--text-md); font-weight: 500; }
.mega-faq .faq details p { margin-bottom: var(--space-sm); font-size: var(--text-sm); }
@media (max-width: 60rem) { .mega-faq .faq { grid-template-columns: minmax(0, 1fr); } .mega-faq .faq-in { padding: 0; } }

/* 15five-style question cards (8 Nov): tag pills, a question as the title, an insight line, the chart on a soft inner panel,
 * follow-up questions underneath; four cards staggered over a warm glow */
.feature.measure { position: relative; isolation: isolate; overflow: hidden; }
.feature.measure::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 28%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--cube-2) 26%, transparent), color-mix(in oklab, var(--cube-1) 12%, transparent) 62%, transparent); }
.qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.qgrid .qcard { margin: 0; padding: var(--space-lg); border: 1px solid var(--color-docket-rule); border-radius: 20px; background: var(--color-docket); color: var(--color-docket-ink); box-shadow: none; }
@media (min-width: 60.01rem) { .qgrid { padding-bottom: var(--space-2xl); } .qgrid .qcard:nth-child(even) { translate: 0 var(--space-2xl); } }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs); margin-bottom: var(--space-sm); }
.ctag { padding: var(--space-3xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-3); font-size: var(--text-xs); color: var(--color-docket-ink); }
.card-icons { display: flex; gap: var(--space-xs); margin-left: auto; }
.qgrid .card-icons svg { width: 16px; height: 16px; fill: none; stroke: var(--color-docket-muted); stroke-width: 1.75; stroke-linecap: round; }
.card-icons circle { fill: var(--color-docket-muted); stroke: none; }
.card-q { margin: 0; font: 700 var(--text-xl)/1.2 var(--font-display); letter-spacing: -0.02em; }
.card-a { margin: var(--space-xs) 0 var(--space-md); font-size: var(--text-sm); color: var(--color-docket-muted); }
.card-plot { padding: var(--space-md); border-radius: 14px; background: var(--color-paper-3); color: var(--color-docket-ink); }
.card-plot .chart-head { margin-bottom: var(--space-sm); }
.card-more { display: grid; gap: var(--space-3xs); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.card-more a { display: flex; align-items: center; gap: var(--space-xs); min-height: 40px; color: var(--color-docket-ink); font-size: var(--text-sm); text-decoration: none; }
.card-more a::after { content: "\203A"; margin-left: auto; font-size: var(--text-lg); color: var(--color-docket-muted); transition: translate var(--dur-short) var(--ease-out); }
.card-more a:hover span { text-decoration: underline; }
.card-more a:hover::after { translate: 3px 0; }
.qgrid .spk { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--color-accent); stroke-width: 1.75; stroke-linejoin: round; }

.donut-wrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: var(--space-lg); }
.qgrid .donut { display: block; width: 180px; height: 180px; margin: 0; }
.donut circle { fill: none; stroke-width: 18; transform: rotate(-90deg); transform-origin: 90px 90px; }
.donut .track { stroke: var(--color-rule); }
.donut .d1 { stroke: var(--color-accent); } .donut .d2 { stroke: var(--cube-1); } .donut .d3 { stroke: var(--color-ink-2); } .donut .d4 { stroke: #828282; }
.js .donut .seg { stroke-dasharray: 0 100; transition: stroke-dasharray 1200ms cubic-bezier(0.25, 1, 0.5, 1) 200ms; }
.js .donut.in .seg { stroke-dasharray: var(--v) calc(100 - var(--v)); }
.donut .dn-v { fill: var(--color-docket-ink); font: 800 34px var(--font-display); letter-spacing: -0.03em; text-anchor: middle; }
.donut .dn-l { fill: var(--color-docket-muted); font: 500 12px var(--font-body); text-anchor: middle; }
.dn-key { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.dn-key li { display: flex; align-items: center; gap: var(--space-xs); }
.dn-key i { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.dn-key .d1 { background: var(--color-accent); } .dn-key .d2 { background: var(--cube-1); } .dn-key .d3 { background: var(--color-ink-2); } .dn-key .d4 { background: #828282; }
.dn-key b { margin-left: auto; font-variant-numeric: tabular-nums; }
.donut-card .note { margin-top: var(--space-sm); }
@media (max-width: 60rem) { .qgrid { grid-template-columns: minmax(0, 1fr); } .donut-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; } .dn-key { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .js .donut .seg { transition: none; } }
/* where we are (8 Nov) */
.hero-loc { margin: var(--space-lg) 0 0; font-size: var(--text-sm); color: var(--color-ink-2); text-align: center; }

/* final QA fixes (8 Nov) */
@media (max-width: 60rem) { .js .navlist { max-height: calc(100dvh - 9rem); overflow-y: auto; overscroll-behavior: contain; } }
@media (max-width: 37.5rem) { .funnel .stage { font-size: 22px; } .funnel .pct text { font-size: 20px; } }
.open-door { margin-top: var(--space-xs); color: var(--color-ink-2); }
.hero.center .lead.hero-sub { margin-top: var(--space-md); font-size: var(--text-xl); font-weight: 700; color: var(--color-ink); }

/* 8 Nov: hero heading on one line, size follows viewport width */
.hero.center h1 { max-width: none; white-space: nowrap; font-size: clamp(min(1.6rem, 6.7vw), 5.4vw, 4.75rem); }
.hero.center .lead.hero-sub { font-size: clamp(1.15rem, 2.8vw + 0.6rem, 1.9rem); }

/* 8 Nov: new G4 tile (gradient orange, cream G, white 4) */
.brand svg rect.g4-tile, .dg .hub-tile { fill: url(#g4-grad); }
.brand svg .g, .dg .hub-g { fill: var(--logo-g); }
.brand svg .four, .dg .hub-4 { fill: var(--logo-4); }

/* 8 Nov: solid panel over the dot background */
.calc-in { background: var(--color-paper); }
.dots .marquee li { background: var(--color-paper); }

/* 8 Nov: the three pains as boxes, bold titles */
.pains { padding-top: 0; border-top: 0; }
.pains li { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: 12px; background: var(--color-paper); }
.pains b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-ink); }

/* 8 Nov: the three outcomes as boxes, bold titles; the orange progress line runs down the box's left edge */
.cycler li { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: 12px; background: var(--color-paper); }
.cycler li::before { top: 12px; height: calc(100% - 24px); width: 2px; }
.cycler b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-ink); }
.js .cycler.on li, .js .cycler.on li.on { opacity: 1; }
.cycler li > * { transition: opacity 400ms ease; }
.js .cycler.on li:not(.on) > * { opacity: 0.4; }
.cycler { counter-reset: step; }
.cycler li { counter-increment: step; transition: border-color 400ms ease; }
.cycler li > b::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--space-sm); font-family: var(--font-outlier); font-size: var(--text-sm); font-weight: 500; color: var(--orange-text); }
.js .cycler li.on { border-color: color-mix(in oklab, var(--color-accent) 55%, var(--color-rule)); }

/* 8 Nov: Measure cards in a tidy 2x2 grid: no stagger, equal heights per row, plot fills the space, links sit at the bottom */
@media (min-width: 60.01rem) { .qgrid { padding-bottom: 0; } .qgrid .qcard:nth-child(even) { translate: none; } }
.qgrid { align-items: stretch; }
.qgrid .qcard { display: flex; flex-direction: column; margin: 0; }
.qgrid .card-plot { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.qgrid .card-more { margin-top: auto; }
.measure .feature-head .measure-lead { max-width: none; font-weight: 700; color: var(--color-ink); }
/* 8 Nov: bold labels in the Measure section */
.measure .label { font-weight: 700; color: var(--color-ink); }
.kpi span, .measure .chart-head > span { font-weight: 700; color: var(--color-docket-ink); }
/* 8 Nov: bold "The problem" label and the product card tags */
.feature.dots:not(.measure) .label, .line-tag { font-weight: 700; color: var(--color-ink); }
.measure .feature-head:has(.measure-lead) { max-width: none; }
.qgrid .ctag { font-weight: 700; color: var(--color-docket-ink); }
/* 8 Nov: all chart-card text bold */
.qgrid .card-a, .qgrid .chart-head small, .qgrid .note, .qgrid .chart-head .delta { font-weight: 700; color: var(--color-docket-ink); }
.qgrid .chart-head .delta { color: var(--color-success); }
.qgrid .chart-head b { font-weight: 700; }

/* 8 Nov: orange Contact button in the nav */
.btn.soft.nav-soft { background: var(--color-accent); color: var(--color-accent-ink); }
.btn.soft.nav-soft:hover { background: var(--color-accent-hover); }
.feature-head .measure-lead { font-weight: 700; color: var(--color-ink); }
#calculator .tt-2 { color: var(--color-ink); }
.calc-out .calc-k, .calc-out .calc-v, .calc-out .note { font-weight: 700; color: var(--color-ink); }
#integrations .tt-2 { color: var(--night-ink); }
.venues .feature-head p, .venues .open-door { font-weight: 700; color: var(--color-ink); }
/* 8 Nov: all two-tone subheads white/ink, bold notes in the venues section */
.tt-2 { color: var(--color-ink); }
.night-band .tt-2 { color: var(--night-ink); }
.venues .note { font-weight: 700; color: var(--color-ink); }
.feature-head .tt-2 { color: var(--color-ink); }
.night-band .feature-head .tt-2, .night-band .tt-2 { color: var(--night-ink); }
.cycler span { font-weight: 700; color: var(--color-ink); }
/* 8 Nov: problem section text all bold */
.feature.dots .stack b, .feature.dots .stack em { font-weight: 700; }
.feature.dots .stack span, .feature.dots > .container > .note { font-weight: 700; color: var(--color-docket-ink); }
.pains span { font-weight: 700; color: var(--color-ink); }

/* 8 Nov: dark backgrounds read better with heavier text: semibold body copy in dark mode and on the black bands */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body { font-weight: 600; } }
:root[data-theme="dark"] body { font-weight: 600; }
.night-band, .rules { font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(h3, h4, .rules h2, .week h2) { font-weight: 700; } :root:not([data-theme="light"]) { --display-weight: 600; } }
:root[data-theme="dark"] :is(h3, h4, .rules h2, .week h2) { font-weight: 700; }
:root[data-theme="dark"] { --display-weight: 600; }
.rules h2 { font-weight: 700; }
.flow b, .price, .price-cell { font-weight: 700; }

/* 8 Nov: "Three ways we help. Start with the one that hurts most." on one line */
#products .feature-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.28em; max-width: none; font-size: clamp(1.6rem, 2.9vw, 2.6rem); }
#products .feature-head .tt, #products .feature-head .tt-2 { margin: 0; font-size: 1em; line-height: 1.1; white-space: nowrap; }
@media (max-width: 48rem) { #products .feature-head .tt, #products .feature-head .tt-2 { white-space: normal; } }
/* 8 Nov: calculator heading on one line, subhead below */
#calculator .feature-head, #calculator .feature-head .tt { max-width: none; }
@media (min-width: 48.01rem) { #calculator .feature-head .tt { white-space: nowrap; } }
.calc-out .btn.primary { border-color: transparent; background: var(--color-accent); color: var(--color-accent-ink); }
.calc-out .btn.primary:hover { background: var(--color-accent-hover); }

/* 8 Nov: Always on: bigger title, subhead on one line */
/* 8 Nov: integration diagram text bold and white */
.dg .col, .dg .tag, .dg .hub-sub { fill: var(--night-ink); font-weight: 700; }
.dg .l { fill: var(--night-ink); font-weight: 700; }
#integrations .note { font-weight: 700; color: var(--night-ink); }

/* 8 Nov: Zapier-style footer */
.foot-grid.cols6 { grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.3fr); margin-top: 0; padding-top: 0; border-top: 0; }
.site-foot .foot-grid h2 { margin-bottom: var(--space-sm); font: 700 var(--text-md)/1.3 var(--font-body); color: var(--color-ink); }
.site-foot .foot-grid ul a { padding-block: var(--space-xs); color: var(--color-ink-2); }
.site-foot .foot-grid ul a:hover { color: var(--color-ink); }
.site-foot .foot-grid ul a.more { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.foot-reach { display: flex; align-items: center; gap: var(--space-sm); }
.foot-reach span { margin-right: var(--space-xs); color: var(--color-ink-2); }
.foot-reach a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-paper-3); color: var(--color-ink); }
.foot-reach a:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.foot-reach svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-quick { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.foot-quick a { font-weight: 700; color: var(--color-ink); text-decoration: none; }
.foot-quick a:hover { text-decoration: underline; }
.site-foot .foot-base { align-items: center; margin-top: var(--space-xl); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-xs) var(--space-lg); color: var(--color-ink-2); }
.foot-legal a { color: var(--color-ink-2); }
@media (max-width: 60rem) { .foot-grid.cols6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-legal { justify-content: flex-start; } }

/* 8 Nov: one consistent type scale. Headings, titles and key numbers bold (700); all supporting text semibold (600), light and dark */
body { font-weight: 600; }
.measure-lead, .pains span, .cycler span, .feature.dots .stack span, .feature.dots > .container > .note,
.qgrid .card-a, .qgrid .chart-head small, .qgrid .note, .qgrid .chart-head .delta, .kpi span, .measure .chart-head > span,
.calc-out .calc-k, .calc-out .note, .venues .feature-head p, .venues .open-door, .venues .note,
.dg .l { font-weight: 600; }

/* phone menu (9 Nov): five main links first, the rest fold under Products, Solutions, Learn and FAQ */
.nav-top { display: none; }
@media (max-width: 60rem) {
  .nav-top { display: block; }
  .nav-wide { display: none; }
  .navlist > li > a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
  .navlist .mega li a { min-height: 44px; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .navlist { flex-wrap: wrap; width: 100%; }
  html:not(.js) .navbtn { display: none; }
}

/* tap targets (9 Nov): 44px minimum on every standalone link; phone numbers grow their hit area without moving the text */
.brand, .feat-pills a, .site-foot .foot-grid ul a, .foot-quick a, .foot-legal a { min-height: 44px; }
.site-foot .foot-grid ul a, .foot-quick a, .foot-legal a { display: inline-flex; align-items: center; padding-block: 0; }
.foot-reach a { width: 44px; height: 44px; }
.site-foot .foot-grid ul a, .foot-quick a, .foot-legal a { min-width: 44px; }
a[href^="tel:"] { display: inline-block; padding-block: 14px; margin-block: -14px; }

/* 10 Nov: compact sections, one-sentence problem head, equal rows, more orange */
:root { --orange-text: #c2410c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --orange-text: #f97316; } }
:root[data-theme="dark"] { --orange-text: #f97316; }
.feature-head { margin-bottom: var(--space-xl); }
.feature-head.wide { max-width: none; }
.o { color: var(--orange-text); }
.stack li:nth-child(n) { margin-left: 0; border-left: 3px solid var(--color-accent); }
@media (min-width: 60.01rem) { .stack li { grid-template-columns: minmax(0, 1fr) 7rem 12rem; } .stack span { text-align: right; } .stack em { text-align: center; } }
.stack em { border-color: var(--color-accent); color: var(--orange-text); }
.stack em.flag { background: var(--color-accent); color: var(--ink-fixed); }
.line-tag, .line-card em { color: var(--orange-text); }
.line-card .ticks li::before { border-color: var(--color-accent); }
.docket, .ticket { -webkit-mask: none; mask: none; }
.stat-band .stats span { font-weight: 700; color: var(--color-ink); }
.price-note { margin: var(--space-sm) 0 0; padding: var(--space-xs) var(--space-md); border-left: 3px solid var(--color-accent); font-weight: 700; color: var(--color-ink); }
.price-note + .offers { margin-top: var(--space-lg); }
.foot-reach { flex-wrap: wrap; }
#pricing { scroll-margin-top: 120px; }
.site-head, .site-foot { background-image: radial-gradient(var(--color-rule) 1px, transparent 1.5px); background-size: 18px 18px; }
@media (min-width: 60.01rem) { .mega { max-height: calc(100dvh - 88px); overflow-y: auto; } .mega-btn { position: relative; } .mega-btn::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; } }
.mega li a:hover b, .mega li a:focus-visible b { color: var(--orange-text); text-decoration: none; }
.apps-head { margin-top: var(--space-3xl); max-width: none; }
.pains b { color: var(--orange-text); }
.feat-pills { max-width: calc(4 * 232px + 3 * var(--space-xs)); margin-inline: auto; }
.feat-pills a { width: 232px; justify-content: center; }
@media (max-width: 60rem) { .feat-pills a { width: calc(50% - var(--space-xs) / 2); padding-inline: var(--space-xs); text-align: center; } }
/* 10 Nov: closer sections */
.grid-bg { padding-bottom: var(--space-xl); }
.hero.center { padding-block: var(--space-2xl) var(--space-xl); }
.feature-head { margin-bottom: var(--space-lg); }
.line-cards { margin-top: var(--space-md); }
.apps-head { margin-top: var(--space-xl); }
.venues .btn-row { margin-top: var(--space-lg); }
.site-foot { padding-top: 0; }
.site-foot > .container { border-top: 1px solid var(--color-rule); padding-top: var(--space-xl); }
.feature.dots .pains { margin-top: var(--space-md); padding-top: 0; gap: var(--space-md); }
.pains li { gap: var(--space-3xs); padding: var(--space-md) var(--space-lg); }
.stack li { padding-block: var(--space-sm); }
.feature > .container > .stack + .note { margin-top: var(--space-xs); }
@media (min-width: 60.01rem) { .feature-head.wide .tt { white-space: nowrap; font-size: clamp(1.9rem, 3.1vw, 2.9rem); } }
/* 10 Nov: example panel as a small app window with a conversation */
.hero-band .console { max-width: 820px; padding: 0; overflow: hidden; border: 1px solid var(--color-docket-rule); border-radius: 20px; background: var(--color-docket); filter: none; box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25), 0 24px 60px -24px rgba(249, 115, 22, 0.35); }
.console .console-head { align-items: center; padding: var(--space-sm) var(--space-lg); border-bottom: 1px solid var(--color-docket-rule); }
.console .console-head b { font-weight: 700; }
.console .console-head span { padding: 2px var(--space-sm); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); color: var(--orange-text); font-size: var(--text-xs); font-weight: 700; }
.hero-band .console .rail::before { display: none; }
.console .tabs { padding: var(--space-md) var(--space-lg) 0; gap: var(--space-xs); }
.console .tabs button { margin-top: 0; border: 1px solid var(--color-docket-rule); font-weight: 600; color: var(--color-docket-ink); }
.console .tabs button[aria-selected="true"] { border-color: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; }
@media (min-width: 48.01rem) { .console .tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.console .docket { padding: var(--space-md) var(--space-lg) var(--space-lg); background: transparent; font-family: var(--font-body); }
.console .panel { gap: var(--space-xs); }
.console .msg { max-width: 78%; padding: var(--space-sm) var(--space-md); border: 0; border-radius: 16px 16px 16px 4px; background: var(--color-paper-3); font-weight: 500; }
.console .msg.draft { justify-self: end; max-width: 90%; border: 1px solid var(--color-accent); border-radius: 16px 16px 4px 16px; background: rgba(249, 115, 22, 0.12); }
.console .msg .who { font-family: var(--font-outlier); font-size: var(--text-xs); font-weight: 500; }
.console .msg.draft .who { color: var(--orange-text); font-weight: 700; }
.console .checked { display: flex; gap: var(--space-xs); justify-self: end; max-width: 90%; margin: 0; font-weight: 600; }
.console .checked::before { content: "\2713"; flex: none; color: var(--orange-text); font-weight: 800; }
.console .docket-foot { justify-content: flex-end; margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--color-docket-rule); }
@media (max-width: 48rem) { .console .console-head, .console .tabs { padding-inline: var(--space-md); } .console .docket { padding-inline: var(--space-md); } .console .msg, .console .msg.draft, .console .checked { max-width: 100%; } .console .docket-foot { justify-content: flex-start; } }
.console .msg.in { padding-inline: var(--space-md); background: color-mix(in srgb, var(--color-docket-ink) 9%, transparent); }
.console .status { order: -1; margin: 0; }
.console .actions { margin-left: auto; }
@media (max-width: 48rem) { .console .actions { margin-left: 0; } }
@media (max-width: 48rem) { .console .status { order: 1; flex-basis: 100%; min-height: 0; } }
.site-foot .foot-base { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.stat-band .stats b { color: var(--orange-text); }
/* 10 Nov: footer base in two tidy blocks, brand left, legal right */
.site-foot .foot-base { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-xl); align-items: center; }
.site-foot .foot-base .brand { justify-self: start; }
.foot-tag { grid-column: 1; margin: 0; color: var(--color-ink-2); }
.foot-legal { grid-column: 2; grid-row: 1 / 3; flex-direction: column; align-items: flex-end; gap: var(--space-2xs); text-align: right; }
@media (max-width: 48rem) {
  .site-foot .foot-base { grid-template-columns: minmax(0, 1fr); }
  .foot-legal { grid-column: 1; grid-row: auto; align-items: flex-start; margin-top: var(--space-sm); text-align: left; }
}
/* 10 Nov: hero ask box. The question is carried into the contact form, no AI */
/* 10 Nov: each problem bullet sits beside its example box */
.pairs { display: grid; gap: var(--space-sm); max-width: 1040px; margin: 0 auto; padding: 0; list-style: none; }
.pairs > li { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); align-items: center; gap: var(--space-lg); }
.pairs .stack { width: 100%; max-width: none; }
.pair-src { position: relative; padding-left: var(--space-md); font-size: var(--text-md); font-weight: 700; color: var(--color-ink); }
.pair-src::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.feature > .container > .pairs + .note { margin-top: var(--space-xs); }
@media (max-width: 62rem) { .pairs { gap: var(--space-md); } .pairs > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }

/* 11 Nov: final audit fixes */
.fix-table tbody th span { white-space: normal; }
.tabs button[aria-selected="true"]:focus-visible { outline-color: var(--color-accent-ink); }
.book-x:focus-visible { outline-color: var(--night-ink); }
.field ::placeholder { color: var(--color-ink-2); opacity: 1; }
/* the full bar needs about 1185px: tighter gaps below that, and the Free Health Check text link (also in Products, the hero and the footer) drops out below 1080px */
@media (min-width: 60.01rem) and (max-width: 75rem) { .nav, .navlist { gap: var(--space-lg); } .navlist .nav-gap a { white-space: nowrap; } }
@media (min-width: 60.01rem) and (max-width: 67.5rem) { .navlist .nav-gap { display: none; } .navlist li:has(.nav-soft) { margin-left: auto; } }
@media (max-width: 60rem) { .foot-grid.cols6 > div:last-child { grid-column: 1 / -1; } }
@media (min-width: 60.01rem) { .foot-grid.cols6 { grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(11.25rem, 1.3fr); } } /* room for the email address on one line */
@media (max-width: 40rem) { .cta .cta-side { padding: var(--space-lg) var(--space-md); } }
@media (prefers-reduced-motion: reduce) { .marquee.logos li:nth-child(n+15), .marquee.venue-row li:nth-child(n+13) { display: none; } }

/* 12 Nov: sample numbers carry a visible Example tag */
.kpi > span { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-xs); }
.kpi span small { padding: var(--space-3xs) var(--space-xs); border: 1px solid var(--color-docket-rule); border-radius: var(--radius-pill); font-size: var(--text-xs); white-space: nowrap; }

/* 12 Nov: menus ease open instead of snapping (base.css switches this off for reduced motion) */
.mega-btn[aria-expanded="true"] + .mega { animation: mega-in 160ms var(--ease-out); }
@keyframes mega-in { from { opacity: 0; translate: 0 -4px; } }

/* 12 Nov: hero trust line */
.hero-loc { font-weight: 600; }
.hero-loc a { color: inherit; font-weight: 700; white-space: nowrap; }
@media (max-width: 60rem) { .feat-pills a:last-child:nth-child(odd) { width: 100%; } }

/* 12 Nov: one line above the headline says what we sell */
.hero-kicker { margin: 0 0 var(--space-md); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-ink); }
