/* ==========================================================================
   SIPmind — marketing site (light, editorial). Hand-written, no Tailwind.
   Tokens first; every colour below is one of these.
   ========================================================================== */

/* ── Fallback faces that occupy the SAME space as the webfonts ─────────────
   Measured on the live front page, CPU throttled 4x on a 4G link: the first
   text paints at ~1.4 s in the system fonts, the webfonts arrive ~1 s later,
   and the whole page re-flows around them — layout shift 0.232, every
   element below the hero moving at once, and 0.000 with the webfonts blocked.
   That is the "page jumps under me" every first-time visitor sees.

   These faces are the system fonts scaled and re-metricked to the webfonts'
   average glyph width and vertical metrics (computed with fontTools from the
   files Google serves, 2026-09-24), so the swap changes the letterforms and
   nothing else: no line re-wraps, nothing moves. Georgia / Arial / Menlo are
   the locals both macOS and Windows have; where one is missing the stack
   falls through to its generic and the swap shifts as before — no worse than
   today. Newsreader is Latin-only; Cyrillic falls to Source Serif 4, which
   is why the serif fallback is tuned to Newsreader and not to it. */
@font-face {
    font-family: "Newsreader Fallback";
    src: local("Georgia");
    size-adjust: 92.65%;
    ascent-override: 79.33%;
    descent-override: 28.60%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "IBM Plex Sans Fallback";
    src: local("Arial");
    size-adjust: 102.76%;
    ascent-override: 99.75%;
    descent-override: 26.76%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "JetBrains Mono Fallback";
    src: local("Menlo");
    size-adjust: 99.66%;
    ascent-override: 102.35%;
    descent-override: 30.10%;
    line-gap-override: 0%;
}

:root {
    --paper: #F6F5F0;
    --paper-2: #EFEEE6;
    --card: #FFFFFF;
    --ink: #171A17;
    --ink-2: #3A3F3A;
    /* 🔴 Was #6B726B until 2026-09-24. Measured on the live storefront: that
       grey on the section background (#EFEEE6) gives a contrast ratio of
       4.25, and on the tinted tag background 4.23 — under the 4.5 that small
       text needs to stay legible. It carries 22 elements on the front page
       alone: every section label above every heading, the footer lines, the
       tags inside the demo card. #626963 is the same grey a shade deeper:
       4.85 on the section ground, 5.17 on paper, and no visible change to the
       quiet hierarchy the page is built on. */
    --slate: #626963;
    --rule: #DCDBD3;
    --rule-soft: #E9E8E1;
    --green: #0E6B4F;
    --green-ink: #0B5A42;
    --green-soft: #E4F0EA;
    --brass: #8F6E2E;
    --wa: #25D366;
    --wa-ink: #0B3D1F;
    --danger: #B23A2E;

    /* Newsreader covers latin only — Source Serif 4 carries the Cyrillic at
       matching width and contrast, so RU and EN read as one design. */
    --serif: "Newsreader", "Source Serif 4", "Newsreader Fallback", Georgia, "Times New Roman", serif;
    --sans: "IBM Plex Sans", "IBM Plex Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, Menlo, monospace;

    --w: 1200px;
    --gutter: 24px;
    --r: 4px;
    --r-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green-soft); color: var(--ink); }

h1, h2, h3, .serif {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.012em;
    margin: 0;
    text-wrap: balance;
    font-optical-sizing: auto;
}
h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
h3 { font-size: 26px; line-height: 1.18; }
p { margin: 0; }
.mono { font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -.01em; }
.muted { color: var(--slate); }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.small { font-size: 14px; line-height: 1.5; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border-radius: var(--r);
    font-weight: 600; font-size: 15.5px; white-space: nowrap;
    border: 1px solid transparent;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2A2E2A; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-ink); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1FBF5B; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.link { color: var(--green-ink); font-weight: 500; border-bottom: 1px solid transparent; }
.link:hover { border-bottom-color: currentColor; }
.link-arrow::after { content: " \2192"; }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(246, 245, 240, 0.86);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
/* Six items since «Channels» joined (2026-10-06): between the phone menu and a
   wide screen the Russian labels need the room, so the gap gives first. */
.nav-links a { white-space: nowrap; }
@media (max-width: 1200px) { .nav-links { gap: 18px; font-size: 14.5px; } }
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px; }
.nav-right { display: flex; align-items: center; gap: 14px; }
/* The links sit in the middle of the bar on every page, whether or not the
   page has a language switch: with space-between they moved ~46px between
   /security and /terms. Wide screens only; on a phone the links fold away. */
