/* ==========================================================================
   okrgoal.com styles
   1. Tokens          2. Base             3. Layout          4. Header
   5. Footer          6. Buttons, chips   7. Sections        8. Cards, grids
   9. Interactive parts (tabs, switches, code, FAQ, timeline, tables, forms)
   10. Product mocks (window, app, agent messages, chat, nodes)
   11. Home           12. Pricing         13. Motion and utilities
   Colours are tokens. Never hard-code a colour in a page: add a token here.
   ========================================================================== */

/* -------------------------------------------------------------- 1. Tokens */
:root {
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;

  /* Light. The brand is OKR Institute's: blue #3a80ed (light #5394f7, dark #2466c9) leads,
     green #27a959 (light #32c46a, dark #1e8e48) follows. Fills that carry white text use the dark shades. */
  color-scheme: light;
  --bg: #fafbfc;
  --bg-2: #f2f4f8;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --inset: #ebeef3;
  --line: rgba(20, 34, 56, .09);
  --line-2: rgba(20, 34, 56, .16);
  --text: #0c121b;
  --text-2: #414b5b;
  --text-3: #667081;
  --brand: #2466c9;
  --brand-ink: #3a80ed;
  --brand-2: #27a959;
  --brand-2-ink: #27a959;
  --accent-soft: rgba(58, 128, 237, .09);
  --accent-line: rgba(58, 128, 237, .24);
  --teal-soft: rgba(39, 169, 89, .1);
  --teal-line: rgba(39, 169, 89, .28);
  --ok: #1e8e48; --ok-soft: rgba(30, 142, 72, .11);
  --warn: #b86e00; --warn-soft: rgba(230, 150, 20, .14);
  --bad: #d23655; --bad-soft: rgba(210, 54, 85, .1);
  --brand-glow: rgba(58, 128, 237, .42);
  --glow-1: rgba(58, 128, 237, .20);
  --glow-2: rgba(39, 169, 89, .14);
  --glow-3: rgba(83, 148, 247, .14);
  --grid-line: rgba(20, 34, 56, .055);
  /* Green to blue is for borders and lines only. Buttons and pills take blue, text and hovers take green. */
  --grad: linear-gradient(100deg, #32c46a 0%, #3a80ed 50%, #2466c9 100%);
  --grad-blue: linear-gradient(135deg, #5394f7 0%, #2466c9 100%);
  --grad-green: linear-gradient(135deg, #32c46a 0%, #1e8e48 100%);
  --grad-text: var(--grad-green);
  --code-bg: #10161f;
  --code-bar: #172130;
  --code-text: #e5ebf5;
  --code-dim: #8996ab;
  --code-line: rgba(255, 255, 255, .08);
  --announce-bg: linear-gradient(90deg, rgba(83, 148, 247, .08), rgba(36, 102, 201, .08));
  --shadow-sm: 0 1px 2px rgba(16, 29, 50, .06);
  --shadow-md: 0 6px 18px -6px rgba(16, 29, 50, .12), 0 2px 4px rgba(16, 29, 50, .04);
  --shadow-lg: 0 24px 48px -16px rgba(16, 29, 50, .2), 0 4px 12px rgba(16, 29, 50, .05);
  --shadow-xl: 0 50px 100px -30px rgba(30, 73, 140, .32), 0 10px 30px -10px rgba(16, 29, 50, .12);
  --wa-bg: #efeae2; --wa-bar: #f0f2f5; --wa-in: #ffffff; --wa-out: #d9fdd3; --wa-text: #111b21; --wa-meta: #667781;
}

/* Dark, once for the system setting and once for an explicit choice */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #06090d; --bg-2: #0a0e14; --surface: #0e1219; --surface-2: #13181f; --inset: #191f28;
    --line: rgba(255, 255, 255, .075); --line-2: rgba(255, 255, 255, .14);
    --text: #f2f5fa; --text-2: #abb5c4; --text-3: #8893a3;
    --brand: #3a80ed; --brand-ink: #5394f7; --brand-2: #27a959; --brand-2-ink: #32c46a;
    --accent-soft: rgba(58, 128, 237, .12); --accent-line: rgba(58, 128, 237, .3);
    --teal-soft: rgba(50, 196, 106, .1); --teal-line: rgba(50, 196, 106, .3);
    --ok: #32c46a; --ok-soft: rgba(50, 196, 106, .12);
    --warn: #fbbf3c; --warn-soft: rgba(251, 191, 60, .12);
    --bad: #ff6b85; --bad-soft: rgba(255, 107, 133, .12);
    --brand-glow: rgba(58, 128, 237, .55);
    --glow-1: rgba(58, 128, 237, .34); --glow-2: rgba(50, 196, 106, .16); --glow-3: rgba(83, 148, 247, .2);
    --grid-line: rgba(255, 255, 255, .045);
    --code-bg: #0a0e14; --code-bar: #10161f;
    --announce-bg: linear-gradient(90deg, rgba(83, 148, 247, .14), rgba(36, 102, 201, .14));
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02);
    --shadow-xl: 0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(58, 128, 237, .25);
    --wa-bg: #0b141a; --wa-bar: #202c33; --wa-in: #202c33; --wa-out: #005c4b; --wa-text: #e9edef; --wa-meta: #8696a0;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06090d; --bg-2: #0a0e14; --surface: #0e1219; --surface-2: #13181f; --inset: #191f28;
  --line: rgba(255, 255, 255, .075); --line-2: rgba(255, 255, 255, .14);
  --text: #f2f5fa; --text-2: #abb5c4; --text-3: #8893a3;
  --brand: #3a80ed; --brand-ink: #5394f7; --brand-2: #27a959; --brand-2-ink: #32c46a;
  --accent-soft: rgba(58, 128, 237, .12); --accent-line: rgba(58, 128, 237, .3);
  --teal-soft: rgba(50, 196, 106, .1); --teal-line: rgba(50, 196, 106, .3);
  --ok: #32c46a; --ok-soft: rgba(50, 196, 106, .12);
  --warn: #fbbf3c; --warn-soft: rgba(251, 191, 60, .12);
  --bad: #ff6b85; --bad-soft: rgba(255, 107, 133, .12);
  --brand-glow: rgba(58, 128, 237, .55);
  --glow-1: rgba(58, 128, 237, .34); --glow-2: rgba(50, 196, 106, .16); --glow-3: rgba(83, 148, 247, .2);
  --grid-line: rgba(255, 255, 255, .045);
  --code-bg: #0a0e14; --code-bar: #10161f;
  --announce-bg: linear-gradient(90deg, rgba(83, 148, 247, .14), rgba(36, 102, 201, .14));
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02);
  --shadow-xl: 0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(58, 128, 237, .25);
  --wa-bg: #0b141a; --wa-bar: #202c33; --wa-in: #202c33; --wa-out: #005c4b; --wa-text: #e9edef; --wa-meta: #8696a0;
}

