/* =====================================================================
   LANDING PAGE STYLES (claimback.health). Plain CSS, logical properties (start/end) so Arabic mirrors by itself.
   Product presentation (redesign, 24 Oct 2026): crisp white and light neutral surfaces, two deep charcoal stages
   (the problem, pricing) and a deep green close; ClaimBack green as the accent; the device's own sans-serif type
   (system-ui) in large, tight headlines; product views made of real text, with controlled depth (a few soft
   shadows on the product only). Arabic uses Noto Sans Arabic with its own sizes and line heights.
   Chapters: A white opening with the product; B dark problem stage; C light neutral workflow (three compositions);
   D white "Built for Lebanon" tiles of different sizes; E light team and onboarding; F dark pricing; G FAQ and the
   green close with the form.
   Motion (MOTION at the end): the hero product rises once as the page opens; the dark stage's bars grow once; the
   three workflow demonstrations play while on screen, hold their result and reset softly (landing.js gives them
   "playing" and r1, r2; ".playing:not(.rN)" says how a part looks before step N). Without "playing" (no script,
   reduced motion, Motion settings off) every view shows its final state.
   ===================================================================== */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f6f5;            /* light neutral chapters */
  --bg-3: #e9eeec;
  --surface: #ffffff;         /* product views */
  --ink: #0b1210;
  --ink-2: #39443f;
  --muted: #5b6762;
  --faint: #8a9691;           /* decoration only */
  --line: #e1e6e3;
  --line-2: #edf1ef;
  --green: #0a7558;           /* ClaimBack green: buttons, accents, links */
  --green-hover: #08614a;
  --green-ink: #086449;       /* green text on light tints */
  --green-soft: #e2f3eb;
  --on-green: #ffffff;
  --ok: #157046; --ok-bg: #e2f3e9;
  --warn: #9a4a0e; --warn-bg: #fcefe2;
  --wait: #845600; --wait-bg: #fcf2d8;
  --bad: #b02a1c; --bad-bg: #fcebe8;
  --info: #1d5aa0; --info-bg: #e7effa;
  /* the dark stages */
  --char: #0f1312;
  --char-2: #171c1b;
  --char-3: #202624;
  --char-line: #2b3331;
  --on-char: #f3f6f5;
  --on-char-2: #b0bab6;
  --green-bright: #4cd6a2;
  --a1: #1f4d3f; --a2: #2f7a5f; --a3: #44b688; --a4: #a8efcf;   /* age bands, newest to oldest */
  --close: #0b3a2f;           /* the closing chapter */
  --close-2: #0f4a3c;
  --ring: #0a7558;
  --sh-1: 0 1px 2px rgb(11 18 16 / .06), 0 1px 1px rgb(11 18 16 / .04);
  --sh-2: 0 1px 2px rgb(11 18 16 / .05), 0 10px 24px -14px rgb(11 18 16 / .16);
  --sh-3: 0 1px 2px rgb(11 18 16 / .05), 0 16px 36px -22px rgb(11 18 16 / .20);
  --line-strong: #d5dcd9;   /* the edge of a product surface */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 60px;
  --wrap: 1200px;
  --gutter: 32px;
  --s-section: 128px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1211; --bg-2: #151a19; --bg-3: #1c2321; --surface: #171d1b; --ink: #eef2f0; --ink-2: #c6cfcb; --muted: #9aa6a1; --faint: #6d7974;
    --line: #273030; --line-2: #1e2625; --green: #46c896; --green-hover: #5fd6a6; --green-ink: #6fdcb0; --green-soft: #17352a; --on-green: #06140f;
    --ok: #7fd6a4; --ok-bg: #173325; --warn: #f0a868; --warn-bg: #3a2414; --wait: #f0c560; --wait-bg: #352a10; --bad: #f59484; --bad-bg: #3c1a16; --info: #8ab8f0; --info-bg: #17263a;
    --char: #070909; --char-2: #111515; --char-3: #1a201f; --char-line: #283130;
    --close: #082b23; --close-2: #0c3a2f; --ring: #46c896;
    --sh-1: 0 1px 2px rgb(0 0 0 / .4); --sh-2: 0 1px 2px rgb(0 0 0 / .4), 0 14px 34px -14px rgb(0 0 0 / .7); --sh-3: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -22px rgb(0 0 0 / .7); --line-strong: #2f3937;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1211; --bg-2: #151a19; --bg-3: #1c2321; --surface: #171d1b; --ink: #eef2f0; --ink-2: #c6cfcb; --muted: #9aa6a1; --faint: #6d7974;
  --line: #273030; --line-2: #1e2625; --green: #46c896; --green-hover: #5fd6a6; --green-ink: #6fdcb0; --green-soft: #17352a; --on-green: #06140f;
  --ok: #7fd6a4; --ok-bg: #173325; --warn: #f0a868; --warn-bg: #3a2414; --wait: #f0c560; --wait-bg: #352a10; --bad: #f59484; --bad-bg: #3c1a16; --info: #8ab8f0; --info-bg: #17263a;
  --char: #070909; --char-2: #111515; --char-3: #1a201f; --char-line: #283130;
  --close: #082b23; --close-2: #0c3a2f; --ring: #46c896;
  --sh-1: 0 1px 2px rgb(0 0 0 / .4); --sh-2: 0 1px 2px rgb(0 0 0 / .4), 0 14px 34px -14px rgb(0 0 0 / .7); --sh-3: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -22px rgb(0 0 0 / .7); --line-strong: #2f3937;
}
[lang="ar"] { --font: 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
@media (max-width: 1080px) { :root { --s-section: 104px; --gutter: 28px; } }
@media (max-width: 720px) { :root { --s-section: 80px; --gutter: 18px; --nav-h: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
[lang="ar"] body { line-height: 1.8; }
html.lang-pending body { visibility: hidden; }   /* a moment, while another language than English is filled in */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
svg.ic { flex-shrink: 0; }
[dir="rtl"] .flip { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in oklab, var(--green) 24%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
bdi.num { unicode-bidi: isolate; }
.ref { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0.005em; }
.dot { color: var(--faint); padding-inline: 0.4em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--on-green); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
/* The scale: display (the hero only), section headings (.h2, with .h2-major for the two centred moments),
   subsection headings (.h3), body and lead, labels (.eyebrow, .cap-k) */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--green-ink); letter-spacing: -0.005em; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 650; text-wrap: balance; }
.h2-major { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.036em; font-weight: 700; }
.h2 .ln { display: block; }
.h3 { font-size: clamp(23px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -0.022em; font-weight: 650; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; letter-spacing: -0.01em; }
.body { color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
[lang="ar"] .h2, [lang="ar"] .h3, [lang="ar"] .hero-title { letter-spacing: 0; line-height: 1.3; }
[lang="ar"] .h2 { font-size: clamp(26px, 2.9vw, 38px); font-weight: 700; }
[lang="ar"] .h2-major { font-size: clamp(30px, 3.7vw, 48px); }
[lang="ar"] .h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.45; font-weight: 700; }
[lang="ar"] .eyebrow, [lang="ar"] .lead { letter-spacing: 0; }
[lang="ar"] .lead { line-height: 1.8; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 5px; top: calc(0.42em + 4px); width: 6px; height: 4px; border-inline-start: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
[dir="rtl"] .ticks li::after { transform: rotate(45deg); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font-size: 15.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-ghost { background: transparent; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--green-hover); }
  .btn-ghost:hover { background: var(--bg-2); }
}
.btn:focus-visible { outline-offset: 3px; border-radius: 999px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--green-ink); }
.link-arrow .ic { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; }
  .link-arrow:hover .ic { transform: translateX(3px); }
  [dir="rtl"] .link-arrow:hover .ic.flip { transform: scaleX(-1) translateX(3px); }
}
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-ink); font-weight: 600; background: none; border: 0; padding: 4px 0; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration: underline; text-underline-offset: 3px; } }
.ex-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; line-height: 1.6; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); }
.ex-dark { color: var(--on-char-2); background: transparent; border-color: var(--char-line); }
[lang="ar"] .ex-tag { font-size: 12.5px; }

