/* ============================================================================
   OCHANTI — design system v4
   One URL per language (ar / fr / en), so there is no runtime language swap:
   every page ships its own text and its own `dir`.
   ----------------------------------------------------------------------------
   RULES THIS FILE OBEYS
   1. Logical properties only (inline-start/end, margin-block…). The only
      direction-conditional rules are glyph mirrors, grouped and marked.
   2. Bilingual typography is token-driven. Arabic runs in Cairo — the app's own
      typeface, which every store image and ad already uses — and never gets
      negative tracking or text-transform. Latin runs in Manrope.
   3. Every control has a visible :focus-visible ring and a >=44px hit area.
   4. All motion sits behind prefers-reduced-motion.
   5. Colour lives in tokens only. The site is light-only by design.
   ----------------------------------------------------------------------------
   CONTENTS
   00 tokens · 01 reset · 02 type · 03 a11y · 04 layout · 05 buttons
   06 chips · 07 nav · 08 hero · 09 ticker · 10 asks · 11 value · 12 showcase
   13 band · 14 store strip · 15 steps · 16 quotes · 17 cta · 18 footer
   19 doc pages · 20 guide · 21 callouts · 22 toc · 23 faq · 24 blog
   25 article prose · 26 misc · 27 responsive · 28 motion · 29 print
   ========================================================================== */


/* ============================================================================
   00  TOKENS
   ========================================================================== */
:root {
  color-scheme: light;

  /* brand ramp — sampled from the shipped app icon and card gradients */
  --brand-50:  #ECFDF5;
  --brand-100: #D1FAE5;
  --brand-200: #A7F3D0;
  --brand-300: #6EE7B7;
  --brand-400: #34D399;
  --brand-500: #10B981;
  --brand-600: #059669;
  --brand-700: #047857;   /* actions & links — 5.48 on white, AA */
  --brand-800: #065F46;
  --brand-900: #064E3B;
  --brand-950: #03241C;

  /* ink — green-cast greys, tuned for a light page only (every reading role
     is AAA on white, the faint role AA). Hierarchy comes from size and weight,
     not from fading text out. */
  --ink-900: #08150F;
  --ink-800: #142A22;
  --ink-700: #1F3A33;
  --ink-600: #2E4A41;
  --ink-500: #3A544B;
  --ink-400: #47635B;
  --ink-300: #7E918A;     /* NON-TEXT only: borders */

  /* surfaces */
  --surface-0: #FFFFFF;
  --surface-1: #F7FAF8;
  --surface-2: #EFF4F1;
  --surface-3: #E4ECE7;
  --line:        #DFE8E3;
  --line-soft:   #EAF0ED;
  --line-strong: #C6D5CE;
  --line-input:  #7E918A;

  /* accents */
  --amber-50:  #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --clay-50:  #FEF6F1;
  --clay-100: #FBE8DC;
  --clay-500: #E07A4F;
  --clay-700: #9F4A28;
  --sand-50:  #FBF8F2;
  --sand-100: #F4EEE2;
  --sky-50:   #EFF5FD;
  --sky-100:  #E1ECFB;
  --sky-700:  #1D4ED8;
  --violet-100: #E8E1FB;
  --violet-700: #5B3FB8;
  --rose-600: #BE3B3B;
  --rose-50:  #FEF2F2;

  /* text roles */
  --accent-ink: var(--brand-800);
  --on-tint:    var(--brand-900);
  --fg:        var(--ink-900);
  --fg-body:   var(--ink-600);
  --fg-muted:  var(--ink-500);
  --fg-faint:  var(--ink-400);
  --fg-invert: #FFFFFF;
  --link:      var(--brand-700);

  /* dark green surfaces: the stage behind the phones, the pillars band, the
     closing CTA box and the footer. The pale version of these read as timid. */
  --band-2:    #04140F;
  --bp-line:   rgba(255,255,255,.055);   /* 24px technical grid   */
  --bp-major:  rgba(255,255,255,.12);    /* 120px module lines    */

  /* typography */
  --font-latin: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-arabic: 'Cairo', 'Tajawal', 'Noto Naskh Arabic', ui-sans-serif, system-ui, sans-serif;
  --font: var(--font-latin);
  --w-body: 400;
  --w-med: 500;
  --w-semi: 600;
  --w-bold: 700;
  --w-black: 800;
  --track-tight: -0.022em;
  --track-flat: 0em;
  --track: var(--track-tight);

  --fs-display: clamp(2.5rem, 1.5rem + 4.1vw, 4.6rem);
  --fs-h1:  clamp(2.05rem, 1.45rem + 2.6vw, 3.25rem);
  --fs-h2:  clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem);
  --fs-h3:  clamp(1.12rem, 1.02rem + 0.42vw, 1.35rem);
  --fs-lead: clamp(1.03rem, 0.97rem + 0.38vw, 1.23rem);
  --fs-body: 1.02rem;
  --fs-sm: 0.925rem;
  --fs-xs: 0.82rem;
  --lh-tight: 1.1;
  --lh-head: 1.22;
  --lh-body: 1.72;

  /* space */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.75rem; --sp-8: 3.5rem;
  --sp-9: 5rem;    --sp-10: 7rem;

  /* shape — the app's own ladder: 12 / 20 / 28 */
  --r-xs: 8px;  --r-sm: 12px; --r-md: 16px; --r-lg: 20px;
  --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;

  /* elevation — soft, green-tinted, never grey mud */
  --sh-xs: 0 1px 2px rgba(8,30,22,.05);
  --sh-sm: 0 2px 6px rgba(8,30,22,.06), 0 1px 2px rgba(8,30,22,.04);
  --sh-md: 0 10px 24px -12px rgba(8,30,22,.18), 0 2px 6px rgba(8,30,22,.05);
  --sh-lg: 0 28px 60px -28px rgba(8,30,22,.30), 0 6px 16px -8px rgba(8,30,22,.12);
  --sh-xl: 0 46px 90px -34px rgba(8,30,22,.40), 0 10px 24px -12px rgba(8,30,22,.16);
  --ring: 0 0 0 3px var(--surface-0), 0 0 0 5.5px var(--brand-600);

  --wrap: 1200px;
  --prose: 72ch;
  --nav-h: 72px;
}

