/* ============================================================
   Ovra: the lead qualification site
   Single stylesheet, no dependencies, no build step.

   take-0 (docs/plans/PLAN-take-0.md, 2026-09-23): the published design
   "OvraVoice site redesign". A bare paper ground, one red accent on every
   "Take the call", a serif for the big type moments and a quiet sans for
   everything else. The recording of a real call sits under the headline;
   the Ovra console plays its sample call one section down.

   Tokens, and nothing else (tests/check.sh holds the list):
     ground   #F6F4EE  the page
     ink      #14130F  text, the play disc, a lit chip
     muted    #5B5850  secondary text, labels
     hairline #DCD8CE  the one box edge on the page
     surface  #FFFFFF  the console panel
     ring     #C8371B  every Take the call, the live dot, a fresh value
              #A82D15 on hover, #8F2611 pressed
     scrim    ink at 55% behind the call-back dialog

   Type: Instrument Serif 400 for h1, h2, h3, the punchline and the large
   figures; Instrument Sans 400/500/600 for text, data and labels (tabular
   figures where numbers line up). On the Hebrew page Frank Ruhl Libre and
   Assistant take the same two roles, with no letter-spacing.

   Hairlines instead of cards: sections are parted by rhythm, and each block
   draws its own hairline on top. The console panel and the call-back dialog
   are the only boxes. No shadow, no tilt, no hover lift: buttons change
   colour only, and focus is a 2px ink outline.

   Motion: every move is tied to what the section says (the console's call,
   a line being typed, the figures arriving, answers opening). Loops run from
   main.js and pause off screen and in a hidden tab ([data-paused] below).
   The whole lot is switched off in the one prefers-reduced-motion block at
   the foot.

   The recording player (.rec) and the call-me button (.morph) are ports of
   the waveform-scrub, voice-transcribe and morphing-button components of
   Watermelon UI (MIT licence), rebuilt without React, blur or gradients.

   Direction: nothing here names a side. What cannot be said logically
   (transform origins, mirrored arrows) sits together under [dir="rtl"]
   near the foot.
   ============================================================ */

:root{
  --ground:#F6F4EE;
  --ink:#14130F;
  --muted:#5B5850;
  --hairline:#DCD8CE;
  --surface:#FFFFFF;
  --ring:#C8371B;
  --ring-hover:#A82D15;
  --ring-pressed:#8F2611;
  --ok-bg:var(--ink); --ok-fg:var(--ground);
  --cb-bg:var(--ink); --cb-fg:var(--ground);
  --no-bg:var(--ink); --no-fg:var(--ground);
  --scrim:rgba(20,19,15,.55);

  --wrap:1440px;
  --pad:clamp(20px, 4.5vw, 64px);
  /* 128px above a section heading on desktop, 56 on a phone; 64 between a
     heading block and its content, 28 on a phone. */
  --section:clamp(56px, 9vw, 128px);
  --head-gap:clamp(28px, calc(14.6px + 3.43vw), 64px);
  --ease-out:cubic-bezier(.2,.7,.3,1);
  --spring:cubic-bezier(.3,1.5,.5,1);

  --serif:"Instrument Serif",Georgia,serif;
  --sans:"Instrument Sans",Helvetica,Arial,sans-serif;
}
[lang="he"]{ --serif:"Frank Ruhl Libre",Georgia,serif; --sans:"Assistant",Helvetica,Arial,sans-serif; }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; -webkit-tap-highlight-color:transparent; }
body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:var(--sans); font-size:17px; line-height:1.55;
  -webkit-font-smoothing:antialiased; overflow-x:clip;
}
h1,h2,h3{ text-wrap:balance; }
h1,h2,h3{ margin:0; font-family:var(--serif); font-weight:400; color:var(--ink); }
h1{ font-size:clamp(60px, calc(37.7px + 5.71vw), 120px); line-height:.95; letter-spacing:-.02em; text-align:start; }
h2{ font-size:clamp(44px, calc(33.6px + 2.67vw), 72px); line-height:1.02; letter-spacing:-.02em; }
h3{ font-size:clamp(22px, calc(19px + .76vw), 30px); line-height:1.1; letter-spacing:-.01em; }
p{ margin:0; }
a{ color:inherit; }
img,svg{ max-inline-size:100%; }
button{ font:inherit; }
a, button, summary, input, label{ touch-action:manipulation; }

.wrap{ inline-size:100%; max-inline-size:var(--wrap); margin-inline:auto; padding-inline:var(--pad); }
.mono{ font-variant-numeric:tabular-nums; }
.label{ margin:0; font-family:var(--sans); font-size:13px; font-weight:500; line-height:1.2; letter-spacing:.06em; color:var(--muted); }
.section .label{ margin-block-end:22px; }
@media (max-width:640px){
  .label{ font-size:16px; }
  .section .label{ margin-block-end:12px; }
}

.sr-only{
  position:absolute; inline-size:1px; block-size:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
}
.skip{
  position:absolute; inset-inline-start:12px; inset-block-start:-60px; z-index:200;
  background:var(--ink); color:var(--ground); padding:10px 16px; border-radius:999px; font-weight:600;
}
.skip:focus{ inset-block-start:12px; }

:focus-visible{ outline:2px solid var(--ink); outline-offset:3px; }

#top,#demo,#how,#fixes,#pricing,#clients,#connects,#faq{ scroll-margin-block-start:16px; }

.lede{ font-size:clamp(18px, calc(16.5px + .38vw), 22px); line-height:1.45; color:var(--muted); max-inline-size:56ch; }

/* What Ovra connects to, a section of its own between the clients and the
   questions (takes-edits, 2026-09-23): the label and its paragraph on the
   page's grid, then the five logos in one still row in muted ink under a
   hairline. The row wraps on a narrow screen and never scrolls sideways; on
   a phone it is two logos a row. */
.section.connects .label{ margin:0; }
.connects__head{ gap:12px 24px; }
@media (min-width:900px){
  .connects__head{ grid-template-columns:minmax(0,3fr) minmax(0,6fr) minmax(0,3fr); }
}
.connects__say{ margin:0; color:var(--muted); max-inline-size:62ch; }
.sprite{ position:absolute; overflow:hidden; }
.logos{ margin-block-start:28px; padding-block-start:28px; border-block-start:1px solid var(--hairline); }
.logos__track{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px clamp(28px, 5vw, 72px); margin:0; padding:0; list-style:none; }
.logos li{ display:flex; align-items:center; gap:9px; color:var(--muted); font-size:16px; white-space:nowrap; transition:color .15s; }
.logos li:hover{ color:var(--ink); }
.logos svg{ display:block; }
@media (max-width:640px){
  .logos{ margin-block-start:22px; padding-block-start:22px; }
  .logos__track{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px 20px; }
  .logos svg{ max-inline-size:100%; block-size:auto; }
}

/* ─────────────── nav ─────────────── */

.nav{ position:relative; z-index:20; background:var(--ground); color:var(--ink); }
.nav__inner{ display:flex; align-items:center; gap:36px; min-block-size:80px; }
.brand{ display:inline-flex; align-items:center; gap:10px; min-block-size:44px; text-decoration:none; flex-shrink:0; }
.brand__mark{ display:block; inline-size:22px; block-size:22px; }
.brand__word{ font-family:var(--serif); font-size:32px; font-weight:400; line-height:1; letter-spacing:-.01em; }

.nav__links{ display:flex; align-items:center; gap:36px; margin-inline-start:auto; }
.nav__links a, .nav__lang > summary{
  font-size:15px; font-weight:500; text-decoration:none; color:var(--ink); padding-block:6px;
  transition:color .15s;
}
.nav__links a:hover, .nav__lang > summary:hover{ color:var(--ring); }

/* The language menu: five plain links in a disclosure, no script. The
   summary names the page's language; the list opens under it, pinned to its
   end edge so it never leaves the screen in either direction. */
.nav__lang{ position:relative; flex-shrink:0; }
.nav__lang > summary{ display:flex; align-items:center; gap:6px; min-block-size:44px; list-style:none; cursor:pointer; }
.nav__lang > summary::-webkit-details-marker{ display:none; }
.nav__now{ white-space:nowrap; }
.nav__globe, .nav__caret{ display:block; flex-shrink:0; }
.nav__caret{ transition:transform .2s var(--ease-out); }
.nav__lang[open] .nav__caret{ transform:rotate(180deg); }
.nav__langs{
  position:absolute; inset-block-start:calc(100% + 8px); inset-inline-end:0; z-index:1;
  margin:0; padding:6px; list-style:none; min-inline-size:12rem;
  background:var(--surface); color:var(--ink); border:1px solid var(--hairline); border-radius:12px;
}
.nav__langs a{
  display:block; padding:10px 12px; border-radius:8px;
  color:var(--ink); text-decoration:none; white-space:nowrap; transition:background-color .15s;
}
.nav__langs a:hover{ background:var(--ground); }
.nav__langs a[aria-current]{ font-weight:600; }

