/*
  AutoScale v3 draft. "Product gallery" design system, shared by / (he, rtl) and /en/ (en, ltr).

  Idea: every page leads with a drawn version of the thing that offer delivers (a dispatch app,
  a sales board, a call timeline, a status page). The drawings are HTML + SVG with demo data and
  are slots for real, approved screenshots later. Everything around them stays quiet.

  Type: Karantina only for the h1 and big price numbers (Hebrew); Assistant for everything else.
        English: Archivo, condensed for the h1 and price numbers, normal width elsewhere.
  Color: AutoScale blues (#29c1ec to #1b3f77) plus cool neutrals. Light by default, dark follows
         the system. No section flips theme. No fixed-width faces, no uppercase labels, no section counters.
  Shape: buttons and tags are pills, cards 14px, phones 34px, UI inside a drawing 6 to 8px.
  Direction: logical properties everywhere, so RTL needs only icon and connector flips.
*/

:root {
  color-scheme: light dark;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --tint: #e8f0f8;
  --ink: #0c1a2e;
  --ink-2: #3f4f66;
  --ink-3: #56677e;
  --line: #d6e0ea;
  --line-2: #b6c5d7;
  --field: #7d8ba0;

  --navy: #1b3f77;
  --sky: #29c1ec;
  --mid: #1f69a8;
  --brand: #1b3f77;
  --brand-ink: #ffffff;
  --brand-hover: #12305c;
  --link: #1b4f91;
  --price: #1b3f77;
  --sky-soft: #d4effa;
  --navy-soft: #dde6f3;
  --pill-navy: #1b3f77;
  --pill-mid: #2470b5;
  --wave-c: #1b3f77;

  --frame: #ffffff;
  --frame-bar: #eef3f8;
  --frame-ui: #f6f9fc;
  --bezel: #0f1d33;
  --chat: #e7eff7;
  --bub-in: #ffffff;
  --bub-out: #cdebf8;
  --mark-a: #1b3f77;

  --shadow: 0 1px 2px rgb(27 63 119 / .06), 0 18px 36px -26px rgb(27 63 119 / .32);
  --shadow-lg: 0 2px 4px rgb(27 63 119 / .07), 0 30px 56px -30px rgb(27 63 119 / .45);
  --focus: #1b3f77;

  --font-body: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Assistant', system-ui, sans-serif;
  --font-display: 'Karantina', 'Assistant', system-ui, sans-serif;
  --font-num: 'Karantina', 'Assistant', system-ui, sans-serif;
  --font-brand: 'Archivo', 'Assistant', system-ui, sans-serif;
  --display-stretch: 100%;
  --display-weight: 700;
  --display-lh: .95;
  --head-stretch: 100%;
  --flip: -1;
}
html[lang="en"] {
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-num: 'Archivo', system-ui, sans-serif;
  --display-stretch: 70%;
  --display-weight: 800;
  --display-lh: .98;
  --head-stretch: 88%;
  --flip: 1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1424;
    --surface: #0f1d33;
    --tint: #10223e;
    --ink: #e8eff7;
    --ink-2: #b4c2d4;
    --ink-3: #95a7be;
    --line: #1f3150;
    --line-2: #34507a;
    --field: #6a83a8;

    --brand: #29c1ec;
    --brand-ink: #04162b;
    --brand-hover: #67d4f3;
    --link: #82d9f5;
    --price: #8fd8f4;
    --mid: #7cc6ec;
    --sky-soft: #0f3a55;
    --navy-soft: #1a315a;
    --pill-navy: #2e5c9e;
    --pill-mid: #2b74b8;
    --wave-c: #86a9df;

    --frame: #0d1a2e;
    --frame-bar: #132540;
    --frame-ui: #112039;
    --bezel: #2a3d5c;
    --chat: #0b172a;
    --bub-in: #172841;
    --bub-out: #12425c;
    --mark-a: #8fbbea;

    --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 18px 36px -26px rgb(0 0 0 / .7);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 30px 56px -30px rgb(0 0 0 / .85);
    --focus: #29c1ec;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
html[lang="en"] body { font-size: 1.0625rem; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; }
p { margin: 0; }
small { font-size: max(12px, .85em); }
.nw { white-space: nowrap; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-stretch: var(--head-stretch); line-height: 1.15; text-wrap: balance; }
h2 { font-weight: 800; }
h3 { font-weight: 800; font-size: 1.2rem; }
html[lang="en"] h3 { font-stretch: 100%; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, 1200px); } }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 50;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--surface); color: var(--ink); border-radius: 999px; box-shadow: var(--shadow); font-weight: 700;
}
.skip:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.todo { background: var(--sky-soft); border-radius: 4px; padding: 0 4px; }

.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  line-height: var(--display-lh);
  letter-spacing: 0;
}
html[lang="en"] .display { letter-spacing: -.015em; }

.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ic-flip { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 1rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 520px) { .actions > .btn { flex: 1 1 100%; } }