/* Arabic typographic remap — Cairo sits lower and wider than Manrope, so the
   leading opens up and the tracking stays flat */
[dir="rtl"] {
  --font: var(--font-arabic);
  --w-body: 500;
  --w-med: 500;
  --w-semi: 600;
  --w-bold: 700;
  --w-black: 800;
  --track: var(--track-flat);
  --track-tight: 0em;
  --lh-body: 1.9;
  --lh-head: 1.45;
}


/* ============================================================================
   01  RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--nav-h) + 1rem);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--w-body);
  line-height: var(--lh-body);
  color: var(--fg-body);
  background: var(--surface-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-decoration: none; }
hr { border: 0; border-block-start: 1px solid var(--line); }


/* ============================================================================
   02  TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--fg);
  font-weight: var(--w-black);
  line-height: var(--lh-head);
  letter-spacing: var(--track);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--w-bold); }
p  { text-wrap: pretty; }
strong { color: var(--ink-800); font-weight: var(--w-bold); }
small { font-size: var(--fs-xs); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--fg-body);
}
[dir="rtl"] .lead { line-height: 1.9; }

a.inline {
  color: var(--link);
  font-weight: var(--w-semi);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent);
  transition: text-decoration-color .15s ease;
}
a.inline:hover { text-decoration-color: currentColor; }

/* The highlight is painted as a background rather than a z-index:-1 pseudo
   element, so it can never slip behind a section background. */
.hl {
  color: var(--accent-ink);
  white-space: nowrap;
  background-image: linear-gradient(transparent 62%, var(--brand-200) 62%);
  background-repeat: no-repeat;
  padding-inline: 2px;
}


/* ============================================================================
   03  ACCESSIBILITY
   ========================================================================== */
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}

.skip-link {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: var(--sp-4);
  z-index: 200;
  padding: .75rem 1.1rem;
  background: var(--brand-800);
  color: #fff;
  font-weight: var(--w-bold);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: inset-block-start .18s ease;
}
.skip-link:focus { inset-block-start: 0; }

.sr-only {
  position: absolute; inline-size: 1px; block-size: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.icon-sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.i {
  inline-size: 1em; block-size: 1em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* RTL GLYPH MIRROR — arrows are directional, layout is not */
[dir="rtl"] .mirror { transform: scaleX(-1); }


/* ============================================================================
   04  LAYOUT
   ========================================================================== */
.wrap {
  inline-size: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 600px) { .wrap { inline-size: min(100% - 2rem, var(--wrap)); } }

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.section.tight { padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.section.alt { background: var(--surface-0); }
.section.sunken {
  background: var(--surface-2);
  border-block: 1px solid var(--line-soft);
}

.sec-head {
  max-inline-size: 62ch;
  margin-inline: auto;
  margin-block-end: var(--sp-7);
  text-align: center;
}
.sec-head.start { text-align: start; margin-inline: 0; }
.sec-head p {
  margin-block-start: var(--sp-3);
  font-size: var(--fs-lead);
  color: var(--fg-muted);
}

.kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-block-end: var(--sp-3);
  padding: .3rem .85rem;
  font-size: var(--fs-xs);
  font-weight: var(--w-bold);
  color: var(--on-tint);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-pill);
  letter-spacing: var(--track-flat);
}
.kicker::before {
  content: "";
  inline-size: 7px; block-size: 7px;
  border-radius: 50%;
  background: var(--brand-500);
}

.grid { display: grid; gap: var(--sp-5); }
.center { text-align: center; }


/* ============================================================================
   05  BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-block-size: 50px;
  padding: .8rem 1.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--w-bold);
  letter-spacing: var(--track-flat);
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn .i { font-size: 1.15em; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-700), var(--brand-900));
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255,255,255,.22); transform: translateY(-1px); }

.btn-outline {
  color: var(--accent-ink);
  background: var(--surface-0);
  border-color: var(--line-strong);
  box-shadow: var(--sh-xs);
}
.btn-outline:hover { border-color: var(--brand-600); background: var(--brand-50); }

.btn-ghost { color: var(--fg); background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }

.btn-light {
  color: var(--brand-900);
  background: #fff;
  box-shadow: var(--sh-md);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--sh-lg); }

.btn-onband {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
}
.btn-onband:hover { background: rgba(255,255,255,.16); }

.btn-sm { min-block-size: 40px; padding: .5rem 1rem; font-size: var(--fs-xs); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.btn-row.center { justify-content: center; }

/* Google Play badge — Google's own localised artwork. The PNG carries the
   mandatory clear space, so the link gets no padding, border or background of
   its own; sizing is by width and the aspect ratio holds the rest. */
.play-badge {
  display: inline-block;
  inline-size: 190px;
  max-inline-size: 100%;
  border-radius: var(--r-md);
  transition: transform .16s ease;
}
.play-badge img { inline-size: 100%; block-size: auto; }
.play-badge:hover { transform: translateY(-2px); }


/* ============================================================================
   06  CHIPS / BADGES / PILLS
   ========================================================================== */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .75rem;
  font-size: var(--fs-xs);
  font-weight: var(--w-semi);
  color: var(--ink-700);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.chip .i { color: var(--accent-ink); }

.tick {
  display: inline-grid; place-items: center;
  inline-size: 20px; block-size: 20px;
  background: var(--brand-100);
  color: var(--on-tint);
  border-radius: var(--r-pill);
  font-size: .68rem;
}

.kbd-path {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  margin-block-start: var(--sp-3);
  font-size: var(--fs-xs);
}
.kbd-path span {
  padding: .22rem .6rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  color: var(--ink-700);
  font-weight: var(--w-semi);
}
.kbd-path span + span::before {
  content: "›";
  margin-inline-end: .4rem;
  color: var(--ink-400);
  font-weight: var(--w-body);
}
[dir="rtl"] .kbd-path span + span::before { content: "‹"; }


/* ============================================================================
   07  NAVIGATION
   ========================================================================== */
.nav {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface-1) 84%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-block-end: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.nav.stuck {
  border-block-end-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(8,30,22,.5);
}
.nav-inner {
  inline-size: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  min-block-size: var(--nav-h);
  display: flex; align-items: center; gap: var(--sp-4);
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-weight: var(--w-black);
  font-size: 1.18rem;
  color: var(--fg);
  letter-spacing: var(--track);
}
.brand .logo {
  inline-size: 38px; block-size: 38px;
  border-radius: 11px;
  box-shadow: var(--sh-sm);
}
.brand small {
  display: block;
  font-size: .68rem;
  font-weight: var(--w-semi);
  color: var(--fg-faint);
  line-height: 1.1;
  letter-spacing: var(--track-flat);
}

.nav-links {
  display: flex; align-items: center; gap: .15rem;
  margin-inline-start: auto;
}
.nav-links > a {
  padding: .55rem .85rem;
  font-size: var(--fs-sm);
  font-weight: var(--w-semi);
  color: var(--ink-600);
  border-radius: var(--r-sm);
  transition: color .15s ease, background-color .15s ease;
}
.nav-links > a:hover { color: var(--on-tint); background: var(--surface-2); }
.nav-links > a[aria-current="page"] { color: var(--on-tint); background: var(--brand-50); }

.nav-end { display: flex; align-items: center; gap: .5rem; margin-inline-start: .35rem; }

/* the drawer carries its own download link for phones, where .nav-end hides
   its button; on desktop only one of the two may show */
.nav-links > a.btn { display: none; }

/* language picker — real links, one per localised URL */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  min-block-size: 40px;
  padding: .4rem .7rem;
  font-size: var(--fs-xs);
  font-weight: var(--w-bold);
  color: var(--ink-700);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.lang-btn:hover { border-color: var(--line-strong); }
.lang-btn .caret { font-size: .6rem; opacity: .6; }
.lang-menu {
  position: absolute;
  inset-block-start: calc(100% + .45rem);
  inset-inline-end: 0;
  min-inline-size: 170px;
  padding: .35rem;
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  display: none;
  z-index: 110;
}
.lang[data-open="true"] .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .7rem;
  font-size: var(--fs-sm);
  font-weight: var(--w-semi);
  color: var(--ink-700);
  border-radius: var(--r-xs);
}
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a[aria-current="true"] { color: var(--on-tint); background: var(--brand-50); }
.lang-menu .tag {
  margin-inline-start: auto;
  font-size: .68rem;
  color: var(--fg-faint);
  letter-spacing: var(--track-flat);
}

