/* SiteTrellis marketing site, brand v2 ("Canopy"). One file, system fonts, no external requests. See docs/brand.md.
   Light by default, dark via prefers-color-scheme. Text pairs are WCAG AA: ink on white 17:1, muted on white 6:1, ink on sprout 10:1. */

:root {
  --n-0: #fff; --n-25: #f6faf8; --n-50: #eef4f1; --n-100: #e0eae5; --n-200: #c9d7d0; --n-300: #a6b8af; --n-400: #7b8f86;
  --n-500: #5a6c64; --n-600: #455850; --n-700: #2f4038; --n-800: #1b2b24; --n-900: #0f1c16; --n-950: #07120d;
  --sprout: #2bd98b; --sprout-hi: #5aeaa8; --sprout-lo: #17b873; --canopy: #08704f; --canopy-hi: #055640;
  --amber: #f5b544; --amber-soft: #fdf0d3; --amber-ink: #6b4400;
  --ok: #0a7a54; --warn: #9a5b00; --danger: #c0341d; --danger-soft: #fdece8; --info: #1d5fb4;
  --on-sprout: #04130d;

  --bg: #fff; --bg-alt: #f4f8f6; --surface: #fff; --surface-2: #f7faf8;
  --text: #0b1b16; --text-2: #2d3f38; --muted: #50625a;
  --line: #dbe6e0; --line-strong: #b4c6bd;
  --link: #08704f; --link-hover: #055640; --soft: #e2f6ec; --soft-ink: #065a41;
  --focus: #0b7a57; --glass: rgba(255, 255, 255, .9);
  --logo-dot: #0f9d6b; --mark: #2bd98b; --mark-accent: #f5b544;
  --lat: rgba(8, 112, 79, .13); --lat-node: rgba(8, 112, 79, .3);

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(11, 27, 22, .06), 0 2px 8px -2px rgba(11, 27, 22, .08);
  --sh-2: 0 1px 2px rgba(11, 27, 22, .06), 0 14px 34px -14px rgba(11, 27, 22, .22);
  --sh-3: 0 2px 6px rgba(11, 27, 22, .08), 0 34px 70px -30px rgba(7, 40, 28, .5);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M0 36 36 0l36 36-36 36Z' fill='none' stroke='%2308704f' stroke-opacity='.13' stroke-width='1.2'/%3E%3Cg fill='%2308704f' fill-opacity='.28'%3E%3Ccircle cx='36' cy='0' r='2'/%3E%3Ccircle cx='0' cy='36' r='2'/%3E%3Ccircle cx='72' cy='36' r='2'/%3E%3Ccircle cx='36' cy='72' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07120d; --bg-alt: #0a1a13; --surface: #0f2119; --surface-2: #14291f;
    --text: #eaf5ef; --text-2: #c5d8ce; --muted: #93aaa0; --line: #1e342a; --line-strong: #31503f;
    --link: #4fe0a0; --link-hover: #8af0c1; --soft: #123428; --soft-ink: #8af0c1; --focus: #5aeaa8; --glass: rgba(7, 18, 13, .78);
    --logo-dot: #2bd98b; --amber-soft: #3a2c0d; --amber-ink: #f7cf85; --danger-soft: #3a1710; --danger: #ff8d78;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 14px 34px -14px rgba(0, 0, 0, .7); --sh-3: 0 34px 70px -30px rgba(0, 0, 0, .85);
    --lat: rgba(90, 234, 168, .1); --lat-node: rgba(90, 234, 168, .3);
    --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M0 36 36 0l36 36-36 36Z' fill='none' stroke='%235aeaa8' stroke-opacity='.1' stroke-width='1.2'/%3E%3Cg fill='%235aeaa8' fill-opacity='.3'%3E%3Ccircle cx='36' cy='0' r='2'/%3E%3Ccircle cx='0' cy='36' r='2'/%3E%3Ccircle cx='72' cy='36' r='2'/%3E%3Ccircle cx='36' cy='72' r='2'/%3E%3C/g%3E%3C/svg%3E");
  }
}
/* Always-dark surfaces (feature band, CTA, footer, app mocks) reuse the dark tokens inside a light page */
.theme-dark {
  --bg: #07120d; --bg-alt: #0a1a13; --surface: #0f2119; --surface-2: #14291f; --text: #eaf5ef; --text-2: #c5d8ce; --muted: #93aaa0;
  --line: #1e342a; --line-strong: #31503f; --link: #4fe0a0; --link-hover: #8af0c1; --soft: #123428; --soft-ink: #8af0c1; --focus: #5aeaa8;
  --logo-dot: #2bd98b; --amber-soft: #3a2c0d; --amber-ink: #f7cf85; --danger-soft: #3a1710; --danger: #ff8d78;
  --lat: rgba(90, 234, 168, .1); --lat-node: rgba(90, 234, 168, .3); --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 14px 34px -14px rgba(0, 0, 0, .7);
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M0 36 36 0l36 36-36 36Z' fill='none' stroke='%235aeaa8' stroke-opacity='.1' stroke-width='1.2'/%3E%3Cg fill='%235aeaa8' fill-opacity='.3'%3E%3Ccircle cx='36' cy='0' r='2'/%3E%3Ccircle cx='0' cy='36' r='2'/%3E%3Ccircle cx='72' cy='36' r='2'/%3E%3Ccircle cx='36' cy='72' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background: var(--bg); color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.62 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2.4rem, 1.1rem + 5vw, 4.1rem); line-height: 1.02; letter-spacing: -.042em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.7vw, 3.05rem); letter-spacing: -.036em; font-weight: 780; line-height: 1.07; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; font-weight: 700; line-height: 1.25; }
.h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: var(--link-hover); }
code, kbd { font-family: var(--font-mono); font-size: .9em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }
::selection { background: var(--sprout); color: var(--on-sprout); }
main:focus { outline: none; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 600; letter-spacing: -.025em; }
.hl { color: var(--canopy); background: linear-gradient(transparent 68%, rgba(43, 217, 139, .38) 68% 92%, transparent 92%); padding: 0 .06em; }
@media (prefers-color-scheme: dark) { .hl { color: var(--sprout-hi); background: linear-gradient(transparent 70%, rgba(43, 217, 139, .26) 70% 92%, transparent 92%); } }
.theme-dark .hl { color: var(--sprout-hi); background: linear-gradient(transparent 70%, rgba(43, 217, 139, .26) 70% 92%, transparent 92%); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--n-950); color: #fff; padding: .7rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 650; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(800px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.fine { font-size: .875rem; color: var(--muted); }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin: 0 0 .9rem; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 60ch; }
.center .lead, .section-head .lead { margin-inline: auto; }
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; min-height: 32px; }
.more:hover { text-decoration: underline; }
.more .icon { transition: transform .15s; }
.more:hover .icon { transform: translateX(3px); }

