/*
  Contentstack Canoe: shared design system (FOUNDATION owns this file).
  Page-specific styles go in /assets/css/pages/<page>.css. Class reference: /dev/COMPONENTS.md
  Sections: 1 fonts, 2 tokens, 3 base, 4 type, 5 layout, 6 icons + buttons, 7 chrome (announce, header,
  menu, footer), 8 content components, 9 forms, 10 docs, 11 prose + article, 12 bands + gradients,
  13 motion, 14 utilities, 15 print.
*/

/* 1. Fonts ------------------------------------------------------------------------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }
/* Metric-matched fallback so the swap to Inter does not shift layout */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }

/* 2. Tokens ----------------------------------------------------------------------------------- */
:root {
  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --fs-display: clamp(40px, 6.2vw, 76px);
  --fs-h1: clamp(34px, 4.6vw, 56px);
  --fs-h2: clamp(28px, 3.4vw, 44px);
  --fs-h3: clamp(20px, 1.8vw, 24px);
  --fs-h4: 18px;
  --fs-lead: clamp(17px, 1.5vw, 20px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 13px;
  --fs-eyebrow: 12.5px;

  --r-xs: 6px; --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --btn-r: var(--r-sm);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px;
  --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 150ms; --t: 250ms; --t-slow: 400ms;

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 56px;
  /* Rhythm (UX pass 2026-09-27): one section token for every page. Pages never override it. */
  --section-y: clamp(48px, 6.5vw, 96px);
  --hero-pt: clamp(24px, 6vw, 88px);
  --hero-pb: clamp(32px, 5vw, 72px);
  --fs-title: clamp(24px, 2.6vw, 32px); /* sub-section and feature titles */
  --r-frame: var(--r-lg); /* frames (mocks, plan cards, .cta-band, .enq-card): 16 below 768, 24 from 768 */
  --snap-w: 82%; /* card width inside a .snap-row */
  --scrim: rgb(0 0 0 / .45);

  /* Approved Contentstack gradients. Stops are exact; use them via the classes in section 12. */
  --chroma-stops: #B0F7BA 0%, rgba(137, 156, 250, .6) 50%, rgba(172, 117, 255, .3) 80%, rgba(172, 117, 255, 0) 100%;
  --prism-stops: #AC75FF 0%, rgba(137, 156, 250, .65) 30%, rgba(172, 117, 255, 0) 100%;
  --aura-stops: #B0F7BA 0%, rgba(137, 156, 250, .65) 30%, rgba(176, 247, 186, 0) 100%;
  --tide-stops: #899CFA 0%, rgba(176, 247, 186, .65) 30%, rgba(137, 156, 250, 0) 100%;

  /* Masks (drawn with currentColor through background + mask) */
  --m-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --m-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='square'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  --m-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='square'%3E%3Cpath d='M9.5 6.5L15 12l-5.5 5.5'/%3E%3C/svg%3E");
  --m-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E");
  --m-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='square'%3E%3Cpath d='M8 16L16 8M9.5 8H16v6.5'/%3E%3C/svg%3E");
  /* The four-point sparkle from the Contentstack Canoe mark (launch pricing) */
  --m-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l3.6 7.4L23 12l-7.4 3.6L12 23l-3.6-7.4L1 12l7.4-3.6z'/%3E%3C/svg%3E");
  --launch-grad: linear-gradient(100deg, #6A90B0 0%, #7281EC 45%, #7B55F1 100%);
}
@media (min-width: 768px) { :root { --r-frame: var(--r-xl); } }
@media (min-width: 1024px) { :root { --header-h: 64px; } }

/* Dark: the default expression */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1A1919; --bg-2: #151515; --surface: #212121; --card: #292928; --card-2: #2F2E2D;
  --line: #393838; --line-soft: #2F2E2D; --line-strong: #4A4948;
  --ink: #F5F5F4; --ink-2: #C9C8C6; --muted: #9A9998; --faint: #797777;
  --accent: #AC75FF; --accent-strong: #C39BFF; --accent-ink: #1A1919; --accent-text: #C39BFF;
  --accent-soft: rgba(172, 117, 255, .12); --accent-line: rgba(172, 117, 255, .38);
  --blue: #899CFA; --green: #B0F7BA; --teal: #89E6D4; --amethyst-shade: #654A8C; --blue-shade: #525B89;
  --good: #B0F7BA; --warn: #F5C77E; --bad: #FF8A8A;
  --chart-1: #AC75FF; --chart-2: #899CFA; --chart-3: #B0F7BA; --chart-4: #654A8C; --chart-5: #525B89;
  --note: #899CFA; --tip: #B0F7BA; --important: #AC75FF; --caution: #F5C77E; --error: #FF8A8A;
  --input-bg: #151515; --input-line: #797777; --code-bg: #151515;
  --btn-2-bg: rgba(245, 245, 244, .03); --btn-2-line: #4A4948;
  --hover: rgba(245, 245, 244, .055); --press: rgba(245, 245, 244, .09);
  --header-bg: rgba(26, 25, 25, .86);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .045);
  --shadow-sm: 0 0 0 transparent;
  --shadow: 0 0 0 transparent;
  --shadow-lg: 0 24px 56px -16px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02);
  --focus: #C39BFF;
  --tok-key: #C39BFF; --tok-str: #B0F7BA; --tok-num: #899CFA; --tok-fn: #89E6D4; --tok-com: #9A9998; --tok-punc: #9A9998;
  --glow-opacity: .85;
}
/* Light */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F5F4; --bg-2: #EBEBEA; --surface: #FBFBFA; --card: #FFFFFF; --card-2: #F0EFEE;
  --line: #E1E0E0; --line-soft: #EBEBEA; --line-strong: #D4D4D3;
  --ink: #1A1919; --ink-2: #393838; --muted: #626160; --faint: #797777;
  --accent: #8A38F5; --accent-strong: #7424E0; --accent-ink: #FFFFFF; --accent-text: #7424E0;
  --accent-soft: rgba(138, 56, 245, .08); --accent-line: rgba(138, 56, 245, .32);
  --blue: #5B6FE0; --green: #3FAF6A; --teal: #1F8A78; --amethyst-shade: #654A8C; --blue-shade: #525B89;
  --good: #2A7549; --warn: #9A6400; --bad: #C62828;
  --chart-1: #8A38F5; --chart-2: #5B6FE0; --chart-3: #3FAF6A; --chart-4: #654A8C; --chart-5: #525B89;
  --note: #4453C4; --tip: #2E7D4F; --important: #8A38F5; --caution: #9A6400; --error: #C62828;
  --input-bg: #FFFFFF; --input-line: #8F8E8D; --code-bg: #FBFBFA;
  --btn-2-bg: #FBFBFA; --btn-2-line: #D4D4D3;
  --hover: rgba(26, 25, 25, .045); --press: rgba(26, 25, 25, .075);
  --header-bg: rgba(245, 245, 244, .88);
  --highlight: 0 0 0 transparent;
  --shadow-sm: 0 1px 2px rgba(26, 25, 25, .05);
  --shadow: 0 1px 2px rgba(26, 25, 25, .04), 0 6px 16px -6px rgba(26, 25, 25, .07);
  --shadow-lg: 0 2px 6px rgba(26, 25, 25, .04), 0 24px 48px -16px rgba(26, 25, 25, .16);
  --focus: #8A38F5;
  --tok-key: #7424E0; --tok-str: #2E7D4F; --tok-num: #4453C4; --tok-fn: #1F7A6B; --tok-com: #626160; --tok-punc: #626160;
  --glow-opacity: .34;
}
/* Light: on the alt surfaces (bg-2) the default hairlines were the same colour as the surface, so they vanished */
:root[data-theme="light"] :is(.site-footer, .section-alt, .card-muted) { --line-soft: #DCDBDA; --line: #D4D4D3; }
/* 3. Base ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) { html:not(.menu-open) { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
  overflow-x: clip;
}
html.menu-open, html.menu-open body { overflow: hidden; }
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img, video { height: auto; }
svg { flex-shrink: 0; }
input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd, pre { margin: 0; }
:where(ul[class], ol[class]) { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(172, 117, 255, .34); }
a { color: inherit; text-decoration: none; }
/* Unclassed links are text links: accent, underlined (color is never the only signal) */
a:not([class]) {
  color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .22em; text-decoration-color: var(--accent-line);
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}
@media (hover: hover) { a:not([class]):hover { color: var(--accent-strong); text-decoration-color: currentColor; } }
/* Navigation lists and link lists are never bulleted or underlined */
nav ul, nav ol, .footer-legal ul { list-style: none; margin: 0; padding: 0; }
:where(nav, .footer-legal, .menu-links, .social) a:not([class]) { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
main:focus, [tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 10px; z-index: 300;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 15px;
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; outline-offset: 3px; }

/* 4. Type ------------------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 { color: var(--ink); font-weight: 600; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.03em; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.025em; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -.005em; }
h5, h6, .h5 { font-size: 16px; line-height: 1.4; }
p, li, dd, figcaption { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--muted); }
/* Fair use footnote (owner, 2026-09-27): every "Unlimited" carries a.fn-ref, an asterisk that links to a nearby
   .fn-note ("* A fair use policy applies."). Markup and screen reader text: dev/COMPONENTS.md, section 11. */
.fn-ref { padding-inline: 1px; border-radius: 2px; color: var(--accent-text); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .fn-ref:hover { color: var(--accent-strong); text-decoration: underline; } }
.fn-note > [aria-hidden] { color: var(--accent-text); font-weight: 600; }
.prose > .fn-note { margin-top: .6em; color: var(--muted); font-size: 14px; line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-eyebrow); font-weight: 500; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .icon { width: 16px; height: 16px; }
/* Eyebrows that open a hero or a section head are blocks, so the line box doesn't add ~6px above them and the
   14px (hero) and 12px (section head) gaps to the heading are exact */
.page-hero .eyebrow, .section-head > .eyebrow, .faq-head > .eyebrow { display: flex; width: fit-content; }
@media (min-width: 768px) { .page-hero-center .eyebrow, .section-head-center > .eyebrow { margin-inline: auto; } }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.ink-2 { color: var(--ink-2); }
.accent { color: var(--accent); }
.tnum { font-variant-numeric: tabular-nums; }
.balance { text-wrap: balance; }
strong, b { font-weight: 600; }
kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  padding: 0 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px;
  background: var(--surface); color: var(--muted); font: 500 12px/1 var(--mono);
}

/* 5. Layout ----------------------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(880px + 2 * var(--gutter)); }
.container-text { max-width: calc(720px + 2 * var(--gutter)); }
/* Section budget: one idea per section, at most 1,218px tall at 375. Alternate .section-alt from the second
   section, never two in a row; the final CTA section keeps the default background. */
.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: clamp(32px, 4.5vw, 64px); }
.section-lg { padding-block: clamp(80px, 11vw, 160px); }
.section-flush-top { padding-top: 0; }
.section-alt { background: var(--bg-2); }
/* #8A38F5 is 4.4:1 on the light alt background; text accents there use the stronger shade */
:root[data-theme="light"] :is(.section-alt, .card-muted) :is(.eyebrow, .btn-link, a:not([class])) { color: var(--accent-text); }
.section-line { border-top: 1px solid var(--line-soft); }
.stack > * + * { margin-top: var(--stack, 16px); }
.stack-xs { --stack: 8px; } .stack-sm { --stack: 12px; } .stack-lg { --stack: 24px; } .stack-xl { --stack: 40px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.grid { display: grid; gap: var(--grid-gap, clamp(16px, 2vw, 24px)); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--grid-gap, clamp(16px, 2vw, 24px)); grid-template-columns: minmax(0, 1fr); }
.grid-auto { display: grid; gap: var(--grid-gap, clamp(16px, 2vw, 24px)); grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 280px)), 1fr)); }
@media (min-width: 480px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1023px) { .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split-top { align-items: start; }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* Hero and final CTA buttons on phones: the primary goes full width, the secondary becomes a centred accent
   text link with a 44px hit area. From 480 both render as buttons side by side. */
@media (max-width: 479px) {
  .actions-stack-xs { flex-direction: column; align-items: stretch; gap: 4px; }
  .actions-stack-xs > .btn-primary { width: 100%; }
  .actions-stack-xs > .btn:not(.btn-primary) {
    width: auto; align-self: center; min-height: 44px; padding: 0 8px;
    border-color: transparent; background: none; box-shadow: none; color: var(--accent-text);
  }
}

/* Section head: eyebrow (optional, never repeats the h2), h2 (8 words or fewer), at most one lead.
   Left-aligned stack; from 1024 use .section-head-split whenever there is a lead. */
.section-head { max-width: 760px; margin-bottom: clamp(24px, 3.5vw, 48px); }
.section-head > * + *, .section-head > .eyebrow + * { margin-top: 12px; }
.section-head .lead { max-width: 640px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .lead { margin-inline: auto; }
/* Centring is only for .cta-band and the desktop pricing hero: centred heads turn left-aligned on phones */
@media (max-width: 767px) {
  .section-head-center { margin-inline: 0; text-align: left; }
  .section-head-center .lead { margin-inline: 0; }
}
@media (min-width: 1024px) {
  .section-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 64px; align-items: end; }
  .section-head-split > * + * { margin-top: 0; }
  .section-head-split > .eyebrow { grid-column: 1 / -1; }
  .section-head-split > .lead { padding-bottom: 6px; }
}

/* Page hero (inner pages). Rhythm, the same on every page: eyebrow to H1 14px, H1 to lead 16px,
   lead to actions 24px (32px on desktop), actions to note 12px. At 375 the eyebrow top sits at 80px
   (56px header + 24px hero top). Pages whose hero container is a grid reset "> * + *" themselves. */
.page-hero { position: relative; isolation: isolate; padding-block: var(--hero-pt) var(--hero-pb); }
.page-hero > .container > * + * { margin-top: 16px; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero .actions { margin-top: clamp(24px, 3vw, 32px); }
.page-hero .actions + .hero-note, .actions + .hero-note { margin-top: 12px; }
.page-hero-center { text-align: center; }
.page-hero-center h1, .page-hero-center .lead { margin-inline: auto; }
.page-hero-center .actions { justify-content: center; }
@media (max-width: 767px) {
  .page-hero-center { text-align: left; }
  .page-hero-center h1, .page-hero-center .lead { margin-inline: 0; }
  .page-hero-center .actions { justify-content: flex-start; }
}
/* Every hero (and talk, contact, 404, articles) matches. The .page-hero selector is needed to beat
   ".page-hero > .container > * + *" above (0,2,0), which "main .eyebrow + h1" (0,1,2) alone does not. */
main .eyebrow + h1, main .article-kicker + h1, .page-hero > .container > .eyebrow + h1 { margin-top: 14px; }
main h1 + .lead { margin-top: 16px; }
.hero-note { font-size: var(--fs-small); color: var(--muted); }

/* 6. Icons and buttons ------------------------------------------------------------------------ */
.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }
.icon-xs { width: 14px; height: 14px; } .icon-sm { width: 16px; height: 16px; } .icon-lg { width: 24px; height: 24px; } .icon-xl { width: 32px; height: 32px; }
.icon-tile {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile-neutral { background: var(--card-2); color: var(--ink-2); border-color: var(--line); }

.btn {
  --btn-h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h); padding: 0 18px; border: 1px solid transparent; border-radius: var(--btn-r);
  font: 500 15px/1.2 var(--font); letter-spacing: -.005em; white-space: nowrap; text-align: center;
  cursor: pointer; user-select: none; -webkit-user-select: none; text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-secondary { background: var(--btn-2-bg); border-color: var(--btn-2-line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 0; padding: 0; border: 0; border-radius: 2px;
  background: none; color: var(--accent); font-size: 15px; font-weight: 500; line-height: 1.4; text-decoration: none;
}
.btn-link .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn-link:active { transform: none; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-strong); }
  .btn-secondary:hover { border-color: var(--faint); background: var(--hover); }
  .btn-ghost:hover { background: var(--hover); color: var(--ink); }
  .btn-link:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
  .btn-link:hover .icon-arrow, a:hover .btn-link .icon-arrow { transform: translateX(2px); }
  .btn:hover .icon-arrow, .btn:hover [data-icon="arrow"] { transform: translateX(2px); }
  .btn:hover .icon-up-right { transform: translate(1px, -1px); }
}
.btn-sm { --btn-h: 36px; padding: 0 14px; font-size: 14px; gap: 6px; }
.btn-sm .icon { width: 16px; height: 16px; }
.btn-lg { --btn-h: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon-only { padding: 0; width: var(--btn-h); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .btn-ext { width: 14px; height: 14px; opacity: .7; }
@media (pointer: coarse) { .btn-sm::after { content: ""; position: absolute; inset: -4px 0; } }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.icon-btn .icon { width: 20px; height: 20px; }
@media (hover: hover) { .icon-btn:hover { background: var(--hover); color: var(--ink); } }
.icon-btn:active { background: var(--press); }
@media (pointer: coarse) { .icon-btn::after { content: ""; position: absolute; inset: -4px; } }

/* 7a. Announcement bar ------------------------------------------------------------------------ */
.announce { position: relative; z-index: 51; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
html.announce-off .announce { display: none; }
/* Owner, 2026-09-27: phones don't show the bar (keynote visitors are already at ContentCon). CSS only, so the
   inline theme script in partials/head.html (and its CSP hash) stays untouched. */
@media (max-width: 767px) { .announce { display: none; } }
.announce-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; padding-block: 8px; padding-right: calc(var(--gutter) + 32px); padding-left: calc(var(--gutter) + 32px); }
.announce-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); text-align: center; transition: color var(--t-fast) var(--ease); }
.announce-link strong { color: var(--ink); font-weight: 500; }
.announce-dot { width: 6px; height: 6px; flex: none; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.announce-link .icon { width: 16px; height: 16px; color: var(--muted); transition: transform var(--t) var(--ease), color var(--t-fast); }
.announce-more { color: var(--muted); }
@media (hover: hover) { .announce-link:hover { color: var(--ink); } .announce-link:hover .icon { transform: translateX(2px); color: var(--ink); } .announce-link:hover .announce-more { color: var(--ink-2); } }
.announce-close { position: absolute; right: calc(var(--gutter) - 8px); top: 50%; translate: 0 -50%; width: 32px; height: 32px; color: var(--muted); }
.announce-close .icon { width: 18px; height: 18px; }
@media (pointer: coarse), (max-width: 1023px) {
  .announce-inner { min-height: 44px; padding-block: 0; }
  .announce-link { min-height: 44px; padding-block: 6px; }
  .announce-close { right: calc(var(--gutter) - 12px); width: 44px; height: 44px; }
  .announce-close::after { content: none; }
}

/* 7b. Header ---------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-header.is-scrolled::before {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px);
  border-bottom-color: var(--line-soft);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header.is-scrolled::before { background: var(--bg); } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.lockup { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--ink); font-size: 18px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; border-radius: 4px; }
.lockup-icon { width: 26px; height: 26px; flex: none; }
.lockup-brand { font-weight: 600; }
.lockup-product { font-weight: 400; }
@media (max-width: 479px) { .lockup { font-size: 16px; gap: 8px; } .lockup-icon { width: 22px; height: 22px; } }
@media (pointer: coarse), (max-width: 1023px) { .lockup { min-height: 44px; } .header-cta-mobile { --btn-h: 40px; } }
/* While the hero's own primary CTA is on screen the header CTA steps aside (site.js sets html.hero-cta-in-view).
   Without JavaScript, and on pages without a hero CTA, it always shows. */
.header-cta-mobile { transition: opacity var(--t) var(--ease), visibility 0s; }
@media (max-width: 1023px) {
  html.hero-cta-in-view .header-cta-mobile { opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), visibility 0s linear var(--t); }
}
.site-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-link.is-active { color: var(--ink); background: var(--hover); }
@media (hover: hover) { .nav-link:hover { color: var(--ink); background: var(--hover); } }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header-desktop { display: none; }
.header-cta-mobile { display: none; margin-right: 4px; }
@media (min-width: 360px) { .header-cta-mobile { display: inline-flex; } }
.menu-btn { margin-right: -6px; color: var(--ink); }
html:not(.js) .menu-btn { display: none; }
.menu-fallback { display: none; }
html:not(.js) .menu-fallback { display: inline-flex; }
/* Without JavaScript the lockup, the header CTA and the "Menu" link don't fit below 390; the hero keeps its own CTA */
@media (max-width: 389px) { html:not(.js) .header-cta-mobile { display: none; } }
.theme-toggle .i-sun { display: none; }
html:not(.js) .theme-toggle { display: none; }
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: flex; margin-left: 24px; }
  .header-desktop { display: flex; align-items: center; gap: 4px; }
  .header-desktop .nav-link { padding: 0 12px; }
  .header-cta-mobile, .menu-btn, .menu-fallback, html:not(.js) .menu-fallback { display: none; }
  .header-actions { gap: 8px; }
  .header-sep { width: 1px; height: 20px; background: var(--line); margin-inline: 4px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-inner { gap: 8px; }
  .site-nav { margin-left: 16px; }
  .nav-link, .header-desktop .nav-link { padding: 0 8px; font-size: 14px; }
  .header-actions, .header-desktop { gap: 2px; }
  .header-sep, .header-discord { display: none; }
  .header-desktop .btn { margin-left: 6px; padding: 0 12px; }
  .nav-list { gap: 0; }
}
@media (min-width: 1200px) { .nav-link { padding: 0 12px; } .site-nav { margin-left: 32px; } }