.nav-burger {
  display: none;
  inline-size: 44px; block-size: 44px;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-0);
}
.nav-burger span {
  display: block; inline-size: 18px; block-size: 2px;
  background: var(--ink-700); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span + span { margin-block-start: 4px; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ============================================================================
   08  HERO
   The headline on the light page; the app on a saturated green stage — three
   phones fanned out, rising from the stage floor, with two live facts pinned
   to the stage edges as cards.
   ========================================================================== */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 1rem + 5vw, 5rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--brand-100), transparent 60%),
    radial-gradient(40rem 24rem at -10% 60%, var(--amber-100), transparent 60%),
    var(--surface-1);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--line-strong) 1.2px, transparent 1.6px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem .4rem .7rem;
  margin-block-end: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--w-bold);
  color: var(--on-tint);
  background: color-mix(in srgb, var(--brand-100) 70%, var(--surface-0));
  border: 1px solid var(--brand-200);
  border-radius: var(--r-pill);
  letter-spacing: var(--track-flat);
}
[dir="rtl"] .eyebrow { padding: .4rem .7rem .4rem .9rem; }
.eyebrow .i { color: var(--on-tint); font-size: 1.05rem; }

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.04;
  margin-block-end: var(--sp-4);
}
[dir="rtl"] .hero h1 { line-height: 1.32; }
.hero .lead { max-inline-size: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-block-start: var(--sp-6); }

.hero-mini {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-block-start: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}
.hero-mini .m { display: inline-flex; align-items: center; gap: .5rem; }

/* the proof line under the buttons: stars + the store it ships on */
.hero-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  margin-block-start: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}
.stars { display: inline-flex; gap: .1rem; color: var(--amber-400); font-size: 1rem; }
.stars .i { fill: currentColor; stroke: none; }
.hero-proof strong { color: var(--fg); }

/* the stage */
.stage {
  position: relative;
  aspect-ratio: 1.04;
  border-radius: var(--r-2xl);
  overflow: clip;
  background: linear-gradient(155deg, var(--brand-500) 0%, var(--brand-700) 50%, var(--brand-900) 110%);
  box-shadow: 0 6px 14px -6px rgba(4,120,87,.40), 0 30px 60px -24px rgba(4,120,87,.45);
}
.stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--bp-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-major) 1px, transparent 1px),
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(90% 90% at 50% 0%, #000 30%, transparent 100%);
}
.stage::after {
  /* a soft spot behind the centre phone */
  content: "";
  position: absolute;
  inset-block-end: -10%;
  inset-inline: 15%;
  block-size: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent);
  filter: blur(10px);
}
.stage .art {
  /* wider than the stage: the outer phones run off the rounded sides and the
     bottom, so the fan fills the panel instead of floating in it */
  position: absolute;
  inset-block-end: 0;
  inset-inline: -12%;
  z-index: 1;
  inline-size: 124%;
  max-inline-size: none;
  block-size: auto;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: .65rem;
  padding: .7rem .9rem;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  max-inline-size: 190px;
  font-size: var(--fs-xs);
  font-weight: var(--w-bold);
  color: var(--ink-800);
  line-height: 1.35;
}
.float-card small {
  display: block;
  font-weight: var(--w-med);
  color: var(--fg-muted);
  letter-spacing: var(--track-flat);
}
.float-card .ic {
  display: grid; place-items: center;
  flex: none;
  inline-size: 34px; block-size: 34px;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--on-tint);
  font-size: 1.05rem;
}
.float-card .ic.amber { background: var(--amber-100); color: var(--amber-700); }
.float-card .ic.clay { background: var(--clay-100); color: var(--clay-700); }
.fc-1 { inset-block-start: 7%; inset-inline-start: 4%; }
.fc-2 { inset-block-end: 9%; inset-inline-end: 4%; }
.fc-3 { inset-block-start: 7%; inset-inline-end: 4%; }


/* ============================================================================
   09  TICKER — the things inside the app, as a slow band under the hero
   ========================================================================== */
.ticker {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-4);
  background: var(--surface-0);
  border-block: 1px solid var(--line-soft);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex; gap: .75rem;
  inline-size: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
