/* NeverLate UAE — one stylesheet, ONE layer (cleaned 21 Nov 2026).
   ⛔ Change a rule IN PLACE. Never append «round N» overrides at the end: layered fixes are what broke the page on 21 Nov.
   After any edit: python3 build.py (new ?v= stamp), then tests/browser/check_static.py (fails on a stale stamp). */

/* Markazi WOFF2 subsets (fonttools 4.60.2, 21 Nov): Latin ~25 KB, Arabic ~39 KB, each loads only when its characters appear. Source: design/type/fonts/Markazi.ttf. Remake: see README. */
@font-face{font-family:"Markazi";src:url(/fonts/markazi-latin.woff2) format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Markazi";src:url(/fonts/markazi-arabic.woff2) format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200F,U+25CC,U+FB50-FDFF,U+FE70-FEFF}

/* ---------- tokens: BRAND LOCK «Deep ink» (design/design-brief.md). Light only — dark mode removed 21 Nov, to be designed properly later. ---------- */
:root{color-scheme:light;
  --bg:#EFE8DC; --card:#FBF8F2; --ink:#161B26; --muted:#4F5562; --line:#DCD2C1;
  --brand:#2438C4; --brand-ink:#ffffff; --late:#A8402A;
  --ok:#2F6B4C; --ok-bg:#E6EEE5; --warn:#8A5A00; --warn-bg:#F6ECD6; --bad:#A8402A; --bad-bg:#F6E4DE;
  --r:14px; --shadow:0 1px 2px rgba(22,27,38,.05),0 10px 30px rgba(22,27,38,.07);
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --serif:"Markazi",Georgia,"Times New Roman",serif;
  --pavement:#C3A090;   /* the paving at the foot of the hero wall → «How it works» starts in this colour */
}
html[lang=ar]{--font:system-ui,-apple-system,"SF Arabic","Geeza Pro","Noto Sans Arabic","Segoe UI",Tahoma,sans-serif;--serif:"Markazi","Geeza Pro",serif}

/* ---------- base ---------- */
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);line-height:1.55;-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
h1,h2,h3,.serif{font-family:var(--serif);font-weight:600;letter-spacing:0}
h1{font-size:clamp(34px,7vw,48px);line-height:1.08;margin:0 0 12px;text-wrap:balance}
html[lang=ar] h1,html[lang=ar] h2{line-height:1.35}
.wrap{max-width:720px;margin:0 auto;padding:0 16px}
.wide{max-width:1120px;margin:0 auto;padding:0 20px}
.muted{color:var(--muted)} .tiny{font-size:13px} .ok{color:var(--ok)} .bad-t{color:var(--bad)}
html[lang=ar] .only-en{display:none} html:not([lang=ar]) .only-ar{display:none}

/* ---------- header ---------- */
.top{position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--card) 90%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.top-in{display:flex;align-items:center;justify-content:space-between;height:56px}
.brand{display:flex;gap:10px;align-items:center;font-family:var(--serif);font-size:26px;font-weight:600;color:var(--ink);text-decoration:none}
.brand .coin{width:34px;height:34px;border-radius:50%;display:block}
.lang{display:inline-block;text-decoration:none;line-height:normal;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:999px;padding:4px 14px;font-family:var(--serif);font-size:18px;cursor:pointer}
/* 23 Nov speed: on English pages the «العربية» button alone pulled the 38 KB Arabic Markazi font (unicode-range) — the phone's own Arabic font here */
html[lang=en] .lang{font-family:system-ui,-apple-system,"Segoe UI","Geeza Pro","Noto Naskh Arabic",sans-serif;font-size:16px}