@media (min-width: 961px) {
    .nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
    .nav-right { justify-self: end; }
}
.lang {
    display: inline-flex; align-items: center; height: 36px; padding: 0 10px;
    border: 1px solid var(--rule); border-radius: var(--r); font-size: 13px; font-weight: 500; letter-spacing: .04em;
    white-space: nowrap;
}
.lang:hover { border-color: var(--ink); }
.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-burger svg { width: 22px; height: 22px; }
.nav-mobile { display: none; border-top: 1px solid var(--rule-soft); padding: 12px var(--gutter) 20px; }
.nav-mobile > a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--rule-soft); }
.nav-mobile .row { display: flex; gap: 10px; margin-top: 16px; }
.nav-mobile .row .btn { flex: 1; }
.nav-mobile.open { display: block; }
@media (max-width: 960px) {
    .nav-links, .nav-right .btn, .nav-right .login { display: none; }
    .nav-burger { display: inline-flex; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 104px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section.tint { background: var(--paper-2); }
.section-head {
    display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start;
    margin-bottom: 48px;
}
.section-label { font-size: 14px; color: var(--slate); padding-top: 10px; }
.section-head .lede { margin-top: 16px; }
@media (max-width: 800px) {
    .section { padding: 72px 0; }
    .section-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
    .section-label { padding-top: 0; }
}

/* ---------- Hero ---------- */
/* 56px below: the scene that follows is the page's thesis and should begin on
   the first screen, not after a band of empty paper. */
.hero { padding: 56px 0 0; background: linear-gradient(var(--paper) 0, var(--paper) 55%, var(--paper-2) 100%); }
/* 🔴 The hero headline sets its OWN size, smaller than the global h1.
   Measured 2026-09-16 while mocking this up: the global clamp(42px, 5.6vw, 72px)
   renders at 72px on a 1440 screen and puts the Russian headline on FIVE lines.
   Editing `max-width` changed nothing — an hour proved the size is what decides.
   At 52px it is three lines and still the loudest thing on the page.
   `align-items: start` because centring floated the call card down the column,
   leaving dead space the full width of the card above it. */
.hero .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.hero h1 { max-width: 12.5em; font-size: clamp(42px, 4.6vw, 60px); letter-spacing: -0.024em; }
.hero .lede { margin-top: 22px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.hero .cta .link { margin-left: 6px; }
.hero .proof { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--slate); max-width: 40em; line-height: 1.5; }
.hero .proof b { color: var(--ink); font-weight: 600; font-size: 15px; }

/* The product in a dark window. One component for every screenshot on the
   storefront: the mass of the page comes from these, not from hairlines. In
   the hero the fold cuts it; in #product it stands whole. */
.frame { margin: 40px 0 0; border-radius: 12px 12px 0 0; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(23, 26, 23, .55); aspect-ratio: 1152 / 560; }
.frame.whole { aspect-ratio: auto; border-radius: 12px; margin: 0; }
.frame-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; color: #A9AEA9; font-size: 13px; }
.fb-dots { display: inline-flex; gap: 6px; }
.fb-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A3F3A; }
.fb-url { flex: 1; text-align: center; color: #8E938E; }
.fb-live { display: inline-flex; align-items: center; gap: 8px; color: #C9E8DA; font-weight: 500; }
.fb-live i { width: 8px; height: 8px; border-radius: 50%; background: #34C48C; box-shadow: 0 0 0 3px rgba(52, 196, 140, .25); }
.frame-body { background: #fff; height: calc(100% - 44px); }
.frame-body img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame.whole .frame-body { height: auto; }
.frame.whole .frame-body img { height: auto; }
@media (max-width: 900px) {
    .frame { margin-top: 32px; aspect-ratio: 4 / 3; border-radius: 10px 10px 0 0; }
    .frame-bar { height: 36px; font-size: 13px; }
    .fb-url { display: none; }
}
@media (max-width: 960px) {
    .hero { padding: 48px 0 64px; }
    .hero .grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Load sequence: a single rise for the hero, nothing else on the page moves. */
@media (prefers-reduced-motion: no-preference) {
    .js .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
    .js .rise-2 { animation-delay: .08s; }
    .js .rise-3 { animation-delay: .16s; }
    .js .rise-4 { animation-delay: .28s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* "Hear it now" panel */
.hear {
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
    box-shadow: 0 30px 60px -48px rgba(23, 26, 23, .45);
    overflow: hidden;
}
.hear-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--rule-soft); }
.hear-head .t { font-weight: 600; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.hear-body { padding: 18px 20px 20px; }
.hear-line { display: none; }
.hear-line.on { display: block; }
.hear-who { display: flex; align-items: center; gap: 14px; }
.hear-avatar {
    width: 46px; height: 46px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink);
    display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 21px; font-weight: 500; flex: none;
}
.hear-name { font-weight: 600; }
.hear-role { font-size: 13.5px; color: var(--slate); }
/* The speech wave (templates/_wave.html). At rest it is the silhouette of a
   spoken phrase; it moves only while `.speaking` is on, i.e. while something is
   being said, then settles back through the transition. */
.wave { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin: 16px 0 14px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: var(--green); opacity: .8; transform-origin: bottom; height: 100%; transform: scaleY(var(--h, .4)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: no-preference) {
    .wave.speaking i { animation: talk var(--d, .42s) ease-in-out infinite alternate; animation-delay: var(--o, 0s); }
}
@keyframes talk { from { transform: scaleY(calc(var(--h, .4) * .3 + .06)); } to { transform: scaleY(min(1, calc(var(--h, .4) * 1.3 + .12))); } }
.wave-sm { display: inline-flex; vertical-align: -2px; height: 13px; gap: 2px; margin: 0 0 0 10px; }
.wave-sm i { width: 2px; border-radius: 1px; }
.hear-num { font-family: var(--mono); font-size: 15px; letter-spacing: .01em; display: flex; justify-content: space-between; align-items: baseline; }
.hear-num .lang-tag { font-family: var(--sans); font-size: 13px; color: var(--slate); letter-spacing: .02em; }
.hear-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.hear-note { font-size: 13.5px; color: var(--slate); margin-top: 12px; line-height: 1.5; }
@media (max-width: 420px) { .hear-actions { grid-template-columns: 1fr; } }

/* ---------- Product (screenshots) ---------- */
.shot { border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.shot img { width: 100%; }
/* 🔴 ONE column, and it must stay one. Until 2026-09-16 this was `1fr 1fr`,
   which rendered a 1700px dashboard screenshot at **558px** — a third of life
   size. The lead board, the one image that proves the CRM fills itself, came out
   a grey mosaic: you could see there was a screen, not what was on it. Below
   roughly 1100px of rendered width, dashboard chrome and 13px table text stop
   resolving, and an unreadable screenshot proves nothing while still costing the
   page-load. The same measurement killed three of four hero mockups that tried
   putting a shot in a 640px column. The section is twice as tall now; that is
   the right trade — three shots that work beat one that works and two that
   decorate. `tests/test_a_screenshot_wide_enough_to_read.py`. */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: 24px; align-items: start; }
.shot-crop { aspect-ratio: 1700 / 760; }
.shot-crop img { height: 100%; object-fit: cover; object-position: top; }
.product-notes { display: grid; gap: 0; margin-top: 32px; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.product-notes > div { padding: 20px 20px 0 0; border-right: 1px solid var(--rule-soft); }
.product-notes > div + div { padding-left: 20px; }
.product-notes > div:last-child { border-right: 0; }
.product-notes b { display: block; font-weight: 600; margin-bottom: 6px; }
.product-notes p { font-size: 14.5px; color: var(--slate); line-height: 1.5; }
/* ---------- The app (2026-10-12) ----------
   One heavy object: two phones overlapping, the call in front. The notes are
   rows on rules, not cards. A flex/grid cell would stretch the images, so the
   phones carry their own width and height:auto (see CLAUDE.md, the 57-px logos). */
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.app-phones { position: relative; height: 690px; }
.app-phone { position: absolute; margin: 0; width: 280px; border-radius: 40px; overflow: hidden; background: var(--ink);
    border: 8px solid var(--ink); box-shadow: 0 40px 80px -40px rgba(23, 26, 23, .55); }
.app-phone img { display: block; width: 100%; height: auto; max-width: none; border-radius: 32px; }
.app-phone.back { left: 0; top: 0; }
.app-phone.front { left: 200px; top: 56px; }
.app-notes > div { padding: 18px 0; border-top: 1px solid var(--rule); }
.app-notes > div:last-of-type { border-bottom: 1px solid var(--rule); }
.app-notes b { display: block; font-weight: 600; margin-bottom: 6px; }
.app-notes p { font-size: 15.5px; color: var(--slate); line-height: 1.5; }
.app-store { margin-top: 28px; }
@media (max-width: 960px) {
    .app-grid { grid-template-columns: 1fr; gap: 40px; }
    .app-phones { height: 570px; max-width: 420px; }
    .app-phone { width: 230px; border-radius: 34px; border-width: 7px; }
    .app-phone img { border-radius: 27px; }
    .app-phone.front { left: auto; right: 0; top: 44px; }
}
@media (max-width: 420px) {
    .app-phones { height: 430px; }
    .app-phone { width: 180px; border-radius: 28px; border-width: 6px; }
    .app-phone img { border-radius: 22px; }
}

.caption { font-size: 13.5px; color: var(--slate); margin-top: 10px; line-height: 1.5; }
@media (max-width: 900px) {
    .product-notes { grid-template-columns: 1fr 1fr; }
    .product-notes > div:nth-child(2) { border-right: 0; }
    .product-notes > div:nth-child(3) { padding-left: 0; border-right: 1px solid var(--rule-soft); }
}
@media (max-width: 520px) {
    .product-notes { grid-template-columns: 1fr; }
    .product-notes > div { border-right: 0 !important; padding-left: 0 !important; }
}

/* ---------- How it works: one customer, two channels, one card (a scene) ----------
   Everything is namespaced `sc-`: the storefront already owns .rows, .row and .k.
   The markup is the final frame; site.js::initScene plays it once. Only opacity
   and transform animate, every layer's space is reserved from the first frame,
   so nothing on the page moves while it plays (measured: 0 shift, 60 fps at 4×
   CPU throttle on a 390px phone). */
.sc-stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.sc-pane { padding: 20px 26px 22px; }
.sc-conv { border-right: 1px solid var(--rule-soft); }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-soft); margin-bottom: 12px; min-height: 44px; }
.sc-lead { min-width: 0; }
.sc-swap { display: grid; }
.sc-swap > * { grid-area: 1 / 1; }
.sc-state { font-weight: 600; font-size: 15px; }
.sc-state > span { display: inline-flex; align-items: center; gap: 9px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; position: relative; }
.sc-wa { background: var(--wa); }
.sc-ring { background: var(--brass); }
.sc-live { background: var(--green); }
.sc-done { background: var(--rule); }
.sc-ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--brass); opacity: 0; }
.sc-ringing .sc-ring::after { animation: sc-ring 1.1s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes sc-ring { from { transform: scale(.55); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.sc-k { font-size: 13.5px; font-weight: 500; color: var(--brass); margin-top: 4px; }
.sc-meta { text-align: right; font-variant-numeric: tabular-nums; display: grid; gap: 4px; justify-items: end; }
.sc-num { font-family: var(--mono); font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.sc-clock { font-size: 13.5px; color: var(--slate); }
/* The conversation is a window of fixed height: new lines arrive at the bottom
   and older ones move up, as in a messenger, by transform. */
.sc-win { position: relative; height: 430px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px); mask-image: linear-gradient(to bottom, transparent 0, #000 26px); }
.sc-lines { display: grid; gap: 12px; position: relative; padding-top: 18px; transition: transform .55s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.sc-line { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.sc-w { font-size: 13px; font-weight: 500; color: var(--slate); }
.sc-ai .sc-w { color: var(--green-ink); }
.sc-m { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.sc-ai .sc-m { color: var(--ink); }
.sc-tool .sc-m { font-size: 13.5px; color: var(--slate); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.sc-res { color: var(--green-ink); font-weight: 500; }
.sc-tdot { display: inline-grid; width: 7px; height: 7px; align-self: center; }
.sc-tdot i { grid-area: 1 / 1; width: 7px; height: 7px; border-radius: 50%; }
.sc-p { background: var(--rule); }
.sc-d { background: var(--green); }
.sc-sep { display: flex; align-items: center; gap: 12px; margin: 8px 0 2px; font-size: 13px; font-weight: 500; letter-spacing: .03em; color: var(--brass); }
.sc-sep::before, .sc-sep::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.sc-crm { font-weight: 600; font-size: 15px; }
.sc-crm-sub { font-size: 13px; color: var(--slate); margin-top: 4px; }
.sc-rows { display: grid; margin: 0; }
.sc-row { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 10px; margin: 0 -10px; border-bottom: 1px solid var(--rule-soft); border-radius: 4px; }
.sc-row:last-child { border-bottom: 0; }
.sc-row > dt { font-size: 13.5px; color: var(--slate); margin: 0; }
.sc-row > dd { margin: 0; font-size: 15px; font-weight: 500; }
.sc-ph { color: var(--rule); font-weight: 400; }
.sc-note { display: block; font-size: 13px; font-weight: 400; color: var(--slate); margin-top: 2px; }
.sc-mono { font-family: var(--mono); font-weight: 400; font-size: 14.5px; }
.sc-row b { font-weight: 500; }
.sc-adds { display: flex; gap: 6px; flex-wrap: wrap; }
.sc-chip { font-size: 12.5px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.sc-chip i { width: 6px; height: 6px; border-radius: 50%; }
.sc-chip-wa i { background: var(--wa); }
.sc-chip-call i { background: var(--green); }
/* a row that just changed says so, once */
.sc-row::before { content: ""; position: absolute; inset: 0; border-radius: 4px; background: var(--green-soft); opacity: 0; pointer-events: none; z-index: 0; }
.sc-row > * { position: relative; z-index: 1; }
.sc-row.sc-flash::before { animation: sc-flash 1.3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sc-flash { 0% { opacity: 0; } 16% { opacity: 1; } 100% { opacity: 0; } }
.sc-rail { margin-top: 22px; }
.sc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sc-step { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--slate); transition: color .3s cubic-bezier(.2, .7, .2, 1); }
.sc-step b { font-size: 13.5px; font-weight: 600; color: var(--brass); }
.sc-step.on { color: var(--ink); }
.sc-short { display: none; }
.sc-track { margin-top: 12px; height: 2px; background: var(--rule-soft); border-radius: 2px; overflow: hidden; }
.sc-fill { height: 100%; background: var(--green); transform-origin: left center; transform: scaleX(1); }
.sc-foot { margin-top: 14px; display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
.sc-replay { font: inherit; color: var(--green-ink); background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-bottom: 1px solid transparent; }
.sc-replay:hover { border-bottom-color: currentColor; }
.sc-replay:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 860px) {
    .sc-stage { grid-template-columns: 1fr; }
    .sc-conv { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
    .sc-win { height: 300px; }
    .sc-row { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 640px) {
    .sc-pane { padding: 16px 16px 18px; }
    .sc-win { height: 236px; }
    .sc-head { padding-bottom: 10px; margin-bottom: 8px; flex-direction: column; gap: 6px; }
    .sc-meta { width: 100%; grid-auto-flow: column; justify-content: space-between; text-align: left; }
    .sc-line { grid-template-columns: 1fr; gap: 2px; }
    .sc-steps { gap: 12px; }
    .sc-long { display: none; }
    .sc-short { display: inline; }
    .sc-replay { min-height: 44px; }
}
/* the scene's own states — without JS the markup is already the final frame */
.js .sc-rv { opacity: 0; transform: translateY(6px); transition: opacity .38s cubic-bezier(.2, .7, .2, 1), transform .38s cubic-bezier(.2, .7, .2, 1); }
.js .sc-rv.on { opacity: 1; transform: none; }
.js .sc-fx { transition: opacity .32s cubic-bezier(.2, .7, .2, 1); }
.js .sc .off { opacity: 0; }
.sc-instant .sc-rv, .sc-instant .sc-fx, .sc-instant .sc-lines { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
    .js .sc-rv, .js .sc-fx, .sc-lines { transition: none !important; }
    .sc-ringing .sc-ring::after, .sc-row.sc-flash::before { animation: none; }
}
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 12.5px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .story > div { animation: rise both linear; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    }
}
@media (max-width: 900px) {
    .story { grid-template-columns: 1fr; }
    .story > div { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
    .story > div:last-child { border-bottom: 0; }
}

/* ---------- Measured (case) ---------- */
.measured { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.figures { border-top: 1px solid var(--ink); }
.figure { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.figure .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--brass); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.figure .n small { font-size: 22px; }
.figure .t { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
/* A measured fact under a lede: the claim in ink, its base in the quiet grey,
   so a reader sees at once what it rests on. */
.fact { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.fact b { color: var(--ink); font-weight: 600; }
.fact span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--slate); }
.figure .t em { font-style: normal; color: var(--slate); font-size: 14px; display: block; margin-top: 2px; }
/* The measured months (landing.html #measured). One scale: a bar's height is
   its month over the largest month; the green part is the share the AI replied
   to. Tabular mono figures, month under the bar, the share under that. */
.mchart-wrap { border-top: 1px solid var(--ink); padding-top: 18px; }
.mchart-title { font-size: 15px; color: var(--ink-2); margin: 0 0 20px; }
/* One row for any number of months: a fixed repeat(8) wrapped the ninth month
   onto a second line when October joined (2026-10-18). */
.mchart { --bar-max: 190px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; align-items: end; }
.mcol { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: calc(var(--bar-max) + 64px); }
.mval { font-size: 13px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mbar { position: relative; width: 100%; max-width: 44px; height: calc(var(--v) * var(--bar-max)); min-height: 3px; background: var(--rule); border-radius: 3px 3px 0 0; overflow: hidden; flex: none; }
.mbar i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--ai) * 100%); background: var(--green); }
.mcol.partial .mbar { background: repeating-linear-gradient(135deg, var(--rule) 0 4px, var(--paper) 4px 7px); }
.mmon { font-size: 13px; color: var(--ink-2); }
.mai { font-size: 13px; font-weight: 500; color: var(--green); font-variant-numeric: tabular-nums; }
.mchart-key { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin: 18px 0 0; font-size: 13.5px; color: var(--slate); }
.mchart-key .k { display: inline-flex; align-items: baseline; gap: 8px; }
.mchart-key .k i { flex: none; width: 10px; height: 10px; border-radius: 2px; transform: translateY(1px); }
.mchart-key .k-ai { background: var(--green); }
.mchart-key .k-rest { background: var(--rule); }
.mchart-note { font-size: 13px; color: var(--slate); margin: 8px 0 0; }
.mledger { margin: 28px 0 0; border-top: 1px solid var(--rule); }
.mledger > div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.mledger dt { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--brass); font-variant-numeric: tabular-nums; }
.mledger dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mledger em { font-style: normal; color: var(--slate); font-size: 13.5px; display: block; }
@media (max-width: 640px) {
    /* Nine months in 375–390 px without going under 12 px (the storefront's
       floor, tests/test_the_storefront_has_mass.py): tight gap, tight figures. */
    .mchart { --bar-max: 130px; gap: 2px; }
    .mval { font-size: 12px; letter-spacing: -.05em; }
    .mmon { font-size: 12px; }
    .mai { font-size: 12px; letter-spacing: -.03em; }
}
blockquote { margin: 40px 0 0; padding: 0; font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--ink); max-width: 30em; }
blockquote footer { margin-top: 14px; font-family: var(--sans); font-size: 14px; color: var(--slate); }
@media (max-width: 900px) {
    .measured { grid-template-columns: 1fr; gap: 32px; }
    .figure { grid-template-columns: 130px 1fr; }
    .figure .n { font-size: 36px; }
}

/* ---------- Industries ---------- */
.rows { border-top: 1px solid var(--ink); }
.row-item { display: grid; grid-template-columns: 260px minmax(0, 1fr) 220px; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.row-item h3 { font-size: 24px; }
.row-item p { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 44em; }
.row-item .does { font-size: 14px; color: var(--slate); line-height: 1.6; }
.row-item .does span { display: block; }
@media (max-width: 900px) {
    .row-item { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Roles / employees ---------- */
.roles { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.role-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.role-list span { font-size: 14px; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); background: var(--card); }
.role-list span.on { border-color: var(--ink); color: var(--ink); }
.teaser { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--card); display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.teaser b { display: block; font-weight: 600; }
.teaser p { font-size: 14.5px; color: var(--slate); margin-top: 4px; max-width: 36em; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.plan { padding: 28px 20px 26px; border-right: 1px solid var(--rule-soft); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan.hi { background: var(--ink); color: var(--paper); }
.plan .name { font-weight: 600; font-size: 17px; }
.plan .pick { font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 10px; }
.plan.hi .pick { color: #6FD3A8; }
.plan .for { font-size: 13.5px; line-height: 1.45; color: var(--slate); margin-top: 3px; min-height: 40px; }
/* Five narrow columns wrap the longest line to three lines — reserve them, so
   every price sits on one baseline. */
@media (min-width: 1101px) { .plan .for { min-height: calc(3 * 1.45em); } }
.plan.hi .for { color: rgba(246,245,240,.65); }
.plan .price { font-family: var(--serif); font-size: 42px; line-height: 1; margin-top: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--sans); font-size: 14px; color: var(--slate); letter-spacing: 0; margin-left: 4px; }
.plan.hi .price small { color: rgba(246,245,240,.6); }
.plan .price .from { font-family: var(--sans); font-size: 14px; display: block; color: var(--slate); margin-bottom: 4px; letter-spacing: 0; }
/* 🔴 `align-content: start` — без него список раздаёт свои строки по всей
   высоте карточки. `flex: 1` растягивает ul до дна колонки, а grid по умолчанию
   распределяет строки равномерно: тариф с четырьмя пунктами получал те же
   провалы, что сосед с шестью. Владелец увидел это на скриншоте 16.09, когда
   мой пункт про минуты сделал самую высокую карточку ещё выше. flex:1 должен
   ДАВАТЬ место, а не раскладывать по нему. */
.plan ul { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 9px; align-content: start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); flex: 1; }
.plan.hi ul { color: rgba(246,245,240,.85); }
.plan ul li { padding-left: 18px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: currentColor; opacity: .6; }
.plan .btn { align-self: stretch; }
.plan.hi .btn-line { color: var(--paper); border-color: rgba(246,245,240,.35); }
.plan.hi .btn-line:hover { border-color: var(--paper); }
/* The same price in the reader's currency (approx-price.js). Empty = hidden. */
.plan .approx { font-size: 13.5px; color: var(--slate); margin-top: 6px; font-variant-numeric: tabular-nums; }
.plan .approx:empty { display: none; }
.plan.hi .approx { color: rgba(246,245,240,.65); }
/* A year paid up front, −20% (2026-10-23): one quiet line under the price. */
.plan .yearly { font-size: 13.5px; color: var(--slate); margin-top: 4px; font-variant-numeric: tabular-nums; }
.plan .yearly b { color: var(--ink); font-weight: 500; }
.plan.hi .yearly { color: rgba(246,245,240,.65); }
.plan.hi .yearly b { color: var(--paper); }
.yearly-note { margin-top: 14px; font-size: 14px; color: var(--slate); line-height: 1.6; }
.approx-bar { margin-top: 14px; font-size: 13.5px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.approx-bar select { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 3px 6px; margin-left: 6px; }
.plans-note { margin-top: 18px; font-size: 14px; color: var(--slate); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
/* Five plans (2026-09-26): side by side on a wide screen; below that two
   columns with the last plan spanning the row, so nothing sits alone. */
@media (max-width: 1100px) {
    .plans { grid-template-columns: 1fr 1fr; }
    .plan { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
    .plan:nth-child(odd) { border-right: 1px solid var(--rule-soft); }
    .plan:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
}
@media (max-width: 560px) {
    .plans { grid-template-columns: 1fr; }
    .plan { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
    .plan:nth-child(odd) { border-right: 0; }
    .plan:last-child { border-bottom: 0; }
}

/* ---------- Security ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--ink); }
.trust > div { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.trust b { display: block; font-weight: 600; margin-bottom: 6px; font-size: 17px; }
.trust p { font-size: 15px; color: var(--ink-2); line-height: 1.55; max-width: 34em; }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.offset { margin-left: 232px; }
@media (max-width: 800px) { .offset { margin-left: 0; } }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -6px;
    border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 44em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact form { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; font-size: 13.5px; color: var(--slate); margin-bottom: 6px; }
.field input {
    width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card);
    font: inherit; color: var(--ink); transition: border-color .15s;
}
.field input:focus { outline: 0; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact .alt { margin-top: 24px; display: grid; gap: 10px; font-size: 15px; }
.contact .alt a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.contact .alt a:hover { color: var(--ink); }
.contact .alt svg { width: 18px; height: 18px; color: var(--slate); }
#form-status { font-size: 14px; min-height: 1.5em; }
#form-status.ok { color: var(--green-ink); }
#form-status.err { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 28px; } .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--rule); padding: 56px 0 96px; background: var(--paper-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 0 0 12px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid a:hover { color: var(--green-ink); }
.foot-brand p { font-size: 14.5px; color: var(--slate); margin-top: 12px; max-width: 26em; line-height: 1.5; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Demo widget (light) ---------- */
#demo-bubble {
    position: fixed; right: 20px; bottom: 20px; z-index: 50;
    display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px;
    background: var(--ink); color: var(--paper); border-radius: 999px; font-weight: 600; font-size: 14.5px;
    box-shadow: 0 16px 32px -18px rgba(23,26,23,.6);
}
#demo-bubble svg { width: 18px; height: 18px; }
#demo-bubble.hidden { display: none; }
/* Hidden while the hero (which has its own "Talk to it now") is on screen. */
.js body:not(.past-hero) #demo-bubble { display: none; }
/* Contact and the footer carry their own ways to reach us. */
.js body.at-contact #demo-bubble { display: none; }
/* On a phone the labelled pill (~200x48) sat on a line of text wherever the
   reader stopped. A round icon takes a quarter of that; the label stays for a
   screen reader, visually hidden rather than removed. */
@media (max-width: 640px) {
    #demo-bubble { right: 16px; bottom: 16px; width: 52px; height: 52px; padding: 0; justify-content: center; }
    #demo-bubble svg { width: 22px; height: 22px; }
    #demo-bubble span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
#demo-panel {
    position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 380px; max-height: 600px;
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
    box-shadow: 0 30px 60px -30px rgba(23,26,23,.5); display: flex; flex-direction: column; overflow: hidden;
    font-family: var(--sans); color: var(--ink);
}
#demo-panel.hidden { display: none; }
@media (max-width: 640px) { #demo-panel { left: 12px; right: 12px; width: auto; bottom: 12px; max-height: 78vh; } }
.dm-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--rule-soft); }
.dm-title { font-weight: 600; font-size: 14.5px; }
.dm-sub { font-size: 12.5px; color: var(--slate); }
.dm-modes { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; font-size: 12.5px; }
.dm-modes button { padding: 6px 10px; color: var(--slate); }
.dm-modes button.on { background: var(--ink); color: var(--paper); }
.dm-close { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); color: var(--slate); margin-left: 8px; }
.dm-close:hover { background: var(--paper-2); color: var(--ink); }
.dm-close svg { width: 16px; height: 16px; }
.dm-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; max-height: 360px; }
.dm-msg { max-width: 86%; padding: 9px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.dm-msg.user { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 3px; }
.dm-msg.assistant { align-self: flex-start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 3px; }
.dm-msg.system { align-self: center; color: var(--slate); font-size: 12.5px; background: none; padding: 0; }
.dm-remaining { padding: 6px 14px; text-align: center; font-size: 13px; color: var(--slate); border-top: 1px solid var(--rule-soft); }
.dm-input { padding: 12px 14px; border-top: 1px solid var(--rule-soft); }
.dm-input form { display: flex; gap: 8px; }
.dm-input input { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--rule); border-radius: var(--r); font: inherit; font-size: 14px; color: var(--ink); background: var(--card); }
.dm-input input:focus { outline: 0; border-color: var(--ink); }
.dm-send { height: 40px; padding: 0 14px; border-radius: var(--r); background: var(--green); color: #fff; font-weight: 600; font-size: 14px; }
.dm-send:disabled { opacity: .5; cursor: not-allowed; }
.dm-voice { padding: 16px 14px 18px; border-top: 1px solid var(--rule-soft); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dm-voice.hidden, .dm-input.hidden, .dm-limit.hidden { display: none; }
#demo-mic-btn { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--rule); background: var(--card); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: border-color .15s, background-color .15s; }
#demo-mic-btn:hover { border-color: var(--ink); }
#demo-mic-btn:disabled { opacity: .5; cursor: wait; }
#demo-mic-btn svg { width: 26px; height: 26px; }
#demo-mic-btn.recording { border-color: var(--danger); background: #FBEDEA; }
@media (prefers-reduced-motion: no-preference) { #demo-mic-btn.recording { animation: dm-pulse 1.4s ease-in-out infinite; } }
@keyframes dm-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(178,58,46,.35);} 50% { box-shadow: 0 0 0 12px rgba(178,58,46,0);} }
.dm-status { font-size: 12.5px; color: var(--slate); }
.dm-limit { position: absolute; inset: 0; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; z-index: 2; }
.dm-limit p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; white-space: pre-line; }

/* ---------- Pricing page: add-ons, shelf, ROI, services, quote ---------- */
.addons { margin-top: 28px; display: grid; grid-template-columns: 200px 1fr 1fr; gap: 24px; align-items: start; }
.addon { display: flex; gap: 16px; align-items: baseline; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--card); font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.addon .n { font-family: var(--serif); font-size: 26px; white-space: nowrap; color: var(--ink); }
.addon .n small { font-family: var(--sans); font-size: 12.5px; color: var(--slate); margin-left: 2px; }
@media (max-width: 900px) { .addons { grid-template-columns: 1fr; gap: 12px; } }
.shelf { list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13.5px; color: var(--slate); }
.shelf a { color: var(--green-ink); }

.roi { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.roi-form { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 28px; }
.roi-row + .roi-row { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--rule-soft); }
.roi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; font-weight: 500; }
.roi-val { font-size: 18px; font-weight: 500; white-space: nowrap; }
.roi-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate); margin-top: 8px; }
.roi-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px; margin-top: 16px; outline: none; cursor: pointer;
    background: linear-gradient(to right, var(--green) 0%, var(--green) var(--pct, 0%), var(--rule) var(--pct, 0%)); }
.roi-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); cursor: grab; }
.roi-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); cursor: grab; }
.roi-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--green); outline-offset: 3px; }
.roi-formula { margin-top: 24px; font-size: 13.5px; color: var(--slate); }
.roi-formula summary { cursor: pointer; font-size: 13.5px; font-weight: 500; }
.roi-formula p { margin-top: 10px; line-height: 1.55; max-width: 60em; }
.roi-out { display: grid; gap: 12px; }
.roi-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 20px 22px; }
.roi-card-hi { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.roi-card-hi .caption { color: rgba(246,245,240,.65); }
.roi-card .k { font-size: 13px; color: var(--slate); }
.roi-card-hi .k { color: rgba(246,245,240,.65); }
.roi-card .big { font-family: var(--serif); font-size: 44px; line-height: 1.05; margin: 6px 0 8px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.roi-mult { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-size: 14.5px; }
.roi-mult .mono { font-size: 22px; font-weight: 500; }
.roi-track { height: 4px; background: var(--rule-soft); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.roi-bar { height: 100%; background: var(--green); border-radius: 999px; transition: width .4s ease; }
#roi-verdict-card p { font-size: 15px; line-height: 1.5; }
#roi-verdict-card[data-kind="strong"] { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
#roi-verdict-card[data-kind="neutral"] { border-color: var(--rule); }
#roi-verdict-card[data-kind="weak"] { color: var(--slate); }
.roi-number { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .roi-number.is-bump { animation: bump .32s cubic-bezier(.34,1.4,.64,1); } }
@keyframes bump { 40% { transform: translateY(-2px) scale(1.03); } }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }

.svc { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: 16px; }
.svc .mono { text-align: right; font-size: 15px; white-space: nowrap; }
.svc b { font-weight: 600; }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; gap: 4px; } .svc .mono { text-align: left; } }
.quote { margin-top: 40px; max-width: 640px; display: grid; gap: 14px; }
.quote h3 { font-size: 24px; margin-bottom: 6px; }
.quote select, .quote textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); font: inherit; color: var(--ink); }
.quote select { height: 48px; }
.quote select:focus, .quote textarea:focus { outline: 0; border-color: var(--ink); }
.quote-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#q-status { font-size: 14px; margin: 0; }
#q-status.ok { color: var(--green-ink); } #q-status.err { color: var(--danger); }

/* ---------- Works with (channels, telephony, integrations, languages) ---------- */
.works { border-top: 1px solid var(--ink); }
.works-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.works-row .k { font-size: 14px; color: var(--slate); }
.works-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 16px; }
.works-row li { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--rule); line-height: 1.3; }
.works-row li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.works-row li small { color: var(--slate); font-size: 13px; margin-left: 4px; }
@media (max-width: 800px) { .works-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Long-form document pages (security, privacy, terms, …) ----------
   Same tokens as the storefront, but a reading measure and a heading scale
   sized for a document rather than a poster. */
.doc-nav { border-bottom: 1px solid var(--rule-soft); background: var(--paper); }
.doc-nav .doc-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.doc-nav .right { display: flex; align-items: center; gap: 20px; font-size: 14.5px; color: var(--slate); }
.doc-nav .right a:hover { color: var(--ink); }

/* 🔴 `.doc-head`, `.doc` and `.doc-outro` sit on the SAME element as `.doc-wrap`
   (<main class="doc-wrap doc-head">). Written as `padding: 56px 0 8px`, their
   shorthand zeroed the side padding the wrap gives — measured 2026-09-25: on a
   phone every document page (security, privacy, terms, refund, support,
   developers, playbook, llc, linkedin, connect-number) set its text at 0px, on
   the edge of the glass. They set top and bottom only. */
.doc-wrap { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.doc-head { padding-top: 56px; padding-bottom: 8px; }
.doc-head h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.04; margin-bottom: 20px; }
.doc-head .sub { color: var(--slate); font-size: 15px; margin: -12px 0 24px; }
.doc-head > p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; margin-bottom: 16px; }
.doc-head > p:last-of-type { margin-bottom: 0; }

.doc { padding-top: 8px; padding-bottom: 88px; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.doc > p { margin-bottom: 18px; max-width: 68ch; }
/* Every doc page wraps its hero and its closing block in one extra <div>, so
   those paragraphs are grandchildren and used to lose their spacing entirely —
   the closing text ran together as one grey slab on /linkedin, /llc and
   /playbook. Matching one level down fixes all three without touching markup
   that is already correct. */
.doc > div > p { margin-bottom: 18px; max-width: 68ch; }
.doc-head > div > p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; margin-bottom: 16px; }
.doc-head > div > p:last-of-type { margin-bottom: 0; }
.doc h2 {
    font-size: 25px; line-height: 1.2; color: var(--ink);
    margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--rule);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 28px; }
.doc h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; letter-spacing: 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul { margin: 0 0 18px; padding-left: 20px; max-width: 68ch; }
.doc li { margin-bottom: 9px; }
.doc li::marker { color: var(--slate); }
/* A button is not a link. `.doc a` outranks `.btn-ink`, so every button on a
   document page wore the link's dark green — on the ink button that is dark
   text on black ("Create an account" on /developers, found 2026-09-28). */
.doc a:not(.btn) { color: var(--green-ink); font-weight: 500; border-bottom: 1px solid transparent; }
.doc a:not(.btn):hover { border-bottom-color: currentColor; }
.doc-label {
    font-size: 13.5px; font-weight: 500; color: var(--slate);
    margin: 34px 0 10px; display: block;
}
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 32px 0 8px; }
.doc-card { background: var(--card); padding: 20px 22px; }
.doc-card b { display: block; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.doc-card span { display: block; color: var(--slate); font-size: 14px; margin-top: 5px; line-height: 1.45; }
@media (max-width: 760px) { .doc-cards { grid-template-columns: 1fr; } }

.doc-foot { border-top: 1px solid var(--rule); background: var(--paper-2); padding: 28px 0; }
.doc-foot .wrap, .doc-foot .doc-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
.doc-foot a:hover { color: var(--green-ink); }

/* Callout box inside a document page (support contact card, refund summary). */
.doc-callout { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px 24px; margin: 12px 0 32px; }
.doc-callout h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 0 0 10px; letter-spacing: 0; }
.doc-callout ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15.5px; }
.doc-callout li { line-height: 1.5; }
.doc-callout strong { color: var(--ink); font-weight: 600; }