.ticker .chip {
  padding: .5rem 1rem;
  font-size: var(--fs-sm);
  font-weight: var(--w-bold);
  color: var(--ink-700);
  background: var(--surface-1);
  border-color: var(--line);
  white-space: nowrap;
}
.ticker .chip .i { font-size: 1.1rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }


/* ============================================================================
   10  THE THREE QUESTIONS
   A number strip always reads as a spec sheet; these are the questions a
   contractor genuinely cannot answer from a notebook — the actual problem.
   ========================================================================== */
.asks {
  position: relative;
  overflow: clip;
  background: var(--surface-0);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.asks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.asks-intro h2 { margin-block-end: var(--sp-3); }
.asks-intro p { color: var(--fg-muted); font-size: var(--fs-lead); }
.asks-figure {
  display: flex; justify-content: center; align-items: flex-end;
  margin-block-start: var(--sp-5);
}
.asks-figure img {
  inline-size: min(190px, 40vw);
  filter: drop-shadow(0 24px 24px rgba(8,30,22,.18));
}
.asks-list { display: grid; gap: var(--sp-4); counter-reset: ask; }
.ask {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ask:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--line); }
.ask .mark {
  counter-increment: ask;
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px;
  font-size: 1.15rem;
  font-weight: var(--w-black);
  color: #fff;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--brand-600), var(--brand-800));
  box-shadow: var(--sh-md);
}
.ask .mark::before { content: counter(ask); }
.ask .mark .i { display: none; }
.ask .q {
  display: block;
  font-size: 1.12rem;
  font-weight: var(--w-bold);
  line-height: 1.45;
  color: var(--fg);
}
.ask .a {
  display: block;
  margin-block-start: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}


/* ============================================================================
   11  VALUE CARDS
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
}
.value-card {
  position: relative;
  padding: var(--sp-6);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line); }
.value-card .ic {
  display: grid; place-items: center;
  inline-size: 48px; block-size: 48px;
  margin-block-end: var(--sp-4);
  font-size: 1.35rem;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--on-tint);
}
.value-card .ic.amber { background: var(--amber-100); color: var(--amber-700); }
.value-card .ic.clay  { background: var(--clay-100);  color: var(--clay-700); }
.value-card h3 { margin-block-end: var(--sp-3); }
.v-problem {
  position: relative;
  padding-inline-start: .9rem;
  margin-block-end: var(--sp-3);
  color: var(--fg-muted);
  font-size: var(--fs-sm);
  border-inline-start: 2px solid var(--line-strong);
}
.v-solution {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .45rem;
  font-size: var(--fs-sm);
  color: var(--fg-body);
}
.v-solution::before {
  content: "→";
  color: var(--accent-ink);
  font-weight: var(--w-bold);
  line-height: inherit;
}
[dir="rtl"] .v-solution::before { content: "←"; }

/* green card — every fourth, which lands on the diagonal of a three-column
   grid, so the page is not an unbroken field of white boxes */