/* ---------- header ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.bar { display: flex; align-items: center; gap: 10px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-brand); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em;
  margin-inline-end: auto;
}
/* the real AutoScale logo: image files at their own proportions, never stretched or recoloured */
.brand picture { display: flex; align-items: center; flex: none; }
.brand-mark img { display: block; width: 42px; height: 34px; }
.brand-word img { display: block; width: 111px; height: 16px; }
.brand-lockup img { display: block; width: 114px; height: 88px; }
.brand-foot { min-height: 88px; }
.brand:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.nav { display: none; }
.nav ul { display: flex; list-style: none; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 1rem;
}
html[lang="en"] .nav a { font-size: .95rem; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sky); border-radius: 0; }
.lang-top {
  display: none; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600;
}
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); padding-block: 8px 16px; }
.mobile-nav ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.mobile-nav a:hover { background: var(--tint); }
/* Current page, as clear as the underline in the desktop bar (judge round 3). */
.mobile-nav nav a[aria-current="page"] { background: var(--sky-soft); box-shadow: inset 3px 0 0 var(--sky); font-weight: 800; }
[dir="rtl"] .mobile-nav nav a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--sky); }
.lang-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mobile-nav .lang-row a { display: inline-flex; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; }
@media (min-width: 700px) { .lang-top { display: inline-flex; } .lang-row { display: none; } }
@media (min-width: 1180px) {
  .brand { margin-inline-end: 18px; }
  .nav { display: block; margin-inline-end: auto; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ---------- shared section scaffolding ---------- */
.band { padding-block: clamp(56px, 8vw, 112px); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 46rem; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; }
.sec-intro { margin-top: 12px; color: var(--ink-2); font-size: 1.15rem; max-width: 60ch; }
.lede { font-size: 1.25rem; color: var(--ink-2); max-width: 44ch; }
html[lang="en"] .lede { font-size: 1.15rem; max-width: 52ch; }
.demo-note { display: flex; gap: 10px; align-items: baseline; margin-top: 24px; color: var(--ink-3); font-size: .95rem; }
.demo-note::before { content: ''; flex: none; width: 12px; height: 12px; border: 1.5px dashed var(--ink-3); border-radius: 3px; transform: translateY(1px); }

/* price written as quoted */
.pv { display: block; color: var(--price); }
.pv-num { font-family: var(--font-num); font-stretch: var(--display-stretch); font-weight: var(--display-weight); line-height: 1; font-size: clamp(2.3rem, 4vw, 3.1rem); font-variant-numeric: tabular-nums; }
.pv-unit { font-family: var(--font-body); font-stretch: 100%; font-weight: 700; font-size: max(1rem, .34em); letter-spacing: 0; color: var(--ink-2); white-space: nowrap; }
html[lang="en"] .pv-num { letter-spacing: -.01em; }
.pv-word { font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.pv-small { font-weight: 700; color: var(--ink); font-size: 1rem; }

/* ---------- drawings: shared parts ---------- */
.spec { position: relative; font-family: var(--font-body); }
.demo-tag { position: absolute; top: 0; inset-inline-end: 14px; z-index: 2; transform: translateY(-50%); display: inline-block; padding: 1px 9px; border: 1px dashed var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-3); font-size: 12px; font-weight: 600; line-height: 1.5; }
.spec small { font-size: max(12px, .85em); }
.frame {
  container-type: inline-size;
  background: var(--frame); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  font-size: 13px; line-height: 1.4; color: var(--ink);
}
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--frame-bar); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 5px; flex: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.frame-title { margin-inline: auto; padding: 2px 16px; border-radius: 6px; background: var(--frame); color: var(--ink-2); font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-body { padding: 16px; }
.gl { width: 15px; height: 15px; flex: none; color: var(--mid); }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px var(--sky-soft); flex: none; }
.fake-btn { display: inline-block; margin-top: 8px; padding: 5px 14px; border-radius: 999px; background: var(--pill-navy); color: #fff; font-weight: 700; font-size: 12px; }
.fake-btn.sm { margin-top: 0; padding: 3px 12px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1.5; }
.p-new { background: var(--sky-soft); color: var(--ink); }
.p-work { background: var(--sky); color: #04162b; }
.p-sent { background: var(--pill-mid); color: #fff; }
.p-won { background: var(--pill-navy); color: #fff; }
.p-wait { border: 1px dashed var(--ink-3); color: var(--ink-2); padding: 1px 8px; }
.p-stop { background: var(--tint); color: var(--ink-2); border: 1px solid var(--line-2); padding: 1px 8px; }
/* Rows are subgrids of the table, so a column sized to its content has one width on every row. */
.tbl { display: grid; column-gap: 8px; font-size: 12.5px; }
.tbl .tr { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 8px; align-items: center; padding: 6px 6px; border-bottom: 1px solid var(--line); min-width: 0; }
.tbl .tr > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .th { color: var(--ink-3); font-size: 12px; font-weight: 600; }
/* Status pills never clip (judge round 3): the pill column is at least as wide as its widest pill; the other columns give way. */
.tbl-3 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(max-content, 1.2fr); }
.tbl-4 { grid-template-columns: minmax(0, .6fr) minmax(0, 1.6fr) minmax(0, .7fr) minmax(max-content, 1fr); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--frame-ui); min-width: 0; }
.kpi small { display: block; color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-size: 21px; font-weight: 800; line-height: 1.2; }
.wave { width: 100%; height: 40px; }
.wave.mini { height: 18px; }
.w-a { fill: var(--sky); }
.w-c { fill: var(--wave-c); }
.sig { width: 96px; height: 24px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .sig { color: var(--mid); } }
.ck { width: 15px; height: 15px; flex: none; fill: var(--sky); stroke: #04162b; }
.cx { width: 16px; height: 16px; flex: none; stroke: currentColor; }

/* phone + chat */
.phone { container-type: inline-size; padding: 8px; border-radius: 34px; background: var(--bezel); box-shadow: var(--shadow-lg); }
.phone-screen { border-radius: 27px; overflow: hidden; background: var(--chat); display: flex; flex-direction: column; min-height: 100%; }
.phone-head { display: flex; align-items: center; gap: 9px; padding: 16px 12px 10px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.25; }
.phone-head b { display: block; }
.phone-head small { color: var(--ink-3); font-size: 12px; }
.av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pill-navy); color: #fff; font-weight: 800; font-size: 12px; flex: none; }
.chat { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.chip-day { align-self: center; padding: 2px 12px; border-radius: 8px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 600; box-shadow: 0 1px 0 rgb(0 0 0 / .05); }
.bub {
  align-self: flex-start; max-width: 86%; padding: 6px 9px 4px; border-radius: 10px;
  background: var(--bub-in); color: var(--ink); font-size: 13px; line-height: 1.42; box-shadow: 0 1px 0 rgb(12 26 46 / .07);
}
.bub.out { align-self: flex-end; background: var(--bub-out); }
.bub.sys { background: var(--pill-navy); color: #fff; }
.bub.sys .who, .bub.sys .t { color: #cfe3f7; }
.bub .who { display: block; font-weight: 800; color: var(--mid); font-size: 12px; }
.bub .t { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 1px; font-size: 12px; color: var(--ink-3); }
.tk { width: 15px; height: 9px; color: var(--sky); }
.wa-btns { display: block; margin: 6px -9px 0; }
.wa-btns span { display: block; padding: 5px; border-top: 1px solid var(--line); text-align: center; color: var(--mid); font-weight: 700; }
.mini-chat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: var(--chat); }
.att { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; padding: 6px 8px; border-radius: 8px; background: var(--frame-ui); }
.att .gl { width: 18px; height: 18px; }
.att-wave { flex: 1; min-width: 60px; }

/* ---------- home hero ---------- */
.hero-home { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-home h1 { font-size: clamp(3.4rem, 8.4vw, 7.5rem); margin-bottom: clamp(24px, 4vw, 48px); }
/* English desktop headlines stay at two lines (judge round 3: three lines at 110px read as shouting). */
html[lang="en"] .hero-home h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 28ch; }
.hero-home h1 span { display: block; }
.hh-grid { display: grid; gap: 36px; }
.hh-copy .lede { font-size: 1.3rem; }
@media (min-width: 980px) {
  .hh-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
  .hh-copy { padding-top: 8px; }
}
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 218px; align-items: center; }
.stage .frame-portal .frame-body { padding-inline-end: 44px; }
.phone-hero { margin-inline-start: -34px; position: relative; z-index: 1; }
.phone-hero .phone-screen { min-height: 440px; }
@media (max-width: 640px) {
  /* Builds lead (R5): on phones the client portal is the only hero picture. */
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage .frame-portal .frame-body { padding-inline-end: 16px; }
  .stage .phone-hero { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone-hero .bub { animation: pop .42s cubic-bezier(.2, .8, .3, 1) both; }
  .phone-hero .s1 { animation-delay: .35s; }
  .phone-hero .s2 { animation-delay: 1.15s; }
  .phone-hero .s3 { animation-delay: 1.8s; }
  .phone-hero .s4 { animation-delay: 2.45s; }
  .phone-hero .s5 { animation-delay: 3.1s; }
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* portal drawing */
.portal-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.portal-top b { display: block; font-size: 16px; font-weight: 800; }
.portal-top small { display: flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 12px; }
.logo-chip { padding: 4px 9px; border-radius: 6px; background: var(--pill-navy); color: #fff; font-weight: 800; font-size: 12px; }
.stages { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.stages i { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.stages .done i { background: var(--pill-navy); }
.stages .cur i { background: var(--sky); }
.stages span { display: block; margin-top: 5px; color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.stages .done span, .stages .cur span { color: var(--ink); font-weight: 700; }
.portal-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; }
.card-next, .card-files { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--frame-ui); }
.card-next small, .card-files small { color: var(--ink-3); }
.card-next b { display: block; font-size: 15px; margin-block: 2px; }
.card-next > span:not(.fake-btn) { display: block; color: var(--ink-2); }
.card-files ul { list-style: none; margin-top: 4px; }
.card-files li { display: flex; align-items: center; gap: 6px; padding-block: 5px; border-top: 1px solid var(--line); }
.card-files li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-files li small { margin-inline-start: auto; white-space: nowrap; }
@container (max-width: 470px) { .portal-cards { grid-template-columns: 1fr; } .stages span { white-space: normal; overflow: visible; line-height: 1.25; } }

/* ---------- home: one lead through the system (graft from blueprint) ---------- */
.band-flow { background: var(--surface); }
.flow { position: relative; }
.flow-span { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.flow-span::before, .flow-span::after { content: ''; flex: 1; height: 10px; border-block-start: 1.5px solid var(--line-2); border-inline-start: 1.5px solid var(--line-2); }
.flow-span::after { border-inline-start: 0; border-inline-end: 1.5px solid var(--line-2); }
.fl-steps { list-style: none; display: grid; gap: 34px; }
.fl-step { position: relative; }
.fl-card {
  position: relative; min-height: 186px; padding: 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--frame); box-shadow: var(--shadow); font-size: 13px; line-height: 1.4;
}
.fl-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.fl-card > .mk, .fl-card .mini-chat > .mk { position: absolute; top: -12px; inset-inline-end: 12px; }
.mk {
  display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--navy); background: var(--surface); color: var(--navy); font-weight: 800; font-size: 12.5px; line-height: 1;
}
@media (prefers-color-scheme: dark) { .mk { border-color: var(--sky); color: var(--sky); } }
.fl-wa .mini-chat { position: static; }
.fl-wa .bub { max-width: 92%; }
.fl-board .tr.me { background: var(--sky-soft); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--sky); }
.fl-board .tr.me .p-new { background: var(--surface); box-shadow: inset 0 0 0 1px var(--sky); }
.lines { margin: 0; }
.lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-block: 4px; border-bottom: 1px dashed var(--line); }
.lines dt { color: var(--ink-2); }
.lines dt small { display: block; color: var(--ink-3); font-size: 12px; }
.lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines .tot { border-bottom: 0; border-top: 1.5px solid var(--ink); margin-top: 2px; }
.lines .tot dt, .lines .tot dd { color: var(--ink); font-weight: 800; }
.sign { display: flex; align-items: end; gap: 8px; margin-top: 8px; color: var(--ink-3); }
.sign small { font-size: 12px; }
.stamp {
  position: absolute; inset-inline-end: 16px; bottom: 18px; padding: 2px 12px; border: 2.5px solid var(--mid); border-radius: 6px;
  color: var(--mid); font-weight: 800; font-size: 16px; transform: rotate(-8deg);
}
.fl-cap { margin-top: 12px; }
.fl-cap b { display: block; font-size: 1.05rem; }
.fl-cap span { color: var(--ink-2); font-size: 1rem; }
/* connectors between steps */
.fl-step + .fl-step::before {
  content: ''; position: absolute; top: -26px; inset-inline-start: 50%; width: 2px; height: 18px; background: var(--sky);
}
.fl-step + .fl-step::after {
  content: ''; position: absolute; top: -14px; inset-inline-start: calc(50% - 4px); width: 10px; height: 10px;
  border-block-end: 2px solid var(--sky); border-inline-end: 2px solid var(--sky); transform: rotate(calc(45deg * var(--flip)));
}
/* The tip is the corner where the two borders meet: bottom-right in LTR, bottom-left in RTL (inline-end flips).
   Stacked, both turn to point down (+45deg LTR, -45deg RTL). In a row the base turn below points the tip along
   the reading direction: right in English, left in Hebrew. shoot.mjs ARROWS checks this per dir at 375, 1180, 1440. */
@media (min-width: 900px) {
  .fl-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .fl-step + .fl-step::before { top: 90px; inset-inline-start: -26px; width: 22px; height: 2px; transform-origin: calc(50% - 50% * var(--flip)) 50%; }
  .fl-step + .fl-step::after { top: 86px; inset-inline-start: -12px; transform: rotate(calc(-45deg * var(--flip))); }
}
.flow-notes { list-style: none; display: grid; gap: 22px; margin-top: 44px; }
.flow-notes li { display: flex; gap: 14px; align-items: flex-start; }
.flow-notes .mk { margin-top: 3px; }
.flow-notes h3 { font-size: 1.25rem; margin-bottom: 4px; }
.flow-notes p { color: var(--ink-2); }
@media (min-width: 900px) { .flow-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }

/* flow animation: plays once in view (site.js adds .is-playing). Default state is the finished drawing. */
@media (prefers-reduced-motion: no-preference) {
  .flow.is-playing .fl-step { animation: rise .5s ease-out both; }
  .flow.is-playing .p1 { animation-delay: .1s; }
  .flow.is-playing .p2 { animation-delay: 1.4s; }
  .flow.is-playing .p3 { animation-delay: 2.5s; }
  .flow.is-playing .p4 { animation-delay: 3.7s; }
  .flow.is-playing .p1a { animation: pop .4s .35s both; }
  .flow.is-playing .p1b { animation: pop .4s 1s both; }
  .flow.is-playing .fl-step + .fl-step::before { animation: grow .35s both; }
  .flow.is-playing .p2::before { animation-delay: 1.2s; }
  .flow.is-playing .p3::before { animation-delay: 2.3s; }
  .flow.is-playing .p4::before { animation-delay: 3.5s; }
  .flow.is-playing .fl-step + .fl-step::after { animation: fade .2s both; }
  .flow.is-playing .p2::after { animation-delay: 1.45s; }
  .flow.is-playing .p3::after { animation-delay: 2.55s; }
  .flow.is-playing .p4::after { animation-delay: 3.75s; }
  .flow.is-playing .fl-doc .sig path { stroke-dasharray: 320; animation: draw .8s 2.9s ease-in-out both; }
  .flow.is-playing .stamp { animation: stamp .35s 4.3s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scale(0); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.7) rotate(-8deg); } to { opacity: 1; transform: rotate(-8deg); } }

/* ---------- home: services with prices ---------- */
.svc-grid { display: grid; gap: 30px; }
.svc-label { font-size: 1.05rem; color: var(--ink-2); font-weight: 700; margin-bottom: 12px; }
.svc { list-style: none; display: grid; gap: 12px; }
.svc a {
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 44px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color .15s ease;
}
.svc a:hover { border-color: var(--sky); }
.svc-name { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
html[lang="en"] .svc-name { font-weight: 700; font-size: 1.1rem; }
.svc-name .ic { color: var(--mid); }
.svc-desc { color: var(--ink-2); margin-bottom: 10px; }
.svc .pv { margin-top: auto; }
/* one price slot per card: a word ("free audit", "נקבע בשיחה") sits on the same bottom line as a number */
.svc { --pv-size: clamp(2.3rem, 4vw, 3.1rem); }
.sg1 .svc { --pv-size: clamp(2.8rem, 6vw, 4.6rem); }
.svc .pv-num { font-size: var(--pv-size); }
.svc .pv-word { display: flex; align-items: flex-end; min-height: var(--pv-size); }
.sg1 .svc a { padding-block: 24px; background: var(--tint); border-color: transparent; }
.sg1 .svc a:hover { border-color: var(--sky); }
@media (min-width: 720px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .sg2 .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .sg1, .sg2 { grid-column: 1 / -1; }
  .sg3 { grid-column: 1 / -1; }
  .sg3 .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.svc-note { margin-top: 22px; color: var(--ink-2); }

/* ---------- home: selected work ---------- */
.band-work { background: var(--tint); }
.show { display: grid; gap: 24px; align-items: center; margin-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 980px) {
  .show { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; }
  .show-board { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .show-board .show-art { order: 2; }
}
.show-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.show-copy h3 a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; }
.show-copy h3 a:hover { color: var(--link); }
.show-copy h3 .ic { color: var(--mid); }
.show-copy p { color: var(--ink-2); }
.show-copy p strong { color: var(--ink); }
.cases { list-style: none; display: grid; gap: 18px; }
.cases-scroll:focus-visible { outline-offset: 6px; }
@media (min-width: 760px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .cases { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.case figure { margin-bottom: 10px; }
.case .tag { color: var(--mid); font-weight: 700; font-size: .95rem; }
.case h3 { font-size: 1.2rem; }
.case h3 a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); }
.case > p { color: var(--ink-2); }
.work-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration-color: var(--sky); text-decoration-thickness: 2px; }

/* case drawings */
.case-art { container-type: inline-size; position: relative; min-height: 196px; padding: 10px; border-radius: 10px; background: var(--frame-ui); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; }
.ca-hotel { display: grid; gap: 8px; }
.ca-hotel .bub { max-width: 94%; font-size: 12px; }
.digest { padding: 8px 10px; border-radius: 8px; background: var(--frame); border: 1px solid var(--line); }
.digest-h { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.digest-h span { color: var(--ink-3); }
.digest-n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.digest-n b { display: block; font-size: 20px; font-weight: 800; color: var(--price); line-height: 1.1; }
.digest-n small { color: var(--ink-3); font-size: 12px; }
.ca-studio { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.ca-studio > small { color: var(--ink-3); font-size: 12px; }
.ca-studio > b { font-size: 17px; margin-bottom: 8px; }
.ca-studio .stages { margin-bottom: 10px; }
.ca-note { display: flex; align-items: center; gap: 7px; color: var(--ink-2); }
.ca-field { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding-block: 14px; }
.hub-core { position: relative; z-index: 1; padding: 6px 16px; border-radius: 999px; background: var(--pill-navy); color: #fff; font-weight: 800; }
.hub-lines { position: absolute; inset: 40px 10px 70px; width: calc(100% - 20px); height: calc(100% - 110px); }
.hub-lines path { stroke: var(--sky); }
.hub-regions { position: relative; z-index: 1; align-self: end; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 64px; }
.hub-regions span { display: grid; padding: 6px; border-radius: 8px; background: var(--frame); border: 1px solid var(--line); text-align: center; }
.hub-regions small { color: var(--ink-3); font-size: 12px; }
.ca-ishur { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.ish-h { display: flex; justify-content: space-between; gap: 8px; }
.ish-h span { color: var(--ink-3); }
.ish-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ish-stats span { padding: 6px 8px; border-radius: 8px; background: var(--frame); border: 1px solid var(--line); }
.ish-stats b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; }
.ish-stats .hi b { color: var(--price); }
.ish-stats small { color: var(--ink-3); font-size: 12px; }
.ish-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; }
.ish-bar .a { flex: 186; background: var(--pill-navy); }
.ish-bar .b { flex: 41; background: var(--line-2); }
.ish-bar .c { flex: 58; background: var(--sky); }

/* ---------- home: founder (graft from founder direction) ---------- */
.band-founder { background: var(--surface); }
.founder { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }
.portrait img { width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 899px) {
  .portrait { display: flex; }
  .portrait img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; }
}
/* No photo yet: the answer and Richard's note on one side, the chat on the other. */
@media (min-width: 900px) { .founder.founder-text-only { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.founder-text-only .founder-chat-fig { width: 100%; justify-self: end; }
.founder-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; margin-bottom: 14px; }
.founder-a { font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; }
.hand-note { margin-block: 28px; }
.hand-note blockquote { margin: 0; }
.hand-note blockquote p { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 800; line-height: 1.25; color: var(--price); max-width: 26ch; }
html[lang="en"] .hand-note blockquote p { font-weight: 700; }
.hand-note figcaption { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--ink-2); font-weight: 600; }
.hand-arrow { width: 64px; height: 32px; color: var(--sky); transform: scaleX(calc(-1 * var(--flip))); }
.founder-chat-fig { max-width: 440px; }
.founder-chat-fig .mini-chat { padding: 12px; border: 1px solid var(--line); }
.founder-chat-fig .bub { font-size: 14px; }
.founder-chat-fig figcaption { margin-top: 6px; color: var(--ink-3); font-size: .9rem; }

/* ---------- home: how it works as one WhatsApp thread (graft from founder direction) ---------- */
.how { display: grid; gap: 28px; }
@media (min-width: 980px) {
  .how { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 64px; }
  .how-side { position: sticky; top: 24px; align-self: start; }
}
.how-side h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; margin-bottom: 12px; }
.how-side > p:not(.demo-note) { color: var(--ink-2); font-size: 1.15rem; max-width: 34ch; }
.spec-thread { max-width: 600px; }
.thread { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--chat); }
.thread .chip-day { margin-block: 6px 2px; font-size: 13px; }
.thread .bub { max-width: min(88%, 420px); font-size: 15px; }
.thread .bub .t { font-size: 12px; }
.step-t { display: block; font-weight: 800; }
.bub.call { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.bub.call .t { margin: 0 0 0 0; margin-inline-start: 8px; }
.call-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: #04162b; }
.call-ic .gl { color: #04162b; }
.att-doc { display: block; margin: 2px -4px 8px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--frame-ui); }
.doc-mini { display: grid; gap: 5px; padding: 12px 14px 10px; background: var(--frame); border-bottom: 1px solid var(--line); }
.doc-mini b { font-size: 14px; padding-bottom: 4px; border-bottom: 2px solid var(--ink); }
.doc-mini span { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 4px; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.doc-mini small { color: var(--ink-3); white-space: nowrap; }
.doc-mini .sig { justify-self: end; }
.att-name { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-weight: 700; font-size: 12.5px; }
.app-mini { display: grid; background: var(--frame); border-bottom: 1px solid var(--line); }
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--pill-navy); color: #fff; }
.app-bar b { font-size: 13px; }
.app-bar small { color: #cfe3f7; font-size: 12px; }
.app-row { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--sky); }
.dot.d1 { background: var(--pill-mid); }
.dot.d2 { background: var(--line-2); }

/* ---------- FAQ: always visible ---------- */
.band-faq { background: var(--bg); }
.qa { display: grid; margin: 0; }
.qa > div { padding-block: 20px; border-top: 1px solid var(--line); }
.qa dt { font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
html[lang="en"] .qa dt { font-weight: 700; font-size: 1.1rem; }
.qa dd { margin: 6px 0 0; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 900px) { .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }

/* ---------- closing CTA + forms ---------- */
.cta { padding-block: clamp(56px, 8vw, 112px); background: var(--tint); border-top: 1px solid var(--line); }
.cta .wrap { display: grid; gap: 36px; }
@media (min-width: 980px) { .cta.has-form .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; } }
.cta-h { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.04; margin-bottom: 14px; max-width: 18ch; }
.cta-sum { margin: 32px 0 8px; max-width: 440px; }
.cta-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line-2); }
.cta-sum dt { color: var(--ink-2); font-weight: 600; }
.cta-sum dd { margin: 0; }
.cta-sum .pv-num { font-size: 2.1rem; }
.cta-main > .fine { color: var(--ink-3); font-size: .95rem; max-width: 52ch; }
.form-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.form-card h3, .form-card h2 { font-size: 1.5rem; }
.form-card .sub { color: var(--ink-2); margin-block: 4px 16px; }
.field { display: grid; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; padding: 0; }
.opt { color: var(--ink-3); font-weight: 400; }
.help { color: var(--ink-3); font-size: .95rem; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 10px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem;
}
textarea { min-height: 112px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: 999px; font-weight: 600; cursor: pointer; }
.chip input { width: 18px; min-height: 0; height: 18px; margin: 0; accent-color: var(--navy); }
.form-foot { display: grid; gap: 10px; margin-top: 6px; }
.form-foot .btn { justify-self: start; }
.fine { color: var(--ink-3); font-size: .95rem; }
.form-status { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--tint); display: grid; gap: 10px; }
.form-status[hidden] { display: none; }
.form-status .btn { justify-self: start; }

/* ---------- offer pages: hero ---------- */
.hero-offer { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero-offer .wrap { display: grid; gap: 32px 56px; grid-template-areas: "copy" "side" "art"; }
.ho-copy { grid-area: copy; }
.ho-side { grid-area: side; }
.ho-art { grid-area: art; min-width: 0; }
.hero-offer h1 { font-size: clamp(3rem, 6.8vw, 5.8rem); margin-bottom: 18px; max-width: 16ch; }
html[lang="en"] .hero-offer h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); max-width: 22ch; }
.price-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); max-width: 420px; }
.pc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pc-head span { color: var(--ink-3); font-size: .95rem; }
.pc-lead { margin-block: 4px 6px; }
.pc-lead .pv-word { font-size: 1.8rem; }
.price-card .lines > div { padding-block: 10px; align-items: center; }
.price-card .lines dd .pv-num { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.price-card .lines dd .pv-word { font-size: 1.15rem; }
.pc-note { margin-top: 12px; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 980px) {
  .hv-apps .wrap, .hv-auto .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "copy side" "art art"; align-items: end; }
  .hv-crm .wrap { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); grid-template-areas: "copy copy" "art side"; align-items: start; }
  .hv-crm .ho-side { padding-top: 24px; }
  .hv-voice .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "copy art" "side art"; align-items: start; }
  .hv-partners .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy art"; align-items: center; }
  .hv-outreach .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy art" "side art"; align-items: start; }
  .hv-ads .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "art copy" "art side"; align-items: start; }
  .hv-support .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy copy" "art side"; align-items: start; }
  .hv-access .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "copy art"; align-items: center; }
  .hv-work .wrap { grid-template-areas: "copy"; }
  .hv-work h1 { max-width: 16ch; font-size: clamp(3.4rem, 8.6vw, 7.6rem); }
  html[lang="en"] .hv-work h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
  .hv-work .lede { font-size: 1.4rem; max-width: 48ch; }
}
.hv-voice .ho-side, .hv-ads .ho-side { align-self: start; }
.hv-auto .ho-art { padding: clamp(14px, 3vw, 32px); border-radius: 18px; border: 1px solid var(--line); background-color: var(--surface); background-image: radial-gradient(var(--line-2) 1px, transparent 1.3px); background-size: 18px 18px; }