/* ---------- Document extras: numbered steps, code, tables ---------- */
.doc-steps { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: st; border-top: 1px solid var(--rule); }
.doc-step { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.doc-step::before { content: counter(st, decimal-leading-zero); font-family: var(--mono); font-size: 15px; color: var(--brass); padding-top: 3px; }
.doc-step h3 { font-family: var(--sans); font-size: 17.5px; font-weight: 600; margin: 0 0 6px; letter-spacing: 0; }
.doc-step p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.doc-step p + p { margin-top: 8px; }
@media (max-width: 600px) { .doc-step { grid-template-columns: 34px 1fr; gap: 12px; } }

.doc pre {
    background: var(--ink); color: #D6DBD4; border-radius: var(--r-lg); padding: 16px 18px; margin: 0 0 18px;
    font-family: var(--mono); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere;
}
.doc pre .c { color: #8B948A; }
.doc code.inline, .doc :not(pre) > code {
    font-family: var(--mono); font-size: .86em; background: var(--paper-2);
    border: 1px solid var(--rule-soft); padding: 1px 5px; border-radius: 4px; color: var(--ink);
}
.doc .mono { font-family: var(--mono); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.doc th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); font-weight: 600; }
.doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule-soft); font-size: 14.5px; vertical-align: top; }
.doc .tablewrap { overflow-x: auto; }
/* A group row inside a reference table (developers: "The agent", "CRM" …).
   Ink, not slate, and air above it, so 30 rows read as six short lists. */