/* 7c. Mobile menu sheet ----------------------------------------------------------------------- */
.menu-sheet { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--bg); }
.menu-sheet.is-opening { animation: sheet-in var(--t) var(--ease) both; }
.menu-sheet.is-closing { animation: sheet-out var(--t-fast) ease-in both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-6px); } }
.menu-top { flex: none; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line-soft); }
.menu-top .icon-btn { margin-right: -6px; color: var(--ink); }
@media (pointer: coarse), (max-width: 1023px) { .menu-btn, .menu-top .icon-btn { width: 44px; height: 44px; margin-right: -10px; } .menu-btn::after, .menu-top .icon-btn::after { content: none; } }
.menu-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 32px; }
.menu-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px;
  border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: 21px; font-weight: 500; letter-spacing: -.015em;
}
.menu-nav a .icon { width: 20px; height: 20px; color: var(--faint); transition: transform var(--t) var(--ease), color var(--t-fast); }
.menu-nav a.is-active { color: var(--accent); }
.menu-nav a.is-active .icon { color: var(--accent); }
@media (hover: hover) { .menu-nav a:hover .icon { transform: translateX(3px); color: var(--ink); } }
.menu-links { margin-top: 20px; display: grid; }
.menu-links a, .menu-links button {
  display: flex; align-items: center; gap: 12px; min-height: 48px; width: 100%; padding: 0; border: 0; background: none;
  color: var(--ink-2); font-size: 16px; font-weight: 500; text-align: left;
}
.menu-links .icon { width: 20px; height: 20px; color: var(--muted); }
.menu-links .menu-ext { width: 14px; height: 14px; margin-left: -4px; color: var(--faint); }
.menu-foot { flex: none; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.menu-foot .hero-note { text-align: center; font-size: 13px; }
@media (min-width: 640px) { .menu-body, .menu-foot { padding-inline: max(var(--gutter), calc((100% - 560px) / 2)); } }

/* 7d. Footer ---------------------------------------------------------------------------------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding-block: clamp(40px, 6vw, 72px) 28px; color: var(--ink-2); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.footer-brand { grid-column: 1 / -1; max-width: 360px; }
/* 2px of padding (cancelled by the margin) gives the logo link a 24px target without moving anything */
.footer-logo { display: inline-flex; align-items: center; justify-self: start; padding-block: 2px; margin-block: -2px; color: var(--ink); border-radius: 4px; }
.footer-logo svg { height: 20px; width: auto; aspect-ratio: 880 / 137; }
.footer-tagline { margin-top: 16px; color: var(--muted); line-height: 1.55; }
.social { display: flex; gap: 2px; margin: 20px 0 0 -8px; }
.social .icon-btn { color: var(--muted); }
.social .icon { width: 20px; height: 20px; }
.footer-title { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: 0; margin-bottom: 14px; }
.footer-links { display: grid; gap: 6px; }
/* 2px of padding makes each link a 25px target (WCAG 2.5.8); the 6px gap keeps the columns no taller than before */
.footer-links a { display: inline-block; padding-block: 2px; color: var(--muted); line-height: 1.5; transition: color var(--t-fast) var(--ease); }
.footer-links .icon { display: inline-block; width: 14px; height: 14px; margin-left: 3px; vertical-align: -2px; opacity: .8; }
@media (hover: hover) { .footer-links a:hover, .social .icon-btn:hover, .footer-legal a:hover { color: var(--ink); } }
@media (pointer: coarse), (max-width: 767px) {
  .footer-links { gap: 0; } .footer-links a { padding-block: 11px; } .footer-title { margin-bottom: 4px; }
  .footer-logo { min-height: 44px; align-items: center; } .social { margin-left: -12px; } .social .icon-btn { width: 44px; height: 44px; } .social .icon-btn::after { content: none; }
}
/* Tablets: the brand block is one band (logo and tagline left, social right) above the four columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; max-width: none; }
  .footer-tagline { grid-column: 1; margin-top: 8px; }
  .social { grid-column: 2; grid-row: 1 / span 2; margin: 0 -8px 0 0; }
}
.footer-legal { margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--muted); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-legal a { color: var(--muted); display: inline-flex; align-items: center; min-height: 32px; }
.footer-tm { flex-basis: 100%; font-size: 12px; line-height: 1.5; }
@media (pointer: coarse), (max-width: 1023px) { .footer-legal ul { gap: 0 24px; } .footer-legal a { min-height: 44px; } }
/* Phones: the four link columns become accordion rows (toggles built by initFooterCols() in site.js).
   Without JavaScript the lists stay open under plain headings. */
.footer-toggle { display: none; }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-brand { margin-bottom: 24px; }
  .footer-col { border-top: 1px solid var(--line); }
  .footer-col:last-child { border-bottom: 1px solid var(--line); }
  .footer-title { margin: 0; }
  html:not(.js) .footer-title { padding: 16px 0 4px; }
  .footer-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0;
    border: 0; background: none; color: var(--ink); font: 500 15px/1.3 var(--font); text-align: left; border-radius: 4px;
  }
  .footer-toggle::after {
    content: ""; flex: none; width: 18px; height: 18px; background: var(--muted);
    -webkit-mask: var(--m-chevron-down) center / contain no-repeat; mask: var(--m-chevron-down) center / contain no-repeat;
    transition: transform var(--t) var(--ease);
  }
  .footer-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
  .footer-toggle:focus-visible { outline-offset: -2px; }
  .footer-links { padding-bottom: 8px; }
  .footer-legal { margin-top: 24px; padding-top: 0; border-top: 0; }
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); gap: 32px; } .footer-brand { grid-column: auto; padding-right: 24px; } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); } .footer-brand { padding-right: 32px; } }