/* ---------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
html.menu-open { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a:not([class]), .checklist a:not([class]), .faq-a a:not([class]), td a:not([class]), .prose a { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; transition: text-decoration-color .2s; }
p a:not([class]):hover, .checklist a:not([class]):hover, .faq-a a:not([class]):hover, td a:not([class]):hover, .prose a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem); line-height: 1.06; letter-spacing: -.035em; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.015em; }
h4 { font-size: 1rem; line-height: 1.4; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--text); }
code, kbd, pre { font-family: var(--mono); font-size: .9em; }
:not(pre) > code { padding: .12em .4em; border-radius: 6px; background: var(--inset); border: 1px solid var(--line); font-size: .85em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r); background: var(--brand); color: #fff; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* -------------------------------------------------------------- 3. Layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(860px + var(--gutter) * 2); }
.container.wide { max-width: calc(1360px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section + .section:not(.alt):not(.cta-band)::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(var(--container), calc(100% - var(--gutter) * 2)); height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.section.no-rule::before { display: none; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 + .lede, .section-head h2 + p { margin-top: 20px; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--s, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row.center { justify-content: center; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) {
  .split, .split.wide-left, .split.wide-right { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
}

/* Decorative backgrounds */
.bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.bg-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-glow::before, .bg-glow::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .9; animation: drift 22s ease-in-out infinite alternate; }
.bg-glow::before { top: -38vmax; left: 50%; translate: -70% 0; background: radial-gradient(circle, var(--glow-1), transparent 62%); }
.bg-glow::after { top: -30vmax; left: 50%; translate: -10% 0; background: radial-gradient(circle, var(--glow-2), transparent 62%); animation-delay: -11s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }

/* -------------------------------------------------------------- 4. Header */
site-header, site-footer { display: contents; }
.announce { position: relative; z-index: 61; background: var(--announce-bg); border-bottom: 1px solid var(--line); font-size: .875rem; transition: opacity .3s, margin .3s; }
.announce.is-leaving { opacity: 0; margin-top: -42px; }
.announce-inner { display: flex; align-items: center; justify-content: center; min-height: 42px; padding-block: 8px; padding-right: 48px; }
.announce-link { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 10px; color: var(--text-2); text-align: center; }
.announce-link strong { color: var(--text); font-weight: 600; }
.announce-tag { padding: 2px 8px; border-radius: 999px; background: var(--grad-blue); color: #fff; font: 600 .6875rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.announce-cta { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-ink); font-weight: 500; }
.announce-cta .i { transition: transform .2s var(--ease); }
.announce-link:hover .announce-cta .i { transform: translateX(3px); }
.announce-close { position: absolute; right: max(var(--gutter), 12px); top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--text-3); cursor: pointer; }
.announce-close:hover { background: var(--surface-2); color: var(--text); }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 76%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.logo { display: block; width: auto; height: 22px; }
.logo-ripple { height: calc(22px * 130.54 / 86.1); } /* room above and below for the rings, letters the same size */
[data-theme="light"] .logo-dark, [data-theme="dark"] .logo-light { display: none; }
.nav { flex: 1; display: flex; }
.nav-list { position: relative; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 13px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: .9375rem; font-weight: 450; cursor: pointer; transition: color .2s; }
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link[aria-current="page"], .nav-link.is-current { color: var(--text); }
.nav-link .i { width: 14px; height: 14px; opacity: .6; transition: transform .25s var(--ease); }
.nav-item.is-open > .nav-link .i { transform: rotate(180deg); }
.nav-pill { position: absolute; top: 0; left: 0; z-index: 0; width: 0; height: 36px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; }
.nav-pill.is-on { opacity: 1; }