/* Tags and pills */
.tag { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .15em .65em; border-radius: var(--r-pill); vertical-align: .15em; white-space: nowrap; }
.tag-live { background: var(--soft); color: var(--soft-ink); }
.tag-save { background: var(--sprout); color: var(--on-sprout); margin-left: .35rem; }
.pill { display: inline-flex; align-items: center; gap: .6em; padding: .4rem .9rem .4rem .6rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); font-size: .875rem; font-weight: 600; color: var(--text-2); margin: 0 0 1.4rem; box-shadow: var(--sh-1); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sprout); box-shadow: 0 0 0 4px rgba(43, 217, 139, .25); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7rem 1.3rem; border-radius: 12px; border: 1.5px solid transparent; font: 650 1rem/1.15 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sprout); color: var(--on-sprout); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -10px rgba(23, 184, 115, .8); }
.btn-primary:hover { background: var(--sprout-hi); color: var(--on-sprout); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 28px -10px rgba(23, 184, 115, .9); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--text); color: var(--text); background: var(--surface); }
.btn-dark:hover { background: var(--n-800); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.btn-quiet { background: transparent; color: var(--text); }
.btn-quiet:hover { background: var(--bg-alt); color: var(--text); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .9375rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: .85rem 1.7rem; font-size: 1.0625rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 .9rem; }
.btn-row-center { justify-content: center; }
.btn .icon { transition: transform .15s; }
.btn:hover .icon { transform: translateX(2px); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9375rem; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: .45em; }
.ticks .icon { color: var(--link); width: 1.15em; height: 1.15em; }
.theme-dark .ticks { color: var(--text-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(11, 27, 22, .25); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 76px; transition: min-height .2s; }
.is-scrolled .header-row { min-height: 62px; }
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--text); }
.brand-logo { display: block; width: auto; height: 30px; aspect-ratio: 241.4 / 32; transition: height .2s; }
.is-scrolled .brand-logo { height: 26px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; color: var(--text); cursor: pointer; }
.nav-toggle .icon { width: 1.5em; height: 1.5em; }
.nav-toggle .when-open { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: block; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .dd > summary { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 .9rem; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: .975rem; text-decoration: none; cursor: pointer; list-style: none; transition: background-color .15s, color .15s; }
.dd > summary::-webkit-details-marker { display: none; }
.nav-list > li > a:hover, .dd > summary:hover, .dd[open] > summary { background: var(--bg-alt); color: var(--text); }
.nav-list a[aria-current="page"], .dd[data-current] > summary { color: var(--text); background: var(--soft); }
.dd .chev { width: 1em; height: 1em; transition: transform .15s; }
.dd[open] .chev { transform: rotate(180deg); }
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 10px); left: 0; width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); padding: 8px; z-index: 5; }
.dd-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--text); text-decoration: none; }
.dd-item:hover { background: var(--bg-alt); color: var(--text); }
.dd-item strong { display: block; }
.dd-item small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.dd-icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--soft); color: var(--soft-ink); border-radius: 12px; }
.dd-all { display: flex; align-items: center; gap: .4em; padding: 10px 12px; border-top: 1px solid var(--line); margin-top: 6px; font-weight: 650; text-decoration: none; min-height: 44px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.is-scrolled .nav-cta .btn-primary { animation: nudge .9s .15s 1 both; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 rgba(43, 217, 139, .6); } 100% { box-shadow: 0 0 0 14px rgba(43, 217, 139, 0); } }
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; max-height: calc(100vh - 70px); overflow-y: auto; margin: 0; box-shadow: var(--sh-2); }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .dd > summary { width: 100%; min-height: 52px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav-list a[aria-current="page"], .dd[data-current] > summary { background: transparent; box-shadow: inset 3px 0 0 var(--sprout); padding-left: 1rem; }
  .dd-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 4px 8px; background: transparent; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; min-height: 50px; }
}