/* 8. Content components ----------------------------------------------------------------------- */
/* Card tiers (never more than one bordered surface inside another):
   1. Card (.card): --surface, 1px --line, --r-lg, no shadow.
   2. Frame (.feature-media, .card-lg, mock and report frames, plan cards, .cta-band, .enq-card, .nf-answer): --r-frame.
      Only floating frames (hero mock, .enq-card, .nf-answer) get --shadow-lg.
   3. Row (.link-row in .link-rows): --r, 64px min height, icon tile, body, trailing chevron or up-right arrow.
   Plus .row-list: below 768 one bordered surface with hairline-separated rows. */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: clamp(20px, 2.4vw, 28px); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--highlight);
}
.card-lg { padding: clamp(24px, 3.2vw, 40px); border-radius: var(--r-frame); }
.card-flat { background: transparent; box-shadow: none; }
.card-muted { background: var(--bg-2); box-shadow: none; }
.card-title { font-size: 18px; line-height: 1.35; letter-spacing: -.01em; font-weight: 600; color: var(--ink); }
.card-text { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.card-meta { font-size: 13px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 8px; }
.card-icon { margin-bottom: 4px; }
a.card, .card-link { transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.card-link .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.card-link .stretched:focus-visible { outline: none; }
@media (hover: hover) {
  a.card:hover, .card-link:hover { border-color: var(--line-strong); background: var(--card); }
  :root[data-theme="light"] a.card:hover, :root[data-theme="light"] .card-link:hover { background: var(--card); box-shadow: var(--shadow-lg); }
  a.card:hover .icon-arrow, .card-link:hover .icon-arrow { transform: translateX(2px); }
}
.card .icon-arrow { transition: transform var(--t) var(--ease); }

/* Feature rows (alternating copy and visual) */
.feature-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.feature-row { display: grid; gap: clamp(28px, 4vw, 40px); align-items: center; grid-template-columns: minmax(0, 1fr); }
.feature-copy { max-width: 540px; }
.feature-copy > * + * { margin-top: 16px; }
.feature-copy h3 { font-size: var(--fs-title); line-height: 1.15; letter-spacing: -.02em; }
.feature-copy .check-list { margin-top: 24px; }
.feature-media {
  position: relative; min-width: 0; overflow: hidden; border-radius: var(--r-frame);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--highlight);
  padding: clamp(16px, 3vw, 32px);
}
@media (min-width: 1024px) {
  .feature-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .feature-row-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature-row-reverse .feature-media { order: -1; }
}

/* Check list */
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px;
  background: var(--accent); -webkit-mask: var(--m-check) center / 18px no-repeat; mask: var(--m-check) center / 18px no-repeat;
}
.check-list strong { color: var(--ink); font-weight: 500; }