.doc tbody th.group { padding: 26px 12px 8px; color: var(--ink); border-bottom: 1px solid var(--rule); }
.doc tbody tr:first-child th.group { padding-top: 12px; }
/* An endpoint path is one token: on a wide screen it never breaks. On a phone
   the row stacks — path above its description — instead of squeezing both
   into two columns where the path breaks mid-word. */
.doc table.endpoints td.mono { font-size: 13px; white-space: nowrap; }
@media (max-width: 640px) {
    .doc table.endpoints thead { display: none; }
    .doc table.endpoints tr, .doc table.endpoints td, .doc table.endpoints th { display: block; }
    .doc table.endpoints td.mono { white-space: normal; overflow-wrap: anywhere; border-bottom: 0; padding-bottom: 2px; }
    .doc table.endpoints td + td { padding-top: 2px; }
}
/* Numbered checklist inside a document page. The markup said
   `p-4 flex gap-4`, which styles nothing here — the number sat glued to its
   line with no column and no rhythm. */
.doc-check { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.doc-check:last-child { border-bottom: 0; }

.doc-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 8px; }
.doc-head .eyebrow-doc { font-size: 13.5px; font-weight: 500; color: var(--slate); display: block; margin-bottom: 14px; }
.doc-head .sub-lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; margin-top: 16px; }
.doc-copyrow { display: flex; gap: 8px; align-items: stretch; margin: 12px 0 8px; }
.doc-url { flex: 1; font-family: var(--mono); font-size: 13px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r); padding: 10px 12px; user-select: all; word-break: break-all; display: flex; align-items: center; }
.doc-outro { padding-top: 8px; padding-bottom: 64px; }