.feat.solid,
.value-card.solid {
  color: rgba(255, 255, 255, .88);
  background: linear-gradient(155deg, var(--brand-800), var(--brand-900) 70%, var(--brand-950));
  border-color: transparent;
  box-shadow: var(--sh-lg);
}
.feat.solid h3,
.value-card.solid h3 { color: #fff; }
.feat.solid p,
.value-card.solid .v-solution { color: rgba(255, 255, 255, .88); }
.feat.solid .ic,
.value-card.solid .ic { background: rgba(255, 255, 255, .14); color: #fff; }
.value-card.solid .v-problem {
  color: rgba(255, 255, 255, .72);
  border-inline-start-color: rgba(255, 255, 255, .30);
}
.value-card.solid .v-solution::before { color: var(--brand-300); }
.value-card.solid .g-intro { color: rgba(255, 255, 255, .76); }
.value-card.solid .feat-list { color: rgba(255, 255, 255, .88); }
.value-card.solid .feat-list li::before {
  background-color: rgba(255, 255, 255, .20);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.feat.solid:hover,
.value-card.solid:hover { box-shadow: var(--sh-xl); }

/* bento — the compact feature grid on the features page and the home */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.feat {
  padding: var(--sp-6);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.feat .ic {
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px;
  margin-block-end: var(--sp-4);
  font-size: 1.3rem;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--on-tint);
}
.feat .ic.amber { background: var(--amber-100); color: var(--amber-700); }
.feat .ic.clay  { background: var(--clay-100);  color: var(--clay-700); }
.feat h3 { margin-block-end: var(--sp-2); }
.feat p { font-size: var(--fs-sm); color: var(--fg-muted); }


/* ============================================================================
   12  SHOWCASE — four feature stories, each an app screen with the facts
   pulled out of it, alternating sides down the page
   ========================================================================== */
.showcase { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.show {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.show:nth-child(even) .show-art { order: 2; }
.show-art {
  position: relative;
  aspect-ratio: 1000 / 820;
  border-radius: var(--r-2xl);
  overflow: clip;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(255,255,255,.9), transparent 70%),
    linear-gradient(180deg, var(--brand-50), var(--brand-100));
  border: 1px solid var(--brand-100);
}
.show-art.amber { background: radial-gradient(70% 60% at 50% 100%, rgba(255,255,255,.9), transparent 70%), linear-gradient(180deg, var(--amber-50), var(--amber-100)); border-color: var(--amber-100); }
.show-art.sky   { background: radial-gradient(70% 60% at 50% 100%, rgba(255,255,255,.9), transparent 70%), linear-gradient(180deg, var(--sky-50), var(--sky-100)); border-color: var(--sky-100); }
.show-art.sand  { background: radial-gradient(70% 60% at 50% 100%, rgba(255,255,255,.9), transparent 70%), linear-gradient(180deg, var(--sand-50), var(--sand-100)); border-color: var(--sand-100); }
.show-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(8,30,22,.12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  opacity: .6;
}
.show-art img {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.show-art.paper img { object-position: center; block-size: 92%; inset-block-end: 4%; }
.show-text h3 {
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem);
  font-weight: var(--w-black);
  margin-block: var(--sp-2) var(--sp-3);
}
.show-text p { color: var(--fg-body); }
.show-text .feat-list { margin-block-start: var(--sp-4); }
.show-text .more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-block-start: var(--sp-5);
  font-weight: var(--w-bold);
  color: var(--accent-ink);
}
.show-text .more:hover { text-decoration: underline; text-underline-offset: 3px; }


/* ============================================================================
   13  THE FOUR PILLARS BAND — dark green over the site photograph
   ========================================================================== */
.band {
  position: relative;
  overflow: clip;
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  color: rgba(255,255,255,.90);
  background:
    linear-gradient(140deg, rgba(6,78,59,.96) 0%, rgba(7,62,46,.92) 55%, rgba(6,95,70,.90) 120%),
    url("/assets/img/site.webp") center 30% / cover no-repeat var(--brand-900);
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--bp-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-major) 1px, transparent 1px),
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(90% 85% at 50% 0%, #000, transparent 85%);
}
.band > * { position: relative; }
.band h2 { color: #fff; }
.band .lead { color: rgba(255,255,255,.90); }
.band .kicker {
  color: var(--brand-200);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.band .kicker::before { background: var(--brand-300); }
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.band-grid > div:first-child { position: sticky; inset-block-start: calc(var(--nav-h) + 2rem); }
.band-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}
.band-item {
  display: grid; gap: var(--sp-3);
  padding: var(--sp-5);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color .2s ease, border-color .2s ease;
}
.band-item:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.28); }
.band-item .ic {
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px;
  flex: none;
  font-size: 1.25rem;
  border-radius: 13px;
  background: rgba(255,255,255,.12);
  color: var(--brand-300);
}
.band-item strong { display: block; color: #fff; margin-block-end: .3rem; font-size: 1.08rem; }
.band-item span { font-size: var(--fs-sm); color: rgba(255,255,255,.82); }

.flagrow { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: var(--sp-5); }


/* ============================================================================
   14  STORE STRIP — the Play Store set, scrolling sideways
   ========================================================================== */
.strip-wrap { position: relative; }
.strip {
  display: flex; gap: var(--sp-4);
  overflow-x: auto;
  padding-block: var(--sp-3) var(--sp-5);
  padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2));
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip figure {
  flex: 0 0 auto;
  inline-size: clamp(220px, 24vw, 300px);
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.strip figure:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.strip img { inline-size: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.strip-nav {
  display: flex; justify-content: center; gap: .5rem;
  margin-block-start: var(--sp-2);
}
.strip-nav button {
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px;
  border-radius: 50%;
  color: var(--accent-ink);
  background: var(--surface-0);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: background-color .15s ease, border-color .15s ease;
}
.strip-nav button:hover { background: var(--brand-50); border-color: var(--brand-300); }
/* RTL GLYPH MIRROR — the sprite arrow points right; "forward" is left in RTL */
.strip-nav .back { transform: scaleX(-1); }
[dir="rtl"] .strip-nav .back { transform: none; }
[dir="rtl"] .strip-nav .fwd { transform: scaleX(-1); }


/* ============================================================================
   15  STEPS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: end;
}
.steps {
  display: grid;
  gap: var(--sp-4);
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  inline-size: 46px; block-size: 46px;
  font-size: 1.15rem;
  font-weight: var(--w-black);
  color: #fff;
  background: linear-gradient(180deg, var(--brand-700), var(--brand-900));
  border-radius: 14px;
  box-shadow: var(--sh-md);
}
.step h3 { margin-block-end: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--fg-muted); }
.steps-figure img {
  inline-size: min(220px, 36vw);
  filter: drop-shadow(0 24px 24px rgba(8,30,22,.18));
}


/* ============================================================================
   16  QUOTES — what contractors wrote on the store
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-4);
}
@media (max-width: 1000px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* five cards in two columns leave one alone: let it run the full row */
  .quote:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .quotes { grid-template-columns: 1fr; }
  .quote:last-child:nth-child(odd) { grid-column: auto; }
}
.quote {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}
.quote .stars { font-size: 1.05rem; }
.quote p {
  flex: 1;
  font-size: 1.05rem;
  font-weight: var(--w-semi);
  color: var(--ink-800);
  line-height: 1.6;
}
.quote footer {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}
.quote .av {
  display: grid; place-items: center;
  inline-size: 30px; block-size: 30px;
  border-radius: 50%;
  font-weight: var(--w-black);
  color: var(--on-tint);
  background: var(--brand-100);
}
.quote .src { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .3rem; }


/* ============================================================================
   17  CTA BAND — the contractor on the green box
   ========================================================================== */
.cta-band { padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem); }
.cta-box {
  position: relative;
  overflow: clip;
  inline-size: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: var(--sp-6);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem) 0;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-700) 0%, var(--brand-800) 55%, var(--brand-900) 115%);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
}
.cta-box::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--bp-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-major) 1px, transparent 1px),
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(85% 75% at 50% 0%, #000, transparent 82%);
}
.cta-box > * { position: relative; }
.cta-text { padding-block-end: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.cta-box h2 { color: #fff; }
.cta-box p {
  max-inline-size: 48ch;
  margin-block-start: var(--sp-3);
  color: rgba(255,255,255,.84);
  font-size: var(--fs-lead);
}
.cta-box .btn-row { margin-block-start: var(--sp-6); }
.cta-box .mini {
  display: flex; flex-wrap: wrap; gap: .5rem 1.2rem;
  margin-block-start: var(--sp-5);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.82);
}
.cta-box .mini span { display: inline-flex; align-items: center; gap: .45rem; }
.cta-box .mini .i { color: var(--brand-300); }
.cta-figure {
  align-self: end;
  display: flex; justify-content: center;
}
.cta-figure img {
  inline-size: min(300px, 100%);
  margin-block-end: -2px;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.30));
}


/* ============================================================================
   18  FOOTER
   ========================================================================== */