@media (max-width:760px){
  .nav__links{ display:none; }
  .nav__lang{ margin-inline-start:auto; }
  .nav__inner{ gap:14px; min-block-size:64px; }
  .brand__word{ font-size:26px; }
}
@media (max-width:520px){
  .nav__now{ display:none; }
}

/* ─────────────── buttons ───────────────
   The pill. The ring is the one colour a button takes, on every Take the
   call; it darkens on hover and again when pressed, and nothing moves. The
   ghost pill is for More and Call again; Start free trial and the other
   secondary moves are the underlined text link. */

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  block-size:52px; padding:0 26px; border:0; border-radius:999px;
  font-family:var(--sans); font-size:16px; font-weight:600; line-height:1;
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:background-color .15s, color .15s;
}
.btn svg{ inline-size:18px; block-size:18px; flex-shrink:0; }
.btn .btn__phone{ display:none; }
.btn[disabled]{ opacity:.4; cursor:default; }
.btn--sm{ block-size:44px; padding:0 20px; font-size:15px; }
.btn--lg{ block-size:60px; padding:0 34px; font-size:18px; }
.btn--full{ inline-size:100%; }
.btn--primary{ background:var(--ring); color:var(--surface); transition:background-color .15s; }
.btn--primary:hover{ background:var(--ring-hover); }
.btn--primary:active{ background:var(--ring-pressed); }
.btn--dark{ background:var(--ink); color:var(--ground); }
.btn--dark:hover{ background:var(--ring); color:var(--surface); }
.btn--ghost{ background:transparent; color:var(--ink); border:1px solid var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--ground); }
/* The underlined text link. It comes after the pill so that a link which
   also carries .btn (the hero's free-calls link) reads as a link. */
.lnk{
  display:inline-flex; align-items:center; min-block-size:44px; block-size:auto; padding:0; border:0; border-radius:0; background:none;
  font-family:var(--sans); font-size:16px; font-weight:500; line-height:1.4; color:var(--ink);
  text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px;
  white-space:normal; cursor:pointer; transition:color .15s;
}
.lnk:hover{ color:var(--ring); }

/* ─────────────── hero ───────────────
   The headline, the line under it with Take the call and the free-calls
   link, then the recording player and the punchline. Bare paper. The whole
   of it fits the first screen, on a phone (390x844) and on a laptop
   (1280x800); tests/layout.check.sh measures both. */

.hero > .wrap{ padding-block:clamp(24px, 3.4vw, 52px) 0; }
.hero__copy{ display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(16px, 1.8vw, 26px); }
/* Under 900px the headline sizes from the width alone: a height cap there
   shrank it when a phone's keyboard opened and moved the page behind the
   call-back popup (PLAN-takes-punchline-metrics-popup). From 900px the cap
   keeps the hero inside 1280x800, in lvh, which a keyboard does not change. */
.hero h1{ max-inline-size:1240px; font-size:clamp(52px, calc(37.7px + 5.71vw), 120px); }
@media (min-width:900px){ .hero h1{ font-size:clamp(52px, calc(37.7px + 5.71vw), min(120px, 13.5lvh)); } }
.hero__row{
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end;
  gap:18px 48px;
}
.hero__sub{
  font-size:clamp(18px, calc(16.5px + .38vw), 22px); line-height:1.45; color:var(--muted); max-inline-size:600px;
  animation:load-rise .45s var(--ease-out) .2s backwards;
}
.hero__go{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 28px; }
@media (max-width:640px){
  .hero__sub{ font-size:17px; }
  .hero__go{ gap:6px 22px; }
  .hero__go .btn--primary{ block-size:52px; padding:0 24px; font-size:16px; }
}
.dial[hidden], .hero__go .btn[hidden]{ display:none; }

/* The punchline: the serif line under the player, italic as the design has
   it. It hides while the player is empty, a number under no call being a
   claim without its evidence. */
.hero .punch{
  margin-block-start:clamp(20px, 2.6vw, 36px); max-inline-size:900px;
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:clamp(32px, 3.9vw, 56px); line-height:1.02; letter-spacing:-.01em; color:var(--ink);
  text-wrap:balance;
}
.hero .rec[data-state="empty"] + .punch{ display:none; }

/* ─────────────── the recording ───────────────
   Ported from Watermelon UI's waveform-scrub (MIT): the track fills as the
   recording plays and the playhead drags (and takes the arrow keys). It is
   just the call (takes-edits, 2026-09-23): the play disc on the start side,
   the name and the seconds left beside it, the track under them, and the
   sticker saying it is a real call above. No transcript, no sound switch.
   While the tile is empty the one line saying what it is takes the name's
   place. */

.rec{
  display:grid; align-items:center;
  grid-template-columns:auto minmax(0,1fr) auto; column-gap:18px; row-gap:10px;
  grid-template-areas:"real real real" "play name left" "play wave wave";
  max-inline-size:900px; margin-block-start:clamp(26px, 3.4vw, 48px);
}
/* The popup's recordings link lands here (PLAN-callback-popup T3), so the
   player keeps a little room above it. */
.rec{ scroll-margin-block-start:clamp(56px, 9vh, 92px); }
.rec__top{ display:contents; }
.rec__real{ grid-area:real; margin:0; font-size:16px; color:var(--muted); }
.rec__real[hidden]{ display:none; }
.rec__play{ grid-area:play; }
.rec__name{ grid-area:name; align-self:end; }
.rec__left{ grid-area:left; align-self:end; }
.rec__wave{ grid-area:wave; align-self:start; }
.rec__text{ grid-row:2; grid-column:2 / 4; align-self:end; }
.rec:not([data-state="empty"]) .rec__text{ display:none; }

.rec__play{
  position:relative; flex-shrink:0; inline-size:56px; block-size:56px; border:0; border-radius:999px;
  background:var(--ink); color:var(--ground); display:grid; place-items:center; cursor:pointer;
  transition:background-color .15s;
}
@media (min-width:900px){ .rec__play{ inline-size:76px; block-size:76px; } }
.rec__play:hover{ background:var(--ring); color:var(--surface); }
.rec__play svg{
  grid-area:1 / 1; inline-size:24px; block-size:24px;
  opacity:0; transform:scale(.25); transition:opacity .2s, transform .3s var(--spring);
}
@media (min-width:900px){ .rec__play svg{ inline-size:30px; block-size:30px; } }
.rec__play[data-mode="play"] .rec__i-play,
.rec__play[data-mode="pause"] .rec__i-pause,
.rec__play[data-mode="replay"] .rec__i-replay{ opacity:1; transform:none; }
.rec__name{ min-inline-size:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; color:var(--muted); }
.rec__name b{ color:var(--ink); font-weight:600; }
.rec__left{ font-size:15px; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums; }

/* The track: a 24px hit area with the hairline through its middle; the
   played part is the same line thickened to 3px ink, and the playhead a
   3px by 14px ink mark. */
.rec__wave{
  --p:0;
  position:relative; block-size:24px; cursor:grab; touch-action:none; -webkit-user-select:none; user-select:none;
}
.rec__wave::before{
  content:""; position:absolute; inset-inline:0; inset-block-start:calc(50% - .5px); block-size:1px;
  background:var(--hairline);
}
.rec__wave.is-drag{ cursor:grabbing; }
.rec__played{
  position:absolute; inset-inline-start:0; inset-block-start:calc(50% - 1.5px); block-size:3px;
  inline-size:calc(var(--p) * 100%); background:var(--ink);
}
.rec__bars, .rec__bars--on{ display:none; }
.rec__head{
  position:absolute; inset-block-start:calc(50% - 7px); inset-inline-start:calc(var(--p) * 100%);
  inline-size:3px; block-size:14px; margin-inline-start:-1.5px; background:var(--ink);
  pointer-events:none;
}

