/* generated from shared/brand/tokens.json */
:root{color-scheme:light dark;--paper:#F7F1ED;--surface:#FFFCFA;--line:#1F13111A;--ink:#1F1311;--ink-2:#5B4B47;--ink-3:#6E5D58;--accent:#A3172A;--on-accent:#FFFFFF;--accent-text:#A3172A;--accent-pressed:#841222;--accent-fill:#A3172A;--on-accent-fill:#FFFFFF;--accent-fill-pressed:#841222;--accent-soft:#A3172A14;--success:#1D7444;--warning:#8A4D00;--danger:#B42318;--success-soft:#1D744414;--warning-soft:#8A4D0014;--danger-soft:#B4231814;--line-strong:#1F131133;--surface-sunken:#EEE4DE;--r-sm:8px;--r-md:12px;--r-lg:16px;--t-fast:120ms;--t-std:200ms;--t-slow:320ms;--ease:cubic-bezier(0.2,0,0,1);--ease-exit:cubic-bezier(0.3,0,1,1);--logo-reveal:560ms;--logo-drop-delay:0ms;--logo-drop-total:560ms;--ease-logo-reveal:cubic-bezier(0.2,0,0,1);--ease-logo-drop:cubic-bezier(0.55,0,1,0.45);--ease-logo-back:cubic-bezier(0.3,0,0.2,1)}
@media (prefers-color-scheme: dark){:root{--paper:#180E0D;--surface:#231715;--line:#F5ECE81A;--ink:#F5ECE8;--ink-2:#BBA9A3;--ink-3:#A08E88;--accent:#F16A79;--on-accent:#180E0D;--accent-text:#F16A79;--accent-pressed:#F3878F;--accent-fill:#CA2238;--on-accent-fill:#FFFFFF;--accent-fill-pressed:#D53246;--accent-soft:#F16A7924;--success:#5FC08C;--warning:#E5A54F;--danger:#FF8A7D;--success-soft:#5FC08C24;--warning-soft:#E5A54F24;--danger-soft:#FF8A7D24;--line-strong:#F5ECE833;--surface-sunken:#100908}}
@keyframes logo-dot-in{from{opacity:0}to{opacity:1}}
@keyframes logo-drop{0%{transform:translateY(-90px) scale(1,1);animation-timing-function:cubic-bezier(0.55,0,1,0.45)}53.571%{transform:translateY(0) scale(1,1);animation-timing-function:linear}71.429%{transform:translateY(0) scale(1.1,0.88);animation-timing-function:cubic-bezier(0.3,0,0.2,1)}100%{transform:translateY(0) scale(1,1)}}
@keyframes logo-letter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: no-preference){.logo-anim .lg1{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 500ms both}.logo-anim .lg2{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 570ms both}.logo-anim .lg3{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 640ms both}.logo-anim .lg4{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 710ms both}.logo-anim .lg5{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 780ms both}.logo-anim .lg6{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 850ms both}.logo-anim .lg7{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 920ms both}.logo-anim .lg8{animation:logo-letter 350ms cubic-bezier(0.2,0,0,1) 990ms both}}
@keyframes logo-mark{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: no-preference){.logo-anim .lm1{animation:logo-mark 220ms cubic-bezier(0.2,0,0,1) 900ms both}.logo-anim .lm2{animation:logo-mark 220ms cubic-bezier(0.2,0,0,1) 960ms both}.logo-anim .lm3{animation:logo-mark 220ms cubic-bezier(0.2,0,0,1) 1020ms both}}

@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-arabic-400.6010e7fd0d.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-latin-400.9ed8dcb02e.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-arabic-500.90aef64fea.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-latin-500.be6a3b2e37.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-arabic-700.04c730b429.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-latin-700.ae2d59f91e.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--font-body-stack:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI",Tahoma,system-ui,sans-serif}

.ol-w{display:inline-block;vertical-align:-0.250em;overflow:visible}.ol-g{white-space:normal}
/* «نخوة.» — الموقع: ورق وحبر، فراغ كثير، خط قوي، ولون أحمر واحد بقصد (system/design/ui-principles.md v1.0).
   Colours only from tokens (generated block above: shared/brand/tokens.json). Headlines and big numbers are Thmanyah
   outlines (.ol / .ol-num), body is IBM Plex Sans Arabic (OFL). No gradients, no shadows, no glass. */

/* ---------- site-level derived values (still token-based) ---------- */
:root {
  --wrap: 1160px;
  --gutter: 20px;
  --bezel: var(--ink);
  --band-bg: var(--ink);
  --band-ink: var(--paper);
  --band-ink-2: color-mix(in srgb, var(--paper) 72%, var(--ink));
  --band-line: color-mix(in srgb, var(--paper) 18%, transparent);
  --head-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bezel: color-mix(in srgb, var(--ink) 16%, var(--paper));
    --band-bg: var(--surface);
    --band-ink: var(--ink);
    --band-ink-2: var(--ink-2);
    --band-line: var(--line);
  }
}
@media (max-width: 400px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body-stack); font-size: 17px; line-height: 1.75; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.3em; text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: var(--r-sm); z-index: 30; }
.skip:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.wrap.narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- type ---------- */
.ol-g { display: inline; }
.ol-num { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; }
.ol-sep { display: inline-block; width: 0.16em; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); }
.display { font-size: clamp(52px, 11vw, 116px); line-height: 1.22; letter-spacing: 0; }
.title { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.32; }
.headline { font-size: 21px; line-height: 1.5; }
.lead { font-size: clamp(18px, 2vw, 20.5px); line-height: 1.8; color: var(--ink-2); margin: 20px 0 0; max-width: 34em; }
.caption { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.eyebrow { font-size: 14.5px; font-weight: 500; color: var(--ink-2); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-arrow::after { content: " ←"; }

/* ---------- logo «نخوة.» (inline brand SVG; colours follow the scheme) ---------- */
.logo { display: block; height: auto; overflow: visible; }
.logo .lw { fill: var(--ink); }
.logo .ld { fill: var(--accent); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); padding-block: 8px; }
.brand .logo { width: 76px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); padding-block: 12px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--ink); }
@media (max-width: 820px) { .nav .opt { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: var(--r-md); border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; color: var(--ink); background: none;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease), background-color var(--t-std) var(--ease), border-color var(--t-std) var(--ease);
}
.btn:active { transform: scale(0.98); opacity: 0.9; }
.btn-primary { background: var(--accent-fill); color: var(--on-accent-fill); }
.btn-primary:hover { background: var(--accent-fill-pressed); }
.btn-secondary { border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-text { padding-inline: 4px; min-height: 48px; }
.btn-text:hover { text-decoration: underline; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
@media (max-width: 480px) { .btn-row .btn:not(.btn-text) { flex: 1 1 100%; } }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.nav a.btn-ink { color: var(--paper); }

/* ---------- sections ---------- */
main { display: block; }
.section { padding-block: clamp(80px, 11vw, 136px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px; align-items: start; }
.split > .section-head { margin-bottom: 0; }
.sticky { position: sticky; top: calc(var(--head-h) + 32px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > .section-head { margin-bottom: 24px; } .sticky { position: static; } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: center; }
.hero-logo { width: clamp(132px, 17vw, 196px); margin-bottom: clamp(36px, 5vw, 56px); }
.hero-logo .logo { width: 100%; }
.hero .display { max-width: 9em; }
.hero .lead { max-width: 30em; margin-top: 36px; }
.hero-cta { margin-top: 40px; }
.hero-meta { margin: 16px 0 0; }
.hero-notice { margin: 24px 0 0; max-width: 34em; }
.hero-art { display: flex; justify-content: center; }
.ios-note { margin: 24px 0 0; padding: 4px 0 4px 0; padding-inline-start: 16px; border-inline-start: 2px solid var(--ink); color: var(--ink-2); font-size: 15.5px; max-width: 32em; }
.ios-note b { color: var(--ink); font-weight: 500; }
html:not(.is-ios) .ios-note.only-ios { display: none; }
.is-ios .hero-cta .btn-primary { background: none; color: var(--ink); border-color: var(--ink); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-art { justify-content: flex-start; }
}

/* brand moment: «تم النشر» motion once on load (motion/SPEC.md §3, numbers from tokens): the drop falls and lands,
   then «نخوة» is written letter by letter right → left and its harakat settle — the per-letter (.lg1…) and per-mark
   (.lm1…) rules are generated by src/tokens.mjs */
@media (prefers-reduced-motion: no-preference) {
  .logo-anim .ld {
    transform-box: fill-box; transform-origin: 50% 100%;
    animation: logo-dot-in 80ms linear calc(200ms + var(--logo-drop-delay, 520ms)) both,
               logo-drop var(--logo-drop-total, 520ms) linear calc(200ms + var(--logo-drop-delay, 520ms)) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-anim { animation: fade-in 150ms linear both !important; animation-duration: 150ms !important; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- live numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: 28px 0 28px 20px; padding-inline-start: 24px; border-inline-start: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b { display: block; font-size: clamp(44px, 6vw, 72px); line-height: 1.25; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat span:not(.vh):not(.ol-g) { display: block; font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.stat .ol-g, .stat .vh { margin: 0; }
.stats-note { margin: 14px 0 0; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- how it works ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { position: relative; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.step-text { border-top: 1px solid var(--ink); padding-top: 22px; }
.step .n { display: block; font-size: 44px; line-height: 1; color: var(--accent-text); margin-bottom: 22px; }
.step h3 { font-size: 19.5px; line-height: 1.5; }
.step p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.step .device { margin-top: auto; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; } }
@media (max-width: 620px) {
  /* swipeable row on phones (inner scroll only; the page never scrolls sideways) */
  .steps { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- device frame + drawn mock (real screenshots: site/public/shots/*.webp) ---------- */
.device {
  width: 100%; max-width: 300px; aspect-ratio: 9 / 19.5; position: relative; overflow: hidden;
  border: 10px solid var(--bezel); border-radius: 46px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line); container-type: inline-size;
}
.device::before { content: ""; position: absolute; z-index: 3; top: 8px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 999px; background: var(--bezel); }
.device.small { max-width: 240px; border-width: 8px; border-radius: 38px; }
.device.small::before { height: 16px; top: 7px; }
.device img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.device .screen { position: absolute; inset: 0; padding: 0 6.5cqw; display: flex; flex-direction: column; font-size: 4.3cqw; line-height: 1.5; color: var(--ink); }
.screen .m { display: contents; }
.m-status { display: flex; justify-content: space-between; align-items: center; height: 13cqw; padding-top: 2cqw; font-size: 0.85em; font-weight: 500; }
.m-sys { display: flex; gap: 0.25em; align-items: flex-end; }
.m-sys i { width: 0.3em; background: var(--ink); border-radius: 1px; }
.m-sys i:nth-child(1) { height: 0.45em; } .m-sys i:nth-child(2) { height: 0.65em; } .m-sys i:nth-child(3) { height: 0.85em; }
.m-head { display: flex; justify-content: space-between; align-items: center; margin: 1em 0 1.2em; }
.m-logo { width: 5.6em; }
.m-ic { display: inline-flex; width: 1.6em; height: 1.6em; color: var(--ink-2); }
.m-ic svg { width: 100%; height: 100%; }
.screen .m-title { font-size: 1.85em; line-height: 1.35; margin: 0; color: var(--ink); }
.screen .m-sub { color: var(--ink-3); font-size: 0.85em; margin: 0.15em 0 0.6em; }
.m-row { display: grid; grid-template-columns: 2.9em minmax(0, 1fr) auto; gap: 0.75em; align-items: center; padding: 0.75em 0; border-bottom: 1px solid var(--line); }
.m-bt { width: 2.9em; height: 2.9em; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; font-size: 1em; direction: ltr; }
.m-bt.lg { width: 4.6em; height: 4.6em; font-size: 1.15em; }
.m-mid { min-width: 0; }
.m-mid b { display: block; font-weight: 700; font-size: 0.98em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-mid small { display: block; color: var(--ink-3); font-size: 0.78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mid em { font-style: normal; color: var(--accent-text); font-weight: 500; }
.m-dot { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--accent); margin-inline-end: 0.35em; vertical-align: 0.05em; }
.m-u { text-align: center; line-height: 1.1; }
.m-u b { display: block; font-size: 1.35em; font-weight: 700; }
.m-u small { color: var(--ink-3); font-size: 0.7em; }
.m-tabs { margin: auto calc(-6.5cqw) 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); padding: 0.6em 0 1.5em; font-size: 0.66em; color: var(--ink-3); text-align: center; background: var(--paper); }
.m-tabs > span { display: flex; flex-direction: column; align-items: center; gap: 0.25em; }
.m-tabs .m-ic { width: 2em; height: 2em; color: inherit; }
.m-tabs .on { color: var(--ink); font-weight: 700; }
.m-tabs .m-pub .m-ic { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--accent-fill); color: var(--on-accent-fill); padding: 0.55em; margin-top: -0.3em; }
.m-step { font-size: 0.8em; color: var(--ink-3); margin: 1.2em 0 0.4em; }
.m-prog { height: 0.3em; border-radius: 999px; background: var(--line-strong); overflow: hidden; margin-bottom: 1.4em; }
.m-prog.thick { height: 0.45em; margin: 0.6em 0 0; }
.m-prog i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.m-prog i.w25 { width: 25%; } .m-prog i.w66 { width: 66%; }
.m-paper {
  flex: 0 0 auto; height: 42%; margin: 1em 0 0.8em; border: 1px solid var(--line-strong); border-radius: 0.7em; position: relative;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(to bottom, transparent 0 1.25em, var(--line) 1.25em calc(1.25em + 1px));
  background-clip: padding-box; background-origin: content-box; padding: 1.6em 1.2em;
}
.m-paper.sm { height: auto; aspect-ratio: 3 / 4; width: 55%; margin: 0; }
.m-stamp { position: absolute; inset-inline-end: 12%; bottom: 12%; width: 3.2em; height: 3.2em; border: 2px solid var(--ink-3); border-radius: 50%; opacity: 0.6; }
.m-split { display: flex; gap: 1em; align-items: center; margin: 1em 0 0.6em; }
.m-checks { list-style: none; margin: 0.6em 0 0; padding: 0; }
.m-checks li { display: flex; gap: 0.6em; align-items: center; padding: 0.55em 0; border-bottom: 1px solid var(--line); font-size: 0.95em; }
.m-checks .m-ic { width: 1.3em; height: 1.3em; color: var(--success); }
.m-foot { margin-top: auto; padding-bottom: 2.2em; display: grid; gap: 0.6em; }
.m-foot.two { grid-template-columns: 1fr 1.6fr; }
.m-btn { display: flex; gap: 0.4em; align-items: center; justify-content: center; height: 3.3em; border-radius: 0.85em; font-weight: 500; font-size: 0.95em; }
.m-btn .m-ic, .m-btn svg { width: 1.3em; height: 1.3em; }
.m-btn-p { background: var(--accent-fill); color: var(--on-accent-fill); }
.m-btn-s { border: 1.5px solid var(--ink); color: var(--ink); }
.screen .m-big { font-size: 3.2em; line-height: 1.2; margin: 0.6em 0 0; color: var(--ink); }
.m-lock { position: absolute; inset: 0; background: var(--surface-sunken); padding: 22cqw 5cqw 0; display: flex; flex-direction: column; align-items: center; }
.screen .m-clock { font-size: 4.4em; line-height: 1.1; margin: 0; color: var(--ink); }
.screen .m-date { margin: 0.2em 0 2.2em; color: var(--ink-2); font-size: 0.9em; }
.m-notif { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 1.2em; padding: 0.8em 1em 0.9em; display: grid; gap: 0.15em; margin-bottom: 0.6em; text-align: start; }
.m-notif b { font-size: 1em; }
.m-notif small { color: var(--ink-2); font-size: 0.82em; line-height: 1.5; }
.m-notif-h { display: flex; align-items: center; gap: 0.5em; font-size: 0.78em; color: var(--ink-3); margin-bottom: 0.2em; }
.m-notif-h .m-app { width: 1.7em; border-radius: 0.4em; }
.m-now { margin-inline-start: auto; }
.m-notif.ghost { opacity: 0.45; }
.m-notif.ghost b, .m-notif.ghost small { display: block; height: 0.7em; border-radius: 4px; background: var(--line-strong); }
.m-notif.ghost small { width: 70%; }

/* ---------- trust & privacy ---------- */
.facts { border-top: 1px solid var(--ink); }
.fact { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.fact-n { font-size: 26px; line-height: 1.4; color: var(--ink-3); }
.fact h3 { font-size: 20px; line-height: 1.5; }
.fact p { margin: 8px 0 0; color: var(--ink-2); font-size: 16.5px; max-width: 36em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-weight: 500; font-size: 18.5px; line-height: 1.55; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; position: relative;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--ink-2); transition: transform var(--t-std) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink); }
.faq .a { padding: 0 0 26px; color: var(--ink-2); max-width: 40em; }
.faq .a p { margin: 0 0 10px; }

/* ---------- developers ---------- */
.devs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dev { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--surface); }
.dev h3 { font-size: 26px; line-height: 1.45; }
.dev-top { display: flex; gap: 16px; align-items: center; min-width: 0; }
.dev-head { min-width: 0; }
.dev-head .caption { margin: 0; }
.dev-ava { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; background: var(--surface-sunken); }
.dev-ini { display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 20px; }
.dev-name { font-weight: 700; }
.dev-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.dev-links a { color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; }
.dev-links a:hover { color: var(--ink); }
.dev-links .li { width: 20px; height: 20px; flex: none; color: var(--ink); }
.li-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-width: 560px) { .devs { grid-template-columns: 1fr; } }

/* ---------- closing band (ink) ---------- */
.cta-band { margin-top: clamp(96px, 12vw, 160px); background: var(--band-bg); color: var(--band-ink); }
.cta-inner { padding-block: clamp(64px, 9vw, 112px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band .title, .cta-band h2 { color: var(--band-ink); max-width: 12em; }
.cta-band .lead { color: var(--band-ink-2); }
.cta-band + .site-foot { margin-top: 0; border-top: 0; }
.cta-band.inline { margin-top: 96px; border-radius: var(--r-lg); }
.cta-band.inline .cta-inner { padding-inline: clamp(24px, 5vw, 56px); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: clamp(96px, 12vw, 144px); padding-block: 56px 64px; font-size: 15px; color: var(--ink-2); }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-brand { display: block; width: 210px; }
.foot-brand .logo { width: 100%; }
.foot-tag { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.3; color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 40px; }
.foot-about p { margin: 0 0 10px; max-width: 30em; }
.foot-grid h2 { font-size: 13.5px; font-weight: 500; color: var(--ink-3); margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-grid ul a { text-decoration: none; display: inline-block; padding-block: 6px; }
.foot-grid ul a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-3); }
.foot-note p { margin: 0; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- inner page head + prose (legal) ---------- */
.page-head { padding-block: clamp(56px, 8vw, 96px) 40px; border-bottom: 1px solid var(--ink); margin-bottom: 48px; }
.page-head .title { font-size: clamp(40px, 7vw, 76px); line-height: 1.28; }
.page-head .lead { margin-top: 18px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 23px; line-height: 1.5; margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose > h2:first-child, .prose > .summary + h2 { margin-top: 0; }
.prose > h2:first-child { border-top: 0; padding-top: 0; }
.prose h3 { font-size: 18.5px; line-height: 1.5; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 18px; }
.prose ol { list-style: arabic-indic; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--ink-3); }
.prose .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; margin: 0 0 48px; }
.prose .summary > :last-child { margin-bottom: 0; }
.prose .summary li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.t th, table.t td { text-align: start; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
table.t th { font-weight: 500; color: var(--ink-2); font-size: 14px; border-bottom-color: var(--ink); }
/* FAQ answers and «خيارات أخرى» open smoothly: height + fade where ::details-content and interpolate-size exist
   (Chrome/Edge 131+, Android WebView), a short fade of the content elsewhere. Reduce motion: instant. */
@media (prefers-reduced-motion: no-preference) {
  .faq details, .dl-more { interpolate-size: allow-keywords; }
  .faq details::details-content, .dl-more::details-content {
    block-size: 0; overflow: clip; opacity: 0;
    transition: block-size var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease), content-visibility var(--t-slow) allow-discrete;
  }
  .faq details[open]::details-content, .dl-more[open]::details-content { block-size: auto; opacity: 1; }
  @supports not selector(::details-content) {
    .faq details[open] > .a, .dl-more[open] > :not(summary) { animation: open-in var(--t-slow) var(--ease) both; }
  }
}
@keyframes open-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

table.t td:first-child { font-weight: 500; }
.updated { color: var(--ink-3); font-size: 14px; }

/* ---------- download ---------- */
.dl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; }
.dl-card { padding-top: 0; }
.dl-ver { font-size: 15.5px; color: var(--ink-2); margin: 0 0 12px; }
.dl-auto { width: 100%; justify-content: center; margin-top: 8px; }
.dl-more { margin-top: 24px; border-top: 1px solid var(--line); }
.dl-more > summary { cursor: pointer; padding: 16px 0; color: var(--ink-2); font-weight: 500; min-height: 48px; }
.dl-notice { margin: 24px 0 0; }
.abi { border-bottom: 1px solid var(--line); padding: 24px 0; display: grid; gap: 10px; }
.abi-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.abi-head b { font-size: 19px; }
.abi .caption { margin: 0; }
.sha { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink-3); word-break: break-all; direction: ltr; text-align: left; unicode-bidi: isolate; margin: 0; }
.qr { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; color: #000; }
.qr svg { display: block; width: 100%; height: auto; }
.qr-cap { margin-top: 12px; text-align: center; }
.install { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--ink); }
.install li { border-bottom: 1px solid var(--line); padding: 24px 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; }
.install .n { font-size: 30px; line-height: 1.2; color: var(--accent-text); grid-row: span 2; }
.install b { font-weight: 700; font-size: 18px; }
.install p { margin: 0; color: var(--ink-2); font-size: 16px; }
.notes { margin: 0; padding-inline-start: 20px; color: var(--ink-2); }
.pending { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink-2); }
.pending p { margin: 0; }
.pending b { color: var(--ink); }
.dl-card .headline { margin-top: 40px; margin-bottom: 8px; }
.is-android .qr-box { display: none; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; gap: 48px; } .qr-box { max-width: 240px; } }

/* ---------- share page /r/ ---------- */
.req { padding-block: 48px 24px; }
.req-state { font-size: 15px; font-weight: 500; color: var(--ink-2); margin: 0 0 20px; display: flex; gap: 0; align-items: center; flex-wrap: wrap; white-space: pre-wrap; }
.req-state .urgent { color: var(--accent-text); display: inline-flex; align-items: center; gap: 8px; }
.req-state .urgent::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.req-top { display: flex; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.bt-big { font-size: clamp(84px, 22vw, 136px); line-height: 1.05; font-weight: 700; color: var(--accent-text); direction: ltr; unicode-bidi: isolate; letter-spacing: -0.01em; flex: none; }
.req-top h1 { font-size: clamp(22px, 4vw, 30px); line-height: 1.45; }
.req-top p { margin: 6px 0 0; color: var(--ink-2); }
.units { margin: 28px 0 0; }
.units-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; }
.units-line b { font-size: 21px; }
.bar { height: 4px; border-radius: 999px; background: var(--line-strong); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); width: 0; border-radius: inherit; }
.kv { margin: 32px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.kv dt, .kv dd { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--ink-3); font-size: 15px; padding-inline-end: 28px; }
.kv dd { font-weight: 500; overflow-wrap: anywhere; }
.req-actions { margin-top: 32px; display: grid; gap: 12px; }
.req-actions .caption { margin: 0; }
.req-actions .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.req .btn-row { margin-top: 24px; }
.safety { margin-top: 32px; padding: 4px 0; padding-inline-start: 16px; border-inline-start: 2px solid var(--accent); color: var(--ink-2); font-size: 15px; }
.get-app { margin-top: 72px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px clamp(20px, 5vw, 40px); display: grid; gap: 4px; }
.get-app .logo { width: 72px; margin-bottom: 16px; }
.get-app .caption { font-size: 15px; color: var(--ink-2); margin: 4px 0 20px; max-width: 30em; }
.state-box { padding: 56px 0; }
.state-box p { color: var(--ink-2); max-width: 32em; }
.loading-line { height: 14px; border-radius: 4px; background: var(--surface-sunken); margin: 14px 0; max-width: 60%; }
.loading-line:first-child { height: 96px; width: 120px; border-radius: var(--r-lg); }
@media (prefers-reduced-motion: no-preference) {
  .loading-line { animation: pulse 1.6s ease-in-out infinite alternate; }
  @keyframes pulse { from { opacity: 0.5; } to { opacity: 1; } }
}
@media (max-width: 420px) { .req-top { gap: 18px; } }

/* ---------- impact ---------- */
.imp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-head.flush { margin-bottom: 0; }
.imp-grid .stat { border-bottom: 1px solid var(--line); padding-block: 32px; }
.imp-grid .stat:nth-child(3n+1) { border-inline-start: 0; padding-inline-start: 0; }
.imp-grid small { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 720px) {
  .imp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .imp-grid .stat:nth-child(3n+1) { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
  .imp-grid .stat:nth-child(2n+1) { border-inline-start: 0; padding-inline-start: 0; }
}
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: end; height: 240px; margin-top: 28px; border-bottom: 1px solid var(--ink); }
.mbar { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: 12px; color: var(--ink-3); padding-bottom: 8px; }
.mbar-col { width: 100%; max-width: 36px; flex: 1; display: flex; align-items: flex-end; }
.mbar-col i { display: block; width: 100%; background: var(--ink); border-radius: 3px 3px 0 0; min-height: 0; }
.mbar:last-child .mbar-col i { background: var(--accent); }
.mbar-v { color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* period switch (اليوم / الشهر / السنة / الكل) + bars by hour/day/month — client/impact.js */
.period-switch { display: flex; gap: 4px; padding: 4px; margin: 0 0 20px; max-width: 440px; border-radius: var(--r-md); background: var(--surface-sunken); }
.period-switch button { flex: 1; min-width: 0; min-height: 44px; padding: 0 8px; border: 1px solid transparent; border-radius: calc(var(--r-md) - 4px); background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.period-switch button[aria-checked="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 600; }
.stats[aria-busy="true"] b, .imp-grid[aria-busy="true"] b { opacity: 0.45; }
.mbar { min-width: 0; }
.bars.dense { gap: 2px; }
.bars.dense .mbar { font-size: 11px; }
.bars[data-unit] .mbar:last-child .mbar-col i { background: var(--ink); }
.bars[data-unit] .mbar.cur .mbar-col i { background: var(--accent); }
.gov-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--ink); }
.gov-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 56px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.g-bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.g-bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.gov-list b { text-align: end; font-variant-numeric: tabular-nums; }

/* ---------- notices ---------- */
.notice { padding: 4px 0; padding-inline-start: 16px; border-inline-start: 2px solid var(--ink); color: var(--ink-2); margin: 20px 0; }
/* medical notice: short, visible where it matters (home near the CTA, /r/<id>, /download); full text on /disclaimer */
.med-notice { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-sunken); color: var(--ink); font-size: 15.5px; line-height: 1.7; max-width: 40em; }
.med-notice svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--ink-2); }
.med-notice p { margin: 0; }
.med-notice a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; padding-block: 12px; }
.notice.bad { border-color: var(--danger); }
.toast { position: fixed; inset-inline: 16px; bottom: 24px; margin-inline: auto; max-width: 420px; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-md); font-size: 15px; text-align: center; z-index: 40; }

