/*
 * henchkin.com: quiet and precise, in white or black (the device decides). Medium-weight white headlines with tight tracking, grey
 * body copy, a mono accent for labels, white pill buttons, and big rounded dark cards holding the
 * product. The bots' colours are the only colour on the page.
 */
/*
 * Light by default, dark when the device is set to dark (no switch: the system decides, like the
 * apps). The bot's computer and the phone are screens, so they stay dark in both.
 */
:root {
  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --surface: #f7f7f8;
  --bar: #f1f1f2;
  --card: #f4f4f5;
  --card-rgb: 244, 244, 245;
  --card-hover: #efeff1;
  --card-lit: #ffffff;
  --raise: #ececee;
  --raise-2: #e4e4e7;
  --raise-hover: #d9d9dd;
  --bubble: #ececee;
  --ink: 10, 10, 10;
  --glow-k: 0.3;
  --shadow-k: 0.16;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.15);
  --fg: #0a0a0a;
  --fg-2: #27272a;
  --muted: #52525b;
  --faint: #6b6b74;
  --contrast: #0a0a0a;
  --on-contrast: #ffffff;
  --contrast-hover: #2a2a2e;
  --ok: #059669;
  --ok-text: #047857;
  --amber: #b45309;
  --on-amber: #ffffff;
  --needs-bg: rgba(254, 243, 214, 0.97);
  --needs-fg: #78350f;
  --needs-sub: rgba(120, 53, 15, 0.72);
  --err: #dc2626;
  --cancel-filter: opacity(0.5);
  color-scheme: light;
  --sans: 'Geist', ui-sans-serif, -apple-system, 'Segoe UI', Inter, Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 28px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-rgb: 10, 10, 10;
    --surface: #0f0f10;
    --bar: #0c0c0d;
    --card: #141415;
    --card-rgb: 20, 20, 21;
    --card-hover: #171718;
    --card-lit: #161617;
    --raise: #1b1b1d;
    --raise-2: #232326;
    --raise-hover: #2c2c30;
    --bubble: #2a2a2d;
    --ink: 255, 255, 255;
    --glow-k: 1;
    --shadow-k: 1;
    --line: rgba(var(--ink), 0.07);
    --line-strong: rgba(var(--ink), 0.13);
    --fg: #f4f4f5;
    --fg-2: #e4e4e7;
    --muted: #a0a2a8;
    --faint: #8a8d93;
    --contrast: #ffffff;
    --on-contrast: #0a0a0a;
    --contrast-hover: #e9e9ea;
    --ok: #34d399;
    --ok-text: #7ee2b8;
    --amber: #fbbf24;
    --on-amber: #0a0a0a;
    --needs-bg: rgba(36, 30, 14, 0.95);
    --needs-fg: #fef3c7;
    --needs-sub: rgba(254, 243, 199, 0.6);
    --err: #fca5a5;
    --cancel-filter: invert(1) opacity(0.5);
    color-scheme: dark;
  }
}
.desk, .phone {
  --bg: #0a0a0a;
  --bg-rgb: 10, 10, 10;
  --surface: #0f0f10;
  --bar: #0c0c0d;
  --card: #141415;
  --card-rgb: 20, 20, 21;
  --card-hover: #171718;
  --card-lit: #161617;
  --raise: #1b1b1d;
  --raise-2: #232326;
  --raise-hover: #2c2c30;
  --bubble: #2a2a2d;
  --ink: 255, 255, 255;
  --glow-k: 1;
  --shadow-k: 1;
  --line: rgba(var(--ink), 0.07);
  --line-strong: rgba(var(--ink), 0.13);
  --fg: #f4f4f5;
  --fg-2: #e4e4e7;
  --muted: #a0a2a8;
  --faint: #8a8d93;
  --contrast: #ffffff;
  --on-contrast: #0a0a0a;
  --contrast-hover: #e9e9ea;
  --ok: #34d399;
  --ok-text: #7ee2b8;
  --amber: #fbbf24;
  --on-amber: #0a0a0a;
  --needs-bg: rgba(36, 30, 14, 0.95);
  --needs-fg: #fef3c7;
  --needs-sub: rgba(254, 243, 199, 0.6);
  --err: #fca5a5;
  --cancel-filter: invert(1) opacity(0.5);
  color-scheme: dark;
  color: var(--fg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: rgba(var(--ink), 0.2); }
a { color: inherit; text-decoration: none; }
b { font-weight: 500; color: var(--fg); }
h1, h2, h3 { margin: 0; font-weight: 500; color: var(--fg); text-wrap: balance; }
.lead, .hero-sub, .job-lead { text-wrap: pretty; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
/* Keyboard users: a clear ring on black, and a way past the header. */
:focus-visible { outline: 2px solid var(--contrast); outline-offset: 2px; }
main:focus { outline: none; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 40; display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--contrast); color: var(--on-contrast); font-size: 14px; font-weight: 500; transition: top 0.15s; }
.skip:focus { top: 12px; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 500 15px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.2s ease, opacity 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-white { background: var(--contrast); color: var(--on-contrast); }
.btn-white:hover { background: var(--contrast-hover); box-shadow: 0 0 0 6px rgba(var(--ink), 0.06); }
.btn-dark { background: var(--raise-2); color: var(--fg); }
.btn-dark:hover { background: var(--raise-hover); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
/* The header's Download button: the apps, from every page. On a phone it's just the arrow. */
.nav-download { gap: 7px; }
.nav-download[aria-current] { box-shadow: inset 0 0 0 1px var(--line); }
.ico { width: 16px; height: 16px; fill: currentColor; }

/* ---- Nav ----------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(var(--bg-rgb), 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { height: 68px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark { width: 24px; height: 24px; fill: currentColor; }
.nav-links { display: flex; gap: 28px; margin-left: 16px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.link-quiet { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.link-quiet:hover { color: var(--fg); }
.nav-signin { padding: 0 6px; }
/* Phones: the links fold into a menu behind ☰ (site.js opens it). */
.nav-burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--fg); cursor: pointer; place-items: center; align-content: center; gap: 6px; }
.nav-burger span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease; }
.nav-burger[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav-sheet { position: fixed; inset: 68px 0 0; z-index: 19; background: var(--bg); overflow-y: auto; padding: 8px 0 32px; display: flex; flex-direction: column; animation: sheet 0.25s cubic-bezier(.2, .8, .2, 1); }
.nav-sheet[hidden] { display: none; }
.nav-sheet nav { display: flex; flex-direction: column; }
.nav-sheet nav a { min-height: 56px; display: flex; align-items: center; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.nav-sheet nav a[aria-current] { color: var(--muted); }
.nav-sheet-actions { margin-top: 28px; display: grid; gap: 10px; }
.nav-sheet-signin { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 15px; color: var(--muted); }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
html.menu-open { overflow: hidden; }
/* A blurred header would hold the fixed sheet inside its own 68px; while the menu is open it's solid. */
.menu-open .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--line); }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; padding: 88px 0 40px; }
.hero-glow {
  position: absolute; inset: -120px 0 auto; height: 640px; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(var(--ink), 0.09), transparent 70%);
}
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* The hero's announcement: a green "open" tag, then the price, on one line at every width. */
.pill-note {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 36px; padding: 0 12px 0 4px;
  border-radius: 999px; background: linear-gradient(180deg, rgba(var(--ink), 0.05), rgba(var(--ink), 0.02));
  border: 1px solid var(--line-strong); box-shadow: 0 1px 0 rgba(var(--ink), 0.04) inset, 0 8px 24px -12px rgba(0, 0, 0, calc(0.6 * var(--shadow-k)));
  font-size: 13px; white-space: nowrap; transition: border-color 0.2s, background-color 0.2s;
}
.pill-note:hover { border-color: rgba(var(--ink), 0.22); background: var(--raise); }
.pill-tag {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 10px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.22); color: var(--ok-text); font-weight: 500;
}
.pill-text { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.pill-text b { color: var(--fg); font-weight: 600; }
.pill-arrow { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s, stroke 0.2s; }
.pill-note:hover .pill-arrow { transform: translateX(2px); stroke: var(--fg); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); animation: live 2.4s infinite; display: inline-block; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
.hero-title {
  margin-top: 28px; max-width: 13em;
  font-size: clamp(40px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -0.045em;
}
.hero-sub { margin-top: 24px; max-width: 640px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-foot { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* ---- The app mockup ------------------------------------------------------ */
.app {
  margin-top: 72px; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, calc(0.7 * var(--shadow-k))), 0 0 0 1px rgba(var(--ink), 0.02) inset;
}
.app-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bar); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--raise-2); }
.app-title { font-size: 12.5px; color: var(--faint); margin: 0 auto; transform: translateX(-30px); }
.app-body { display: grid; grid-template-columns: 250px 1fr 290px; min-height: 560px; }