.mega { position: absolute; top: calc(100% + 12px); left: -8px; z-index: 70; padding: 8px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 20% 0; transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
.mega-grid { display: flex; gap: 4px; }
.mega-col { width: 300px; padding: 6px; }
.mega-resources .mega-col, .mega-solutions .mega-col { width: 320px; }
.mega-title { padding: 8px 12px 6px; font: 500 .6875rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.mega-link { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: background-color .15s; }
.mega-link:hover, .mega-link:focus-visible, .mega-link[aria-current="page"] { background: var(--surface-2); }
.mega-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text-2); transition: color .2s, border-color .2s, background .2s; }
.mega-link:hover .mega-ico { color: var(--brand-ink); border-color: var(--accent-line); background: var(--accent-soft); }
.mega-ico .i { width: 17px; height: 17px; }
.mega-label { display: flex; align-items: center; gap: 4px; font-size: .9375rem; font-weight: 550; color: var(--text); line-height: 1.3; }
.mega-label .ext { width: 13px; height: 13px; color: var(--text-3); }
.mega-desc { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.4; color: var(--text-3); }
.mega-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; width: 230px; padding: 18px; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--accent-soft), transparent); border: 1px solid var(--accent-line); }
.mega-card-art { position: absolute; inset: 0; }
.mega-card-art i { position: absolute; border: 1px solid var(--accent-line); border-radius: 50%; left: 70%; top: 32%; translate: -50% -50%; animation: ring-pulse 4s var(--ease) infinite; }
.mega-card-art i:nth-child(1) { width: 60px; height: 60px; }
.mega-card-art i:nth-child(2) { width: 120px; height: 120px; animation-delay: .6s; }
.mega-card-art i:nth-child(3) { width: 190px; height: 190px; animation-delay: 1.2s; }
.mega-card-title { position: relative; display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.mega-card-title .i { transition: transform .2s var(--ease); }
.mega-card:hover .mega-card-title .i { transform: translateX(4px); }
.mega-card-text { position: relative; font-size: .8125rem; line-height: 1.45; color: var(--text-2); }
@keyframes ring-pulse { 0%, 100% { opacity: .5; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gh-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .875rem; font-weight: 500; transition: color .2s, border-color .2s, background .2s; }
.gh-btn:hover { color: var(--text); background: var(--surface-2); }
.gh-count { display: none; align-items: center; gap: 4px; padding-left: 8px; border-left: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.gh-count.has-count { display: inline-flex; }
.gh-count .i { width: 13px; height: 13px; color: var(--warn); }
.theme-toggle { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--text-2); cursor: pointer; overflow: hidden; transition: color .2s, background .2s; }
.theme-toggle:hover { color: var(--text); background: var(--surface-2); }
.theme-toggle .i { position: absolute; width: 17px; height: 17px; transition: transform .5s var(--ease), opacity .3s; }
[data-theme="dark"] .theme-toggle .sun, [data-theme="light"] .theme-toggle .moon { transform: translateY(120%) rotate(90deg); opacity: 0; }
.nav-signin { padding: 0 10px; font-size: .9375rem; color: var(--text-2); transition: color .2s; }
.nav-signin:hover { color: var(--text); }
.menu-btn { display: none; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; background: none; color: var(--text); cursor: pointer; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 1240px) { .nav-signin, .gh-label { display: none; } }
@media (max-width: 1100px) {
  .nav, .header-actions .hide-md { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 600px) { .header-actions .hide-sm, .header-actions .gh-btn { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--bg); opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease); }
.mobile-menu.is-open { opacity: 1; transform: none; }
.m-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.menu-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; background: none; cursor: pointer; }
.m-body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 24px; }
.m-group, .m-top { border-bottom: 1px solid var(--line); }
.m-group summary, .m-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 1.125rem; font-weight: 550; cursor: pointer; list-style: none; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary .i { transition: transform .25s var(--ease); color: var(--text-3); }
.m-group[open] summary .i { transform: rotate(180deg); }
.m-top .i { color: var(--text-3); }
.m-links { display: grid; gap: 2px; padding-bottom: 14px; }
.m-link { display: flex; gap: 14px; padding: 10px 4px; border-radius: 10px; }
.m-link > .i { margin-top: 3px; color: var(--brand-ink); }
.m-link span { display: flex; flex-direction: column; font-weight: 500; }
.m-link small { font-size: .8125rem; font-weight: 400; color: var(--text-3); }
.m-link .ext { display: none; }
.m-extra { display: grid; gap: 4px; padding-top: 16px; }
.m-extra a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--text-2); }
.m-foot { display: grid; gap: 10px; padding: 16px var(--gutter) max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.mobile-menu.is-open .m-body > * { animation: rise .5s var(--ease-out) both; }
.mobile-menu.is-open .m-body > :nth-child(2) { animation-delay: .03s; } .mobile-menu.is-open .m-body > :nth-child(3) { animation-delay: .06s; }
.mobile-menu.is-open .m-body > :nth-child(4) { animation-delay: .09s; } .mobile-menu.is-open .m-body > :nth-child(5) { animation-delay: .12s; }
.mobile-menu.is-open .m-body > :nth-child(6) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------- 5. Footer */
.site-footer { position: relative; overflow: hidden; margin-top: 0; padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-right: 24px; }
.footer-tagline { margin: 4px 0 0; font-size: 1.125rem; font-weight: 550; letter-spacing: -.02em; }
.footer-note { margin: 0; font-size: .875rem; color: var(--text-2); max-width: 34ch; }
.footer-h { margin: 0 0 14px; font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; align-items: center; gap: 3px; font-size: .9375rem; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-col .ext { width: 12px; height: 12px; opacity: .6; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--text-3); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.footer-legal button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--text); }
.footer-word { display: block; width: min(80vw, 1160px); height: auto; margin: 8px auto 0; overflow: visible; user-select: none; translate: 0 12%; }
.footer-word path { stroke: var(--line-2); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.fw-g { stop-color: var(--brand-2); } .fw-b { stop-color: var(--brand); } .fw-fade { stop-opacity: 0; }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 560px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------- 6. Buttons and chips */
.btn { --h: 44px; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 20px; border: 1px solid transparent; border-radius: 999px; overflow: hidden; font: 500 .9375rem/1 var(--font); letter-spacing: -.01em; white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .3s, color .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .i { width: 16px; height: 16px; }
.btn-primary { color: #fff; background: var(--grad-blue); border-color: color-mix(in srgb, var(--brand) 70%, #000); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 24px -10px var(--brand-glow); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .38) 50%, transparent 75%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 36px -10px var(--brand-glow); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-outline { color: var(--text); background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--text-3); }
.btn-ghost { color: var(--text-2); background: none; }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-ink { color: var(--bg); background: var(--text); }
.btn-ink:hover { background: color-mix(in srgb, var(--text) 82%, var(--bg)); }
.btn-sm { --h: 36px; padding: 0 15px; font-size: .875rem; }
.btn-xs { --h: 28px; padding: 0 11px; font-size: .75rem; gap: 6px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-ink); font-weight: 500; text-decoration: none; }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.actions.center { justify-content: center; }
.fineprint { margin-top: 16px; font-size: .875rem; color: var(--text-3); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.eyebrow.teal { color: var(--brand-2-ink); }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .875rem; color: var(--text-2); }
.badge-pill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.badge-pill .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.badge-logo { display: inline-flex; transition: opacity .2s; } /* a logo standing on the text's baseline, both versions placed, the theme shows one */
.badge-logo:hover { opacity: .7; }
.badge-logo img { width: auto; height: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .875rem; color: var(--text-2); transition: border-color .2s, color .2s, transform .2s var(--ease); }
.chip .i { width: 15px; height: 15px; color: var(--brand-ink); }
.chip:hover { border-color: var(--accent-line); color: var(--text); transform: translateY(-1px); }
.chip.ok .i { color: var(--ok); }
.rule-key { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--brand-ink); font: 500 .75rem/1.5 var(--mono); white-space: nowrap; }
.rule-key.teal { border-color: var(--teal-line); background: var(--teal-soft); color: var(--brand-2-ink); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--inset); color: var(--text-2); font-size: .75rem; font-weight: 500; }
.tag.ok { background: var(--ok-soft); color: var(--ok); } .tag.warn { background: var(--warn-soft); color: var(--warn); } .tag.bad { background: var(--bad-soft); color: var(--bad); } .tag.brand { background: var(--accent-soft); color: var(--brand-ink); }
.grad-text { background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
/* A decision still to be made. Every .tbd must be gone before launch. */
.tbd { display: inline; padding: .05em .4em; border-radius: 6px; border: 1px dashed color-mix(in srgb, var(--warn) 60%, transparent); background: var(--warn-soft); color: var(--warn); font-family: var(--mono); font-size: .82em; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* A value filled in but not yet confirmed: <main class="tbd-quiet"> shows it as plain text, and the class stays for the grep */
main.tbd-quiet .tbd { padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; }

/* ------------------------------------------------------------ 7. Sections */
.page-hero { position: relative; padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 104px); overflow: clip; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 62ch; margin-top: 24px; }
.page-hero .actions { margin-top: 36px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-inline: auto; }
.page-hero.center .actions { justify-content: center; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero .hero-visual { margin-top: clamp(48px, 7vw, 80px); }

.cta-band { position: relative; overflow: hidden; padding-block: clamp(96px, 13vw, 176px); text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); letter-spacing: -.045em; }
.cta-band .lede { max-width: 58ch; margin: 24px auto 0; }
.cta-band .actions { justify-content: center; margin-top: 40px; }
.cta-rings { position: absolute; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; }
.cta-rings i { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1px solid var(--accent-line); animation: ring-out 9s linear infinite; opacity: 0; }
.cta-rings i:nth-child(2) { animation-delay: -3s; } .cta-rings i:nth-child(3) { animation-delay: -6s; }
@keyframes ring-out { 0% { width: 120px; height: 120px; opacity: 0; } 15% { opacity: 1; } 100% { width: 1400px; height: 1400px; opacity: 0; } }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 520px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-1), transparent), radial-gradient(closest-side, var(--glow-2), transparent); filter: blur(30px); pointer-events: none; }
.cta-band .container { position: relative; }
.agent-prompt { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 40px; padding: 10px 10px 10px 18px; border-radius: 999px; border: 1px dashed var(--line-2); font-size: .875rem; color: var(--text-2); }