/* ---------- cards, forms, buttons (tool pages + reminder) ---------- */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:20px}
.tool{margin-top:8px}
.tool-head h2,.remind h2,.how h2{font-size:clamp(24px,4.6vw,30px);line-height:1.15;margin:6px 0 4px}
.tool-h1{font-size:clamp(30px,6vw,40px);line-height:1.1;margin:6px 0 4px}
.badge{display:inline-block;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;background:var(--brand);color:var(--brand-ink)}
.muted-b{background:var(--line);color:var(--muted)}
.seg{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}
.seg button{flex:1 1 auto;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:10px;padding:10px 12px;font:inherit;font-size:15px;cursor:pointer}
.seg button.on{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:600}
.pane{display:grid;gap:14px}
label{display:grid;gap:6px;font-weight:500;font-size:15px}
label.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:14px;min-height:44px}
label.check input{width:20px;height:20px;flex:none;margin-top:1px}   /* was 13 px — too small to tap (audit 23 Nov) */
input,select{width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
/* iOS Safari: an EMPTY date box grew wider than its card (Sia's iPhone, 23 Nov) — pin it to the card and give it a height */
input[type=date]{display:block;max-width:100%;min-width:0;min-height:48px;-webkit-appearance:none;appearance:none}
input[type=date]::-webkit-date-and-time-value{text-align:start;min-height:1.5em}
input:focus,select:focus,button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.go{border:0;background:var(--brand);color:var(--brand-ink);font:inherit;font-weight:600;font-size:16px;padding:13px 22px;border-radius:999px;cursor:pointer}
.go:hover{filter:brightness(.95)}
.cta{display:inline-block;margin-top:10px;font-weight:600;color:var(--brand)}
.sub{font-size:16px;margin:8px 0 0;color:var(--brand)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px;border:0;padding:0}
.chips legend{width:100%;padding:0;margin-bottom:8px;color:var(--ink)}
.chip{font:inherit;font-size:15px;min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--muted)}
button.chip{cursor:pointer;color:var(--ink)}
.chip.soon{display:inline-flex;align-items:center;font-size:13px;opacity:.65}
.chip.on{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:600}
fieldset.when{border:0;padding:0;margin:0;display:grid;gap:2px}
fieldset.when legend{padding:0;margin-bottom:6px;font-weight:600}
fieldset.when label.check{font-size:16px;align-items:center;min-height:44px}   /* 26 Nov phone test: rows were 25 px — 44 px = Apple's minimum tap height */
.go.tg{display:inline-block;margin-top:10px;text-decoration:none}