/* Rule blocks (playbook): a number that sits beside its title, and GOOD/BAD pairs. */
.doc-rule-head { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: baseline; margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--rule); }
.doc-rule-head:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.doc-rule-head span { font-family: var(--mono); font-size: 15px; color: var(--brass); }
.doc-rule-head h2 { margin: 0; border: 0; padding: 0; font-size: 25px; }
.doc-pair { display: grid; gap: 14px; margin: 4px 0 18px; padding-left: 76px; }
.doc-pair > div { border-left: 2px solid var(--rule); padding-left: 16px; }
.doc-pair .lbl { font-size: 13px; font-weight: 500; margin-bottom: 4px; color: var(--slate); }
.doc-pair .lbl.good { color: var(--green); }
.doc-pair .lbl.bad { color: var(--danger); }
.doc-pair > div:has(.good) { border-left-color: var(--green); }
.doc-pair > div:has(.bad) { border-left-color: var(--danger); }
@media (max-width: 700px) {
    .doc-rule-head { grid-template-columns: 34px 1fr; gap: 12px; }
    .doc-pair { padding-left: 0; }
}

/* ---- wall: who runs on it. Ink marks at rest, no colour, no counting. ---- */
.wall { padding: 8px 0 40px; border-top: 1px solid var(--rule-soft); }
.wall-label { font-size: 13px; letter-spacing: .02em; color: var(--slate); margin: 22px 0 18px; }
/* A grid that picks its own column count: a flex row left the sixth mark alone
   on a second line once the row lost two tiles (2026-09-24). */