/* Stat cards */
.stat-card { gap: 14px; }
.stat-num { font-size: clamp(44px, 5.4vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-num .unit { color: var(--accent); margin-left: -.02em; }
.stat-claim { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.stat-source { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.stat-source a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; text-decoration-thickness: 1px; }
@media (hover: hover) { .stat-source a:hover { color: var(--ink); text-decoration-color: currentColor; } }

/* Steps: vertical timeline on small screens, horizontal row from 1024px */
.steps { display: grid; counter-reset: step; }
.step { position: relative; padding: 0 0 36px 60px; min-width: 0; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 1px; background: linear-gradient(var(--line), var(--line-soft)); }
.step:last-child::before { display: none; }
/* One step-number style everywhere (two-digit mono, "01"). Static by default so it can sit in a row, a list
   or a .link-row; inside .step it is pinned to the timeline. */
.step-num {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--accent-text); font: 500 13px/1 var(--mono); font-variant-numeric: tabular-nums; box-shadow: var(--highlight);
}
.step > .step-num { position: absolute; left: 0; top: 0; }
.step-num-sm { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
.step-title { font-size: 18px; line-height: 1.35; letter-spacing: -.01em; padding-top: 8px; }
.step-text { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 32px; }
  .step { padding: 64px 0 0; }
  .step::before { left: 52px; right: -20px; top: 20px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line), var(--line-soft)); }
  .step-title { padding-top: 0; }
}

/* Badges, pills, chips */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: 12.5px; font-weight: 500; line-height: 1; letter-spacing: 0; white-space: nowrap;
}
.badge .icon { width: 14px; height: 14px; }
.badge-accent, .badge-new { color: var(--accent-text); background: var(--accent-soft); border-color: var(--accent-line); }
.badge-soon::before, .badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.badge-dot::before { background: currentColor; }
/* Limited-time launch pricing (Growth and add-ons, owner 2026-09-29): the product mark's gradient and sparkle, so it
   reads as a launch, not a warning. The element keeps a solid tint (so text contrast is measured on it) and ::before
   draws the hairline gradient ring with a mask. Reused by .launch-note on the pricing page. */