.callout { padding: 22px 26px; border-left: 3px solid var(--brand); border-radius: 0 var(--r) var(--r) 0; background: var(--accent-soft); color: var(--text-2); }
.callout strong { color: var(--text); }
.promise { max-width: 900px; margin-inline: auto; text-align: center; }
.promise blockquote { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); line-height: 1.25; font-weight: 550; letter-spacing: -.03em; color: var(--text); text-wrap: balance; }
.closing-line { max-width: 760px; margin: clamp(40px, 5vw, 56px) auto 0; text-align: center; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); color: var(--text-2); text-wrap: balance; }

/* --------------------------------------------------------- 8. Cards, grids */
.grid { display: grid; gap: var(--gap, 20px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: minmax(0, 1fr); } .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.card h3 { margin-bottom: 10px; }
.card p, .card li { color: var(--text-2); }
.card > :last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 20px; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card.flat { background: transparent; }
.card.soft { background: var(--surface-2); }
.card.accent { border-color: var(--accent-line); background: linear-gradient(160deg, var(--accent-soft), transparent 60%), var(--surface); }
.card.highlight { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 20px 60px -30px var(--brand-glow); }
.card-num { font: 500 .8125rem/1 var(--mono); color: var(--text-3); margin-bottom: 18px; letter-spacing: .06em; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--brand-ink); }
.card-icon .i { width: 21px; height: 21px; }
.card-icon.logo img { width: 26px; height: 26px; object-fit: contain; }
.card-icon.teal { border-color: var(--teal-line); background: var(--teal-soft); color: var(--brand-2-ink); }
.card-icon.warn { border-color: color-mix(in srgb, var(--warn) 30%, transparent); background: var(--warn-soft); color: var(--warn); }
.card-icon.bad { border-color: color-mix(in srgb, var(--bad) 30%, transparent); background: var(--bad-soft); color: var(--bad); }
.card-icon.plain { border-color: var(--line-2); background: var(--surface-2); color: var(--text-2); }
/* Cursor-following glow, after Langflow. Add .glow to any card. */
.glow::before { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -20%), var(--brand-2), transparent 45%); -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 exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .35s; }
.glow::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, -20%), color-mix(in srgb, var(--brand-2) 20%, transparent), transparent 45%); opacity: 0; transition: opacity .35s; }
.glow:hover::before, .glow:hover::after { opacity: 1; }

.icon-list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.icon-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.icon-list .li-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); color: var(--brand-ink); }
.icon-list .li-ico .i { width: 19px; height: 19px; }
.icon-list strong { display: block; margin-bottom: 2px; }
.icon-list p { color: var(--text-2); margin: 0; }

.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 32px; color: var(--text-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.7 7.7-5.5 5.6a1 1 0 0 1-1.4 0l-2.5-2.5a1 1 0 1 1 1.4-1.4l1.8 1.8 4.8-4.9a1 1 0 0 1 1.4 1.4z'/%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'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.7 7.7-5.5 5.6a1 1 0 0 1-1.4 0l-2.5-2.5a1 1 0 1 1 1.4-1.4l1.8 1.8 4.8-4.9a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checklist li strong { color: var(--text); }
.checklist.no li::before { background: var(--text-3); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm3.5 12.1a1 1 0 0 1-1.4 1.4L12 13.4l-2.1 2.1a1 1 0 0 1-1.4-1.4l2.1-2.1-2.1-2.1a1 1 0 0 1 1.4-1.4l2.1 2.1 2.1-2.1a1 1 0 0 1 1.4 1.4L13.4 12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm3.5 12.1a1 1 0 0 1-1.4 1.4L12 13.4l-2.1 2.1a1 1 0 0 1-1.4-1.4l2.1-2.1-2.1-2.1a1 1 0 0 1 1.4-1.4l2.1 2.1 2.1-2.1a1 1 0 0 1 1.4 1.4L13.4 12z'/%3E%3C/svg%3E"); }
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 640px) { .checklist.cols-2 { grid-template-columns: minmax(0, 1fr); } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; margin-top: 12px; font-size: .9375rem; color: var(--text-2); line-height: 1.45; }
@media (max-width: 760px) { .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding-bottom: 32px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--brand-ink); font: 500 .875rem/1 var(--mono); box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 56px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent-line), var(--line)); }
.step:last-child { padding-bottom: 0; }
.step h3 { margin: 10px 0 6px; }
.step p { color: var(--text-2); }
.steps.row { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 24px; }
.steps.row .step { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; }
.steps.row .step::after { left: 64px; right: -16px; top: 24px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--accent-line), var(--line)); }
@media (max-width: 860px) { .steps.row { grid-template-columns: minmax(0, 1fr); } .steps.row .step { grid-template-columns: 48px minmax(0, 1fr); gap: 20px; } .steps.row .step::after { display: none; } }