/* The empty tile: the state the page ships in and keeps until a call is
   exported (remove-fake-calls, 2026-09-20). The player is switched off, the
   name and the seconds hold no words, the track is bare with no playhead,
   and one line sits where the name goes. */
.rec__empty{ color:var(--muted); font-size:17px; line-height:1.4; }
.rec__play:disabled{ opacity:.4; cursor:default; }
.rec__play:disabled:hover{ background:var(--ink); color:var(--ground); }
.rec[data-state="empty"] .rec__left{ visibility:hidden; }
.rec[data-state="empty"] .rec__wave{ cursor:default; }
.rec[data-state="empty"] .rec__played, .rec[data-state="empty"] .rec__head{ display:none; }

/* ─────────────── sections ─────────────── */

.section{ padding-block:var(--section) 0; }
/* The rule class stays in the markup; the sections are parted by rhythm,
   and each block draws its own hairline on top. */
.rule{ border:0; }

.split{ display:grid; gap:22px 64px; }
@media (min-width:900px){
  .split{ grid-template-columns:minmax(0,5fr) minmax(0,7fr); align-items:start; }
}
.split__say .lede{ margin-block-start:22px; }

/* ─────────────── the console ───────────────
   The one panel on the page: surface white on a hairline, flat. It sits
   straight after how it works (takes-edits, 2026-09-23) and is cut down to
   the call and its summary: the window bar and the call list are hidden
   (their ids stay in the markup, because main.js and demo.js read them),
   and on a phone the whole section, label and heading included, fits one
   390x844 screen at fixed heights, so it does not grow as the sample call
   fills in. */

.take h2{ margin-block-end:var(--head-gap); }
.stage{ position:relative; }
.console{
  position:relative; overflow:hidden;
  background:var(--surface); color:var(--ink);
  border:1px solid var(--hairline); border-radius:16px;
}
.console .bar, .console .col--list{ display:none; }

.bar{
  display:flex; align-items:center; gap:18px; padding:12px 20px;
  border-block-end:1px solid var(--hairline);
}
.bar .dots{ display:none; }
.tab{ font-size:13px; font-weight:500; letter-spacing:.06em; color:var(--muted); }
.ws{ margin-inline-start:auto; display:flex; align-items:center; gap:10px; font-size:14px; color:var(--muted); }
.av{
  inline-size:26px; block-size:26px; border-radius:50%; background:var(--ink); color:var(--ground);
  display:grid; place-items:center; font-size:11px; font-weight:600;
}

.grid{ display:grid; grid-template-columns:minmax(0,1fr) 320px; block-size:480px; }
.col{ min-inline-size:0; min-block-size:0; display:flex; flex-direction:column; }
.col--sum{ border-inline-start:1px solid var(--hairline); }
.colhead{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:16px 18px 12px; font-size:13px; color:var(--muted);
}
.colhead b{ color:var(--ink); font-weight:600; font-size:15px; }

/* the call list: a new lead drops in at the top of every loop */
.calls{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; overflow:hidden; }
.call{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 10px;
  padding:12px 18px; font-size:14px; border-block-start:1px solid var(--hairline);
}
.call.is-cur{ background:var(--ground); }
.call__nm{ font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.call__meta{ grid-column:1 / -1; color:var(--muted); font-size:13px; display:flex; justify-content:space-between; gap:8px; }

/* The tag: a hairline pill, sentence case, a little tracking. */
.chip{
  display:inline-flex; align-items:center; gap:6px; align-self:center;
  block-size:26px; padding:0 10px; border:1px solid var(--hairline); border-radius:999px;
  background:transparent; color:var(--ink);
  font-size:12px; font-weight:600; letter-spacing:.06em; white-space:nowrap;
}
.chip--live::before{
  content:""; inline-size:7px; block-size:7px; border-radius:50%; background:var(--ring);
  animation:pulse 1.2s ease-in-out infinite;
}

/* the talk column */
.callinfo{
  display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap;
  padding:16px 22px; border-block-end:1px solid var(--hairline);
}
.who{ display:flex; flex-direction:column; gap:2px; line-height:1.25; min-inline-size:0; }
.who__name{ font-size:22px; font-weight:600; }
.who__sm{ font-size:14px; color:var(--muted); }
.speak{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--muted); margin-inline-start:auto; }
.timer{ font-size:14px; font-weight:500; font-variant-numeric:tabular-nums; }

.wave{ display:flex; align-items:center; gap:2px; block-size:18px; }
.wave i{
  inline-size:3px; block-size:18px; border-radius:2px; background:var(--ink);
  transform:scaleY(calc(var(--h,1) * .22));
}
.wave.is-speaking i{ animation:eq .62s ease-in-out infinite; animation-delay:calc(var(--i,0) * -.07s); }
.wave.is-lead i{ background:var(--muted); }

.callcard__mute{
  display:none; flex-shrink:0; inline-size:34px; block-size:34px; padding:0;
  border:1px solid var(--hairline); border-radius:999px; background:var(--surface);
  color:var(--ink); place-items:center; cursor:pointer;
  transition:background-color .15s, color .15s;
}
.callcard__mute:hover{ background:var(--ground); }
.console[data-state="live"] .callcard__mute,
.console[data-state="ended"] .callcard__mute{ display:grid; }
.callcard__mute .icon-off{ display:none; }
.console.is-muted .callcard__mute{ background:var(--ink); color:var(--ground); }
.console.is-muted .callcard__mute .icon-off{ display:block; }
.console.is-muted .callcard__mute .icon-on{ display:none; }

.feed{ position:relative; flex:1; min-block-size:0; display:flex; flex-direction:column; }
.simfeed{
  flex:1; min-block-size:0; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end; gap:14px; padding:18px 22px 20px;
}
.console:not([data-state="idle"]) .simfeed{ display:none; }
/* A turn reads like the design's transcript: the speaker in the muted
   label voice, then the words in ink. */
.turn{ font-size:22px; line-height:1.35; animation:rise .35s var(--ease-out); }
.turn__spk{ margin-inline-end:10px; font-size:.8em; font-weight:600; letter-spacing:.04em; color:var(--muted); }
.turn__tx{ max-inline-size:52ch; }
.caret{
  display:inline-block; inline-size:2px; block-size:1em; background:currentColor;
  vertical-align:-2px; margin-inline-start:2px; animation:blink .8s steps(1) infinite;
}

/* the real call, inside the same column */
.callcard__live{ display:none; flex:1; min-block-size:0; flex-direction:column; }
.console[data-state="live"] .callcard__live,
.console[data-state="ended"] .callcard__live{ display:flex; }
.callcard__log{
  flex:1; min-block-size:0; overflow-y:auto; overscroll-behavior:contain;
  display:flex; flex-direction:column; gap:10px; padding:18px 22px;
}
/* The agent speaks from the start side of the line and the visitor
   answers from the end side, in either language. */
.msg{
  max-inline-size:86%; padding:10px 14px; font-size:16px; line-height:1.5;
  border-radius:14px; overflow-wrap:anywhere; animation:rise .3s var(--ease-out);
}
.msg--agent{ align-self:flex-start; background:var(--ground); border-end-start-radius:4px; }
.msg--you{ align-self:flex-end; background:var(--ink); color:var(--ground); border-end-end-radius:4px; }
.msg .dots{ display:inline-flex; gap:4px; align-items:center; block-size:1.2em; }
.msg .dots i{ inline-size:6px; block-size:6px; border-radius:50%; background:var(--muted); animation:hop 1s ease-in-out infinite; }
.msg .dots i:nth-child(2){ animation-delay:.15s; }
.msg .dots i:nth-child(3){ animation-delay:.3s; }

.verdict{ margin:0 22px 18px; padding-block-start:14px; border-block-start:1px solid var(--hairline); animation:rise .35s var(--ease-out); }
.verdict[hidden]{ display:none; }
.verdict__tag{ font-size:13px; font-weight:500; letter-spacing:.06em; color:var(--muted); }
.verdict__text{ margin-block-start:6px; font-weight:500; overflow-wrap:anywhere; }
.verdict__cta{ margin-block-start:14px; display:flex; flex-wrap:wrap; gap:10px; }

/* take the call: a pill at the foot of the column while the sample plays,
   the whole column while the line rings */