/* duo: desktop app + phone, side by side */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 0; align-items: end; }
.duo > .phone { margin-inline-start: -28px; position: relative; z-index: 1; margin-bottom: -12px; }
@media (max-width: 700px) {
  .duo { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .duo > .phone { margin: 0 auto; width: min(100%, 280px); }
}

/* apps: dispatch app */
.ops { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
.ops-side { list-style: none; display: grid; align-content: start; gap: 2px; }
.ops-side li { padding: 6px 10px; border-radius: 6px; color: var(--ink-2); }
.ops-side li.on { background: var(--sky-soft); color: var(--ink); font-weight: 700; }
.ops-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ops-h b { font-size: 15px; }
.frame-ops .frame-body { padding-inline-end: 48px; }
@container (max-width: 520px) { .ops { grid-template-columns: 1fr; } .ops-side { display: none; } .frame-ops .frame-body { padding-inline-end: 16px; } }
.app-screen { padding: 22px 16px 18px; gap: 4px; background: var(--frame); font-size: 13px; line-height: 1.4; }
.app-screen > small { color: var(--ink-3); }
.app-job { font-size: 19px; font-weight: 800; }
.app-addr { color: var(--ink-2); }
.app-time { align-self: flex-start; margin-block: 6px; padding: 2px 10px; border-radius: 999px; background: var(--sky-soft); font-weight: 800; }
.app-note { padding: 8px 10px; margin-block: 6px 10px; border-radius: 8px; background: var(--frame-ui); border: 1px solid var(--line); color: var(--ink-2); }
.app-btns { display: grid; gap: 6px; }
.app-btns span { padding: 8px; border-radius: 10px; border: 1px solid var(--line-2); text-align: center; font-weight: 700; }
.app-btns span.on { background: var(--pill-navy); border-color: transparent; color: #fff; }

/* apps: written spec (outcomes) */
.band-spec { background: var(--surface); }
.spec-sheet { position: relative; max-width: 1000px; padding: clamp(18px, 3vw, 40px); border: 1px solid var(--line); border-radius: 6px 6px 16px 16px; background: var(--frame); box-shadow: var(--shadow-lg); }
.spec-sheet::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--sky), var(--navy)); }
.sp-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 1.05rem; }
.sp-head small { margin-inline-start: auto; color: var(--ink-3); }
.sp-parts { list-style: none; }
.sp-parts > li { display: grid; gap: 14px 40px; padding-block: 24px; border-bottom: 1px dashed var(--line-2); }
@media (min-width: 820px) { .sp-parts > li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.sp-doc-part b { color: var(--mid); font-weight: 800; }
.sp-doc-part ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sp-doc-part li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--frame-ui); font-size: .95rem; }
.sp-note h3 { font-size: 1.35rem; margin-bottom: 6px; }
.sp-note p { color: var(--ink-2); }
.sp-sign { display: flex; justify-content: flex-end; align-items: end; gap: 10px; padding-top: 18px; color: var(--ink-3); }
.sp-sign .sig { width: 120px; height: 30px; }