/* ------------------------------------------------- 9. Interactive parts */
/* Tabs and segmented switches share one look, with a sliding indicator */
.seg, .tabs-list { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar, .tabs-list::-webkit-scrollbar { display: none; }
.seg button, .tabs-list [role="tab"] { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: .875rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color .2s; }
.seg button:hover, .tabs-list [role="tab"]:hover { color: var(--text); }
.seg button[aria-pressed="true"], .tabs-list [role="tab"][aria-selected="true"] { color: var(--text); }
.seg-indicator { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), width .4s var(--ease); }
.seg:not(.has-indicator) button[aria-pressed="true"], .tabs-list:not(.has-indicator) [role="tab"][aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-sm); }
.seg-sm button { height: 28px; padding: 0 10px; font-size: .8125rem; }
.seg-sm button .i { width: 15px; height: 15px; }
.theme-seg button { padding: 0 9px; }
[role="tabpanel"] { animation: panel-in .45s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabs-center { display: flex; justify-content: center; margin-bottom: 32px; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--text); }
.switch-track { position: relative; width: 60px; height: 34px; border-radius: 999px; background: var(--brand); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 24px -4px var(--brand-glow); transition: background-color .3s, box-shadow .3s; }
.switch-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: translateX(26px); transition: transform .35s var(--ease); }
.switch[aria-pressed="false"] .switch-track { background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line); }
.switch[aria-pressed="false"] .switch-track::after { transform: none; }
/* A checkbox drawn as a small switch */
.toggle { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 38px; height: 22px; margin: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: background-color .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.toggle:checked { background: var(--ok); }
.toggle:checked::after { transform: translateX(16px); }
.toggle:disabled { opacity: .6; cursor: not-allowed; }

/* Cookie banner, drawn by layout.js: bottom right until the visitor chooses */
.cookie { position: fixed; right: clamp(16px, 2vw, 24px); bottom: clamp(16px, 2vw, 24px); z-index: 80; width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 24px 20px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-xl); font-size: .9375rem; opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.cookie.is-in { opacity: 1; transform: none; }
.cookie-text { margin: 0 32px 18px 0; line-height: 1.6; color: var(--text-2); }
.cookie-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--text-3); cursor: pointer; }
.cookie-close:hover { background: var(--surface-2); color: var(--text); }
.cookie-prefs { margin-bottom: 16px; }
.cookie-h { margin: 0 32px 4px 0; font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.01em; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie-row:last-child { border-bottom: 0; }
.cookie-row b { display: block; font-weight: 550; color: var(--text); }
.cookie-row small { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.5; color: var(--text-3); }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cookie-all { display: flex; gap: 10px; }
@media (max-width: 520px) {
  .cookie { padding: 20px 18px 18px; }
  .cookie-actions > *, .cookie-all .btn { flex: 1 1 auto; }
}

/* Code */
.code { border-radius: var(--r-lg); background: var(--code-bg); border: 1px solid var(--line-2); overflow: hidden; color: var(--code-text); box-shadow: var(--shadow-lg); }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; background: var(--code-bar); border-bottom: 1px solid var(--code-line); }
.code-bar .dots { margin-right: 6px; }
.code-title { font: .8125rem var(--mono); color: var(--code-dim); }
.code .tabs-list { padding: 3px; background: rgba(255, 255, 255, .04); border-color: var(--code-line); }
.code .tabs-list [role="tab"] { height: 30px; padding: 0 12px; color: var(--code-dim); font-size: .8125rem; }
.code .tabs-list [role="tab"][aria-selected="true"], .code .tabs-list [role="tab"]:hover { color: #fff; }
.code .seg-indicator { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-size: .875rem; line-height: 1.75; tab-size: 2; }
.code pre code { font-size: inherit; }
.c-cm { color: var(--code-dim); } .c-k { color: #8fb7f5; } .c-s { color: #6add96; } .c-p { color: #687890; user-select: none; } .c-o { color: #ffd479; } .c-ok { color: #4ade80; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--code-line); background: rgba(255, 255, 255, .05); color: var(--code-dim); font-size: .8125rem; font-weight: 500; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.copy-btn:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.copy-btn .i { width: 14px; height: 14px; }
.copy-btn.is-copied { color: #4ade80; border-color: rgba(74, 222, 128, .4); }
.cmd { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 6px 6px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--code-bg); color: var(--code-text); font: .8125rem/1.5 var(--mono); box-shadow: var(--shadow-md); }
.cmd code { flex: 1; min-width: 0; padding: 0; border: 0; background: none; font-size: inherit; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd .c-p { flex: none; }
.cmd .copy-btn { flex: none; width: 32px; padding: 0; justify-content: center; }
.cmd.block { display: flex; width: 100%; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-wrap .section-head { position: static; } }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 1.0625rem; font-weight: 550; letter-spacing: -.015em; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-ink); }
.faq-toggle { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; translate: -50% -50%; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle { transform: rotate(180deg); background: var(--accent-soft); border-color: var(--accent-line); color: var(--brand-ink); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-a { padding: 0 48px 24px 0; color: var(--text-2); }
.faq-a p { margin-bottom: .8em; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: 15px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { position: sticky; top: 0; background: var(--surface-2); font-size: .8125rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr { transition: background-color .15s; }
.table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.table tbody th { font-weight: 550; color: var(--text); }
.table td { color: var(--text-2); }
.table .col-us { background: linear-gradient(var(--accent-soft), var(--accent-soft)); }
.table thead .col-us { color: var(--brand-ink); }
span.yes, span.no, span.part { display: inline-flex; align-items: center; gap: 6px; }
span.yes::before, span.no::before, span.part::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; }
span.yes::before { background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327a959' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
span.no::before { background: var(--inset) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 10px no-repeat; }
span.part::before { background: var(--warn-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e3a008'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Timeline: a row of stops that light up in turn */
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 16px; }
.tl-track { position: absolute; top: 21px; left: 22px; right: calc((100% - (var(--n, 5) - 1) * 16px) / var(--n, 5) - 22px); height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.tl-track i { display: block; height: 100%; width: var(--p, 0%); background: var(--grad); transition: width .7s var(--ease); }
.tl-stop { position: relative; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; }
.tl-dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-3); transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.tl-dot .i { width: 19px; height: 19px; }
.tl-stop.is-done .tl-dot { color: var(--brand-ink); border-color: var(--accent-line); }
.tl-stop.is-active .tl-dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft), 0 0 30px var(--brand-glow); transform: scale(1.06); }
.tl-when { display: block; margin-bottom: 8px; font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); transition: color .3s; }
.tl-stop.is-active .tl-when { color: var(--brand-ink); }
.tl-body { display: block; padding: 18px; border-radius: var(--r); border: 1px solid transparent; font-size: .9375rem; color: var(--text-2); transition: background-color .4s, border-color .4s, opacity .4s; opacity: .7; }
.tl-body b { display: block; margin-bottom: 6px; color: var(--text); }
.tl-stop.is-active .tl-body { opacity: 1; background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.tl-stop:hover .tl-body { opacity: 1; }
/* Vertical: always for .timeline.vertical, and for every timeline on small screens */
.timeline.vertical { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.timeline.vertical .tl-track { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
.timeline.vertical .tl-track i { width: 100%; height: var(--p, 0%); transition: height .7s var(--ease); }
.timeline.vertical .tl-stop { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; align-items: start; }
.timeline.vertical .tl-dot { grid-row: span 2; margin-bottom: 0; }
.timeline.vertical .tl-when { margin: 13px 0 4px; }
.timeline.vertical .tl-body { padding: 10px 18px 16px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tl-track { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .tl-track i { width: 100%; height: var(--p, 0%); transition: height .7s var(--ease); }
  .tl-stop { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .tl-dot { grid-row: span 2; margin-bottom: 0; }
  .tl-when { margin: 13px 0 4px; }
  .tl-body { padding: 10px 18px 16px; }
}

/* Small shared parts the inner pages use */
.anno { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: var(--surface); font: 600 .6875rem/1 var(--mono); vertical-align: middle; box-shadow: 0 0 0 3px var(--accent-soft); }
.card > .corner { position: absolute; top: 22px; right: 22px; color: var(--text-3); transition: transform .2s var(--ease), color .2s; }
.card:hover > .corner { color: var(--brand-ink); transform: translate(2px, -2px); }
.stat-num small { font-size: .36em; font-weight: 550; letter-spacing: -.01em; }
.stat-num.words { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.035em; }
.tip-wrap { position: relative; display: inline-flex; }
.tip-wrap .chip { cursor: help; }
.tip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; width: max-content; max-width: 240px; padding: 8px 12px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: .8125rem; line-height: 1.4; text-align: center; opacity: 0; translate: -50% 4px; pointer-events: none; transition: opacity .2s, translate .2s; }
.tip-wrap:hover .tip, .tip-wrap:focus-within .tip { opacity: 1; translate: -50% 0; }

/* Marquee */
.marquee { --dur: 45s; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 12px; flex: none; padding-right: 12px; animation: marquee var(--dur) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; white-space: nowrap; color: var(--text); transition: border-color .2s; }
.pill:hover { border-color: var(--accent-line); }
.pill-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c, var(--brand)); color: #fff; font-size: .75rem; font-weight: 700; }
.pill-ico .i { width: 16px; height: 16px; }
/* A company's own logo, in place of the coloured circle. .mono is a solid black one, which turns white on the dark theme. */
.pill-ico.logo { background: none; }
.pill-ico.logo img { width: 78%; height: 78%; object-fit: contain; }
[data-theme="dark"] .pill-ico.mono img { filter: invert(1); }

/* Forms */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: .875rem; font-weight: 550; color: var(--text); }
.field .req { color: var(--brand-ink); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: .9375rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 150px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[type="file"] { font-size: .875rem; color: var(--text-2); }
.field-help { font-size: .8125rem; color: var(--text-3); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--bad); }
.form-note { font-size: .8125rem; color: var(--text-3); }
.search-box { display: flex; align-items: center; gap: 12px; max-width: 560px; height: 56px; padding: 0 8px 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-md); }
.search-box .i { color: var(--text-3); }
.search-box input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text); font: inherit; outline: none; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-align: left; font-weight: 550; cursor: pointer; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.tile[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.tile .card-icon { margin: 0; }

/* -------------------------------------------------------- 10. Product mocks
   Built in HTML so they stay sharp, theme with the site, and can animate. */
.window { position: relative; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-xl); overflow: hidden; text-align: left; }
.window-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.window-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: .75rem var(--mono); color: var(--text-3); }
.window-body { padding: 20px; }
.app { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 440px; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--surface-2); }
.app-ws { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; font-size: .8125rem; font-weight: 600; }
.app-ws i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--grad-blue); color: #fff; font-style: normal; font-size: .6875rem; }
.app-nav { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: .8125rem; color: var(--text-2); }
.app-nav .i { width: 15px; height: 15px; }
.app-nav.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.app-nav .count { margin-left: auto; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .6875rem; line-height: 1.5; }
.app-main { position: relative; padding: 18px 20px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.app-title { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--text); }
.app-head .tag { font-size: .6875rem; }
@media (max-width: 720px) { .app { grid-template-columns: minmax(0, 1fr); } .app-side { display: none; } }