/* Status pills (always a word, never colour alone) */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.65; white-space: nowrap; }
.pill-ok { color: var(--ok); background: var(--ok-bg); }
.pill-warn { color: var(--warn); background: var(--warn-bg); }
.pill-wait { color: var(--wait); background: var(--wait-bg); }
.pill-info { color: var(--info); background: var(--info-bg); }
.pill-muted { color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); padding-block: 1px; }
[lang="ar"] .pill { font-size: 13px; }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; justify-self: start; }
.mk { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; }
.mk.ok { color: var(--ok); background: var(--ok-bg); }
.mk.warn { color: var(--warn); background: var(--warn-bg); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 84%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: #0a7558; flex-shrink: 0; }
.brand-mark.sm { width: 22px; height: 22px; border-radius: 6px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 150ms ease, background-color 150ms ease; }
.nav-links a[aria-current="true"] { color: var(--ink); background: var(--bg-2); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.nav-signin { min-height: 36px; padding: 0 14px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; padding: 0; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.lang button { border: 0; background: transparent; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--muted); min-width: 36px; min-height: 30px; padding: 0 9px; border-radius: 999px; transition: color 150ms ease, background-color 150ms ease; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.lang button[lang="ar"] { font-family: 'Noto Sans Arabic', system-ui, sans-serif; font-size: 13px; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.nav-menu { border-top: 1px solid var(--line); background: var(--bg); }
.nav-menu-inner { display: grid; padding-block: 8px 20px; }
.nav-menu-inner a:not(.btn) { padding: 14px 0; font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--line-2); }
.nav-menu-inner .btn { margin-top: 16px; }
@media (max-width: 1060px) { .nav-links { display: none; } .nav-toggle { display: inline-flex; } }
@media (min-width: 1061px) { .nav-menu { display: none !important; } }
@media (max-width: 720px) { .nav-signin, .nav-request { display: none; } .nav-row { gap: 10px; } }
@media (max-width: 360px) { .brand-name { display: none; } }

/* Every chapter */
main > section { padding-block: var(--s-section); }

/* =====================================================================
   A. OPENING: the headline, the action, and the product right below
   ===================================================================== */
main > .hero { padding-block: clamp(28px, 5vh, 64px) 0; overflow: hidden; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { margin-top: 12px; font-size: clamp(44px, min(7vw, 11.5vh), 100px); line-height: 0.98; letter-spacing: -0.048em; font-weight: 700; }
.hero-title .ln { display: block; text-wrap: balance; }
.hero-title .ln + .ln { color: var(--green); }
.hero-sub { margin-top: 20px; max-width: 700px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.01em; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 24px; }
[lang="ar"] .hero-title { font-size: clamp(36px, min(5.4vw, 9vh), 78px); line-height: 1.25; }
[lang="ar"] .hero-sub { line-height: 1.8; }
[lang="fr"] .hero-title { font-size: clamp(40px, min(6.4vw, 10.5vh), 92px); }

.hero-stage { margin-top: clamp(28px, 4vh, 44px); max-width: calc(1240px + 2 * var(--gutter)); }
.pv { position: relative; }
.pv-scene { position: relative; perspective: 2200px; padding-bottom: 72px; }
.app { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--sh-3); overflow: hidden; }
.pv-app { width: min(100%, 880px); transform-origin: 50% 0; }
.app-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.app-dots { display: inline-flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.app-url { margin-inline: auto; padding: 3px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.app-body { display: grid; grid-template-columns: 176px 1fr; min-height: 430px; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; border-inline-end: 1px solid var(--line-2); }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 16px; font-weight: 700; font-size: 14.5px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.side-item.on { background: var(--green-soft); color: var(--green-ink); font-weight: 600; }
.app-main { padding: 20px 28px 26px; min-width: 0; }
.list-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.list-total { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.list-total .num { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.list-count { font-size: 14px; color: var(--muted); }
.claims { width: 100%; margin-top: 18px; font-size: 14.5px; }
.claims th { padding: 9px 12px; text-align: start; font-size: 12.5px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.claims td { padding: 13px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.claims .r { text-align: end; }
.claims tr.sel td { background: var(--green-soft); }
.claims tr.sel td:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
.claims tr.sel td:last-child { border-start-end-radius: 10px; border-end-end-radius: 10px; }
.claims td.num { font-weight: 600; }
.claims td:last-child { white-space: normal; }
.claims .pill { white-space: normal; line-height: 1.3; padding-block: 3px; }
@media (max-width: 380px) {
  .app-main { padding-inline: 12px; }
  .claims { font-size: 12.5px; }
  .claims thead { display: none; }
  .app-main .claims td { padding-inline: 4px; }
  .app-main .claims td.ref { font-size: 12px; }
  .app-main .claims .pill { font-size: 11.5px; padding-inline: 7px; }
}
/* the open claim, layered over the list: the focal point */
.card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: var(--sh-2); }
.pv-claim { position: absolute; inset-inline-end: 0; top: 44px; width: 410px; padding: 22px 24px 18px; box-shadow: 0 1px 2px rgb(11 18 16 / .06), 0 22px 44px -26px rgb(11 18 16 / .30); }
.pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pc-ref { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.pc-meta { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.pc-head > div { min-width: 0; }
.pc-meta { display: flex; flex-wrap: wrap; }
.pc-meta > span { white-space: nowrap; }
.pc-amt { flex-shrink: 0; }
.pc-amt { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.pc-check { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); }
.pc-score { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.pc-of { font-size: 12.5px; color: var(--muted); flex: 1; line-height: 1.3; }
.pc-k { margin-top: 18px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hist { margin-top: 10px; display: grid; }
.hist li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.hist li + li::before { content: ""; position: absolute; inset-inline-start: 13px; top: -10px; height: 18px; width: 2px; background: var(--line); }
.h-dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); flex-shrink: 0; }
.h-dot.ok { background: var(--ok-bg); color: var(--ok); }
.h-dot.warn { background: var(--warn-bg); color: var(--warn); }
.h-t { display: grid; min-width: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; padding-top: 3px; }
.h-d { font-size: 13px; font-weight: 400; color: var(--muted); }
.pc-foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
@media (max-width: 1240px) { .pv-app { width: 100%; } .pv-scene { padding-bottom: 0; } .app-main { padding-bottom: 64px; } .pv-claim { position: relative; inset: auto; width: min(100%, 480px); margin: -44px 24px 0 auto; } [dir="rtl"] .pv-claim { margin: -44px auto 0 24px; } }
@media (max-width: 900px) {
  .pv-scene { perspective: none; padding-bottom: 0; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .app-main { padding: 18px 16px 56px; }
  .claims th:nth-child(2), .claims td:nth-child(2) { display: none; }
  .pv-claim, [dir="rtl"] .pv-claim { width: auto; margin: -40px 12px 0; }
}
@media (max-width: 560px) {
  .app-bar .ex-tag { display: none; }
  .claims { font-size: 13.5px; }
  .claims td, .claims th { padding-inline: 8px; white-space: normal; }
  .claims td.ref { white-space: nowrap; }
  .claims .pill { white-space: normal; line-height: 1.3; padding-block: 3px; }
  .claims tbody tr:nth-child(n+4) { display: none; }
  .claims th:nth-child(3), .claims td:nth-child(3) { display: none; }
  .pc-meta > span { white-space: normal; }
  .pc-amt { font-size: 20px; }
  .pv-claim { margin-inline: 0; padding: 18px 16px 14px; }
  .list-total .num { font-size: 28px; }
}

/* =====================================================================
   B. THE PROBLEM: a dark stage, a short headline, one dominant view
   ===================================================================== */
.stage-dark { background: var(--char); color: var(--on-char); }
.stage-dark .eyebrow { color: var(--green-bright); }
.stage-dark :focus-visible { outline-color: var(--green-bright); }
.sd-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sd-copy .h2 { margin-top: 14px; }
.h2 .dim { color: var(--on-char-2); }
.sd-copy .lead { margin-top: 22px; color: var(--on-char-2); max-width: 640px; }
.aging { margin-top: 64px; }
.ag-panel { background: var(--char-2); border: 1px solid var(--char-line); border-radius: 26px; padding: 36px 40px 40px; }
.ag-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 36px; padding-bottom: 28px; border-bottom: 1px solid var(--char-line); }
.ag-k { font-size: 14px; font-weight: 600; color: var(--on-char-2); }
.ag-total { margin-top: 2px; font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.ag-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--on-char-2); }
.ag-legend li { display: inline-flex; align-items: center; gap: 8px; }
.ag-legend i { width: 12px; height: 12px; border-radius: 3px; }
.ag-head .ex-tag { margin-inline-start: auto; }
.b1 { background: var(--a1); } .b2 { background: var(--a2); } .b3 { background: var(--a3); } .b4 { background: var(--a4); }
.ag-rows { display: grid; gap: 4px; margin-top: 18px; }
.ag-rows li { position: relative; display: grid; grid-template-columns: minmax(150px, 230px) 1fr 96px; align-items: center; gap: 20px; padding: 12px 0; }
.ag-name { font-size: 16px; font-weight: 600; }
.ag-track { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ag-bar { display: flex; gap: 2px; height: 30px; flex: none; width: calc(var(--w) * 100%); transform-origin: left center; }
[dir="rtl"] .ag-bar { transform-origin: right center; }
.ag-bar i { flex: var(--f) 1 0; border-radius: 5px; }
.ag-sum { text-align: end; font-size: 17px; font-weight: 700; }
.ag-focus .ag-name { color: var(--green-bright); }
.ag-call { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--green-bright); color: #06140f; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px -10px rgb(76 214 162 / .55); }
@media (max-width: 900px) {
  .ag-panel { padding: 24px 18px 26px; border-radius: 20px; }
  .ag-rows li { grid-template-columns: 1fr auto; row-gap: 8px; }
  .ag-track { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; row-gap: 10px; }
  .ag-bar { height: 22px; }
  .ag-call { white-space: normal; }
  .ag-head .ex-tag { margin-inline-start: 0; }
}

/* =====================================================================
   C. HOW IT WORKS: three capabilities, three compositions, one system
   ===================================================================== */
.flow { background: var(--bg-2); }
.flow-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.flow-head .h2 { margin-top: 14px; }
.cap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 48px; align-items: center; margin-top: 112px; }
.cap-k { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--green-ink); }
.cap-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--on-green); font-size: 14px; font-weight: 700; }
.cap-copy .h3 { margin-top: 16px; }
.cap-copy .body { margin-top: 16px; }
.cap-check .cap-visual { grid-column: 1 / span 7; }
.cap-check .cap-copy { grid-column: 8 / span 5; }
.cap-follow .cap-copy { grid-column: 1 / span 5; }
.cap-follow .cap-visual { grid-column: 6 / span 7; }
.cap-k-if { color: var(--wait); }
.cap-k-if .cap-n { background: var(--wait); color: #fff; }
.cap-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .cap { display: flex; flex-direction: column; align-items: stretch; gap: 32px; margin-top: 80px; }
  .cap-follow .cap-copy, .cap-check .cap-copy { order: -1; }
}

/* 1. The pre-check card */
.pcard { padding: 28px 32px 0; }
.pre-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; }
.pre-score { display: flex; align-items: center; gap: 28px; margin-top: 24px; padding: 20px 0 24px; border-bottom: 1px solid var(--line-2); }
.ring { --s: 100; --rc: var(--ok); position: relative; width: 132px; height: 132px; flex-shrink: 0; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
[dir="rtl"] .ring svg { transform: rotate(-90deg) scaleY(-1); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: var(--bg-3); }
.ring-fg { stroke: var(--rc); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--s)); transition: stroke-dashoffset 900ms var(--ease-out), stroke 400ms ease; }
.ring-n { display: grid; font-size: 40px; font-weight: 700; letter-spacing: -0.04em; }
.ring-n .sv { grid-area: 1 / 1; text-align: center; transition: opacity 260ms ease, transform 420ms var(--ease-out), filter 260ms ease; }
.pre-state { min-width: 0; }
.pre-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.pre-state .swap { margin-top: 8px; }
.pre-state .pill { white-space: normal; font-size: 14px; padding: 4px 12px; transition: opacity 260ms ease, transform 320ms var(--ease-out); }
.checks { padding: 6px 0; }
.ck { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
.ck:last-child { border-bottom: 0; }
.ck > span:not(.mk), .ck-fix > span { display: flex; align-items: flex-start; gap: 12px; }
.ck .mk { margin-top: 1px; }
.ck-t { display: grid; gap: 2px; }
.ck-fixline { font-size: 14px; color: var(--muted); }
.ck-fix { display: grid; }
.ck-fix > span { grid-area: 1 / 1; transition: opacity 300ms ease, transform 380ms var(--ease-out); }
.ck-fix > .v-bad { opacity: 0; transform: translateY(-4px); }
.card-foot { margin: 0 -32px; padding: 16px 32px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); background: color-mix(in oklab, var(--bg-2) 55%, var(--surface)); border-end-start-radius: 20px; border-end-end-radius: 20px; }
@media (max-width: 560px) {
  .pcard { padding: 20px 18px 0; }
  .pre-score { gap: 18px; }
  .ring { width: 104px; height: 104px; }
  .ring-n { font-size: 32px; }
  .card-foot { margin: 0 -18px; padding: 14px 18px; }
}
/* before each step: two problems (75), the tariff corrected (90), the report attached (100, ready to send) */
.sv75, .sv90 { opacity: 0; }
.playing:not(.r1) .sv75 { opacity: 1; }
.playing.r1:not(.r2) .sv90 { opacity: 1; }
.playing:not(.r2) .sv100 { opacity: 0; transform: translateY(10px); filter: blur(3px); }
.playing:not(.r1) .ring { --s: 75; }
.playing.r1:not(.r2) .ring { --s: 90; }
.playing:not(.r2) .ring { --rc: #d68a3c; }
.st-risky { opacity: 0; transform: translateY(6px); }
.playing:not(.r2) .st-risky { opacity: 1; transform: none; }
.playing:not(.r2) .st-ready { opacity: 0; transform: translateY(-6px); }
.playing:not(.r1) .ck-tariff > .v-bad, .playing:not(.r2) .ck-report > .v-bad { opacity: 1; transform: none; }
.playing:not(.r1) .ck-tariff > .v-good, .playing:not(.r2) .ck-report > .v-good { opacity: 0; transform: translateY(4px); }

/* 2. Follow-up: the claim's history, with the call card layered over its corner */
.fu-stack { position: relative; padding-bottom: 190px; }
.fu-card { padding: 26px 28px 56px; width: min(100%, 560px); margin-inline-start: auto; }
.hist-lg { overflow: hidden; }
.hist-lg li { height: 64px; padding: 10px 0; }
.hist-lg .h-dot { width: 32px; height: 32px; }
.hist-lg li + li::before { inset-inline-start: 15px; top: -14px; height: 26px; }
.hist-lg .h-t { font-size: 15.5px; }
.hist-lg .h-d { font-size: 13.5px; }
.hist-lg li { transition: transform 600ms var(--ease-in-out), opacity 400ms ease; }
.fu-owed { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.fu-owed .num { color: var(--ink); font-weight: 700; font-size: 16px; }
.fu-call { position: absolute; inset-inline-start: 0; bottom: 0; width: 290px; padding: 18px 20px; box-shadow: 0 1px 2px rgb(11 18 16 / .06), 0 22px 44px -26px rgb(11 18 16 / .30); }
.fc-k { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; }
.fc-k .ic { color: var(--green); }
.fc-list { margin-top: 10px; display: grid; gap: 2px; }
.fc-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.fc-btn { margin-top: 14px; width: 100%; }
.fc-btn > span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: opacity 260ms ease, transform 200ms var(--ease-out), background-color 260ms ease; }
.fc-todo { background: var(--green); color: var(--on-green); opacity: 0; }
.fc-done { background: var(--ok-bg); color: var(--ok); }
.fu-tag { position: absolute; inset-inline-end: 0; bottom: 120px; }
@media (max-width: 960px) { .fu-card { margin-inline-start: 0; width: 100%; } }
@media (max-width: 560px) {
  .fu-stack { padding-bottom: 0; display: grid; gap: 14px; }
  .fu-card { padding: 20px 18px 16px; }
  .fu-call { position: relative; width: auto; }
  .fu-tag { position: static; justify-self: start; }
  .hist-lg li { height: auto; min-height: 60px; }
}
/* before each step: the call ready to log; logged (the button turns); the new line slides into the history */
.playing:not(.r1) .fc-todo { opacity: 1; }
.playing:not(.r1) .fc-done { opacity: 0; transform: scale(0.96); }
.playing:not(.r2) .hist-lg li { transform: translateY(-64px); }
.playing:not(.r2) .hist-lg .fu-new { opacity: 0; }
.fu-new .h-dot { transition: box-shadow 600ms ease; }
.playing.r2 .fu-new .h-dot { box-shadow: 0 0 0 6px color-mix(in oklab, var(--ok) 18%, transparent); }
@media (max-width: 560px) { .playing:not(.r2) .hist-lg li { transform: none; } }

/* 3. The appeal: its own wide band on white. The letter is the main document; beside it, the checklist and the
   approval card (status, who approves, "not sent until approved"). On a phone: document, checklist, approval. */
.cap-appeal { margin-top: 120px; padding: 48px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.ap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; }
.ap-head .h3 { margin-top: 14px; }
.ap-stage { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; margin-top: 36px; align-items: start; }
.ap-doc { overflow: hidden; box-shadow: var(--sh-2); }
.lc-reject { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 13px 28px; background: var(--bad-bg); color: var(--bad); font-size: 14.5px; font-weight: 600; }
.lc-reject .num { margin-inline-start: auto; }
.letter { padding: 30px 36px 34px; display: grid; gap: 10px; align-content: start; }
.lt-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.lt-meta { font-size: 14px; color: var(--muted); }
.lt-subj { margin-top: 6px; font-size: 21px; font-weight: 700; letter-spacing: -0.018em; }
.lt-p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.lt-p:first-of-type { margin-top: 10px; }
.lt-ai { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.lt-ai .ic { color: var(--green); }
.ap-rail { display: grid; gap: 16px; }
.ap-rail .card { box-shadow: var(--sh-1); padding: 22px 22px 20px; }
.docs-k { font-size: 13px; font-weight: 600; color: var(--muted); }
.docs ul { margin-top: 12px; display: grid; gap: 4px; }
.docs li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--bg-2); font-size: 15px; font-weight: 500; }
.docs .mk { transition: transform 320ms var(--ease-out), opacity 220ms ease; }
.approval { border-color: color-mix(in oklab, var(--wait) 30%, var(--line-strong)) !important; background: color-mix(in oklab, var(--wait-bg) 45%, var(--surface)) !important; transition: background-color 500ms ease, border-color 500ms ease; }
.approval .lc-st { margin-top: 12px; }
.lc-st .pill { font-size: 15px; padding: 5px 14px; transition: opacity 300ms ease, transform 360ms var(--ease-out), filter 300ms ease; }
.lc-who { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.lc-who .ic { margin-top: 3px; color: var(--muted); }
.send-locked { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; min-height: 42px; border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 14px; font-weight: 600; }
@media (max-width: 1000px) {
  .cap-appeal { padding: 32px 24px; border-radius: 26px; }
  .ap-head { grid-template-columns: minmax(0, 1fr); }
  .ap-stage { grid-template-columns: minmax(0, 1fr); }
  .ap-rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cap-appeal { margin-top: 80px; padding: 24px 16px; border-radius: 22px; }
  .ap-rail { grid-template-columns: minmax(0, 1fr); }
  .letter { padding: 22px 18px; }
  .lc-reject { padding-inline: 18px; }
  .lc-reject .num { margin-inline-start: 0; }
}
/* before each step: the draft; its documents ticked one by one; then awaiting approval */
.s-draft { opacity: 0; }
.playing:not(.r2) .s-draft { opacity: 1; }
.playing:not(.r2) .s-await { opacity: 0; transform: translateY(6px); filter: blur(2px); }
.playing:not(.r2) .approval { background: var(--surface) !important; border-color: var(--line-strong) !important; }
.playing:not(.r1) .docs li .mk { opacity: 0; transform: scale(0.5); }
.docs li:nth-child(2) .mk { transition-delay: 90ms; }
.docs li:nth-child(3) .mk { transition-delay: 180ms; }
.docs li:nth-child(4) .mk { transition-delay: 270ms; }

/* =====================================================================
   D. BUILT FOR LEBANON: tiles sized by importance
   ===================================================================== */
.leb-head { max-width: 760px; }
.leb-head .lead { margin-top: 18px; }
.leb-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; margin-top: 56px; }
.tile { border-radius: 26px; padding: 32px; background: var(--bg-2); display: flex; flex-direction: column; }
.tile-k { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tile-k .ic { color: var(--green); }
.tile-b { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.tile-payers { grid-row: 1 / span 2; background: var(--char); color: var(--on-char); }
.tile-payers .tile-k { color: var(--on-char-2); }
.tile-payers .tile-k .ic { color: var(--green-bright); }
.tile-payers .tile-b { color: var(--on-char-2); }
.payer-list { margin-top: 22px; display: grid; gap: 6px; }
.payer-list li { font-size: clamp(22px, 2.1vw, 28px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
[lang="ar"] .payer-list li { letter-spacing: 0; line-height: 1.5; font-size: clamp(20px, 2vw, 26px); }
.tile-sub { margin-top: auto; padding-top: 28px; }
.tile-sub .tile-k2 { margin-top: 28px; font-size: 18px; font-weight: 700; padding-top: 22px; border-top: 1px solid var(--char-line); }
.tile-sub .tile-b { margin-top: 6px; }
.tile-fine { margin-top: 20px; font-size: 13px; color: var(--on-char-2); opacity: .9; }
.tile-lang { grid-column: 2 / span 2; }
.lang-words { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.lang-words [lang="ar"] { font-family: 'Noto Sans Arabic', system-ui, sans-serif; letter-spacing: 0; color: var(--green); }
.lang-words [lang="fr"] { color: var(--ink-2); }
.lang-words [lang="en"] { color: var(--faint); }
.money-big { margin-top: 18px; font-size: clamp(40px, 4vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.money-lbp { margin-top: 8px; font-size: 18px; font-weight: 600; color: var(--muted); }
.perm-who { margin-top: 16px; font-size: 18px; font-weight: 700; }
.perm-list { margin-top: 10px; display: grid; gap: 2px; }
.perm-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.tg { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--bg-3); flex-shrink: 0; }
.tg::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); }
.tg.on { background: var(--green); }
.tg.on::after { inset-inline-start: 16px; }
@media (max-width: 960px) {
  .leb-grid { grid-template-columns: 1fr 1fr; }
  .tile-payers { grid-column: 1 / -1; grid-row: auto; }
  .tile-lang { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .leb-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .tile { padding: 24px 20px; border-radius: 22px; } }

/* =====================================================================
   E. YOUR TEAM AND CLAIMBACK: four steps on one line, then who does what
   ===================================================================== */
.team { background: var(--bg-2); }
.team-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.team-top .lead { max-width: 34ch; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 64px; }
.track::before { content: ""; position: absolute; top: 20px; inset-inline: 20px; height: 2px; background: linear-gradient(to right, var(--green), color-mix(in oklab, var(--green) 25%, var(--bg-3))); }
[dir="rtl"] .track::before { background: linear-gradient(to left, var(--green), color-mix(in oklab, var(--green) 25%, var(--bg-3))); }
.track li { position: relative; }
.tr-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green); color: var(--green-ink); font-weight: 700; font-size: 16px; }
.track li:first-child .tr-n { background: var(--green); color: var(--on-green); }
.tr-t { margin-top: 18px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.track p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.lanes { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 0; margin-top: 64px; background: var(--surface); border-radius: 26px; box-shadow: var(--sh-1); overflow: hidden; }
.lane { padding: 30px 30px 32px; }
.lane + .lane { border-inline-start: 1px solid var(--line-2); }
.lane-t { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.lane ul { margin-top: 14px; display: grid; gap: 10px; }
.lane li { font-size: 15px; color: var(--ink-2); padding-inline-start: 16px; position: relative; }
.lane li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.lane-cb li::before { background: var(--green); }
.lane-data { background: color-mix(in oklab, var(--bg-2) 40%, var(--surface)); }
.lane-data dl { margin-top: 14px; display: grid; gap: 14px; }
.lane-data dt { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.lane-data dt .ic { color: var(--green); }
.lane-data dd { margin-top: 2px; padding-inline-start: 23px; font-size: 14px; color: var(--muted); }
.team-who { margin-top: 24px; font-size: 14.5px; color: var(--muted); max-width: 80ch; }
@media (max-width: 1000px) {
  .lanes { grid-template-columns: 1fr 1fr; }
  .lane-data { grid-column: 1 / -1; border-inline-start: 0 !important; border-top: 1px solid var(--line-2); }
}
@media (max-width: 760px) {
  .track { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 44px; }
  .track::before { top: 20px; bottom: 20px; inset-inline: 20px auto; width: 2px; height: auto; background: linear-gradient(var(--green), color-mix(in oklab, var(--green) 25%, var(--bg-3))); }
  .track li { display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; padding-bottom: 26px; }
  .tr-n { grid-row: 1 / span 2; }
  .tr-t { margin-top: 8px; }
  .lanes { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .lane + .lane { border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .lane { padding: 24px 20px; }
}

/* =====================================================================
   F. PRICING: the dark stage again, with the calculator
   ===================================================================== */
.pricing { background: var(--char); color: var(--on-char); }
.pricing .eyebrow { color: var(--green-bright); }
.pricing .h2 { margin-top: 14px; }
.pricing .lead { margin-top: 20px; color: var(--on-char-2); }
.pricing :focus-visible { outline-color: var(--green-bright); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 72px; align-items: start; }
.terms { margin-top: 40px; display: grid; gap: 22px; }
.terms dt { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.terms dt .ic { color: var(--green-bright); }
.terms dd { margin-top: 4px; padding-inline-start: 25px; font-size: 15px; color: var(--on-char-2); }
.statement { background: var(--char-2); border: 1px solid var(--char-line); border-radius: 26px; padding: 32px 34px 34px; }
.st-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.st-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.st-rate { font-size: 12.5px; font-weight: 600; color: var(--on-char); border: 1px solid var(--char-line); border-radius: 999px; padding: 3px 11px; }
.st-label { display: block; margin-top: 24px; font-size: 14px; color: var(--on-char-2); }
.calc-input { margin-top: 8px; display: flex; align-items: center; padding: 0 18px; height: 72px; border-radius: 16px; background: var(--char-3); border: 1px solid var(--char-line); direction: ltr; transition: border-color 180ms ease, box-shadow 180ms ease; }
.calc-cur { font-size: 30px; font-weight: 600; color: var(--on-char-2); padding-inline-end: 6px; }
.calc-input input { flex: 1; min-width: 0; height: 100%; font: inherit; font-size: 38px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--on-char); background: transparent; border: 0; padding: 0; }
.calc-input input:focus { outline: none; }
.calc-input:focus-within { border-color: var(--green-bright); box-shadow: 0 0 0 4px rgb(76 214 162 / .18); }
.calc-input input[aria-invalid="true"] { color: #ffb3a7; }
.statement .err { margin-top: 8px; color: #ffb3a7; font-size: 14px; }
.range { --v: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin-top: 16px; background: transparent; cursor: pointer; direction: ltr; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--green-bright) var(--v), var(--char-line) var(--v)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--char-line); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--green-bright); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgb(0 0 0 / .4); transition: transform 160ms var(--ease-out); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgb(0 0 0 / .4); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 4px; }
.range-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--on-char-2); direction: ltr; }
.st-lines { margin-top: 22px; display: grid; }
.sl { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--char-line); }
.sl dt { font-size: 15px; color: var(--on-char-2); }
.sl dd { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.sl-fee dd { color: #f3c56a; }
.sl-keep { border-bottom: 0; padding-top: 16px; }
.sl-keep dt { color: var(--on-char); font-weight: 700; }
.sl-keep dd { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; color: var(--green-bright); }
.split { display: flex; gap: 3px; height: 8px; margin-top: 10px; direction: ltr; }
[dir="rtl"] .split { direction: rtl; }
.split span { flex-basis: 0; border-radius: 4px; transition: flex-grow 280ms var(--ease-out); }
.split-keep { background: var(--green-bright); flex-grow: 85; }
.split-fee { background: #f3c56a; flex-grow: 15; }
.st-note { margin-top: 14px; font-size: 13.5px; color: var(--on-char-2); }
.pay-ex { margin-top: 26px; padding: 20px 22px; border-radius: 18px; background: var(--char-3); }
.pay-ex-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 700; font-size: 15.5px; }
.pay-ex-claim { margin-top: 4px; display: flex; gap: 10px; font-size: 14px; color: var(--on-char-2); }
.pay-ex-claim .ref { color: var(--on-char); }
.pay-ex-why { margin-top: 12px; display: grid; gap: 4px; counter-reset: why; }
.pay-ex-why li { display: flex; gap: 10px; font-size: 14.5px; counter-increment: why; }
.pay-ex-why li::before { content: counter(why); min-width: 18px; font-size: 12.5px; font-weight: 700; color: var(--green-bright); padding-top: 2px; }
.pay-ex-sum { margin-top: 12px; }
.pay-ex-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--char-line); font-size: 15px; }
.pay-ex-sum dt { color: var(--on-char-2); }
.pay-ex-sum .keep dt, .pay-ex-sum .keep dd { color: var(--on-char); font-weight: 700; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: minmax(0, 1fr); } .statement { max-width: 640px; } }
@media (max-width: 600px) { .statement { padding: 22px 18px 24px; border-radius: 22px; } .calc-input input { font-size: 32px; } .sl-keep dd { font-size: 32px; } }

/* =====================================================================
   G. QUESTIONS, then the close with the request
   ===================================================================== */
main > .faq { padding-block: 112px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 80px; }
.faq-head .lead { margin-top: 16px; font-size: 17px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; transition: color 160ms ease; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { color: var(--muted); transition: transform 220ms var(--ease-out); }
.qa[open] summary .ic { transform: rotate(45deg); }
.qa p { overflow: hidden; padding-bottom: 20px; color: var(--ink-2); font-size: 15.5px; max-width: 66ch; }
.qa summary:focus-visible { outline-offset: 0; }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--green-ink); } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } main > .faq { padding-block: 80px; } }

.request { background: var(--close); color: #fff; }
.request .lead { margin-top: 20px; color: #c9e4da; }
.request :focus-visible { outline-color: #fff; }
.request-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.next-steps { margin-top: 36px; display: grid; gap: 14px; }
.next-steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.ns-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--close); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.form-card { padding: 34px; border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .55); }
.form-card :focus-visible { outline-color: var(--ring); }
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; align-content: start; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.req, .opt { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-2); border: 1px solid transparent; border-radius: 12px;
  padding: 10px 14px; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.field input, .field select { height: 48px; }
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--surface); border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in oklab, var(--green) 18%, transparent); }
.field [aria-invalid="true"] { border-color: var(--bad); background: var(--surface); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 6px; border-radius: 14px; background: var(--bg-2); }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; height: auto; }
.seg label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-inline-end: 40px; cursor: pointer; }
.select .ic { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.note-toggle { margin-top: -6px; }
.note-toggle .ic { transition: transform 200ms var(--ease-out); }
.note-toggle [aria-expanded="true"] .ic { transform: rotate(45deg); }
.err { font-size: 13.5px; color: var(--bad); font-weight: 500; }
.err:empty { display: none; }
.form-err { padding: 12px 14px; border-radius: 12px; background: var(--bad-bg); }
.hint { font-size: 13.5px; color: var(--muted); }
.hint.privacy { display: flex; align-items: flex-start; gap: 8px; }
.hint.privacy .ic { margin-top: 3px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.captcha:empty { display: none; }
.btn-busy { display: none; align-items: center; gap: 10px; }
.busy { pointer-events: none; opacity: .9; }
.busy .btn-label { display: none; }
.busy .btn-busy { display: inline-flex; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin 600ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { text-align: center; padding: 40px 8px; outline: none; }
.done-mark { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.done .body { margin: 12px auto 0; }
.done .link { margin-top: 18px; }
@media (max-width: 1000px) { .request-grid { grid-template-columns: minmax(0, 1fr); } .request-copy { max-width: 640px; } }
@media (max-width: 640px) { .form-card { padding: 22px 18px; border-radius: 22px; } .row2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.footer-tag { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 40ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-h { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.footer-col a { font-size: 14.5px; color: var(--ink-2); padding-block: 2px; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--green-ink); } }
.footer-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.motion-set { display: inline-flex; align-items: center; gap: 10px; }
.motion-set-t { font-size: 13px; color: var(--muted); }
.switch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.switch-track { position: relative; width: 36px; height: 22px; border-radius: 11px; background: var(--bg-3); transition: background-color 200ms ease; }
.switch-thumb { position: absolute; top: 2px; inset-inline-start: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform 200ms var(--ease-out); }
.switch[aria-checked="true"] .switch-track { background: var(--green); }
.switch[aria-checked="true"] .switch-thumb { transform: translateX(14px); }
[dir="rtl"] .switch[aria-checked="true"] .switch-thumb { transform: translateX(-14px); }

/* =====================================================================
   MOTION: a few strong moments, each the lead in its viewport.
   ===================================================================== */
/* 1. The hero product rises into place as the page opens (once; landing-boot.js marks the page "js") */
/* The text is never animated: the headline, the explanation and the button are there from the first paint. Only the
   product moves in, a short rise and fade with almost no delay; its space is reserved from the start (transform and
   opacity only), so nothing below it shifts. Without the script's "js" mark it is simply shown. */
@keyframes pvRise { from { opacity: 0; transform: translateY(22px); } }
@keyframes pvSlide { from { opacity: 0; transform: translateY(14px); } }
@keyframes histIn { from { opacity: 0; transform: translateY(-8px); } }
html.js:not(.reduce):not(.motion-off) .pv-app { animation: pvRise 560ms var(--ease-out) 40ms both; }
html.js:not(.reduce):not(.motion-off) .pv-claim { animation: pvSlide 520ms var(--ease-out) 160ms both; }
html.js:not(.reduce):not(.motion-off) .pv-claim .h-new { animation: histIn 420ms var(--ease-out) 520ms both; }

/* 2. The dark stage: the bars grow from their start once, when the panel arrives; then the call appears */
.aging.pre .ag-bar { transform: scaleX(0); }
.aging.pre .ag-call { opacity: 0; transform: translateX(-10px); }
[dir="rtl"] .aging.pre .ag-call { transform: translateX(10px); }
.aging .ag-bar { transition: transform 1000ms var(--ease-out); }
.aging .ag-rows li:nth-child(2) .ag-bar { transition-delay: 70ms; }
.aging .ag-rows li:nth-child(3) .ag-bar { transition-delay: 140ms; }
.aging .ag-rows li:nth-child(4) .ag-bar { transition-delay: 210ms; }
.aging .ag-rows li:nth-child(5) .ag-bar { transition-delay: 280ms; }
.aging .ag-call { transition: opacity 400ms ease 1100ms, transform 600ms var(--ease-out) 1100ms; }

/* 3. The workflow demonstrations: between loops the moving parts dip, the start is set unseen, they come back */
.resetting .ck-fix, .resetting .ring, .resetting .pre-state, .resetting .hist-lg, .resetting .fc-btn, .resetting .docs ul, .resetting .lc-st { opacity: 0.25; filter: blur(2px); transition: opacity 320ms ease, filter 320ms ease !important; }
.snap, .snap * { transition: none !important; }

/* Feedback on controls */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 8px 22px -10px color-mix(in oklab, var(--green) 80%, transparent); }
  .range:hover::-webkit-slider-thumb { transform: scale(1.08); }
}
.btn-primary { transition: transform 160ms var(--ease-out), background-color 180ms ease, box-shadow 220ms ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-set { display: none !important; }
  *, *::before, *::after { animation: none !important; transition-property: opacity, background-color, color, border-color !important; transition-duration: 120ms !important; }
  .spin { animation: spin 1200ms linear infinite !important; }
  .btn:active { transform: none; }
}
html.motion-off { scroll-behavior: auto; }
html.motion-off :is([data-scene] *, .aging *, .split span) { transition: none !important; animation: none !important; }

/* ---------- Touch and contrast ---------- */
@media (pointer: coarse) {
  .lang button, .footer-col a, .link, .switch { position: relative; }
  .lang button::after, .footer-col a::after, .link::after, .switch::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
  .footer-col { gap: 14px; }
  .range { height: 44px; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3f4a46; --ink-2: #222b28; --line: #b9c3bf; --on-char-2: #d6ddda; }
}
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media print { .nav, .footer .motion-set, .form-card { display: none; } .stage-dark, .pricing, .request { background: none; color: inherit; } }