/* apps: release track (steps) */
.rt-ticks { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 30px; }
.rt-ticks::before { content: ''; position: absolute; top: 8px; inset-inline: 0 16.66%; height: 2px; background: var(--navy); }
.rt-ticks::after { content: ''; position: absolute; top: 8px; inset-inline: 83.33% 0; border-top: 2px dashed var(--navy); }
@media (prefers-color-scheme: dark) { .rt-ticks::before { background: var(--sky); } .rt-ticks::after { border-color: var(--sky); } }
.rt-ticks li { position: relative; padding-inline-end: 6px; }
.rt-ticks i { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--navy); background: var(--bg); position: relative; }
.rt-ticks .big i { background: var(--navy); }
@media (prefers-color-scheme: dark) { .rt-ticks i { border-color: var(--sky); } .rt-ticks .big i { background: var(--sky); } }
.rt-ticks b { display: block; margin-top: 8px; font-size: .95rem; line-height: 1.25; overflow-wrap: normal; }
@media (max-width: 479px) {
  .rt-ticks { grid-template-columns: 1fr; row-gap: 10px; }
  .rt-ticks li { display: flex; align-items: center; gap: 12px; height: 28px; padding: 0; }
  .rt-ticks i { flex: none; }
  .rt-ticks b { margin-top: 0; }
  /* six rows, 28px tall with 10px between them: dots sit at 14px + n * 38px */
  .rt-ticks::before { top: 14px; bottom: auto; height: 152px; width: 2px; inset-inline: 8px auto; }
  .rt-ticks::after { top: 166px; height: 38px; width: 0; inset-inline: 8px auto; border-top: 0; border-inline-start: 2px dashed var(--navy); }
  @media (prefers-color-scheme: dark) { .rt-ticks::after { border-color: var(--sky); } }
}
.rt-ticks small { color: var(--ink-3); font-size: .85rem; }
.rt-steps { list-style: none; display: grid; gap: 20px; }
@media (min-width: 900px) { .rt-steps { grid-template-columns: 1fr 3fr 2fr; gap: 24px; } }
.rt-step { padding-top: 14px; border-top: 3px solid var(--sky); }
.rt-step.rs2 { border-top-color: var(--mid); }
.rt-step.rs3 { border-top-color: var(--navy); }
@media (prefers-color-scheme: dark) { .rt-step.rs3 { border-top-color: var(--line-2); } }
.rt-step h3 { margin-bottom: 6px; }
.rt-step p { color: var(--ink-2); }