.agent-avatar { --agent: #3a80ed; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--grad-blue); box-shadow: 0 4px 12px -4px rgba(58, 128, 237, .6); }
.agent-avatar.champion { --agent: #27a959; background: var(--grad-green); box-shadow: 0 4px 12px -4px rgba(39, 169, 89, .6); }
.agent-avatar .i { width: 15px; height: 15px; }
.agent-avatar.lg { width: 56px; height: 56px; border-radius: 16px; }
.agent-avatar.lg .i { width: 28px; height: 28px; }
/* The live robot's head takes the tile's place, its antenna above the box */
.agent-avatar.is-live { position: relative; background: none; box-shadow: none; }
.agent-avatar agent-robot-avatar { position: absolute; inset: -9%; width: auto; height: auto; }
.agent-msg { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-lg); font-size: .875rem; color: var(--text-2); text-align: left; }
.agent-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.agent-head b { font-size: .8125rem; color: var(--text); }
.agent-head .rule-name { font-size: .75rem; color: var(--text-3); }
.agent-msg p { margin: 0; line-height: 1.55; }
.agent-msg em { font-style: normal; color: var(--text); font-weight: 500; }
.agent-actions { display: flex; gap: 8px; margin-top: 12px; }
.agent-msg.inline { box-shadow: none; background: var(--surface-2); }
.agent-msg.coach { border-left: 3px solid var(--brand); }
.agent-msg.champion { border-left: 3px solid var(--brand-2); }

.verdict { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; font-size: .8125rem; line-height: 1.5; color: var(--text-2); }
.verdict .vk { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 600 .75rem/1.5 var(--mono); }
.verdict .vk .i { width: 14px; height: 14px; }
.verdict.warn { background: var(--warn-soft); } .verdict.warn .vk { color: var(--warn); }
.verdict.ok { background: var(--ok-soft); } .verdict.ok .vk { color: var(--ok); }
.verdict.bad { background: var(--bad-soft); } .verdict.bad .vk { color: var(--bad); }

.progress { height: 6px; border-radius: 99px; background: var(--inset); overflow: hidden; }
.progress > i { display: block; height: 100%; width: var(--v, 50%); border-radius: inherit; background: var(--grad); transition: width 1.4s var(--ease-out); }
.progress.ok > i { background: var(--ok); } .progress.warn > i { background: var(--warn); } .progress.bad > i { background: var(--bad); }
.js [data-reveal]:not(.is-in) .progress > i { width: 0; }
.health { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.health.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.health.warn { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.health.bad { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.avatar { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--av, #2466c9); color: #fff; font-size: .625rem; font-weight: 650; letter-spacing: .02em; }
.avatars { display: flex; } .avatars .avatar { border: 2px solid var(--surface); margin-left: -7px; } .avatars .avatar:first-child { margin-left: 0; }
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.ring { --p: 0; --c: var(--brand); position: relative; display: grid; place-items: center; width: 96px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--inset) 0); transition: --p 1.6s var(--ease-out); }
.ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.ring > * { position: relative; font-weight: 650; font-size: 1.375rem; letter-spacing: -.03em; }

.okr-node { position: relative; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-md); font-size: .8125rem; }
.okr-node-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .6875rem; color: var(--text-3); font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.okr-node-meta .score { margin-left: auto; color: var(--text); font-weight: 600; }
.okr-node-title { margin-bottom: 10px; font-weight: 600; color: var(--text); line-height: 1.35; }
.kr { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 4px 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: .75rem; color: var(--text-2); }
.kr .progress { grid-column: 1 / -1; height: 4px; }
.kr b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.okr-node.root { border-color: var(--accent-line); background: linear-gradient(160deg, var(--accent-soft), transparent), var(--surface); }

.mock-list { display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .8125rem; color: var(--text-2); }
.mock-row b { color: var(--text); font-weight: 550; }
.mock-row .grow { flex: 1; min-width: 0; }
.mock-row .sub { display: block; font-size: .75rem; color: var(--text-3); }
.mock-field { padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font-size: .875rem; color: var(--text); }
.mock-label { display: block; margin-bottom: 6px; font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.toggle-row:last-child { border-bottom: 0; }
.mini-switch { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--ok); }
.mini-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.mini-switch.off { background: var(--line-2); } .mini-switch.off::after { right: auto; left: 3px; }

/* Terminal */
.terminal { border-radius: var(--r-lg); background: var(--code-bg); border: 1px solid var(--line-2); color: var(--code-text); font: .8125rem/1.8 var(--mono); box-shadow: var(--shadow-xl); overflow: hidden; text-align: left; }
.terminal .code-bar { padding: 10px 14px; }
.terminal-body { padding: 18px 20px; overflow-x: auto; white-space: pre; }
.terminal-body .line { display: block; }
.js .terminal[data-type-lines] .line { visibility: hidden; }
.js .terminal[data-type-lines] .line.is-shown { visibility: visible; animation: panel-in .3s var(--ease-out); }

/* Chat: WhatsApp-style phone, and Slack-style messages */
.phone { position: relative; width: min(100%, 360px); margin-inline: auto; padding: 10px; border-radius: 44px; background: linear-gradient(160deg, #282e38, #0b0e13); box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone-screen { position: relative; overflow: hidden; border-radius: 35px; background: var(--wa-bg); }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; z-index: 2; width: 92px; height: 26px; border-radius: 20px; background: #000; }
.wa-bar { display: flex; align-items: center; gap: 10px; padding: 46px 14px 10px; background: var(--wa-bar); color: var(--wa-text); }
.wa-bar b { display: block; font-size: .875rem; color: var(--wa-text); }
.wa-bar small { font-size: .6875rem; color: var(--wa-meta); }
.chat { display: flex; flex-direction: column; gap: 6px; min-height: 470px; padding: 14px 12px 18px; font-size: .8125rem; line-height: 1.45; }
.msg { position: relative; max-width: 82%; padding: 7px 10px 18px; border-radius: 10px; background: var(--wa-in); color: var(--wa-text); box-shadow: 0 1px .5px rgba(0, 0, 0, .13); align-self: flex-start; }
.msg.me { align-self: flex-end; background: var(--wa-out); }
.msg .meta { position: absolute; right: 8px; bottom: 3px; font-size: .625rem; color: var(--wa-meta); }
.msg em { font-style: italic; }
.msg b { color: var(--wa-text); }
.js .chat[data-chat] .msg { display: none; }
.js .chat[data-chat] .msg.is-shown { display: block; animation: msg-in .35s var(--ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--wa-in); }
.msg.me + .typing.me, .typing.me { align-self: flex-end; background: var(--wa-out); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--wa-meta); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-replay { position: absolute; right: 14px; bottom: 14px; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .3s; }
.chat-replay.is-on { opacity: 1; pointer-events: auto; }
.slack { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-xl); overflow: hidden; text-align: left; }
.slack-channel { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .875rem; }
.slack-channel .i { width: 15px; height: 15px; color: var(--text-3); }
.slack-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 12px 16px; font-size: .875rem; color: var(--text-2); }
.slack-msg .agent-avatar, .slack-msg .avatar { width: 36px; height: 36px; border-radius: 8px; }
.slack-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 2px; font-size: .875rem; }
.slack-name b { color: var(--text); }
.slack-name .app-tag { padding: 0 4px; border-radius: 3px; background: var(--inset); font-size: .625rem; font-weight: 600; color: var(--text-3); }
.slack-name time { font-size: .75rem; color: var(--text-3); }
.slack-msg p { margin: 0; }

/* Floating cards over a mock */
.float { position: absolute; z-index: 3; animation: float 7s ease-in-out infinite; }
.float.delay { animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ----------------------------------------------------------------- 11. Home */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); overflow: clip; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(#000 30%, transparent 85%); mask-image: linear-gradient(#000 30%, transparent 85%); }
.hero-content { position: relative; text-align: center; }
/* One sentence per line: the longer, "Start running them.", is 8.22em wide, so the size never passes the width / 8.6 */
.hero h1 { margin: 28px auto 0; font-size: min(clamp(3rem, 1.4rem + 6.4vw, 6.25rem), (100vw - var(--gutter) * 2) / 8.6); letter-spacing: -.055em; line-height: .98; }
.hero .lede { max-width: 66ch; margin: 28px auto 0; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero .fineprint { margin-top: 14px; }
.hero-install { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 28px; }
.hero-install .cmd { max-width: min(100%, 640px); }
.split-word { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); animation: word-in .9s var(--ease-out) forwards; animation-delay: calc(var(--w) * 70ms + 100ms); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }

.hero-stage { position: relative; margin-top: clamp(56px, 7vw, 88px); perspective: 1800px; }
.hero-stage::before { content: ""; position: absolute; left: 50%; top: 10%; width: 80%; height: 70%; translate: -50% 0; background: radial-gradient(closest-side, var(--glow-1), transparent), radial-gradient(closest-side at 70% 50%, var(--glow-2), transparent); filter: blur(40px); }
.hero-tilt { position: relative; transform-origin: 50% 0; transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, .94)); transition: transform .2s linear; will-change: transform; }
.hero-shot { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.workmap { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 8px 4px 40px; }
.workmap .root { grid-column: 1 / -1; justify-self: center; width: min(100%, 360px); }
.workmap-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.workmap-lines path { fill: none; stroke: var(--accent-line); stroke-width: 1.5; }
.workmap-lines path.flow { stroke: var(--brand); stroke-dasharray: 4 10; animation: dash 1.6s linear infinite; opacity: .8; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.workmap .okr-node { margin-top: 34px; }
.workmap .okr-node.root { margin-top: 0; }
.kr.flagged { position: relative; margin-inline: -6px; padding-inline: 6px; border-radius: 8px; background: var(--warn-soft); border-top-color: transparent; }
.workmap { padding-bottom: 150px; }
.hero-coach { left: 15%; bottom: 7%; width: min(340px, 62%); }
.hero-slack { right: 5%; bottom: 13%; width: min(330px, 46%); }
.hero-slack .agent-head { margin-bottom: 4px; }
@media (max-width: 860px) {
  .workmap { grid-template-columns: minmax(0, 1fr); }
  .workmap .okr-node:nth-of-type(n+4), .workmap-lines { display: none; }
  .hero-coach { left: 4%; top: auto; bottom: 24%; width: 92%; }
  .hero-slack { display: none; }
}

.proof { text-align: center; }
.proof-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 40px 0 0; font: 500 .75rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.proof-line span + span::before { content: "·"; margin-right: 22px; color: var(--text-3); }
.proof-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: stretch; }
.proof-row .stats { text-align: left; }
.proof-gh { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; min-width: 200px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.proof-sources { margin-top: 14px; font: 500 .75rem/1.8 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 860px) { .proof-row { grid-template-columns: minmax(0, 1fr); } }

/* Live coaching demo */
.coach-demo .window-bar { gap: 10px; }
.coach-demo .seg { margin-left: auto; }
.cd-body { display: grid; gap: 16px; padding: 22px; }
.cd-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px 14px; align-items: start; }
.cd-label { padding-top: 11px; font: 500 .6875rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cd-input { min-height: 44px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font-size: .9375rem; color: var(--text); transition: border-color .3s, box-shadow .3s; }
.cd-row.is-typing .cd-input { border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: var(--brand); animation: caret 1s steps(1) infinite; }
.cd-row:not(.is-typing) .caret { visibility: hidden; }
@media (max-width: 560px) { .coach-demo .window-title { display: none; } }
.phone .chat { height: 500px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.phone .chat::-webkit-scrollbar { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.cd-verdict { grid-column: 2; min-height: 0; }
.cd-verdict .verdict { animation: verdict-in .45s var(--ease-out); }
@keyframes verdict-in { from { opacity: 0; transform: translateY(-6px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.cd-checking { display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px; font-size: .75rem; color: var(--text-3); font-family: var(--mono); }
.cd-checking::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent-line); border-top-color: var(--brand); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cd-strength { display: grid; grid-template-columns: 82px minmax(0, 1fr) 40px; gap: 14px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.cd-strength .progress { height: 10px; }
.cd-strength .progress > i { transition: width .9s var(--ease-out), background-color .6s; }
.cd-strength b { text-align: right; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .cd-row, .cd-strength { grid-template-columns: minmax(0, 1fr); } .cd-verdict { grid-column: 1; } .cd-label { padding-top: 0; } .cd-strength b { text-align: left; } }

.agent-card { gap: 0; }
.agent-card .agent-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.agent-card .agent-top h3 { margin: 0; }
.agent-card .agent-top small { display: block; color: var(--text-3); font-size: .8125rem; margin-top: 2px; }
.agent-card .agent-msg { margin-top: 24px; }

.reach-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .reach-wrap { grid-template-columns: minmax(0, 1fr); } }

/* AI off */
.ai-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-bottom: 36px; }
.ai-state { font: 500 .8125rem var(--mono); color: var(--text-3); }
.ai-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .ai-cols { grid-template-columns: minmax(0, 1fr); } }
.ai-col { padding: 0; overflow: hidden; transition: opacity .5s, filter .5s, border-color .5s, transform .5s var(--ease); }
.ai-col-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.ai-col-head h3 { margin: 0; font-size: 1rem; }
.ai-status { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem var(--mono); color: var(--ok); white-space: nowrap; }
.ai-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--ok-soft); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 6px transparent; } }
.ai-col ul { margin: 0; padding: 8px 24px 12px; list-style: none; }
.ai-col li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--text-2); font-size: .9375rem; transition: color .4s; }
.ai-col li:last-child { border-bottom: 0; }
.ai-col li .i { margin-top: 3px; color: var(--ok); }
.ai-col.added li .i { color: var(--brand-ink); }
.ai-off .ai-col.added { opacity: .45; filter: grayscale(1); transform: scale(.985); }
.ai-off .ai-col.added .ai-status { color: var(--text-3); }
.ai-off .ai-col.added .ai-status::before { animation: none; box-shadow: none; }
.ai-off .ai-col.added li { text-decoration: line-through; text-decoration-color: var(--line-2); }
.ai-off .ai-col.always { border-color: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }

