/* The Witty Monkey. Mint for the machine's world, a white sheet for reading, the machine's dark turquoise for the finale. */
:root { --t50: #EEF8F7; --t100: #D5EFEC; --t300: #6FCBC3; --t400: #35B2A8; --t500: #14A098; --t600: #0E857E; --t900: #0F2E2E; --t950: #0A1E1F; --inkc: #0F1E1E;
  --ar: "Readex Pro", Tahoma, sans-serif; --en: "Readex Pro", "Helvetica Neue", Arial, sans-serif;
  --strike: cubic-bezier(.3,0,.1,1); --feed: cubic-bezier(.2,.7,.2,1); --lf: 32px; --nazil: #FF7A1A; }
:root, [data-theme="light"] { --bg: #D5EFEC; --hdr: rgba(213,239,236,.88); --ink: #0F1E1E; --mute: rgba(15,30,30,.76); --soft: rgba(15,30,30,.64); --line: rgba(15,30,30,.13);
  --sheet: #FFFFFF; --sheet-ink: #0F1E1E; --rule: rgba(15,30,30,.12); --desk: #EEF8F7; --machine: #0F2E2E; --mark: rgba(20,160,152,.34); --tag: #0C7A73;
  --btn: #0F2E2E; --btn-ink: #FFFFFF; --focus: #14A098; --nz-bg: rgba(255,122,26,.14); --nz-ink: #B34F00; color-scheme: light; }
[data-theme="dark"] { --bg: #0F2E2E; --hdr: rgba(15,46,46,.88); --ink: #FFFFFF; --mute: rgba(255,255,255,.78); --soft: rgba(255,255,255,.66); --line: rgba(255,255,255,.16);
  --sheet: #0A1E1F; --sheet-ink: #FFFFFF; --rule: rgba(255,255,255,.14); --desk: #0F2E2E; --machine: #0F1E1E; --mark: rgba(53,178,168,.6); --tag: #6FCBC3;
  --btn: #EEF8F7; --btn-ink: #0F1E1E; --focus: #35B2A8; --nz-bg: rgba(255,122,26,.18); --nz-ink: #FF9A4D; color-scheme: dark; }
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; } .lenis.lenis-smooth { scroll-behavior: auto !important; } .lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ar); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
html[data-lang="en"] body { font-family: var(--en); line-height: 1.6; }
[data-show="en"] { display: none; } html[data-lang="en"] [data-show="ar"] { display: none; } html[data-lang="en"] [data-show="en"] { display: revert; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
html[data-lang="en"] h1, html[data-lang="en"] h2 { letter-spacing: -.025em; }
p { text-wrap: pretty; }
bdi, .bidi { unicode-bidi: isolate; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.mark { background: linear-gradient(var(--mark), var(--mark)) no-repeat; background-size: var(--m, 0%) 34%; background-position: 0 86%; padding: 0 .06em; }
html[dir="rtl"] .mark { background-position: 100% 86%; }
.skip { position: fixed; z-index: 60; top: 8px; inset-inline-start: 8px; padding: 10px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); text-decoration: none; font-size: 15px; transform: translateY(-180%); transition: transform .2s var(--feed); }
.skip:focus { transform: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; background: var(--btn); color: var(--btn-ink); border: 0; border-radius: 999px; font: inherit; font-size: 16.5px; font-weight: 500; line-height: 1.2; cursor: pointer; text-decoration: none; box-shadow: 0 0 0 3px var(--t500) inset; transition: transform 140ms var(--strike); }
.btn:active { transform: translateY(2px); }
.btn.ghost { background: none; color: inherit; box-shadow: 0 0 0 1.5px currentColor inset; }
.tlink { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--t500); padding-bottom: 1px; display: inline-block; padding-top: 8px; margin-top: -8px; line-height: 1.9; }
.tlink:hover { border-bottom-width: 3px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.ph { display: none; }

/* header */
.top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: calc(64px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(18px, 4vw) 0; display: flex; align-items: center; gap: 22px; background: var(--hdr); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.lk { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; gap: .55em; direction: ltr; color: inherit; text-decoration: none; font-size: 17px; flex: none; }
.lk svg { width: 2.1em; height: 2.1em; flex: none; }
.wm { display: flex; flex-direction: column; font: 600 1em/.94 var(--en); letter-spacing: -.02em; }
.nav { display: flex; gap: 22px; }
.nav a, .lang { font-size: 15px; color: var(--mute); text-decoration: none; padding: 8px 0; }
.nav a:hover, .lang:hover, .nav a[aria-current] { color: var(--ink); }
html[data-lang="ar"] .lang { font-family: var(--en); } html[data-lang="en"] .lang { font-family: var(--ar); }
.sp { margin-inline-start: auto; }
.tbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--mute); cursor: pointer; display: grid; place-items: center; padding: 0; }
.tbtn:hover, .tbtn[aria-pressed="true"] { color: var(--ink); }
.tbtn svg { width: 18px; height: 18px; }
.cbtn { display: inline-flex; align-items: center; height: 44px; white-space: nowrap; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.cbtn:hover { border-color: var(--ink); }
.mbtn { display: none; }

/* sheets: contact and menu */
.sheet { position: fixed; inset: 0; z-index: 50; display: none; background: rgba(10,30,31,.45); }
.sheet.open { display: block; }
.sheet .pane { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--bg); color: var(--ink); padding: calc(22px + env(safe-area-inset-top, 0px)) 26px calc(26px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.sheet h3 { margin: 16px 0 8px; font-size: 26px; }
.sheet .x { align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font-size: 20px; cursor: pointer; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); font: inherit; font-size: 17px; color: var(--ink); text-decoration: none; background: none; text-align: start; width: 100%; cursor: pointer; }
.row small { color: var(--soft); font-size: 15px; direction: ltr; unicode-bidi: isolate; }
.sheet .note { margin: 14px 0 0; color: var(--soft); font-size: 15px; line-height: 1.7; }

/* placeholders and counsel markers (preview only; the Worker removes them on the live site) */
.need { display: inline-block; padding: 0 .4em; border: 1px dashed #C77700; border-radius: 6px; color: #8A5300; background: rgba(255,170,0,.12); font-size: .9em; }
[data-theme="dark"] .need { color: #FFC266; }
.vc { display: inline-block; margin-inline-start: .4em; padding: 0 .5em; border-radius: 999px; background: rgba(255,170,0,.16); color: #8A5300; font-size: 13px; vertical-align: .15em; white-space: nowrap; }
[data-theme="dark"] .vc { color: #FFC266; }

/* ---------- the scene (home) ---------- */
#world { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.track { position: relative; height: 370vh; height: 370svh; }
.cap { position: fixed; z-index: 5; top: 50%; transform: translateY(-50%); inset-inline-start: max(24px, 6vw); width: min(560px, 40vw); visibility: hidden; opacity: 0; }
#cap1 { visibility: visible; opacity: 1; }
.cap h1, .cap h2 { margin: 0; line-height: 1.32; }
.cap h1 { font-size: clamp(38px, 4.2vw, 56px); }
.cap h2 { font-size: clamp(28px, 2.8vw, 40px); }
html[data-lang="en"] .cap h1, html[data-lang="en"] .cap h2 { line-height: 1.08; }
.cap p { margin: 18px 0 0; font-size: 18px; line-height: 1.8; color: var(--mute); max-width: 44ch; }
.cap p.small { font-size: 16px; color: var(--soft); }
html[data-lang="en"] .cap p { line-height: 1.6; }
.cap3 { pointer-events: none; }
@media (min-width: 861px) { html[data-lang="en"] #cap3 { inset-inline-start: auto; inset-inline-end: max(24px, 6vw); width: min(480px, 34vw); } }
.prog { position: fixed; z-index: 6; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--soft); }
.prog .dots { display: none; }
.prog .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.prog .dots i.on { background: var(--t500); transform: scale(1.25); }
.prog button { background: none; border: 0; padding: 10px 4px; font: inherit; color: var(--soft); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.keybtn { position: fixed; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; padding: 0; visibility: hidden; transform: translate(-50%, -50%); }
.keybtn:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.poster { position: fixed; z-index: 1; pointer-events: none; transition: opacity .35s var(--feed); top: 50%; transform: translateY(-50%); inset-inline-end: 4vw; width: min(52vw, 760px); }
.poster img { display: none; width: 100%; height: auto; }
[data-theme="light"] .poster .lq.pl, [data-theme="dark"] .poster .lq.pd { display: block; }
.poster .lq { filter: blur(6px); }
html.ready .poster { opacity: 0; }
#feed { position: fixed; inset: 0; z-index: 4; background: var(--sheet); pointer-events: none; visibility: hidden; opacity: 0; }
/* the sheet takes over exactly where the scene ends */
html:not(.static) .home .qs { margin-top: -100vh; margin-top: -100svh; }
.qs.hidden { visibility: hidden; }

/* ---------- the sheet: questions, offer, method, people ---------- */
.paper { position: relative; z-index: 6; background: var(--sheet); color: var(--sheet-ink); }
.paper .wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 max(22px, 6vw); }
.paper .col { max-width: 760px; }
.paper h2 { margin: 0 0 24px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; }
html[data-lang="en"] .paper h2 { line-height: 1.12; }
.paper .mute, .paper p.lead { color: var(--mute); }
.lh { display: flex; padding-bottom: 12px; margin: 0 0 26px; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--soft); }
.pm { margin: 0; padding: calc(var(--lf) * 2) 0 var(--lf); text-align: center; font-size: 15px; color: var(--soft); direction: ltr; }
.qs { --qt: var(--tag); }
.qs .pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 92px; }
.ql { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.q { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.q .tag { flex: none; width: 7.5em; font-size: 15px; color: var(--tag); }
html[data-lang="en"] .q .tag { width: 8.5em; }
.q .qt { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; }
.q .gh { color: rgba(15,30,30,.2); color: color-mix(in srgb, currentColor 22%, transparent); }
.q.wait .tag { opacity: .2; }
.q.typing .gh::before, .typing-line.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 3px; vertical-align: -.15em; background: var(--t500); animation: caret 1s steps(1) 5; }
@keyframes caret { 50% { opacity: 0; } }
.qs .more { display: none; margin-top: 14px; background: none; border: 0; min-height: 44px; padding: 8px 0; font: inherit; font-size: 16px; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.qs .sup { margin: 22px 0 0; color: var(--mute); font-size: 18px; }
.qs .close { margin: 6px 0 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.35; }
.qs .btn { margin-top: 20px; align-self: flex-start; }

/* offer */
.offer .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 30px; border: 1px solid var(--rule); border-radius: 24px; background: var(--sheet); }
.card h3, .card h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }
.card p { margin: 0; color: var(--mute); }
.card .ctas { margin-top: auto; padding-top: 12px; }
.card .small { font-size: 16px; color: var(--soft); }
.formats { margin: var(--lf) 0 0; color: var(--mute); font-size: 17px; }
.map { margin-top: calc(var(--lf) * 2); }
.map h3 { margin: 0 0 18px; font-size: clamp(22px, 2vw, 28px); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cols h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.cols li a:hover { color: var(--tag); }
.kc { position: relative; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #0F2E2E; box-shadow: 0 0 0 2.5px var(--t500), 0 3px 0 #061413; transition: transform 140ms var(--strike), box-shadow 140ms var(--strike); }
.kc::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.kc.arrow::after { content: none; }
.kc.arrow svg { width: 16px; height: 16px; stroke: #fff; }
html[dir="rtl"] .kc.arrow svg { transform: scaleX(-1); }
.strike.in .kc, .strike.in.kc { animation: strike 140ms var(--strike) 1 both; }
@keyframes strike { 50% { transform: translateY(2px); box-shadow: 0 0 0 2.5px var(--t500), 0 1px 0 #061413; } }
.soft { margin: var(--lf) 0 0; }

/* method */
.method .steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 1fr 15em; gap: 6px 32px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.step .v { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.3; }
.step .t { grid-column: 1; font-size: 18px; }
.step .n { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 15px; color: var(--soft); border-inline-start: 2px solid var(--rule); padding-inline-start: 14px; }
.method .pinbox { min-height: 100vh; min-height: 100svh; padding-top: 92px; }
.method.pinned .step { opacity: .5; transition: opacity 400ms var(--feed); }
.method.pinned .step.on, .method.pinned .step.past { opacity: 1; }
.method.pinned .step.past .mark { --m: 0% !important; }
.commit { list-style: none; margin: calc(var(--lf) * 1.5) 0 0; padding: 0; }
.commit li { padding: 8px 0; padding-inline-start: 22px; position: relative; }
.commit li::before { content: ""; position: absolute; inset-inline-start: 0; top: .9em; width: 8px; height: 8px; border-radius: 50%; background: var(--t500); }

/* people: a letter */
.letter .body { font-size: 19px; max-width: 60ch; }
.sig { margin: calc(var(--lf) * 1.5) 0 0; }
.sig .nm { display: block; font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; line-height: 1.3; }
.sig .role { display: block; color: var(--soft); font-size: 15px; }
.letter hr { border: 0; border-top: 1px solid var(--rule); margin: calc(var(--lf) * 1.5) 0 var(--lf); }
.letter .small { font-size: 16px; color: var(--mute); margin: 10px 0; }
.chip-nz { display: inline-block; padding: 0 .55em; border-radius: 999px; background: var(--nz-bg); color: var(--nz-ink); font-weight: 600; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.stores a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 10px; background: #000; color: #fff; text-decoration: none; font-size: 15px; direction: ltr; }
.paper.end { border-radius: 0 0 28px 28px; box-shadow: 0 12px 32px rgba(15,46,46,.10); }

/* doors: the desk */
.doors { position: relative; z-index: 6; background: var(--desk); padding: calc(var(--lf) * 3) max(22px, 6vw); }
.doors .two { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.door { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 24px; background: var(--sheet); color: var(--sheet-ink); text-decoration: none; border: 1px solid var(--rule); min-height: 220px; }
.door h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }
.door p { margin: 0; color: var(--mute); }
.door .go { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.door:hover .kc, .door:focus-visible .kc, .door:active .kc { transform: translateY(2px); box-shadow: 0 0 0 2.5px var(--t500), 0 1px 0 #061413; }

/* finale: on the machine */
.finale { position: relative; z-index: 6; background: var(--machine); color: #fff; padding: calc(var(--lf) * 3) max(22px, 6vw) calc(var(--lf) * 2); }
.finale > h2 { max-width: 720px; margin: 0 auto 26px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; text-align: center; }
.form-sheet { max-width: 720px; margin: 0 auto; padding: 34px; border-radius: 6px; background: var(--sheet); color: var(--sheet-ink); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.prompt { margin: 0 0 8px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; min-height: 1.5em; }
.field { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.field label { font-size: 15px; color: var(--mute); }
.field input { width: 100%; min-height: 48px; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--rule); border-radius: 0; background: none; color: inherit; font: inherit; font-size: 18px; }
.field input:focus { outline: none; border-bottom-color: var(--t500); }
.field input:focus-visible { box-shadow: 0 2px 0 var(--focus); }
.field.line input { font-size: clamp(19px, 1.8vw, 22px); }
.field input[dir="ltr"] { text-align: start; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field .err { display: none; font-size: 15px; color: #B3261E; }
[data-theme="dark"] .field .err { color: #FF8A80; }
.field.bad input { border-bottom-color: #B3261E; }
.field.bad .err { display: block; }
.two-f { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.hint { font-size: 15px; color: var(--soft); margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; border: 0; padding: 0; }
.chips legend { width: 100%; font-size: 15px; color: var(--mute); margin-bottom: 6px; padding: 0; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--rule); cursor: pointer; font-size: 16px; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:has(input:checked), .chip.on { border-color: var(--t500); background: rgba(20,160,152,.12); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.privacy-line { margin: 18px 0 0; font-size: 15px; color: var(--soft); }
.ts { margin-top: 12px; min-height: 0; }
.send { max-width: 720px; margin: 30px auto 0; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.enter { display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; color: #fff; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; padding: 0; }
.enter .cap-k { width: 112px; height: 112px; border-radius: 50%; background: #0F2E2E; display: grid; place-items: center; box-shadow: 0 0 0 7px var(--t500), 0 9px 0 #061413, 0 16px 28px rgba(0,0,0,.35); transition: transform 140ms var(--strike), box-shadow 140ms var(--strike); }
[data-theme="dark"] .enter .cap-k { box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 0 7px var(--t500), 0 9px 0 #000, 0 16px 28px rgba(0,0,0,.45); }
.enter .cap-k svg { width: 76px; height: 76px; }
.enter:active .cap-k, .enter.down .cap-k { transform: translateY(7px); box-shadow: 0 0 0 7px var(--t500), 0 2px 0 #061413, 0 6px 12px rgba(0,0,0,.3); }
.enter:focus-visible { outline: none; } .enter:focus-visible .cap-k { outline: 3px solid #fff; outline-offset: 10px; }
.wa-btn { color: #fff; }
.reassure { max-width: 720px; margin: 22px auto 0; text-align: center; font-size: 16px; color: rgba(255,255,255,.8); }
.form-msg { margin: 16px 0 0; font-size: 16px; min-height: 0; }
.form-msg.err { color: #B3261E; } [data-theme="dark"] .form-msg.err { color: #FF8A80; }
.done-box { display: none; text-align: center; padding: 10px 0; }
.done-box h3 { margin: 0 0 8px; font-size: clamp(26px, 2.6vw, 34px); }
.done-box .ref { font: 600 20px var(--en); direction: ltr; unicode-bidi: isolate; letter-spacing: .04em; }
form.done .fields, form.done .send-row { display: none; }
form.done .done-box { display: block; }
.finale form.done ~ .send { display: none; }

/* footer: still on the machine */
.site-foot { position: relative; z-index: 6; background: var(--machine); color: rgba(255,255,255,.86); padding: calc(var(--lf) * 2) max(22px, 6vw) calc(var(--lf) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.12); font-size: 16px; }
.site-foot .grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-foot h2.fh { margin: 0 0 10px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.66); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a, .site-foot li button { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.site-foot li a:hover, .site-foot li button:hover { text-decoration: underline; }
.site-foot .closing { max-width: 1080px; margin: calc(var(--lf) * 1.5) auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: rgba(255,255,255,.7); }

/* phone action bar */
.sticky { display: none; }

/* ---------- other pages: a sheet on the mint ground ---------- */
.page main { padding: calc(64px + var(--lf) * 2) max(12px, 3vw) calc(var(--lf) * 3); }
.page .doc { max-width: 1080px; margin: 0 auto; background: var(--sheet); color: var(--sheet-ink); border-radius: 6px; padding: calc(var(--lf) * 2) max(22px, 6vw); box-shadow: 0 12px 32px rgba(15,46,46,.08); }
.doc .col { max-width: 760px; }
.doc .kicker { margin: 0 0 12px; font-size: 15px; color: var(--tag); }
.doc h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.25; }
html[data-lang="en"] .doc h1 { line-height: 1.1; }
.doc .lead { margin: 18px 0 0; font-size: 20px; color: var(--mute); }
.doc h2 { margin: calc(var(--lf) * 2) 0 14px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; }
.doc h3 { margin: var(--lf) 0 8px; font-size: 22px; }
.doc p { margin: 10px 0; }
.doc ul.dots, .doc ol.num { margin: 10px 0; padding-inline-start: 1.2em; }
.doc ul.dots li, .doc ol.num li { padding: 6px 0; }
.doc ul.dots li::marker { color: var(--t500); }
.doc ol.num li::marker { color: var(--tag); font-weight: 600; }
.area { padding: 18px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.area h3 { margin: 0 0 6px; }
.area p { margin: 0; color: var(--mute); }
.area .small, .doc .small { font-size: 16px; color: var(--soft); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { min-height: 52px; padding: 14px 0; cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: "+"; color: var(--tag); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--mute); }
.rows { margin: 10px 0; border-top: 1px solid var(--rule); }
.rows div { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.rows dt { min-width: 9em; color: var(--soft); font-size: 16px; } .rows dd { margin: 0; }
.cta-block { margin-top: calc(var(--lf) * 2); padding: calc(var(--lf) * 1.25); border-radius: 20px; background: var(--desk); }
.cta-block h2 { margin: 0 0 6px; }
.cta-block p { margin: 0; color: var(--mute); }
.disclaimer { margin-top: var(--lf); font-size: 16px; color: var(--soft); }
.not404 { text-align: center; padding: calc(var(--lf) * 3) 0; }

/* motion: two curves only, each element once */
.feed { opacity: 0; transform: translateY(var(--lf)); transition: opacity 400ms var(--feed), transform 400ms var(--feed); }
.feed.in { opacity: 1; transform: none; }
html.static .feed { opacity: 1; transform: none; transition: none; }
html.static .mark { --m: 100%; }
html.static .strike.in .kc { animation: none; }

/* static edition (reduced motion, motion off, lite, no WebGL) */
html.static #world, html.static .prog, html.static .keybtn, html.static #feed { display: none; }
html.static .track { height: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; max-width: 1240px; margin: 0 auto; padding: 120px max(24px, 5vw) 64px; }
html.static .cap { position: static; transform: none; width: auto; visibility: visible; opacity: 1; }
html.static #cap1 { grid-column: 1; grid-row: 1; } html.static #cap2 { grid-column: 1; grid-row: 2; } html.static #cap3 { grid-column: 1; grid-row: 3; }
html.static .poster { position: static; transform: none; opacity: 1; grid-column: 2; grid-row: 1 / span 3; width: 100%; max-width: 560px; justify-self: center; }
html.static .poster:has(.lq) { display: none; }
html.static .track:has(.lq) { grid-template-columns: 1fr; max-width: 760px; }
html.static .qs .pin, html.static .method .pinbox { min-height: 0; }
html.stillmode .top, html.stillmode .cap, html.stillmode .prog, html.stillmode .paper, html.stillmode .doors, html.stillmode .finale, html.stillmode .site-foot, html.stillmode .poster, html.stillmode .skip, html.stillmode .sticky { display: none !important; }
html.stillmode body { background: transparent; }

@media (min-width: 861px) and (max-height: 860px) {
  .qs .pin { padding-top: 80px; }
  .qs .lh { margin-bottom: 16px; font-size: 14px; }
  .qs h2 { font-size: 34px; margin-bottom: 14px; }
  .q { padding: 8px 0; } .q .qt { font-size: 19px; }
  .qs .sup { margin-top: 14px; font-size: 16px; } .qs .close { font-size: 27px; } .qs .btn { margin-top: 14px; min-height: 46px; }
  .method .pinbox { padding-top: 80px; } .step { padding: 10px 0; }
}
@media (max-width: 860px) {
  :root { --lf: 28px; }
  body { font-size: 17px; }
  .top { height: calc(56px + env(safe-area-inset-top, 0px)); gap: 10px; }
  .top .lk { font-size: 15px; }
  .nav, .top .lang, .top .tbtn { display: none; }
  .cbtn { height: 44px; padding: 0 14px; }
  .mbtn { white-space: nowrap; }
  .mbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; background: none; border: 0; color: var(--mute); font: inherit; font-size: 15px; cursor: pointer; }
  .track { height: 320vh; height: 320svh; }
  .cap { top: auto; bottom: 0; transform: none; inset-inline: 0; width: auto; padding: 30px 20px calc(4.6rem + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--bg) 30px); }
  .cap h1 { font-size: 31px; } html[data-lang="en"] .cap h1 { font-size: 34px; }
  .cap h2 { font-size: 26px; }
  .cap p { font-size: 17px; margin-top: 10px; line-height: 1.7; }
  .ctas { margin-top: 18px; gap: 12px 18px; }
  .btn { min-height: 50px; }
  .ph { display: inline; } .dk { display: none; }
  .prog { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
  .prog .hint { display: none; }
  .poster { top: calc(64px + env(safe-area-inset-top, 0px)); transform: none; inset-inline: 0; margin: 0 auto; width: min(62vw, 300px); }
  .paper .wrap { padding: 0 20px; }
  .qs .pin { min-height: 0; padding-top: 64px; }
  .q { flex-direction: column; gap: 2px; padding: 14px 0; }
  .q .tag, html[data-lang="en"] .q .tag { width: auto; }
  .q .qt { font-size: 19px; }
  .qs:not(.open) .q.x { display: none; }
  .qs:not(.open) .more { display: inline-block; }
  .offer .cards, .cols, .doors .two, .two-f, .site-foot .grid { grid-template-columns: 1fr; }
  .card, .door { padding: 24px; }
  .step { grid-template-columns: 1fr; }
  .step .n { grid-column: 1; grid-row: auto; border: 0; padding: 0; }
  .method .pinbox { min-height: 0; padding-top: 0; }
  .form-sheet { padding: 24px 20px; }
  .send { flex-direction: column; align-items: stretch; gap: 12px; }
  .enter { flex-direction: row; justify-content: center; gap: 14px; min-height: 64px; border-radius: 999px; background: #0F2E2E; box-shadow: 0 0 0 3px var(--t500) inset, 0 5px 0 #061413; }
  .enter .cap-k { width: 48px; height: 48px; box-shadow: 0 0 0 3px var(--t500); }
  .enter .cap-k svg { width: 34px; height: 34px; }
  .enter:active, .enter.down { transform: translateY(4px); box-shadow: 0 0 0 3px var(--t500) inset, 0 1px 0 #061413; }
  .enter:active .cap-k, .enter.down .cap-k { transform: none; box-shadow: 0 0 0 3px var(--t500); }
  .wa-btn { width: 100%; }
  .sticky { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--machine); transform: translateY(110%); transition: transform 400ms var(--feed); }
  .sticky.on { transform: none; }
  .sticky .btn { flex: 1; min-height: 44px; font-size: 16px; }
  .sticky .btn.ghost { color: #fff; }
  body.has-sticky { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .sheet .pane { width: 100%; }
  .page main { padding: calc(56px + var(--lf)) 0 calc(var(--lf) * 2); }
  .page .doc { border-radius: 0; padding: var(--lf) 20px calc(var(--lf) * 2); box-shadow: none; }
  .rows dt { min-width: 100%; }
  html.static .track { grid-template-columns: 1fr; padding-top: 84px; gap: 24px; }
  html.static .poster { grid-column: 1; grid-row: 1; max-width: 300px; margin: 0 auto; }
  html.static #cap1 { grid-row: 2; } html.static #cap2 { grid-row: 3; } html.static #cap3 { grid-row: 4; }
  html.static .cap { padding: 0; background: none; }
}
@media (prefers-reduced-motion: reduce) { .poster, .feed, .sticky, .kc, .btn { transition: none; } .q.typing .gh::before { animation: none; } }
/* the form outside the finale: on a sheet, with a plain send button */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; inset-inline-start: 0; top: 0; clip-path: inset(50%); opacity: 0; pointer-events: none; width: 1px; height: 1px; overflow: hidden; }
.ask-form.plain .form-sheet { padding: 0; box-shadow: none; background: none; max-width: none; }
.ask-form.plain .send { justify-content: flex-start; margin: 24px 0 0; max-width: none; }
.ask-form.plain .enter { flex-direction: row; gap: 10px; min-height: 52px; padding: 0 22px 0 10px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); box-shadow: 0 0 0 3px var(--t500) inset; }
.ask-form.plain .enter .cap-k { width: 34px; height: 34px; box-shadow: none; }
.ask-form.plain .enter .cap-k svg { width: 34px; height: 34px; }
.ask-form.plain .enter:active .cap-k, .ask-form.plain .enter.down .cap-k { transform: none; box-shadow: none; }
.ask-form.plain .wa-btn { color: inherit; }
.ask-form.plain .reassure { margin: 16px 0 0; text-align: start; color: var(--mute); max-width: none; }
.ask-form.plain .prompt { display: none; }
html.static .method .step:not(.last) .mark { --m: 0%; }
.method:not(.pinned) .step.last .mark { --m: 100%; }
.desk-only { } @media (pointer: coarse) { .desk-only { display: none; } }
.bad-text { color: #B3261E; } [data-theme="dark"] .bad-text { color: #FF8A80; }

@media (max-width: 380px) { .top .wm { display: none; } .top { gap: 8px; } }
.doc dd a { display: inline-flex; align-items: center; min-height: 44px; }
.card > *, .doc .card > * { margin-block: 0; } .card > .ctas { margin-top: auto; padding-top: 8px; }

/* ---------- v3 ---------- */
.kick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 16px; font-size: 15px; color: var(--tag); font-weight: 500; }
.kick .lhd { color: var(--soft); font-weight: 400; }
.kick .lhd + span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--t500); margin-inline-end: 10px; vertical-align: .15em; }
.paper .kicker { margin: 0 0 10px; font-size: 15px; font-weight: 500; color: var(--tag); }
.paper .lead { margin: -8px 0 0; font-size: 19px; max-width: 60ch; }
.btn.light { background: #fff; color: #0F2E2E; }
/* questions are buttons now */
.q { display: block; padding: 0; }
.qa { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; color: inherit; text-decoration: none; }
.qa .qt { flex: 1; }
.qgo { flex: none; font-size: 14px; color: var(--tag); opacity: 0; transition: opacity .2s; }
.qa:hover .qgo, .qa:focus-visible .qgo { opacity: 1; }
.qa:hover .qt { color: var(--tag); }
/* five services: one typed sheet, advice | build */
.svc { padding-top: calc(var(--lf) * 2); }
.svhead, .sv > a { display: grid; grid-template-columns: 1.15fr 1fr 1fr 44px; gap: 24px; align-items: center; }
.svhead { margin-top: calc(var(--lf) * 1.25); padding-bottom: 8px; border-bottom: 1.5px solid var(--sheet-ink); font-size: 15px; font-weight: 600; color: var(--tag); }
.svl { list-style: none; margin: 0; padding: 0; }
.sv > a { padding: 18px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
.sv .sn { margin: 0; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; }
.sv .sa, .sv .sb { font-size: 16.5px; color: var(--mute); line-height: 1.6; }
.sv b { display: none; }
.sv .kc { justify-self: end; }
.sv > a:hover .sn { color: var(--tag); }
.sv > a:hover .kc, .sv > a:focus-visible .kc { transform: translateY(2px); box-shadow: 0 0 0 2.5px var(--t500), 0 1px 0 #061413; }
/* the start ladder */
.lad-h { margin: calc(var(--lf) * 2) 0 14px; font-size: clamp(22px, 2vw, 28px); scroll-margin-top: 90px; }
.ladder { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ladder li { display: flex; gap: 16px; padding: 12px 0; }
.ladder .rk { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--desk); color: var(--tag); font: 600 15px var(--en); margin-top: 2px; }
.ladder li:nth-child(2) .rk { background: #0F2E2E; color: #fff; box-shadow: 0 0 0 2.5px var(--t500); }
.ladder .rt { color: var(--mute); }
.ladder .rt b { display: block; color: var(--sheet-ink); font-weight: 600; }
.price { display: inline-block; margin-inline-start: 4px; padding: 0 .5em; border-radius: 6px; background: var(--desk); color: var(--sheet-ink); font-weight: 600; }
/* chance test card */
.chance-in { padding: calc(var(--lf) * 2) 0 0; }
.ccard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(26px, 4vw, 48px); border-radius: 24px; background: #0F2E2E; color: #fff; text-decoration: none; overflow: hidden; }
.ccard .ck { font-size: 15px; font-weight: 500; color: #8FD9D2; }
.ccard h2 { margin: 0; max-width: 18em; color: #fff; }
.ccard p { margin: 0; max-width: 46ch; color: rgba(255,255,255,.8); }
.ccard .btn { margin-top: 12px; box-shadow: none; }
.ccard .seal { position: absolute; inset-inline-end: clamp(18px, 4vw, 48px); top: clamp(18px, 3vw, 36px); width: clamp(84px, 11vw, 132px); color: #35B2A8; opacity: .85; transform: rotate(-12deg); }
.ccard:hover .seal { transform: rotate(-4deg) scale(1.04); transition: transform .3s var(--feed); }
/* nazil */
.nazil { padding-top: calc(var(--lf) * 2); }
.nzg { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.nazil .lead { margin: 0; }
.nazil .small { margin: 14px 0 0; font-size: 16px; color: var(--soft); max-width: 56ch; }
.bus { width: 100%; max-width: 300px; justify-self: center; color: var(--sheet-ink); }
html[dir="rtl"] .bus { transform: scaleX(-1); }
.doors .langs { max-width: 1080px; margin: 24px auto 0; text-align: center; color: var(--mute); font-size: 16px; }
.finale .by { max-width: 720px; margin: -10px auto 22px; text-align: center; color: rgba(255,255,255,.8); font-size: 16px; }
/* footer: four columns, social */
.site-foot .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.site-foot .flangs { margin: 12px 0 0; font-size: 15px; color: rgba(255,255,255,.7); }
.social a { gap: 10px; }
.social svg { width: 18px; height: 18px; flex: none; }
/* services page */
.svtoc { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); counter-reset: s; }
.svtoc li { counter-increment: s; border-bottom: 1px solid var(--rule); }
.svtoc a { display: flex; gap: 14px; min-height: 48px; align-items: center; text-decoration: none; font-weight: 500; }
.svtoc a::before { content: counter(s); font: 600 14px var(--en); color: var(--tag); width: 1.2em; }
.svx { margin-top: calc(var(--lf) * 2.5); scroll-margin-top: 90px; }
.svx h2 { margin-top: 0 !important; }
.svx .kicker { margin: 0 0 6px; font: 600 14px var(--en); color: var(--tag); }
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.ab > div { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--rule); }
.ab h3 { margin: 0 0 6px !important; font-size: 18px !important; color: var(--tag); }
.ab .dk-b { background: #0F2E2E; color: #fff; border-color: #0F2E2E; }
.ab .dk-b h3 { color: #8FD9D2; }
.ab ul.dots { margin: 0; }
.ab .dk-b ul.dots li::marker { color: #35B2A8; }

@media (max-width: 860px) {
  .svhead { display: none; }
  .sv > a { grid-template-columns: 1fr 36px; gap: 6px 14px; }
  .sv .sn { grid-column: 1; }
  .sv .kc { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .sv .sa, .sv .sb { grid-column: 1; display: flex; gap: 10px; align-items: baseline; }
  .sv b { display: inline-block; flex: none; min-width: 3.4em; padding: 0 .5em; border-radius: 6px; font-size: 13px; font-weight: 600; text-align: center; background: var(--desk); color: var(--tag); }
  .sv .sb b { background: #0F2E2E; color: #fff; }
  .qa { flex-direction: column; gap: 2px; padding: 14px 0; }
  .qgo { display: none; }
  .nzg { grid-template-columns: 1fr; gap: 20px; }
  .bus { max-width: 200px; grid-row: 1; }
  .ccard .seal { width: 72px; top: 16px; }
  .ccard h2 { padding-inline-end: 70px; }
  .ab { grid-template-columns: 1fr; }
  .site-foot .grid { grid-template-columns: 1fr 1fr; }
  .site-foot .grid > div:first-child { grid-column: 1 / -1; }
  /* phone hero: a typed sheet, no 3D */
  html.phone .track { display: block; padding: calc(56px + env(safe-area-inset-top, 0px) + 18px) 14px 26px; }
  html.phone #cap2, html.phone #cap3, html.phone .poster { display: none; }
  html.phone #cap1 { background: var(--sheet); color: var(--sheet-ink); border-radius: 6px; padding: 22px 20px 26px; box-shadow: 0 12px 30px rgba(15,46,46,.10); }
  html.phone #cap1 .kick { padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
  html.phone #cap1 h1 { font-size: 32px; }
  html.phone #cap1 h1::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-inline-start: 6px; vertical-align: -.1em; background: var(--t500); animation: caret 1s steps(1) 4; }
  html.phone .qs { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { html.phone #cap1 h1::after { animation: none; } }
html.nomo #cap1 h1::after { animation: none; }
.ct .privacy-line { font-size: 16px; }
/* ---------- the chance test ---------- */
.ct { max-width: 760px; margin: 0 auto; }
.ct-sheet { background: var(--sheet); color: var(--sheet-ink); border-radius: 6px; padding: clamp(24px, 5vw, 52px); box-shadow: 0 12px 32px rgba(15,46,46,.08); }
.ct-sheet h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.3; }
.ct-sheet .kicker { margin: 0 0 10px; font-size: 15px; font-weight: 500; color: var(--tag); }
.ct-sheet .lead { margin: 18px 0 0; font-size: 19px; color: var(--mute); }
.ct-sheet .field { margin-top: 26px; }
.ct-sheet h2 { margin: 0 0 22px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.45; }
.ct-sheet h2:focus { outline: none; }
.ct-top { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.ct-back { min-height: 44px; padding: 0 4px; background: none; border: 0; font: inherit; font-size: 15px; color: var(--mute); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ct-bars { flex: 1; display: flex; gap: 6px; }
.ct-bars i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.ct-bars i.done { background: var(--t300); } .ct-bars i.on { background: var(--t500); }
.ct-n { font: 500 15px var(--en); color: var(--tag); direction: ltr; }
.ct-opts { display: flex; flex-direction: column; gap: 12px; }
.ct-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 14px 16px; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--sheet); color: inherit; font: inherit; font-size: 18px; text-align: start; cursor: pointer; transition: border-color .15s, background .15s; }
.ct-opt:hover { border-color: var(--t500); }
.ct-opt .kc-l { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--desk); color: var(--tag); font: 600 15px var(--en); box-shadow: 0 2px 0 var(--rule); }
.ct-opt.sel { border-color: var(--t500); background: rgba(20,160,152,.10); }
.ct-opt.sel .kc-l { background: #0F2E2E; color: #fff; box-shadow: 0 0 0 2.5px var(--t500); transform: translateY(1px); }
.ct-keys { margin-top: 16px; } @media (pointer: coarse) { .ct-keys { display: none; } }
.ct-nojs { text-align: center; }
.ct-hide { display: none; }
/* the result sheet */
.ct-paper { position: relative; overflow: hidden; border-top: 7px solid var(--t500); }
.ct-paper:focus { outline: none; }
.ph-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 26px; border-bottom: 1.5px solid var(--sheet-ink); font-size: 14px; color: var(--soft); }
.ph-head .wmk { font: 600 15px var(--en); color: var(--sheet-ink); order: 2; }
html[dir="ltr"] .ph-head .wmk { order: 0; }
.ct-paper .co { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.35; padding-inline-end: 130px; }
.ct-paper .big { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 4px 14px; margin: 18px 0 8px; }
.ct-paper .num { font: 600 clamp(64px, 9vw, 92px)/1 var(--en); letter-spacing: -.03em; }
.ct-paper .lbl { font-size: 17px; color: var(--mute); padding-bottom: 10px; }
.ct-paper .st { margin: 6px 0 4px; font-size: clamp(22px, 2.4vw, 28px); }
.ct-paper .sd { margin: 0; color: var(--mute); max-width: 52ch; }
.ct-paper h3 { margin: 30px 0 12px; font-size: 17px; }
.seal-s { position: absolute; top: 74px; inset-inline-end: clamp(16px, 4vw, 44px); width: clamp(108px, 18vw, 150px); color: var(--t500); transform: rotate(-12deg); opacity: .92; animation: stamp .45s var(--strike) .15s both; }
@keyframes stamp { from { transform: rotate(-12deg) scale(1.6); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: .92; } }
html.static .seal-s { animation: none; }
.chart { list-style: none; margin: 0; padding: 0; }
.chart li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 7px 0; font-size: 16px; }
.chart .av { font: 600 15px var(--en); color: var(--mute); direction: ltr; }
.chart .tr { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--desk); overflow: hidden; display: flex; }
.chart .tr i { display: block; height: 100%; border-radius: 5px; background: var(--t500); transform-origin: right; animation: grow .8s var(--feed) both; }
html[dir="ltr"] .chart .tr i { transform-origin: left; }
.chart li.hi .an { font-weight: 600; } .chart li.hi .tr i { background: #0F2E2E; }
[data-theme="dark"] .chart li.hi .tr i { background: #EEF8F7; }
@keyframes grow { from { transform: scaleX(0); } }
html.static .chart .tr i { animation: none; }
.ct-paper .first { margin-top: 26px; padding: 18px 22px; border-radius: 16px; background: var(--desk); }
.ct-paper .first h3 { margin: 0 0 6px; color: var(--tag); }
.ct-paper .first p { margin: 0; }
.ct-paper .svc-l { margin-top: 8px !important; font-size: 15px; color: var(--mute); }
.ct-paper .pf { margin: 26px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--soft); }
.ct-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 460px; margin: 24px auto 0; text-align: center; }
.ct-actions .small { margin: 6px 0 0; font-size: 16px; color: var(--mute); }
.ct-msg { margin: 0; min-height: 1.4em; font-size: 15px; color: var(--mute); }
.ct-again { min-height: 44px; background: none; border: 0; font: inherit; font-size: 15px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 860px) {
  .ct-sheet { border-radius: 0; box-shadow: none; }
  .ct-top { padding: 0 16px; }
  .ct-paper .co { padding-inline-end: 96px; }
  .seal-s { top: 62px; width: 104px; }
  .ct-actions { padding: 0 16px; }
}
@media print { .top, .site-foot, .ct-actions, .sticky, .skip { display: none !important; } .page main { padding: 0 !important; } .ct-sheet { box-shadow: none; } }

/* ---------- v3.1: one logo lockup ---------- */
.lock { display: inline-flex; align-items: center; gap: .5em; direction: ltr; font-size: 17px; color: inherit; }
.lock svg { width: 2.1em; height: 2.1em; flex: none; }
.lock .wm { display: flex; flex-direction: column; font: 600 1em/.94 var(--en); letter-spacing: -.02em; }
.site-foot .flock { margin: 0 0 12px; }
.site-foot .flock .lock { font-size: 19px; color: #fff; }

/* ---------- v3.1: how we work, three sheets ---------- */
.how { padding-top: calc(var(--lf) * 2); }
.how .papers { display: grid; grid-template-columns: .9fr 1.25fr 1fr; gap: 22px; align-items: start; margin-top: calc(var(--lf) * 1.25); outline: none; }
.pp { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 24px 24px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 1px 0 var(--rule), 0 14px 30px rgba(15,46,46,.08); }
.pp:nth-child(1) { transform: rotate(-.6deg); } .pp:nth-child(3) { transform: rotate(.5deg); }
.pp h3 { margin: 0; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; }
.pp p { margin: 0; color: var(--mute); }
.pp .pn { font: 600 13px var(--en); color: var(--tag); letter-spacing: .04em; }
.pp .note { font-size: 15px; color: var(--soft); }
.pp .btn { margin-top: auto; }
.offer-sheet { border-top: 6px solid var(--t500); padding-top: 18px; }
.offer-sheet .oh { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1.5px solid var(--sheet-ink); font-size: 13px; color: var(--soft); }
.offer-sheet .oh .lock { font-size: 13px; color: var(--sheet-ink); }
.offer-sheet .ot { display: block; margin-top: 2px; font-size: 15px; font-weight: 400; color: var(--mute); }
.fill { display: inline-block; min-width: 6em; border-bottom: 1.5px dotted var(--soft); color: var(--soft); }
.ol { align-self: stretch; list-style: none; margin: 4px 0 0; padding: 0; counter-reset: o; }
.ol li { counter-increment: o; display: grid; grid-template-columns: 1.4em 8.5em 1fr; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.ol li::before { content: counter(o); font: 600 12px var(--en); color: var(--tag); }
.ol b { font-weight: 500; }
.bl { display: flex; flex-direction: column; gap: 4px; }
.bl i { display: block; height: 5px; width: var(--w); border-radius: 3px; background: var(--rule); }
.clauses { align-self: stretch; margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: var(--desk); }
.clauses .ch { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--tag); }
.clauses ol { list-style: none; margin: 0; padding: 0; }
.clauses li { display: flex; gap: 8px; padding: 3px 0; font-size: 14.5px; color: var(--sheet-ink); }
.clauses .cn { flex: none; direction: ltr; unicode-bidi: isolate; font: 600 12.5px/1.9 var(--en); color: var(--tag); min-width: 1.8em; }
.stampx { position: absolute; top: 74px; inset-inline-end: 18px; padding: 4px 12px; border: 2.5px solid var(--tag); border-radius: 8px; color: var(--tag); font-weight: 700; font-size: 17px; letter-spacing: .04em; transform: rotate(-10deg); opacity: 0; }
.stampx.in { animation: stampin .45s var(--strike) .5s both; }
@keyframes stampin { from { opacity: 0; transform: rotate(-10deg) scale(1.7); } to { opacity: .92; transform: rotate(-10deg) scale(1); } }
html.static .stampx { opacity: .92; animation: none; }
.opts { align-self: stretch; display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--sheet); color: inherit; font: inherit; text-align: start; cursor: pointer; transition: border-color .15s, background .15s; }
.opt b { font-weight: 600; font-size: 16px; }
.opt span { font-size: 14px; color: var(--mute); line-height: 1.5; }
.opt[aria-pressed="true"] { border-color: var(--t500); background: rgba(20,160,152,.10); }
.opt[aria-pressed="true"] b::after { content: " ✓"; color: var(--t500); }
.sts { align-self: stretch; list-style: none; margin: 6px 0 0; padding: 0; counter-reset: s; }
.stp { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 0 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); transition: opacity .25s; }
.stp::before { content: counter(s); grid-row: 1 / span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0F2E2E; color: #fff; font: 600 12px var(--en); box-shadow: 0 0 0 2px var(--t500); }
.stp .sv { font-weight: 600; } .stp .stt { font-size: 14px; color: var(--mute); }
.how[data-opt="a"] .s3, .how[data-opt="a"] .s4, .how[data-opt="b"] .s1, .how[data-opt="b"] .s2 { opacity: .28; }
.how[data-opt="a"] .s3::before, .how[data-opt="a"] .s4::before, .how[data-opt="b"] .s1::before, .how[data-opt="b"] .s2::before { background: var(--desk); color: var(--soft); box-shadow: none; }
.pdots, .svdots { display: none; }

@media (max-width: 860px) {
  .btn.ph { display: inline-flex; }
  /* the scene on phones: short, no second and third captions */
  .track { height: 200vh; height: 200svh; }
  html:not(.static) #cap2, html:not(.static) #cap3 { display: none; }
  html.static #cap2, html.static #cap3 { display: none; }
  html.static .poster { display: block !important; max-width: 280px; }
  html.static .poster .lq { display: none !important; }
  html.static .poster .ps { display: none; width: 100%; height: auto; }
  html.static[data-theme="light"] .poster .ps.pl, html.static[data-theme="dark"] .poster .ps.pd { display: block; }
  /* questions as cards */
  .ql { border-top: 0; display: flex; flex-direction: column; gap: 10px; }
  .q { border-bottom: 0; }
  .qa { position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--rule); border-radius: 14px; background: var(--sheet); box-shadow: 0 2px 0 var(--rule); }
  html[dir="ltr"] .qa { padding: 14px 44px 14px 16px; }
  .qa::after { content: "↖"; position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--tag); font-size: 18px; }
  html[dir="ltr"] .qa::after { content: "↗"; }
  .qa:active { background: var(--desk); }
  .q .qt { font-size: 18px; }
  /* services swipe */
  .svl { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 18px -20px 0; padding: 4px 20px 8px; scrollbar-width: none; }
  .svl::-webkit-scrollbar { display: none; }
  .svl .sv { flex: 0 0 84%; scroll-snap-align: center; }
  .sv > a { height: 100%; grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 20px 18px; border: 1px solid var(--rule); border-radius: 18px; background: var(--sheet); box-shadow: 0 10px 24px rgba(15,46,46,.07); }
  .sv .kc { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .svdots, .pdots { display: flex; justify-content: center; gap: 7px; margin: 12px 0 0; }
  .svdots i, .pdots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: transform .2s, background .2s; }
  .svdots i.on, .pdots i.on { background: var(--t500); transform: scale(1.3); }
  /* three sheets swipe */
  .how .papers { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 18px -20px 0; padding: 6px 20px 14px; scrollbar-width: none; }
  .how .papers::-webkit-scrollbar { display: none; }
  .pp { flex: 0 0 88%; scroll-snap-align: center; transform: none !important; }
  .ol li { grid-template-columns: 1.4em 7.5em 1fr; font-size: 14px; }
  .stampx { top: 66px; }
  /* chance test: an app-like full screen */
  .ct-opt { min-height: 64px; font-size: 18px; }
}
.ph-head { align-items: center; }
.ph-head .lock { order: 2; font-size: 14px; color: var(--sheet-ink); }
html[dir="ltr"] .ph-head .lock { order: 0; }
.ccard .seal svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  body.ct-on .site-foot, body.ct-on .sticky { display: none !important; }
  body.ct-on.page main { padding-bottom: 0; }
  #ct-quiz .ct-sheet { min-height: calc(100svh - 56px - 74px); display: flex; flex-direction: column; }
  #ct-quiz .ct-opts { margin-top: auto; margin-bottom: 12px; }
}
/* phone review fixes */
.how .papers { align-items: start; }
.pp .btn { white-space: nowrap; }
#ct-co { border: 1.5px solid var(--rule); border-radius: 12px; padding: 10px 14px; min-height: 52px; background: var(--sheet); }
#ct-co:focus { border-color: var(--t500); }
@media (max-width: 860px) {
  .track { height: 170vh; height: 170svh; }
  .how .papers { align-items: flex-start; }
  .ct-keys { display: none; }
  #ct-quiz .ct-sheet { justify-content: flex-end; }
  #ct-quiz .ct-sheet .lh { margin-bottom: auto; }
  #ct-quiz .ct-opts { margin-top: 0; }
  .pm { padding: 24px 0 8px; }
}

/* ---------- v3.2: how we work, three steps ---------- */
.how .papers { list-style: none; padding: 0; counter-reset: none; grid-template-columns: 1fr 1.3fr 1.05fr; position: relative; }
.how .papers::before { content: ""; position: absolute; top: 37px; inset-inline: 30px; border-top: 2px dashed var(--t300); z-index: 0; }
.pp { z-index: 1; gap: 12px; border-radius: 6px; }
.pp:nth-child(1), .pp:nth-child(3) { transform: none; }
.pp .pn { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 14px var(--ar); letter-spacing: 0; color: var(--tag); }
html[data-lang="en"] .pp .pn { font-family: var(--en); }
.pk { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #0F2E2E; box-shadow: 0 0 0 2.5px var(--t500), 0 3px 0 #061413; display: grid; place-items: center; }
.pk::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.pp h3 { font-size: clamp(22px, 2vw, 27px); }
.ticks { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ticks .ck { flex: none; width: 18px; height: 18px; margin-top: .35em; color: var(--t500); }
.offer-sheet { border-top: 1px solid var(--rule); padding-top: 26px; }
.doc-s { align-self: stretch; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 14px; border: 1px solid var(--rule); border-top: 5px solid var(--t500); border-radius: 4px; background: var(--sheet); box-shadow: 0 10px 24px rgba(15,46,46,.08); }
.doc-s .ot { margin: 0; font-size: 15px; color: var(--mute); }
.doc-s .ol li { grid-template-columns: 1.4em 9.5em 1fr; }
.oh2 { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--tag); }
.orows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.orow { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; padding: 9px 12px; border: 1.5px solid var(--rule); border-radius: 10px; transition: border-color .2s, background .2s; }
.orow .on { font-weight: 600; font-size: 15.5px; }
.orow .od { grid-column: 1; font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.orow .op { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 3px 10px; border: 1.5px dashed var(--t300); border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--tag); white-space: nowrap; }
.how[data-opt="a"] .orow[data-o="a"], .how[data-opt="b"] .orow[data-o="b"], .how[data-opt="c"] .orow[data-o="c"] { border-color: var(--t500); background: rgba(20,160,152,.08); }
.opt { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.opt .rd { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rule); display: grid; place-items: center; transition: border-color .15s; }
.opt[aria-pressed="true"] .rd { border-color: var(--t500); }
.opt[aria-pressed="true"] .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--t500); }
.opt[aria-pressed="true"] b::after { content: none; }
.opt > span:not(.rd) { flex-basis: 100%; padding-inline-start: 30px; }
.signl { align-self: stretch; position: relative; display: flex; align-items: flex-end; gap: 12px; margin-top: 10px; padding-top: 18px; min-height: 64px; }
.signl .sl { font-size: 14px; color: var(--soft); }
.signl .sline { flex: 1; border-bottom: 1.5px solid var(--sheet-ink); margin-bottom: 6px; }
.signl .stampx { top: auto; bottom: 0; inset-inline-end: 6%; font-size: 20px; padding: 4px 14px; }
.stampx.again { animation: stampin .45s var(--strike) 0s both; }

/* ---------- v3.2: Nazil, a night street in Baghdad ---------- */
.nazil { position: relative; z-index: 6; background: #0E0F11; color: #fff; overflow: hidden; padding: calc(var(--lf) * 3) max(22px, 6vw); }
.nazil::before { content: ""; position: absolute; inset: auto -20% -40% 30%; height: 80%; background: radial-gradient(closest-side, rgba(255,122,26,.20), transparent); pointer-events: none; }
html[dir="rtl"] .nazil::before { inset: auto 30% -40% -20%; }
.nzw { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.nazil .kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 500; color: #FF9A4D; }
.nazil .nzi { width: 28px; height: 28px; border-radius: 8px; }
.nazil h2 { margin: 0 0 18px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.25; color: #fff; }
.nazil .lead { margin: 0; font-size: 19px; color: rgba(255,255,255,.82); max-width: 52ch; }
.nazil .small { margin: 14px 0 0; font-size: 16px; color: rgba(255,255,255,.66); max-width: 56ch; }
.nazil .chip-nz { background: #FF7A1A; color: #0E0F11; }
.nazil .stores a { background: #fff; color: #0E0F11; }
.nz3d { height: 580px; perspective: 1400px; perspective-origin: 50% 40%; --p: .5; }
.nzstage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(calc(10deg - var(--p) * 8deg)) rotateY(calc(-22deg + var(--p) * 34deg)); will-change: transform; }
.nzmap { position: absolute; left: 50%; bottom: -40px; width: 600px; height: 600px; margin-left: -300px; transform: rotateX(68deg) translateZ(-120px); transform-origin: 50% 70%; color: #fff; }
.nzmap .grid { stroke: rgba(255,255,255,.07); stroke-width: 1.5; fill: none; }
.nzmap .tig { stroke: #13303A; stroke-width: 30; stroke-linecap: round; }
.nzmap .rt { stroke: #FF7A1A; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: calc(700 - var(--p) * 1400); }
.nzmap .rtd { stroke: #0E0F11; stroke-width: 2.5; stroke-dasharray: 6 9; stroke-linecap: round; }
.nzmap .stops circle { fill: #fff; stroke: #0E0F11; stroke-width: 3.5; }
.nzmap .kia circle { fill: #FF7A1A; stroke: #fff; stroke-width: 3; } .nzmap .kia .in { fill: #fff; stroke: none; }
.dev { position: absolute; top: 40px; left: 50%; width: 228px; padding: 9px; border-radius: 40px; background: #1C1D21; box-shadow: inset 0 0 0 1.5px #3A3B42, 0 40px 70px rgba(0,0,0,.55); transform-style: preserve-3d; }
.dev::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #08080A; transform: translateZ(-12px); }
.dev .scr { position: relative; border-radius: 31px; overflow: hidden; background: #fff; transform: translateZ(1px); }
.dev img { display: block; width: 100%; height: auto; }
.d1 { margin-left: -150px; transform: translateZ(calc(40px + var(--p) * 50px)) rotateY(-6deg); }
.d2 { margin-left: -40px; top: 10px; transform: translateZ(calc(-90px - var(--p) * 40px)) rotateY(8deg); opacity: .96; }
.d2 .scr::after { content: ""; position: absolute; inset: 0; background: rgba(14,15,17,.28); }
.nzbadge { position: absolute; top: 4px; left: 50%; margin-left: 70px; width: 76px; height: 76px; transform: translateZ(160px); filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); animation: nzfloat 2.6s var(--feed) infinite alternate; }
.nzbadge img { width: 100%; height: 100%; display: block; }
@keyframes nzfloat { to { transform: translateZ(160px) translateY(-10px); } }
html.static .nzbadge { animation: none; } html.static .nz3d { --p: .55; }
@media (prefers-reduced-motion: reduce) { .nzbadge { animation: none; } }

@media (max-width: 860px) {
  /* method: one column, a line joining the three steps */
  .how .papers { display: flex; flex-direction: column; gap: 16px; overflow: visible; scroll-snap-type: none; margin: 22px 0 0; padding: 0; }
  .how .papers::before { top: 30px; bottom: 30px; inset-inline: auto; inset-inline-start: 13px; border-top: 0; border-inline-start: 2px dashed var(--t300); }
  .pp { flex: none; width: 100%; padding: 22px 18px 20px; margin-inline-start: 0; }
  .pp .pn { margin-inline-start: -2px; }
  .doc-s { padding: 14px 12px 12px; }
  .doc-s .ol li { grid-template-columns: 1.3em 8.4em 1fr; font-size: 14px; }
  .orow { padding: 9px 10px; }
  .orow .op { font-size: 12px; padding: 3px 8px; }
  .pp .btn { align-self: stretch; }
  /* Nazil */
  .nazil { padding: calc(var(--lf) * 2.2) 20px calc(var(--lf) * 1.5); }
  .nzw { grid-template-columns: 1fr; gap: 6px; }
  .nazil h2 { font-size: 32px; }
  .nazil .lead { font-size: 17px; }
  .nz3d { height: 470px; margin: 4px -20px 0; perspective: 1000px; }
  .dev { width: 178px; padding: 7px; border-radius: 32px; top: 30px; }
  .dev .scr { border-radius: 25px; }
  .d1 { margin-left: -128px; } .d2 { margin-left: -36px; }
  .nzbadge { width: 60px; height: 60px; margin-left: 52px; top: 0; }
  .nzmap { width: 460px; height: 460px; margin-left: -230px; bottom: -70px; }
}

/* ---------- v3.2: spacing without page numbers ---------- */
.home .qs, .home .svc, .home .how { padding-bottom: calc(var(--lf) * 2.5); }
.home .chance-in { padding-bottom: calc(var(--lf) * 2.5); }

/* ---------- v3.2: the phone edition — sheets stack like paper on a desk ---------- */
@media (max-width: 860px) {
  .home .stk { position: sticky; top: var(--st, 0px); border-radius: 26px 26px 0 0; box-shadow: 0 -14px 30px rgba(10,30,31,.16); transform-origin: 50% 100%; transform: scale(calc(1 - var(--cv, 0) * .06)); }
  .home .stk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0A1E1F; opacity: calc(var(--cv, 0) * .5); pointer-events: none; z-index: 40; }
  .home #questions.stk { border-radius: 0; box-shadow: none; }
  .home .stk .wrap { padding-top: 6px; }
  .home .svc, .home .how, .home .chance-in { padding-top: calc(var(--lf) * 1.6); }
  .home .qs, .home .svc, .home .how, .home .chance-in { padding-bottom: calc(var(--lf) * 2); }
  .home .doors { padding: calc(var(--lf) * 1.6) 20px calc(var(--lf) * 2); }
  .home .stk::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--rule); z-index: 2; }
  .home #questions.stk::before, .home #nazil.stk::before { content: none; }
  .home #nazil.stk::before { content: none; }
  .paper .kicker, .nazil .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--desk); font-size: 14px; }
  .nazil .kicker { background: rgba(255,122,26,.14); padding-inline-start: 4px; }
  .nazil .nzi { width: 24px; height: 24px; border-radius: 999px; }
  .paper h2 { font-size: 29px; line-height: 1.32; margin-bottom: 18px; }
  .paper .lead { font-size: 17px; margin-top: -4px; }
  /* questions: index cards with a key */
  .qa { padding: 14px 16px; padding-inline-end: 58px; }
  html[dir="ltr"] .qa { padding: 14px 58px 14px 16px; }
  .qa::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: #0F2E2E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 8H3M7 4L3 8l4 4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: 0 0 0 2px var(--t500), 0 3px 0 #061413; }
  html[dir="ltr"] .qa::after { content: ""; transform: translateY(-50%) scaleX(-1); }
  .qa:active::after { box-shadow: 0 0 0 2px var(--t500), 0 1px 0 #061413; margin-top: 2px; }
  .q .tag { font-size: 13.5px; font-weight: 500; }
  /* services: bigger cards */
  .svl .sv { flex-basis: 86%; }
  .sv > a { padding: 22px 20px; gap: 12px; border-radius: 22px; }
  .sv .sn { font-size: 22px; }
  .sv .sa, .sv .sb { font-size: 16px; }
  /* chance card */
  .ccard { padding: 26px 22px; border-radius: 22px; }
  .ccard h2 { font-size: 27px; padding-inline-end: 84px; }
  .ccard .seal { width: 86px; }
  .ccard .btn { align-self: stretch; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .home .stk { position: relative; transform: none; } }
@media (max-width: 860px) {
  .nazil { padding-bottom: calc(var(--lf) * 2.4); }
  .nz3d { height: 430px; margin-top: 18px; }
  .dev { width: 156px; top: 34px; }
  .d1 { margin-left: -118px; } .d2 { margin-left: -30px; top: 18px; }
  .nzbadge { width: 54px; height: 54px; top: 6px; margin-left: 46px; transform: translateZ(90px); animation-name: nzfloat-s; }
  .nzmap { width: 420px; height: 420px; margin-left: -210px; bottom: -40px; }
}
@keyframes nzfloat-s { to { transform: translateZ(90px) translateY(-8px); } }

/* ---------- v3.2: phone edition ---------- */
.ptabs, .pnext { display: none; }
@media (max-width: 860px) {
  /* header: the lockup, contact, and one menu key */
  .mbtn { gap: 9px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--sheet); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
  .mbtn::before { content: ""; width: 16px; height: 10px; flex: none; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 62% 2px no-repeat; }
  html[dir="rtl"] .mbtn::before { background-position: 0 0, 100% 100%; }

  /* the dock: one floating key bar, out of the way of the content */
  .sticky { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); gap: 6px; padding: 6px; border-radius: 999px; background: rgba(15,46,46,.94); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 14px 34px rgba(6,20,19,.32), inset 0 0 0 1px rgba(255,255,255,.08); transform: translateY(150%); }
  .sticky .btn { min-height: 48px; font-size: 16px; border-radius: 999px; }
  .sticky .btn:not(.ghost) { background: #fff; color: #0F2E2E; box-shadow: none; }
  .sticky .btn.ghost { flex: 0 0 auto; padding: 0 18px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35) inset; }
  body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* sheets stack like paper, without greying the one underneath */
  .home .stk::after { opacity: calc(var(--cv, 0) * .16); }
  .home .stk { box-shadow: 0 -10px 28px rgba(10,30,31,.14); }

  /* how we work: three sheets you swipe, with tabs on top */
  .ptabs { position: sticky; z-index: 6; top: calc(64px + env(safe-area-inset-top, 0px)); display: flex; gap: 4px; margin: 4px 0 14px; padding: 4px; border-radius: 999px; background: var(--desk); box-shadow: 0 0 0 1px var(--rule); }
  .ptabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 6px; border: 0; border-radius: 999px; background: none; color: var(--mute); font: 500 15px var(--ar); cursor: pointer; transition: background .25s var(--feed), color .25s; }
  html[data-lang="en"] .ptabs button { font-family: var(--en); }
  .ptabs i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1.5px currentColor inset; transition: background .25s; }
  .ptabs button[aria-selected="true"] { background: var(--sheet); color: var(--sheet-ink); font-weight: 600; box-shadow: 0 2px 10px rgba(15,46,46,.10); }
  .ptabs button[aria-selected="true"] i { background: var(--t500); box-shadow: none; }
  .how .papers { flex-direction: row; gap: 14px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 10px; scroll-padding-inline: 20px; align-items: flex-start; scrollbar-width: none; transition: height .35s var(--feed); }
  .how .papers::-webkit-scrollbar { display: none; }
  .how .papers::before { content: none; }
  .how .pp { flex: 0 0 100%; width: 100%; scroll-snap-align: center; scroll-snap-stop: always; border-radius: 20px; padding: 22px 18px 18px; box-shadow: 0 1px 0 var(--rule), 0 10px 26px rgba(15,46,46,.07); }
  .how .pp .pn { display: none; }
  .how .pp h3 { margin-top: 0; font-size: 25px; }
  .pnext { display: inline-flex; align-self: flex-end; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; padding: 0 4px; border: 0; background: none; color: var(--tag); font: 600 16px var(--ar); cursor: pointer; }
  html[data-lang="en"] .pnext { font-family: var(--en); }
  .how .pp .btn { align-self: stretch; }
  .how .doc-s { margin-top: 2px; }
  .how .doc-s .ol { display: none; }
  .how .opts { gap: 8px; }
  .how .opt { min-height: 56px; padding: 12px 14px; border-radius: 14px; }
  .how .sts { margin-top: 6px; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .how .papers { transition: none; } }

/* ---------- v3.3: logo in one circle; phone first screen ---------- */
.ccard .seal { width: clamp(64px, 7vw, 92px); opacity: 1; transform: none; top: clamp(20px, 3vw, 34px); }
.ccard:hover .seal { transform: scale(1.04); }
.ccard .seal svg { filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.ccard h2, .ccard .ck { padding-inline-end: calc(clamp(64px, 7vw, 92px) + 20px); }
.enter .cap-k { background: none; box-shadow: 0 9px 0 rgba(6,20,19,.85), 0 16px 28px rgba(0,0,0,.35); }
[data-theme="dark"] .enter .cap-k { box-shadow: 0 9px 0 #000, 0 16px 28px rgba(0,0,0,.45); }
.enter .cap-k svg { width: 112px; height: 112px; }
.enter:active .cap-k, .enter.down .cap-k { transform: translateY(7px); box-shadow: 0 2px 0 rgba(6,20,19,.85), 0 6px 12px rgba(0,0,0,.3); }
@media (max-width: 860px) {
  .ccard .seal { width: 60px; top: 18px; }
  .ccard h2, .ccard .ck { padding-inline-end: 72px; }
  .enter .cap-k { width: 48px; height: 48px; box-shadow: none; }
  .enter .cap-k svg { width: 48px; height: 48px; }
  .enter:active .cap-k, .enter.down .cap-k { transform: none; box-shadow: none; }
  .cap { padding-bottom: calc(3.4rem + env(safe-area-inset-bottom, 0px)); }
  .prog button { display: none; }
  .prog .hint { display: inline-flex; }
  .prog .hint > span[data-show] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prog .hint > span[aria-hidden] { display: inline-block; font-size: 24px; line-height: 1; color: var(--t500); animation: cue 1.6s var(--feed) infinite; }
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .prog .hint > span { animation: none; } }
html.nomo .prog .hint > span { animation: none; }

/* ===== v3.4: footer, the way back, legal pages, the form with a meeting request, insights, careers ===== */
/* footer: brand and accounts, four groups, the legal row, copyright */
.site-foot .ftop { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-bottom: calc(var(--lf) * 1.2); border-bottom: 1px solid rgba(255,255,255,.12); }
.site-foot .ftop .flock { margin: 0; display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.site-foot .ftag { margin: 0; color: rgba(255,255,255,.7); font-size: 15px; }
.site-foot .social { display: flex; gap: 10px; margin-inline-start: auto; }
.site-foot .social a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .2s, box-shadow .2s; }
.site-foot .social a:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); text-decoration: none; }
.site-foot .social svg { width: 19px; height: 19px; }
.site-foot .fgroups { max-width: 1080px; margin: calc(var(--lf) * 1.2) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.site-foot .fg summary { list-style: none; margin: 0 0 8px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.62); cursor: default; }
.site-foot .fg summary::-webkit-details-marker { display: none; }
.site-foot .fg li.fx { color: rgba(255,255,255,.72); font-size: 15px; padding: 6px 0; line-height: 1.5; }
.site-foot .flegal { max-width: 1080px; margin: calc(var(--lf) * 1.4) auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-foot .flegal a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.86); text-decoration: none; font-size: 15px; }
.site-foot .flegal a:hover { color: #fff; text-decoration: underline; }
.site-foot .flegal + .closing { margin-top: 6px; border-top: 0; padding-top: 0; }
.site-foot .fq { color: rgba(255,255,255,.55); }
@media (max-width: 860px) {
  .site-foot { padding-top: calc(var(--lf) * 1.4); }
  .site-foot .ftop { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-foot .social { margin-inline-start: 0; }
  .site-foot .fgroups { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  .site-foot .fg { border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-foot .fg summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin: 0; font-size: 17px; color: #fff; cursor: pointer; }
  .site-foot .fg summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--feed); opacity: .8; }
  .site-foot .fg[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .site-foot .fg ul { padding-bottom: 12px; }
  .site-foot .flegal { border-top: 0; margin-top: 18px; padding-top: 0; gap: 0 18px; }
  .site-foot .closing { flex-direction: column; }
}

/* back to top, phones only, above the floating bar */
.totop { position: fixed; z-index: 29; inset-inline-end: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; display: none; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--btn); color: var(--btn-ink); box-shadow: 0 10px 26px rgba(6,20,19,.28); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .25s, visibility .25s, transform .3s var(--feed), bottom .35s var(--feed); }
.totop svg { width: 22px; height: 22px; }
.totop.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
@media (max-width: 860px) { .totop { display: inline-flex; } body:has(.sticky.on) .totop { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); } body.locked .totop { opacity: 0; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .totop { transition: opacity .2s; transform: none; } }

/* the way back: Home / page */
.crumbs { max-width: 1080px; margin: 0 auto 14px; font-size: 15px; color: var(--mute); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 .6em; color: var(--soft); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: currentColor; }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
@media (max-width: 860px) { .crumbs { padding: 0 20px; margin-bottom: 4px; } }
main.ct > .crumbs { position: relative; z-index: 2; padding: 0 max(18px, 4vw); margin: 0 auto; }

/* legal pages: numbered sections and contents */
.legal h1 .vc { font-size: .4em; vertical-align: middle; }
.legal .lsec { margin-top: calc(var(--lf) * 1.4); scroll-margin-top: 88px; }
.legal .lsec h2 { display: flex; align-items: baseline; gap: 14px; margin-top: 0; font-size: clamp(21px, 2vw, 26px); }
.legal .ln { flex: none; display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; border-radius: 50%; background: rgba(20,160,152,.12); color: var(--tag); font-size: .72em; font-weight: 600; font-variant-numeric: tabular-nums; }
.legal .toc { margin: var(--lf) 0 0; padding: 18px 22px; border-radius: 6px; background: var(--desk); }
.legal .toc ol { margin: 0; padding-inline-start: 1.4em; columns: 2; column-gap: 32px; }
.legal .toc li { break-inside: avoid; padding: 3px 0; }
.legal .toc li::marker { color: var(--tag); font-weight: 600; }
.legal .toc a { text-decoration: none; display: inline-block; padding: 6px 0; }
.legal .toc a:hover { text-decoration: underline; }
@media (max-width: 860px) { .legal .toc ol { columns: 1; } }

/* the form: a text area, and the meeting request behind a switch */
.field textarea { width: 100%; min-height: 104px; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--rule); border-radius: 0; background: none; color: inherit; font: inherit; font-size: 18px; line-height: 1.6; resize: vertical; }
.field textarea:focus { outline: none; border-bottom-color: var(--t500); }
.field textarea:focus-visible { box-shadow: 0 2px 0 var(--focus); }
.field.bad textarea { border-bottom-color: #B3261E; }
.field input::placeholder, .field textarea::placeholder { color: var(--soft); opacity: .8; }
.appt { margin-top: 22px; }
.tgl { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 17px; }
.tgl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tgl .sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--rule); box-shadow: inset 0 0 0 1.5px var(--rule); transition: background .2s; }
.tgl .sw::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .25s var(--feed); }
.tgl input:checked + .sw { background: var(--t500); }
html[dir="ltr"] .tgl input:checked + .sw::after { transform: translateX(18px); }
html[dir="rtl"] .tgl input:checked + .sw::after { transform: translateX(-18px); }
.tgl input:focus-visible + .sw { outline: 2px solid var(--focus); outline-offset: 3px; }
.appt-box { margin-top: 12px; padding: 16px 18px 6px; border-radius: 6px; background: rgba(20,160,152,.07); box-shadow: inset 0 0 0 1px var(--rule); }
.appt-box[hidden] { display: none; }
.appt-box .chips { margin-top: 4px; margin-bottom: 12px; }
.appt-box .hint { font-size: 15px; color: var(--soft); margin: 4px 0 10px; }
.days .dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; }
.chip.day { flex-direction: column; justify-content: center; align-items: center; min-height: 62px; padding: 6px 4px; border-radius: 12px; line-height: 1.25; text-align: center; }
.chip.day b { font-weight: 600; font-size: 15.5px; } .chip.day small { font-size: 13px; color: var(--soft); }
@media (max-width: 520px) { .days .dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.privacy-line { margin: 16px 0 0; font-size: 14.5px; color: var(--soft); }
.privacy-line a { color: inherit; }

/* insights: categories, a featured article, a grid */
.doc .col.wide { max-width: none; }
.doc.ins .lead, .doc.careers .lead { max-width: 720px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--lf) 0 0; }
.cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--rule); text-decoration: none; font-size: 15.5px; }
.cats a:hover { box-shadow: inset 0 0 0 1.5px var(--t500); }
.cats a[aria-current] { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.pcard a { display: flex; flex-direction: column; gap: 14px; height: 100%; color: inherit; text-decoration: none; }
.pcard .pc-v { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--desk); }
.pcard .pc-v img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--feed); }
.pcard a:hover .pc-v img { transform: scale(1.03); }
.pcard .pc-t { display: flex; flex-direction: column; gap: 6px; }
.pcard .pc-k { font-size: 14px; color: var(--tag); font-weight: 500; }
.pcard h2, .pcard h3 { margin: 0; font-size: 21px; line-height: 1.4; }
.pcard a:hover h2, .pcard a:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.pcard .pc-s { color: var(--mute); font-size: 16.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pc-m { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--soft); }
.pcard.big { margin-top: var(--lf); padding-bottom: var(--lf); border-bottom: 1px solid var(--rule); }
.pcard.big a { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.pcard.big h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; }
.pcard.big .pc-s { font-size: 18px; -webkit-line-clamp: 4; }
.pgrid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; margin-top: var(--lf); }
.tile { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: var(--t900); color: #fff; }
.tile svg { width: 44px; height: 44px; }
.tile b { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.3; max-width: 12em; }
.tile[data-cat="ai"] { background: var(--t600); }
.tile[data-cat="operations"] { background: #12514D; }
.tile[data-cat="growth"] { background: var(--t300); color: var(--t950); }
.tile[data-cat="finance"] { background: var(--t100); color: var(--t950); }
.tile[data-cat="iraq"] { background: var(--t950); }
.empty { margin-top: var(--lf); padding: 26px 26px 28px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--rule); max-width: 720px; }
.empty .eh { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.empty p { color: var(--mute); }
.empty .btn { margin-top: 10px; }
@media (max-width: 1020px) { .pgrid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .pcard.big a { grid-template-columns: 1fr; gap: 16px; } .pgrid3 { grid-template-columns: 1fr; gap: 28px; } }

/* the article */
.post .ph { display: block; max-width: 820px; }
.post .ph .kicker a { color: var(--tag); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.post .ph h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.3; }
.post .pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 20px 0 0; font-size: 15px; color: var(--soft); }
.post .pmeta .by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; direction: ltr; }
.post .pmeta .by svg { width: 26px; height: 26px; }
.post .pcover { margin: var(--lf) 0 0; border-radius: 6px; overflow: hidden; }
.post .pcover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post .pbody { display: grid; grid-template-columns: minmax(0, 720px) 230px; justify-content: space-between; gap: 48px; margin-top: calc(var(--lf) * 1.4); }
.post .pbody > .prose { grid-column: 1; grid-row: 1; }
.post .ptoc { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 96px; font-size: 15px; }
.post .ptoc p { margin: 0 0 6px; font-weight: 600; font-size: 14px; color: var(--soft); }
.post .ptoc ol { margin: 0; padding: 0; list-style: none; border-inline-start: 2px solid var(--rule); }
.post .ptoc a { display: block; padding: 7px 0; padding-inline-start: 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--mute); text-decoration: none; line-height: 1.45; }
.post .ptoc a:hover { color: var(--ink); border-inline-start-color: var(--t500); }
.prose { font-size: 19px; line-height: 1.9; }
html[data-lang="en"] .prose { font-size: 18.5px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(23px, 2.2vw, 29px); scroll-margin-top: 90px; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 21px; }
.prose a { color: var(--tag); text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--t500); font-size: 1.1em; color: var(--ink); }
.prose blockquote p { margin: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: calc(var(--lf) * 1.4) 0 0; padding-top: 18px; border-top: 1px solid var(--rule); max-width: 720px; }
.share .sl { font-size: 15px; color: var(--soft); margin-inline-end: 6px; }
.share .sh { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: inherit; box-shadow: inset 0 0 0 1.5px var(--rule); cursor: pointer; }
.share .sh:hover { box-shadow: inset 0 0 0 1.5px var(--t500); }
.share .sh svg { width: 19px; height: 19px; }
.share .cp { position: absolute; bottom: calc(100% + 6px); white-space: nowrap; font-size: 13px; color: var(--tag); }
.post .disc { max-width: 720px; margin: 14px 0 0; font-size: 14.5px; color: var(--soft); }
.post .cta-block { max-width: 720px; }
.prel { margin-top: calc(var(--lf) * 2); padding-top: var(--lf); border-top: 1px solid var(--rule); }
.prel h2 { margin: 0; }
@media (max-width: 1020px) {
  .post .pbody { grid-template-columns: 1fr; gap: 24px; }
  .post .ptoc { grid-column: 1; grid-row: 1; position: static; padding: 14px 18px; border-radius: 6px; background: var(--desk); }
  .post .pbody > .prose { grid-row: 2; }
}

/* careers */
.jobs { margin-top: var(--lf); border-top: 1px solid var(--rule); }
.job { border-bottom: 1px solid var(--rule); }
.job summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; min-height: 64px; padding: 12px 0; cursor: pointer; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job .jt { font-size: 20px; font-weight: 600; }
.job .jm { display: inline-flex; gap: 14px; font-size: 15px; color: var(--soft); }
.job .jb { padding: 0 0 22px; }
.careers .apply { margin-top: calc(var(--lf) * 1.6); }
.careers .apply h2 { margin-top: 0; }

/* home: the latest three articles (hidden until the first one is published) */
.latest { position: relative; z-index: 6; background: var(--desk); padding: calc(var(--lf) * 2.4) max(22px, 6vw) calc(var(--lf) * 1.2); }
.latest .lt-in { max-width: 1080px; margin: 0 auto; }
.latest .lt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.latest h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.latest .more { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--t500); }
.latest .pgrid3 { margin-top: 22px; }
html.stillmode .latest { display: none !important; }

/* ===== v3.4: the chance test on the typewriter ===== */
.tw { position: relative; }
.tw-paper { position: relative; z-index: 1; border-radius: 6px 6px 0 0; padding-bottom: clamp(34px, 5vw, 56px); margin-bottom: -16px; box-shadow: 0 12px 32px rgba(15,46,46,.08); }
.tw-mach { position: relative; z-index: 2; margin: 0 -14px; height: 46px; }
.tw-roll { display: block; width: 100%; height: 46px; filter: drop-shadow(0 6px 8px rgba(6,20,19,.25)); }
.tw-deck { position: relative; z-index: 1; margin: -20px 0 0; padding: 38px clamp(18px, 4vw, 40px) 26px; border-radius: 0 0 22px 22px; background: #0F2E2E linear-gradient(#0F2E2E, #0A1E1F); color: #fff; box-shadow: 0 22px 40px rgba(6,20,19,.28), inset 0 1px 0 rgba(255,255,255,.06); }
.tw-deck::before { content: ""; position: absolute; top: 14px; left: 18%; right: 18%; height: 3px; border-radius: 2px; background: rgba(53,178,168,.55); }
.tw-deck .field label { color: rgba(255,255,255,.78); }
.tw-deck #ct-co { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.tw-deck #ct-co:focus { border-color: var(--t400); }
.tw-deck .ctas { margin-top: 18px; }
.tw-deck .privacy-line { color: rgba(255,255,255,.66); }
.tw-deck .ct-keys { color: rgba(255,255,255,.6); margin: 14px 0 0; text-align: center; font-size: 14px; }
/* the answer keys */
.tw-deck .ct-opts { gap: 10px; }
.tw-deck .ct-opt { position: relative; background: #173B3A; color: #fff; border: 0; border-radius: 14px; box-shadow: 0 4px 0 #071413, inset 0 1px 0 rgba(255,255,255,.08); transition: transform 90ms var(--strike), box-shadow 90ms var(--strike), background .15s; font-size: 17.5px; text-align: start; }
.tw-deck .ct-opt:hover { background: #1D4746; }
.tw-deck .ct-opt .kc-l { background: #EEF8F7; color: #0F2E2E; box-shadow: 0 2px 0 #9CC9C4; }
.tw-deck .ct-opt:active, .tw-deck .ct-opt.hit { transform: translateY(4px); box-shadow: 0 0 0 #071413, inset 0 1px 0 rgba(255,255,255,.08); }
.tw-deck .ct-opt.sel { background: var(--t600); }
.tw-deck .ct-opt.sel .kc-l { background: #fff; color: #0F2E2E; box-shadow: 0 0 0 2.5px var(--t300); }
.tw-deck .ct-opt:focus-visible { outline: 2px solid var(--t300); outline-offset: 3px; }
/* the paper: earlier answers above, the line being typed, a caret */
.tw-log { list-style: none; margin: 0 0 14px; padding: 0; font-size: 15px; color: var(--soft); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); mask-image: linear-gradient(to bottom, transparent, #000 60%); }
.tw-log:empty { display: none; }
.tw-log li { padding: 2px 0; }
.tw-log b { font: 500 14px var(--en); color: var(--tag); margin-inline-end: 4px; }
#ct-q { min-height: 2.9em; }
#ct-q .tt { transition: transform .2s var(--feed), opacity .2s; display: inline; }
#ct-q .caret { display: none; width: .08em; min-width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -.12em; background: var(--t500); }
.tw-paper.typing #ct-q .caret { display: inline-block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tw-paper.lf { animation: lfjolt .23s var(--feed); }
.tw-paper.lf #ct-q .tt { transform: translateY(-14px); opacity: 0; }
@keyframes lfjolt { 40% { transform: translateY(-7px); } }
.tw-paper.out { animation: rollout .64s var(--strike) forwards; }
@keyframes rollout { to { transform: translateY(-46vh); opacity: 0; } }
.ct-paper.drop { animation: drop .6s var(--feed) both; }
.ct-paper.drop .seal-s { animation-delay: .82s; }
@keyframes drop { from { transform: translateY(-36px); opacity: 0; } }
.ct-top .ct-exit { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--mute); cursor: pointer; }
.ct-top .ct-exit:hover { background: var(--line); color: var(--ink); }
.ct-top .ct-exit svg { width: 20px; height: 20px; }
html.static .tw-paper.lf, html.static .tw-paper.out, html.static .ct-paper.drop { animation: none; }
@media (prefers-reduced-motion: reduce) { .tw-paper.typing #ct-q .caret { animation: none; } }
[data-theme="dark"] .tw-deck { background: #0A1E1F linear-gradient(#0A1E1F, #071413); box-shadow: 0 22px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06); }
@media (max-width: 860px) {
  .tw-paper { border-radius: 0; box-shadow: none; }
  .tw-mach { margin: 0 4px; }
  .tw-deck { border-radius: 0 0 18px 18px; margin-inline: 8px; padding: 34px 14px 18px; }
  #ct-quiz .tw { display: flex; flex-direction: column; min-height: calc(100svh - 56px - 64px - env(safe-area-inset-top, 0px)); }
  #ct-quiz .tw-paper { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; }
  #ct-quiz .tw-paper .lh { margin-bottom: 18px; }
  #ct-quiz .tw-log { margin-top: auto; }
  #ct-quiz .tw-log:empty + #ct-q { margin-top: auto; }
  #ct-quiz .ct-sheet { min-height: 0; }
  #ct-quiz .ct-opts { margin: 0; }
  .tw-deck .ct-opt { min-height: 60px; font-size: 17px; }
}

/* ===== v3.5: one button system — primary, secondary, icon, text link ===== */
/* 1 primary: dark capsule with the teal ring. 2 secondary: same capsule, outlined. Same height and type everywhere. */
.btn { min-height: 52px; padding: 0 24px; gap: 10px; border: 0; border-radius: 999px; font-size: 16.5px; font-weight: 500; line-height: 1.2; background: var(--btn); color: var(--btn-ink); box-shadow: inset 0 0 0 2px var(--t500); text-align: center; }
.btn.ghost { background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.light { background: #fff; color: #0F2E2E; box-shadow: inset 0 0 0 2px var(--t500); }
.btn .ar { width: 16px; height: 16px; flex: none; }
html[dir="rtl"] .btn .ar { transform: scaleX(-1); }
.btn:hover { filter: brightness(1.06); }
.btn.ghost:hover { background: rgba(20,160,152,.08); filter: none; }
/* 3 icon button: one 44 px circle for every icon-only action */
.kc, .sheet .x, .share .sh, .ct-top .ct-exit, .totop { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--btn); color: var(--btn-ink); box-shadow: inset 0 0 0 2px var(--t500); }
.kc { box-shadow: inset 0 0 0 2px var(--t500), 0 3px 0 rgba(6,20,19,.85); }
.kc.arrow svg { stroke: currentColor; }
.share .sh:hover, .sheet .x:hover, .ct-top .ct-exit:hover { background: var(--btn); color: var(--btn-ink); filter: brightness(1.12); box-shadow: inset 0 0 0 2px var(--t500); }
.sheet .x { display: inline-grid; place-items: center; font-size: 22px; line-height: 1; }
.share .sh svg { width: 18px; height: 18px; }
/* header keys share the secondary look, compact */
.cbtn { height: 44px; padding: 0 18px; border: 0; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 860px) {
  .btn { min-height: 50px; font-size: 16px; }
  .mbtn { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
  .qa::after { width: 36px; height: 36px; box-shadow: inset 0 0 0 2px var(--t500); }
  /* the floating bar: back-to-top key + one primary key */
  .sticky { align-items: center; }
  .sticky .btn { min-height: 48px; }
  .sticky .btn:not(.ghost) { background: #fff; color: #0F2E2E; box-shadow: inset 0 0 0 2px var(--t500); }
  .sticky .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
  .sticky .totop { position: static; display: none; flex: none; width: 48px; height: 48px; opacity: 1; visibility: visible; transform: none; pointer-events: auto; background: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
  .sticky .totop.on { display: inline-flex; }
  /* how we work: the next step is one secondary key across the card */
  .pnext { align-self: stretch; display: inline-flex; justify-content: center; margin-top: 10px; padding: 0 20px; min-height: 50px; color: var(--sheet-ink); font: 500 16px var(--ar); }
  html[data-lang="en"] .pnext { font-family: var(--en); }
  .how .pp .btn + .pnext { margin-top: 10px; }
}
/* 4 text link: .tlink and the small underlined links (more, take it again) */
.ct-back { color: var(--ink); }

/* ===== v3.5: phones scroll as normal pages; v3.6: the logo moment is the 3D key, as on the laptop ===== */
@media (max-width: 860px) {
  .home .stk { position: relative; top: auto; transform: none; border-radius: 0; box-shadow: none; }
  .home .stk::before, .home .stk::after { content: none; }
  .qs .pin { padding-top: calc(64px + env(safe-area-inset-top, 0px) + 30px); }
  .home .paper, .home section { scroll-margin-top: calc(64px + env(safe-area-inset-top, 0px)); }
  html:not(.static) .track { height: 260vh; height: 260svh; }
  html:not(.static) #cap3 { display: block; }
  #cap3 h2 { text-align: center; }
  #cap3 p { text-align: center; }
}
@media (max-width: 860px) {
  /* the questions arrive with their heading first, as the sheet finishes rising */
  html:not(.static) .home .qs { margin-top: -25vh; margin-top: -25svh; }
  .home .qs.hidden { visibility: visible; }
  .qs .pin { padding-top: 34px; }
}

/* v3.7 final check: on phones the floating bar never covers the footer's last line */
@media (max-width: 860px) { .site-foot { padding-bottom: calc(var(--lf) + 92px + env(safe-area-inset-bottom, 0px)); } }