/* crm: board */
.board-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.board-top > b { font-size: 17px; font-weight: 800; }
.tabs { display: flex; gap: 4px; }
.tabs span { padding: 3px 10px; border-radius: 6px; color: var(--ink-2); font-size: 12px; }
.tabs .on { background: var(--sky-soft); color: var(--ink); font-weight: 700; }
.auto-chip { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.bgroup { margin-top: 12px; }
.bgroup-h { display: block; margin-bottom: 4px; color: var(--mid); font-size: 14px; font-weight: 800; }
.g2 .bgroup-h { color: var(--ink); }
.tbl-b { border: 1px solid var(--line); border-radius: 6px; }
.tbl-b .th { background: var(--sky-soft); color: var(--ink-2); }
.g2 .tbl-b .th { background: var(--navy-soft); }
.tbl-b { grid-template-columns: minmax(0, 1.4fr) minmax(0, .5fr) minmax(max-content, 1fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .6fr); }
.tbl-b .tr { padding: 6px 10px; }
.tbl-b .tr:last-child { border-bottom: 0; }
.owner { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-soft); font-style: normal; font-weight: 800; font-size: 12px; }
@container (max-width: 560px) {
  .tbl-b .c3, .tbl-b .c4 { display: none; }
  .tbl-b { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr) minmax(max-content, 1.1fr) minmax(0, .7fr); }
  .tabs { display: none; }
}
@container (max-width: 380px) {
  .tbl-b .c5 { display: none; }
  .tbl-b { grid-template-columns: minmax(0, 1.6fr) minmax(0, .45fr) minmax(max-content, 1.15fr); }
  .auto-chip { margin-inline-start: 0; }
}