/* The row is capped, not the columns (2026-10-23): with two marks `1fr` spread them
   across the page with a hole between. A capped column (minmax(136px, 280px))
   fixed the desktop but stacked the phone one per line — auto-fit counts columns
   by the MAX of the track. Widen the cap when the wall grows past five marks. */
.wall-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); max-width: 820px; gap: 20px 48px; align-items: start; }
/* A flex column STRETCHES its items to its own width, and the global
   `img { height:auto }` then scales the mark up with it — a 57px mark rendered at
   308px on the live page, dominating the row. So: no stretch, and the height is
   set here, not by the attribute the stretch was overriding. */
.wall-row li { display: grid; grid-template-rows: 56px auto; align-items: end; justify-items: start; gap: 10px; min-width: 136px; }
/* Every mark sits on the bottom of the same 56px box, so the names under marks of
   different heights share one line (they stood 12px apart, 2026-10-23). */
/* One tone for every mark: a client's colours on a wall of grey marks reads as
   the biggest customer, which is the wall ranking them (2026-10-07). */
.wall-row img { display: block; height: 48px; width: auto; max-width: none; opacity: .86; filter: grayscale(1) contrast(1.05); }
.wall-row img[alt="Allergoscreen"] { height: 36px; }   /* visually the heaviest mark */
/* A mark stacked over its name: the name must stay legible, so the lockup is
   taller than the horizontal marks beside it — its NAME then sits at their size. */