.callcard__idle{
  display:none; align-items:center; gap:10px 18px; flex-wrap:wrap;
  padding:14px 22px; border-block-start:1px solid var(--hairline); background:var(--ground);
}
.console[data-state="idle"] .callcard__idle,
.console[data-state="ringing"] .callcard__idle{ display:flex; }
.console[data-state="ringing"] .feed{ display:none; }
.console[data-state="ringing"] .callcard__idle{
  flex:1; flex-direction:column; justify-content:center; background:var(--surface); border:0;
}
.console[data-state="ringing"] .callcard__hint{ display:none; }

.dial{
  display:inline-flex; align-items:center; justify-content:center;
  block-size:52px; padding:0 26px; border:0; border-radius:999px;
  background:var(--ring); color:var(--surface); font-size:16px; font-weight:600; line-height:1; cursor:pointer;
  transition:background-color .15s;
}
.dial:hover{ background:var(--ring-hover); }
.dial:active{ background:var(--ring-pressed); }
.dial__disc{ display:none; }
.console[data-state="ringing"] .dial{ pointer-events:none; }
.callcard__hint{ font-size:16px; color:var(--muted); max-inline-size:40ch; }
.callcard__novoice{ font-size:15px; color:var(--ink); max-inline-size:40ch; }

.callcard__ask{ display:none; justify-content:center; padding:12px 16px; border-block-start:1px solid var(--hairline); }
.console[data-state="live"] .callcard__ask{ display:flex; animation:rise .3s var(--ease-out); }
.callcard__mic{
  flex-shrink:0; inline-size:42px; block-size:42px; border-radius:999px; border:1px solid var(--hairline);
  display:grid; place-items:center; cursor:pointer;
  background:var(--surface); color:var(--ink); touch-action:none;
  transition:background-color .15s, color .15s;
}
.callcard__mic:hover{ background:var(--ground); }
.callcard__mic.is-hot{ background:var(--ring); border-color:var(--ring); color:var(--surface); animation:hot 1s ease-in-out infinite; }
.callcard__mic[hidden]{ display:none; }
.callcard__mic:disabled{ opacity:.4; cursor:not-allowed; }

/* the summary panel: the slip contract (#callSlip, data-state, the five
   ids, the three outcomes with data-ticked), drawn as the design's key and
   value rows on hairlines */