/* Backgrounds and hero */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 8vw, 110px); }
.page-hero { padding: clamp(40px, 5vw, 76px) 0 clamp(28px, 3vw, 48px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 55% at 88% 6%, rgba(43, 217, 139, .26), transparent 70%), radial-gradient(45% 45% at 4% 0%, rgba(245, 181, 68, .16), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: var(--lattice); -webkit-mask-image: linear-gradient(to bottom left, #000, transparent 70%); mask-image: linear-gradient(to bottom left, #000, transparent 70%); }
@media (prefers-color-scheme: dark) { .hero-bg { background: radial-gradient(60% 55% at 88% 6%, rgba(43, 217, 139, .18), transparent 70%), radial-gradient(45% 45% at 4% 0%, rgba(245, 181, 68, .08), transparent 70%); } }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-copy .lead { margin-bottom: 0; }
.hero-copy .ticks { margin-top: 1.3rem; }
.hero h1 { margin-bottom: .45em; }
.works-with { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .8125rem; color: var(--muted); }
.works-with span { padding: .25rem .7rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--text-2); font-weight: 600; }
.works-with b { font-weight: 650; margin-right: 4px; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 40px; } }

/* Product stage */
.stage { position: relative; min-height: 440px; animation: rise .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-3); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.win-url { margin-left: 10px; padding: 2px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; }
.stage .win { width: min(100%, 560px); font-size: .8125rem; }
.dash { display: grid; grid-template-columns: 38% 1fr; min-height: 300px; }
.dash-list { border-right: 1px solid var(--line); padding: 10px; display: grid; gap: 6px; align-content: start; }
.dash-row { display: grid; gap: 4px; padding: 9px 10px; border-radius: 10px; border: 1px solid transparent; }
.dash-row.is-on { background: var(--soft); border-color: rgba(43, 217, 139, .4); }
.dash-row b { display: flex; justify-content: space-between; gap: 6px; font-size: .78rem; color: var(--text); }
.dash-row span { color: var(--muted); font-size: .72rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-main { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 650; color: var(--text); }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .12em .6em; border-radius: var(--r-pill); font-size: .68rem; font-weight: 700; letter-spacing: .02em; background: var(--soft); color: var(--soft-ink); white-space: nowrap; }
.chip-human { background: var(--amber-soft); color: var(--amber-ink); }
.chip-gray { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.dash-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em; border-radius: 9px; background: var(--amber); color: #3a2600; font-weight: 700; font-size: .75rem; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2); font-size: .8125rem; line-height: 1.3; color: var(--text-2); animation: bob 6s ease-in-out infinite; }
.float strong { display: block; color: var(--text); font-size: .8125rem; }
.float-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--soft-ink); flex: none; }
.float-amber .float-ico { background: var(--amber-soft); color: var(--amber-ink); }
@keyframes bob { 50% { transform: translateY(-6px); } }
.stage-chat { position: relative; z-index: 2; }
@media (min-width: 720px) {
  .stage { min-height: 560px; }
  .stage .win { position: absolute; top: 0; right: 0; width: 84%; }
  .stage .chat { position: absolute; left: 0; bottom: 0; width: 320px; }
  .float-lead { top: 34px; left: -18px; animation-delay: -2s; }
  .float-chain { right: 4px; bottom: 28px; }
}
@media (max-width: 719px) {
  .stage { min-height: 0; display: grid; gap: 14px; justify-items: center; }
  .stage .win { display: none; }
  .float { position: static; animation: none; width: min(100%, 340px); }
}