.footer {
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--sp-6);
  background: var(--ink-900);
  color: rgba(255,255,255,.82);
  font-size: var(--fs-sm);
}
.footer .brand { color: #fff; }
.footer .brand small { color: rgba(255,255,255,.6); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
}
.footer-brand p {
  margin-block-start: var(--sp-4);
  max-inline-size: 38ch;
  color: rgba(255,255,255,.78);
  font-size: var(--fs-sm);
}
.footer-brand .play-badge { margin-block-start: var(--sp-4); inline-size: 160px; }
.footer-col .h {
  margin-block-end: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--w-black);
  color: var(--amber-400);          /* 11.2:1 on the footer ground */
  letter-spacing: var(--track-flat);
  text-transform: uppercase;
}
[dir="rtl"] .footer-col .h { text-transform: none; }
.footer-col a, .footer-col .txt {
  display: flex; align-items: center;
  min-block-size: 36px;
  color: rgba(255,255,255,.82);
}
.footer-col .txt { color: rgba(255,255,255,.68); }
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: center; align-items: center;
  margin-block-start: clamp(2rem, 1.4rem + 2vw, 3rem);
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.66);
  font-size: var(--fs-xs);
}
.footer-bottom a { color: inherit; }
.footer-langs { display: flex; gap: .4rem; flex-wrap: wrap; }
.footer-langs a {
  padding: .2rem .6rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
}
.footer-langs a[aria-current="true"] {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}


/* ============================================================================
   19  DOCUMENT PAGES  (guide, legal, faq, blog)
   ========================================================================== */
.doc-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2rem, 1.2rem + 3vw, 3.5rem);
  background:
    radial-gradient(70ch 40ch at 70% -20%, var(--brand-100), transparent 60%),
    radial-gradient(40ch 30ch at 0% 120%, var(--amber-100), transparent 60%),
    var(--surface-0);
  border-block-end: 1px solid var(--line-soft);
}
.doc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--line-strong) 1.2px, transparent 1.6px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  opacity: .45;
  pointer-events: none;
}
.doc-hero > * { position: relative; }
.doc-hero h1 { margin-block: var(--sp-3) var(--sp-3); }
.doc-hero .lead { max-inline-size: 68ch; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  font-size: var(--fs-xs);
  color: var(--fg-faint);
}
.breadcrumbs a { color: var(--fg-muted); font-weight: var(--w-semi); }
.breadcrumbs a:hover { color: var(--accent-ink); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--ink-300); }

.doc-body { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.doc-body.with-toc {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.doc-card {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.doc-card h2 {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  margin-block: var(--sp-6) var(--sp-3);
}
.doc-card h2:first-child { margin-block-start: 0; }
.doc-card h3 { margin-block: var(--sp-5) var(--sp-2); }
.doc-card p { margin-block-end: var(--sp-3); }
.doc-card ul { margin-block-end: var(--sp-4); display: grid; gap: .5rem; }
.doc-card li { position: relative; padding-inline-start: 1.4rem; }
.doc-card li::before {
  content: "";
  position: absolute;
  inset-block-start: .66em;
  inset-inline-start: .35rem;
  inline-size: 6px; block-size: 6px;
  border-radius: 50%;
  background: var(--brand-400);
}
.meta { font-size: var(--fs-xs); color: var(--fg-faint); }


/* ============================================================================
   20  GUIDE STEPS
   ========================================================================== */
#guideBody > section { margin-block-end: clamp(2.5rem, 1.5rem + 3vw, 4rem); scroll-margin-block-start: calc(var(--nav-h) + 1.5rem); }
#guideBody .sec-head { margin-block-end: var(--sp-5); }

ol.guide { display: grid; gap: var(--sp-4); counter-reset: gstep; }
.guide-step {
  position: relative;
  padding: var(--sp-5);
  padding-inline-start: calc(var(--sp-5) + 44px);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}
.guide-step::before {
  counter-increment: gstep;
  content: counter(gstep);
  position: absolute;
  inset-block-start: var(--sp-5);
  inset-inline-start: var(--sp-5);
  display: grid; place-items: center;
  inline-size: 28px; block-size: 28px;
  font-size: .82rem;
  font-weight: var(--w-black);
  color: var(--on-tint);
  background: var(--brand-100);
  border-radius: 9px;
}
.guide-step h3 { margin-block-end: var(--sp-2); font-size: 1.05rem; }
.guide-step p { font-size: var(--fs-sm); color: var(--fg-muted); }
.guide-step p + p { margin-block-start: var(--sp-2); }
.guide-step ul { margin-block-start: var(--sp-2); display: grid; gap: .35rem; font-size: var(--fs-sm); color: var(--fg-muted); }
.guide-step li { position: relative; padding-inline-start: 1.1rem; }
.guide-step li::before {
  content: "";
  position: absolute; inset-block-start: .62em; inset-inline-start: .2rem;
  inline-size: 5px; block-size: 5px; border-radius: 50%;
  background: var(--brand-400);
}


/* ============================================================================
   21  CALLOUTS
   ========================================================================== */
.callout {
  position: relative;
  padding: var(--sp-4) var(--sp-5);
  margin-block: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-inline-start: 3px solid var(--brand-500);
  border-radius: var(--r-md);
}
.callout.tip  { background: var(--brand-50);  border-color: var(--brand-100);  border-inline-start-color: var(--brand-500); }
.callout.note { background: var(--surface-2); border-color: var(--line);        border-inline-start-color: var(--ink-300); }
.callout.warn { background: var(--amber-50);  border-color: var(--amber-100);   border-inline-start-color: var(--amber-400); }
.callout strong { color: var(--ink-800); }
.callout p + p { margin-block-start: var(--sp-2); }


/* ============================================================================
   22  TABLE OF CONTENTS
   ========================================================================== */
.toc {
  position: sticky;
  inset-block-start: calc(var(--nav-h) + 1rem);
  padding: var(--sp-4);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}
.toc-title {
  margin-block-end: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--w-black);
  color: var(--fg);
  letter-spacing: var(--track-flat);
}
.toc ol { display: grid; gap: .1rem; }
.toc a {
  display: flex; align-items: center; gap: .55rem;
  padding: .45rem .6rem;
  font-size: var(--fs-sm);
  font-weight: var(--w-med);
  color: var(--fg-muted);
  border-radius: var(--r-xs);
}
.toc a:hover { color: var(--on-tint); background: var(--surface-2); }
.toc a .i { color: var(--ink-300); }
.toc-article a { display: block; }
.toc a:hover .i { color: var(--accent-ink); }
.toc a.active { color: var(--on-tint); background: var(--brand-50); font-weight: var(--w-bold); }
.toc a.active .i { color: var(--accent-ink); }


/* ============================================================================
   23  FAQ
   ========================================================================== */
.help-search { position: relative; max-inline-size: 460px; margin-block-start: var(--sp-5); }
.help-search .i {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: .95rem;
  transform: translateY(-50%);
  color: var(--ink-400);
  font-size: 1.05rem;
  pointer-events: none;
}
.help-search input {
  inline-size: 100%;
  min-block-size: 48px;
  padding-inline: 2.7rem 1rem;
  background: var(--surface-0);
  border: 1.5px solid var(--line-input);
  border-radius: var(--r-pill);
  color: var(--fg);
}
.help-search input::placeholder { color: var(--fg-faint); }
.help-search input:focus-visible { border-color: var(--brand-600); }

.pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-block-end: var(--sp-5); }
.pill {
  min-block-size: 40px;
  padding: .45rem 1rem;
  font-size: var(--fs-xs);
  font-weight: var(--w-bold);
  color: var(--ink-600);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: all .15s ease;
}
.pill:hover { border-color: var(--line-strong); }
.pill.active { color: #fff; background: var(--brand-700); border-color: var(--brand-700); }

.faq-wrap { display: grid; gap: var(--sp-6); }
.cat-head { display: flex; align-items: center; gap: .7rem; margin-block-end: var(--sp-3); }
.cat-head h2 { font-size: 1.2rem; }
.cat-head .dot {
  display: grid; place-items: center;
  inline-size: 34px; block-size: 34px;
  border-radius: 11px;
  background: var(--brand-100);
  color: var(--on-tint);
}
.cat > div:not(.cat-head) { display: grid; gap: .6rem; }

.qa {
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  overflow: hidden;
}
.qa[open] { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 1rem; font-weight: var(--w-bold); }
.qa .chev {
  flex: none;
  inline-size: 10px; block-size: 10px;
  /* physical borders on purpose: the rotated box must read as a chevron
     pointing DOWN in both directions, and logical borders flip it in RTL */
  border-right: 2px solid var(--ink-400);
  border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.qa[open] .chev { transform: rotate(-135deg); }
.qa .ans {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}
.qa .ans p + p { margin-block-start: var(--sp-3); }
.qa .ans ul { margin-block-start: var(--sp-2); display: grid; gap: .3rem; }
.qa .ans li { position: relative; padding-inline-start: 1.1rem; }
.qa .ans li::before {
  content: "";
  position: absolute; inset-block-start: .62em; inset-inline-start: .2rem;
  inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--brand-400);
}

.no-results {
  display: none;
  padding: var(--sp-6);
  text-align: center;
  color: var(--fg-muted);
  background: var(--surface-0);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
}
.faq-cta {
  margin-block-start: var(--sp-7);
  padding: var(--sp-6);
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.faq-cta .hero-cta { justify-content: center; margin-block-start: var(--sp-4); }
.faq-cta h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.faq-cta p { max-inline-size: 56ch; margin: var(--sp-3) auto 0; color: var(--fg-muted); }


/* ============================================================================
   24  BLOG
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-5);
}
.post-card {
  display: flex; flex-direction: column;
  padding: var(--sp-6);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line); }
.post-card .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-block-end: var(--sp-3); }
.post-card h2, .post-card h3 { font-size: 1.22rem; margin-block-end: var(--sp-3); }
.post-card h2 a, .post-card h3 a { color: var(--fg); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent-ink); }
.post-card p { font-size: var(--fs-sm); color: var(--fg-muted); }
.post-card .foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  margin-block-start: var(--sp-5);
  padding-block-start: var(--sp-4);
  border-block-start: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  color: var(--fg-faint);
}
.post-card .more { font-weight: var(--w-bold); color: var(--accent-ink); }

/* the featured article: a photograph beside the text */
.post-card.feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--sp-6);
  align-items: center;
  inline-size: min(100%, 1000px);
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
}
.post-card.feature h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem); }
.post-card.feature p { font-size: var(--fs-body); max-inline-size: 72ch; }
.post-card.feature .pic {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
}
.post-card.feature .pic img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  margin-block-start: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}
.post-meta .sep { color: var(--ink-400); }
.author {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: var(--w-semi);
  color: var(--ink-700);
}
.author img { inline-size: 28px; block-size: 28px; border-radius: 50%; }