.launch-tag, .launch-ring { --launch-fill: color-mix(in srgb, #7281EC 9%, var(--surface)); position: relative; isolation: isolate; background: var(--launch-fill); }
.launch-tag::before, .launch-ring::before {
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit; background: var(--launch-grad); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.launch-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; border-radius: var(--r-pill);
  color: var(--ink); font-size: 12.5px; font-weight: 500; line-height: 1; letter-spacing: 0; white-space: nowrap; vertical-align: middle;
}
.launch-spark {
  flex: none; display: inline-block; width: 12px; height: 12px; background: var(--launch-grad);
  -webkit-mask: var(--m-spark) center / contain no-repeat; mask: var(--m-spark) center / contain no-repeat;
}
.launch-tag .fn-ref { margin-left: -3px; }
.badge-good { color: var(--good); border-color: color-mix(in srgb, var(--good) 35%, transparent); background: color-mix(in srgb, var(--good) 9%, transparent); }
.badge-lg { height: 28px; padding: 0 12px; font-size: 13.5px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap;
  box-shadow: var(--highlight), var(--shadow-sm);
}
.chip > .engine-logo:first-child { margin-left: 6px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Engine logos: real marks from /assets/img/engines.svg, always beside the visible engine name.
   Only the ChatGPT mark follows currentColor (ink); never recolor the others. */
.engine-logo { display: inline-block; flex: none; width: 20px; height: 20px; color: var(--ink); vertical-align: -.3em; }
.engine-logo-sm, .engine-name .engine-logo, .engine-chip-sm .engine-logo { width: 16px; height: 16px; vertical-align: -.18em; }
.engine-logo-lg { width: 28px; height: 28px; }
.engine-name { white-space: nowrap; }
.engine-name .engine-logo { margin-right: 6px; }
.engine-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.engine-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
}
.engine-chip-sm { height: 28px; gap: 6px; padding: 0 10px 0 7px; font-size: 13px; }
.engine-strip { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 20px 32px; }
.engine-strip > li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.engine-strip .engine-logo { width: 28px; height: 28px; }
.engine-strip-start { justify-content: start; }
@media (min-width: 640px) { .engine-strip { grid-template-columns: repeat(4, max-content); gap: 24px clamp(32px, 5vw, 64px); } }
@media (min-width: 1024px) { .engine-strip > li { font-size: 18px; } .engine-strip .engine-logo { width: 32px; height: 32px; } }
/* Engine row: the four engines on one line in heroes (logos beside names) */
.engine-row { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.engine-row li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.engine-row .engine-logo { width: 16px; height: 16px; flex: none; vertical-align: 0; }
/* 360 to 399: four engines need 335px with 14px gaps but only 328px is free at 360, so Claude wrapped alone */
@media (max-width: 399px) { .engine-row { column-gap: 10px; } }
@media (min-width: 768px) { .engine-row { font-size: 14px; } .engine-row .engine-logo { width: 18px; height: 18px; } }

/* Figure caption under a mock or illustration. One wording: "Illustrative data, fictional brand." */
.fig-cap { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Tabs (ARIA tabs; see site.js). .tabs.tabs-pill[data-tabs] is the only segmented control.
   Tab count: up to 4 fill the row (.tab-list-fill), 5 or 6 wrap onto at most 2 rows (.tab-list-wrap), 7 or more
   scroll (.tab-list-scroll). site.js keeps the selected tab visible by scrolling the row sideways, never the page. */
.tabs { min-width: 0; }
.tab-list { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab-list::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 10px 12px; color: var(--muted); font-size: 14.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; text-align: center; text-decoration: none; border-radius: 6px 6px 0 0;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.tab:is([aria-selected="true"], [aria-current="true"]) { color: var(--ink); border-bottom-color: var(--accent); }
@media (hover: hover) { .tab:hover { color: var(--ink); } }
/* Phones and tablets: every tab is at least 40px tall, even with a mouse (44px on touch screens) */
@media (max-width: 1023px) { .tab { min-height: 40px; } }
@media (pointer: coarse) { .tab { min-height: 44px; } }
.tabs-pill .tab-list { display: inline-flex; max-width: 100%; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.tabs-pill .tab { border: 0; margin: 0; padding: 7px 14px; border-radius: 7px; }
.tabs-pill .tab:is([aria-selected="true"], [aria-current="true"]) { background: var(--card); color: var(--ink); box-shadow: var(--highlight), 0 1px 2px rgba(0, 0, 0, .12); }
.tab-panel:focus-visible { outline-offset: 4px; border-radius: 4px; }
/* Fill: the row spans the width on phones and every tab takes an equal share; from 768 it sizes to its tabs */
.tabs-pill .tab-list-fill, .tab-list-fill { display: flex; width: 100%; }
.tab-list-fill .tab { flex: 1 1 0; min-width: 0; padding-inline: 8px; white-space: normal; }
@media (min-width: 768px) {
  .tabs-pill .tab-list-fill { display: inline-flex; width: auto; }
  .tab-list-fill .tab { flex: none; padding-inline: 14px; white-space: nowrap; }
}
/* Wrap (5 or 6 tabs): at most two rows */
.tab-list-wrap { flex-wrap: wrap; overflow-x: visible; }
.tabs-pill .tab-list-wrap { display: flex; width: 100%; }
.tabs-pill .tab-list-wrap .tab { flex: 1 1 auto; }
@media (min-width: 768px) { .tabs-pill .tab-list-wrap { display: inline-flex; width: auto; } .tabs-pill .tab-list-wrap .tab { flex: none; } }
/* Scroll (7 or more): one row that scrolls sideways, with a fade until the end */
/* No scroll snap: after site.js scrolls the row to reveal the selected tab, a snap back to a tab start could cut it off */
.tab-list-scroll { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.tab-list-scroll::-webkit-scrollbar { display: none; }
.tab-list-scroll .tab { flex: none; white-space: nowrap; }
.tab-list-scroll:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
/* Once the row has scrolled (site.js sets .is-scrolled), fade the left edge too so cut-off tabs don't end in a hard edge */
html.js .tab-list-scroll.is-scrolled:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
html.js .tab-list-scroll.is-scrolled.at-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
/* Fixed frame height: all panels share one grid cell, so switching tabs never moves the page.
   Pages set --panel-display when a panel is itself a grid or flex box. .tab-stack-md does this from 768 only. */
.js .tab-stack { display: grid; }
.js .tab-stack > [role="tabpanel"] { grid-area: 1 / 1; min-width: 0; }
.js .tab-stack > [role="tabpanel"][hidden] { display: var(--panel-display, block) !important; visibility: hidden; }
@media (min-width: 768px) {
  .js .tab-stack-md { display: grid; }
  .js .tab-stack-md > [role="tabpanel"] { grid-area: 1 / 1; min-width: 0; }
  .js .tab-stack-md > [role="tabpanel"][hidden] { display: var(--panel-display, block) !important; visibility: hidden; }
}
/* Without JavaScript every panel shows, one after another, and the tab rows (which can't work) are hidden */
html:not(.js) [role="tabpanel"][hidden] { display: var(--panel-display, block) !important; }
html:not(.js) [data-tabs] [role="tablist"] { display: none; }

/* Swipe row: below 768 the children become a horizontal scroll-snap row that bleeds to the screen edge.
   Pages set only --snap-w (card width) and, inside a padded frame, --snap-bleed (the frame padding).
   data-snap-label is required: site.js adds tabindex, role="region" and the label while the row overflows.
   Put .reveal on the row's container, never on its children. Grids for 768 and up are the page's own. */
@media (max-width: 767px) {
  .snap-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: var(--snap-w); grid-template-columns: none; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--snap-bleed, var(--gutter))); padding: 4px var(--snap-bleed, var(--gutter)) 8px;
    scroll-padding-inline: var(--snap-bleed, var(--gutter));
  }
  .snap-row::-webkit-scrollbar { display: none; }
  .snap-row > * { scroll-snap-align: start; min-width: 0; }
  .snap-row:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
}

/* Row list: below 768 one bordered surface with hairline-separated rows (children drop their own card look).
   From 768 the page's own grid takes over. */
@media (max-width: 767px) {
  .row-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--surface); overflow: hidden; }
  .row-list > * { border: 0; border-radius: 0; box-shadow: none; background: none; }
  .row-list > * + * { border-top: 1px solid var(--line-soft); }
}

/* Link rows: whole-row links with an icon tile (or .step-num), a title and a line, and a trailing chevron
   (internal) or up-right arrow (external). Used by talk to us, contact, 404 and the docs home. */
.link-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.link-row {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px 12px 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.link-row .icon-tile, .link-row .step-num { width: 36px; height: 36px; border-radius: 9px; }
.link-row .icon-tile .icon { width: 20px; height: 20px; }
.link-row-body { display: grid; gap: 1px; min-width: 0; flex: 1; }
.link-row-body strong { font-weight: 500; font-size: 15px; line-height: 1.35; }
.link-row-body span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.link-row-chev { width: 18px; height: 18px; color: var(--muted); transition: transform var(--t) var(--ease), color var(--t-fast) var(--ease); }
.link-row:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) {
  .link-row:hover { border-color: var(--accent-line); background: var(--card); }
  .link-row:hover .link-row-chev { transform: translateX(2px); color: var(--accent-text); }
  .link-row[target="_blank"]:hover .link-row-chev { transform: translate(1px, -1px); }
}

/* Disclosures. details.disclosure: an inline "show more" summary in the accent colour.
   details.disclosure.disclosure-box: a bordered full-width summary (article contents, sources); put the content
   in .disclosure-body. Q&A and error lists keep .accordion. */
details.disclosure > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none;
  color: var(--accent-text); font-size: 15px; font-weight: 500; line-height: 1.3; border-radius: 4px;
}
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::after {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--m-chevron-down) center / contain no-repeat; mask: var(--m-chevron-down) center / contain no-repeat;
  transition: transform var(--t) var(--ease);
}
details.disclosure[open] > summary::after { transform: rotate(180deg); }
@media (hover: hover) { details.disclosure > summary:hover { color: var(--accent-strong); } }
details.disclosure-box { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
details.disclosure-box > summary {
  display: flex; width: 100%; gap: 10px; min-height: 46px; padding: 0 14px;
  color: var(--ink); border-radius: var(--r-sm);
}
details.disclosure-box > summary::after { margin-left: auto; background: var(--muted); }
details.disclosure-box > summary .icon { width: 18px; height: 18px; color: var(--muted); }
@media (hover: hover) { details.disclosure-box > summary:hover { color: var(--ink); } details.disclosure-box > summary:hover::after { background: var(--ink); } }
.disclosure-body { padding: 4px 14px 14px; }

/* FAQ layout: head (h2 "Common questions", optional docs link) beside the accordion from 1024, stacked below */
.faq-layout { display: grid; gap: 24px; }
.faq-head > * + * { margin-top: 12px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Accordion (<details>) */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none;
  color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; border-radius: 4px;
}
.accordion-item > summary::-webkit-details-marker { display: none; }
.accordion-item > summary::after {
  content: ""; flex: none; width: 20px; height: 20px; background: var(--muted);
  -webkit-mask: var(--m-plus) center / contain no-repeat; mask: var(--m-plus) center / contain no-repeat;
  transition: transform var(--t) var(--ease), background-color var(--t-fast);
}
.accordion-item[open] > summary::after { transform: rotate(45deg); background: var(--ink); }
@media (hover: hover) { .accordion-item > summary:hover::after { background: var(--ink); } }
.accordion-body { padding: 0 44px 24px 0; color: var(--ink-2); }
.accordion-body > * + * { margin-top: 12px; }
@supports (interpolate-size: allow-keywords) {
  .accordion { interpolate-size: allow-keywords; }
  .accordion-item::details-content { height: 0; overflow: clip; transition: height var(--t) var(--ease), content-visibility var(--t) allow-discrete; }
  .accordion-item[open]::details-content { height: auto; }
}

/* Tables */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; font-size: 14.5px; line-height: 1.5; }
.table-wrap > .table { min-width: max(100%, 560px); }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table thead th { font-size: 13px; font-weight: 500; color: var(--muted); background: var(--bg-2); white-space: nowrap; }
.table tbody th { font-weight: 500; color: var(--ink); }
.table td { color: var(--ink-2); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.compare-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 640px; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: center; vertical-align: middle; }
.compare-table thead th { position: sticky; top: var(--header-h); z-index: 2; background: var(--bg); padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; }
.compare-table tbody th, .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; background: var(--bg); font-weight: 400; color: var(--ink-2); min-width: 180px; }
.compare-table thead th:first-child { z-index: 3; }
.compare-table .group-row th { padding-top: 32px; background: var(--bg); color: var(--ink); font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border-bottom-color: var(--line); }
.compare-table td { color: var(--ink-2); }
.compare-table .is-featured { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.yes { color: var(--accent); } .no { color: var(--faint); }
.compare-table .icon { margin-inline: auto; }
@media (min-width: 1024px) { .compare-wrap { overflow: visible; } .compare-table { min-width: 0; } }

/* Code */
code, kbd, samp, pre { font-family: var(--mono); }
:not(pre) > code {
  padding: .12em .38em; border-radius: 5px; border: 1px solid var(--line-soft); background: var(--card-2);
  color: var(--ink); font-size: .86em; overflow-wrap: break-word;
}
:root[data-theme="dark"] :not(pre) > code { background: var(--surface); border-color: var(--line); }
.code-block { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--code-bg); overflow: hidden; box-shadow: var(--highlight); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 6px 0 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.code-lang { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code-title { color: var(--ink-2); }
.copy-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; flex: none;
  border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 13px; font-weight: 500;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.copy-btn .icon { width: 16px; height: 16px; }
.copy-btn.is-copied { color: var(--good); }
@media (hover: hover) { .copy-btn:hover { background: var(--hover); color: var(--ink); } .copy-btn.is-copied:hover { color: var(--good); } }
@media (pointer: coarse) { .copy-btn::after { content: ""; position: absolute; inset: -7px 0; } }
.code-block pre { position: relative; margin: 0; padding: 16px 20px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; color: var(--ink); tab-size: 2; -webkit-overflow-scrolling: touch; }
.code-block pre code { font-size: inherit; }
.code-block-bare .copy-btn { position: absolute; top: 8px; right: 8px; z-index: 1; background: var(--surface); box-shadow: 0 0 0 1px var(--line-soft), -16px 0 16px 4px var(--code-bg); }
.code-block-bare pre { padding-right: 88px; }
.code-wrap pre { white-space: pre-wrap; overflow-wrap: anywhere; }
/* Phones: code wraps instead of scrolling sideways (Copy still copies the original text). Blocks whose layout
   matters (tables of aligned columns, long one-line commands) opt out with .code-scroll. */
@media (max-width: 767px) {
  .code-block:not(.code-scroll) pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .code-block:not(.code-scroll) pre.is-scrollx { -webkit-mask-image: none; mask-image: none; }
  /* .t-hang: a value on its own continuation line keeps its indent when it wraps (no run back to column 0) */
  .code-block:not(.code-scroll) pre .t-hang { display: inline-block; vertical-align: top; max-width: calc(100% - 2ch); }
  /* .t-url: a long URL on its own line breaks inside itself instead of leaving an empty indent line above it */
  .code-block:not(.code-scroll) pre .t-url { word-break: break-all; }
}
/* site.js marks code that scrolls sideways; the fade says there's more until the end is reached */
.code-block pre.is-scrollx:not(.is-end) { -webkit-mask-image: linear-gradient(to left, transparent, #000 44px); mask-image: linear-gradient(to left, transparent, #000 44px); }
@media (max-width: 639px) { .code-lang { white-space: normal; line-height: 1.35; padding-block: 8px; } }
.t-k { color: var(--tok-key); } .t-s { color: var(--tok-str); } .t-n { color: var(--tok-num); } .t-f { color: var(--tok-fn); } .t-c { color: var(--tok-com); font-style: italic; } .t-p { color: var(--tok-punc); }
.t-prompt { color: var(--muted); user-select: none; -webkit-user-select: none; }

/* Callouts: note, tip, important, caution */
.callout {
  --c: var(--note);
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 16px 20px 16px 16px;
  border: 1px solid var(--line); border-left: 2px solid var(--c); border-radius: 4px var(--r) var(--r) 4px;
  background: var(--surface); background: color-mix(in srgb, var(--c) 6%, var(--surface));
  color: var(--ink-2); font-size: 15px; line-height: 1.6;
}
.callout > .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--c); }
.callout-title { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.callout-body > * + * { margin-top: 8px; }
.callout-tip { --c: var(--tip); }
/* Links on a tinted callout need the stronger accent to keep 4.5:1 */
.callout a:not([class]) { color: var(--accent-text); }
.callout-important { --c: var(--important); }
.callout-caution { --c: var(--caution); }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13.5px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.breadcrumbs li + li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--faint); -webkit-mask: var(--m-chevron-right) center / contain no-repeat; mask: var(--m-chevron-right) center / contain no-repeat; }
.breadcrumbs a { color: var(--muted); transition: color var(--t-fast); border-radius: 3px; }
.breadcrumbs [aria-current="page"] { color: var(--ink-2); }
@media (hover: hover) { .breadcrumbs a:hover { color: var(--ink); } }

/* Toast */
.toast-region { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 200; display: grid; justify-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); animation: toast-in var(--t) var(--ease) both; }
.toast .icon { width: 16px; height: 16px; }
.toast.is-leaving { animation: toast-out var(--t-fast) ease-in both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(4px); } }