/* Chat widget mock */
.chat { --cw: #0b4a37; width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-3); overflow: hidden; font-size: .875rem; line-height: 1.42; text-align: left; color: var(--text); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: linear-gradient(135deg, #0d4a38, #07281e); color: #fff; }
.chat-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); flex: none; }
.chat-av svg { width: 24px; height: 24px; }
.chat-title strong { display: block; font-size: 1rem; line-height: 1.2; }
.chat-title small { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .9; }
.chat-live { width: 8px; height: 8px; border-radius: 50%; background: var(--sprout); box-shadow: 0 0 0 3px rgba(43, 217, 139, .3); }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--bg-alt); min-height: 260px; }
.m { max-width: 88%; padding: 9px 13px; border-radius: 16px; overflow-wrap: anywhere; }
.m p { margin: 0; }
.m-v { align-self: flex-end; background: var(--n-900); color: #fff; border-bottom-right-radius: 5px; }
@media (prefers-color-scheme: dark) { .m-v { background: var(--sprout); color: var(--on-sprout); } }
.theme-dark .m-v { background: var(--sprout); color: var(--on-sprout); }
.m-a { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.m-h { align-self: flex-start; background: var(--amber-soft); border: 1px solid rgba(245, 181, 68, .6); border-bottom-left-radius: 5px; color: var(--text); }
.m-who { display: block; font-size: .72rem; font-weight: 700; color: var(--amber-ink); margin-bottom: 2px; }
.m-tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 8px; border-radius: var(--r-pill); background: var(--soft); color: var(--soft-ink); font: 600 .72rem var(--font-mono); }
.m-tool .icon { width: 1.1em; height: 1.1em; }
.m-note { align-self: center; padding: 3px 12px; border-radius: var(--r-pill); background: var(--amber-soft); color: var(--amber-ink); font-size: .78rem; font-weight: 650; }
.m-card { align-self: flex-start; width: 86%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; font-size: .8rem; }
.m-card b { font-size: .8rem; }
.m-field { display: flex; justify-content: space-between; gap: 8px; padding: 5px 9px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text-2); }
.m-field small { color: var(--muted); }
.m-card .m-go { justify-self: start; padding: 5px 12px; border-radius: 8px; background: var(--sprout); color: var(--on-sprout); font-weight: 700; font-size: .78rem; }
.chat-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 15px; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.chat-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sprout); color: var(--on-sprout); }
.chat-send .icon { width: 1.1em; height: 1.1em; }
.m-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 5px; }
.m-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.m-typing i:nth-child(2) { animation-delay: .15s; }
.m-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.is-hidden { display: none !important; }
.chat-sm { font-size: .8125rem; }
.chat-sm .chat-body { min-height: 0; padding: 11px; gap: 6px; }
.chat-sm .chat-foot { display: none; }
.chat-tall .chat-body { min-height: 330px; }
.chat-theme-violet .chat-head { background: linear-gradient(135deg, #5b3fd0, #3a2594); }
.chat-theme-violet .chat-send { background: #7c5cff; color: #fff; }
.chat-theme-amber .chat-head { background: linear-gradient(135deg, #b9740a, #7c4a03); }
.chat-theme-amber .chat-send { background: var(--amber); color: #3a2600; }
.chat-theme-slate .chat-head { background: linear-gradient(135deg, #34455a, #1b2735); }
.chat-theme-slate .chat-send { background: #8ab4f8; color: #0b1b2b; }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--bg-alt); }
.trust-list { list-style: none; margin: 0; padding: 26px 0; display: grid; gap: 22px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.trust-list .icon { width: 1.5em; height: 1.5em; color: var(--link); margin-top: 1px; }
.trust-list strong { display: block; color: var(--text); font-size: 1rem; letter-spacing: -.01em; }

/* Sections */
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section-tight { padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 7vw, 88px); }
.section-alt { background: var(--bg-alt); }
.section-dark { position: relative; overflow: hidden; isolation: isolate; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 0%, rgba(43, 217, 139, .16), transparent 70%), var(--lattice); -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35)); mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35)); }
.section-head { max-width: 780px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-head-left { text-align: left; margin-inline: 0; }
.section-head-left .lead { margin-inline: 0; }
.section-more { margin-top: 32px; text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.card, .feature, .product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.feature h3, .product-card h3 { margin-bottom: .4em; }
.feature p, .product-card p { color: var(--muted); margin-bottom: .8em; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--soft-ink); margin-bottom: 16px; }
.feature-icon .icon { width: 1.5em; height: 1.5em; }
.feature-link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.feature-link:hover { border-color: var(--sprout-lo); transform: translateY(-3px); box-shadow: var(--sh-2); color: inherit; }
.feature-link .more { color: var(--link); }
.product-card a { text-decoration: none; }
.product-card h3 a { color: var(--text); }
.product-card h3 a:hover { color: var(--link); text-decoration: underline; }
.product-next { background: transparent; border-style: dashed; }
.mini-list { margin: 0 0 1em; padding-left: 1.1em; color: var(--text-2); font-size: .9375rem; }
.mini-list li { margin: .2em 0; }

/* Problem / solution */
.ps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ps-card { display: grid; gap: 14px; align-content: start; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ps-q { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; color: var(--text); font-size: 1.05rem; line-height: 1.35; }
.ps-q .icon { color: var(--danger); margin-top: 2px; }
.ps-a { padding: 14px 16px; border-radius: 14px; background: var(--soft); color: var(--text-2); font-size: .975rem; }
.ps-a strong { color: var(--soft-ink); display: block; margin-bottom: 2px; }

/* Steps */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); counter-reset: s; }
.steps3 > li { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); counter-increment: s; }
.steps3 > li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--n-950); color: var(--sprout); font: 800 1.2rem var(--font); margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { .steps3 > li::before { background: var(--sprout); color: var(--on-sprout); } }
.steps3 p { color: var(--muted); margin: 0; }
.steps3 .code-mini { margin: 14px 0 0; font-size: .75rem; padding: 12px 14px; }
.code-wrap { margin-top: 28px; max-width: 780px; margin-inline: auto; }
.code-label { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .4rem; }
pre { position: relative; margin: 0 0 1.25em; padding: 18px 20px; background: var(--n-950); color: #e3f1ea; border-radius: 14px; overflow-x: auto; font: .875rem/1.65 var(--font-mono); tab-size: 2; border: 1px solid rgba(255, 255, 255, .06); }
pre code { font: inherit; background: none; padding: 0; color: inherit; }
.copy-btn { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: .4em; min-height: 36px; padding: 0 .7rem; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; font: 600 .8125rem var(--font); cursor: pointer; }
.copy-btn:hover { background: rgba(255, 255, 255, .2); }
pre.has-copy { padding-right: 110px; }
.code-block { position: relative; margin: 0 0 1.25em; }
.code-block pre { margin: 0; }

/* Tabs (feature explorer, use cases) */
.tabs { display: grid; gap: 28px; }
.tab-list { position: relative; display: flex; gap: 6px; padding: 6px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; scrollbar-width: none; }
.section-alt .tab-list { background: var(--surface); }
.tab-list::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 .95rem; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font: 650 .94rem var(--font); cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--sh-1), inset 0 -2px 0 var(--sprout); }
.section-alt .tab[aria-selected="true"] { background: var(--bg-alt); }
.tab .icon { width: 1.2em; height: 1.2em; color: var(--link); }
.tab-panel { display: grid; gap: 32px; align-items: center; }
.tab-panel[hidden] { display: none; }
/* With scripting on, show only the first panel until JS has chosen one (no layout jump); without it every panel stays visible. */
@media (scripting: enabled) { .tabs > .tab-panel ~ .tab-panel { display: none; } .tabs > .tab-panel.is-open { display: grid; } }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) { .chat[data-animate] [data-step]:not(.is-shown) { display: none; } }
.tab-copy h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); letter-spacing: -.025em; margin-bottom: .45em; }
.tab-copy > p { color: var(--text-2); }
.tab-panel + .tab-panel { padding-top: 40px; border-top: 1px solid var(--line); margin-top: 8px; }
.js .tab-panel + .tab-panel { padding-top: 0; border: 0; margin-top: 0; }
.tab-art { display: flex; justify-content: center; min-width: 0; }
.tab-art .win { width: 100%; max-width: 560px; }
.tab-art .chat { max-width: 380px; }
.ck { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 11px; }
.ck li { display: flex; gap: 11px; align-items: flex-start; }
.ck .icon { color: var(--link); width: 1.35em; height: 1.35em; margin-top: 2px; }
.theme-dark .ck .icon { color: var(--sprout); }
@media (min-width: 900px) { .tab-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }

/* App mock bits (builder, tools, leads, theme) */
.ui { padding: 16px; display: grid; gap: 12px; font-size: .8125rem; color: var(--text-2); }
.ui-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; color: var(--text); font-size: .85rem; }
.ui-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface-2); display: grid; gap: 7px; }
.ui-box label, .ui-label { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ln { display: block; height: 8px; border-radius: 4px; background: var(--line); }
  .ln.w55 { width: 55%; } .ln.w70 { width: 70%; } .ln.w85 { width: 85%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.sw { position: relative; width: 32px; height: 18px; border-radius: 9px; background: var(--sprout); flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.code-mini { margin: 0; padding: 12px 14px; font-size: .72rem; line-height: 1.55; border-radius: 12px; }
.tbl-mini { width: 100%; border-collapse: collapse; font-size: .78rem; }
.tbl-mini th, .tbl-mini td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl-mini th { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.swatches { display: flex; gap: 8px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line-strong); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--text); }
.swatch-emerald { background: #0d4a38; } .swatch-violet { background: #5b3fd0; } .swatch-amber { background: #b9740a; } .swatch-slate { background: #34455a; }
.theme-demo { display: grid; gap: 14px; justify-items: center; }
.theme-bar { display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 650; color: var(--text-2); }

/* Fallback chain */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.check-list { list-style: none; margin: 1.3rem 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--sprout); width: 1.4em; height: 1.4em; margin-top: 2px; }
.check-list-dark .icon { color: var(--link); }
.two-col { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 32px; }
.chain-fig { margin: 0; }
.chain-card { padding: 22px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.chain-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.chain-top strong { color: var(--text); font-size: .9rem; }
.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.chain-step { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 22px; }
.chain-step:last-child { margin-bottom: 0; }
.chain-step::after { content: ""; position: absolute; left: 31px; top: 100%; width: 2px; height: 22px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 4px, transparent 4px 8px); }
.chain-step:last-child::after { display: none; }
.chain-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 800; font-size: .85rem; color: var(--text); }
.chain-name { display: grid; line-height: 1.25; }
.chain-name small { color: var(--muted); font-size: .78rem; }
.chain-name strong { color: var(--text); }
.chain-note { font-size: .78rem; font-weight: 700; padding: .25em .75em; border-radius: var(--r-pill); white-space: nowrap; }
.chain-step.is-fail { opacity: .92; }
.chain-step.is-fail .chain-note { background: var(--danger-soft); color: var(--danger); }
.chain-step.is-fail .chain-name strong { text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 1.5px; }
.chain-step.is-ok { border-color: var(--sprout-lo); background: var(--soft); box-shadow: 0 0 0 4px rgba(43, 217, 139, .15); }
.chain-step.is-ok .chain-note { background: var(--sprout); color: var(--on-sprout); }
.chain-step.is-ok .chain-n { background: var(--sprout); color: var(--on-sprout); border-color: var(--sprout); }
.chain-fig figcaption { margin-top: 16px; font-size: .875rem; color: var(--muted); }
.js .chain.is-play .chain-step { opacity: .25; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.js .chain.is-play .chain-step.is-on { opacity: 1; transform: none; }

/* Use cases */

/* Security grid */
.sec-card { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.sec-card .feature-icon { margin-bottom: 6px; }
.sec-card h3 { margin: 0; font-size: 1.05rem; }
.sec-card p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* Pricing teaser + pricing page */
.teaser-plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.teaser-plan { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.teaser-plan:hover { border-color: var(--sprout-lo); transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--text); }
.teaser-plan.is-featured { border: 2px solid var(--sprout-lo); box-shadow: var(--sh-2); }
.teaser-name { font-weight: 700; }
.teaser-price { font: 800 2.3rem/1.1 var(--font); letter-spacing: -.03em; }
.teaser-price small { font: 500 .9375rem var(--font); color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.teaser-line { font-size: .9375rem; color: var(--muted); }
.interval-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 5px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-pill); }
.interval-toggle button { min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-2); font: 650 1rem var(--font); cursor: pointer; transition: background-color .15s, color .15s; }
.interval-toggle button[aria-pressed="true"] { background: var(--n-950); color: #fff; }
@media (prefers-color-scheme: dark) { .interval-toggle button[aria-pressed="true"] { background: var(--sprout); color: var(--on-sprout); } }
.pricing[data-interval="month"] .price-y, .pricing[data-interval="year"] .price-m { display: none; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); align-items: stretch; padding-top: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.plan.is-featured { border: 2px solid var(--sprout-lo); box-shadow: var(--sh-3); background: linear-gradient(180deg, var(--soft), var(--surface) 38%); }
.plan-flag { position: absolute; top: -14px; left: 24px; padding: .25em .9em; border-radius: var(--r-pill); background: var(--sprout); color: var(--on-sprout); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.plan-name { font-size: 1.5rem; margin-bottom: .15em; }
.plan-tagline { color: var(--muted); font-size: .9375rem; min-height: 2.9em; margin-bottom: 1em; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; }
.amount { font: 800 3.1rem/1 var(--font); letter-spacing: -.045em; color: var(--text); }
.per { color: var(--muted); font-size: .95rem; margin-left: 4px; }
.price-sub { font-size: .875rem; color: var(--muted); margin: .5em 0 1.2em; min-height: 2.6em; }
.plan .btn-block { margin-bottom: 14px; }
.plan-cap { font-size: .8125rem; color: var(--muted); margin: 0 0 18px; display: flex; gap: .5em; align-items: flex-start; }
.plan-cap .icon { margin-top: 2px; color: var(--link); }
.plan-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9375rem; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .icon { color: var(--link); margin-top: 3px; }
.assure { display: grid; gap: 12px 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 34px 0 0; padding: 0; list-style: none; }
.assure li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--text-2); }
.assure .icon { color: var(--link); width: 1.35em; height: 1.35em; margin-top: 1px; }

/* Cost estimator */
.est { display: grid; gap: 24px; padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
@media (min-width: 960px) { .est { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; } }
.est-ctl { display: grid; gap: 22px; align-content: start; }
.est-field label, .est-field > .est-lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; margin-bottom: 8px; color: var(--text); }
.est-field output { font: 800 1.4rem var(--font); letter-spacing: -.02em; color: var(--link); font-variant-numeric: tabular-nums; }
.est-field input[type="range"] { width: 100%; height: 32px; accent-color: var(--sprout-lo); cursor: pointer; }
.est-field input[type="number"], .est-adv input { width: 100%; min-height: 44px; padding: .5rem .8rem; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 10px; }
.est-hint { font-size: .8125rem; color: var(--muted); margin: 4px 0 0; }
.est-adv { border: 1px solid var(--line); border-radius: 12px; }
.est-adv summary { min-height: 46px; display: flex; align-items: center; padding: 0 14px; font-weight: 650; cursor: pointer; }
.est-adv-body { padding: 4px 14px 16px; display: grid; gap: 12px; }
.est-adv label { display: grid; gap: 4px; font-size: .875rem; font-weight: 600; }
.est-fit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--soft); border: 1px solid rgba(43, 217, 139, .5); margin-bottom: 18px; }
.est-fit p { margin: 0; color: var(--text-2); font-size: .95rem; }
.est-fit strong { color: var(--text); font-size: 1.15rem; display: block; letter-spacing: -.02em; }
.est-total { font-size: .9rem; color: var(--text-2); margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); }
.est-total b { color: var(--text); font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.est-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 480px; overflow-y: auto; padding-right: 4px; }
.est-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.est-row:hover { border-color: var(--line-strong); }
.est-row:has(input:checked) { border-color: var(--sprout-lo); background: var(--soft); }
.est-row:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.est-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.est-name { font-weight: 650; font-size: .925rem; color: var(--text); display: grid; gap: 1px; line-height: 1.3; }
.est-prov { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.est-cost { font: 800 1.05rem var(--font); font-variant-numeric: tabular-nums; text-align: right; color: var(--text); }
.est-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bg-alt); overflow: hidden; }
.est-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--sprout-lo), var(--sprout)); min-width: 3px; }
.ticks-center { justify-content: center; margin-top: 1.4rem; }
.est-bar i.bw5{width:5%}.est-bar i.bw10{width:10%}.est-bar i.bw15{width:15%}.est-bar i.bw20{width:20%}.est-bar i.bw25{width:25%}.est-bar i.bw30{width:30%}.est-bar i.bw35{width:35%}.est-bar i.bw40{width:40%}.est-bar i.bw45{width:45%}.est-bar i.bw50{width:50%}.est-bar i.bw55{width:55%}.est-bar i.bw60{width:60%}.est-bar i.bw65{width:65%}.est-bar i.bw70{width:70%}.est-bar i.bw75{width:75%}.est-bar i.bw80{width:80%}.est-bar i.bw85{width:85%}.est-bar i.bw90{width:90%}.est-bar i.bw95{width:95%}.est-bar i.bw100{width:100%}
.est-note { font-size: .8125rem; color: var(--muted); margin: 14px 0 0; }
.est-lab-badge { display: inline-block; margin-left: 8px; padding: .1em .6em; border-radius: var(--r-pill); background: var(--amber-soft); color: var(--amber-ink); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: .15em; }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 0; }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 660px; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-alt); font-size: 1.05rem; font-weight: 750; position: sticky; top: 0; }
.compare tbody th[scope="row"] { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 200px; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .group-row th { text-align: left; background: var(--bg-alt); font: 700 .75rem var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 9px 16px; position: static; }
.compare .is-featured { background: var(--soft); }
.compare tbody th.is-featured { background: var(--soft); }
.compare thead .is-featured { background: var(--soft); box-shadow: inset 0 3px 0 var(--sprout); }
.compare .yes { color: var(--link); }
.compare .no { color: var(--n-400); }
@media (max-width: 599px) {
  .compare { min-width: 540px; font-size: .875rem; }
  .compare th, .compare td { padding: 10px; }
  .compare tbody th[scope="row"] { min-width: 132px; max-width: 150px; font-size: .84rem; }
}
.compare-simple { min-width: 0; }
.compare-simple th, .compare-simple td { text-align: left; vertical-align: top; }
.compare-simple tbody th[scope="row"] { position: static; font-weight: 700; width: 28%; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .15s; }
.faq details:hover { border-color: var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 12px 22px; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--link); }
.faq details[open] { border-color: var(--sprout-lo); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* CTA band + sticky CTA */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0; background: var(--n-950); color: var(--text-2); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 90% at 90% 100%, rgba(43, 217, 139, .35), transparent 70%), radial-gradient(40% 70% at 0% 0%, rgba(245, 181, 68, .12), transparent 70%), var(--lattice); }
.cta-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.2fr auto; gap: 56px; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); }
.cta-band p { margin: 0 0 1rem; max-width: 56ch; color: #c5d8ce; font-size: 1.1rem; }
.cta-band .btn-row { margin: 0 0 .6rem; }
.cta-band .ticks { color: #c5d8ce; }
.cta-band .ticks .icon { color: var(--sprout); }
.cta-side { display: grid; gap: 4px; justify-items: start; }
.cta-band a.inline-light { color: var(--sprout-hi); }
.sticky-cta { position: fixed; left: 12px; right: 92px; bottom: 12px; z-index: 40; display: none; transform: translateY(140%); transition: transform .3s; }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 52px; box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .5); }
@media (max-width: 719px) { .js .sticky-cta { display: block; } }