.rail { padding: 14px 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.company { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; margin-bottom: 10px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 500; width: fit-content; }
.co-mark { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(145deg, #0ea5e9, #0a6c99); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.chev { color: var(--faint); font-size: 12px; }
.bot { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; }
.bot-on { background: var(--raise); }
.bot-text { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; line-height: 1.35; }
.bot-text b { font-size: 13.5px; }
.bot-text span { color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot-text .needs { color: var(--amber); }
.bot time { font-size: 11px; color: var(--faint); align-self: start; margin-top: 3px; }
.badge { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); align-self: start; margin-top: 6px; }
.shimmer {
  background: linear-gradient(90deg, var(--faint) 0%, var(--fg) 50%, var(--faint) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: shimmer 2.2s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.orb { display: inline-block; width: 32px; height: 32px; flex: none; }
.orb svg { width: 100%; height: 100%; overflow: visible; display: block; }
.orb[data-working] .o-body { animation: bob 1.6s ease-in-out infinite; transform-origin: 50% 80%; }
.orb .o-eye { animation: blink 4.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }

.chat { position: relative; padding: 70px 28px 18px; display: flex; flex-direction: column; gap: 18px; }
.needs-bar {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(440px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px;
  padding: 8px 10px 8px 12px; border-radius: 16px;
  background: var(--needs-bg); border: 1px solid rgba(251, 191, 36, 0.25);
}
.nb-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 191, 36, 0.16); color: var(--amber); font-weight: 600; font-size: 13px; flex: none; }
.nb-text { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.35; color: var(--needs-sub); }
.nb-text b { color: var(--needs-fg); font-size: 13px; }
.nb-btn { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--on-amber); background: var(--amber); padding: 5px 12px; border-radius: 999px; }
.msg { display: flex; flex-direction: column; gap: 8px; max-width: 78%; }
.msg.me { align-self: flex-end; align-items: flex-end; position: relative; }
.quote { font-size: 12px; color: var(--faint); border-left: 2px solid var(--line-strong); background: rgba(var(--ink), 0.035); padding: 6px 12px; border-radius: 10px; }
.quote b { display: block; color: var(--muted); font-size: 11.5px; }
.bubble { background: var(--bubble); padding: 10px 16px; border-radius: 20px; font-size: 14px; line-height: 1.5; }
.react { position: absolute; bottom: -10px; left: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--raise); border: 2px solid var(--surface); display: grid; place-items: center; font-size: 13px; }
.folded { align-self: flex-start; font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.folded b { color: var(--muted); font-weight: 500; }
.fold-ico { width: 20px; height: 20px; border-radius: 50%; background: rgba(var(--ink), 0.05); display: grid; place-items: center; font-size: 11px; }
.bot-msg { align-self: flex-start; width: min(420px, 100%); }
.steps { font-size: 12.5px; color: var(--faint); }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.plan-head { display: flex; justify-content: space-between; font-size: 13.5px; }
.plan-head span { color: var(--faint); font-size: 12px; }
.plan-bar { height: 4px; border-radius: 4px; background: var(--raise-2); margin: 10px 0 12px; overflow: hidden; }
.plan-bar i { display: block; height: 100%; border-radius: 4px; background: #14b8a6; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.plan li { display: flex; align-items: center; gap: 9px; }
.plan li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; }
.plan li.done { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(var(--ink), 0.2); }
.plan li.done::before { background: #14b8a6; border-color: #14b8a6; box-shadow: inset 0 0 0 3px var(--card); }
.plan li.doing { color: var(--fg); }
.plan li.doing::before { border-color: #14b8a6; border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.composer { margin-top: auto; height: 50px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 18px; font-size: 13.5px; color: var(--faint); }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--raise-2); display: grid; place-items: center; color: var(--muted); }

.side { border-left: 1px solid var(--line); padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.side-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.side-head .orb { width: 30px; height: 30px; }
.side-head .muted { font-size: 12.5px; margin-left: auto; }
.tabs-mini { display: flex; gap: 4px; background: var(--card); padding: 3px; border-radius: 999px; font-size: 11.5px; color: var(--faint); }
.tabs-mini span { flex: 1; text-align: center; padding: 5px 0; border-radius: 999px; }
.tabs-mini .on { background: var(--raise-2); color: var(--fg); }
.screen-mini { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #f6f6f7; color: #222; }
.sm-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; background: #e7e7ea; font-size: 9.5px; color: #555; }
.sm-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c9c9ce; }
.sm-bar span { margin-left: 6px; background: #fff; border-radius: 6px; padding: 1px 8px; }
.sm-page { position: relative; padding: 10px; display: grid; gap: 6px; }
.sm-row { display: flex; align-items: center; gap: 7px; font-size: 10.5px; padding: 7px 8px; border-radius: 8px; background: #fff; border: 1px solid #ececef; }
.sm-row span { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.sm-row.on { border-color: #14b8a6; box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15); }
.sm-row b { color: #111; font-weight: 600; }
.sm-cursor { position: absolute; width: 0; height: 0; left: 62%; top: 30px; border-left: 7px solid #111; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transform: rotate(-30deg); animation: cursor 6s ease-in-out infinite; }
@keyframes cursor { 0%, 100% { left: 62%; top: 26px; } 40% { left: 30%; top: 60px; } 60% { left: 34%; top: 60px; } 80% { left: 70%; top: 92px; } }
.side-cap { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faint); }

/* ---- Sections ------------------------------------------------------------ */
.section { padding: 96px 0; position: relative; }
/* A one-line band between sections: the models we run on, and the trust row. */
.strip { padding: 40px 0; border-top: 1px solid rgba(var(--ink), 0.04); }
.strip-row { display: flex; align-items: center; justify-content: center; gap: 20px 28px; flex-wrap: wrap; }
.strip-title { font-size: 15px; color: var(--muted); }
.strip .models-list { flex: 0 1 auto; max-width: 100%; justify-content: center; }
.strip-note { flex-basis: 100%; text-align: center; font-size: 14px; color: var(--muted); }
.strip-trust { padding: 56px 0 8px; }
.trust.trust-4 { margin-top: 0; grid-template-columns: repeat(4, 1fr); }
/* Logins the AI never sees: the bot's browser, signed in by the vault. */
.vault-screen { position: relative; height: 330px; background: radial-gradient(ellipse at 70% 20%, #1d1a12, #111113 70%); padding: 18px; }
.vault .browser { left: 50%; top: 32px; transform: translateX(-50%); width: min(380px, 86%); }
.vault-tag { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(var(--bg-rgb), 0.85); border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--muted); }
.vault-tag code { font: 500 12px var(--mono); color: var(--amber); }
/* Get the app: every platform in one row under the final buttons. */
.plat-row { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.plat-row a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: color 0.15s, border-color 0.15s; }
.plat-row a:hover { color: var(--fg); border-color: var(--line-strong); }
.plat-row svg { width: 16px; height: 16px; fill: currentColor; }
.section + .section { border-top: 1px solid rgba(var(--ink), 0.04); }
.label { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }
.lead { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 520px; }
.lead.center { margin-inline: auto; text-align: center; }
.head { text-align: center; margin-bottom: 56px; }
.head .label { margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.split-rev { grid-template-columns: 1.15fr 1fr; }
.split-rev .split-copy { order: 2; }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; max-width: 500px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: rgba(var(--ink), 0.08); box-shadow: inset 0 0 0 4px var(--bg); border: 1px solid var(--line-strong); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.visual { padding: 28px; min-height: 420px; display: grid; place-items: center; overflow: hidden; position: relative; }
.visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(var(--ink), calc(0.05 * var(--glow-k))), transparent 70%); pointer-events: none; }

/* The bot's computer */
.desk { width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: #0b0b0c; position: relative; }
.desk-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.desk-top .orb { width: 24px; height: 24px; }
.ctl { font-size: 11.5px; color: #6ee7b7; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(52, 211, 153, 0.2); padding: 3px 10px; border-radius: 999px; }
.rel { margin-left: auto; font-size: 12px; font-weight: 500; background: #fff; color: #0a0a0a; padding: 5px 14px; border-radius: 999px; }
.desk-screen { position: relative; height: 330px; background: radial-gradient(ellipse at 30% 20%, #1a1d24, #111113 70%); padding: 18px; }
.win { position: absolute; border-radius: 12px; overflow: hidden; border: 1px solid rgba(var(--ink), 0.1); box-shadow: 0 20px 50px rgba(0, 0, 0, calc(0.5 * var(--shadow-k))); }
.win-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; font-size: 11px; }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a3e; }
.win-bar span { margin-left: 8px; color: #8b8d93; }
.browser { left: 18px; top: 18px; width: 64%; background: #f7f7f8; }
.browser .win-bar { background: #e9e9ec; }
.browser .win-bar i { background: #c8c8cd; }
.browser .win-bar span { color: #666; background: #fff; padding: 2px 10px; border-radius: 8px; }
.form { padding: 18px 20px 22px; color: #1a1a1a; display: grid; gap: 10px; }
.f-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.f-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 9px 12px; border: 1px solid #e3e3e7; border-radius: 9px; background: #fff; color: #666; }
.f-row b { color: #111; font-weight: 600; }
.f-btn { justify-self: start; margin-top: 4px; background: #635bff; color: #fff; font-size: 12.5px; font-weight: 600; padding: 8px 18px; border-radius: 8px; }
.term { right: 18px; bottom: 18px; width: 58%; background: #0d0d0f; }
.term .win-bar { background: #18181b; }
.term pre { margin: 0; padding: 12px 14px 16px; font: 12px/1.7 var(--mono); color: #d4d4d8; white-space: pre-wrap; }
.term .p { color: #5eead4; }
.caret { display: inline-block; width: 7px; height: 14px; background: #d4d4d8; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Calls */
.phone-stage { min-height: 520px; }
.phone { position: relative; width: 270px; height: 470px; border-radius: 44px; background: #050505; border: 1px solid rgba(var(--ink), 0.14); box-shadow: 0 30px 80px rgba(0, 0, 0, calc(0.6 * var(--shadow-k))), inset 0 0 0 6px #0d0d0e; padding: 22px 14px; }
.phone-notch { width: 90px; height: 24px; border-radius: 999px; background: #000; margin: 0 auto; }
.call { height: calc(100% - 24px); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 46px 14px 10px; }
.call-ring { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.call-ring::before, .call-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(249, 115, 22, 0.45); animation: ring 2.4s ease-out infinite; }
.call-ring::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.call-ring .orb { width: 76px; height: 76px; }
.call b { margin-top: 20px; font-size: 20px; }
.call .muted { font-size: 13px; }
.call p { margin-top: 22px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.call-btns { margin-top: auto; display: flex; gap: 56px; }
.cb { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; }
.cb svg { width: 24px; height: 24px; fill: #fff; }
.cb.no { background: #ef4444; }
.cb.yes { background: #10b981; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-12deg); } 20%, 40% { transform: rotate(12deg); } 50% { transform: rotate(0); } }

/* Jobs */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font: 500 13.5px/1 var(--sans); color: var(--muted); background: var(--card); border: 1px solid var(--line); height: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer; transition: all 0.15s; }
.chip:hover { color: var(--fg); border-color: var(--line-strong); }
.chip.on { background: var(--contrast); color: var(--on-contrast); border-color: var(--contrast); }
.job-lead { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 480px; min-height: 80px; }
.mini-chat { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; }
.mc-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mc-head .orb { width: 30px; height: 30px; }
.mc-head .muted { margin-left: auto; font-size: 12px; }
.mc { max-width: 88%; padding: 10px 15px; border-radius: 18px; font-size: 13.5px; line-height: 1.55; animation: rise 0.45s cubic-bezier(.2, .8, .2, 1) backwards; }
.mc.u { align-self: flex-end; background: var(--bubble); }
.mc.b { align-self: flex-start; background: var(--raise); border: 1px solid var(--line); color: var(--fg-2); }
.mc.n { align-self: flex-start; background: none; padding: 0 4px; font-size: 12px; color: var(--faint); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.sec { padding: 32px 28px 8px 0; }
.sec + .sec { padding-left: 28px; border-left: 1px solid var(--line); }
.mono { font: 500 12px/1 var(--mono); color: var(--faint); letter-spacing: 0.06em; }
.sec h3 { margin-top: 20px; font-size: 17px; }
.sec p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Download */
.dl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dl { padding: 32px 28px; display: flex; flex-direction: column; min-height: 240px; transition: border-color 0.25s, transform 0.25s, background-color 0.25s; }
.dl:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-2px); }
.dl-ico { width: 28px; height: 28px; fill: currentColor; color: var(--fg); }
.dl h3 { margin-top: 26px; font-size: 20px; letter-spacing: -0.015em; }
.dl p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.dl p + p { margin-top: 10px; font-size: 13.5px; }
.dl-meta { display: block; margin-top: 10px; font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.dl-go { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 500; }
.dl:hover .dl-go { text-decoration: underline; text-underline-offset: 4px; }
/* Linux has two downloads: each link underlines on its own, not the whole card. */
/* The visitor's own platform (site.js): a brighter edge and a small tag. */
.dl { position: relative; }
.dl-you { border-color: var(--line-strong); background: var(--card-lit); box-shadow: 0 0 0 1px rgba(var(--ink), 0.04), 0 18px 50px -24px rgba(var(--ink), 0.12); }
/* The card for this device gets a real button (site.js moves it to the front). */
.dl-you > .dl-go:not(.dl-links), .dl-you .dl-links a:first-child { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--contrast); color: var(--on-contrast); font-size: 14px; font-weight: 500; }
.dl-you > .dl-go:not(.dl-links) { align-self: flex-start; margin-top: auto; }
.dl-you > :nth-last-child(2):has(+ .dl-go:not(.dl-links)) { margin-bottom: 20px; }
.dl-you:hover .dl-go, .dl-you .dl-links a:first-child:hover { text-decoration: none; }
.dl-you .dl-links { align-items: center; }
.dl-badge { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--contrast); color: var(--on-contrast); font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; }
.hero-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hero-foot a:hover { color: var(--fg); }
.dl-links { display: flex; gap: 20px; flex-wrap: wrap; }
.dl-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* The download page: one primary button for this device, then every platform, three across. */
.dl-top { padding-bottom: 24px; }
.dl-top .hero-sub { margin-top: 18px; }
.dl-section { padding-top: 40px; }
.dl-grid.dl-six { grid-template-columns: repeat(3, 1fr); }
.dl-six .dl { min-height: 220px; }
.dl:hover .dl-links { text-decoration: none; }
.dl-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* FAQ */
.faq-wrap { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 17px; font-weight: 500; position: relative; transition: color 0.15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; color: var(--faint); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--fg); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); line-height: 1.7; }

/* Pricing page: four plan cards (built like the download cards), then what each bot computer has. */
.nav-links a[aria-current] { color: var(--fg); }
.pricing-top { padding-top: 96px; }
.pricing-title { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { position: relative; padding: 32px 28px 28px; display: flex; flex-direction: column; transition: border-color 0.25s, background-color 0.25s; }
.tier:hover { border-color: var(--line-strong); }
.tier h3 { font-size: 20px; letter-spacing: -0.015em; }
.tier-for { margin-top: 8px; color: var(--muted); font-size: 14.5px; min-height: 3lh; }
.tier-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.tier-price b { font-size: clamp(38px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.045em; }
.tier-price span { color: var(--muted); font-size: 15px; }
/* Every card keeps the same room here, so the stats below line up. */
.tier-offer { margin-top: 14px; min-height: 3lh; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
/* Four numbers in a 2 x 2 grid: bots and computers, then the AI and voice the plan includes. */
.tier-stats { margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.tier-stats div { padding: 18px 0 18px; display: flex; flex-direction: column; gap: 8px; }
.tier-stats dd { order: -1; }
.tier-stats div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.tier-stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.tier-stats dt { font: 500 11px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.tier-stats dd { margin: 0; font-size: 32px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.tier-go { margin-top: 22px; width: 100%; }
/* What the plan includes, as a list under the numbers: "Everything in Starter, plus:". */
.tier-lead { margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--fg); }
.tier-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 11px; }
.tier-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.tier-list b { color: var(--fg); }
.tl-ico { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
/* Plus: the highlighted plan, lit like the visitor's own download card. */
.tier-pop { border-color: var(--line-strong); background: var(--card-lit); box-shadow: 0 0 0 1px rgba(var(--ink), 0.05), 0 24px 60px -28px rgba(var(--ink), 0.16); }
.tier-badge { position: absolute; top: 24px; right: 22px; padding: 3px 10px; border-radius: 999px; background: var(--contrast); color: var(--on-contrast); font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; }
@media (min-width: 1300px) { .tier-for, .tier-offer { min-height: 2lh; } }
.tiers-foot { margin-top: 32px; text-align: center; color: var(--muted); font-size: 14.5px; text-wrap: balance; }
.tiers-foot .sep { color: var(--faint); margin: 0 8px; }
/* The line every price needs, a step brighter than the small print under it. */
.tiers-note { margin-top: 32px; text-align: center; color: var(--fg); font-size: 15px; text-wrap: balance; }
.tiers-note + .tiers-foot { margin-top: 10px; }
/* Which plan? One sentence under each plan's column. */
.plan-help { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.plan-help h3 { font-size: 19px; letter-spacing: -0.015em; }
.plan-help dl { margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-help dt { font-size: 14.5px; font-weight: 500; color: var(--fg); }
.plan-help dd { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

.spec { padding: 36px 34px 32px; position: relative; overflow: hidden; }
.spec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(var(--ink), calc(0.05 * var(--glow-k))), transparent 70%); pointer-events: none; }
.spec-lead { color: var(--muted); font-size: 15px; max-width: 360px; }
.spec-grid { margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.spec-grid div { background: var(--raise); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.spec-grid dd { order: -1; }
.spec-grid dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.spec-grid dd { margin: 0; font-size: 34px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.spec-note { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }

/* Final call to action */
.final { padding: 150px 0 160px; overflow: hidden; }
.final-glow { position: absolute; left: 50%; bottom: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(var(--ink), calc(0.08 * var(--glow-k))), transparent 65%); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-mark { width: 64px; height: 64px; fill: var(--contrast); margin-bottom: 28px; filter: drop-shadow(0 0 30px rgba(var(--ink), calc(0.18 * var(--glow-k)))); }
.final h2 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -0.04em; }
.final-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--faint); min-height: 20px; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--err); }

/* Footer: the brand and a line on the left, four columns of links on the right. */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin-top: 14px; max-width: 280px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.foot-col h4 { margin: 0 0 16px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.foot-col a { transition: color 0.15s; }
.foot-col a:hover { color: var(--fg); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }

/* ---- Entrances ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s cubic-bezier(.2, .8, .2, 1), transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- Smaller screens ----------------------------------------------------- */
@media (max-width: 1080px) {
  .dl-grid, .tiers { grid-template-columns: repeat(2, 1fr); }
  /* Five downloads in two columns: the last one takes the whole row. */
  .dl-grid > .dl:last-child:nth-child(odd) { grid-column: span 2; }
  .tier-for { min-height: 0; }
  .tier-price b { font-size: 48px; }
  .tier-offer { min-height: 2lh; }
  .plan-help dl { grid-template-columns: repeat(2, 1fr); }
  .app-body { grid-template-columns: 220px 1fr; }
  .side { display: none; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .sec:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 880px) {
  .nav-links, .nav-signin { display: none; }
  .nav-burger { display: grid; }
  .nav .btn-sm { height: 40px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-rev .split-copy { order: 0; }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .pill-extra { display: none; }
  .nav-row { gap: 16px; }
  .link-quiet { display: none; }
  .hero { padding-top: 56px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { width: 100%; flex-direction: column; }
  .app { margin-top: 48px; border-radius: 18px; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .rail { display: none; }
  .chat { padding: 76px 14px 14px; }
  .msg { max-width: 92%; }
  .dl-grid, .dl-grid.dl-six, .sec-grid, .tiers, .verdict-cols { grid-template-columns: 1fr; }
  .dl-grid > .dl:last-child:nth-child(odd) { grid-column: auto; }
  .pricing-top { padding-top: 64px; }
  .tier { padding: 28px 22px 22px; }
  .tier-offer { min-height: 0; }
  .plan-help dl { grid-template-columns: 1fr; }
  .tiers-foot .sep { display: none; }
  .tiers-foot { display: grid; gap: 4px; justify-items: center; }
  .spec { padding: 28px 20px 24px; }
  .spec-grid div { padding: 18px 16px 16px; }
  .spec-grid dd { font-size: 28px; }
  .sec, .sec + .sec { padding: 26px 0 8px; border-left: 0; }
  .sec + .sec { border-top: 1px solid var(--line); }
  .visual { padding: 18px; min-height: 0; }
  .desk-screen { height: 300px; padding: 10px; }
  .browser { left: 10px; top: 10px; width: 84%; }
  .term { right: 10px; bottom: 10px; width: 82%; }
  .head { margin-bottom: 40px; }
  .faq summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Legal pages (privacy): plain prose, one readable column. */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 16px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal li b, .legal p b { color: var(--fg); font-weight: 500; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 10px; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ======================================================================== *
 * More of the story: how it works, your model, the trust row, the pricing  *
 * teaser, the comparisons (map, race, table) and the trust pages. Same     *
 * tokens and card language as everything above.                            *
 * ======================================================================== */

.link-under { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; transition: color 0.15s; }
.link-under:hover { color: var(--fg); }

/* How it works: three numbered steps. */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.how-step { padding: 30px 28px 32px; position: relative; }
.how-step .mono { display: inline-flex; align-items: center; gap: 10px; }
.how-step .mono::after { content: ''; width: 28px; height: 1px; background: var(--line-strong); }
.how-step h3 { margin-top: 20px; font-size: 19px; letter-spacing: -0.015em; }
.how-step p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.how-step .orb { width: 28px; height: 28px; position: absolute; top: 26px; right: 26px; }

/* Your model: a card of plain name chips (no logos), and the line that matters. */
.models { margin-top: 16px; padding: 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.models-copy { flex: 1 1 320px; }
.models-copy h3 { font-size: 19px; letter-spacing: -0.015em; }
.models-copy p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.models-list { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.models-list li { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--raise); border: 1px solid var(--line); font-size: 13.5px; color: var(--fg-2); }
.models-list li.more { color: var(--muted); background: none; border-style: dashed; }

/* Trust row: five short claims, each one linked to where it's explained. */
.trust { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust a { padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; transition: background-color 0.2s; }
.trust a + a { border-left: 1px solid var(--line); }
.trust a:hover { background: rgba(var(--ink), 0.025); }
.trust b { font-size: 14.5px; }
.trust span { color: var(--faint); font-size: 13px; line-height: 1.45; }

/* ---- Compare page: pick a rival, the verdict, then a short table ----------- */
.page-top { padding: 96px 0 40px; }
.page-title { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
.page-meta { margin-top: 18px; font: 500 12px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--faint); }
.page-meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cmp-top { padding-bottom: 0; }
.cmp-top .head { margin-bottom: 36px; }
.cmp-body { padding-top: 32px; }
/* The rival picker: one pill holding every choice; the chosen one is white. */
.seg { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; padding: 4px; gap: 2px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.seg button { flex: none; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 14.5px/1 var(--sans); cursor: pointer; transition: color 0.15s, background-color 0.15s; }
.seg button:hover { color: var(--fg); }
.seg button.on { background: var(--contrast); color: var(--on-contrast); }
.seg button:focus-visible { outline-offset: -3px; }
.seg button.on:focus-visible { outline-color: var(--on-contrast); }
.seg.more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
/* The verdict: why you'd pick us, why you'd pick them, and the price of each. */
.verdict-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.verdict-cols .card { padding: 28px 30px 30px; }
.verdict-cols h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -0.02em; }
.verdict-cols h2 svg { width: 24px; height: 24px; flex: none; }
.verdict-cols ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.verdict-cols li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.verdict-cols li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 600 10px/1 var(--sans); background: var(--raise-2); color: var(--muted); }
.verdict-us { border-color: rgba(var(--ink), 0.28); background: var(--card-lit); box-shadow: 0 24px 60px -30px rgba(var(--ink), 0.18); }
.verdict-us li::before { background: var(--contrast); color: var(--on-contrast); }
.verdict-price { margin-top: 16px; text-align: center; color: var(--muted); font-size: 14.5px; }
.verdict-all p { text-align: center; color: var(--muted); font-size: 16px; padding: 8px 0; }
.both { margin-top: 16px; padding: 22px 26px; }
.both h3 { font-size: 16px; }
.both p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cmp-tools { margin: 48px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cmp-tools .chip { height: 40px; }
/* The table: Henchkin first and outlined; short answers, details on request. */
.matrix { border-radius: var(--radius); }
.matrix table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.matrix th, .matrix td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.matrix tbody:last-child tr:last-child > * { border-bottom: 0; }
.matrix thead th { position: sticky; top: 68px; z-index: 2; background: rgba(var(--card-rgb), 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 15px; font-weight: 500; padding-top: 20px; }
.matrix thead th:first-child { border-top-left-radius: var(--radius); }
.matrix thead th:last-child { border-top-right-radius: var(--radius); }
.matrix thead th span { display: block; margin-top: 4px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.04em; color: var(--faint); }
.matrix thead th.us { background: var(--raise); color: var(--fg); box-shadow: inset 1px 0 0 rgba(var(--ink), 0.22), inset -1px 0 0 rgba(var(--ink), 0.22), inset 0 1px 0 rgba(var(--ink), 0.22); }
.matrix tbody:last-child tr:last-child td.us { box-shadow: inset 1px 0 0 rgba(var(--ink), 0.22), inset -1px 0 0 rgba(var(--ink), 0.22), inset 0 -1px 0 rgba(var(--ink), 0.22); }
.matrix tbody th { font-size: 15px; font-weight: 500; width: 24%; }
.matrix .grp th { padding: 22px 18px 10px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.matrix td { font-size: 15.5px; line-height: 1.4; color: var(--fg-2); }
.matrix td.us { background: rgba(var(--ink), 0.045); box-shadow: inset 1px 0 0 rgba(var(--ink), 0.22), inset -1px 0 0 rgba(var(--ink), 0.22); }
.matrix td.us .cell-short { color: var(--fg); font-weight: 500; }
.cell-short { display: inline; }
.matrix td.plain .cell-more { padding-left: 0; }
.cell-more { display: none; margin-top: 6px; padding-left: 30px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.matrix.show-notes .cell-more { display: block; }
/* Henchkin and the chosen rival by default; every column with "All". */
.matrix table:not([data-pick='all']) :is(th, td)[class*='c-']:not(.c-henchkin) { display: none; }
.matrix table[data-pick='grokbot'] .c-grokbot, .matrix table[data-pick='hermes'] .c-hermes,
.matrix table[data-pick='n8n'] .c-n8n, .matrix table[data-pick='openclaw'] .c-openclaw { display: table-cell !important; }
.matrix table:not([data-pick='all']) thead th:not(.us):last-child, .matrix table:not([data-pick='all']) thead th[class*='c-']:not(.us) { border-top-right-radius: var(--radius); }
.mk { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 600 11px/1 var(--sans); flex: none; }
.matrix td .mk { margin: 0 10px 0 0; vertical-align: -4px; }
.mk-yes { background: var(--contrast); color: var(--on-contrast); }
.mk-part { border: 1px solid var(--muted); background-image: linear-gradient(90deg, var(--muted) 50%, transparent 50%); }
.mk-no { background: var(--raise-2); color: var(--muted); }
.mk-na { border: 1px dashed var(--faint); color: var(--faint); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .mk { margin: 0; width: 18px; height: 18px; font-size: 10px; }
.sources { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 4px; }
.sources summary { cursor: pointer; padding: 18px 0; font-size: 15px; font-weight: 500; color: var(--muted); }
.sources summary:hover { color: var(--fg); }
.sources p { color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 760px; }
.sources ul { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; }
.sources a:hover { color: var(--fg); }

/* Trust pages: a short contents column beside the prose. */
.doc { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; align-items: start; }
/* A long contents list (the terms) scrolls on its own rather than running off the bottom of the screen. */
.doc-toc { position: sticky; top: 100px; display: grid; align-content: start; gap: 10px; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: none; font-size: 13.5px; color: var(--faint); }
.doc-toc a { transition: color 0.15s; }
.doc-toc a:hover { color: var(--fg); }
.legal h2, .legal .callout { scroll-margin-top: 96px; }
.callout { margin-top: 32px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.callout h3 { font-size: 15px; }
.legal .callout p, .legal .callout li { font-size: 14.5px; }
.log { list-style: none; margin: 0; padding: 0; }
.log > li { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.log time { font: 500 12px/1.6 var(--mono); letter-spacing: 0.04em; color: var(--faint); }
.log h3 { font-size: 18px; letter-spacing: -0.015em; }
.log ul { margin: 12px 0 0; padding-left: 18px; }
.log li li { color: var(--muted); font-size: 15px; line-height: 1.65; }
.log li li + li { margin-top: 6px; }

@media (max-width: 1080px) {
  .trust.trust-4 { grid-template-columns: 1fr 1fr; }
  .trust-4 a:nth-child(3) { border-left: 0; }
  .trust-4 a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  /* Touch targets: nothing you tap is under 44px. */
  .chip, .cmp-tools .chip { height: 44px; }
  .pill-note { height: 44px; padding-left: 8px; }
  .nav .btn-sm { height: 44px; }
  .brand, .popular a, .crumbs a, .article .on-page a { display: inline-flex; align-items: center; min-height: 44px; }
  /* Inline-block, not flex: this link holds a price, and flex would drop the spaces around it. */
  .tiers-foot .link-under { display: inline-block; padding-block: 11px; line-height: 22px; }
  .popular, .article .on-page { row-gap: 0; align-items: center; }
  .how { grid-template-columns: 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc-toc { display: none; }
  .doc-toc.help-nav { display: grid; position: static; max-height: none; overflow: visible; margin-bottom: 24px; }
  .help-nav > :not(.help-search-side) { display: none; }
  .help-search-side input { font-size: 16px; }
  .log > li { grid-template-columns: 1fr; gap: 10px; }
  /* A phone shows Henchkin and one rival, never all five. */
  .seg .seg-all { display: none; }
  .matrix tbody th { width: 30%; }
}
@media (max-width: 640px) {
  .page-top { padding-top: 64px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col ul { gap: 4px; }
  .foot-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .vault-screen { height: 300px; }
  .vault-tag { font-size: 11.5px; padding: 7px 12px; }
  .verdict-cols { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 10px; font-size: 14px; }
  .verdict-cols .card { padding: 24px 22px; }
  .verdict-cols h2 { font-size: 20px; }
  /* The table becomes one card per row: the question, then the two answers stacked. */
  .matrix table, .matrix tbody, .matrix tr { display: block; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix tbody tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .matrix tbody:last-child tr:last-child { border-bottom: 0; }
  .matrix tr.grp { padding: 22px 18px 0; border-bottom: 0; }
  .matrix tbody th, .matrix .grp th { display: block; width: auto; padding: 0; border: 0; }
  .matrix td { position: relative; margin-top: 12px; padding: 0 0 0 30px; border: 0; font-size: 15px; }
  .matrix td.c-henchkin, .matrix table[data-pick='grokbot'] td.c-grokbot, .matrix table[data-pick='hermes'] td.c-hermes,
  .matrix table[data-pick='n8n'] td.c-n8n, .matrix table[data-pick='openclaw'] td.c-openclaw { display: block !important; }
  .matrix td.us, .matrix tbody:last-child tr:last-child td.us { background: none; box-shadow: none; }
  .matrix td.plain { padding-left: 0; }
  .matrix td::before { content: attr(data-name); display: block; margin-bottom: 3px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.04em; color: var(--faint); }
  .matrix td .mk { position: absolute; left: 0; top: 18px; margin: 0; }
  .cell-more { padding-left: 0; }
  .plat-row a { padding: 0 14px; }
}

/* ======================================================================== *
 * Help centre (/help): a search box over topic cards, then articles in the *
 * trust pages' layout: every article down the side, prose and screenshots. *
 * ======================================================================== */

.help-top .head { margin-bottom: 40px; }
.help-search { position: relative; width: min(600px, 100%); margin: 0 auto; }
.help-search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.help-search input {
  width: 100%; height: 56px; padding: 0 22px 0 50px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line-strong); color: var(--fg);
  font: 400 16px/1 var(--sans); outline: none; transition: border-color 0.15s, box-shadow 0.2s;
  box-shadow: 0 18px 50px -28px rgba(var(--ink), 0.12);
}
.help-search input::placeholder { color: var(--faint); }
.help-search input:focus { border-color: rgba(var(--ink), 0.3); box-shadow: 0 0 0 6px rgba(var(--ink), 0.05); }
.help-search input::-webkit-search-cancel-button { filter: var(--cancel-filter); }
/* Results replace the topics while there's a query (site.js). */
.help-results { width: min(760px, 100%); margin: 28px auto 0; list-style: none; padding: 0; }
.help-results[hidden] { display: none; }
.help-results li + li { border-top: 1px solid var(--line); }
.help-results a { display: block; padding: 16px 4px; border-radius: 12px; transition: background-color 0.15s; }
.help-results a:hover { background: rgba(var(--ink), 0.025); }
.help-results b { display: block; font-size: 15.5px; }
.help-results span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.help-results small { display: block; margin-bottom: 6px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.help-results mark { padding: 0 2px; border-radius: 4px; background: rgba(var(--ink), 0.16); color: var(--fg); }
.help-results .none { padding: 20px 4px; color: var(--muted); text-align: center; }
.popular { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 13.5px; color: var(--faint); }
.popular a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--ink), 0.2); transition: color 0.15s; }
.popular a:hover { color: var(--fg); }

.topic-group + .topic-group { margin-top: 56px; }
.topic-group > .label { margin-bottom: 16px; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic { padding: 26px 26px 24px; display: flex; flex-direction: column; min-height: 176px; transition: border-color 0.25s, transform 0.25s, background-color 0.25s; }
.topic:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-2px); }
.topic-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--raise); border: 1px solid var(--line); }
.topic-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--fg); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topic h3 { margin-top: 20px; font-size: 17px; letter-spacing: -0.01em; }
.topic p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.topic .go { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--faint); transition: color 0.15s; }
.topic:hover .go { color: var(--fg); }
.help-cta { margin-top: 72px; padding: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.help-cta > div:first-child { flex: 1 1 320px; }
.help-cta h3 { font-size: 19px; letter-spacing: -0.015em; }
.help-cta p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.help-cta .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* An article: every article down the side (this one lit), the prose, then the next one. */
.help-doc { padding-top: 72px; }
.help-nav { gap: 2px; font-size: 14px; }
.help-search-side { width: 100%; margin: 0 0 8px; }
.help-search-side svg { left: 14px; width: 16px; height: 16px; }
.help-search-side input { height: 44px; padding: 0 14px 0 38px; font-size: 14.5px; box-shadow: none; }
.help-search-side input:focus { box-shadow: none; }
.help-search-side input:focus-visible { outline-offset: -2px; }
.help-nav b { margin: 18px 0 6px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.help-nav b:first-child { margin-top: 0; }
.help-nav a { padding: 6px 12px; margin-left: -12px; border-radius: 10px; color: var(--muted); }
.help-nav a:hover { background: rgba(var(--ink), 0.03); }
.help-nav a[aria-current] { color: var(--fg); background: var(--card); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--faint); margin-bottom: 18px; }
.legal .crumbs a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.crumbs a:hover { color: var(--fg); }
.legal.article { max-width: none; }
.article h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.06; letter-spacing: -0.035em; margin: 0; }
.article .intro { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.article .on-page { margin-top: 28px; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.article .on-page span { width: 100%; font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.legal .on-page a { color: var(--muted); text-decoration: none; }
.legal .on-page a:hover { color: var(--fg); }
.article h2 { font-size: 24px; letter-spacing: -0.02em; margin: 56px 0 14px; }
.article h3 { font-size: 17px; margin: 32px 0 8px; }
.article p + p { margin-top: 14px; }
.article ul { margin: 14px 0; }
.article ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.article ol.steps > li { counter-increment: step; position: relative; padding-left: 42px; }
.article ol.steps > li + li { margin-top: 0; }
.article ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--raise-2); color: var(--fg); font: 500 12.5px/1 var(--mono);
}
.article kbd { font: 500 12.5px/1 var(--mono); padding: 3px 7px; border-radius: 7px; background: var(--raise); border: 1px solid var(--line-strong); color: var(--fg); white-space: nowrap; }
.article .callout { margin: 24px 0; }
.article .callout h3 { margin: 0 0 6px; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.article td { color: var(--muted); line-height: 1.55; }
.article td:first-child { color: var(--fg); font-weight: 500; }
/* Screenshots: the app's own dark windows, framed like the product cards. Click for full size. */
.shot { margin: 26px 0 30px; }
.legal .shot a { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, calc(0.9 * var(--shadow-k))); cursor: zoom-in; text-decoration: none; transition: border-color 0.2s; }
.legal .shot a:hover { border-color: rgba(var(--ink), 0.24); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--faint); text-align: center; text-wrap: balance; }
.legal .shot-sm a { width: fit-content; max-width: 100%; margin-inline: auto; }
.shot-sm img { width: auto; max-width: 100%; max-height: 560px; }
.shot-pair .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; margin-inline: auto; }
.legal .shot-pair a { border-radius: 28px; }
.pager { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.legal .pager a { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.legal .pager a:hover { border-color: var(--line-strong); background: var(--card); }
.pager small { font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.pager b { font-size: 15.5px; }
.pager .next { grid-column: 2; text-align: right; }
.article .still { margin-top: 28px; font-size: 14.5px; color: var(--faint); }
/* Full-size screenshot (site.js). */
.zoom { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 24px; border: 0; background: rgba(5, 5, 5, 0.94); place-items: center; cursor: zoom-out; }
.zoom[open] { display: grid; }
.zoom::backdrop { background: transparent; }
.zoom img { max-width: 100%; max-height: calc(100vh - 48px); border-radius: 14px; border: 1px solid var(--line-strong); }

@media (max-width: 1080px) {
  .topics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topic-group + .topic-group { margin-top: 36px; }
  .topics { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: hidden; }
  .topic { min-height: 44px; padding: 13px 18px; border: 0; border-radius: 0; background: none; }
  .topic + .topic { border-top: 1px solid var(--line); }
  .topic:hover { transform: none; }
  .topic-ico, .topic .go { display: none; }
  .topic h3 { margin-top: 0; font-size: 16px; }
  .topic p { margin-top: 2px; font-size: 13.5px; line-height: 1.45; }
  .help-search input { height: 52px; }
  .help-cta { padding: 24px 22px; }
  .help-doc { padding-top: 48px; }
  .article .intro { font-size: 17px; }
  .article h2 { margin-top: 44px; }
  .legal .shot a { border-radius: 14px; }
  .shot-pair .pair { gap: 10px; }
  .legal .shot-pair a { border-radius: 20px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: auto; }
  .article table { font-size: 14px; }
  .article th, .article td { padding: 10px 8px; }
}

/* ---- Phones: everything keeps inside its card and the screen ----------------- *
 * Narrow here also means a phone with its text or display size turned up, where   *
 * the page lays out as if the screen were 280 to 320 wide.                         */
body { overflow-wrap: break-word; }
.article a, .legal a { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  /* The mock-ups' title bars: one line each, the name giving way first. */
  .desk-top { gap: 8px; padding: 10px 12px; }
  .desk-top b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ctl, .rel { flex-shrink: 0; white-space: nowrap; }
  .win-bar span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .f-row { gap: 10px; }
  .f-row span { flex-shrink: 0; }
  .f-row b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* The vault's note wraps inside its card, in its own room under the sign-in form. */
  .vault-screen { height: 372px; }
  .vault .browser { top: 18px; width: 90%; }
  .vault-tag { left: 10px; right: 10px; bottom: 12px; transform: none; display: block; white-space: normal; text-align: center; line-height: 1.5; border-radius: 14px; }
  .vault-tag .dot-live { display: inline-block; margin-right: 10px; vertical-align: 1px; }
  .vault-tag code { white-space: nowrap; }

  .phone { width: min(270px, 100%); }
}

/* No room for "You have control" beside the name and Release. */
@media (max-width: 420px) {
  .desk:not(.vault) .ctl { display: none; }
}

/* The narrowest: the header keeps its menu button on screen. */
@media (max-width: 340px) {
  .nav-download { display: none; }
  .nav-row { gap: 8px; }
  .nav-cta { gap: 4px; }
  .brand { gap: 7px; font-size: 15px; }
  .nav-dl { padding-inline: 12px; font-size: 13px; }
  .article th, .article td { padding: 9px 6px; overflow-wrap: anywhere; }
  .article table { font-size: 13px; }
  .call-btns { gap: 40px; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier { padding: 24px 16px 18px; }
  .tier-stats dd { font-size: 28px; }
  .tier-stats div:nth-child(even) { padding-left: 12px; }
}

/* ---- The app, working (demo.js): the still picture above, made of real controls ---- */
.demo-hint { display: none; margin-top: 14px; text-align: center; font-size: 13px; color: var(--faint); }
html:not(.no-js) .demo-hint { display: block; }
.app-body.live { height: 620px; min-height: 0; }
.live .rail, .live .side { min-height: 0; overflow-y: auto; }
.live .bot { width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.15s; }
.live .bot:hover { background: var(--card); }
.live .bot.bot-on { background: var(--raise); }
.live .bot:focus-visible, .live .tabs-mini button:focus-visible, .live .take:focus-visible, .live .quick-btn:focus-visible, .live .needs-bar button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.live .chat { padding: 14px 28px 18px; gap: 12px; min-height: 0; min-width: 0; }
.panes { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pane { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.pane[hidden] { display: none; }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; padding: 6px 4px 12px; scrollbar-width: thin; scrollbar-color: var(--raise-2) transparent; }
.chat-log > * { flex: none; animation: demo-in 0.28s ease both; }
@keyframes demo-in { from { opacity: 0; transform: translateY(6px); } }
.live .needs-bar { position: static; transform: none; width: 100%; flex: none; flex-wrap: wrap; animation: demo-in 0.28s ease both; }
.nb-acts { margin-left: auto; display: flex; gap: 6px; }
.live .nb-btn, .nb-no { border: 0; font: 500 12px/1 var(--sans); padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.live .nb-btn { margin: 0; animation: demo-nudge 1.8s ease-in-out infinite; }
.nb-no { background: rgba(var(--ink), 0.08); color: var(--needs-fg); }
.nb-no:hover { background: rgba(var(--ink), 0.14); }
@keyframes demo-nudge { 50% { box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.18); } }
.bot-bubble { background: none; padding: 0; border-radius: 0; color: var(--fg); }
.typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 6px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: demo-dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes demo-dot { 50% { opacity: 0.3; transform: translateY(-2px); } }
.quick { display: flex; justify-content: flex-end; flex: none; }
.quick:empty { display: none; }
.quick-btn { border: 1px solid var(--line-strong); background: var(--card); color: var(--fg); font: 500 13px/1 var(--sans); padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: background 0.15s, border-color 0.15s; animation: demo-in 0.28s ease both; }
.quick-btn:hover { background: var(--raise); border-color: rgba(var(--ink), 0.28); }
.demo-end { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.demo-end p { margin: 0; flex: 1 1 200px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.live .composer { flex: none; margin-top: 0; }
.live .tabs-mini button { flex: 1; border: 0; background: none; color: inherit; font: inherit; text-align: center; padding: 5px 0; border-radius: 999px; cursor: pointer; }
.live .tabs-mini button:hover { color: var(--fg); }
.live .tabs-mini .on { background: var(--raise-2); color: var(--fg); }
.side-panel { display: flex; flex-direction: column; gap: 12px; }
.live .sm-cursor { animation: none; transition: left 0.6s ease, top 0.6s ease; }
.live .sm-row { transition: border-color 0.2s; }
.live .screen-mini.yours { box-shadow: 0 0 0 2px #14b8a6; }
.live .screen-mini.yours .sm-row { cursor: pointer; }
.side-ctl { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.side-ctl .side-cap { margin: 0; }
.take { flex: none; border: 1px solid var(--line-strong); background: var(--card); color: var(--fg); font: 500 12px/1 var(--sans); padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.take:hover { background: var(--raise); }
.side-list { margin: 0; display: grid; gap: 12px; font-size: 13px; }
.side-list dt { font: 500 11px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.side-list dd { margin: 3px 0 0; color: var(--fg); line-height: 1.4; }
.side-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.side-files li { padding: 9px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); overflow-wrap: anywhere; }
.plans .plat-row { margin-top: 28px; }
@media (max-width: 1180px) {
  .app-body.live { height: auto; grid-template-columns: 220px minmax(0, 1fr); }
  .live .rail { max-height: 560px; }
  .live .chat { height: 560px; }
  .live .side { display: flex; grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .app-body.live { grid-template-columns: minmax(0, 1fr); }
  .live .rail { flex-direction: row; gap: 6px; padding: 8px; max-height: none; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; display: flex; }
  .live .rail .company { display: none; }
  .live .bot { width: auto; flex: none; grid-template-columns: 26px auto; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; position: relative; }
  .live .bot .orb { width: 26px; height: 26px; }
  .live .bot-line { display: none; }
  .live .bot .badge { position: absolute; top: 6px; right: 6px; margin: 0; }
  .live .chat { height: 500px; padding: 10px 12px 12px; }
  .live .msg { max-width: 92%; }
  .nb-acts { margin-left: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-log > *, .live .needs-bar, .quick-btn, .live .nb-btn, .typing i { animation: none; }
  .live .sm-cursor { transition: none; }
}

/* Phones: the Download button keeps its arrow and drops its word, so the header still fits. */
@media (max-width: 520px) {
  .nav-download { width: 44px; padding: 0; }
  .nav-download-label { display: none; }
}

/* ---- Pricing: included AI and every plan side by side ----------------------------------- */
.usage-rows { margin-top: 26px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.usage-row { display: grid; grid-template-columns: 0.9fr 1.6fr 0.8fr; align-items: center; gap: 16px; padding: 16px 20px; background: var(--raise); font-size: 15px; color: var(--muted); }
.usage-row + .usage-row { border-top: 1px solid var(--line); }
.usage-row b { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--fg); }
.usage-row span:nth-child(2) { display: flex; align-items: center; gap: 12px; }
.usage-row span:nth-child(2) b { min-width: 3.1em; }
.usage-row span:first-child { color: var(--fg); font-weight: 500; }
.usage-head { padding-block: 12px; background: transparent; font: 500 11px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.usage-head span:first-child { color: var(--faint); }
.usage-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(var(--ink), 0.07); position: relative; overflow: hidden; }
.usage-bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(var(--ink), 0.45), var(--contrast)); }

.plan-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plan-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.plan-table th, .plan-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.plan-table thead th { padding-top: 26px; padding-bottom: 18px; font-size: 17px; font-weight: 500; color: var(--fg); }
.plan-table tbody th { font-weight: 400; color: var(--muted); width: 32%; }
.plan-table td { color: var(--fg); }
.plan-table .pt-span { color: var(--muted); }
.plan-table .pt-pop { background: rgba(var(--ink), 0.025); }
.plan-table .pt-group th { padding-top: 30px; padding-bottom: 10px; font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.plan-table tfoot th, .plan-table tfoot td { border-bottom: 0; padding-block: 22px 26px; }
.plan-table tfoot .btn { width: 100%; }
.pt-yes, .pt-no { display: inline-flex; align-items: center; gap: 8px; }
.pt-yes::before { content: ''; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%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 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pt-yes { color: var(--fg); }
.pt-no { color: var(--faint); }
@media (max-width: 640px) {
  .usage-row { grid-template-columns: 0.9fr 1.4fr 0.8fr; gap: 10px; padding: 14px; font-size: 14px; }
  .usage-row b { font-size: 19px; }
  .plan-table th, .plan-table td { padding: 13px 14px; }
}

/* ---- Brand page ------------------------------------------------------------------------- */
.brand-hero { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brand-card { overflow: hidden; display: flex; flex-direction: column; }
.brand-stage { height: 260px; display: grid; place-items: center; padding: 32px; border-bottom: 1px solid var(--line); }
.brand-stage img { max-width: 100%; max-height: 100%; }
.brand-stage.on-dark { background: #000; }
.brand-stage.on-light { background: #fff; }
.brand-stage.on-raise { background: var(--raise); }
.brand-stage.split-bg { background: linear-gradient(90deg, #fff 50%, #000 50%); grid-template-columns: 1fr 1fr; gap: 32px; }
.brand-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.brand-body h3 { font-size: 18px; letter-spacing: -0.01em; }
.brand-body p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.brand-files { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-files a { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 12.5px/1 var(--mono); color: var(--fg); transition: background-color 0.15s, border-color 0.15s; }
.brand-files a:hover { background: var(--raise); border-color: rgba(var(--ink), 0.24); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.swatch { border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.swatch i { display: block; height: 96px; border-bottom: 1px solid var(--line); }
.swatch div { padding: 14px 16px 16px; display: grid; gap: 2px; }
.swatch b { font-size: 14.5px; }
.swatch code { font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.swatch span { font-size: 13px; color: var(--faint); }
.brand-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brand-rules .card { padding: 28px; }
.brand-rules h3 { font-size: 17px; margin-bottom: 14px; }
.brand-rules ul { margin: 0; padding-left: 18px; display: grid; gap: 9px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.type-sample { padding: 32px 30px; display: grid; gap: 18px; }
.type-sample .ts-big { font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.type-sample .ts-row { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 14.5px; }
.type-sample .ts-mono { font-family: var(--mono); }
.brand-section-head { margin-bottom: 28px; }
.brand-section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.brand-section-head p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 620px; }
@media (max-width: 880px) {
  .brand-grid, .brand-rules { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .brand-stage { height: 200px; padding: 24px; }
  .brand-body { padding: 20px; }
}

/* ---- Videos: the tour, the first-bot walk-through (and in Help) ---------------------------------- */
.video { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, calc(0.8 * var(--shadow-k))); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.tour { padding-top: 72px; }
.tour .video { max-width: 1040px; margin-inline: auto; }
.how-video { margin-top: 16px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.video-sm { border-radius: 16px; box-shadow: none; }
.how-video-copy .label { margin-bottom: 12px; }
.how-video-copy h3 { font-size: 22px; letter-spacing: -0.02em; }
.how-video-copy p:not(.label) { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 420px; }
.legal .video-shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid var(--line-strong); background: #000; }

/* ---- For teams: six plain claims, each linked to where it's explained ------------------------------ */
.teams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { padding: 26px 26px 28px; display: flex; flex-direction: column; transition: border-color 0.25s, transform 0.25s, background-color 0.25s; }
.team-card:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-2px); }
.team-ico { width: 22px; height: 22px; color: var(--fg); }
.team-card h3 { margin-top: 18px; font-size: 17px; letter-spacing: -0.01em; }
.team-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.teams-cta { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.teams-cta p { flex: 1 1 360px; color: var(--fg); font-size: 16px; line-height: 1.55; }
@media (max-width: 1080px) { .teams-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .how-video { grid-template-columns: 1fr; gap: 20px; padding: 12px 12px 20px; } .how-video-copy { padding: 0 8px; } }
@media (max-width: 640px) { .teams-grid { grid-template-columns: 1fr; } .tour { padding-top: 48px; } .video { border-radius: 16px; } .teams-cta { padding: 20px; } .teams-cta .btn { width: 100%; } }

/* ---- Footer: the brand, four columns, the app stores, then the fine print ------------------------- */
.foot-apps { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-strong); color: var(--fg); transition: border-color 0.15s, background-color 0.15s, transform 0.15s; }
.store:hover { background: var(--card-hover); transform: translateY(-1px); }
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.store small { font-size: 10.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 13px; color: var(--faint); }
.foot-legal a { color: var(--muted); transition: color 0.15s; }
.foot-legal a:hover { color: var(--fg); }
.foot-social { margin-top: 20px; display: flex; gap: 8px; }
.foot-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--muted); transition: color 0.15s, border-color 0.15s; }
.foot-social a:hover { color: var(--fg); border-color: var(--fg); }
.foot-social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 640px) { .store { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 0 12px; } .foot-legal { gap: 6px 16px; } }

/* ---- Videos: the lessons and comparisons, the help centre's overview, the compare page's row ------ */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { margin: 0; }
.vcard figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.vcard figcaption b { font-size: 15.5px; letter-spacing: -0.01em; }
.vcard figcaption span { font-size: 13.5px; color: var(--muted); }
.tour-main { max-width: 1040px; margin: 8px auto 0; }
.tour-more { margin-top: 18px; text-align: center; font-size: 14.5px; }
.help-video { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.help-video .label { margin-bottom: 10px; }
.help-video h3 { font-size: 20px; letter-spacing: -0.015em; }
.help-video p:not(.label) { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cmp-videos { margin-top: 56px; }
.cmp-videos-title { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 18px; }
.cmp-videos .vgrid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .vgrid, .cmp-videos .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vgrid, .cmp-videos .vgrid { grid-template-columns: 1fr; } .help-video { grid-template-columns: 1fr; gap: 16px; padding: 12px 12px 18px; } }