/* 9. Forms ------------------------------------------------------------------------------------ */
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.label { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.req { color: var(--accent); margin-left: 2px; }
.optional { color: var(--muted); font-weight: 400; }
.hint { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.input, .select, .textarea {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--input-line); border-radius: var(--r-sm); background: var(--input-bg); color: var(--ink);
  font-size: 16px; line-height: 1.4; outline: 2px solid transparent; outline-offset: 1px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
@media (hover: hover) { .input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); } }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible, .input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent) inset; outline-color: transparent; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.input[aria-invalid="true"]:focus, .select[aria-invalid="true"]:focus, .textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 18%, transparent), 0 0 0 1px var(--error) inset; }
.input:disabled, .select:disabled, .textarea:disabled { opacity: .55; cursor: not-allowed; }
.textarea { min-height: 140px; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; background: var(--muted); pointer-events: none; -webkit-mask: var(--m-chevron-down) center / contain no-repeat; mask: var(--m-chevron-down) center / contain no-repeat; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select option { background: var(--card); color: var(--ink); }
.field-error { display: flex; align-items: flex-start; gap: 6px; color: var(--error); font-size: 13.5px; line-height: 1.45; font-weight: 500; }
.field-error:empty { display: none; }
.field-error::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75'%3E%3Ccircle cx='12' cy='12' r='8.75'/%3E%3Cpath d='M12 7.5v5.5M12 15.5v1.25' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75'%3E%3Ccircle cx='12' cy='12' r='8.75'/%3E%3Cpath d='M12 7.5v5.5M12 15.5v1.25' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat; }
.check { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--input-line); border-radius: 5px; background: var(--input-bg); cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.check input::after { content: ""; width: 14px; height: 14px; background: var(--accent-ink); opacity: 0; -webkit-mask: var(--m-check) center / contain no-repeat; mask: var(--m-check) center / contain no-repeat; }
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]::after { width: 8px; height: 8px; border-radius: 50%; -webkit-mask: none; mask: none; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--error); }
.check a:not([class]) { color: var(--accent); }
.error-summary {
  padding: 16px 20px; border: 1px solid var(--error); border-left-width: 3px; border-radius: 4px var(--r-sm) var(--r-sm) 4px;
  background: var(--surface); background: color-mix(in srgb, var(--error) 7%, var(--surface)); color: var(--ink-2); font-size: 14.5px;
}
.error-summary:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.error-summary-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -.005em; }
.error-summary ul { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.error-summary a { color: var(--error); text-decoration: underline; text-underline-offset: .2em; font-weight: 500; }

/* Analyze-brand form (behaviour: form[data-analyze-form] in site.js) */
.analyze-form { display: grid; gap: 10px; width: 100%; max-width: 560px; }
.analyze-row { display: grid; gap: 10px; }
.analyze-input { position: relative; min-width: 0; }
.analyze-input > .icon { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.analyze-input .input { min-height: 52px; padding-left: 44px; }
.analyze-form .btn { min-height: 52px; }
.analyze-form .hint { font-size: 13px; }
.analyze-form-center { margin-inline: auto; text-align: left; }
@media (min-width: 480px) { .analyze-row { grid-template-columns: minmax(0, 1fr) auto; } }

/* 10. Docs ------------------------------------------------------------------------------------ */
.docs-layout { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
.docs-main { min-width: 0; padding-bottom: clamp(64px, 8vw, 104px); }
.docs-article { max-width: 72ch; }
.docs-sidebar { display: grid; gap: 12px; margin-bottom: 28px; min-width: 0; }
.docs-menu-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; text-align: left;
}
.docs-menu-btn .icon { width: 18px; height: 18px; color: var(--muted); }
.docs-menu-current { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.docs-menu-btn .icon-chev { transition: transform var(--t) var(--ease); }
.docs-menu-btn[aria-expanded="true"] .icon-chev { transform: rotate(180deg); }
html:not(.js) .docs-menu-btn { display: none; }
.docs-nav { display: none; padding: 16px 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.docs-sidebar.is-open .docs-nav, html:not(.js) .docs-nav { display: block; }
.docs-nav-group + .docs-nav-group { margin-top: 20px; }
.docs-nav-title { padding: 0 12px; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.docs-nav-list { display: grid; gap: 1px; }
.docs-nav-link { display: flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14.5px; line-height: 1.35; transition: color var(--t-fast), background-color var(--t-fast); }
.docs-nav-link.is-active { background: var(--accent-soft); color: var(--accent-text); font-weight: 500; }
@media (hover: hover) { .docs-nav-link:hover { background: var(--hover); color: var(--ink); } .docs-nav-link.is-active:hover { background: var(--accent-soft); color: var(--accent-text); } }
@media (pointer: coarse) { .docs-nav-link { min-height: 44px; } }
.docs-toc-rail { display: none; }
.toc-disclosure { margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.toc-disclosure > summary { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink); border-radius: var(--r-sm); }
.toc-disclosure > summary::-webkit-details-marker { display: none; }
.toc-disclosure > summary::after { content: ""; margin-left: auto; width: 18px; height: 18px; background: var(--muted); -webkit-mask: var(--m-chevron-down) center / contain no-repeat; mask: var(--m-chevron-down) center / contain no-repeat; transition: transform var(--t) var(--ease); }
.toc-disclosure[open] > summary::after { transform: rotate(180deg); }
.toc-disclosure > summary .icon { width: 18px; height: 18px; color: var(--muted); }
.toc-disclosure .toc { padding: 4px 14px 14px; }
.toc-title { margin-bottom: 12px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { border-left: 1px solid var(--line); }
.toc ol ol { border-left: 0; }
.toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 1px solid transparent; color: var(--muted); font-size: 13.5px; line-height: 1.45; transition: color var(--t-fast), border-color var(--t-fast); }
.toc ol ol a { padding-left: 26px; }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
@media (hover: hover) { .toc a:hover { color: var(--ink); } }
@media (pointer: coarse) { .toc-disclosure .toc a { padding-block: 10px; } }
.docs-header { margin-bottom: 36px; }
.docs-header .breadcrumbs { margin-bottom: 20px; }
.docs-header h1 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.028em; }
.docs-header .lead { margin-top: 14px; }
.docs-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
.docs-meta span { display: inline-flex; align-items: center; gap: 6px; }
.docs-meta .icon { width: 16px; height: 16px; }
.docs-pager { display: grid; gap: 12px; margin-top: 56px; }
.docs-pager-link { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
.docs-pager-dir { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.docs-pager-dir .icon { width: 16px; height: 16px; }
.docs-pager-title { font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.docs-pager-next { text-align: right; align-items: flex-end; }
@media (hover: hover) { .docs-pager-link:hover { border-color: var(--accent-line); background: var(--card); } }
@media (min-width: 640px) { .docs-pager { grid-template-columns: repeat(2, minmax(0, 1fr)); } .docs-pager-next { grid-column: 2; } }
.docs-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.docs-foot a:not([class]) { color: var(--ink-2); }
.docs-foot .icon { width: 18px; height: 18px; }
.docs-helpful { display: inline-flex; align-items: center; gap: 8px; }

/* Docs search (behaviour: [data-docs-search] in site.js) */
.docs-search { position: relative; min-width: 0; }
.search-field { position: relative; }
.search-field > .icon { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-input {
  display: block; width: 100%; height: 44px; padding: 0 44px 0 40px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--input-bg); color: var(--ink); font-size: 16px; outline: 2px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-input::placeholder { color: var(--muted); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (hover: hover) { .search-input:hover { border-color: var(--line-strong); } .search-input:focus { border-color: var(--accent); } }
.search-kbd { position: absolute; right: 10px; top: 50%; translate: 0 -50%; pointer-events: none; }
.search-input:focus ~ .search-kbd, .search-input:not(:placeholder-shown) ~ .search-kbd { display: none; }
@media (pointer: coarse) { .search-kbd { display: none; } }
.docs-search-lg .search-input { height: 56px; font-size: 17px; padding-left: 48px; border-radius: var(--r); }
.docs-search-lg .search-field > .icon { left: 16px; width: 20px; height: 20px; }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: min(440px, 62vh); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-lg);
}
.search-result { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink-2); scroll-margin: 6px; }
.search-result[aria-selected="true"] { background: var(--hover); box-shadow: inset 2px 0 0 var(--accent); }
@media (hover: hover) { .search-result:hover { background: var(--hover); } }
.search-result-title { display: block; color: var(--ink); font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.search-result-path { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.search-result-snippet { display: -webkit-box; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-empty { padding: 12px; font-size: 14px; color: var(--muted); }
mark { background: var(--accent-soft); color: var(--ink); border-radius: 3px; padding: 0 1px; box-shadow: inset 0 -1px 0 var(--accent-line); }

@media (min-width: 1024px) {
  .docs-layout { grid-template-columns: 240px minmax(0, 1fr); column-gap: clamp(40px, 4vw, 64px); padding-top: 40px; }
  .docs-sidebar {
    position: sticky; top: calc(var(--header-h) + 24px); z-index: 30; align-self: start; display: flex; flex-direction: column; gap: 20px;
    max-height: calc(100vh - var(--header-h) - 48px); margin: 0;
  }
  .docs-menu-btn { display: none; }
  .docs-nav, html:not(.js) .docs-nav { display: block; flex: 1; min-height: 0; overflow-y: auto; padding: 0 8px 24px 0; margin-left: -12px; border: 0; border-radius: 0; background: none; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .docs-sidebar .search-results { right: auto; width: 400px; }
  .docs-search .search-input { height: 40px; font-size: 14.5px; }
  .docs-search-lg .search-input { height: 56px; font-size: 17px; }
}
/* Docs "On this page" bar (built by site.js below 1200px once the TOC disclosure scrolls away) */
.docs-jump {
  position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 45; height: 44px;
  background: var(--bg); border-bottom: 1px solid var(--line-soft);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.docs-jump.is-shown { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s; }
.docs-jump-inner { height: 100%; }
.docs-jump-btn {
  display: flex; align-items: center; gap: 8px; width: calc(100% + 16px); height: 100%; margin-inline: -8px; padding: 0 8px; border: 0; background: none;
  color: var(--ink); font-size: 14px; text-align: left; min-width: 0;
}
.docs-jump-btn .icon { flex: none; width: 18px; height: 18px; color: var(--muted); }
.docs-jump-btn:focus-visible { outline-offset: -4px; border-radius: 8px; }
.docs-jump-k { flex: none; color: var(--muted); }
.docs-jump-cur { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.docs-jump-btn .icon-chev { transition: transform var(--t) var(--ease); }
.docs-jump.is-open .icon-chev { transform: rotate(180deg); }
.docs-jump-panel {
  position: absolute; left: 0; right: 0; top: 100%; max-height: min(420px, 62vh); overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 0 14px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.docs-jump-panel .toc a { font-size: 14.5px; padding-block: 10px; }
@media (max-width: 359px) { .docs-jump-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 1199px) { html.has-docs-jump { scroll-padding-top: calc(var(--header-h) + 68px); } }
@media (min-width: 1024px) and (max-width: 1199px) { html.docs-jump-on .docs-sidebar { top: calc(var(--header-h) + 68px); max-height: calc(100vh - var(--header-h) - 92px); } }
@media (min-width: 1200px) { .docs-jump { display: none; } }

@media (min-width: 1200px) {
  .docs-layout { grid-template-columns: 232px minmax(0, 1fr) 200px; }
  .docs-toc-rail { display: block; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; scrollbar-width: none; padding-bottom: 24px; }
  .toc-disclosure { display: none; }
}
@media (min-width: 1440px) { .docs-layout { grid-template-columns: 256px minmax(0, 1fr) 220px; } }

/* 11. Prose and article ----------------------------------------------------------------------- */
.prose { color: var(--ink-2); font-size: 16px; line-height: 1.7; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { margin-top: 2.2em; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.022em; }
.prose > h3 { margin-top: 1.9em; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.3; letter-spacing: -.012em; }
.prose > h4 { margin-top: 1.7em; font-size: 16.5px; line-height: 1.4; }
.prose > h2 + *, .prose > h3 + *, .prose > h4 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--ink); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.35em; }
.prose li + li { margin-top: .45em; }
.prose li > ul, .prose li > ol { margin-top: .45em; }
.prose ul:not([class]) > li::marker { color: var(--accent); }
.prose ol:not([class]) > li::marker { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.prose blockquote:not([class]) { padding-left: 20px; border-left: 2px solid var(--line-strong); color: var(--ink-2); }
.prose hr { margin-block: 2.4em; }
.prose img, .prose video { border-radius: var(--r); border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.prose > .code-block, .prose > .callout, .prose > .table-wrap, .prose > .tabs, .prose > figure, .prose > .card, .prose > .grid-2, .prose > .steps { margin-top: 1.6em; }
.prose > .code-block + *, .prose > .callout + *, .prose > .table-wrap + *, .prose > .tabs + * { margin-top: 1.6em; }
.prose dl { display: grid; gap: 4px 0; }
.prose dt { color: var(--ink); font-weight: 600; margin-top: .8em; }
.prose dd { margin: 0; }
@media (min-width: 1024px) { .prose { font-size: 17px; } }
.prose-lg { font-size: 17px; line-height: 1.72; }
@media (min-width: 1024px) { .prose-lg { font-size: 18px; } }
.measure { max-width: 68ch; }

.article { padding-block: clamp(24px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.article-column { max-width: calc(720px + 2 * var(--gutter)); }
.article-header > * + * { margin-top: 18px; }
.article-header h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
.article-header .lead { font-size: clamp(18px, 1.6vw, 21px); }
.article-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.article-kicker a.eyebrow { transition: color var(--t-fast); }
@media (hover: hover) { .article-kicker a.eyebrow:hover { color: var(--accent-strong); } }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; padding-block: 20px; border-block: 1px solid var(--line-soft); }
.byline-person { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; }
.avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.byline-name { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; }
a.byline-name { display: inline-block; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; transition: text-decoration-color var(--t-fast); }
@media (hover: hover) { a.byline-name:hover { text-decoration-color: currentColor; } }
.byline-role { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.byline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; color: var(--muted); }
.byline-person .byline-meta { margin-top: 2px; font-size: 13px; }
.byline-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.article-body { margin-top: clamp(32px, 4vw, 48px); }
.pull-quote {
  margin-block: 1.8em; padding: 2px 0 2px 24px; border-left: 2px solid var(--accent);
  color: var(--ink); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.38; font-weight: 500; letter-spacing: -.018em; text-wrap: balance;
}
.prose > .pull-quote { margin-top: 1.8em; }
.prose > .pull-quote + * { margin-top: 1.8em; }
.pull-quote p { margin: 0; }
.pull-quote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.sources { margin-top: clamp(48px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-soft); }
.sources h2 { font-size: 18px; letter-spacing: -.01em; }
.sources ol { margin: 16px 0 0; padding-left: 1.4em; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.sources li::marker { color: var(--faint); font-variant-numeric: tabular-nums; }
.sources a:not([class]) { color: var(--ink-2); text-decoration-color: var(--line-strong); overflow-wrap: anywhere; }
@media (hover: hover) { .sources a:not([class]):hover { color: var(--ink); } }
.related { margin-top: clamp(56px, 7vw, 88px); }
.related-title { font-size: 20px; letter-spacing: -.015em; margin-bottom: 20px; }
.article-cta { margin-top: clamp(40px, 5vw, 56px); }

/* 12. Bands, CTA and gradients ---------------------------------------------------------------- */
/* Gradient fills. Use only at high-impact moments (hero glow, final CTA, one stat band). Never on text or logos. */
.grad-chroma { background: linear-gradient(180deg, var(--chroma-stops)); }
.grad-prism { background: linear-gradient(180deg, var(--prism-stops)); }
.grad-aura { background: linear-gradient(180deg, var(--aura-stops)); }
.grad-tide { background: linear-gradient(180deg, var(--tide-stops)); }
/* Hero glow: place <div class="hero-glow" aria-hidden="true"></div> as the first child of a positioned hero */
.hero-glow { position: absolute; inset: calc(-1 * var(--header-h)) 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-glow::before {
  content: ""; position: absolute; left: 50%; top: calc(-1 * clamp(120px, 16vw, 260px)); translate: -50% 0;
  width: min(1320px, 180vw); height: clamp(420px, 52vw, 760px);
  background: linear-gradient(180deg, var(--chroma-stops)); opacity: var(--glow-opacity);
  -webkit-mask: radial-gradient(closest-side, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .42) 50%, transparent 100%); mask: radial-gradient(closest-side, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .42) 50%, transparent 100%);
}
.hero-glow-prism::before { background: linear-gradient(180deg, var(--prism-stops)); }
.hero-glow-right::before { left: 72%; }
/* CTA band (final CTA on marketing pages). At most 440px tall at 375: an h2 of 6 words or fewer, one line of copy,
   one primary btn-lg (or the Analyze form) and one text link. */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(32px, 6vw, 80px) clamp(20px, 5vw, 72px);
  border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--surface); box-shadow: var(--highlight);
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; bottom: -70%; z-index: -1; translate: -50% 0;
  width: 120%; height: 130%;
  background: linear-gradient(0deg, var(--chroma-stops)); opacity: calc(var(--glow-opacity) * .8);
  -webkit-mask: radial-gradient(closest-side, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .4) 55%, transparent 100%); mask: radial-gradient(closest-side, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .4) 55%, transparent 100%);
}
.cta-band-prism::before { background: linear-gradient(0deg, var(--prism-stops)); }
.cta-band > * + * { margin-top: 12px; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { max-width: 56ch; margin-inline: auto; }
.cta-band .actions { justify-content: center; margin-top: 24px; }
.cta-band .analyze-form { margin: 24px auto 0; }
/* The follow-up links under the action: one row of .btn-link ("Or talk to us", optionally "Ask on Discord"); 44px targets on touch and small screens */
.cta-band-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
.cta-band > .cta-band-links { margin-top: 8px; }
.cta-band-links .btn-link { min-height: 32px; }
@media (pointer: coarse), (max-width: 1023px) { .cta-band-links .btn-link { min-height: 44px; } }
@media (max-width: 479px) { .cta-band .actions-stack-xs { align-items: stretch; } }
.cta-band-left { text-align: left; }
.cta-band-left h2, .cta-band-left .lead { margin-inline: 0; }
.cta-band-left .actions { justify-content: flex-start; }
/* Compact CTA box (articles, docs) */
.cta-box { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--highlight), var(--shadow); }
.cta-box::before { content: ""; position: absolute; right: -20%; top: -60%; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, var(--prism-stops)); opacity: calc(var(--glow-opacity) * .7); -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }
.cta-box h2, .cta-box h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.cta-box p { color: var(--ink-2); max-width: 52ch; }
.cta-box > div > * + * { margin-top: 8px; }
@media (min-width: 768px) { .cta-box-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; } }
/* Subtle full-bleed band (for a statement or stat band) */
.band { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--line-soft); }
.band-chroma::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(176, 247, 186, .09), rgba(137, 156, 250, .09) 50%, rgba(172, 117, 255, .1)); }
:root[data-theme="light"] .band-chroma::before { background: linear-gradient(90deg, rgba(176, 247, 186, .28), rgba(137, 156, 250, .16) 50%, rgba(172, 117, 255, .14)); }

/* 13. Motion ---------------------------------------------------------------------------------- */
/* Content is visible by default. site.js adds html.reveal-ready only when it can animate, and never hides revealed content again. */
html.reveal-ready .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
html.reveal-ready .reveal:not(.is-revealed) { opacity: 0; transform: translate3d(0, 16px, 0); }
.reveal-stagger > .reveal:nth-child(2) { --reveal-delay: 70ms; }
.reveal-stagger > .reveal:nth-child(3) { --reveal-delay: 140ms; }
.reveal-stagger > .reveal:nth-child(4) { --reveal-delay: 210ms; }
.reveal-stagger > .reveal:nth-child(5) { --reveal-delay: 280ms; }
.reveal-stagger > .reveal:nth-child(n+6) { --reveal-delay: 350ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.reveal-ready .reveal:not(.is-revealed) { opacity: 1; transform: none; }
}

/* 14. Utilities ------------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--line-soft); border: 0; }
.ext-icon { display: inline-block; width: .9em; height: .9em; margin-left: .15em; vertical-align: -.08em; background: currentColor; -webkit-mask: var(--m-external) center / contain no-repeat; mask: var(--m-external) center / contain no-repeat; opacity: .75; }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .only-mobile { display: none !important; } }
@media (max-width: 1023px) { .hide-below-lg { display: none !important; } }
@media (min-width: 1024px) { .only-below-lg { display: none !important; } }
/* Touch widths: small text links get a taller hit area without moving anything (WCAG 2.5.8) */
@media (max-width: 820px) {
  a.byline-name, .breadcrumbs a, .article-kicker a.eyebrow { padding-block: 10px; margin-block: -10px; }
  .fn-ref { padding: 8px 4px; margin: -8px -4px; }
}

/* 15. Print ----------------------------------------------------------------------------------- */
@media print {
  .announce, .site-header, .menu-sheet, .site-footer .social, .docs-sidebar, .docs-toc-rail, .toc-disclosure, .copy-btn, .toast-region, .skip-link, .docs-jump { display: none !important; }
  body { background: #fff; color: #1A1919; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a:not([class])::after { content: " (" attr(href) ")"; font-size: .85em; color: #626160; }
}
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html:not(.js) .announce-close, html:not(.js) .search-kbd, html:not(.js) [data-copy], html:not(.js) [data-copy-link] { display: none; }