.wall-row span { font-size: 13.5px; color: var(--slate); line-height: 1.35; }
@media (max-width: 640px) { .wall-row { gap: 18px 32px; } .wall-row li { min-width: 130px; } }
.wall-row .wordmark { display: block; height: 48px; line-height: 48px; font-family: var(--sans); font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: var(--ink); opacity: .82; white-space: nowrap; }
/* 🔴 A name earns ink; a category does not. Measured on the live page
   2026-09-24: an unnamed customer ("Plumbing company", "Rehabilitation
   centre") was set at 21px in full ink, while the real marks beside it sat at
   40px on 82% opacity — so the tiles WITHOUT a name were the darkest, loudest
   things in the row, and the eye read "Plumbing company" as the biggest
   customer on the wall. A category is a caption about a customer, not their
   name, and now looks like one. `:not(.wordmark)` matters: a tile may carry a
   real name, and a name keeps the wordmark treatment. */
/* In a grid column a category may need two lines; it wraps INSIDE the 40px a
   mark takes, so captions under every tile still start on one line. */
.wall-row .tile b:not(.wordmark) { display: flex; align-items: center; height: 48px; line-height: 1.25; font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .01em; color: var(--slate); white-space: normal; }

/* ── Thumbs ───────────────────────────────────────────────────────────────
   Measured at 390px on 2026-09-24: the hero's third call to action,
   "Calculate your payback", was 27px tall, and the language toggle 36px,
   against the ~44px a finger actually needs. The `.link-arrow` class is also
   used INLINE inside a caption paragraph, where a 44px line box would tear
   the paragraph open — so this reaches the standalone ones by their place,
   not by the class alone. */