/* Bring your own agent */
.prompt-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.prompt-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .9375rem; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.prompt-list li .i { margin-top: 3px; color: var(--brand-ink); }
.prompt-list li.is-active { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); transform: translateX(6px); }

/* Persona tabs */
.persona { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.persona .tabs-list { flex-direction: column; border-radius: var(--r-lg); padding: 6px; gap: 2px; width: 100%; }
.persona .tabs-list [role="tab"] { justify-content: flex-start; height: 48px; padding: 0 16px; border-radius: 12px; font-size: .9375rem; }
.persona .tabs-list [role="tab"] .i { color: var(--text-3); transition: color .2s; }
.persona .tabs-list [role="tab"][aria-selected="true"] .i { color: var(--brand-ink); }
.persona .seg-indicator { top: 0; left: 6px; width: calc(100% - 12px); border-radius: 12px; }
.persona-panel { display: grid; gap: 24px; }
.persona-panel > p { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; color: var(--text); letter-spacing: -.015em; max-width: 52ch; }
.persona-mock { min-height: 300px; }
@media (max-width: 860px) {
  .persona { grid-template-columns: minmax(0, 1fr); }
  .persona .tabs-list { flex-direction: row; border-radius: 999px; padding: 4px; }
  .persona .tabs-list [role="tab"] { height: 38px; border-radius: 999px; }
  .persona .seg-indicator { top: 4px; left: 0; border-radius: 999px; }
}
.conf-bars { display: grid; gap: 10px; }
.conf-bar { display: grid; grid-template-columns: 26px minmax(0, 1fr) 30px; align-items: center; gap: 12px; font-size: .8125rem; }
.conf-bar .progress { height: 10px; }
.conf-bar b { text-align: right; font-variant-numeric: tabular-nums; }

.run-card .cmd { width: 100%; margin-top: auto; }
.run-card .card-foot { display: flex; }
.run-card h3 small { display: block; margin-top: 4px; font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

.gh-card { padding: 0; overflow: hidden; }
.gh-card-head { display: flex; align-items: center; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.gh-card-head .i { width: 28px; height: 28px; }
.gh-card-head b { font-family: var(--mono); font-size: .9375rem; }
.gh-card-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gh-card-stats div { padding: 20px 24px; border-right: 1px solid var(--line); }
.gh-card-stats div:last-child { border-right: 0; }
.gh-card-stats strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gh-card-stats strong:empty::before { content: "-"; color: var(--text-3); }
.gh-card-stats span { font-size: .8125rem; color: var(--text-3); }
.gh-card-foot { padding: 18px 24px; border-top: 1px solid var(--line); background: var(--surface-2); }
.open-links { display: grid; gap: 4px; margin: 28px 0 0; padding: 0; list-style: none; }
.open-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.open-links a b { color: var(--text); font-weight: 550; }
.open-links a span { grid-column: 1; font-size: .9375rem; color: var(--text-2); }
.open-links a .i { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--text-3); transition: transform .2s var(--ease), color .2s; }
.open-links a:hover .i { transform: translateX(4px); color: var(--brand-ink); }

/* ------------------------------------------------------------- 12. Pricing */
.pricing-switch { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.pricing-switch > .seg button { height: 42px; padding: 0 20px; font-size: .9375rem; }
@media (max-width: 520px) { .pricing-switch > .seg button { padding: 0 12px; font-size: .8125rem; } .pricing-switch > .seg button .i { display: none; } }
.plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: calc(var(--n, 3) * 390px); margin-inline: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.plan.featured { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px -40px var(--brand-glow); }
.plan-flag { position: absolute; top: -12px; left: 28px; padding: 3px 10px; border-radius: 999px; background: var(--grad-blue); color: #fff; font: 600 .6875rem/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.plan-name { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }
.plan-desc { margin: 6px 0 22px; font-size: .9375rem; color: var(--text-2); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-height: 64px; margin-bottom: 4px; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; }
.plan-price .tbd { font-size: .5em; letter-spacing: 0; }
.plan-price small { font-size: .875rem; font-weight: 400; letter-spacing: -.005em; color: var(--text-2); }
.plan-note { min-height: 2.8em; margin-bottom: 22px; font-size: .8125rem; color: var(--text-3); }
.plan .btn { margin-bottom: 26px; }
.plan-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plan-list li { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; color: var(--text-2); }
.plan-list li > span:last-child { justify-self: end; text-align: right; color: var(--text); font-weight: 500; }
.plan-list li:last-child { border-bottom: 0; }
.seat-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .seat-cols { grid-template-columns: minmax(0, 1fr); } }
.seat-cols .card h3 { display: flex; align-items: center; gap: 10px; }
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .included { grid-template-columns: minmax(0, 1fr); } }
.included h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.included .checklist { gap: 10px; font-size: .9375rem; }

/* ------------------------------------------------- 13. Motion and utilities */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 760px) { .js [data-reveal="left"]:not(.is-in), .js [data-reveal="right"]:not(.is-in) { transform: translateY(26px); } }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.vt-theme * { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-word { opacity: 1; filter: none; transform: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .hero-tilt { transform: none; }
}
@media print {
  site-header, site-footer, .announce, .cookie, .cta-rings, .hero-canvas, .bg-glow { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