.summary{ flex:1; min-block-size:0; overflow-y:auto; overscroll-behavior:contain; padding:0 18px 18px; display:flex; flex-direction:column; }
.fields{ margin:0; }
.fld{ display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:12px 0; border-block-start:1px solid var(--hairline); }
.fld dt{ flex-shrink:0; font-size:13px; font-weight:500; letter-spacing:.06em; color:var(--muted); }
.val{ position:relative; display:block; flex:1; min-inline-size:0; margin:0; min-block-size:1.4em; overflow-wrap:anywhere; font-size:17px; font-weight:400; line-height:1.4; text-align:end; }
.val:empty::before{ content:attr(data-wait); font-size:14px; color:var(--muted); }
#callSlip[data-state="filled"] .val:empty::before{ content:attr(data-none); }
.val[data-fresh]::after{
  content:""; position:absolute; inset-inline:0; inset-block-end:-2px; block-size:2px;
  background:var(--ring); transform-origin:0 50%; animation:wipe .7s var(--ease-out) forwards;
}
/* A real call's summary writes itself in, field after field. */
.console:not([data-state="idle"]) #callSlip[data-state="filled"] .val{
  animation:write .3s var(--ease-out) both; animation-delay:calc(var(--n,0) * 160ms);
}
.outcome{ margin-block-start:auto; padding-block-start:14px; border-block-start:1px solid var(--hairline); }
.outcome__lb{ font-size:13px; font-weight:500; letter-spacing:.06em; color:var(--muted); }
.chips{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.chips .chip{ transition:opacity .2s, background-color .2s, color .2s, border-color .2s; }
.chips .chip[data-ticked]{ border-color:var(--ink); animation:snap .45s var(--spring) .75s backwards; }
.chips [data-outcome="booked"][data-ticked], .chips [data-outcome="interested"][data-ticked]{ background:var(--ok-bg); color:var(--ok-fg); }
.chips [data-outcome="callback"][data-ticked]{ background:var(--cb-bg); color:var(--cb-fg); }
.chips [data-outcome="nofit"][data-ticked]{ background:var(--no-bg); color:var(--no-fg); }
.console[data-state="idle"] .chips .chip[data-ticked]{ animation-delay:0s; }
#callSlip:has([data-ticked]) .chip:not([data-ticked]){ opacity:.35; }
.handoff{ display:flex; align-items:center; gap:8px; margin-block-start:10px; min-block-size:1.3em; font-size:16px; color:var(--muted); }
.handoff:not(:empty)::before{ content:""; flex-shrink:0; inline-size:7px; block-size:7px; border-radius:50%; background:var(--ring); }
.console:not([data-state="idle"]) .handoff{ visibility:hidden; }

/* the moving highlight that follows the sample call */
.watch{
  position:absolute; inset-block-start:0; inset-inline-start:0; z-index:3;
  inline-size:40px; block-size:40px; border:2px solid var(--ring); border-radius:8px;
  background:transparent; pointer-events:none; opacity:0;
  transition:transform .8s cubic-bezier(.6,.05,.2,1), inline-size .8s cubic-bezier(.6,.05,.2,1), block-size .8s cubic-bezier(.6,.05,.2,1), opacity .3s;
}
.watch svg{ position:absolute; inset-block-end:-15px; inset-inline-end:-11px; inline-size:20px; block-size:20px; }
.console:not([data-state="idle"]) .watch{ opacity:0 !important; }

/* ─────────────── how it works ───────────────
   The heading and the typed line side by side, then the four steps in one
   row: one a row on a phone, two from 640px, four from 1100px. Each step is
   a hairline-topped column; the step being told draws its hairline in ink.
   A step is read at a glance (takes-edits, 2026-09-23): a big serif name
   and one short line under it. */

#how .line{ align-self:end; max-inline-size:28rem; min-block-size:118px; padding-block-start:16px; border-block-start:1px solid var(--hairline); }
.line__top{ display:flex; align-items:center; gap:8px; }
.line__dot{ position:relative; inline-size:8px; block-size:8px; border-radius:50%; background:var(--ring); animation:pulse 1.2s ease-in-out infinite; }
.line__who{ font-size:13px; font-weight:500; letter-spacing:.06em; color:var(--muted); }
.line__say{ margin-block-start:8px; font-size:18px; font-weight:500; min-block-size:3em; }

.steps{ list-style:none; margin:var(--head-gap) 0 0; padding:0; display:grid; gap:28px 24px; grid-template-columns:minmax(0,1fr); }
@media (min-width:640px){ .steps{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (min-width:1100px){ .steps{ grid-template-columns:repeat(4, minmax(0,1fr)); } }
.step{
  display:grid; align-content:start; gap:10px; padding-block-start:24px;
  border-block-start:1px solid var(--hairline); transition:border-color .35s;
}
.step[data-on]{ border-block-start-color:var(--ink); }
.step h3{ font-size:clamp(34px, calc(26px + 1.3vw), 44px); line-height:1; }
.step p{ max-inline-size:32ch; font-size:18px; line-height:1.4; color:var(--muted); }
@media (max-width:640px){
  #how .line{ min-block-size:0; }
  .steps{ gap:20px; }
  .step{ padding-block-start:16px; gap:6px; }
  .step p{ font-size:17px; }
}
/* The punch line and Take the call under the four steps. */
.steps__go{
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center;
  gap:18px 64px; margin-block-start:clamp(44px, 6.5vw, 96px);
}
.steps__go p{ font-family:var(--serif); font-size:clamp(34px, 4vw, 56px); line-height:1; letter-spacing:-.01em; }
@media (max-width:640px){ .steps__go .btn{ inline-size:100%; block-size:52px; font-size:16px; } }

/* ─────────────── why it matters: the three figures ───────────────
   The label and heading on the start side, the lede beside them, then the
   three figures across the wrap. From 900px the prose column dissolves
   into the section's grid so the figures can take the whole width. */

.figures{ font-size:17px; color:var(--muted); max-inline-size:62ch; }
.prose .lede + .figures{ margin-block-start:18px; }
@media (min-width:900px){
  #fixes .prose{ display:contents; }
  #fixes .split__say{ grid-column:1; grid-row:1; }
  #fixes .lede{ grid-column:2; grid-row:1; align-self:end; }
  #fixes .figures{ grid-column:2; grid-row:2; margin:0; }
  #fixes .chart{ grid-column:1 / -1; grid-row:3; }
}
.chart{ display:grid; gap:24px; grid-template-columns:minmax(0,1fr); margin-block-start:var(--head-gap); }
@media (min-width:720px){ .chart{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
.fig{ display:flex; flex-direction:column; gap:16px; padding-block-start:32px; border-block-start:1px solid var(--hairline); }
.fig__v{ order:-1; font-family:var(--serif); font-weight:400; font-size:clamp(96px, 11vw, 168px); line-height:.9; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.fig__lb{ font-size:19px; font-weight:600; color:var(--ink); }
.fig__track{ display:none; }
/* On a phone each figure is one row: the number, then what it counts. */
@media (max-width:640px){
  .chart{ gap:0; }
  .fig{ flex-direction:row; align-items:center; gap:18px; padding-block:14px; }
  .fig__v{ flex-shrink:0; min-inline-size:2.3ch; font-size:64px; }
  .fig__lb{ font-size:17px; }
}
.chart[data-phase="none"] .fig__v{ opacity:0; }
.fig__v{ transition:opacity .3s; }

/* ─────────────── clients: the quotes ───────────────
   A still grid of hairline-topped quotes: one a row on a phone, two from
   640px, three from 900px. The quote, then the name, then the trade and
   the city on one line. Six show; main.js's "More" lets the rest in. */

.quotes{
  list-style:none; margin:var(--head-gap) 0 0; padding:0;
  display:grid; gap:0 48px; grid-template-columns:minmax(0,1fr);
}
@media (min-width:640px){ .quotes{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (min-width:900px){ .quotes{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
.quote{
  display:flex; flex-direction:column; gap:18px; padding:28px 0 20px;
  border-block-start:1px solid var(--hairline);
}
.quote[hidden]{ display:none; }
.quote__q{ margin:0; flex:1; font-size:18px; line-height:1.5; color:var(--ink); }
.quote__who{ font-size:14px; line-height:1.5; color:var(--muted); }
.quote__name{ display:block; margin-block-end:2px; font-size:15px; font-weight:600; color:var(--ink); }
.quote__trade::after{ content:", "; }
.quotes__more{ display:flex; inline-size:fit-content; margin:40px auto 0; }
/* A phone shows three until More is pressed; More lets the rest in and goes. */
@media (max-width:640px){
  #clients:has(.quotes__more) .quote:nth-child(n+4){ display:none; }
  .quote{ gap:12px; padding:22px 0 16px; }
  .quote__q{ font-size:17px; }
  .quote__who{ font-size:16px; }
  .quotes__more{ margin-block-start:24px; }
}

/* ─────────────── the prices ───────────────
   Three hairline-topped columns, side by side from 720px and stacked under
   it. The one most people pick says so in the ring-coloured tag beside its
   name, never in a badge over a heading. The name and the tag share the
   first row; everything else spans it. */

.tiers{ display:grid; gap:40px min(48px, 3.5vw); margin:var(--head-gap) 0 0; padding:0; list-style:none; }
@media (min-width:720px){ .tiers{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
.tier{
  display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto auto 1fr;
  gap:20px 12px; align-content:start;
  padding-block-start:28px; border-block-start:1px solid var(--hairline);
}
@media (min-width:720px){ .tier{ min-block-size:420px; } }
.tier > *{ grid-column:1 / -1; }
.tier .tier__name{ grid-column:1; align-self:center; font-size:clamp(24px, calc(22.5px + .38vw), 28px); }
/* Every tier carries this tag's row, empty on two of them, so the three
   prices sit on one line however long the tag is in a given language. */
.tier .tier__most{
  grid-column:2; align-self:center; margin:0;
  display:inline-flex; align-items:center; block-size:26px; padding:0 10px;
  border:1px solid var(--ring); border-radius:999px; color:var(--ring);
  font-size:12px; font-weight:600; letter-spacing:.06em; white-space:nowrap;
}
.tier__most[aria-hidden="true"]{ display:none; }
@media (min-width:720px){ .tier__most[aria-hidden="true"]{ display:inline-flex; visibility:hidden; } }
.tier__price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; }
.tier__per{ color:var(--muted); font-size:17px; }
/* Hungarian and Polish put the currency after the number, and at the sum's
   size it walks out of the column. The unit sits at the small size instead. */
.tier__unit, .co__unit{ color:var(--muted); font-size:17px; }
/* Polish and Hungarian space their thousands, so the sum is kept off two
   lines here rather than with a no-break space inside the number. */
.tier__sum{
  white-space:nowrap;
  font-family:var(--serif); font-weight:400; font-size:clamp(56px, 6vw, 80px); line-height:1; letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;
}
@media (min-width:720px) and (max-width:1099px){ .tier__sum{ font-size:clamp(40px, 5vw, 56px); } }
.tier__has{ margin:0; padding:0; list-style:none; display:grid; gap:4px; font-size:17px; line-height:1.55; color:var(--muted); }
.tier__has li:first-child{ color:var(--ink); }
/* Take the call, then Start free trial as a text link under it, at the
   foot of the column however short the list. */
.tier__go{ align-self:end; display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding-block-start:12px; }
@media (max-width:719px){
  .tier{ gap:14px 12px; padding-block-start:22px; }
  .tier__sum{ font-size:52px; }
  .tier__go{ flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 22px; padding-block-start:4px; }
}

/* ─────────────── faq ───────────────
   main.js opens and closes each answer with its height; the caret turns. */

.faq details{ border-block-start:1px solid var(--hairline); }
.faq summary{
  list-style:none; cursor:pointer; padding-block:clamp(22px, calc(14.6px + 1.9vw), 36px);
  font-family:var(--serif); font-weight:400; font-size:clamp(22px, calc(19px + .76vw), 30px); line-height:1.1; letter-spacing:-.01em;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq summary::-webkit-details-marker{ display:none; }
.caret-i{
  flex-shrink:0; inline-size:24px; block-size:24px; padding:0; color:var(--ink);
  transition:transform .35s var(--spring);
}
.faq details[open] .caret-i{ transform:rotate(180deg); }
.faq details.is-closing .caret-i{ transform:none; }
.faq__a{ overflow:hidden; }
.faq__a p{ padding-block-end:clamp(22px, calc(14.6px + 1.9vw), 36px); font-size:18px; line-height:1.55; max-inline-size:64ch; color:var(--muted); }
/* Take the call after the last answer, outside the details, so the answers'
   height animation never measures it. */
.faq__go{ padding-block-start:40px; border-block-start:1px solid var(--hairline); }

/* ─────────────── the close: call me ───────────────
   Ported from Watermelon UI's morphing-button (MIT): the pill opens into a
   phone field drawn as one ink underline, with the send pill at its end. */

.close{ background:var(--ground); color:var(--ink); padding-block:clamp(56px, 10vw, 144px); }
.close__inner{ display:grid; gap:28px; }
@media (min-width:900px){
  .close__inner{ grid-template-columns:minmax(0,7fr) minmax(0,1fr) minmax(0,4fr); column-gap:24px; align-items:end; }
  .close__row{ grid-column:3; }
}
.close h2{ max-inline-size:14ch; font-size:clamp(48px, calc(33px + 3.81vw), 88px); line-height:1; }
.close__row{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }

.morph{ position:relative; display:inline-flex; align-items:center; gap:12px; max-inline-size:100%; }
.morph[data-open="true"]{ inline-size:100%; }
.morph__field{ display:none; flex:1; min-inline-size:0; }
.morph[data-open="true"] .morph__field{ display:flex; animation:slide-in .35s var(--spring) .05s backwards; }
.morph__field input{
  inline-size:100%; min-inline-size:0; border:0; border-block-end:1px solid var(--ink); border-radius:0;
  background:transparent; padding:14px 0; font-family:inherit; font-size:18px; color:var(--ink);
}
.morph__field input:focus{ outline:none; border-block-end-width:2px; padding-block-end:13px; }
.morph__field input::placeholder{ color:var(--muted); }
.morph__btn{
  flex-shrink:0; display:inline-flex; align-items:center; gap:10px;
  block-size:60px; padding:0 34px; border:0; border-radius:999px; cursor:pointer;
  background:var(--ring); color:var(--surface); font-weight:600; font-size:18px; line-height:1; white-space:nowrap;
  transition:background-color .15s;
}
.morph__btn:hover{ background:var(--ring-hover); }
.morph__btn:active{ background:var(--ring-pressed); }
.morph[data-open="true"] .morph__btn{ block-size:52px; padding:0 22px; font-size:16px; }
.morph__btn svg{ inline-size:18px; block-size:18px; }
.morph__say{ display:grid; }
.morph__say > span{ grid-area:1 / 1; transition:opacity .2s, transform .3s var(--spring); }
.morph__say .morph__send, .morph[data-open="true"] .morph__say .morph__ask{ opacity:0; transform:scale(.5); }
.morph[data-open="true"] .morph__say .morph__send{ opacity:1; transform:none; }
.morph__icon{ display:grid; }
.morph__icon svg{ grid-area:1 / 1; transition:opacity .2s, transform .3s var(--spring); }
.morph__icon .morph__arrow, .morph[data-open="true"] .morph__icon .btn__phone{ opacity:0; transform:scale(0); }
.morph[data-open="true"] .morph__icon .morph__arrow{ opacity:1; transform:none; }
.morph.is-bad{ animation:shake .35s ease-in-out; }
.morph__btn[disabled]{ cursor:default; opacity:.4; }
.morph__status{ min-block-size:1.4em; font-size:16px; color:var(--muted); }

/* ─────────────── the call-back popup ───────────────
   Every "take the call" opener raises this instead of starting a call in the
   page (PLAN-callback-popup, 2026-09-20). The native dialog element does the
   work: showModal gives the focus trap, the Escape key and the inert page
   behind it, so there is no script here holding any of that together.

   The panel is the paper itself on the ink scrim: the serif heading, one
   underlined phone field, the ring button, and the recordings as a text
   link under a hairline. On a phone it rises from the foot of the screen. */

/* main.js sets --cb-vh and --cb-vt from the visual viewport while the
   dialog is open, so on a phone the sheet stands on the keyboard. */
.cb{
  border:0; padding:clamp(14px, 4vw, 28px); margin:0; background:transparent; color:var(--ink);
  inline-size:100%; max-inline-size:100%;
  block-size:var(--cb-vh, 100%); max-block-size:var(--cb-vh, 100%); inset-block-start:var(--cb-vt, 0);
  overflow:auto; overscroll-behavior:contain;
}
.cb:not([open]){ display:none; }
.cb[open]{ display:grid; place-items:center; }
.cb::backdrop{ background:var(--scrim); }
.cb[open]{ animation:cb-rise .34s var(--ease-out); }
.cb[open]::backdrop{ animation:load-fade .34s var(--ease-out); }

.cb__panel{
  --cb-end:40px;
  --cb-said:calc(1.45em + 22px);        /* the status line and the gap above it */
  position:relative; inline-size:min(100%, 560px);
  display:grid; gap:22px; justify-items:start;
  background:var(--ground); border-radius:24px;
  padding:44px 48px calc(var(--cb-end) + var(--cb-said));
}
/* The status line takes its room only when it has something to say; the
   room is held at the panel's foot instead, so the panel is the same height
   either way and the heading and the field do not move under the reader. */
.cb__panel:has(.cb__status:not(:empty)){ padding-block-end:var(--cb-end); }
.cb__x{
  position:absolute; inset-block-start:34px; inset-inline-end:34px;
  display:inline-flex; align-items:center; justify-content:center;
  inline-size:44px; block-size:44px; padding:0; border:0; border-radius:50%;
  background:transparent; color:var(--ink); cursor:pointer;
  transition:color .15s;
}
.cb__x:hover{ color:var(--ring); }
.cb__x svg{ inline-size:20px; block-size:20px; }
.cb__h{ font-size:clamp(40px, calc(35.5px + 1.14vw), 52px); line-height:1.02; padding-inline-end:48px; }
.cb__say{ font-size:17px; color:var(--muted); max-inline-size:40ch; }
.cb__row{ display:grid; gap:22px; inline-size:100%; justify-items:start; }
.cb__in{
  inline-size:100%; min-inline-size:0; padding:14px 0;
  border:0; border-block-end:1px solid var(--ink); border-radius:0; background:transparent;
  font-family:inherit; font-size:18px; color:var(--ink);
}
.cb__in::placeholder{ color:var(--muted); }
.cb__in:focus{ outline:none; border-block-end-width:2px; padding-block-end:13px; }
.cb__in[aria-invalid="true"]{ border-block-end-color:var(--ring); }
.cb__status{ color:var(--muted); font-size:16px; }
.cb__status:empty{ display:none; }
.cb__panel[data-sent="true"] .cb__say, .cb__panel[data-sent="true"] .cb__row{ display:none; }
.cb__panel[data-sent="true"] .cb__status{ color:var(--ink); font-size:18px; font-weight:600; }
.cb__rec{
  inline-size:100%; border-block-start:1px solid var(--hairline); padding-block-start:18px;
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px;
}
.cb__recsay{ color:var(--muted); font-size:16px; }
/* The recordings are the other thing to do here: a text link with the play
   mark that says what it opens, and the page's arrow, which mirrors at the
   foot of this file the way every other arrow here does. */
.cb__go{ display:inline-flex; align-items:center; gap:8px; font-size:16px; }
.cb__go svg{ inline-size:14px; block-size:14px; }
.cb__play{ flex:none; }
.cb__arrow{ flex:none; transition:transform .25s var(--ease-out); }
.cb__panel.is-bad{ animation:shake .35s ease-in-out; }
/* One thing of the page's own in the panel: the ring mark the console draws
   under a value that has just landed, under the heading here. */
.cb__h{ position:relative; }
.cb__h::after{
  content:""; position:absolute; inset-block-end:-.08em; inset-inline-start:0;
  inline-size:1.15em; block-size:.09em; background:var(--ring);
}
@media (max-width:640px){
  .cb[open]{ place-items:end center; padding:0 }
  .cb__panel{ border-radius:24px 24px 0 0 }
}
@media (max-width:640px){
  .cb__panel{ --cb-end:32px; inline-size:100%; gap:20px; padding-block-start:28px; padding-inline:20px; }
  .cb__x{ inset-block-start:20px; inset-inline-end:12px; }
  .cb__row .btn{ inline-size:100%; block-size:52px; font-size:16px; }
}
@keyframes cb-rise{ from{ opacity:0; transform:translateY(14px); } }

/* ─────────────── legal pages ─────────────── */

.wrap--narrow{ max-inline-size:820px; }
.legal{ padding-block-end:var(--section); }
.legal h1{ font-size:clamp(48px, 7vw, 88px); margin-block-end:12px; }
.legal h2{ font-size:clamp(28px, 3vw, 40px); margin-block:44px 8px; }
.legal p, .legal ul{ margin-block-start:12px; font-size:17px; }
.legal ul{ padding-inline-start:1.3em; }
.legal a{ color:var(--ink); text-underline-offset:3px; }
.legal a:hover{ color:var(--ring); }

/* ─────────────── the checkout page ───────────────
   checkout.html and its four twins, in this site's tokens. The order on one
   side, the one pay button on the other: the shape a hosted checkout has,
   because a visitor who has just pressed Buy should not have to work out
   what this page is.

   It carries no site header and no footer. A checkout has neither, and a page
   that is one step of a flow should hold nothing to wander off into except
   the way back to the prices.

   There is no card field, no expiry, no CVC and no billing field here, so
   nothing below styles one.

   checkout.js hides the two plans that were not pressed, and the busy and
   failed states, with the [hidden] attribute, which is why the display rules
   let the attribute win. */

.co-body{ background:var(--ground); }
/* Stacked, the order takes the height it needs and the payment column takes
   the rest, so its one button sits in the middle of what is left. Side by
   side, both columns are full height and each centres its own content. */
.co{ min-block-size:100svh; display:grid; grid-template-rows:auto 1fr; }
@media (min-width:880px){
  .co{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:1fr; }
}

/* The back link sits alone at the top of the order column, and the mark, the
   plan and the price sit right under it: the merchant is the first thing a
   visitor sees on the panel that is about to charge them. */
.co__order{
  background:var(--ink); color:var(--ground);
  padding-block:26px 38px; padding-inline:22px;
  display:grid; grid-template-rows:auto 1fr 1fr; gap:26px;
}
/* display:contents lets the mark and the plan be grid items of the panel
   itself: the mark takes the row under the back link, the plan and the price
   keep the centred row they had. */
.co__plans{ display:contents; }
.co__plans > .co__plan{ align-self:center; }
@media (min-width:880px){
  .co__order{ padding-block:34px 60px; padding-inline-start:8vw; padding-inline-end:5vw; }
}
.co__top{
  display:flex; align-items:center; justify-content:flex-start; gap:18px 24px;
  flex-wrap:wrap; margin-block-end:34px;
}
/* The mark on the checkout is the site's, beside the serif word in the
   panel's own ground. It stands on its own line, centred over the plan and
   the price, larger than the header's, which is what a hosted checkout does
   with the merchant it is charging for. */
.co__brand{ color:var(--ground); }
.co__sign{ display:flex; justify-content:center; align-items:center; align-self:center; margin-block:0; }
.co__sign .brand{ gap:18px; }
.co__sign .brand__mark{ inline-size:76px; block-size:76px; }
.co__sign .brand__word{ font-size:2.6rem; letter-spacing:-.015em; }
@media (max-width:879px){
  .co__sign .brand__mark{ inline-size:62px; block-size:62px; }
  .co__sign .brand__word{ font-size:2.1rem; }
}
.co__back{
  display:inline-flex; align-items:center; gap:8px; justify-self:start;
  color:var(--ground); text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; font-size:15px;
}
.co__top .co__back{ margin-block-end:0; }
.co__back svg{ flex-shrink:0; }

.co__plan[hidden]{ display:none; }
.co__plan{ display:grid; gap:18px; }
.co__sub{ color:var(--ground); font-size:17px; }
.co__amount{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 10px; color:var(--ground); }
.co__sum{
  white-space:nowrap;
  font-family:var(--serif); font-weight:400; font-size:clamp(48px, 6vw, 72px); line-height:1; letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;
}
.co__per{ color:var(--ground); font-size:17px; }
.co__order .co__unit{ color:var(--ground); }
.co__lines{
  margin:0; padding-block-start:18px; list-style:none;
  display:grid; gap:8px; border-block-start:1px solid var(--muted);
}
.co__line{ display:flex; justify-content:space-between; gap:12px; align-items:baseline; }
.co__has{ color:var(--ground); font-size:15px; }
.co__cost{ font-variant-numeric:tabular-nums; white-space:nowrap; }
.co__total{
  display:flex; justify-content:space-between; gap:12px; align-items:baseline;
  padding-block-start:16px; border-block-start:1px solid var(--muted);
  color:var(--ground); font-weight:600;
}

.co__pay{
  padding-block:30px 44px; padding-inline:22px;
  display:grid; align-content:center; justify-items:center; gap:18px;
  text-align:center;
}
@media (min-width:880px){
  .co__pay{ padding-block:60px; padding-inline-start:5vw; padding-inline-end:8vw; }
}
.co__h{ font-size:clamp(32px, 3vw, 44px); }
.co__noscript{
  padding:14px 0; border-block:1px solid var(--hairline);
  color:var(--muted); font-size:15px;
}
.co__noscript a{ color:var(--ink); }

/* One button, and it is the whole interaction: the ring pill, with the
   Stripe mark beside the line saying the payment is secured by Stripe, in
   the page's language. There is no field on the page, so no field is
   styled. */
.co__pay-btn{
  display:flex; align-items:center; justify-content:center; gap:12px;
  inline-size:100%; max-inline-size:44ch; min-block-size:60px;
  padding:12px 28px; font:inherit; font-weight:600; font-size:17px; line-height:1.3;
  color:var(--surface); background:var(--ring);
  border:0; border-radius:999px; cursor:pointer;
  transition:background-color .15s, opacity .15s;
}
.co__pay-btn:hover{ background:var(--ring-hover); }
.co__pay-btn:active{ background:var(--ring-pressed); }
.co__pay-btn[disabled]{ cursor:default; opacity:.4; }
/* The one colour on this site that is not a token: Stripe's own brand colour,
   because a mark shown in someone else's palette is not their mark. It is
   scoped to this line, and tests/check.sh strips exactly this rule before the
   token scan, so nothing else in the file can borrow it. On the ring button
   it sits on a small surface disc, so it keeps the contrast a graphic needs. */
.co__stripe{ flex-shrink:0; color:#635BFF; }
.co__pay-btn .co__stripe{ padding:3px; border-radius:50%; background:var(--surface); }

.co__state{ min-block-size:2.6em; }
.co__busy[hidden], .co__fail[hidden]{ display:none; }
.co__busy{ display:flex; align-items:center; gap:12px; font-weight:500; }
.co__spin{
  flex-shrink:0; inline-size:16px; block-size:16px; border-radius:50%;
  border:2px solid var(--hairline); border-block-start-color:var(--ring);
  animation:spin .8s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.co__fail{
  padding:16px 18px; max-inline-size:52ch;
  background:var(--surface); border:1px solid var(--ring); border-radius:12px;
}
.co__failline{ color:var(--ring); font-weight:600; }

/* ─────────────── footer ─────────────── */

.foot{ background:var(--ground); color:var(--muted); border-block-start:1px solid var(--hairline); }
.foot__base{
  display:flex; flex-wrap:wrap; gap:8px 28px; justify-content:space-between; align-items:center;
  padding-block:24px; font-size:15px;
}
@media (max-width:640px){
  .foot__base{ font-size:16px; padding-block:16px; }
  .foot__sep{ visibility:hidden; margin-inline:3px; }
}
.foot a{ display:inline-flex; align-items:center; min-block-size:44px; text-decoration:none; transition:color .15s; }
.foot a:hover{ color:var(--ink); }
.foot__sep{ margin-inline:6px; }

/* ─────────────── the Hebrew page ───────────────
   Tuned for Hebrew, not copied from the Latin (takes-edits, 2026-09-23).
   Frank Ruhl Libre draws the display lines at 400, the weight whose colour
   is Instrument Serif's, with the room its lamed and final letters need
   above and below; nothing in Hebrew is tracked. Assistant's Hebrew sets
   small beside Instrument Sans at the same size, so its x-height is lifted
   to the Latin face's with font-size-adjust, which scales the glyphs and
   leaves every size in this file as it is; the serif lines are left out of
   it. The punchline stands upright: Hebrew has no italic of its own. */

[lang="he"] body{ font-size-adjust:.54; line-height:1.6; }
[lang="he"] :is(h1,h2,h3,.punch,.tier__sum,.fig__v,.co__sum,.brand__word,.steps__go p,.faq summary){ font-weight:400; letter-spacing:0; font-size-adjust:none; }
[lang="he"] :is(.label,.chip,.tab,.fld dt,.outcome__lb,.verdict__tag,.line__who,.turn__spk){ letter-spacing:0; }
[lang="he"] .punch{ font-style:normal; }
[lang="he"] h1{ line-height:1.04; }
[lang="he"] h2, [lang="he"] .punch{ line-height:1.1; }
[lang="he"] .hero h1{ font-size:clamp(52px, calc(34.6px + 5.24vw), 110px); }
@media (min-width:900px){ [lang="he"] .hero h1{ font-size:clamp(52px, calc(34.6px + 5.24vw), min(110px, 13lvh)); } }

/* ─────────────── paused off screen ───────────────
   main.js sets data-paused on a section that is out of view or in a
   hidden tab; every CSS loop inside it holds still. */

[data-paused] *, [data-paused] *::before, [data-paused] *::after{ animation-play-state:paused !important; }

/* ─────────────── responsive ─────────────── */

@media (max-width:1100px){
  .grid{ grid-template-columns:minmax(0,1fr) 280px; }
}
@media (max-width:900px){
  .grid{ grid-template-columns:minmax(0,1fr); block-size:auto; }
  .col--sum{ border-inline-start:0; border-block-start:1px solid var(--hairline); }
  .feed{ flex:none; block-size:300px; }
  .console[data-state="ringing"] .callcard__idle{ min-block-size:300px; }
  .summary{ overflow:visible; }
  .turn{ font-size:18px; }
  .who__name{ font-size:18px; }
}
/* The console on a phone: the caller and the line state on one row, three
   turns of the call, the dial across the panel, and the summary as tight
   key and value rows whose values stay on one line; the timer, the hint
   and the hand-off line wait for a wider screen. */
@media (max-width:640px){
  .take h2{ margin-block-end:16px; }
  .callinfo{ flex-wrap:nowrap; padding:12px 14px; }
  .who{ min-inline-size:0; }
  .who__name, .who__sm{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .speak{ flex-shrink:0; }
  .timer, .callcard__hint, .handoff{ display:none; }
  .feed{ block-size:196px; }
  .simfeed{ gap:10px; padding:12px 14px; }
  .turn{ font-size:17px; line-height:1.4; }
  .console[data-state="ringing"] .callcard__idle{ min-block-size:196px; }
  .callcard__idle{ padding:12px 14px; }
  .dial{ inline-size:100%; }
  .colhead{ padding:12px 14px 8px; }
  .colhead b{ font-size:16px; }
  .colhead span{ display:none; }
  .summary{ padding:0 14px 14px; }
  .fld{ padding-block:8px; }
  .val{ font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; overflow-wrap:normal; }
  .outcome{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; padding-block-start:10px; }
  .chips{ margin:0; }
}
/* The take-the-call bar: phones only, at the foot of the screen. main.js
   makes it inert while any of the hero is in view, and inert it waits below
   the screen's edge; it slides up by transform alone, and the reduced-motion
   block drops the slide. The footer keeps room under its last line, so the
   bar never covers it; the call-back dialog is in the top layer, above it. */
.cta-bar{ display:none; }
@media (max-width:899px){
  .cta-bar{ display:block; position:fixed; inset-inline:0; inset-block-end:0; z-index:30; padding:12px var(--pad) calc(20px + env(safe-area-inset-bottom)); background:var(--ground); border-block-start:1px solid var(--hairline); transition:transform .3s var(--ease-out); }
  .cta-bar[inert]{ transform:translateY(100%); }
  body:has(.cta-bar) .foot{ padding-block-end:calc(76px + env(safe-area-inset-bottom)); }
  .cta-bar .btn{ block-size:52px; font-size:16px; }
}
/* Touch targets: 44px where a finger, not a pointer, does the pressing. */
@media (pointer:coarse){
  .callcard__mute, .callcard__mic{ inline-size:44px; block-size:44px; }
  .btn--sm{ min-block-size:44px; }
  .nav__links a, .nav__lang > summary, .nav__langs a{ padding-block:12px; }
}
@media (max-width:520px){
  .callcard__log{ padding:14px; }
  .summary{ padding-inline:14px; }
  .callcard__idle{ padding-inline:14px; }
  .ws__name{ display:none; }
  .watch{ display:none; }
  .morph[data-open="true"] .morph__say{ display:none; }
  .morph[data-open="true"] .morph__btn{ padding:0 16px; }
}

/* ─────────────── keyframes ─────────────── */

@keyframes load-fade{ from{ opacity:0; } }
@keyframes load-rise{ from{ transform:translateY(10px); } }
@keyframes rise{ from{ opacity:0; transform:translateY(8px); } }
@keyframes write{ from{ opacity:0; transform:translateY(5px); } }
@keyframes pulse{ 50%{ opacity:.25; } }
@keyframes blink{ 50%{ opacity:0; } }
@keyframes hop{ 0%,60%,100%{ transform:none; } 30%{ transform:translateY(-4px); } }
@keyframes eq{ 0%,100%{ transform:scaleY(calc(var(--h,1) * .25)); } 50%{ transform:scaleY(var(--h,1)); } }
@keyframes wipe{ from{ transform:scaleX(0); } 70%{ transform:scaleX(1); opacity:1; } to{ transform:scaleX(1); opacity:0; } }
@keyframes snap{ from{ opacity:0; transform:scale(.4); } }
@keyframes hot{ 50%{ transform:scale(1.08); } }
@keyframes shake{ 20%{ transform:translateX(-5px); } 40%{ transform:translateX(5px); } 60%{ transform:translateX(-3px); } 80%{ transform:translateX(3px); } }
@keyframes slide-in{ from{ opacity:0; transform:translateX(-10px); } }

/* ─────────────── the prices and the checkout ───────────────
   A Buy press and the Back beside the order move between two documents, so
   the move is one cross-document view transition rather than a cut. Both
   pages are same-origin and both load this one stylesheet, so both halves
   of every move are written here once.

   The CSS does not know which way the visitor is going, so main.js and
   checkout.js name it on the transition: co-open on the way to the
   checkout, co-back on the way back to the prices. A browser without view
   transitions, or a visitor who asked for less motion, gets the plain
   navigation the page always had.

   The landing scroll is the other half of this: an index page arriving on
   #pricing turns scroll-behavior off for that one scroll (a line in its
   head), so the prices are already there when the new page is shown
   instead of gliding down to them afterwards. */

@view-transition{ navigation:auto; }

::view-transition-old(root), ::view-transition-new(root){
  animation-duration:.46s; animation-timing-function:cubic-bezier(.22,1,.36,1);
  animation-fill-mode:both;
}

/* The mark is on both pages, so it is the one thing that does not cross: it
   travels to its new place and the pages change under it. */
.brand__mark{ view-transition-name:brand; }
::view-transition-group(brand){ animation-duration:.5s; animation-timing-function:var(--spring); }
/* It is the same mark on both sides, so it travels rather than cross-fading:
   the outgoing copy is dropped and the incoming one is simply carried. */
::view-transition-old(brand){ display:none; }
::view-transition-new(brand){ animation:none; mix-blend-mode:normal; }

:root:active-view-transition-type(co-open)::view-transition-old(root){ animation-name:page-off-start; }
:root:active-view-transition-type(co-open)::view-transition-new(root){ animation-name:page-on-end; }
:root:active-view-transition-type(co-back)::view-transition-old(root){ animation-name:page-off-end; }
:root:active-view-transition-type(co-back)::view-transition-new(root){ animation-name:page-on-start; }

@keyframes page-off-start{ to{ opacity:0; transform:translateX(-9%) scale(.985); } }
@keyframes page-on-end{ from{ opacity:0; transform:translateX(9%) scale(.985); } }
@keyframes page-off-end{ to{ opacity:0; transform:translateX(9%) scale(.985); } }
@keyframes page-on-start{ from{ opacity:0; transform:translateX(-9%) scale(.985); } }

/* ─────────────── right to left ───────────────
   What cannot be said logically: arrows point the way the reader goes, the
   play mark points the reading direction, and the fresh-value underline
   grows from the start side. */

[dir="rtl"] .morph__arrow{ transform:scaleX(-1); }
[dir="rtl"] .morph[data-open="true"] .morph__icon .morph__arrow{ transform:scaleX(-1); }
[dir="rtl"] .rec__played, [dir="rtl"] .val[data-fresh]::after, [dir="rtl"] .fig__lost{ transform-origin:100% 50%; }
[dir="rtl"] .co__arrow{ transform:scaleX(-1); }
/* The inline start side is the right one, so the two pages swap the way
   they slide; the keyframes are mirrored rather than the transform, because
   a view transition animates the root's own pseudo-elements. */
[dir="rtl"]:active-view-transition-type(co-open)::view-transition-old(root){ animation-name:page-off-start-rtl; }
[dir="rtl"]:active-view-transition-type(co-open)::view-transition-new(root){ animation-name:page-on-end-rtl; }
[dir="rtl"]:active-view-transition-type(co-back)::view-transition-old(root){ animation-name:page-off-end-rtl; }
[dir="rtl"]:active-view-transition-type(co-back)::view-transition-new(root){ animation-name:page-on-start-rtl; }
@keyframes page-off-start-rtl{ to{ opacity:0; transform:translateX(9%) scale(.985); } }
@keyframes page-on-end-rtl{ from{ opacity:0; transform:translateX(-9%) scale(.985); } }
@keyframes page-off-end-rtl{ to{ opacity:0; transform:translateX(-9%) scale(.985); } }
@keyframes page-on-start-rtl{ from{ opacity:0; transform:translateX(9%) scale(.985); } }
[dir="rtl"] .cb__arrow{ transform:scaleX(-1); }
[dir="rtl"] .morph[data-open="true"] .morph__field{ animation-name:slide-in-rtl; }
/* A phone number is Latin in a Hebrew sentence: isolate it so the plus sign
   stays on the left of the digits, and keep it off two lines. */
[dir="rtl"] a[href^="tel:"]{ direction:ltr; unicode-bidi:isolate; white-space:nowrap; }
@keyframes slide-in-rtl{ from{ opacity:0; transform:translateX(10px); } }

/* ─────────────── reduced motion ───────────────
   One switch. Nothing moves: the console shows a finished call, the figures
   show their end state, answers open at once. main.js reads the same query
   and never starts a loop. */

@media (prefers-reduced-motion:reduce){
  /* The * rule below never reaches ::view-transition-*, so the move between
     the prices and the checkout is switched off at the source. */
  @view-transition{ navigation:none; }
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  .watch{ display:none; }
}