/* ---------- accounts (27 Nov 2026): header link, sign-in sheet, /account/ ---------- */
.top-r{display:flex;align-items:center;gap:10px;flex:none}
.acct{color:var(--ink);font-size:15px;font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 4px;white-space:nowrap}
.brand{white-space:nowrap;min-width:0}
/* 27 Nov phone test: with the account link the Arabic header wrapped to two lines and clipped. Small phones: smaller brand. */
@media (max-width:420px){.top .brand{font-size:21px;gap:8px}.top .brand .coin{width:30px;height:30px}.top-r{gap:6px}.lang{padding:4px 10px}}
.acct:hover{color:var(--brand)}
dialog.sheet{border:0;padding:24px 20px 20px;border-radius:var(--r);background:var(--card);color:var(--ink);width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 20px 60px rgba(22,27,38,.25)}
dialog.sheet::backdrop{background:rgba(22,27,38,.45)}
dialog.sheet h2{font-size:clamp(24px,5vw,28px);line-height:1.2;margin:0 32px 6px 0}
html[lang=ar] dialog.sheet h2{margin:0 0 6px 32px}
dialog.sheet .pane{margin:14px 0 10px}
dialog.sheet .go{width:100%}
dialog.sheet a{color:var(--brand)}
dialog.sheet .pane,.acct-page .pane{grid-template-columns:minmax(0,1fr)}   /* a long email must wrap, never widen the form */
dialog.sheet bdi,.acct-page bdi{overflow-wrap:anywhere}
#delete .card{margin-top:12px}
@media (max-width:520px){dialog.sheet{margin:auto 0 0;width:100vw;max-width:100vw;border-radius:var(--r) var(--r) 0 0;padding-bottom:max(20px,env(safe-area-inset-bottom))}}
.x-f{position:absolute;top:8px;inset-inline-end:8px;margin:0}
.x{width:44px;height:44px;border:0;background:transparent;color:var(--muted);font-size:28px;line-height:1;cursor:pointer;border-radius:50%}
.g-slot{display:flex;justify-content:center;min-height:44px;margin:16px 0 6px}
#si_terms_l{margin:14px 0 6px} .tp-links{margin:4px 0 14px}
.ts-slot{display:flex;justify-content:center}.ts-slot:not(:empty){margin:10px 0}
.or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;margin:12px 0 0}
.or::before,.or::after{content:"";flex:1;border-top:1px solid var(--line)}
.linkish{border:0;background:none;padding:0;font:inherit;color:var(--brand);font-weight:600;cursor:pointer;min-height:44px}
input.code{font-family:Menlo,Consolas,monospace;font-size:24px;letter-spacing:.3em;text-align:center}
.acct-page h1{margin:24px 0 16px}
.acct-page .card+.card{margin-top:16px}
.acct-page .card h2{font-size:clamp(22px,4.4vw,26px);margin:0 0 10px}
.rem-list{list-style:none;margin:0 0 10px;padding:0}
.rem{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.rem:last-child{border-bottom:0}
.go.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.go.danger{background:var(--bad);color:#fff}
.danger-link,.danger-t{color:var(--bad);font-weight:600}
.danger-link{display:inline-flex;align-items:center;min-height:44px}
#r_done label.check{margin-top:10px}
.row{display:flex;gap:8px;margin:14px 0 8px} .row input{flex:1}
.soon{display:grid;grid-template-columns:1fr;gap:12px;margin:12px 0 0}
.mini h3{font-size:16px;margin:8px 0 0}
#cost,#renew{margin-top:16px}
@media (max-width:520px){.row{flex-direction:column}.seg button{flex-basis:100%}}

/* ---------- results ---------- */
.result{margin-top:18px;border-radius:12px;padding:16px;border:1px solid var(--line)}
.result.ok{background:var(--ok-bg);border-color:transparent}
.result.warn{background:var(--warn-bg);border-color:transparent}
.result.bad{background:var(--bad-bg);border-color:transparent}
.big{font-size:28px;font-weight:700;margin:2px 0 6px}
.ok .big{color:var(--ok)} .warn .big{color:var(--warn)} .bad .big{color:var(--bad)}
.result p{margin:6px 0}
.result h4{margin:12px 0 2px;font-size:15px}
.result .src{font-size:13px;color:var(--muted);border-top:1px solid color-mix(in srgb,var(--ink) 12%,transparent);margin-top:12px;padding-top:10px}
.result a{color:inherit}
.result table{width:100%;border-collapse:collapse;margin:8px 0;font-size:15px}
.result td{padding:4px 0}
.result td:last-child{text-align:end;font-variant-numeric:tabular-nums}
.result tr.tot td{border-top:1px solid color-mix(in srgb,var(--ink) 15%,transparent);font-weight:700;padding-top:8px}

/* ---------- guides, crumbs, related (tool pages) ---------- */
.guide{margin-top:22px;border-top:1px solid var(--line);padding-top:6px}
.guide h2,.guide h3{font-size:17px;margin:14px 0 4px}
.guide details{border-bottom:1px solid var(--line);padding:0} .guide details[open]{padding-bottom:10px}
.guide summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:10px 0;box-sizing:border-box}   /* 26 Nov phone test: was 25 px tall — 44 px = Apple minimum tap height */
.guide summary::-webkit-details-marker{display:none}
.guide summary::after{content:"+";flex:none;color:var(--muted)}   /* was float → wrapped under the line on long questions (audit 23 Nov) */
.guide details[open] summary::after{content:"–"}
.guide p{margin:8px 0 0;color:var(--muted)}
.guide .lead-p{color:var(--ink);margin:6px 0 4px}
.guide a{color:var(--brand);font-weight:600}
.how{margin-top:12px}
.other-fines{margin:18px 0 0;font-size:14px;color:var(--muted)} .other-fines a{color:var(--brand);font-weight:600;margin-inline-start:6px}
nav.crumbs{font-size:14px;margin:16px 0 0} nav.crumbs a{color:var(--brand)}
nav.crumbs .sep{color:var(--muted);margin:0 6px} nav.crumbs [aria-current]{color:var(--muted)}
.related h2{font-size:20px;margin:8px 0 12px}
.rel-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.more-tools{margin:16px 0 0;font-size:15px;line-height:1.9;color:var(--muted)}.more-tools a{white-space:nowrap}
.card.rel{display:block;text-decoration:none;color:inherit} .card.rel h3{margin:0 0 6px;font-size:17px}
.go-link{color:var(--brand);font-weight:600;margin-top:6px;display:inline-block}
.doc{padding:8px 16px 24px} .doc h1{font-size:28px;margin:16px 0 4px} .doc h2{font-size:18px;margin:22px 0 6px} .doc li{margin:6px 0}
/* ---------- articles (/guides/…, 26 Nov) ---------- */
.article{line-height:1.6} .article h1{font-size:clamp(28px,6vw,38px);line-height:1.15;margin:16px 0 6px;text-wrap:balance}
.doc.article h2{font-size:clamp(24px,5.6vw,28px);line-height:1.2;margin:34px 0 8px} .doc.article h3{font-size:21px;line-height:1.25;margin:22px 0 4px}
.article p,.article li{font-size:17px} .article ul{padding-inline-start:22px}
.article .answer{margin:18px 0 8px} .doc.article .answer h2{margin:0 0 4px;font-size:22px} .article .answer .go{display:inline-block;margin-top:8px;text-decoration:none}
.small{font-size:14px}
.tbl{overflow-x:auto;margin:10px 0} .tbl table{width:100%;border-collapse:collapse;font-size:15px}
.tbl th,.tbl td{text-align:start;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top} .tbl th{color:var(--muted);font-weight:600}
.article .src li{font-size:15px} .article a{color:var(--brand)}
.article .answer a.go{color:var(--brand-ink)}
.read-guide{margin:14px 0 0} .read-guide a{color:var(--brand);font-weight:600}
#remind{margin:28px auto 8px}

/* ---------- home: section titles ---------- */
.sec{padding:72px 0}
h2.t{font-size:clamp(34px,5.6vw,52px);text-align:center;margin:0 0 36px;line-height:1.1}

/* ---------- home: THE SCENE = one generated tall photo: sky + palms, then ONE continuous wall (src/visuals/scene3/tall-2.png,
   1792×2400; blue band at 31.1–31.7 % of its height). The six paper cut-outs sit on that wall. Nothing is pasted or layered.
   Desktop: the photo is 100vw wide (133.9vw tall). Phone: the photo is 1300px tall and covers the scene (palms kept in view).
   ★ 23 Nov (Sia: empty wall between the papers and «How it works»): the scene ENDS just under the papers — .wallsec is in flow
   and the scene's height = its content + a short fade; it was a fixed 75 % / 1300px, which left ~375px of bare wall on phones. All positions = % of the photo's height.
   SKY (Sia 21 Nov pm): last night's palm/cloud clip covers the photo's sky down to --cut = the bottom of the blue band
   (photo band bottom = 31.67 % of its height; clip band bottom = 70.03 % of 1280×714 desktop, 79.88 % of 720×1292 phone).
   Phone: --cut follows the phone clip, and the photo + papers move down by --shift so the two bands meet. ---------- */
.scene{position:relative;overflow:hidden;color:#161B26;--ph:calc(100vw * 2400 / 1792);--cut:calc(var(--ph) * .3167);--shift:0px;padding-bottom:clamp(90px,9vw,150px)}
.scene-bg{position:absolute;left:0;right:0;top:var(--shift);height:var(--ph);z-index:-1}
.sky{position:absolute;left:0;right:0;top:calc(0px - var(--shift));height:var(--cut);overflow:hidden}
.sky img,.sky video{position:absolute;display:block;width:108.6vw;height:calc(108.6vw * 714 / 1280);left:-6vw;top:calc(var(--cut) - 108.6vw * 714 / 1280 * .7003);object-fit:cover}
.sky video{opacity:0;transition:opacity 1.2s ease}.sky video.on{opacity:1}
.scene-bg .tall,.scene-bg .tall img{display:block;width:100%;height:100%;object-fit:cover;object-position:72% 0}
.scene::after{content:"";position:absolute;left:0;right:0;bottom:0;height:clamp(70px,7vw,120px);background:linear-gradient(rgba(239,232,220,0),var(--bg));pointer-events:none}
/* hero copy: in the open sky, left of the palms (both languages; the photo is not mirrored) */
.hero2{position:absolute;left:0;right:0;top:0;height:calc(var(--ph) * .29);display:grid;place-items:center start;text-align:center}
html[dir=rtl] .hero2{direction:ltr} html[dir=rtl] .hero2 .in{direction:rtl}
/* physical LEFT (23 Nov): .in is direction:rtl on /ar/, so margin-inline-start landed on the RIGHT and the Arabic copy hugged the left edge */
.hero2 .in{width:min(50vw,640px);margin-left:max(5vw,calc(50vw - 640px))}
.hero2 h1{font-size:clamp(40px,5.4vw,80px);line-height:1.02;margin:0 0 14px}
.hero2 .lead{color:#161B26;font-size:clamp(16px,2vw,21px);max-width:600px;margin:0 auto;text-shadow:0 1px 0 rgba(251,248,242,.5)}
.hero-cta{display:inline-block;margin-top:24px;text-decoration:none;font-size:18px;padding:15px 30px;box-shadow:0 8px 24px rgba(36,56,196,.28)}
/* «Pick your situation»: the six papers on the wall, just under the blue band */
.wallsec{position:relative;margin-top:calc(var(--ph) * .345)}
.wallsec .wide{max-width:1280px}
.wallsec h2.t{color:#161B26;font-size:clamp(32px,3.6vw,60px);margin:0 0 2.6vw;text-shadow:0 1px 0 rgba(255,244,225,.6)}
.papers{display:grid;grid-template-columns:repeat(6,1fr);gap:clamp(10px,2vw,28px);align-items:end}
.paper{display:flex;flex-direction:column;align-items:center;gap:14px;text-decoration:none;color:#161B26}
.paper picture{display:block;width:100%;max-width:min(200px,12vw)}
.paper img{display:block;width:100%;height:auto;transform:rotate(var(--r,0deg));filter:drop-shadow(7px 9px 9px rgba(70,45,15,.32)) drop-shadow(2px 2px 2px rgba(70,45,15,.24));transition:transform .3s cubic-bezier(.23,1,.32,1)}
.paper:hover img,.paper:focus-visible img{transform:rotate(0deg) translateY(-6px) scale(1.04)}
.paper span{font-family:var(--serif);font-weight:600;font-size:clamp(20px,1.8vw,26px);line-height:1.1;text-align:center;white-space:nowrap;text-shadow:0 1px 0 rgba(255,244,225,.65)}
.paper:focus-visible{outline:2px solid #2438C4;outline-offset:6px;border-radius:6px}
@media (max-width:899px){
  .scene{--ph:1300px;--cut:min(143.33vw,700px);--shift:calc(var(--cut) - 1300px * .3167);padding-bottom:84px}
  .sky img,.sky video{width:100vw;height:calc(100vw * 1292 / 720);left:0;top:calc(var(--cut) - 100vw * 1292 / 720 * .7988)}
  .scene-bg .tall img{object-position:62% 0}
  .hero2 .in{padding:14px 10px 18px;border-radius:28px;background:radial-gradient(closest-side,rgba(246,240,230,.82),rgba(246,240,230,.55) 70%,rgba(246,240,230,0))}
  .scene::after{height:70px}
  .hero2{place-items:start center;padding-top:44px;height:calc(var(--cut) - 20px)}
  .hero2 .in{width:auto;margin:0 20px}
  .hero2 h1{font-size:clamp(34px,9vw,48px)}
  .wallsec{margin-top:calc(var(--ph) * .35 + var(--shift))}
  .wallsec h2.t{font-size:clamp(30px,8vw,44px);margin-bottom:28px}
  .papers{grid-template-columns:repeat(3,1fr);row-gap:30px}
  .paper picture{max-width:min(140px,26vw)}
  .paper span{white-space:normal;font-size:clamp(16px,4.4vw,21px)}
  .hiw{padding-top:48px}
}

/* ---------- home: how it works (starts in the pavement colour, then the shadow plate) ---------- */
.hiw{padding-top:96px;background:var(--bg) no-repeat center/cover;
  background-image:linear-gradient(rgba(239,232,220,0) 78%,var(--bg)),linear-gradient(var(--bg),var(--bg) 30%,rgba(239,232,220,0) 70%),image-set(url(/img/shadow.avif) type("image/avif"),url(/img/shadow.jpg) type("image/jpeg"))}
.hiw h2.t{font-style:italic;text-align:center;max-width:1080px;margin-inline:auto;padding:0 20px}
.rail{list-style:none;margin:56px auto 0;padding:0 20px;max-width:1080px;display:grid;grid-template-columns:repeat(3,1fr);position:relative}
.rail::before{content:"";position:absolute;top:21px;inset-inline:calc(20px + 16.6%);height:2px;background:linear-gradient(to right,var(--ink) 0 50%,var(--brand) 50% 100%)}
html[dir=rtl] .rail::before{background:linear-gradient(to left,var(--ink) 0 50%,var(--brand) 50% 100%)}
.rail li{text-align:center;position:relative}
.rail b{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 14px;border-radius:50%;background:var(--ink);color:var(--bg);font-family:var(--serif);font-size:24px;font-weight:600}
.rail li:last-child b{background:var(--brand);color:#fff}
.rail h3{font-size:clamp(26px,2.8vw,32px);margin:0 0 6px}
.rail p{margin:0 auto;max-width:280px;color:var(--muted);font-size:18px;line-height:1.45;text-wrap:balance}
@media (max-width:640px){
  /* Sia 23 Nov: steps centred down the middle of the phone, bigger text (was a left-hand rail) */
  /* 23 Nov, 2nd pass (Sia: «way larger than before … compact everything»): number sits beside the title, tight gaps, less padding */
  .hiw{padding-top:40px;padding-bottom:36px}
  .hiw h2.t{margin-bottom:0}
  .rail{grid-template-columns:1fr;gap:22px;margin-top:22px}
  .rail::before{display:none}
  .rail li{text-align:center}
  .rail b{display:inline-grid;vertical-align:middle;width:40px;height:40px;font-size:22px;margin:0;margin-inline-end:12px}
  .rail h3{display:inline;vertical-align:middle;margin:0}
  .rail p{margin-top:6px}
  #remind{padding-top:28px;margin-top:0}
}

/* ---------- home: the reminder (phone in a stone niche + sign-up card) ---------- */
.rem2{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;max-width:1180px;margin:0 auto;padding:0 20px}
/* 24 Nov (Sia): square crop of the original niche (src/visuals/kit/reminder-niche.png, x 101–1637) so nothing is cut off; the phone sits at x 45–57.7 %, top 50.8 % */
.rem2 .nscene{position:relative;border-radius:6px;overflow:hidden;aspect-ratio:1/1}
.rem2 .nscene picture{display:block;height:100%}
.rem2 .nscene img{width:100%;height:100%;object-fit:cover;display:block}
/* the reminder «arriving»: a notification floating just above the phone (Sia 24 Nov) */
.rem2 .note{position:absolute;left:51.3%;bottom:52%;width:36%;transform:translateX(-50%);background:rgba(251,248,242,.97);border-radius:12px;padding:8px 11px 9px;box-shadow:0 12px 26px rgba(40,24,8,.22),0 1px 3px rgba(40,24,8,.14);font-family:var(--serif);font-size:clamp(11px,1.2vw,15px);line-height:1.2;color:#161B26;text-align:start}
.rem2 .note::before{content:"NeverLate";display:block;margin-bottom:3px;padding-inline-start:17px;background:url(/img/coin-68.webp) no-repeat 0 50%/13px 13px;font:600 10px/1.4 var(--font);letter-spacing:.02em;color:#5d6470}
[dir=rtl] .rem2 .note::before{background-position:100% 50%}
@media (min-width:861px){.rem2 .nscene{position:sticky;top:96px}}
@media (max-width:860px){.rem2{grid-template-columns:1fr;gap:0}.rem2 .nscene{max-width:520px;width:100%;margin:0 auto}.rem2 .note{width:46%}.rem2 .remind{margin:-24px 12px 0;position:relative}}

/* ---------- home: where our numbers come from (paper ledger + stamp) ---------- */
.ledger{position:relative;max-width:760px;margin:20px auto 0;background:var(--card);padding:44px clamp(20px,5vw,56px) 40px;border-radius:2px;box-shadow:0 1px 1px rgba(22,27,38,.06),0 18px 40px rgba(22,27,38,.10)}
.ledger table{width:100%;border-collapse:collapse;font-family:var(--serif);font-size:clamp(18px,2.2vw,22px)}
.ledger td{padding:12px 0;border-bottom:1px solid color-mix(in srgb,var(--ink) 55%,transparent)}
.ledger td+td{text-align:end;color:var(--muted)}
.ledger .p{margin:18px 0 0;color:var(--muted);font-size:15px}
.sec:has(> .wide > .ledger){padding-bottom:56px}
.stamp{position:absolute;inset-inline-end:-44px;top:-58px;width:118px;height:118px;border:3px double #2438C4;border-radius:50%;display:grid;place-items:center;text-align:center;color:#2438C4;font-family:var(--serif);font-weight:600;font-size:21px;line-height:1.05;transform:rotate(-14deg);opacity:.9;background:color-mix(in srgb,var(--card) 70%,transparent)}
@media (max-width:640px){.ledger{margin-top:44px}.stamp{width:92px;height:92px;font-size:17px;inset-inline-end:-2px;top:-34px}}

/* ---------- footer: night with a thin ultramarine horizon ---------- */
.foot{background:#0F131B;color:#C9C3B8;border-top:2px solid #2438C4;padding:48px 0 36px;margin-top:72px;font-size:14px}
.foot .fgrid{display:flex;flex-wrap:wrap;gap:28px 56px;align-items:flex-start;justify-content:space-between}
.foot .brand{color:#EFE8DC}
.foot a{color:#EFE8DC;display:inline-block;padding:8px 0}   /* bigger tap area (audit 23 Nov) */
.foot .muted{color:#9C978E}
.foot .indep{border-top:1px solid #222a38;margin-top:28px;padding-top:18px;text-align:center;font-size:13px;color:#9C978E}

@media (prefers-reduced-motion:reduce){.sky video{display:none}.paper img{transition:none}}