/* crm: sources into one board (outcomes) */
.band-sources { background: var(--surface); }
.crm-out { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .crm-out { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.sources { display: grid; grid-template-columns: auto minmax(32px, 1fr) auto; align-items: center; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: var(--frame-ui); }
.src-list { list-style: none; display: grid; gap: 14px; }
.src-list li { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--frame); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.src-lines { width: 100%; height: 200px; }
.src-lines path { stroke: var(--sky); }
[dir="rtl"] .src-lines { transform: scaleX(-1); }
.src-board { display: grid; justify-items: center; gap: 4px; max-width: 160px; padding: 18px 14px; border-radius: 14px; background: var(--pill-navy); color: #fff; text-align: center; }
.src-board .gl { color: #fff; width: 24px; height: 24px; }
.src-board small { color: #cfe3f7; font-size: .85rem; line-height: 1.3; }
.plain-out { list-style: none; display: grid; gap: 24px; }
.plain-out h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plain-out p { color: var(--ink-2); }

/* crm: kanban (steps) */
.kanban { list-style: none; display: grid; gap: 16px; }
@media (min-width: 860px) { .kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kb-col { padding: 12px; border-radius: 16px; background: var(--tint); }
.kb-h { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; font-size: 1.2rem; }
.kb-h i { width: 12px; height: 12px; border-radius: 3px; background: var(--sky); flex: none; }
.k2 .kb-h i { background: var(--pill-mid); }
.k3 .kb-h i { background: var(--pill-navy); }
.kb-card { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 1px 2px rgb(27 63 119 / .08); color: var(--ink-2); }

/* voice: dashboard */
.vd-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.vd-top > b { font-size: 16px; }
.live-tag { display: inline-flex; align-items: center; gap: 7px; padding: 2px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.vd .kpis { margin-bottom: 12px; }
.vd-call { padding: 10px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; }
.vd-call-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; }
.vd-call-h > span:not(.legend) { color: var(--ink-3); }
.legend { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--ink-3); font-size: 12px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.legend .la { background: var(--sky); }
.legend .lc { background: var(--wave-c); margin-inline-start: 4px; }
.marks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.marks li { padding-top: 6px; border-top: 2px solid var(--line); }
.marks b { display: block; color: var(--mid); font-size: 12px; }
.marks span { font-size: 12px; }
.tbl.vd-rows { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(max-content, 1fr); }
.vd-rows .tr:last-child { border-bottom: 0; }
@container (max-width: 540px) {
  .vd .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* voice: outcomes with small drawings */
.band-vo { background: var(--surface); }
.vo { list-style: none; display: grid; gap: 32px; }
@media (min-width: 900px) { .vo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.vo h3 { margin-block: 18px 6px; font-size: 1.3rem; }
.vo p { color: var(--ink-2); }
.vo-art { min-height: 188px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--frame-ui); font-size: 13px; line-height: 1.4; }
.vo-art > small { display: block; margin-bottom: 8px; color: var(--ink-3); font-weight: 600; }
.hours { width: 100%; height: 88px; }
.hours rect { fill: var(--navy-soft); }
.hours rect.nt { fill: var(--sky); }
.hours path { stroke: var(--line-2); }
.hours-x { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; direction: ltr; }
.hours-k { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink-2); font-size: 12px; }
.hours-k i { width: 10px; height: 10px; border-radius: 2px; background: var(--sky); }
.slots { list-style: none; display: grid; gap: 6px; }
.slots li { display: flex; gap: 12px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--frame); color: var(--ink-3); }
.slots li b { color: var(--ink); min-width: 42px; }
.slots li.me { border-color: var(--sky); background: var(--sky-soft); color: var(--ink); font-weight: 700; }
.slots li.x { background: transparent; }
.ts { list-style: none; display: grid; gap: 6px; }
.ts li { padding: 6px 10px; border-radius: 8px; background: var(--frame); border: 1px solid var(--line); }
.ts li b { display: block; color: var(--mid); font-size: 12px; }
.ts li.c { margin-inline-start: 18px; background: var(--bub-out); border-color: transparent; }
.ts-sum { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; }

/* voice: steps along a call */
.callsteps { list-style: none; display: grid; gap: 28px; counter-reset: cs; }
@media (min-width: 900px) { .callsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.callsteps li { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cs-when { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--sky-soft); font-weight: 700; font-size: .95rem; }
.cs-wave { height: 28px; margin-block: 14px; }
.callsteps h3 { margin-bottom: 6px; }
.callsteps p { color: var(--ink-2); }

.note-box { max-width: 820px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line-2); border-radius: 14px; background: var(--tint); }
.note-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 8px; }
.note-box h3 .ic { color: var(--mid); }
.note-box p { color: var(--ink-2); }

/* outreach: lead timeline */
.tl { position: relative; display: grid; gap: 14px; padding: clamp(16px, 3vw, 26px); border: 1px solid var(--line); border-radius: 16px; background: var(--frame); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; }
.tl::before { content: ''; position: absolute; top: 34px; bottom: 34px; inset-inline-start: calc(clamp(16px, 3vw, 26px) + 84px + 17px); width: 2px; background: var(--sky); }
.tl-row { position: relative; display: grid; grid-template-columns: 84px 36px minmax(0, 1fr); gap: 12px; align-items: center; }
.tl-t { color: var(--ink-3); font-weight: 700; font-size: 13px; text-align: end; }
.tl-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sky-soft); border: 2px solid var(--frame); position: relative; z-index: 1; }
.tl-c b { display: block; }
.tl-c small { color: var(--ink-2); font-size: 13px; }
.tl-stop { margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.tl-stop .tl-dot { background: var(--tint); color: var(--ink-2); }
.tl-stop .tl-c b { color: var(--ink-2); }

.olog-wrap, .ta { display: grid; gap: 36px; align-items: start; }
@media (min-width: 980px) { .olog-wrap, .ta { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.band-log, .band-audit { background: var(--surface); }
.olog { padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--frame-ui); font-size: 13.5px; }
.tbl.olog { grid-template-columns: minmax(0, .9fr) minmax(0, .8fr) minmax(max-content, 1.6fr); }
.olog .tr { padding-block: 10px; }
.olog .tr:last-child { border-bottom: 0; }
.olog .tr > span:last-child { white-space: normal; }

.gates { list-style: none; display: grid; gap: 20px; }
@media (min-width: 900px) { .gates { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.gates li { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.gate-k { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 4px 12px 4px 8px; border: 1px solid var(--sky); border-radius: 999px; font-weight: 700; font-size: .92rem; }
[dir="rtl"] .gate-k { padding: 4px 8px 4px 12px; }
.gates h3 { margin-bottom: 6px; }
.gates p { color: var(--ink-2); }

/* automations: scenario canvas */
.scn { container-type: inline-size; }
.scn-nodes { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.scn-nodes li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; font-size: 14px; line-height: 1.3; }
.n-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--frame); border: 2px solid var(--line-2); box-shadow: var(--shadow); position: relative; z-index: 1; }
.n-ic .gl { width: 26px; height: 26px; }
.n-ai .n-ic { background: var(--sky); border-color: var(--sky); }
.n-ai .n-ic .gl { color: #04162b; }
.n-ok .n-ic { border-style: dashed; border-color: var(--mid); }
.n-crm .n-ic { background: var(--pill-navy); border-color: var(--pill-navy); }
.n-crm .n-ic .gl { color: #fff; }
.scn-nodes b { font-size: 15px; }
.scn-nodes small { color: var(--ink-2); font-size: 13px; }
.scn-nodes li + li::before { content: ''; position: absolute; top: 29px; inset-inline-end: calc(50% + 30px); width: calc(100% - 60px + 18px); height: 2px; background: var(--sky); }
.scn-run { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: var(--frame); border: 1px solid var(--line); font-size: 14px; font-weight: 600; width: fit-content; }
.scn-run span { color: var(--ink-3); font-weight: 400; }
@container (max-width: 760px) {
  .scn-nodes { grid-template-columns: 1fr; gap: 14px; }
  .scn-nodes li { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; text-align: start; column-gap: 12px; row-gap: 0; }
  .scn-nodes li .n-ic { grid-row: span 2; width: 48px; height: 48px; }
  .scn-nodes li + li::before { top: -14px; inset-inline-start: 23px; inset-inline-end: auto; width: 2px; height: 14px; }
  .scn-run { border-radius: 14px; }
}

.audit { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--frame-ui); font-size: 14px; }
.audit > small { display: block; margin-bottom: 10px; color: var(--ink-3); font-weight: 600; }
.audit ul { list-style: none; display: grid; gap: 10px; }
.audit li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 28px; gap: 10px; align-items: center; }
.audit li svg { width: 100%; height: 10px; }
.audit li rect { fill: var(--sky); }
.audit li b { text-align: end; }
@media (max-width: 520px) { .audit li { grid-template-columns: minmax(0, 1fr) 28px; } .audit li svg { grid-column: 1 / -1; grid-row: 2; } }

.auto-steps { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .auto-steps { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } .auto-steps .steps-line { grid-template-columns: 1fr; } }
.alert-card { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--sky); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: 15px; }
.al-k { display: inline-flex; align-items: center; gap: 6px; color: var(--mid); font-weight: 800; }
.alert-card small { color: var(--ink-2); font-size: 14px; }
.alert-card .pill { justify-self: start; margin-top: 4px; }

/* generic steps */
.steps { list-style: none; display: grid; gap: 22px; counter-reset: st; }
.steps > li { counter-increment: st; position: relative; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
.steps-line > li { padding-inline-start: 52px; }
.steps-line > li::before {
  content: counter(st); position: absolute; inset-inline-start: 0; top: -2px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); font-weight: 800; background: var(--bg);
}
@media (prefers-color-scheme: dark) { .steps-line > li::before { border-color: var(--sky); color: var(--sky); } }
.steps-line > li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 17px; top: 40px; bottom: -18px; width: 2px; background: var(--line-2); }
@media (min-width: 900px) { .steps-line { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .steps-line > li:not(:last-child)::after { display: none; } }
.steps-cards { gap: 16px; }
@media (min-width: 900px) { .steps-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps-cards > li { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.steps-cards > li::before { content: counter(st); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 8px; background: var(--sky-soft); font-weight: 800; }
.steps-lane > li { display: grid; gap: 6px 32px; padding-block: 20px; border-top: 1px solid var(--line); }
.steps-lane > li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pill-navy); color: #fff; font-weight: 800; }
@media (min-width: 820px) { .steps-lane > li { grid-template-columns: 34px minmax(0, 4fr) minmax(0, 7fr); align-items: start; } .steps-lane h3 { margin: 4px 0 0; } }

/* generic outcomes */
.outs { list-style: none; display: grid; gap: 24px; }
.outs h3 { margin-bottom: 6px; font-size: 1.25rem; }
.outs p { color: var(--ink-2); }
.outs-cols { gap: 28px; }
@media (min-width: 900px) { .outs-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.outs-cols > li { padding-top: 16px; border-top: 3px solid var(--sky); }
.outs-report { max-width: 900px; gap: 0; }
.outs-report > li { display: grid; gap: 4px 40px; padding-block: 18px; border-bottom: 1px dashed var(--line-2); }
@media (min-width: 820px) { .outs-report > li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.outs-ticks > li { position: relative; padding-inline-start: 40px; }
.outs-ticks > li::before { content: ''; position: absolute; inset-inline-start: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--sky-soft); }
.outs-ticks > li::after { content: ''; position: absolute; inset-inline-start: 9px; top: 9px; width: 8px; height: 12px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
@media (prefers-color-scheme: dark) { .outs-ticks > li::after { border-color: var(--sky); } }
@media (min-width: 900px) { .outs-ticks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.band-outs { background: var(--surface); }

/* ads */
.frame-report { max-width: 560px; }
.rep .kpis { margin-bottom: 14px; }
.funnel { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; }
.funnel li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 46px; gap: 10px; align-items: center; }
.funnel svg { width: 100%; height: 14px; }
.funnel rect { fill: var(--navy-soft); }
.funnel li.hi rect { fill: var(--sky); }
.funnel b { text-align: end; font-variant-numeric: tabular-nums; }
.rep-ad, .rep-next { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--frame-ui); }
.rep-ad { margin-bottom: 8px; }
.rep-ad small, .rep-next small { color: var(--ink-3); }
.rep-ad .pill { justify-self: start; margin-top: 4px; }
.band-auditform { background: var(--tint); }
.audit-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .audit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }

/* support */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plan h3 { font-size: 1.2rem; }
.plan p { color: var(--ink-2); font-size: 1rem; }
.plans-note { grid-column: 1 / -1; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.duo-status { grid-template-columns: minmax(0, 1fr) 230px; align-items: end; gap: 0; }
.duo-status .ledger { margin-inline-start: -28px; margin-bottom: -16px; position: relative; z-index: 1; }
@media (max-width: 700px) { .duo-status { grid-template-columns: 1fr; gap: 16px; } .duo-status .ledger { margin: 0; } }
.stp-ok { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; }
.stp-svc { list-style: none; display: grid; gap: 10px; }
.stp-svc li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; align-items: center; }
.up { width: 100%; height: 22px; }
.up rect { fill: var(--sky); }
.up rect.bad { fill: var(--pill-navy); }
.stp-days { display: block; margin-top: 6px; color: var(--ink-3); text-align: end; }
.stp-inc { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--frame-ui); border: 1px solid var(--line); display: grid; }
.stp-inc small { color: var(--ink-3); }
.frame-status .frame-body { padding-inline-end: 44px; }
@container (max-width: 420px) { .stp-svc li { grid-template-columns: 1fr; gap: 4px; } .frame-status .frame-body { padding-inline-end: 16px; } }
/* Side by side, the hours card overlaps the frame by 28px: keep the bars and "Last 30 days" clear of it. */
@media (min-width: 701px) { .duo-status .frame-status .frame-body { padding-inline-end: 44px; } }
.ledger { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--frame); box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.4; }
.ledger > b { display: block; margin-bottom: 6px; font-size: 15px; }
.ledger ul { list-style: none; }
.ledger li { display: flex; justify-content: space-between; gap: 10px; padding-block: 7px; border-bottom: 1px dashed var(--line); }
.ledger small { display: block; margin-top: 8px; color: var(--mid); font-weight: 700; }

/* work: case files */
.band-cases { background: var(--bg); padding-top: 0; }
.casefile { display: grid; gap: 28px; align-items: center; padding-block: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); }
@media (min-width: 980px) {
  .casefile { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
  .casefile:nth-of-type(even) .cf-art, .casefile:nth-of-type(even) .shots { order: -1; }
}
.cf-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.cf-copy h3 a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); }
.cf-copy dl { margin: 0; display: grid; gap: 14px; }
.cf-copy dt { color: var(--mid); font-weight: 800; }
.cf-copy dd { margin: 2px 0 0; color: var(--ink-2); }
.cf-art .case-art { min-height: 280px; padding: 16px; font-size: 13.5px; }
.cf-art .ca-hotel .bub { font-size: 13.5px; }
.shots { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }

/* partners: layers */
.layers { display: grid; justify-items: center; gap: 0; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--frame-ui); text-align: center; }
.ly { display: grid; justify-items: center; gap: 2px; width: min(100%, 340px); padding: 14px 18px; border-radius: 14px; }
.ly small { font-size: .9rem; }
.ly-c { width: auto; grid-auto-flow: column; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: var(--frame); border: 1px solid var(--line); }
.ly-a { background: var(--pill-navy); color: #fff; box-shadow: var(--shadow-lg); }
.ly-a b { font-size: 1.3rem; }
.ly-a small { color: #cfe3f7; }
.ly-s { border: 2px dashed var(--line-2); background: transparent; }
.ly-s small { color: var(--ink-2); }
.ly-link { width: 2px; height: 28px; background: var(--sky); }
.ly-link.dash { background: none; border-inline-start: 2px dashed var(--line-2); width: 0; }
.ly-f { margin-top: 16px; color: var(--ink-2); font-size: .95rem; }
.band-lane { background: var(--surface); }

/* access */
.duo-access { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 16px; align-items: start; }
@media (max-width: 560px) { .duo-access { grid-template-columns: 1fr; } }
.dlg, .share { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--frame); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; }
.share { margin-top: 48px; }
@media (max-width: 560px) { .share { margin-top: 0; } }
.dlg-h { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.dlg-f { display: grid; gap: 3px; }
.dlg-f small { color: var(--ink-3); font-weight: 600; }
.dlg-in { padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--frame-ui); color: var(--ink-2); }
.dlg-sel { position: relative; padding-inline-end: 28px; }
.dlg-sel::after { content: ''; position: absolute; inset-inline-end: 12px; top: 13px; width: 6px; height: 6px; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dlg .fake-btn { justify-self: start; padding: 6px 16px; font-size: 13px; }
.share-v { font-weight: 800; font-size: 17px; }
.share-exp { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 12px; border-radius: 999px; background: var(--sky-soft); font-weight: 700; font-size: 13px; }
.share small { color: var(--ink-3); }
.band-ways { background: var(--surface); }
.access-ways { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .access-ways { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } }
.outs-ways > li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.outs-ways > li:first-child { border-color: var(--sky); border-width: 2px; }
.alog { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--frame-ui); font-size: 14px; }
.alog > small { display: block; margin-bottom: 8px; color: var(--ink-3); font-weight: 600; }
.alog .tr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2px 10px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.alog .tr:last-child { border-bottom: 0; }
.alog .tr > span:not(.pill) { color: var(--ink-2); }
.alog .pill { grid-column: 1 / -1; justify-self: start; }

/* ---------- legal docs ---------- */
.doc-page { padding-block: clamp(40px, 6vw, 88px); }
.doc { max-width: 72ch; }
.doc h1 { font-size: clamp(3rem, 7vw, 5rem); margin-bottom: 24px; }
html[lang="en"] .doc h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.doc h2 { font-size: 1.35rem; margin-block: 28px 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-inline-start: 1.2em; display: grid; gap: 8px; }
.review { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--tint); }
.review .ic { color: var(--mid); margin-top: 3px; }