/* ---------- old app (TWA «نداء دم») — visitors only, class set by boot.js ---------- */
.old-app-note { display: none; background: var(--band-bg); color: var(--band-ink); }
.from-old-app .old-app-note { display: block; }
.old-app-note .wrap { padding-block: 32px 36px; }
.old-app-k { margin: 0 0 6px; font-size: 14px; color: var(--band-ink-2); }
.old-app-t { color: var(--band-ink); font-size: clamp(24px, 4.4vw, 34px); line-height: 1.4; }
.old-app-note p { margin: 10px 0 0; max-width: 40em; color: var(--band-ink-2); }
.old-app-steps { list-style: arabic-indic; margin: 16px 0 24px; padding-inline-start: 22px; display: grid; gap: 4px; color: var(--band-ink); max-width: 40em; }
.old-app-note .btn-text { color: var(--band-ink); text-decoration: underline; text-decoration-color: var(--band-line); }
@media (prefers-color-scheme: dark) { .old-app-note { border-bottom: 1px solid var(--line); } }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(72px, 12vw, 144px) 40px; }
.nf-code { font-size: clamp(96px, 20vw, 200px); line-height: 1.05; color: var(--ink); margin: 0 0 8px; }
.nf-code .ol-w { color: var(--ink); }
.nf .hero-cta { margin-top: 36px; }

/* ---------- reveal on scroll (only when JS runs; content is visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.logo-anim), *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-head nav, .site-foot, .btn, .cta-band, .old-app-note { display: none !important; }
  body { background: #fff; color: #000; }
}

/* the closing ink band sits directly on the footer */
main:has(> .cta-band:last-child) + .site-foot { margin-top: 0; border-top: 0; }
@media (max-width: 560px) { .foot-top { flex-direction: column; align-items: flex-start; } }