/* Product tour */
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.tour-nav-h { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.tour-nav ul { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 8px; overflow-x: auto; }
.tour-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.tour-nav a:hover, .tour-nav a.is-active { border-color: var(--sprout-lo); color: var(--link); background: var(--soft); }
.tour-intro { padding: 14px 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; font-size: .9375rem; color: var(--text-2); }
.tour-sec { padding: 40px 0; border-top: 1px solid var(--line); max-width: 780px; }
.tour-sec:first-of-type { border-top: 0; }
.tour-sec h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.tour-sec > p { color: var(--text-2); }
.tick-list { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 7px; border-left: 2.5px solid var(--link); border-bottom: 2.5px solid var(--link); transform: rotate(-45deg) translateY(-3px); }
.tick-none li::before { border: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transform: none; left: 5px; top: .62em; }
.audience .card h3 { margin-bottom: .3em; }
.audience .card p { margin: 0; color: var(--muted); font-size: .9875rem; }
.two-col-lists { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 8px 0; padding: 20px 24px; border-radius: var(--r-lg); background: var(--n-950); color: #c5d8ce; max-width: 780px; }
.inline-cta strong { display: block; color: #fff; font-size: 1.1rem; letter-spacing: -.01em; }
.inline-cta span { font-size: .9375rem; }
.glance { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 28px; }
.glance > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: .9rem; color: var(--muted); }
.glance strong { display: block; color: var(--text); font-size: 1.05rem; letter-spacing: -.01em; }
@media (min-width: 1000px) {
  .tour-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 60px; }
  .tour-nav { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; }
  .tour-nav ul { flex-direction: column; gap: 2px; overflow: visible; }
  .tour-nav a { border: 0; border-radius: 10px; background: transparent; min-height: 40px; width: 100%; }
}

/* Prose (legal, about) */
.prose { font-size: 1.0625rem; line-height: 1.72; max-width: 76ch; }
.container-narrow.prose { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.65rem; margin: 2.3em 0 .6em; padding-top: .2em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1rem; margin: 1.5em 0 .4em; }
.prose p, .prose ul, .prose ol, .prose pre, .prose table, .prose blockquote { margin-block: 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li > ul, .prose li > ol { margin-top: .35em; margin-bottom: 0; }
.prose :not(pre) > code { background: var(--bg-alt); border: 1px solid var(--line); padding: .08em .38em; border-radius: 6px; font-size: .875em; word-break: break-word; }
.prose a { font-weight: 500; }
.prose strong { font-weight: 650; }
.prose blockquote { padding: .4em 1.1em; border-left: 4px solid var(--sprout); background: var(--bg-alt); border-radius: 0 12px 12px 0; color: var(--text-2); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose img { height: auto; border-radius: 12px; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 9px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--bg-alt); }
.prose tbody tr:nth-child(even) { background: var(--surface-2); }
.anchor { margin-left: .4em; font-weight: 400; text-decoration: none; opacity: 0; color: var(--link); }
h2:hover > .anchor, h3:hover > .anchor, .anchor:focus { opacity: 1; }
.kbd, kbd { display: inline-block; padding: 0 .45em; background: var(--surface); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; font: .85em/1.5 var(--font-mono); color: var(--text); }
.callout { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--sprout-lo); background: var(--soft); border-radius: 0 12px 12px 0; color: var(--text); }
.callout > :last-child { margin-bottom: 0; }
.callout-tip { border-color: var(--amber); background: var(--amber-soft); }
.callout-warn { border-color: var(--danger); background: var(--danger-soft); }
ol.steps { list-style: none; counter-reset: step; padding: 0 !important; }
ol.steps > li { counter-increment: step; position: relative; padding: 2px 0 1.2em 3.1rem; margin: 0; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 10px; background: var(--sprout); color: var(--on-sprout); font: 800 1rem var(--font); z-index: 1; }
ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.05rem - 1px); top: 2.4rem; bottom: .2rem; width: 2px; background: var(--line); }
ol.steps > li > :last-child { margin-bottom: 0; }
.draft-banner { margin: 8px 0 24px; padding: 16px 20px; border: 2px solid var(--amber); background: var(--amber-soft); color: var(--amber-ink); border-radius: 14px; }
.draft-banner strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .2em; }
mark.placeholder { background: #ffe9a6; color: #0b1b16; padding: 0 .25em; border-radius: 4px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.legal-nav a[aria-current="page"] { background: var(--n-950); color: #fff; border-color: var(--n-950); }
@media (prefers-color-scheme: dark) { .legal-nav a[aria-current="page"] { background: var(--sprout); color: var(--on-sprout); border-color: var(--sprout); } }
.legal-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.legal-list li { display: flex; flex-direction: column; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.legal-list a { font-size: 1.1rem; font-weight: 650; }
.legal-list span { color: var(--muted); font-size: .9375rem; }
.breadcrumb { padding: 20px 0 0; font-size: .9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; padding: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 .6em; color: var(--n-400); }
.breadcrumb a { display: inline-block; padding: 6px 0; }
.page-hero .breadcrumb { padding-top: 0; margin-bottom: 18px; }

/* About */
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 28px 0; }
.value { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.value h3 { font-size: 1.05rem; margin-bottom: .3em; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-side p { color: var(--muted); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin: 0; }
.plain-list a { display: inline-block; padding: 8px 0; min-height: 40px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--sh-2); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .95rem; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--sprout-lo); box-shadow: 0 0 0 4px rgba(43, 217, 139, .3); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .9375rem; font-weight: 650; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions .fine { margin: 12px 0 0; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; border: 1px solid; }
.alert-success { background: var(--soft); border-color: rgba(43, 217, 139, .6); color: var(--text); }
.alert-error { background: var(--danger-soft); border-color: rgba(192, 52, 29, .45); color: var(--text); }
.notfound { padding: clamp(72px, 12vw, 150px) 0; position: relative; overflow: hidden; isolation: isolate; }
.notfound .container-narrow { position: relative; }
.nf-code { font: 800 clamp(5rem, 3rem + 14vw, 11rem)/.9 var(--font); letter-spacing: -.06em; margin: 0 0 .1em; color: var(--text); }
.nf-code span { color: var(--sprout-lo); }
.nf-path { word-break: break-all; }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; padding: 0; margin: 28px 0 0; }
.nf-links a { display: inline-block; padding: 10px 0; }

/* Docs */
.docs-search { position: relative; max-width: 600px; margin-top: 26px; }
.docs-search .icon { position: absolute; left: 18px; top: 50%; margin-top: -.625em; color: var(--muted); pointer-events: none; }
.docs-search input { width: 100%; min-height: 58px; padding: 0 18px 0 50px; font: inherit; font-size: 1.0625rem; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 16px; box-shadow: var(--sh-1); }
.docs-search input:focus-visible { outline: 0; border-color: var(--sprout-lo); box-shadow: 0 0 0 4px rgba(43, 217, 139, .3); }
.docs-sections { display: grid; gap: 44px; }
.docs-section h2 { font-size: 1.6rem; margin-bottom: .2em; }
.docs-section-desc { color: var(--muted); max-width: 70ch; }
.docs-items { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.docs-item a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.docs-item a:hover { border-color: var(--sprout-lo); transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--text); }
.docs-item strong { color: var(--link); }
.docs-item span { color: var(--muted); font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.docs-empty { text-align: center; padding: 32px 0; color: var(--muted); }
.is-filtered-out { display: none !important; }
.docs-wrap { padding-bottom: 80px; }
.docs-menu { margin: 8px 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.docs-menu > summary { display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 0 16px; font-weight: 650; cursor: pointer; list-style: none; }
.docs-menu > summary::-webkit-details-marker { display: none; }
.docs-menu[open] .chev { transform: rotate(180deg); }
.docs-menu nav { padding: 0 16px 16px; max-height: 60vh; overflow-y: auto; }
.docs-layout { display: grid; gap: 32px; }
.docs-side, .docs-toc { display: none; }
.docs-nav-list, .docs-nav-list ul, .docs-toc ul { list-style: none; margin: 0; padding: 0; }
.docs-nav-h { margin: 22px 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.docs-nav-list li li a { display: block; padding: 7px 12px; margin-left: -12px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: .9375rem; line-height: 1.35; }
.docs-nav-list li li a:hover { background: var(--bg-alt); color: var(--text); }
.docs-nav-list a[aria-current="page"] { background: var(--soft); color: var(--soft-ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--sprout-lo); }
.docs-head h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -.035em; }
.docs-head .lead { font-size: 1.125rem; }
.docs-main { min-width: 0; }
.docs-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.docs-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 22px; background: var(--soft); border: 1px solid rgba(43, 217, 139, .45); border-radius: 14px; }
.docs-help p { margin: 0; max-width: 56ch; }
.docs-related { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.docs-related h2 { font-size: 1.15rem; margin: 0 0 .4em; }
.docs-related li a { font-weight: 600; }
.docs-head .eyebrow a { text-decoration: none; }
.docs-pager { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.docs-pager a { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--surface); color: var(--text); transition: border-color .15s; }
.docs-pager a:hover { border-color: var(--sprout-lo); }
.docs-pager small { color: var(--muted); font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.docs-pager span { font-weight: 650; color: var(--link); }
.pager-next { text-align: right; }
@media (min-width: 560px) { .pager-next:only-child { grid-column: 2; } }
.docs-toc-h { font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.docs-toc a { display: block; padding: 5px 0 5px 14px; border-left: 2px solid var(--line); color: var(--text-2); text-decoration: none; font-size: .875rem; line-height: 1.35; }
.docs-toc a:hover, .docs-toc a.is-active { border-left-color: var(--sprout-lo); color: var(--text); }
.docs-toc a.is-active { font-weight: 650; }
.docs-toc .toc-l3 a { padding-left: 28px; }
@media (min-width: 960px) {
  .docs-menu { display: none; }
  .docs-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 52px; }
  .docs-side { display: block; position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; padding-right: 8px; }
  .docs-side .docs-nav-list > li:first-child .docs-nav-h { margin-top: 0; }
}
@media (min-width: 1240px) {
  .docs-layout.has-toc { grid-template-columns: 260px minmax(0, 1fr) 220px; }
  .docs-toc { display: block; position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; }
}

/* Footer */
.site-footer { background: var(--n-950); color: #b4c8be; padding: 72px 0 32px; position: relative; overflow: hidden; }
.site-footer a { color: #dcebe3; text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--sprout-hi); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--sprout-hi); }
.site-footer .brand { color: #fff; --logo-dot: #2bd98b; }
.site-footer .brand .brand-logo { height: 30px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 360px; }
.footer-brand p { margin: 1em 0 1.2em; font-size: .9375rem; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.site-footer .footer-cta .btn { display: inline-flex; min-height: 48px; padding: .6rem 1.5rem; border-radius: var(--r-pill); color: var(--on-sprout); text-decoration: none; }
.site-footer .footer-cta .btn:hover { color: var(--on-sprout); text-decoration: none; }
.footer-cta span { font-size: .8125rem; color: #8fa89c; }
.footer-h { font: 700 .75rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: #8fa89c; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; }
.footer-base p { margin: 0; }
@media (min-width: 680px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }

/* Scroll reveal (only when JS runs and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { .d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .docs-side, .docs-toc, .docs-menu, .copy-btn, .sticky-cta { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Desktop app showcase */
.app-shot { margin: 0 auto 28px; max-width: 1040px; }
.app-shot img, .app-shot-sm img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: var(--sh-2, 0 24px 60px -24px rgba(7, 18, 13, .45)); }
.app-shot-sm { display: block; margin: 16px 0; }
.app-points { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; gap: 14px 28px; max-width: 1040px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.app-points li { display: flex; gap: 10px; align-items: flex-start; }
.app-points .icon { flex: none; margin-top: .2em; color: var(--sprout); }
.btn-row-center { justify-content: center; }
.app-fine { text-align: center; margin: 16px auto 0; max-width: 640px; }