/* ---------- footer ---------- */
.site-footer { padding-block: 48px 28px; background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 48px; } }
.foot-brand p { margin-block: 10px 18px; color: var(--ink-2); max-width: 44ch; }
.foot-col h2 { font-size: 1rem; color: var(--ink-3); font-weight: 700; margin-bottom: 6px; }
.foot-col ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding-inline-end: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--sky); }
.fine-print { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .95rem; }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(64px, 10vw, 140px); }
.lost h1 { font-size: clamp(3.4rem, 10vw, 7rem); }
.lost-en { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

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

/* ---------- small screens: one readable detail per drawing instead of a shrunken screen ---------- */
@media (max-width: 600px) {
  .band { padding-block: 52px; }
  .sec-head { margin-bottom: 24px; }
  .fl-steps { gap: 30px; }
  .fl-card { min-height: 0; }
  .fl-doc .lines > div:not(.tot) { display: none; }
  .fl-inv .lines > div:not(.tot) { display: flex; }
  .fl-inv { min-height: 92px; }
  .fl-board .tr:nth-child(4) { display: none; }
  .fl-cap { margin-top: 8px; }
  .flow-notes { margin-top: 32px; }
  .sg2 .svc, .sg3 .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sg2 .svc a, .sg3 .svc a { padding: 14px; }
  .sg2 .svc-name, .sg3 .svc-name { font-size: 1.02rem; align-items: flex-start; }
  .sg2 .svc-name .ic, .sg3 .svc-name .ic { display: none; }
  .sg2 .svc-desc, .sg3 .svc-desc { font-size: .95rem; line-height: 1.45; }
  .sg2 .svc, .sg3 .svc { --pv-size: 1.85rem; }
  .sg2 .pv-word, .sg3 .pv-word { font-size: 1.1rem; }
  .show { gap: 18px; margin-bottom: 44px; }
  .show-voice .vd-top, .show-voice .kpis { display: none; }
  .show-board .tbl-b .tr:nth-child(5) { display: none; }
  .case-art { min-height: 0; }
  .cases-scroll { position: relative; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .cases-scroll::-webkit-scrollbar { display: none; }
  .cases { grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; padding-bottom: 6px; }
  .case { scroll-snap-align: center; }
  .sg1 .svc a { padding-block: 18px; }
  .sg1 .svc { --pv-size: 3rem; }
  .svc-grid { gap: 22px; }
  .ca-hotel .mini-chat .bub:nth-child(3) { display: none; }
  .ca-field .hub-regions { margin-top: 48px; }
  .hub-lines { inset: 34px 10px 64px; height: calc(100% - 98px); }
}

/* ---------- website-v3 additions (09/11/26) ---------- */

/* honeypot: no person ever sees it, bots fill it and get dropped */
.hp { display: none; }

/* a price that is set on the call reads as words, never as a number */
.line[data-quote] dd .pv { color: var(--ink-2); }

/* demo caption under every drawing */
.hero-stage > .demo-note, .ho-art > .demo-note { margin-top: 16px; }

/* where to start: three ways in, the build path first and widest */
.band-paths { padding-block: clamp(44px, 6vw, 88px); border-top: 1px solid var(--line); }
.paths { list-style: none; display: grid; gap: 14px; }
.path { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.path-build { background: var(--tint); border-color: transparent; }
.path-tag { color: var(--mid); font-weight: 700; font-size: .95rem; }
.path h3 { font-size: 1.35rem; line-height: 1.2; }
html[lang="en"] .path h3 { font-size: 1.25rem; }
.path-text { color: var(--ink-2); }
.path-links { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 10px; }
.path-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none;
}
.path-links a:hover { border-color: var(--sky); }
.path-links .ic { width: 16px; height: 16px; color: var(--mid); }
@media (min-width: 900px) { .paths { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } }

/* form outcome */
.form-status[data-state="draft"], .form-status[data-state="success"] { background: var(--sky-soft); }

/* ---------- logos (15/11/26, spec R9): the tools strip and the client row ---------- */
/* Each brand's own black file in light mode and its own white file in dark mode, never recoloured: no fill, opacity
   or filter on a logo. Calm comes from a small, even height and wide spacing. A tool without an approved logo shows
   its name in the site's font, sized so its letters sit level with the logos' letters (design review 15/11/26).
   Motion is opt-in from site.js (data-moving): with no JavaScript or with reduced motion the strip is a still,
   wrapped grid, with no copy list. There is no visible button or note (Richard 15/11/26): while it runs, the
   strip's window is the pause control (hover, keyboard focus, click, Enter or Space). */
.band-tools { --tool-h: 26px; --tool-gap: 52px; background: var(--surface); border-block: 1px solid var(--line); }
.tools-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px var(--tool-gap); }
.tools-copy { display: none; }
.tool { flex: none; display: flex; align-items: center; justify-content: center; height: var(--tool-h); }
.tool picture { display: flex; align-items: center; }
.tool img { display: block; height: var(--tool-h); width: auto; max-width: none; }
.tool-s img { height: calc(var(--tool-h) * .85); }
.tool-l img { height: calc(var(--tool-h) * 1.15); }
.tool-name { font-family: var(--font-body); font-weight: 600; font-size: calc(var(--tool-h) * .9); line-height: 1; white-space: nowrap; color: var(--ink); }
/* running: one row, two copies of the list, the track moves by one list width. English runs left, Hebrew right.
   Keyboard focus on the strip pauses it (spec R9) until the visitor resumes it from the keyboard (data-play). */
.tools[data-moving] .tools-view {
  overflow: hidden; overflow: clip; container-type: inline-size; padding-block: 12px; cursor: pointer; border-radius: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.tools[data-moving] .tools-track { display: flex; width: max-content; will-change: transform; animation: tools-run var(--tools-dur, 50s) linear infinite; }
.tools[data-moving] .tools-list { flex-wrap: nowrap; justify-content: space-around; min-width: 100cqw; gap: var(--tool-gap); padding-inline: calc(var(--tool-gap) / 2); }
.tools[data-moving] .tools-copy { display: flex; }
.tools[data-moving] .tools-view:hover .tools-track,
.tools[data-moving]:not([data-play]) .tools-view:focus-visible .tools-track,
.tools[data-paused] .tools-track,
.tools[data-offscreen] .tools-track { animation-play-state: paused; }
.tools[data-moving] .tools-view:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@keyframes tools-run { to { transform: translateX(calc(var(--flip) * -50%)); } }
@media (max-width: 600px) {
  .band-tools { --tool-h: 20px; --tool-gap: 40px; }
  .tools-list { gap: 18px 30px; }
}

/* client row, under the hero. Logos are sized by visual weight, not into equal boxes (Richard 15/11/26):
   each one's height is the row height times its scale from logos.json (cl-kNN), so a solid square, a tall emblem
   and a thin wide wordmark feel equally present. One centre line, even gaps, never stretched. In dark mode each
   file is the same mark on a white plate with an even margin (--cl-pad), so the mark keeps its size. */
.band-clients { --cl-h: 56px; --cl-pad: calc(var(--cl-h) * .136); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.clients-h { font-family: var(--font-body); font-stretch: 100%; font-size: 1.05rem; font-weight: 700; color: var(--ink-2); text-align: center; margin-bottom: 28px; }
/* the row is a running strip like the tools strip (18/11/26): same script, same pause rules, still when not moving */
.band-clients { --tool-gap: 36px; }
.tools-clients .tools-list { gap: 24px var(--tool-gap); }
.tools-list.clients { max-width: 960px; margin-inline: auto; }
.tools-clients[data-moving] .tools-list.clients { max-width: none; margin-inline: 0; }
.cl { --k: 1; flex: none; display: flex; align-items: center; }
.cl picture { display: flex; align-items: center; }
.cl img { display: block; height: calc(var(--cl-h) * var(--k)); width: auto; max-width: none; }
.cl-k30 { --k: .3; } .cl-k35 { --k: .35; } .cl-k40 { --k: .4; } .cl-k45 { --k: .45; } .cl-k50 { --k: .5; }
.cl-k55 { --k: .55; } .cl-k60 { --k: .6; } .cl-k65 { --k: .65; } .cl-k70 { --k: .7; } .cl-k75 { --k: .75; }
.cl-k80 { --k: .8; } .cl-k85 { --k: .85; } .cl-k90 { --k: .9; } .cl-k95 { --k: .95; }
@media (min-width: 900px) {
  .band-clients { --cl-h: 88px; }
  .band-clients { --tool-gap: 72px; }
}
/* a client whose only file is for dark backgrounds sits on a dark plate in light mode, and bare in dark mode */
.cl.plate-light img { height: calc(var(--cl-h) * var(--k) + 2 * var(--cl-pad)); border-radius: 8px; }
@media (prefers-color-scheme: dark) {
  .cl.plate-dark img { height: calc(var(--cl-h) * var(--k) + 2 * var(--cl-pad)); border-radius: 8px; }
  .cl.plate-light img { height: calc(var(--cl-h) * var(--k)); border-radius: 0; }
  .band-clients { --tool-gap: 28px; }
}
@media (prefers-color-scheme: dark) and (min-width: 900px) { .band-clients { --tool-gap: 56px; } }

/* Logos on a plate in the tools strip (logos.json "plate"): where a brand publishes no file for one theme, that
   theme's file is the unchanged artwork on a plain plate. Only the plate's corners are rounded here (6px). */
.tool.plate-light img { border-radius: 6px; }
@media (prefers-color-scheme: dark) {
  .tool.plate-light img { border-radius: 0; }
  .tool.plate-dark img { border-radius: 6px; }
}

/* Real proof (media.json): WhatsApp screenshots with the quote as text, and one voice recording. Still, no motion.
   The pull quote of the recording is the one loud thing in the band, set in the display face. */
.band-proof { background: var(--surface); border-block: 1px solid var(--line); }
.proof-note { font-size: 1.05rem; }
.proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 56px); align-items: start; }
.proof-chat, .proof-voice, .bot-fig { margin: 0; }
/* Proof band, on one centred grid (Richard 18/11/26): the two phone screens as a balanced pair, same width, same top,
   one gap; the recording's player and its transcript centred under the pair at the pair's width. The screenshots are
   partial captures of the chats (that is how they were taken), so each fades out at the bottom of its screen
   instead of ending on a cut line. */
.proof { --pw: 320px; --pg: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, var(--pw)); justify-content: center; gap: 36px var(--pg); align-items: start; }
.proof-chat { width: 100%; margin: 0; }
.proof-chat .phone-shot { padding: 9px; border-radius: 44px; box-shadow: var(--shadow-lg); }
.proof-chat .phone-shot img { border-radius: 35px; -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); background: #0b141a; }
.proof-voice { margin: 0; padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); width: 100%; }
.proof-player { min-width: 0; }
.proof-who { margin: 0; color: var(--ink-2); font-weight: 600; text-align: center; }
.vplayer { margin-top: 14px; }
.vplayer audio { display: block; width: 100%; min-height: 48px; color-scheme: light dark; }
.vplayer[data-ready] { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; padding-inline: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); }
.vplayer[data-ready] audio { display: none; }
.vp-btn { flex: none; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--brand); color: var(--brand-ink); cursor: pointer; transition: background-color .15s ease, transform .16s var(--ease-out); }
.vp-btn[hidden], .vp-bar[hidden], .vp-time[hidden] { display: none; }
.vp-btn:active { transform: scale(.96); }
.vp-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.vp-btn .ic { width: 22px; height: 22px; }
.vp-i-pause, .vplayer[data-playing] .vp-i-play { display: none; }
.vplayer[data-playing] .vp-i-pause { display: block; }
.vp-bar { flex: 1; min-width: 0; height: 24px; display: flex; align-items: center; cursor: pointer; position: relative; }
.vp-bar::before { content: ""; position: absolute; inset-inline: 0; height: 4px; border-radius: 2px; background: var(--line-2); }
.vp-fill { position: absolute; inset-inline: 0; height: 4px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: inline-start; transform-origin: 0 50%; }
[dir="rtl"] .vp-fill { transform-origin: 100% 50%; }
.vp-time { flex: none; font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--ink-2); }
.transcript { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.transcript summary { min-height: 48px; padding: 12px 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; color: var(--link); }
.transcript summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.transcript p { margin: 0; padding: 0 16px 16px; color: var(--ink-2); line-height: 1.7; }
.transcript .transcript-note { padding-top: 0; font-size: .95rem; color: var(--ink-3); }
@media (min-width: 760px) {
  .proof { grid-template-columns: repeat(2, minmax(0, var(--pw))); }
  .proof-voice { grid-column: 1 / -1; justify-self: center; max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) { .vp-btn:active { transform: none; } }

.band-bots { background: var(--surface); border-block: 1px solid var(--line); }
.bots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; justify-items: center; }
.bot-fig { width: min(100%, 302px); }
.phone-shot img { display: block; width: 100%; height: auto; border-radius: 27px; }
.bot-fig figcaption { margin-top: 16px; color: var(--ink-2); font-weight: 600; text-align: center; text-wrap: balance; }
@media (min-width: 720px) { .bots { grid-template-columns: repeat(2, 302px); justify-content: start; gap: clamp(40px, 7vw, 96px); } }

/* ---------- quality pass 15/11/26 (design-notes-2026-11-15.md). Calm, no new look: states, continuity, no shift ---------- */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }

/* every pressable thing answers the press at once (feedback on pointer-down), and releases fast */
.btn, .lang-top, .menu-toggle, .tools-view, summary, .more { -webkit-tap-highlight-color: transparent; }
.btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--ease-out); }
.btn:active { transform: scale(.97); }
.lang-top, .menu-toggle { transition: border-color .15s ease, background-color .15s ease, transform .16s var(--ease-out); }
.lang-top:active, .menu-toggle:active { transform: scale(.96); }
.btn:focus-visible, .lang-top:focus-visible, .menu-toggle:focus-visible, .more:focus-visible, .nav a:focus-visible, .foot-col a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.nav a, .foot-col a, .more { transition: color .15s ease, text-decoration-color .15s ease; }
.more .ic { transition: transform .2s var(--ease-out); }
.transcript summary { transition: color .15s ease; }
.transcript summary:active { color: var(--ink); }
/* hover only where a real pointer hovers (a tap on a phone must not leave a stuck hover) */
@media (hover: hover) and (pointer: fine) {
  .more:hover .ic { transform: translateX(calc(var(--flip, 1) * 3px)); }
  .nav a:hover, .foot-col a:hover { color: var(--ink); }
  .lang-top:hover, .menu-toggle:hover { border-color: var(--ink-2); }
  .transcript summary:hover { color: var(--ink); }
}

/* the header stays with the visitor on wide screens, as a quiet translucent bar; anchors land below it */
@media (min-width: 900px) {
  html { scroll-padding-top: 84px; }
  .site-header { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--bg); } }
}
@media (min-width: 900px) and (prefers-reduced-transparency: reduce) { .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* No cross-document view transition. Tried on 15/11/26: Chrome dropped a click made in the first moments after
     each navigation (the language-switch round trip in shoot.mjs caught it), so the cross-fade was taken out. */

  /* section headings settle as they scroll in. Scroll-driven and CSS only: with no support, reduced motion or no
     scrolling, the heading is simply there. Only transform and opacity, finished once the heading is fully in view. */
  @supports ((animation-timeline: view()) and (animation-range: entry 0% entry 100%)) {
    .band > .wrap > .sec-head { animation: sec-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes sec-in { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .btn:active, .lang-top:active, .menu-toggle:active { transform: none; } }