/* ============================================================================
   25  ARTICLE PROSE
   ========================================================================== */
.prose {
  max-inline-size: var(--prose);
  font-size: 1.06rem;
  color: var(--ink-700);
}
.prose > * + * { margin-block-start: var(--sp-4); }
.prose h2 {
  margin-block-start: var(--sp-8);
  font-size: clamp(1.4rem, 1.2rem + .9vw, 1.9rem);
  scroll-margin-block-start: calc(var(--nav-h) + 1.5rem);
}
.prose h3 {
  margin-block-start: var(--sp-6);
  font-size: 1.18rem;
}
.prose ul, .prose ol { display: grid; gap: .55rem; }
.prose li { position: relative; padding-inline-start: 1.5rem; }
.prose ul li::before {
  content: "";
  position: absolute; inset-block-start: .66em; inset-inline-start: .4rem;
  inline-size: 6px; block-size: 6px; border-radius: 50%;
  background: var(--brand-400);
}
.prose ol { counter-reset: pli; }
.prose ol li { padding-inline-start: 2rem; }
.prose ol li::before {
  counter-increment: pli;
  content: counter(pli);
  position: absolute; inset-block-start: .18em; inset-inline-start: 0;
  display: grid; place-items: center;
  inline-size: 22px; block-size: 22px;
  font-size: .72rem; font-weight: var(--w-black);
  color: var(--on-tint); background: var(--brand-100);
  border-radius: 7px;
}
.prose blockquote {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-lead);
  color: var(--ink-800);
  background: var(--sand-50);
  border-inline-start: 3px solid var(--amber-400);
  border-radius: var(--r-md);
}
.prose figure { margin-block: var(--sp-6); }
.prose figure img { border-radius: var(--r-md); box-shadow: var(--sh-md); }
.prose figcaption {
  margin-block-start: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--fg-faint);
  text-align: center;
}
.prose table {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.prose th, .prose td {
  padding: .7rem .9rem;
  text-align: start;
  border-block-end: 1px solid var(--line-soft);
}
.prose th { background: var(--surface-2); font-weight: var(--w-bold); color: var(--fg); }
.prose tr:last-child td { border-block-end: 0; }

.table-scroll { overflow-x: auto; }

/* TL;DR / key-facts box — the block answer engines quote */
.keyfacts {
  padding: var(--sp-5);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
}
.keyfacts .h {
  display: flex; align-items: center; gap: .5rem;
  margin-block-end: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--w-black);
  color: var(--on-tint);
  letter-spacing: var(--track-flat);
  text-transform: uppercase;
}
[dir="rtl"] .keyfacts .h { text-transform: none; }
.keyfacts ul { display: grid; gap: .5rem; font-size: var(--fs-sm); color: var(--ink-700); }
.keyfacts li { position: relative; padding-inline-start: 1.6rem; }
.keyfacts li::before {
  content: "";
  position: absolute; inset-block-start: .5em; inset-inline-start: .25rem;
  inline-size: 8px; block-size: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.inline-cta img { inline-size: 54px; block-size: 54px; border-radius: 14px; box-shadow: var(--sh-sm); }
.inline-cta .t { flex: 1 1 260px; }
.inline-cta strong { display: block; color: var(--fg); font-size: 1.05rem; }
.inline-cta span { font-size: var(--fs-sm); color: var(--fg-muted); }


/* ============================================================================
   26  MISC
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

.to-top {
  position: fixed;
  inset-block-end: 1.2rem;
  inset-inline-end: 1.2rem;
  z-index: 90;
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px;
  color: var(--accent-ink);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-2px); }

.notfound { text-align: center; padding-block: clamp(4rem, 2rem + 8vw, 8rem); }
.notfound .code {
  font-size: clamp(4rem, 2rem + 10vw, 8rem);
  font-weight: var(--w-black);
  line-height: 1;
  color: var(--accent-ink);
  letter-spacing: var(--track);
}

/* a checked list — under feature groups and beside each showcase */
.feat-list {
  display: grid;
  gap: .55rem;
  margin-block-start: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--fg-body);
}
.feat-list li { position: relative; padding-inline-start: 1.65rem; }
.feat-list li::before {
  content: "";
  position: absolute;
  inset-block-start: .42em;
  inset-inline-start: 0;
  inline-size: 15px; block-size: 15px;
  border-radius: 50%;
  background: var(--brand-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}
[dir="rtl"] .feat-list li::before { inset-block-start: .5em; }

.g-intro { font-size: var(--fs-sm); color: var(--fg-muted); }


/* ============================================================================
   27  RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .band-list { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .doc-body.with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: .3rem; }
  .toc a { border: 1px solid var(--line); }
  .toc-article ol { display: grid; gap: 0; }
  .toc-article a { border: 0; border-block-end: 1px solid var(--line-soft); border-radius: 0; }
  .toc-article li:last-child a { border-block-end: 0; }
  .float-card { max-inline-size: 160px; font-size: .78rem; }
}

@media (max-width: 900px) {
  /* the headline comes first on a phone: a picture of a phone above the fold
     tells a visitor nothing */
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead, .hero .eyebrow { margin-inline: auto; }
  .hero-cta, .hero-mini, .hero-proof { justify-content: center; }
  .stage { margin-block-start: var(--sp-6); aspect-ratio: 1.15; }
  .fc-3 { display: none; }

  .asks-grid { grid-template-columns: 1fr; }
  .asks-intro { text-align: center; }
  .asks-figure { display: none; }

  .show, .show:nth-child(even) { grid-template-columns: 1fr; }
  .show:nth-child(even) .show-art { order: 0; }
  .show-art { max-inline-size: 560px; margin-inline: auto; inline-size: 100%; }

  .band-grid { grid-template-columns: 1fr; }
  .band-grid > div:first-child { position: static; }

  .steps-grid { grid-template-columns: 1fr; }
  .steps-figure { display: none; }

  .cta-box { grid-template-columns: 1fr; text-align: center; }
  .cta-box p { margin-inline: auto; }
  .cta-box .btn-row, .cta-box .mini { justify-content: center; }
  .cta-figure img { inline-size: min(260px, 70%); }
  .cta-text { padding-block-end: 0; }

  .post-card.feature { grid-template-columns: 1fr; }
  .post-card.feature .pic { order: -1; }

  /* the nav keeps brand + language + menu; downloading lives in the drawer */
  .nav-end > .btn { display: none; }
  .nav-links > a.btn { display: inline-flex; margin-block-start: var(--sp-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-burger { display: grid; }
  .nav-links {
    position: fixed;
    inset-block: var(--nav-h) auto;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4);
    margin: 0;
    background: var(--surface-0);
    border-block-end: 1px solid var(--line);
    box-shadow: var(--sh-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: .85rem 1rem; font-size: 1rem; }
  .nav-links > a.btn { padding: .85rem 1.2rem; font-size: var(--fs-sm); }
  .nav-end { margin-inline-start: auto; }
}

@media (max-width: 680px) {
  :root { --fs-body: 1rem; --nav-h: 64px; }
  .brand small { display: none; }
  .bento { grid-template-columns: 1fr; }
  .hero-mini { flex-direction: column; align-items: center; gap: .55rem; }
  .stage { aspect-ratio: .95; border-radius: var(--r-xl); }
  .stage .art { inset-inline: -18%; inline-size: 136%; }
  .float-card { padding: .55rem .7rem; max-inline-size: 150px; }
  .fc-1 { inset-block-start: 4%; inset-inline-start: 3%; }
  .fc-2 { inset-block-end: 5%; inset-inline-end: 3%; }
  .show-art { border-radius: var(--r-xl); }
  .guide-step { padding-inline-start: var(--sp-5); padding-block-start: calc(var(--sp-5) + 30px); }
  .guide-step::before { inset-block-start: var(--sp-4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .btn { inline-size: 100%; }
  .btn-row .btn { inline-size: auto; flex: 1 1 200px; justify-content: center; }
  /* the badge may not be stretched, so the button beside it matches its width
     instead of running full bleed next to a 190px image */
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { inline-size: auto; min-inline-size: 190px; }
  .strip figure { inline-size: 64vw; }
}


/* ============================================================================
   28  REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; inline-size: auto; }
  .ticker { mask-image: none; }
}


/* ============================================================================
   29  PRINT
   ========================================================================== */
@media print {
  .nav, .footer, .cta-band, .to-top, .skip-link, .help-search, .pills, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
  .doc-card, .qa, .guide-step { box-shadow: none; border-color: #ccc; }
  .qa .ans { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