@media (max-width: 640px) {
    .cta .link-arrow {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .lang { min-height: 44px; }
}

/* ---- channel pages (/channels, /whatsapp, /instagram, /telegram) ----
   Same document family as /connect-number: one column, numbered rule-heads,
   one heavy object per page (a real card from the dashboard), the rest type. */
.ch-shot { margin: 26px 0 6px; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.ch-shot img { display: block; width: 100%; height: auto; }
/* On a phone the whole card shrinks to unreadable; show the half that holds the
   button, at a size you can read. Which half is per card (data-focus). */
@media (max-width: 600px) {
    .ch-shot img { aspect-ratio: var(--crop, 2 / 1); object-fit: cover; object-position: right center; }
    .ch-shot[data-focus="center"] img { object-position: center center; }
}
.ch-shot figcaption { font-size: 13px; color: var(--slate); padding: 10px 14px; border-top: 1px solid var(--rule-soft); line-height: 1.45; }
.ch-checks { margin: 4px 0 8px; }
.ch-checks .doc-check { grid-template-columns: 22px 1fr; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.ch-checks .doc-check::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 7px; justify-self: center; }
.ch-table-wrap { overflow-x: auto; margin: 10px 0 4px; }
.ch-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ch-table th { text-align: left; font-size: 13px; color: var(--slate); font-weight: 500; padding: 0 12px 10px 0; border-bottom: 1px solid var(--rule); }
.ch-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; color: var(--ink-2); line-height: 1.45; }
.ch-table td:first-child { color: var(--ink); }
.ch-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin: 18px 0 14px; }
.ch-flow .box { border: 1px solid var(--rule); background: var(--card); border-radius: var(--r-lg); padding: 16px 18px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ch-flow .box b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.ch-flow .arrow { color: var(--brass); font-size: 18px; }
.ch-faq { margin: 4px 0 8px; border-top: 1px solid var(--rule); }
.ch-faq details { border-bottom: 1px solid var(--rule); }
.ch-faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 600; font-size: 16px; position: relative; }
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(45deg); transition: transform .2s ease; }
.ch-faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.ch-faq .a { padding: 0 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 66ch; }
.ch-list { border-top: 1px solid var(--rule); margin: 28px 0 8px; }
.ch-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) 150px; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ch-row h3 { font-family: var(--sans); font-size: 17.5px; font-weight: 600; margin: 0 0 4px; letter-spacing: 0; }
.ch-row .kind { font-size: 13.5px; color: var(--slate); }
.ch-row .how { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.ch-row .how p + p { margin-top: 6px; }
.ch-row .need { font-size: 13.5px; color: var(--slate); }
.ch-row .time { font-size: 14.5px; font-weight: 600; color: var(--brass); line-height: 1.4; margin-bottom: 4px; }
.ch-together { margin: 8px 0 0; }
.ch-together form { display: grid; gap: 12px; margin-top: 14px; }
.ch-together .field label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
.ch-status { font-size: 14px; min-height: 1.5em; }
.ch-status.ok { color: var(--green-ink); }
.ch-status.err { color: var(--danger); }
@media (max-width: 760px) {
    .ch-row { grid-template-columns: 1fr; gap: 6px; }
    .ch-flow { grid-template-columns: 1fr; }
    .ch-flow .arrow { transform: rotate(90deg); justify-self: start; padding-left: 18px; }
    .ch-together .field-row { grid-template-columns: 1fr; }
}

/* ---- channel pages: a worked example (chat bubbles) and the switch list ---- */
.ch-chat { display: grid; gap: 10px; margin: 18px 0 8px; padding: 18px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.ch-chat .msg { max-width: 78%; padding: 10px 14px; border-radius: 12px; font-size: 15px; line-height: 1.45; position: relative; }
.ch-chat .msg.them { background: var(--card); border: 1px solid var(--rule); justify-self: start; border-bottom-left-radius: 4px; }
.ch-chat .msg.ai { background: var(--green); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.ch-chat .msg.ai .who { display: block; font-size: 12.5px; letter-spacing: .04em; opacity: .75; margin-bottom: 3px; }
.ch-chat .msg.tpl { background: var(--green-soft); color: var(--ink); justify-self: end; border: 1px dashed var(--green); border-bottom-right-radius: 4px; }
.ch-chat .msg.tpl .who { display: block; font-size: 12.5px; letter-spacing: .04em; color: var(--green-ink); margin-bottom: 3px; }
.ch-chat .msg.btn-row { background: var(--card); border: 1px solid var(--green); color: var(--green-ink); font-weight: 600; justify-self: end; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.ch-chat .note { font-size: 13px; color: var(--slate); justify-self: center; text-align: center; max-width: 60ch; padding: 4px 0; }
.ch-chat .note.pub { justify-self: start; font-size: 13.5px; color: var(--ink-2); background: var(--card); border-left: 2px solid var(--rule); padding: 6px 10px; max-width: 78%; text-align: left; }
.ch-chat .note.pub b { display: block; font-size: 12.5px; letter-spacing: .04em; color: var(--slate); font-weight: 500; }
.ch-toggles { border-top: 1px solid var(--rule); margin: 14px 0 8px; }
.ch-toggle { display: grid; grid-template-columns: 1fr 120px; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ch-toggle b { display: block; font-weight: 600; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.ch-toggle p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.ch-toggle .def { font-size: 13px; color: var(--slate); padding-top: 3px; text-align: right; }
.ch-toggle .def.on { color: var(--green-ink); }
.ch-mech { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 10px; }
.ch-mech li { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); padding-left: 18px; position: relative; }
.ch-mech li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.ch-mech b { color: var(--ink); font-weight: 600; }
.doc-wrap .frame.whole { margin: 24px 0 6px; }
.ch-framecap { font-size: 13.5px; color: var(--slate); margin: 8px 0 0; line-height: 1.45; }
@media (max-width: 600px) { .ch-chat .msg { max-width: 92%; } .ch-toggle { grid-template-columns: 1fr; gap: 4px; } .ch-toggle .def { text-align: left; padding-top: 0; } }

/* ---- makers: who builds it (2026-10-06) ---- */
.makers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; border-top: 1px solid var(--ink); padding-top: 28px; }
.maker { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.maker img { display: block; width: 120px; height: 120px; max-width: none; border-radius: 50%; object-fit: cover; }
.maker b { display: block; font-size: 19px; font-weight: 600; }
.maker .role { display: block; font-size: 14px; color: var(--slate); margin: 2px 0 10px; }
.maker p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; margin: 0 0 8px; max-width: 34em; }
.makers-foot { font-size: 14px; color: var(--slate); margin-top: 28px; }
@media (max-width: 800px) { .makers { grid-template-columns: 1fr; } .maker { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; } .maker img { width: 88px; height: 88px; } }

/* ---- the code word on the front page, and the pricing first week (2026-10-06) ---- */
.cw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; margin-top: 40px; }
.cw b { display: block; font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.cw p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; max-width: 34em; margin: 0 0 10px; }
.cw .ch-chat { margin: 0; }
.week-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 15px; }
@media (max-width: 860px) { .cw { grid-template-columns: 1fr; } }

/* ---- try it on your own website (2026-10-06) ---- */
.try { max-width: 760px; }
.try-form { display: flex; gap: 10px; align-items: stretch; }
.try-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); font: inherit; color: var(--ink); }
.try-form input:focus { outline: 0; border-color: var(--ink); }
.try-status { font-size: 14.5px; color: var(--ink-2); min-height: 1.5em; margin: 10px 0 0; }
.try-result { margin-top: 18px; display: grid; gap: 12px; }
.try-result .ch-chat { max-height: 460px; overflow-y: auto; margin: 0; }
.try-facts summary { cursor: pointer; font-size: 14px; color: var(--green-ink); font-weight: 500; }
.try-facts pre { white-space: pre-wrap; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 12px 14px; margin: 8px 0 0; max-height: 220px; overflow-y: auto; }
.try-left { font-size: 13.5px; color: var(--slate); margin: 0; }
.try-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) { .try-form { flex-direction: column; } }
