/* Lhoop AI landing page. ElevenLabs-style look with a drifting pastel background (same as the app).
   Loads nothing from other sites. The security policy (staticwebapp.config.json) allows only the public API and
   Cloudflare's bot check, and only once deploy/fill-landing-config.sh has opened the AI visibility scan. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Colours: light here, dark below. Every page follows the device's setting unless the visitor picked Light or Dark in
   the footer (theme.js sets data-theme on <html> before the page paints). */
:root {
  --glow: linear-gradient(90deg, #a7e5d3, #a8c8e8, #c8b8e0, #e8b8c4, #f4c5a8);
  color-scheme: light;
  --paper: #f5f5f5;
  --surface: #ffffff;
  --field: #ffffff;           /* the contact form's text boxes */
  --ink: #0c0a09;
  --muted: #4e4e4e;
  --soft: #777169;
  --faint: #a8a29e;           /* lines between steps */
  --line: #e7e5e4;
  --edge: #d6d3d1;
  --chip: #f0efed;
  --btn: #292524;
  --btn-hover: #0c0a09;
  --btn-ink: #ffffff;
  --tag-ink: #292524;
  --good: #1a7f4b;
  --bad: #b42318;
  --you: rgba(200, 184, 224, 0.3);                         /* the visitor's line in a sample answer */
  --glow-opacity: 0.8;                                     /* the drifting background */
  --mist: rgba(200, 184, 224, 0.55), rgba(168, 200, 232, 0.35) 45%, rgba(167, 229, 211, 0) 75%;  /* the previews' glow */
  --shadow: rgba(12, 10, 9, 0.12);
  --shadow-hub: rgba(12, 10, 9, 0.18);
  --code-bg: #1c1917; --code-ink: #f5f5f4; --code-muted: #a8a29e; --code-line: #44403c; --code-edge: transparent;
  --band: #0c0a09; --band-edge: transparent; --band-card: #1c1917; --band-line: #292524;  /* the agents band */
  --one: #292524;            /* the one AI answer in "One answer, not ten links" */
  /* The guides' tones, from the background's five pastels: a strong one for icons, labels and lines (AA on its tint and
     on cards) and a tint for boxes and chips. Topics: GEO lilac, AI assistants blue, Agents mint, Website peach, How-to
     rose; boxes: tip mint, watch out peach, key fact lilac. */
  --mint: #1b7259; --mint-bg: #e3f7f1; --blue: #2a6499; --blue-bg: #e3edf8; --lilac: #6a4fa3; --lilac-bg: #ede8f5;
  --rose: #a33b58; --rose-bg: #f8e8ec; --peach: #9a4916; --peach-bg: #fbece3;
  --serif: Newsreader, "Iowan Old Style", Charter, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Dark: the app's dark colours (engine/static/tokens.css). Once for the device's setting, once for a picked Dark; the
   two lists stay the same (tests/test_public.py). The backdrop is calmer than the app's, since text sits on it here. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0c0a09; --surface: #1c1917; --field: #0c0a09; --ink: #f5f5f4; --muted: #a8a29e; --soft: #8a827a;
    --faint: #57534e; --line: #292524; --edge: #44403c; --chip: #292524;
    --btn: #f5f5f4; --btn-hover: #ffffff; --btn-ink: #0c0a09; --tag-ink: #e7e5e4; --good: #6fcf97; --bad: #f2998e;
    --you: rgba(200, 184, 224, 0.2);
    --glow-opacity: 0.22; --mist: rgba(200, 184, 224, 0.21), rgba(168, 200, 232, 0.13) 45%, rgba(167, 229, 211, 0) 75%;
    --shadow: rgba(0, 0, 0, 0.5); --shadow-hub: rgba(0, 0, 0, 0.5);
    --code-bg: #0c0a09; --code-line: #292524; --code-edge: #292524;
    --band: #1c1917; --band-edge: #292524; --band-card: #292524; --band-line: #44403c;
    --one: linear-gradient(120deg, #a7e5d3, #a8c8e8 35%, #c8b8e0 70%, #e8b8c4);
    --mint: #a7e5d3; --mint-bg: #1d3a31; --blue: #a8c8e8; --blue-bg: #1e3045; --lilac: #c8b8e0; --lilac-bg: #2f2742;
    --rose: #e8b8c4; --rose-bg: #3f2530; --peach: #f4c5a8; --peach-bg: #3f2a1d;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c0a09; --surface: #1c1917; --field: #0c0a09; --ink: #f5f5f4; --muted: #a8a29e; --soft: #8a827a;
  --faint: #57534e; --line: #292524; --edge: #44403c; --chip: #292524;
  --btn: #f5f5f4; --btn-hover: #ffffff; --btn-ink: #0c0a09; --tag-ink: #e7e5e4; --good: #6fcf97; --bad: #f2998e;
  --you: rgba(200, 184, 224, 0.2);
  --glow-opacity: 0.22; --mist: rgba(200, 184, 224, 0.21), rgba(168, 200, 232, 0.13) 45%, rgba(167, 229, 211, 0) 75%;
  --shadow: rgba(0, 0, 0, 0.5); --shadow-hub: rgba(0, 0, 0, 0.5);
  --code-bg: #0c0a09; --code-line: #292524; --code-edge: #292524;
  --band: #1c1917; --band-edge: #292524; --band-card: #292524; --band-line: #44403c;
  --one: linear-gradient(120deg, #a7e5d3, #a8c8e8 35%, #c8b8e0 70%, #e8b8c4);
  --mint: #a7e5d3; --mint-bg: #1d3a31; --blue: #a8c8e8; --blue-bg: #1e3045; --lilac: #c8b8e0; --lilac-bg: #2f2742;
  --rose: #e8b8c4; --rose-bg: #3f2530; --peach: #f4c5a8; --peach-bg: #3f2a1d;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--sans); letter-spacing: 0.16px;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 2; background: var(--surface); padding: 10px 16px; border-radius: 9999px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

h1, h2, .answer-q, .val, .tier-name {
  font-family: var(--serif); font-weight: 300; font-variant-numeric: lining-nums;
}
h1 { margin: 0 auto; max-width: 960px; font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.5rem); line-height: 1.04; letter-spacing: -0.027em; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(2.125rem, 1.6rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: 0; }
p { margin: 0; }
.lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 40ch; }

/* ---------- drifting pastel background ---------- */

.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: var(--glow-opacity); }
.backdrop i { position: absolute; border-radius: 50%; will-change: transform; animation: drift 50s ease-in-out infinite alternate; }
.backdrop i:nth-child(1) { width: 60vmax; height: 60vmax; left: -16vmax; top: -22vmax; --dx: 14vw; --dy: 10vh;
  background: radial-gradient(closest-side, #a7e5d3, transparent); animation-duration: 46s; }
.backdrop i:nth-child(2) { width: 52vmax; height: 52vmax; right: -14vmax; top: -18vmax; --dx: -12vw; --dy: 14vh;
  background: radial-gradient(closest-side, #f4c5a8, transparent); animation-duration: 58s; animation-delay: -12s; }
.backdrop i:nth-child(3) { width: 64vmax; height: 46vmax; left: 22vw; top: 34vh; --dx: 10vw; --dy: -12vh;
  background: radial-gradient(closest-side, #c8b8e0, transparent); animation-duration: 64s; animation-delay: -30s; }
.backdrop i:nth-child(4) { width: 46vmax; height: 46vmax; right: -12vmax; bottom: -16vmax; --dx: -14vw; --dy: -8vh;
  background: radial-gradient(closest-side, #a8c8e8, transparent); animation-duration: 52s; animation-delay: -20s; }
.backdrop i:nth-child(5) { width: 44vmax; height: 44vmax; left: -12vmax; bottom: -18vmax; --dx: 12vw; --dy: -10vh;
  background: radial-gradient(closest-side, #e8b8c4, transparent); animation-duration: 60s; animation-delay: -8s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(var(--dx), var(--dy), 0) scale(1.1); }
  100% { transform: translate3d(calc(var(--dx) * -0.6), calc(var(--dy) * 0.7), 0) scale(0.94); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .backdrop i { animation: none; }
}

/* ---------- shared pieces ---------- */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.tag, .tier-pick {
  display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: 0.13px; color: var(--tag-ink);
  background: var(--surface); border: 1px solid var(--edge); border-radius: 9999px; padding: 2px 10px; white-space: nowrap;
}
.tag-dark { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px;
  border: 0; border-radius: 9999px; background: var(--btn); color: var(--btn-ink);
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn:hover { background: var(--btn-hover); color: var(--btn-ink); }
.btn:disabled { background: var(--btn); opacity: 0.55; cursor: default; }

/* ---------- header ---------- */

.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--ink); text-decoration: none; }
/* The wordmark in the top bar (owner, 17 Nov 2026): glowing in both, deep colours with a pastel haze on light, the
   pastel glow on dark; 40px high, in proportion to the big serif headings (32px on phones). Both are in the page and
   the colours' own two rules pick one, so the footer's switch swaps it too. */
.brand img { display: block; width: auto; height: 40px; }
.brand .for-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .for-light { display: none; }
  :root:not([data-theme="light"]) .brand .for-dark { display: block; }
}
:root[data-theme="dark"] .brand .for-light { display: none; }
:root[data-theme="dark"] .brand .for-dark { display: block; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--muted); }

/* ---------- hero ---------- */

.hero { padding: 72px 0 96px; text-align: center; }
.hero-lead { margin: 24px auto 36px; max-width: 44ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.ask {
  display: flex; align-items: center; gap: 6px; width: 100%; max-width: 520px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--edge); border-radius: 9999px; padding: 5px 5px 5px 22px;
}
.ask:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ask input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; padding: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.ask input::placeholder { color: var(--soft); }
.form-note { margin: 16px auto 0; font-weight: 500; }

.answer { margin: 64px auto 0; max-width: 560px; padding: 32px; text-align: left; }
.answer-q { font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }

/* ---------- the hero's chat windows (index.html #example; examples.js rotates them) ----------
   Two AI assistants answer the same customer question, one names the visitor's business and one does not. A generic
   chat window in our own look (Inter, warm greys, pills): no assistant's own layout, fonts or colours, only its icon
   and name (the orbit's icons). */
.chats { margin: 64px auto 0; max-width: 800px; text-align: left; }
.chats .stack { --lap: 32px; }
.chat {
  display: flex; flex-direction: column; gap: 12px; margin: 0; padding-bottom: 16px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px -8px var(--shadow); font-size: 15px; line-height: 1.45;
}
.chats .stack > :first-child { margin-bottom: 40px; }
.chats .stack > :last-child { margin-top: 40px; }
.chats .stack > :first-child > :not(.chat-top) { margin-right: calc(20px + var(--lap)); }  /* clear of the window in front */
.chat > * { margin: 0 20px; }
.chat-top { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); font-weight: 500; }
.chat-top svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
.chat .q { display: flex; justify-content: flex-end; align-items: flex-start; min-height: calc(2.9em + 16px); margin-top: 4px; }  /* two lines of .me: no jump */
.me {
  max-width: 85%; padding: 8px 14px; border-radius: 18px 18px 6px 18px; background: var(--chip);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.reply > p:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply ol { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: n; display: grid; gap: 2px; }
.reply li { counter-increment: n; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 32px; padding: 0 8px; border-radius: 8px; }
.reply li::before { content: counter(n) "."; flex: none; width: 1.1em; color: var(--muted); }
.reply li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.reply li.you { background: var(--you); }
.you-tag { border-color: #9d86c9; }
.miss {  /* address over the pill, never wrapping differently from one example to the next (no jump) */
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  margin-top: 10px; padding: 8px 12px 10px; border: 1px dashed var(--edge); border-radius: 12px; color: var(--muted); font-size: 14px;
}
.chat-bar { position: relative; margin-top: auto; height: 36px; border: 1px solid var(--edge); border-radius: 9999px; }
.chat-bar::after { content: ""; position: absolute; right: 5px; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: var(--chip); }
.chats > figcaption { margin: 20px auto 0; max-width: 60ch; text-align: center; font-size: 13px; line-height: 1.5; letter-spacing: 0.13px; color: var(--muted); }
.chats > figcaption .tag { margin-right: 6px; }
#example .me, #example .reply { transition: opacity 0.35s ease; }
#example.swap .me, #example.swap .reply { opacity: 0; }

/* ---------- overlapping windows (the hero's chats and What you get) ----------
   Side by side, overlapping by --lap. The one pointed at or focused comes to the front (hover wins over focus; a tap
   focuses it, examples.js); the other moves back a little, shrinks slightly and fades. Only transforms: no layout
   shift. With reduced motion, only which one is in front changes. */
.stack { --lap: 48px; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) var(--lap) minmax(0, 1fr); }
.stack > * { outline-offset: 4px; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease; }
.stack > :first-child { grid-area: 1 / 1 / 2 / 3; z-index: var(--z1, 1); --away: -12px; }
.stack > :last-child { grid-area: 1 / 2 / 2 / 4; z-index: var(--z2, 2); --away: 12px; }
.stack > :focus { z-index: 3; }
.stack > :hover { z-index: 4; }
.stack:has(> :hover) > :not(:hover), .stack:not(:has(> :hover)):has(> :focus) > :not(:focus) {
  transform: translate(var(--away), 8px) scale(0.96); opacity: 0.7;
}
@media (prefers-reduced-motion: reduce) {
  .stack > * { transition: none; }
  .stack:has(> :hover) > :not(:hover), .stack:not(:has(> :hover)):has(> :focus) > :not(:focus) { transform: none; opacity: 1; }
}

/* ---------- the AI visibility scan (site.js), built from the example pieces above and below ---------- */

/* The hero's field (owner, 17 Nov 2026): on focus a soft ring in the backdrop's five pastels turns slowly around the
   pill. The ring is a big conic square turned by transform alone, clipped to the pill; its middle is the pill's own
   colour, so only a thin band shows. Still with reduced motion. */
#check { position: relative; isolation: isolate; transition: box-shadow 0.5s ease; }
.halo { position: absolute; inset: -2px; z-index: -1; border-radius: 9999px; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.halo::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(#a7e5d3, #a8c8e8, #c8b8e0, #e8b8c4, #f4c5a8, #a7e5d3);
  transform: translate(-50%, -50%); animation: halo-turn 9s linear infinite; will-change: transform;
}
.halo::after {  /* the pill itself, with a solid ink line inside the ring: the focus that passes 3:1 in both themes */
  content: ""; position: absolute; inset: 2px; border-radius: inherit; background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
#check:focus-within { border-color: transparent; box-shadow: 0 12px 40px -14px color-mix(in srgb, #a8c8e8 80%, transparent); }
#check:focus-within .halo { opacity: 1; }
@keyframes halo-turn { to { transform: translate(-50%, -50%) rotate(1turn); } }
/* Touch screens (owner, 17 Nov 2026: on a phone the cursor showed above the field). iOS draws the caret where the
   field was before it scrolls the page for the keyboard; a smooth page scroll and a turning layer under the field
   keep it there. On touch screens the page jumps instead of gliding and the ring keeps its colours but stands still. */
@media (hover: none), (pointer: coarse) {
  html { scroll-behavior: auto; }
  .halo::before { animation: none; will-change: auto; }
}

.bot { display: flex; justify-content: center; margin-top: 16px; }
.bot:empty { display: none; }
.live { max-width: 640px; scroll-margin-top: 24px; transform-origin: 0 0; }  /* grows from the pill (site.js morph) */
.live-sub { margin-top: 8px; color: var(--muted); overflow-wrap: anywhere; }
.about-biz { margin: 4px 0 0; color: var(--muted); overflow-wrap: anywhere; }  /* the business in one sentence */
/* the website on its way from the field into the live card's title (site.js morph) */
.morph-site {
  position: fixed; z-index: 20; margin: 0; pointer-events: none; transform-origin: 0 0; will-change: transform;
  font-family: var(--serif); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap;
}
/* The Lhoop loop beside "Scanning example.com": it draws itself in the glow colours and lets go again, round and
   round, while the scan runs (site.js loop). */
.live-state .biz { justify-content: space-between; }
.live-state .biz .answer-q { min-width: 0; overflow-wrap: anywhere; }
.scan-loop { flex: none; width: 48px; height: 24px; margin-left: auto; overflow: visible; }
@media (max-width: 640px) {  /* phones: the loop (and the logo, once read) on a row of their own above the title, so the
                                title has the whole width and never jumps a line mid-scan */
  .live-state .biz { flex-wrap: wrap; }
  .live-state .biz .answer-q { order: 1; flex-basis: 100%; font-size: 22px; }
  .live-state .scan-loop { height: 44px; }  /* the logo's height, so its row keeps its size when the logo comes */
}
.scan-loop path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.scan-loop .track { stroke: var(--line); }
.scan-loop .draw { stroke: url(#loop-glow); stroke-dasharray: 100; animation: loop-draw 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.live-state.waiting .scan-loop .draw { animation-duration: 6s; }  /* waiting in line: slower, nothing is lost */
@keyframes loop-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -100; } }
/* the live feed (site.js feedLine): about four lines, the newest at the bottom with a live dot (dark like the bar's
   fill, with a pastel glow); older lines move up and fade into the card. */
.feed {
  position: relative; height: 6.4em; margin-top: 16px; overflow: hidden; font-size: 15px; line-height: 1.6;
  -webkit-mask-image: linear-gradient(transparent, #000 32%); mask-image: linear-gradient(transparent, #000 32%);
}
.feed ol {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0; list-style: none;
  transition: transform var(--feed-t, 0.45s) cubic-bezier(0.2, 0.7, 0.2, 1);
}
.live .feed li {  /* not the example card's list rows */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  position: relative; padding: 0 0 0 20px; border: 0; font-weight: 400; color: var(--muted); opacity: 0.5;
  overflow-wrap: anywhere; transition: opacity var(--feed-t, 0.45s) ease, color var(--feed-t, 0.45s) ease;
}
.live .feed li:nth-last-child(2) { opacity: 0.75; }
.live .feed li:last-child { opacity: 1; color: var(--ink); animation: feed-in var(--feed-t, 0.45s) ease-out; }
.live .feed li:last-child::before {  /* pastel always; the brand only tints its glow, so a dark brand is no black dot */
  content: ""; position: absolute; left: 4px; top: calc(0.8em - 3px); width: 6px; height: 6px; border-radius: 50%;
  background: #c8b8e0; box-shadow: 0 0 0 2px var(--brand-glow, #a7e5d3);
  animation: live 2.4s ease-in-out infinite;
}
.live-state.waiting .feed li:last-child::before { animation: none; }  /* paused for minutes: nothing is running */
@keyframes feed-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 1px var(--brand-glow, #a7e5d3), 0 0 0 1px var(--brand-glow-2, #c8b8e0); }
  50% { box-shadow: 0 0 0 3px var(--brand-glow, #a7e5d3), 0 0 0 5px var(--brand-glow-2, rgba(200, 184, 224, 0.5)); }
}
/* The business's own look (site.js paint and mark): its colour (--brand, set only when the API sent one) is used
   only for small accents: the live dot's glow and the ring around its logo.
   Without --brand the two glows below are invalid, so every var() above falls back to our pastels. Background, text,
   headings and buttons stay ours. */
.live {
  --brand-glow: color-mix(in srgb, var(--brand) 40%, transparent);
  --brand-glow-2: color-mix(in srgb, var(--brand) 18%, transparent);
}
/* A result's bars (site.js bar): thin, in the progress bar's pastel colours spread over the whole track so a colour
   always means the same share; only the share itself (owner, 17 Nov 2026: no likely range beside a few questions). No
   outline, no glow, no dark fill. The number is written next to the bar, so the pastels need no 3:1 contrast. */
.bar.score { position: relative; }
.bar.score i { position: relative; background: var(--glow) 0 0 / calc(10000% / var(--v, 100)) 100%; }
.biz { display: flex; align-items: center; gap: 14px; min-width: 0; }
.biz > div { min-width: 0; }
.mark {  /* one 100% track: a tall or wide logo fits inside the box instead of being cut */
  flex: none; display: grid; grid-template: 100% / 100%; place-items: center; width: 52px; height: 52px; padding: 5px;
  overflow: hidden;
  border: 2px solid var(--brand, var(--edge)); border-radius: 14px; background: #ffffff;  /* logos are made for white */
}
.mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.mark.letter { padding: 0; background: var(--chip); font: 300 28px/1 var(--serif); color: var(--ink); }
/* The live card's bar fills with the glow from the left: the fill's window slides right while the glow inside it
   slides back by as much (site.js step), so the colours stay in place along the track; transform only. While the
   scan runs a soft glow in the backdrop's colours also sweeps along the empty track. */
.live-state .bar { margin-top: 24px; height: 6px; position: relative; }
.live-state .bar::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; border-radius: inherit; opacity: 0.6;
  background: linear-gradient(90deg, transparent, #a7e5d3, #a8c8e8, #c8b8e0, #e8b8c4, #f4c5a8, transparent);
  animation: sweep 4s ease-in-out infinite;
}
.live-state .bar i { position: relative; width: 100%; overflow: hidden; background: none; transform: translateX(-100%); transition: transform 0.6s ease; will-change: transform; }
.live-state .bar i b { display: block; height: 100%; background: var(--glow); transform: translateX(100%); transition: transform 0.6s ease; will-change: transform; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
.live .bar.score i { transition: width 0.6s ease; }
.row > p, .row > ul { grid-column: 1 / -1; }
.row > span:first-child { overflow-wrap: break-word; }
.say { color: var(--muted); overflow-wrap: anywhere; }
.say.note { margin: 20px 0 0; }
.fine { font-size: 13px; line-height: 1.5; letter-spacing: 0.13px; color: var(--soft); }

/* The result card (site.js card), top to bottom (owner, 17 Nov 2026): the header, then numbered parts, each with one
   heading of the same size and How it works' step number, short lines and room between them, at most one accent a
   part. Only the business name is the card's title. */
.live [tabindex="-1"]:focus-visible { outline: none; }  /* the title the page moves focus to, for screen readers */
.r-head { display: grid; gap: 10px; }
.r-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.asked-by { display: inline-flex; align-items: center; gap: 6px; }
.asked-by svg { flex: none; width: 16px; height: 16px; fill: var(--ink); }
.part { margin-top: 44px; }
.part-h { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 300 22px/1.25 var(--serif); letter-spacing: -0.01em; }
.part-h .step-n { width: 24px; height: 24px; font-size: 13px; }
.part > .say { margin-top: 0; }
.part > .fine { margin: 0 0 8px; }
.three + .fine { margin-top: 12px; }
/* 1: the three numbers as the dashboard's tiles: Recommended across the top, Right and Readable under it */
.three { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.tile.main { grid-column: 1 / -1; padding: 22px; }
.tile-name { font-size: 14px; font-weight: 500; color: var(--muted); }
.tile-what { margin-top: -8px; font-size: 13px; line-height: 1.4; letter-spacing: 0.13px; color: var(--soft); }  /* what it measures */
.tile .val { font-size: 34px; }
.tile.main .val { font-size: 56px; }
.tile .val small { display: inline; margin: 0 0 0 8px; font: 400 14px/1 var(--sans); letter-spacing: 0; color: var(--soft); }
.tile .val.none { font-size: 24px; color: var(--soft); }
.tile.main .val small.pre { margin: 0 8px 0 0; }  /* "Named in" before the figure */
.tile.main .val small.how { display: block; margin: 8px 0 0; }  /* "(4 questions, 2 assistants)" on its own line, under; over the phone rules */
.tile .bar { margin-top: 2px; }
.first { font-size: 14px; color: var(--ink); }
.tile .say { font-size: 14px; line-height: 1.5; }
.tile .say a { color: var(--ink); }
/* 2: the one thing to fix first, framed in the backdrop's pastels */
.fix {
  display: grid; gap: 8px; padding: 20px 22px; border: 1.5px solid transparent; border-radius: 14px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(120deg, #a7e5d3, #a8c8e8, #c8b8e0, #e8b8c4, #f4c5a8) border-box;
}
.fix-title { font-weight: 600; }
.fix-do { color: var(--ink); }
.fix + .fine { margin-top: 10px; }
/* 3: who AI names instead, each with its share of the answers */
.part .row { padding: 14px 0; }
.part .row .val { font-size: 22px; }
/* 4: the questions asked, in the customer's own words, each marked */
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.q-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.q-list q { min-width: 0; font: 400 16px/1.5 var(--serif); color: var(--ink); quotes: "\201C" "\201D"; overflow-wrap: anywhere; }
.q-mark { flex: none; padding: 2px 10px; border-radius: 9999px; background: var(--chip); font-size: 12px; font-weight: 500; line-height: 20px; color: var(--muted); white-space: nowrap; }
.q-mark.yes { background: var(--mint-bg); color: var(--mint); }
/* 5: the next step: Standard and Complete as small price cards, each straight to its checkout */
.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.next-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.next-name { display: grid; gap: 4px; font: 300 24px/1.15 var(--serif); letter-spacing: -0.01em; }
.next-name small { font: 500 13px/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }
.next-price { font: 300 28px/1 var(--serif); font-variant-numeric: lining-nums; }
.next-price small { font: 400 14px/1 var(--sans); color: var(--muted); }
.next-card .ticks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.next-card .btn { margin-top: auto; }
.compare { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--muted); }
/* At the very bottom, apart and quieter: AI agents, with the agent-ready audit as one card in the next step's style */
.part.quiet { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.part.quiet .part-h { color: var(--muted); }
.part.quiet > .say { font-size: 15px; }
.part.quiet .next { margin-top: 16px; }
/* That the report went to the inbox, after the result */
.inbox { display: grid; gap: 4px; margin-top: 32px; padding: 16px 20px; border-radius: 14px; background: var(--chip); }
.inbox-title { font-weight: 500; }

/* The teaser's parts (site.js teaser): "2 of 7" after one segment a part, the shown ones in the bars' pastels spread
   over the whole row, then each part the email step adds as a skeleton under its own heading (owner: no lock),
   fading out (to 0.8, so the last title still reads at 4.5:1). */
.parts { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 13px; line-height: 1.4; letter-spacing: 0.13px; color: var(--soft); }
.segs { flex: 1; display: flex; gap: 4px; }
.segs i { flex: 1; height: 6px; border-radius: 9999px; background: var(--chip); }
.segs i.on { background: var(--glow) calc(var(--i) / max(1, var(--n) - 1) * 100%) 0 / calc(var(--n) * 100%) 100%; }
.locked {  /* skeleton parts that fade out towards the email step (owner: "a stronger fade") */
  color: var(--muted);
  -webkit-mask-image: linear-gradient(#000 15%, transparent 96%); mask-image: linear-gradient(#000 15%, transparent 96%);
}
.locked .part { margin-top: 32px; }
.ghost i { display: block; width: 64px; height: 28px; border-radius: 10px; background: var(--line); }
.ghost i + i { width: 100%; height: 4px; margin-top: 14px; border-radius: 9999px; background: var(--chip); }
.tile.ghost { gap: 0; }
.tile.ghost .tile-name { margin-bottom: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .ghost i { animation: shimmer 1.8s ease-in-out infinite; }
  .ghost i + i { animation-delay: 0.2s; }
}
@keyframes shimmer { 50% { opacity: 0.45; } }
.val small { display: block; margin-top: 6px; font: 400 13px/1.4 var(--sans); letter-spacing: 0.13px; color: var(--soft); text-align: right; }

/* Reduced motion: no turning ring, no drawing loop, no sweep and no glides; the card, the feed lines and the bar
   simply appear where they belong (after the rules above, which it overrides). */
@media (prefers-reduced-motion: reduce) {
  .halo::before, .scan-loop .draw, .live-state .bar::before { animation: none; }
  .scan-loop .draw { stroke-dasharray: none; }
  .live-state .bar::before { display: none; }
  .halo, #check { transition: none; }
  .feed ol, .live .feed li, .live .bar i, .live-state .bar i, .live-state .bar i b { transition: none; }
  .live .feed li:last-child, .live .feed li:last-child::before { animation: none; }
}

.unlock { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 8px; }
.unlock .part-h { margin: 0; }
.unlock .cap { display: block; margin-bottom: 10px; padding: 0; }
.unlock .ask { max-width: none; }
.ask.solo { padding-right: 22px; }
.choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.choices legend { float: left; width: 100%; }
.choices legend + * { clear: left; }
.choice { position: relative; display: inline-flex; margin: 0 6px 8px 0; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--edge);
  border-radius: 9999px; background: var(--surface); font-size: 15px; font-weight: 500;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.consent { margin-top: 12px; color: var(--muted); }
.linkish { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.live .locked + .unlock { margin-top: 32px; }
.unlock .form-note { margin: 0; }
.unlock .bot { margin: 0; }
/* Nothing found (site.js teaser): the guide as the action, then a quiet Check again */
.away-go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* ---------- What you get (index.html #get): two views of the dashboard, side by side ----------
   Small copies of the real dashboard (engine/static/dashboard.css, owner, 14 Nov 2026), built in HTML and CSS so they
   stay sharp at any size: the Overview (rings, who AI names instead, three fixes) and the Questions grid with one
   question's tries. Sizes are the real page's pixels times --u, one pixel of a page drawn 720 (Overview) or 1200
   (Questions) pixels wide, so each copy scales with its frame (container units). The business is made up. */
/* ElevenLabs-style layout (owner, 13 Nov 2026): a title and one line above each preview, then one light tray holding
   both previews side by side, overlapping a little and cut off by the tray's bottom edge. On phones each preview gets
   its own title and its own tray (.m-cap and .frame); the shared intros row is for wide screens only. */
.get-intros, .shots { --lap: 56px; grid-template-columns: minmax(0, 4fr) var(--lap) minmax(0, 6fr); }
.get-intros { display: grid; margin-top: 40px; padding: 0 36px; }  /* same width as the tray's inside, so each title sits over its preview */
.get-intros > :first-child { grid-column: 1; padding-right: 24px; }
.get-intros > :last-child { grid-column: 3; }
.get-intros p, .m-cap p { margin: 0; }
.get-intros .shot-name, .m-cap .shot-name { font-size: 20px; font-weight: 500; line-height: 1.3; }
.get-intros .shot-name { display: block; margin-bottom: 6px; }
.m-cap p { margin-top: 6px; }
.get-intros .shot-name .tag, .m-cap .tag { vertical-align: 2px; }  /* the space before it is the gap, so a wrapped tag lines up on the left */
.get-intros p + p, .m-cap p { color: var(--muted); font-size: 17px; max-width: 36ch; }
.tray {
  margin-top: 28px; padding: 36px 36px 0; border-radius: 28px; background: var(--chip); overflow: hidden;
  height: clamp(340px, 40vw, 560px);
}
.shots { --z1: 2; --z2: 1; align-items: start; }
.shots > :first-child { margin-top: 28px; }  /* the Overview sits a little lower, as in a desk of screens */
.shot { margin: 0; min-width: 0; border-radius: 16px; }
.m-cap { display: none; }
.screen {
  position: relative; container-type: inline-size; overflow: hidden; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); box-shadow: 0 24px 48px -8px var(--shadow);
}

.page {
  display: flex; flex-direction: column; overflow: hidden; color: var(--ink);
  font-size: calc(16 * var(--u)); line-height: 1.5; letter-spacing: calc(0.16 * var(--u));
  background: radial-gradient(closest-side, var(--mist))
    right calc(-160 * var(--u)) top calc(-280 * var(--u)) / calc(900 * var(--u)) calc(620 * var(--u)) no-repeat, var(--paper);
}
.page p { margin: 0; }
.page ul { margin: 0; padding: 0; list-style: none; }
.dash { --u: calc(100cqw / 720); aspect-ratio: 720 / 1090; gap: calc(20 * var(--u)); padding: calc(32 * var(--u)); }  /* 1090: room for the rings' few words (review, 17 Nov 2026) */
.qs { --u: calc(100cqw / 1200); aspect-ratio: 1200 / 1000; flex-direction: row; }
.r-h1, .r-logo, .d-big, .d-who b, .d-fix .n, .q-kind, .q-q { font-family: var(--serif); font-weight: 300; font-variant-numeric: lining-nums; }
.r-who { display: flex; flex-direction: column; gap: calc(6 * var(--u)); min-width: 0; }
.r-logo { flex: none; display: grid; place-items: center; width: calc(56 * var(--u)); height: calc(56 * var(--u)); border-radius: 50%; background: var(--surface); border: calc(2 * var(--u)) solid var(--line); font-size: calc(28 * var(--u)); line-height: 1; }
.r-h1 { font-size: calc(40 * var(--u)); line-height: 1.08; letter-spacing: calc(-0.8 * var(--u)); white-space: nowrap; }
.m-h3 { font-size: calc(18 * var(--u)); font-weight: 500; line-height: 1.44; letter-spacing: calc(0.18 * var(--u)); }
.m-muted { color: var(--muted); }
.m-sec { display: flex; flex-direction: column; gap: calc(14 * var(--u)); }
.m-chip {
  display: inline-flex; align-items: center; gap: calc(8 * var(--u)); height: calc(28 * var(--u)); padding: 0 calc(12 * var(--u)); border: calc(1 * var(--u)) solid var(--edge);
  border-radius: 9999px; font-size: calc(13 * var(--u)); font-weight: 500; color: var(--muted);
}
.m-card { display: flex; flex-direction: column; gap: calc(12 * var(--u)); min-width: 0; padding: calc(24 * var(--u)); background: var(--surface); border: calc(1 * var(--u)) solid var(--line); border-radius: calc(16 * var(--u)); }
.meter { position: relative; display: block; height: calc(4 * var(--u)); border-radius: 9999px; background: var(--chip); overflow: hidden; }
.meter i { position: absolute; top: 0; bottom: 0; border-radius: 9999px; left: 0; width: calc(var(--v) * 1%); background: var(--glow) 0 0 / calc(10000% / max(var(--v), 1)) 100%; }
.v10 { --v: 10; } .v13 { --v: 13; } .v18 { --v: 18; } .v24 { --v: 24; } .v35 { --v: 35; } .v52 { --v: 52; } .v61 { --v: 61; }
/* the Overview (engine/static/dashboard.css): the business, the menu, three rings, who AI names instead, three fixes */
.d-top { display: flex; align-items: center; gap: calc(16 * var(--u)); }
.d-tabs { display: flex; gap: calc(4 * var(--u)); }
.d-tabs span { display: inline-flex; align-items: center; height: calc(36 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: 9999px; font-size: calc(15 * var(--u)); font-weight: 500; color: var(--muted); }
.d-tabs .now { background: var(--chip); color: var(--ink); }
.d-rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(28 * var(--u)); padding: calc(24 * var(--u)) calc(28 * var(--u)) calc(20 * var(--u)); background: var(--surface); border: calc(1 * var(--u)) solid var(--line); border-radius: calc(24 * var(--u)); text-align: center; }
.d-dial { position: relative; display: block; aspect-ratio: 1; max-width: calc(150 * var(--u)); margin: 0 auto; }
.d-dial svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.d-dial circle { fill: none; stroke-width: 5; }
.d-dial .trk { stroke: var(--chip); }
.d-dial .arc { stroke: var(--ink); stroke-linecap: round; }
.d-dial .glow { stroke: url(#d-glow); }
.d-dial .ok { stroke: var(--good); stroke-width: 7; }
.d-dial .bad { stroke: var(--bad); stroke-width: 2.5; }
.d-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.d-big { font-size: calc(56 * var(--u)); line-height: 1; letter-spacing: -0.03em; }
.d-unit { font-size: calc(13 * var(--u)); color: var(--muted); }
.d-name { display: block; margin-top: calc(10 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 500; }
.d-what { display: block; margin-top: calc(2 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.35; color: var(--muted); }  /* a few words under each name (owner, 17 Nov 2026) */
.d-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(28 * var(--u)); }
.d-who li { display: flex; flex-direction: column; gap: calc(4 * var(--u)); min-width: 0; }
.d-who span:first-child { font-size: calc(15 * var(--u)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-who b { font-size: calc(30 * var(--u)); line-height: 1.1; letter-spacing: -0.02em; }
.d-who .d-me .meter i { background: var(--good); }
.d-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(12 * var(--u)); }
.d-fix { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: calc(6 * var(--u)) calc(12 * var(--u)); padding: calc(18 * var(--u)); background: var(--surface); border: calc(1 * var(--u)) solid var(--line); border-radius: calc(16 * var(--u)); }
.d-fix .n { grid-row: span 2; font-size: calc(40 * var(--u)); line-height: 0.9; color: var(--soft); }
.d-fix .t { font-size: calc(15 * var(--u)); font-weight: 500; line-height: 1.3; }
.d-fix .m { font-size: calc(13 * var(--u)); color: var(--muted); }
.d-next { padding: 0 calc(4 * var(--u)); font-size: calc(14 * var(--u)); color: var(--muted); }  /* as dashboard.css .nx */
.d-next .m-h3 { margin-bottom: calc(6 * var(--u)); font-size: calc(15 * var(--u)); color: var(--ink); }
.d-next ol { margin: 0; padding-left: calc(20 * var(--u)); }
.d-next li + li { margin-top: calc(4 * var(--u)); }
/* the Website page (dashboard.js V.website, owner, 17 Nov 2026): the Readable score, then a few checks passed or missed.
   It shares one grid cell with the Overview and shows only when preview.js opens it (.web) */
.d-views { display: grid; }
.d-views > * { grid-area: 1 / 1; display: flex; flex-direction: column; gap: calc(20 * var(--u)); min-width: 0; }
.d-web { opacity: 0; }
.dash.web .d-ov { opacity: 0; }
.dash.web .d-web { opacity: 1; }
.d-score { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: calc(16 * var(--u)) calc(20 * var(--u)); }
.d-score .d-big { font-size: calc(64 * var(--u)); }
.d-score .d-name { margin-top: 0; }
.d-score .meter { grid-column: 1 / -1; height: calc(6 * var(--u)); }
.d-checks li { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(10 * var(--u)) 0; border-top: calc(1 * var(--u)) solid var(--line); font-size: calc(15 * var(--u)); }
.d-checks .ico { flex: none; width: calc(20 * var(--u)); height: calc(20 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.d-checks .d-pass .ico { color: var(--good); }
.d-checks .d-miss .ico { color: var(--bad); }
.d-checks .d-miss span { color: var(--muted); }
/* the Questions view: a row per question, grouped by kind, a column per assistant, each cell shaded by how many of the
   three tries named the business; the side panel shows one question's three tries */
.q-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(24 * var(--u)); padding: calc(40 * var(--u)); }
.shots .q-main { padding-left: calc(40 * var(--u) + var(--lap)); }  /* starts where the dashboard in front ends */
.q-head { display: flex; align-items: baseline; justify-content: space-between; gap: calc(16 * var(--u)); }
.q-title { display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.q-count { font-size: calc(14 * var(--u)); color: var(--muted); }  /* more questions than the copy shows (owner, 17 Nov 2026) */
/* the window onto the questions: about nine show, the rest fade out at the bottom; preview.js glides through them */
.q-win { height: calc(480 * var(--u)); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 96 * var(--u)), transparent); mask-image: linear-gradient(#000 calc(100% - 96 * var(--u)), transparent); }
.q-rows { padding-bottom: calc(72 * var(--u)); }
.q-key { display: flex; align-items: center; gap: calc(5 * var(--u)); font-size: calc(13 * var(--u)); color: var(--muted); }
.q-key i { width: calc(20 * var(--u)); height: calc(18 * var(--u)); border-radius: calc(4 * var(--u)); font: normal calc(11 * var(--u))/calc(18 * var(--u)) var(--sans); text-align: center; }
.q-grid { padding: 0 calc(24 * var(--u)) calc(12 * var(--u)); background: var(--surface); border: calc(1 * var(--u)) solid var(--line); border-radius: calc(16 * var(--u)); }
.q-cols, .q-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, calc(64 * var(--u))); align-items: center; justify-items: center; }
.q-cols { padding: calc(12 * var(--u)) 0 calc(10 * var(--u)); border-bottom: calc(1 * var(--u)) solid var(--line); font-size: calc(14 * var(--u)); color: var(--muted); }
.q-cols > :first-child, .q-t { justify-self: stretch; }
.page .ai { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-width: calc(1 * var(--u)); }
.q-kind { padding: calc(20 * var(--u)) 0 calc(6 * var(--u)); font-size: calc(22 * var(--u)); line-height: 1.2; }
.q-row { height: calc(30 * var(--u)); }
.q-t { padding-right: calc(12 * var(--u)); font-size: calc(14 * var(--u)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-row.sel .q-t { color: var(--ink); }
.q-row i { justify-self: stretch; height: calc(24 * var(--u)); margin: 0 calc(4 * var(--u)); border-radius: calc(4 * var(--u)); }
.q-row .cur { box-shadow: 0 0 0 calc(2 * var(--u)) var(--surface), 0 0 0 calc(4 * var(--u)) var(--ink); }
.x0 { background: var(--chip); color: var(--muted); }
.x1 { background: color-mix(in srgb, var(--btn) 22%, var(--chip)); color: var(--ink); }
.x2 { background: color-mix(in srgb, var(--btn) 50%, var(--chip)); color: var(--ink); }
.x3 { background: var(--btn); color: var(--btn-ink); }
.q-side { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: calc(12 * var(--u)); width: calc(380 * var(--u)); padding: calc(40 * var(--u)) calc(32 * var(--u)); background: var(--surface); border-left: calc(1 * var(--u)) solid var(--line); }
.q-q { font-size: calc(28 * var(--u)); line-height: 1.2; }
.q-ah { display: flex; align-items: center; gap: calc(8 * var(--u)); align-self: stretch; margin-top: calc(12 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 500; }
.q-ah > span:last-child { margin-left: auto; font-size: calc(13 * var(--u)); font-weight: 400; color: var(--muted); }
.q-tries { align-self: stretch; }
.q-tries li { display: grid; grid-template-columns: calc(16 * var(--u)) minmax(0, 1fr); gap: calc(10 * var(--u)); padding: calc(10 * var(--u)) 0; border-top: calc(1 * var(--u)) solid var(--line); font-size: calc(14 * var(--u)); }
.q-tries small { display: block; font-size: calc(13 * var(--u)); color: var(--muted); }
.ic { width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin-top: calc(3 * var(--u)); border-radius: 50%; }
.ic.y { background: var(--good); }
.ic.n { border: calc(1.5 * var(--u)) solid var(--bad); }
/* Alive (owner, 17 Nov 2026: like a short product video; preview.js): in view, the rings draw and count up, the bars
   fill and the fixes come in, and now and then the Overview glides to the part its tray cuts off (--roll) and a soft
   pointer opens the Website page and goes back; on the Questions copy the pointer moves from cell to cell and the side
   panel shows that question's tries, then the grid glides slowly through the other questions (--scroll) and back.
   Only transform and opacity move. .zero is the start, set while the copy is off screen. With less motion preferred
   preview.js does nothing: the copies stay as written, the pointers hidden. */
.qs, .dash { position: relative; }  /* each copy's pointer is placed in its own pixels */
.dash { transform: translateY(var(--roll, 0px)); transition: transform 1.6s cubic-bezier(0.45, 0.05, 0.2, 1); }
.d-views > * { transition: opacity 0.5s ease; }  /* the Overview and the Website page crossfade */
.q-rows { transform: translateY(var(--scroll, 0px)); transition: transform 2s cubic-bezier(0.45, 0.05, 0.2, 1); }
.q-rows.down { transition-duration: 9s; }  /* slowly through the other questions, quicker back to the top */
.meter i { transform-origin: left; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s; }
.d-fix, .d-next { transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s; }
.zero .meter i { transform: scaleX(0); transition: none; }
.zero .d-fix, .zero .d-next { opacity: 0; transform: translateY(calc(12 * var(--u))); transition: none; }
.q-row i { transition: transform 0.25s ease; }
.q-row .cur { transform: scale(1.06); }
.q-side > * { transition: opacity 0.2s ease; }
.q-side.swap > * { opacity: 0; }
.q-cursor {
  position: absolute; left: 0; top: 0; z-index: 2; width: max(16px, calc(36 * var(--u))); pointer-events: none; opacity: 0;
  transform: translate(var(--cx, 0px), var(--cy, 0px)); transition: transform 1.1s cubic-bezier(0.45, 0.05, 0.2, 1), opacity 0.4s ease;
}
.q-cursor.on { opacity: 1; }
.q-cursor svg {
  display: block; width: 100%; height: auto; fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px var(--shadow)); transform-origin: 20% 10%; transition: transform 0.15s ease;
}
.q-cursor.press svg { transform: scale(0.84); }
@media (prefers-reduced-motion: reduce) {
  .q-cursor { display: none; }
  .dash, .meter i, .d-fix, .d-next, .q-row i, .q-side > *, .d-views > *, .q-rows { transition: none; }
}

/* ---------- sections ---------- */

.band { padding: 96px 0; }
.band.tight { padding-top: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; padding: 32px; }
.cap { margin-bottom: 16px; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.links { display: grid; gap: 10px; }
.links i { display: block; height: 8px; border-radius: 9999px; background: var(--line); }
.links i:nth-child(3n+2) { width: 84%; }
.links i:nth-child(3n) { width: 92%; }
.one { height: 72px; border-radius: 12px; background: var(--one); }

/* ---------- home page: How it works (index.html #how) ----------
   Owner, 16 Nov 2026: "lifeless, not clear at first sight". Each step now opens with a small picture of what it means,
   built here in the hero windows' look (white window, soft shadow, on the chip tray with the previews' pastel mist):
   1 an AI answer that names two competitors and not you, with the share of answers that name you; 2 the fix list, the
   first fix done; 3 can an AI agent book, order or ask for a quote. Then a numbered badge, the title and one line.
   The pictures are role="img" with a sentence each; their insides are hidden from screen readers. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 48px 0 0; padding: 0; }
.steps > li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; padding: 8px; }  /* pictures and text line up across the cards */
.step-art {
  display: flex; flex-direction: column; justify-content: center; min-height: 236px; padding: clamp(16px, 1.6vw, 24px); border-radius: 10px;
  background: radial-gradient(closest-side, var(--mist)) right -80px top -110px / 360px 280px no-repeat, var(--chip);
}
.step-art.fix { background-position: left -90px bottom -120px, 0 0; }
.step-art.can { background-position: right -60px bottom -130px, 0 0; }
.mini {
  display: grid; gap: 10px; width: 100%; max-width: 280px; margin: 0 auto; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 32px -14px var(--shadow);
  font-size: 13px; line-height: 1.4; letter-spacing: 0.13px;
}
.mini ul { margin: 0; padding: 0; list-style: none; }
.mini .ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini-top { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mini-top .ai { width: 24px; height: 24px; }
.mini-q { justify-self: end; max-width: 90%; padding: 5px 11px; border-radius: 12px 12px 4px 12px; background: var(--chip); }
.mini-a { color: var(--muted); }
.mini-a b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.mini-miss {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 5px 5px 10px;
  border: 1px dashed var(--edge); border-radius: 8px; color: var(--muted);
}
.mini-miss span, .mini-can .no {
  background: color-mix(in srgb, var(--bad) 10%, var(--surface)); color: var(--bad);
}
.mini-miss span { padding: 1px 8px; border-radius: 9999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.see .mini:first-child { padding-bottom: 26px; }
.mini-score {  /* a second, smaller window over the answer's empty bottom edge, as the hero's windows overlap */
  position: relative; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 12px;
  width: 72%; max-width: 200px; margin: -16px 0 0 auto; padding: 10px 14px 12px; font-weight: 500;
}
.see .mini-score { margin-right: max(0px, calc((100% - 280px) / 2 - 10px)); }
.mini-score span:first-child { white-space: nowrap; }
.mini-score b { font: 300 30px/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.mini-bar { grid-column: 1 / -1; display: block; height: 4px; border-radius: 9999px; background: var(--chip); overflow: hidden; }
.mini-bar i { display: block; width: 12%; height: 100%; border-radius: inherit; background: var(--good); }
.mini-fix li { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.mini-fix li + li { border-top: 1px solid var(--line); }
.mini-fix .done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.mini .box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--edge); border-radius: 5px; }
.mini .done .box { background: var(--good); border-color: var(--good); color: var(--surface); }
.mini .box .ico { width: 14px; height: 14px; stroke-width: 3; }
.agent-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, #c8b8e0 45%, var(--surface)); color: var(--ink); }
.agent-dot .ico { width: 16px; height: 16px; stroke-width: 1.75; }
.mini-can { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-can li { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px 0 6px; border: 1px solid var(--edge); border-radius: 9999px; font-weight: 500; }
.mini-can .ico { width: 15px; height: 15px; stroke-width: 2.5; }
.mini-can .yes .ico { color: var(--good); }
.mini-can .no { border-style: dashed; border-color: color-mix(in srgb, var(--bad) 45%, var(--surface)); }
.step-say { padding: 24px; }
.step-say h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 300 30px/1.1 var(--serif); letter-spacing: -0.01em; }
.step-n {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--btn); color: var(--btn-ink); font: 500 14px/1 var(--sans); letter-spacing: 0; font-variant-numeric: lining-nums;
}
.step-say p { color: var(--muted); text-wrap: pretty; }
@media (max-width: 960px) {  /* tablets: one step a row, the picture beside its text */
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps > li { grid-row: auto; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .step-art { min-height: 0; height: 100%; }
}
@media (max-width: 640px) {  /* phones: the picture above its text */
  .steps > li { grid-template-columns: minmax(0, 1fr); }
  .step-art { padding: 20px 16px; }
  .step-say { padding: 20px 16px 16px; }
  .step-say h3 { font-size: 28px; }
}
/* ---------- end of How it works ---------- */

.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: end; padding: 20px 0; border-top: 1px solid var(--line); }
.val { font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.bar { grid-column: 1 / -1; height: 4px; border-radius: 9999px; background: var(--chip); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 9999px; background: var(--btn); }

.dark { background: var(--band); color: #ffffff; border-block: 1px solid var(--band-edge); }  /* bordered in dark */
.dark .lead { color: #a8a29e; }
/* ---------- home page: the AI agents band (index.html section.band.dark) ----------
   Owner, 16 Nov 2026: "lifeless". Under the headline, the path in one picture: a person asks their AI agent, the
   agent books or buys with the business (a dot runs along each line; still with reduced motion). Beside it what
   agents do, each with its own line icon in one of the backdrop's pastels and one plain line. The band is dark in
   both looks, so the pastels and the muted grey read on it either way. */
.dark .ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.agents-path {  /* not .flow: the guides use that name for their step diagram */
  display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: start;
  max-width: 480px; margin-top: 44px; font-size: 13px; line-height: 1.3; letter-spacing: 0.13px; color: #a8a29e;
}
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 88px; text-align: center; }
.flow-dot {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 12%, var(--band));
  color: var(--accent);
}
.flow-dot .ico { width: 26px; height: 26px; }
.flow-node { --accent: #a7e5d3; }
.flow-node.agent { --accent: #c8b8e0; }
.flow-node.agent .flow-dot { box-shadow: 0 0 0 5px rgba(200, 184, 224, 0.14); }
.flow-node.shop { --accent: #f4c5a8; }
.flow-line { position: relative; height: 1px; margin: 28px -8px 0; background: linear-gradient(90deg, #a7e5d3, #c8b8e0); }
.flow-line + .flow-node + .flow-line { background: linear-gradient(90deg, #c8b8e0, #f4c5a8); }
.flow-line > span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 12px; white-space: nowrap; }
.flow-line::after {  /* the arrow's head */
  content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px;
  border: solid currentColor; border-width: 1px 1px 0 0; color: #c8b8e0; transform: rotate(45deg);
}
.flow-line + .flow-node + .flow-line::after { color: #f4c5a8; }
.flow-line::before {  /* what the person asked for, on its way: a glowing dot at the line's start, moved along it */
  content: ""; position: absolute; top: -5px; left: 0; width: 100%; height: 11px; opacity: 0;
  background: radial-gradient(circle at 5px 50%, #ffffff 0 2px, rgba(200, 184, 224, 0.6) 3px, transparent 5.5px) no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .flow-line::before { animation: flow-go 3.2s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
  .flow-line + .flow-node + .flow-line::before { animation-delay: 1.6s; }
}
@keyframes flow-go {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translateX(calc(100% - 16px)); opacity: 1; }
  52%, 100% { transform: translateX(calc(100% - 16px)); opacity: 0; }
}
.agents { list-style: none; margin: 0; padding: 8px 32px; background: var(--band-card); border-radius: 16px; }
.agents li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: center; padding: 24px 0; }
.agents li + li { border-top: 1px solid var(--band-line); }
.agents h3 { margin: 0; font: 300 32px/1.15 var(--serif); letter-spacing: -0.01em; }
.agents p { grid-column: 2; font-size: 15px; line-height: 1.5; color: #a8a29e; text-wrap: pretty; }
.agent-ic {
  grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.agent-ic .ico { width: 26px; height: 26px; }
.agents .find { --accent: #a7e5d3; }
.agents .book { --accent: #a8c8e8; }
.agents .buy { --accent: #f4c5a8; }
@media (max-width: 640px) {
  .agents-path { margin-top: 36px; }
  .flow-node { width: 72px; }
  .flow-dot { width: 48px; height: 48px; }
  .flow-dot .ico { width: 22px; height: 22px; }
  .flow-line { margin-top: 24px; }
  .agents { padding: 4px 20px; }
  .agents li { gap: 2px 16px; padding: 20px 0; }
  .agents h3 { font-size: 26px; }
  .agent-ic { width: 44px; height: 44px; border-radius: 12px; }
  .agent-ic .ico { width: 22px; height: 22px; }
}
/* ---------- end of the AI agents band ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 48px 0 0; padding: 0; }
.tiers > li { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 184px; padding: 32px; }
.tier-name { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.tier-price { font: 300 40px/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.tier-price small { font: 400 15px/1 var(--sans); letter-spacing: 0.15px; color: var(--muted); }
.tier-price.tier-quote { font-size: 22px; line-height: 1.2; }
.tier-has { display: grid; gap: 6px; margin: 0; padding: 0 0 0 18px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.tier-fine { margin-top: 24px; max-width: 70ch; }
.tier-go { margin-top: auto; align-self: stretch; }  /* Scan now or Select: the same size, at the bottom of each card */
/* The landing page's prices (owner, 14 Nov 2026): the AI visibility scan and the two audits side by side, each card's rows
   lined up across the cards (subgrid: name, price, assistants, list, button), the line both audits share under them,
   then the agent-ready audit as one wide row. Plain ticked lists; nothing moves. */
.tiers.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiers > .plan { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 20px; align-items: start; }
.plan .tier-name { align-self: end; }
.tier-name small { display: block; margin-bottom: 6px; font: 500 14px/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }
.plans .tier-has { padding: 0; list-style: none; color: var(--ink); gap: 8px; }
.plan > .tier-has { grid-row: 3 / 5; }  /* the scan has no assistants row: its list follows its price */
.plan > .tier-ais + .tier-has { grid-row: 4; }
.plan > .tier-terms { grid-row: 5; }
.plan > .tier-go { grid-row: 6; }
.plan.top { border-color: var(--ink); }
.tier-pick { position: absolute; top: 0; left: 32px; transform: translateY(-50%); }
.tier-ais { display: grid; gap: 10px; margin: 0; font-size: 14px; color: var(--muted); }
.ais { display: flex; gap: 8px; }
.ai { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.ai svg { width: 50%; height: 50%; fill: currentColor; }
/* each assistant's own colour, on the price cards and in the orbit (owner, 17 Nov 2026: in colour means we ask it
   today; the planned ring stays grey); ChatGPT and Grok in ink, so they flip in dark mode */
.ai.claude, .orbit .node.claude { color: #d97757; }
.ai.chatgpt, .ai.grok { color: var(--ink); }
.ai.gemini, .orbit .node.gemini { color: #3186ff; }
.ai.perplexity, .orbit .node.perplexity { color: #20808d; }
.ai.off { border-style: dashed; border-color: var(--edge); background: transparent; color: var(--faint); }
.ai.more { color: var(--ink); }  /* the plus: new assistants as we add them, included */
/* price cards: each assistant logo names itself and says whether the audit includes it, on hover, focus or tap.
   The label opens under the logo row from its left edge, no wider than the card, and the logos wrap, so neither
   leaves the card on a phone or a tablet (Complete's five logos ran past it from 821 to 975px wide). */
.tier-ais .ais { position: relative; flex-wrap: wrap; }
/* hover as in the orbit (owner, 17 Nov 2026: no question-mark cursor): the ring darkens and the logo grows. The logo,
   not the chip: a transform on the chip would make it the label's anchor and pull the label out of place. */
.tier-ais .ai { transition: border-color .25s ease; }
.tier-ais .ai svg { transition: transform .25s ease; }
.tier-ais .ai:hover, .tier-ais .ai:focus { border-color: var(--ink); }
.tier-ais .ai:hover svg, .tier-ais .ai:focus svg { transform: scale(1.15); }
.tier-ais .ai:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tier-ais .ai .tip { position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; width: max-content; max-width: min(260px, 100%);
  padding: 7px 10px; border-radius: 8px; background: var(--btn); color: var(--btn-ink); font-size: 13px; line-height: 1.35;
  text-align: left; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s;
  box-shadow: 0 0 0 2px var(--surface), 0 8px 24px var(--shadow); }  /* apart from a button of its own colour under it */
.tier-ais .ai:hover .tip, .tier-ais .ai:focus .tip { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tier-ais .ai .tip, .tier-ais .ai svg { transition: none; transform: none; } }
/* ---------- home page pricing: what both audits share, inside each audit card ----------
   Owner, 16 Nov 2026: no small print under the cards. Each audit card ends on a plain line above its button (a person
   checks it and the delivery time), apart from the list of what is in the report. Extra assistants are bought at the
   checkout (owner, 17 Nov 2026: no price line for them on the card) and extra re-audits in the account. Owner, 17 Nov 2026: what sets
   the two audits apart (their questions and included re-audits) leads each list, a little bolder (.key). */
.tier-terms {
  display: grid; gap: 8px; align-self: stretch; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line);
  list-style: none; font-size: 15px; line-height: 1.45; text-wrap: pretty;  /* the size and ink of the list above: selling points, not small print */
}
.plans .tier-has .key { font-weight: 600; }
/* ---------- end of pricing terms ---------- */
.tiers > .tier-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px 40px; align-items: center; margin-top: 16px; }
.tier-wide .tier-price { grid-row: 2; }
.tier-wide .tier-has { grid-column: 2; grid-row: 1 / 3; }
.tier-wide .tier-go { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 0 32px; }
/* Business or Enterprise over the price cards (owner, 17 Nov 2026; site.js): the theme switch's pill at the buttons'
   size, hidden until the script runs, so without it the Business cards show. Enterprise is one wide card with no price
   (buyers enquire): its assistants beside its list, one column on smaller screens. A link ending in #enterprise stops
   at its button with the site's gap above jump targets, so the switch shows whole. */
.who { display: inline-flex; margin-top: 32px; padding: 4px; border: 1px solid var(--line); border-radius: 9999px; background: var(--surface); }
.who button {
  height: 36px; padding: 0 20px; border: 0; border-radius: 9999px; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); scroll-margin-top: 24px;
}
.who button:hover { color: var(--ink); }
.who button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
.who ~ .tiers { margin-top: 40px; }
.tiers > .tier-ent { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "name has" "ais has" "go has"; gap: 20px 48px; align-items: start; }
.tier-ent .tier-name { grid-area: name; }
.tier-ent .tier-ais { grid-area: ais; }
.tier-ent .tier-has { grid-area: has; align-self: center; }
.tier-ent .tier-go { grid-area: go; align-self: end; }

.qa { padding: 0 32px; }
.qa details + details { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 18px; line-height: 1.44; font-weight: 500; letter-spacing: 0.18px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px;
  background: var(--chip); font-size: 20px; font-weight: 400; line-height: 1;
}
.qa details[open] summary::after { content: "\2212"; }
.qa p { padding: 0 52px 24px 0; color: var(--muted); }

.cta { padding-top: 32px; text-align: center; }
.cta h2 { margin-bottom: 32px; }

.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 15px; letter-spacing: 0.15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot a:not(.brand) { color: inherit; }
/* System, Light or Dark (theme.js): three quiet pills, the chosen one filled */
.theme { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 9999px; }
.theme button {
  height: 28px; padding: 0 12px; border: 0; border-radius: 9999px; background: none; cursor: pointer;
  font: inherit; font-size: 13px; letter-spacing: 0.13px; color: var(--muted);
}
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--edge); color: var(--ink); }

/* ---------- the privacy policy (privacy.html) ---------- */

.policy { max-width: 820px; padding-top: 24px; padding-bottom: 96px; }
.policy > .card { padding: 48px; }
.policy h1 { margin: 0; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem); }
.policy h2 { margin: 56px 0 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); scroll-margin-top: 24px; }
.policy h3 { margin: 32px 0 0; }
.policy p, .policy ul, .policy ol, .policy blockquote, .policy pre { margin: 12px 0 0; line-height: 1.6; }
.policy ul, .policy ol { padding-left: 22px; }
.policy pre { padding: 16px 20px; border-radius: 12px; background: var(--chip); overflow-x: auto; }  /* scanner.html */
.policy pre code { overflow-wrap: normal; white-space: pre; }
.policy li + li { margin-top: 8px; }
.policy .lead { max-width: none; }
.policy a { overflow-wrap: anywhere; }
.policy code { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.policy blockquote { padding: 16px 20px; border-left: 3px solid #c8b8e0; border-radius: 0 12px 12px 0; background: var(--chip); font: 400 18px/1.5 var(--serif); }
.policy-meta { margin-top: 12px; font-size: 15px; color: var(--soft); }
.policy-toc { margin-top: 32px; padding: 20px 24px; border-radius: 12px; background: var(--chip); }
.policy-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.policy-toc li { break-inside: avoid; }
.policy-toc li + li { margin-top: 4px; }

/* ---------- the contact form (contact.html) ---------- */

.contact { display: grid; gap: 20px; margin-top: 32px; }
.contact label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.contact .opt { font-weight: 400; color: var(--soft); }
.contact .field-note { margin: 8px 0 0; font-size: 15px; color: var(--muted); }  /* under a field: the checkout's one website */
.contact input, .contact select, .contact textarea {
  display: block; width: 100%; min-height: 46px; padding: 10px 16px; border: 1px solid var(--edge); border-radius: 12px;
  background: var(--field); font: inherit; font-size: 16px; color: var(--ink);
}
.contact textarea { min-height: 168px; line-height: 1.5; resize: vertical; }
.contact :is(input, select, textarea):focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.contact .bot { justify-content: flex-start; margin: 0; }
.contact .form-note { margin: 0; }
.contact .consent { margin: 0; font-size: 15px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }  /* the hidden field only bots fill in */
.contact-sent { margin-top: 32px; }
.contact-sent h2 { margin-top: 0; }
.contact-sent:focus { outline: 0; }

/* ---------- the checkout (checkout.html): the product with the pricing card's price, what is included and the
   promise in a tinted box, each line ticked, then the contact form's fields ---------- */

.buy .tier-price { margin-top: 20px; line-height: 1; }
.pick { margin: 20px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.pick legend { margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 500; }
.pick label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.pick input { accent-color: var(--ink); }
.pick[hidden] { display: none; }
/* each package and add-on with its assistants' logos (owner, 17 Nov 2026); the names stay in the text for screen readers */
.pick .ai { width: 28px; height: 28px; }
.pick .ais { margin-top: 8px; gap: 6px; flex-wrap: wrap; }
.pick label > span > .ai { display: inline-grid; vertical-align: middle; margin-right: 8px; }
.policy .ticks { padding-left: 0; list-style: none; }
.policy .ticks li + li { margin-top: 6px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 6px; top: 0.3em; width: 6px; height: 12px;
  border: solid var(--good); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.policy .promise { margin-top: 16px; padding: 14px 20px; border-radius: 12px; background: var(--chip); }

/* ---------- smaller screens ---------- */

@media (max-width: 960px) {
  .two, .split { grid-template-columns: 1fr; gap: 40px; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .tiers.plans { grid-template-columns: minmax(0, 1fr); }
  .tiers > .tier-wide { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 0; }
  .tier-wide .tier-has, .tier-wide .tier-go { grid-column: auto; grid-row: auto; }
  .tiers > .tier-ent { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "ais" "has" "go"; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 32px; }
  .nav { margin-left: auto; }
  .nav a:not([href="/guides"]) { display: none; }  /* phones keep Guides beside Scan now */
  .band { padding: 64px 0; }
  .band.tight { padding-top: 0; }
  .hero { padding: 48px 0 64px; }
  .answer { margin-top: 48px; padding: 20px; }
  .chats { margin-top: 48px; }
  .stack, .shots { --lap: 0px; grid-template-columns: minmax(0, 1fr); }  /* overlapping windows: one under the other */
  .stack > :first-child, .stack > :last-child { grid-area: auto; }
  .chats .stack > :first-child { margin: 0 24px 0 0; }
  .chats .stack > :first-child > :not(.chat-top) { margin-right: 20px; }
  .chats .stack > :last-child { margin: -16px 0 0 24px; }
  .shots { row-gap: 48px; }
  .get-intros { display: none; }
  .tray { height: auto; padding: 0; border-radius: 0; background: none; overflow: visible; margin-top: 24px; }
  .shots > :first-child { margin-top: 0; }
  .m-cap { display: block; margin-bottom: 20px; }
  .frame { padding: 20px 20px 0; border-radius: 24px; background: var(--chip); overflow: hidden; max-height: 116vw; }
  .stack:has(> :hover) > :not(:hover), .stack:not(:has(> :hover)):has(> :focus) > :not(:focus) { transform: none; opacity: 1; }  /* nothing to step back from */
  .feed { font-size: 14px; }
  .live .feed li { -webkit-line-clamp: 3; }  /* a question's own end, which tells it from the others */
  .answer-q { font-size: 24px; }
  .mark { width: 44px; height: 44px; padding: 4px; border-radius: 12px; }
  .mark.letter { font-size: 24px; }
  .biz { gap: 12px; }
  .tile, .tile.main { padding: 16px; }
  .tile.main .val { font-size: 44px; }
  .tile .val { font-size: 28px; }
  .tile .val small { display: block; margin: 6px 0 0; text-align: left; }
  .tile.main .val small { display: inline; margin-left: 8px; }
  .part { margin-top: 36px; }
  .part-h { font-size: 20px; }
  .next { grid-template-columns: minmax(0, 1fr); }
  .q-list li { flex-direction: column; gap: 4px; }
  .vs, .tiers > li { padding: 24px; }
  .tiers { grid-template-columns: 1fr; }
  .tiers > li { min-height: 0; }
  .tier-pick { left: 24px; }
  .tier-ent .ais { gap: 4px; }  /* Enterprise's nine logos in one row on a 390px phone */
  .tier-ent .ai { width: 30px; height: 30px; }
  .qa { padding: 0 20px; }
  .qa p { padding-right: 0; }
  .ask { padding-left: 18px; }
  .policy { padding-bottom: 64px; }
  .policy > .card { padding: 24px 20px; }
  .policy-toc ol { columns: 1; }
}
@media (max-width: 480px) {  /* phones: the three numbers one under the other, each read at a glance */
  .three { grid-template-columns: minmax(0, 1fr); }
  .tile .val small { display: inline; margin: 0 0 0 8px; }
}

/* The assistants (index.html #assistants): a quiet orbit around the business. Closer to the middle means in use now:
   inner ring Standard (Complete has it too), middle ring what Complete adds (Grok since 17 Nov 2026), outer ring planned (owner, 14 Nov 2026), or in the Enterprise audit (Copilot, Siri, Alexa). Icons: Simple Icons (CC0) for Claude, Gemini, Perplexity,
   Meta AI and Alexa, Lobe Icons (MIT) for ChatGPT, Copilot, Grok and Apple; trademarks stay with their owners (owner's call, 13 Nov 2026). One square box sized in
   container units, so rings, icons and labels stay in place at every width. Rings turn slowly, still when less motion
   is preferred. Owner, 17 Nov 2026: they no longer follow the pointer (the rings moved and the business in the middle
   did not, so it looked off centre) and no longer pause on hover (an icon turns a few pixels a second: easy to hover).
   Like planets (owner, 17 Nov 2026): all one way, the inner ring fastest, the outer slowest, also on screen (each
   ring's radius over its time falls outward, by about a quarter each ring: 60, 120 and 220 seconds a turn). */
.orbit { container-type: inline-size; position: relative; width: min(600px, 100%); aspect-ratio: 1; margin: 24px auto 0; }
.orbit .layer { position: absolute; inset: 0; pointer-events: none; }
.orbit .item { pointer-events: auto; }  /* the layers lie on top of each other: only the icons take the pointer */
.orbit .line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .line circle { fill: none; stroke: rgba(119, 113, 105, 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbit .r1 .line circle { stroke: #9d86c9; stroke-width: 1.5; }
.orbit .r3 .line circle { stroke-dasharray: 3 6; }
.orbit .ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; animation: orbit-spin var(--t) linear infinite; }
.orbit .ring.r1 { --t: 60s; --r: 21cqw; }
.orbit .ring.r2 { --t: 120s; --r: 33cqw; }
.orbit .ring.r3 { --t: 220s; --r: 45cqw; }
.orbit .ring > li { position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.orbit .item { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  translate: -50% calc(-1 * clamp(18px, 4.5cqw, 26px)); animation: orbit-spin var(--t) linear infinite reverse; }
.orbit .node { display: grid; place-items: center; width: clamp(36px, 9cqw, 52px); aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform 0.25s ease, border-color 0.25s ease; }
.orbit .node svg { width: 52%; height: 52%; fill: currentColor; }
.orbit .node.planned { background: var(--paper); border-style: dashed; border-color: var(--edge); color: var(--soft); }
.orbit .node.live { border-color: #9d86c9; box-shadow: 0 0 0 4px rgba(200, 184, 224, 0.35); }
.orbit .label { font-size: clamp(11px, 2.3cqw, 14px); line-height: 1.2; color: var(--muted); white-space: nowrap; }
.orbit .ring > li:hover .node { transform: scale(1.1); border-color: var(--ink); }
.orbit .ring > li:hover .label { color: var(--ink); }
.orbit .hub { position: absolute; inset: 0; margin: auto; width: 17cqw; height: 17cqw; border-radius: 50%;  /* centred by its box, not a shift */
  display: grid; place-items: center; text-align: center; font: 300 clamp(13px, 3.1cqw, 19px)/1.15 var(--serif); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 40px -16px var(--shadow-hub);
  grid-template-columns: minmax(0, 1fr); gap: 0; }  /* one column: the guides' diagram .hub (below) has two, which pushed the words left of the circle's middle */
/* each ring evenly spaced: two, three (Complete's) and four (owner, 17 Nov 2026: Grok joined Complete's ring) */
.orbit .ring.r1 > .n1 { --a: -60deg; }
.orbit .ring.r1 > .n2 { --a: 120deg; }
.orbit .ring.r2 > .n3 { --a: 30deg; }
.orbit .ring.r2 > .n4 { --a: 150deg; }
.orbit .ring.r2 > .n5 { --a: 270deg; }
.orbit .ring.r3 > .n6 { --a: -45deg; }
.orbit .ring.r3 > .n7 { --a: 45deg; }
.orbit .ring.r3 > .n8 { --a: 135deg; }
.orbit .ring.r3 > .n9 { --a: 225deg; }
@keyframes orbit-spin { to { rotate: 360deg; } }
#assistants { overflow-x: clip; }  /* the outer labels never widen the page */
.orbit .line .narrow { display: none; }
@media (max-width: 640px) {  /* phones: room for the outer labels */
  .orbit .ring.r1 { --r: 19cqw; } .orbit .ring.r2 { --r: 28cqw; } .orbit .ring.r3 { --r: 42cqw; }
  /* the rings turn together, one speed, so nothing ever passes: the middle and outer rings' seven icons sit evenly
     around, one in every 51.4 degrees, taking turns (outer, middle, outer, ...), and the inner two sit between middle
     ones. No two icons are nearer than 20cqw. Still (less motion, first paint), the inner two sit at least 30 degrees
     from the top, where a label hangs onto the business circle. No speed difference here (owner asked, 17 Nov 2026):
     the rings are 9 and 14cqw apart, less than an icon and its label (about 20cqw), so any difference would bring one
     ring's icon over the next ring's sooner or later.
     Measured over a whole turn in Chrome at 320 to 430px (17 Nov 2026): each label hangs below its icon whichever way
     the ring has turned, and at 320 to 375px Claude's label ran into Meta AI's icon (up to 10px). The outer ring a
     little wider (42cqw), Claude 4 degrees on (-31deg), icons down to 28px and labels 4px under them on the
     narrowest phones: at least 2px between any two at 320px, more from there */
  .orbit .ring.r1, .orbit .ring.r2, .orbit .ring.r3 { --t: 240s; }
  .orbit .node { width: clamp(28px, 9cqw, 52px); }
  .orbit .item { gap: 4px; translate: -50% calc(-1 * clamp(14px, 4.5cqw, 26px)); }  /* the icon's middle on the ring */
  .orbit .ring.r1 > .n1 { --a: -31deg; } .orbit .ring.r1 > .n2 { --a: 204deg; }
  .orbit .ring.r2 > .n3 { --a: -79deg; } .orbit .ring.r2 > .n4 { --a: 24deg; } .orbit .ring.r2 > .n5 { --a: 127deg; }
  .orbit .ring.r3 > .n6 { --a: -130deg; } .orbit .ring.r3 > .n7 { --a: -27deg; } .orbit .ring.r3 > .n8 { --a: 76deg; }
  .orbit .ring.r3 > .n9 { --a: 179deg; }
  .orbit .line .wide { display: none; } .orbit .line .narrow { display: inline; }
  .orbit .label { font-size: 11px; white-space: normal; text-align: center; max-width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit .ring, .orbit .item { animation: none; }
}


/* ---------- the guides (engine/guides.py writes landing/guides/): the list, each article in the privacy page's card,
   its text at a readable width (about 68 characters a line), and the same offer at the end of every guide ---------- */

.guide { max-width: 820px; padding-top: 24px; padding-bottom: 96px; }
.guide > h1 { margin: 0; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem); }
.guide > .lead { max-width: 52ch; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 12px; font-size: 15px; color: var(--soft); }
.guide-empty { margin-top: 32px; color: var(--muted); }
.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-filter a, .guide-tags a { text-decoration: none; }
.tag-filter a:hover, .guide-tags a:hover { border-color: var(--ink); }
.tag-filter a[aria-current] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.guide-list { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.guide-card { position: relative; padding: 28px 32px; }
.guide-card :is(h2, h3) { font: 300 clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem)/1.15 var(--serif); letter-spacing: -0.01em; }
.guide-card :is(h2, h3) a { text-decoration: none; }
.guide-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }  /* the whole card opens it */
.guide-card :is(h2, h3) a:focus-visible { outline: 0; }
.guide-card:has(a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.guide-card > p:not(.guide-meta) { margin-top: 8px; color: var(--muted); }
.guide-card .guide-meta { margin-top: 16px; gap: 8px; }
.guide-card .guide-meta time { flex-basis: 100%; }  /* the date on its own line, the topics under it */

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--soft); }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--ink); }
.guide-article { padding: 48px; }
.guide-article h1 { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }
.guide-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.in-short { margin-top: 32px; padding: 20px 24px; border-left: 3px solid var(--tone, #c8b8e0); border-radius: 0 12px 12px 0; background: var(--tone-bg, var(--chip)); }
.in-short p { max-width: 34em; font-size: 17px; line-height: 1.6; }
.in-short .in-short-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 15px; font-weight: 500; color: var(--muted); }
.in-short-h .ico { color: var(--tone); }
.prose { font-size: 17px; line-height: 1.7; }
.prose > * { max-width: 34em; }  /* about 68 characters a line */
.prose h2 { margin: 48px 0 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); scroll-margin-top: 24px; }
.prose h3 { margin: 32px 0 0; scroll-margin-top: 24px; }
.prose :is(p, ul, ol, blockquote, pre) { margin: 16px 0 0; }
.prose h3 + p { margin-top: 4px; }
.prose :is(ul, ol) { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { overflow-wrap: anywhere; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--chip); font: 0.88em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose pre { padding: 16px 20px; border: 1px solid var(--code-edge); border-radius: 12px; background: var(--code-bg); color: var(--code-ink); overflow-x: auto; }
.prose pre code { padding: 0; background: none; font-size: 14px; }
.prose blockquote { padding: 16px 20px; border-left: 3px solid #c8b8e0; border-radius: 0 12px 12px 0; background: var(--chip); font: 400 19px/1.5 var(--serif); }
.prose blockquote p + p { margin-top: 8px; }
.prose #sources ~ * { font-size: 15px; color: var(--muted); }
.related { margin-top: 64px; }
.related h2, .funnel h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.related .guide-list { margin-top: 24px; }
.related .guide-card h3 { font-size: 1.375rem; }
.funnel { margin-top: 64px; text-align: center; }
.funnel .lead { margin: 12px auto 28px; }
.funnel .tiers { margin-top: 32px; text-align: left; }
.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier-line { color: var(--muted); }

/* The guides' look (owner, 16 Nov 2026: diagrams, icons, colours, real photos). docs/GUIDES-VISUALS.md says how
   to use each piece. Every colour is a token from the top of this file, so light and dark both work. */

/* a topic's tone: chips, cards, an article (its first topic), its section marks, boxes and diagrams take it */
.t-geo { --tone: var(--lilac); --tone-bg: var(--lilac-bg); }
.t-ai-assistants { --tone: var(--blue); --tone-bg: var(--blue-bg); }
.t-agents { --tone: var(--mint); --tone-bg: var(--mint-bg); }
.t-website { --tone: var(--peach); --tone-bg: var(--peach-bg); }
.t-how-to { --tone: var(--rose); --tone-bg: var(--rose-bg); }

/* icons (engine/guides.py ICONS): lines in the text's colour, one stroke for all */
.ico { flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; }
.ai .ico { fill: none; width: 55%; height: 55%; }
.tag[class*=" t-"] { display: inline-flex; align-items: center; gap: 6px; background: var(--tone-bg); border-color: transparent; }
.tag[class*=" t-"] .ico { color: var(--tone); }
.tag-filter a[aria-current] .ico { color: inherit; }
.guide-meta > span { display: inline-flex; align-items: center; gap: 6px; }

/* photos: the article's at the top of its card, a smaller one on each card, a strip of the topic's colour under it */
.guide-hero { display: block; width: calc(100% + 96px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -48px -48px 36px; border-radius: 15px 15px 0 0; background: var(--chip); }
.guide-card:has(> img) { display: flex; flex-direction: column; overflow: hidden; }
.guide-card > img { order: -1; display: block; width: calc(100% + 64px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -28px -32px 20px; border-bottom: 3px solid var(--tone); background: var(--chip); }
.guide-card:not(:has(> img)) { box-shadow: inset 0 3px 0 var(--tone); }
.guide-card:hover { border-color: var(--tone); }
/* the list pages: the newest guide across the top, photo beside the words, the others two a row */
.guide > .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide > .guide-list > :first-child { grid-column: 1 / -1; }
.guide > .guide-list > :first-child:has(> img) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-content: center; min-height: 300px; }
.guide > .guide-list > :first-child > img { grid-column: 1; grid-row: 1 / span 3; width: calc(100% + 32px); height: calc(100% + 56px); aspect-ratio: auto; margin: -28px 0 -28px -32px; border-bottom: 0; border-right: 3px solid var(--tone); }
.guide > .guide-list > :first-child > :not(img) { grid-column: 2; }
.related .guide-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related .guide-card { padding: 20px 22px; }
.related .guide-card > img { width: calc(100% + 44px); margin: -20px -22px 16px; }
.related .guide-card > p:not(.guide-meta) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 15px; }

/* section marks: a short bar of the topic's colour over each heading; logos beside headings that name an assistant */
.guide-article .prose h2::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 14px; border-radius: 2px; background: var(--tone); }
.prose h2 .ico { width: 0.75em; height: 0.75em; margin-right: 12px; color: var(--tone); vertical-align: 0; }
.prose h3:has(> .ai) { display: flex; align-items: center; gap: 12px; }
.prose h3 > .ai { flex: none; width: 32px; height: 32px; }  /* stays round when the heading wraps */

/* tinted boxes: > [!TIP], > [!WARNING], > [!IMPORTANT] */
.callout { --c: var(--lilac); --c-bg: var(--lilac-bg); padding: 16px 20px; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); border-radius: 12px; background: var(--c-bg); }
.callout.tip { --c: var(--mint); --c-bg: var(--mint-bg); }
.callout.warning { --c: var(--peach); --c-bg: var(--peach-bg); }
.prose .callout { margin-top: 24px; }
.prose .callout p { margin: 0; }
.prose .callout p + p { margin-top: 8px; }
.prose .callout .callout-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 15px; font-weight: 600; letter-spacing: 0.15px; color: var(--c); }
.callout-h .ico { width: 20px; height: 20px; }

/* checklists: a list whose items start with [ ] gets ticks (.ticks above) in a quiet box */
.prose .ticks { padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; list-style: none; }
.prose .ticks li { padding-left: 30px; }

/* comparison tables */
.prose > :is(.table, .fig) { max-width: none; }
.prose .table { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose :is(th, td) { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.prose thead th { border-top: 0; background: var(--tone-bg, var(--chip)); font-weight: 600; }
.prose tbody th { font-weight: 500; }

/* diagrams: one <figure class="fig"> each (content/guides/figures), its drawing in .fig-box, a caption under it */
.prose .fig { margin: 32px 0 0; }
.prose .fig :is(p, ul, ol) { margin: 0; padding: 0; }
.prose .fig li + li { margin-top: 0; }
.fig-box { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 15px; line-height: 1.45; }
.prose .fig .fig-title { margin-bottom: 16px; font: 300 22px/1.2 var(--serif); }
.fig figcaption { display: flex; gap: 10px; margin-top: 12px; max-width: 40em; font-size: 15px; line-height: 1.5; color: var(--muted); }
.fig figcaption::before { content: ""; flex: none; width: 3px; border-radius: 2px; background: var(--tone); }
.dot { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tone-bg); color: var(--tone); }
.dot .ico { width: 20px; height: 20px; }
/* steps in a row with lines between them; one under the other on phones */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; list-style: none; }
.flow > li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); }
.flow > li:not(:last-child)::after { content: ""; position: absolute; top: 33px; left: 100%; width: 14px; height: 2px; background: var(--tone); }
.flow > li:last-child { border-color: var(--tone); }
.flow b { color: var(--ink); font-weight: 600; }
.flow .dot { margin-bottom: 4px; }
/* two things side by side (the old way and the new), one under the other on phones */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; }
.versus-or { align-self: center; font: 300 22px/1 var(--serif); color: var(--soft); }
.panel { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.panel.on { border-color: var(--tone); box-shadow: 0 0 0 3px var(--tone-bg); }
.panel-h { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.panel-h .ico { color: var(--tone); }
.panel-note { margin-top: auto; color: var(--muted); }
/* drawn stand-ins for a page: a list of links (numbered bars) and a chat (bubbles of bars, names as chips) */
.mock-links { display: grid; gap: 7px; list-style: none; counter-reset: link; }
.mock-links li { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1; color: var(--soft); counter-increment: link; }
.mock-links li::before { content: counter(link); width: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.mock-links li::after { content: ""; flex: 1; height: 6px; border-radius: 9999px; background: var(--edge); }
.mock-links li:nth-child(3n+2)::after { flex: 0.8; }
.mock-links li:nth-child(3n)::after { flex: 0.9; }
.mock-chat { display: grid; gap: 10px; }
.bubble { display: grid; gap: 7px; padding: 12px; border-radius: 14px; background: var(--chip); }
.bubble.q { justify-self: end; width: 70%; border-bottom-right-radius: 4px; background: var(--tone-bg); }
.bubble.a { border-bottom-left-radius: 4px; }
.bubble i { display: block; height: 6px; border-radius: 9999px; background: var(--edge); }
.bubble > i:last-child { width: 70%; }
.named i { width: 56px; }
.named { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 9999px; background: var(--surface); border: 1px solid var(--tone); font-size: 13px; font-weight: 500; }
.named .ico { color: var(--tone); }
/* many into one: rows on the left, each with a line to one box on the right */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 0 32px; }
.hub-from { display: grid; gap: 8px; list-style: none; }
.hub-from > li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.hub-from > li::after { content: ""; position: absolute; top: 50%; left: 100%; width: 32px; height: 2px; background: var(--tone); }
.hub-from .ai { width: 30px; height: 30px; }
.hub-who { flex: 1; min-width: 8em; font-weight: 500; }
.hub-to { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 16px; border: 2px solid var(--tone); border-radius: 12px; background: var(--tone-bg); text-align: center; font: 300 22px/1.2 var(--serif); }
.hub-to .ico { width: 32px; height: 32px; color: var(--tone); }
/* a bar per figure; the bars are SVG rects, as the security policy allows no style attribute for a width */
.bars { display: grid; gap: 16px; list-style: none; }
.bars > li { display: grid; grid-template-columns: minmax(0, 1fr) 4.5em; gap: 6px 12px; align-items: center; }
.bars > li > span { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.bars .ai { width: 28px; height: 28px; }
.bars svg { display: block; width: 100%; height: 12px; border-radius: 9999px; background: var(--line); }
.bars rect { fill: var(--tone); }
.bars b { font: 300 26px/1 var(--serif); font-variant-numeric: lining-nums; text-align: right; }
/* boxes in a grid, two a row (one on phones), each with a big name */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.tiles > li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); }
.tiles > li > b { font: 300 24px/1.15 var(--serif); color: var(--ink); }
/* two ends joined by a line, inside a tile: what a protocol connects */
.pair { display: flex; align-items: center; gap: 6px; margin: 4px 0; color: var(--ink); font-size: 13px; font-weight: 500; }
.pair > span { padding: 3px 10px; border-radius: 9999px; background: var(--tone-bg); }
.pair > span:first-child { flex: none; }
.pair > i { flex: 1 0 12px; height: 2px; border-radius: 2px; background: var(--tone); }
/* a row's detail under its name (many into one) */
.hub-from small { flex-basis: 100%; padding-left: 42px; font-size: 14px; color: var(--muted); }
/* a file with notes beside it (code on the left, numbered notes on the right; notes under it on phones) */
.anatomy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: start; }
.prose .anatomy pre { margin: 0; }
.prose .anatomy ol { display: grid; gap: 10px; padding-left: 22px; }
/* the file's parts numbered like the notes: <i class="n" data-n="1" aria-hidden="true"></i> (not copied with the text) */
.prose .anatomy pre { padding-left: 42px; }
.prose .anatomy pre code { font-size: 13px; }
.anatomy .n { position: relative; }  /* the number hangs in the left margin, so the file's lines stay aligned */
.anatomy .n::before { content: attr(data-n); position: absolute; top: 50%; left: -28px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--tone); color: var(--surface); font: 600 11px/1 var(--sans); transform: translateY(-50%); }

@media (max-width: 820px) {
  .related .guide-list { grid-template-columns: 1fr; }
  .related .guide-card:has(> img) { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 16px; }
  .related .guide-card > img { grid-row: 1 / span 3; width: calc(100% + 22px); height: calc(100% + 40px); aspect-ratio: auto; margin: -20px 0 -20px -22px; border-bottom: 0; border-right: 3px solid var(--tone); }
  .related .guide-card > :not(img) { grid-column: 2; }
  .related .guide-card > p:not(.guide-meta) { display: none; }
  .flow { grid-auto-flow: row; }
  .flow > li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .flow > li > :not(.dot) { flex: 1 1 60%; }
  .flow > li > span:not(.dot) { flex-basis: 100%; padding-left: 48px; }
  .flow > li:not(:last-child)::after { top: 100%; left: 33px; width: 2px; height: 14px; }
}
@media (max-width: 640px) {
  .guide { padding-bottom: 64px; }
  .guide-article { padding: 24px 20px; }
  .guide-hero { width: calc(100% + 40px); margin: -24px -20px 24px; }
  .guide-card { padding: 24px 20px; }
  .guide-card > img { width: calc(100% + 40px); margin: -24px -20px 18px; }
  .guide > .guide-list { grid-template-columns: 1fr; }
  .guide > .guide-list > :first-child:has(> img) { display: flex; min-height: 0; }
  .guide > .guide-list > :first-child > img { width: calc(100% + 40px); height: auto; aspect-ratio: 16 / 9; margin: -24px -20px 18px; border-right: 0; border-bottom: 3px solid var(--tone); }
  .in-short { padding: 16px 18px; }
  .duo { grid-template-columns: 1fr; }
  .crumbs li[aria-current] { display: none; }  /* the trail reads as a Guides back link above the title */
  .prose pre code { white-space: pre-wrap; overflow-wrap: anywhere; }  /* whole lines, no sideways scroll */
  .prose .table thead { display: none; }  /* a table becomes one box per row, each cell under its column's name */
  .prose .table :is(table, tbody, tr, th, td) { display: block; }
  .prose .table tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .prose .table tr:first-child { border-top: 0; }
  .prose .table :is(th, td) { padding: 0; border: 0; }
  .prose .table tbody th { margin-bottom: 4px; font-weight: 600; }
  .prose .table td { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; }
  .prose .table td::before { content: attr(data-label); color: var(--muted); }
  .prose .table td:only-of-type { display: block; }  /* two columns: the row's name says enough, no label */
  .prose .table td:only-of-type::before { content: none; }
  .fig-box { padding: 16px; }
  .versus, .hub, .tiles, .anatomy { grid-template-columns: minmax(0, 1fr); }
  .versus-or { justify-self: center; }
  .hub { gap: 24px; }
  .hub-from > li::after { top: 100%; left: 50%; width: 2px; height: 8px; }
  .hub-from > li:not(:last-child)::after { display: none; }
  .hub-from > li:last-child::after { height: 24px; }
  .hub-to { grid-auto-flow: column; align-items: center; padding: 12px 16px; }
}
