/* sebaway.app home page: the beta waitlist and a showcase of the app (site/src/build_home.py; motion in home.js).
   A night sky for the hero and the dark sections, warm paper for the story. Colours: navy #0B1F4B and blue #1C3D8F,
   white and a starlight blue #B4C7FF on dark, a rubber-stamp red only for paperwork details. No teal, no gradient
   text, no italics: a word that matters gets a hand-drawn pen underline instead.
   Plus Jakarta Sans for headlines, Figtree for text, IBM Plex Mono for labels, Caveat for handwriting,
   IBM Plex Sans Arabic for Arabic. Without JavaScript, or with reduced motion, everything shows as a static page. */

:root {
  color-scheme: light;
  --night: #040A1E;
  --night-2: #071233;
  --navy: #0B1F4B;
  --navy-2: #10275C;
  --blue: #1C3D8F;
  --blue-2: #2A52B5;
  --star: #B4C7FF;
  --star-line: #8FAAF5;
  --paper: #F3EFE6;
  --paper-2: #E7E0D1;
  --sheet: #FCFBF8;
  --ink: #0B1F4B;
  --text: #2A3350;
  --muted: #545C73;
  --line: rgba(11, 31, 75, 0.13);
  --stamp: #BE3326;
  --stamp-blue: #2647A6;
  --sticky: #FFE07A;
  --on-dark: #E8EDF9;
  --on-dark-muted: #AAB6D4;
  --display: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Sans Arabic", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --arabic: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="ar"] body { font-family: var(--arabic); line-height: 1.75; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
em, i, cite { font-style: normal; }
:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; border-radius: 6px; }
.sec-paper :focus-visible, .promises :focus-visible, .steps-dialog :focus-visible { outline-color: var(--blue-2); }
::selection { background: var(--star); color: var(--night); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; z-index: 100; inset-inline-start: 12px; top: -60px; padding: 10px 16px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 0.9em; margin: 0;
  font: 600 0.875rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-2);
}
.eyebrow .num { display: inline-flex; align-items: center; gap: 0.9em; }
.eyebrow .num::after { content: ""; width: 2.4em; height: 1.5px; background: currentColor; opacity: 0.5; }
.sec-dark .eyebrow, .cta .eyebrow { color: var(--star); }
html[lang="ar"] .eyebrow { font-family: var(--arabic); letter-spacing: 0; font-size: 0.9375rem; font-weight: 700; }

.display {
  margin: 0.4em 0 0; font: 700 clamp(2.2rem, 4.5vw, 4.1rem)/1.06 var(--display);
  letter-spacing: -0.03em; color: var(--ink); text-wrap: balance;
}
.sec-dark .display, .cta .display { color: #fff; }
html[lang="ar"] .display { letter-spacing: 0; line-height: 1.25; font-weight: 600; font-family: var(--arabic); }
.lead { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.6; max-width: 34em; }
.sec-dark .lead, .cta .lead { color: var(--on-dark-muted); }
.sec-head { max-width: 920px; margin-bottom: clamp(48px, 6vw, 96px); }
.sec { position: relative; padding-block: clamp(96px, 12vw, 176px); }

/* A word that matters: underlined by hand, drawn in when it comes into view. */
.pen { --pen: var(--blue-2); position: relative; display: inline-block; white-space: nowrap; }
.pen-line { position: absolute; left: -3%; bottom: -0.13em; width: 106%; height: 0.32em; overflow: visible; pointer-events: none; }
.pen-line path { fill: none; stroke: var(--pen); stroke-width: 0.075em; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .pen-line path { stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s cubic-bezier(0.6, 0.05, 0.25, 1) 0.15s; }
.motion .pen.is-in .pen-line path { stroke-dashoffset: 0; }
.sec-dark .pen, .cta .pen, .hero .pen { --pen: var(--star-line); }
.hero-title .pen .pen-line path { transition-delay: 1.1s; }
.promises .pen, .statement .pen:last-of-type { --pen: var(--stamp); }
[dir="rtl"] .pen-line { transform: scaleX(-1); }

/* ---------- buttons and forms ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0 1.3em;
  border: 0; border-radius: 999px; font: 700 1rem/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, box-shadow 0.25s;
}
html[lang="ar"] .btn { font-family: var(--arabic); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px -12px rgba(160, 185, 255, 0.55); }
@media (hover: hover) { .btn-light:hover { background: #E4EAFB; transform: translateY(-1px); } }
.btn-ink { background: var(--navy); color: #fff; min-height: 44px; font-size: 0.9375rem; }
@media (hover: hover) { .btn-ink:hover { background: var(--blue); } }
.btn-sm { min-height: 40px; padding: 0 1.05em; font-size: 0.9375rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
@media (hover: hover) { .btn:hover .arrow { transform: translateX(3px); } }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
@media (hover: hover) { [dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); } }
.btn[disabled] { opacity: 0.75; cursor: progress; }

.join { width: 100%; max-width: 560px; margin-inline: auto; }
.join-row {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.join-row:focus-within { border-color: rgba(180, 199, 255, 0.75); box-shadow: 0 0 0 4px rgba(180, 199, 255, 0.16); }
.join-row input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; background: transparent;
  color: #fff; font: 500 1rem var(--sans); outline: none;
}
.join-row input::placeholder { color: rgba(220, 230, 250, 0.55); }
/* The field sits on a dark background: telling the browser so makes its autofill colour a dark tint instead of
   a light box, and the text stays white. */
.join-row input { color-scheme: dark; border-radius: 999px; }
.join-row input:-webkit-autofill, .join-row input:-webkit-autofill:hover, .join-row input:-webkit-autofill:focus, .join-row input:autofill {
  -webkit-text-fill-color: #fff; caret-color: #fff; transition: background-color 100000s ease-in-out 0s;
}
.join-row input[aria-invalid="true"] { color: #FFB4A9; }
.join-check {
  position: relative; display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding-inline: 8px;
  font-size: 0.8125rem; line-height: 1.5; color: var(--on-dark-muted); text-align: start; cursor: pointer;
}
.join-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.join-check .box {
  flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid rgba(220, 230, 250, 0.6); display: grid; place-items: center; transition: background-color 0.2s, border-color 0.2s;
}
.join-check .box::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--navy); border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; opacity: 0; }
.join-check input:checked + .box { background: #fff; border-color: #fff; }
.join-check input:checked + .box::after { opacity: 1; }
.join-check input:focus-visible + .box { outline: 3px solid var(--star); outline-offset: 2px; }
.join-error { margin-top: 10px; padding: 8px 14px; border-radius: 12px; background: rgba(190, 51, 38, 0.2); color: #FFC9C1; font-weight: 600; font-size: 0.9375rem; }
.join-note { margin-top: 10px; font-size: 0.8125rem; color: rgba(200, 212, 240, 0.62); }
.join-privacy { margin-top: 4px; font-size: 0.75rem; line-height: 1.5; color: rgba(200, 212, 240, 0.55); }
.join-privacy a { color: rgba(200, 212, 240, 0.8); text-decoration: underline; text-underline-offset: 2px; }
/* For people who joined before: back to the tester steps. Sits right under the consent tick, set apart so it reads. */
.join-back {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
  margin-top: 14px; padding: 6px 6px 6px 16px; border-radius: 16px;
  background: rgba(180, 199, 255, 0.1); border: 1px solid rgba(180, 199, 255, 0.3);
  font-size: 0.9375rem; line-height: 1.4; color: #E6ECFB; text-align: start;
}
[dir="rtl"] .join-back { padding: 6px 16px 6px 6px; }
.join-back a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px;
  background: var(--star); color: var(--night); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.join-back a .arrow { transition: transform 0.25s var(--ease); }
@media (hover: hover) { .join-back a:hover .arrow { transform: translateX(3px); } }
[dir="rtl"] .join-back a .arrow { transform: scaleX(-1); }
@media (hover: hover) { [dir="rtl"] .join-back a:hover .arrow { transform: scaleX(-1) translateX(3px); } }
.join-done {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 14px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(180, 199, 255, 0.4); color: #fff; font-weight: 700;
}
.join-done[hidden] { display: none; }
.link-btn { padding: 6px 4px; border: 0; background: none; color: var(--star); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.tick { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-2); }
.tick::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; }

/* ---------- navigation ---------- */

.nav { position: fixed; z-index: 50; inset-inline: 0; top: 0; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 0; pointer-events: none; }
.nav-bar {
  pointer-events: auto; display: flex; align-items: center; gap: 16px; max-width: var(--max); margin-inline: auto;
  padding: 7px 7px 7px 14px; border-radius: 999px; color: #fff; border: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s;
}
[dir="rtl"] .nav-bar { padding: 7px 14px 7px 7px; }
.nav.is-scrolled .nav-bar { background: rgba(6, 14, 38, 0.92); border-color: rgba(255, 255, 255, 0.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.125rem/1 var(--sans); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav .brand { min-width: 44px; min-height: 44px; }
.nav-links { margin-inline-start: auto; }
.nav-links ul, .nav-langs ul { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.8); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-langs { padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.nav-langs a { display: grid; place-items: center; min-width: 40px; height: 36px; padding: 0 8px; border-radius: 999px; text-decoration: none; font: 600 0.75rem/1 var(--mono); color: rgba(255, 255, 255, 0.72); }
.nav-langs a[lang="ar"] { font: 600 0.875rem/1 var(--arabic); }
.nav-langs a:hover { color: #fff; }
.nav-langs a[aria-current="page"] { background: #fff; color: var(--ink); }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-langs { margin-inline-start: auto; }
}
@media (max-width: 760px) {
  /* on phones the bar is glass from the start, so nothing in the hero shows through it */
  .nav-bar { background: rgba(6, 14, 38, 0.9); border-color: rgba(255, 255, 255, 0.08); }
}
.nav-bar .btn .short { display: none; }
.nav .brand, .nav-langs, .nav-bar .btn { flex: none; }
@media (max-width: 480px) {
  /* phones: the short button label, tighter gaps; the name hides only on the narrowest screens */
  .nav-bar { gap: 10px; }
  .nav-bar .btn-sm { padding: 0 1em; }
  .nav-bar .btn .long { display: none; }
  .nav-bar .btn .short { display: inline; }
}
@media (max-width: 400px) {
  .nav .brand span { display: none; }
}

/* ---------- hero: a few loose papers that become one calm phone ---------- */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; color: #fff; background: radial-gradient(120% 85% at 50% -10%, #12307A 0%, var(--night-2) 42%, var(--night) 100%); }
.hero-pin { --px: 68%; --py: 52%; position: relative; width: 100%; height: 100%; overflow: hidden; }
[dir="rtl"] .hero-pin { --px: 32%; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-haze { position: absolute; inset: auto 0 0; height: 45%; background: radial-gradient(70% 100% at 50% 100%, rgba(42, 82, 181, 0.3), transparent 70%); pointer-events: none; }
.hero-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(48% 44% at 50% 54%, rgba(4, 10, 30, 0.9), rgba(4, 10, 30, 0.45) 62%, rgba(4, 10, 30, 0.1) 100%); }

.north-star { position: absolute; z-index: 3; left: 50%; top: 14%; width: 64px; height: 64px; translate: -50% -50%; }
.north-star img, .cta-star img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(170, 195, 255, 0.65)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.9)); }
.flare { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; translate: -50% -50%; pointer-events: none; background: radial-gradient(circle, rgba(190, 210, 255, 0.28) 0%, rgba(160, 185, 255, 0.07) 28%, rgba(160, 185, 255, 0) 60%); animation: breathe 5s ease-in-out infinite; }
.flare::before, .flare::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); }
.flare::before { width: 380px; height: 1px; }
.flare::after { width: 1px; height: 300px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent); }
@keyframes breathe { 50% { scale: 1.12; opacity: 0.75; } }

.hero-copy {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px var(--gutter) 64px; text-align: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: #D6E0F8; font-weight: 600; font-size: 0.8125rem;
}
.pill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.pill .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--star); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { scale: 1; opacity: 0.7; } 80%, 100% { scale: 3; opacity: 0; } }
.hero-title { margin: 22px 0 18px; font: 700 clamp(2.4rem, 5.8vw, 5.6rem)/1.02 var(--display); letter-spacing: -0.035em; color: #fff; }
.hero-title .line { display: block; overflow: hidden; padding: 0 0.08em 0.16em; margin-bottom: -0.16em; }
.hero-title .line > span { display: block; }
html[lang="ar"] .hero-title { font-family: var(--arabic); font-weight: 700; letter-spacing: 0; line-height: 1.2; font-size: clamp(2.4rem, 6vw, 5.6rem); }
.hero-sub { max-width: 35em; margin-bottom: 28px; color: var(--on-dark-muted); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.6; }

.papers { position: absolute; inset: 0; z-index: 1; font-size: clamp(6.4px, 0.7vw, 10.5px); pointer-events: none; }
.paper { position: absolute; will-change: transform; }
.paper-par { will-change: transform; }
.paper-in { rotate: var(--r, 0deg); animation: drift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes drift { from { translate: 0 -0.6em; } to { translate: 0.25em 0.6em; } }
.paper.near .paper-in { opacity: 0.9; }
.paper.near .paper-in > * { box-shadow: 0 2.4em 4em -1.2em rgba(0, 0, 0, 0.7), 0 0.3em 0.8em rgba(0, 0, 0, 0.3); }
.paper.mid .paper-in { opacity: 0.62; }
.paper.mid .paper-in > * { box-shadow: 0 1.8em 3em -1em rgba(0, 0, 0, 0.6); }

.p-ex15 { left: -6%; top: 13%; --r: -8deg; --dur: 10s; }
.p-padron { left: 80%; top: 8%; --r: 7deg; --dur: 11s; --delay: -3s; }
.p-790 { left: 72%; top: 78%; --r: -5deg; --dur: 9s; --delay: -2s; }
.p-alert { left: 84%; top: 47%; --r: 4deg; --dur: 9.5s; --delay: -1s; }
.p-sticky { left: 3%; top: 68%; --r: -7deg; --dur: 7.5s; --delay: -4s; }
.p-cal { left: 19%; top: 84%; --r: 5deg; --dur: 10.5s; --delay: -6s; }
@media (max-width: 760px) {
  /* On a phone the papers sit in a band above the words, never under them. */
  .papers { font-size: 5px; }
  .p-cal, .p-790 { display: none; }
  .p-ex15 { left: -20%; top: 7%; }
  .p-padron { left: 61%; top: 6%; }
  .p-sticky { left: 72%; top: 21%; }
  .p-alert { left: 24%; top: 23%; }
}

/* the paperwork itself */
.sheet { background: var(--sheet); color: #1D2433; font-family: var(--sans); }
.ex-row { display: flex; align-items: flex-end; gap: 0.5em; margin-top: 0.75em; font-size: 0.72em; white-space: nowrap; }
.ex-row > span { flex: none; color: #3A4256; }
.ln { flex: 1 1 auto; min-width: 2em; height: 1px; background: #8B93A6; margin-bottom: 0.25em; }
.ln.s { flex: 0 0 2.4em; }
.boxes { display: inline-flex; flex: none; }
.boxes b { width: 1.25em; height: 1.4em; border: 1px solid #7C8498; margin-inline-start: -1px; }
.ck { display: inline-grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border: 1px solid #7C8498; font-size: 0.85em; }

.ex15 { position: relative; width: 34em; padding: 1.6em 1.8em 2.2em; }
.ex-head { display: flex; gap: 1em; align-items: flex-start; justify-content: space-between; font-size: 0.8em; line-height: 1.25; }
.ex-head b { max-width: 26em; font-weight: 800; letter-spacing: 0.01em; }
.ex-code { flex: none; padding: 0.3em 0.6em; border: 1.5px solid #1D2433; font-weight: 800; font-size: 1.3em; }
.ex-reg { width: 14em; height: 5.5em; margin: 0.9em 0 0 auto; display: grid; place-items: center; border: 1px dashed #8B93A6; color: #8B93A6; font-size: 0.66em; text-align: center; }
.ex-sec { margin-top: 1.2em; padding: 0.35em 0.6em; background: #E5E7EC; font-weight: 800; font-size: 0.7em; letter-spacing: 0.02em; }
/* The user's own marks on the papers: a pen tick and a highlighter, never a stamp or seal (nothing looks certified). */
.paper-tick { position: absolute; right: 1.8em; top: 6.4em; width: 3.4em; height: 3.4em; rotate: -6deg; fill: none; stroke: var(--stamp-blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }
.hl-pen { box-shadow: inset 0 -0.6em 0 rgba(255, 209, 92, 0.62); }
.padron { position: relative; width: 30em; padding: 1.5em 1.6em 2em; background: #F7F1DF; }
.pd-top { display: flex; align-items: center; gap: 0.8em; font-size: 0.75em; line-height: 1.2; }
.pd-top b { display: block; font-weight: 800; letter-spacing: 0.08em; }
.pd-title { margin-top: 1em; padding: 0.5em; border: 1.5px solid #2A2A2A; text-align: center; font-weight: 800; font-size: 0.74em; letter-spacing: 0.03em; }
.pd-table { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 1em; border-top: 1px solid #8B8471; border-left: 1px solid #8B8471; font-size: 0.6em; }
.pd-table > * { height: 2.4em; padding: 0.3em; border-right: 1px solid #8B8471; border-bottom: 1px solid #8B8471; }
.pd-table span { background: #ECE3C8; font-weight: 700; }
.m790 { width: 26em; padding: 1.3em 1.4em 1.6em; background: #FFF6F1; }
.m-head { display: flex; align-items: stretch; gap: 0.8em; }
.m-mod, .m-code { display: grid; padding: 0.3em 0.7em; border: 1.5px solid #1D2433; line-height: 1; }
.m-mod span, .m-code span { font-size: 0.6em; }
.m-mod b { font-size: 1.9em; font-weight: 800; }
.m-code b { font-size: 1.4em; font-weight: 800; }
.barcode { flex: 1; height: 2.9em; fill: #1D2433; }
.m-band { margin-top: 0.9em; padding: 0.35em 0.6em; background: #E46F55; color: #fff; font-weight: 800; font-size: 0.68em; letter-spacing: 0.08em; }
.m-amount { font-family: var(--mono); font-size: 1.15em; padding: 0.1em 0.6em; border: 1px solid #7C8498; letter-spacing: 0.05em; }
.m-foot { margin-top: 1.2em; font-size: 0.6em; color: #6A7183; text-align: end; }
.alert { width: 26em; padding: 1.6em 1.6em 1.2em; border-radius: 1em; background: #fff; color: #1F2430; font-family: var(--sans); }
.alert b { font-size: 1.15em; }
.alert p { margin-top: 0.5em; font-size: 1.05em; line-height: 1.35; }
.alert .alert-sub { font-size: 0.82em; color: #6A7183; }
.alert-btn { display: block; margin-top: 1.1em; padding: 0.7em; border-radius: 0.6em; background: #1F5BB8; color: #fff; text-align: center; font-weight: 700; }
.sticky { position: relative; display: grid; align-content: start; gap: 0.3em; width: 15em; height: 14.5em; padding: 1.4em 1.3em; background: var(--sticky); color: #2B2A85; font-family: var(--hand); line-height: 1.05; }
.sticky span { font-size: 2.6em; }
.sticky .small { font-size: 1.8em; }
.sticky svg { width: 80%; fill: none; stroke: #C0392B; stroke-width: 2.4; stroke-linecap: round; }
.cal { position: relative; width: 15em; padding: 1em 1em 1.2em; border-radius: 0.5em; background: #fff; color: #1F2430; font-family: var(--sans); }
.cal-head { margin: -1em -1em 0.7em; padding: 0.7em 1em; border-radius: 0.5em 0.5em 0 0; background: #C0392B; color: #fff; font-weight: 800; font-size: 0.85em; letter-spacing: 0.1em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.25em 0; font-size: 0.75em; text-align: center; }
.cal-grid .dow { font-weight: 800; color: #8A90A0; }
.cal-grid .hit { position: relative; font-weight: 800; }
.cal-grid .hit svg { position: absolute; left: 50%; top: 50%; width: 2.6em; translate: -50% -50%; fill: none; stroke: #C0392B; stroke-width: 2.2; stroke-linecap: round; }
.cal-note { display: block; margin-top: 0.4em; font-family: var(--hand); font-size: 1.6em; color: #C0392B; rotate: -4deg; }

/* the phone, the cards and the second message */
.phone {
  position: relative; width: 100%; padding: 3.1%; border-radius: 13.5% / 6.2%;
  background: linear-gradient(155deg, #2E3657 0%, #0D1222 36%, #05070F 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 50px 90px -30px rgba(0, 0, 0, 0.65), 0 18px 36px -18px rgba(3, 10, 40, 0.6);
}
.phone::before { content: ""; position: absolute; top: 21%; right: -0.9%; width: 1%; height: 8%; border-radius: 0 3px 3px 0; background: #222A45; }
.screen { position: relative; overflow: hidden; aspect-ratio: 640 / 1425; border-radius: 10.6% / 4.8%; background: #F2F4F8; }
.screen img { width: 100%; height: 100%; object-fit: cover; }

.hero-phone, .hero-target { position: absolute; left: var(--px); top: var(--py); }
.hero-phone { z-index: 3; width: min(31svh, 300px); translate: -50% -50%; }
.hero-phone-in, .calm-in { visibility: hidden; }
.phone-glow { position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(150, 178, 255, 0.26), rgba(42, 82, 181, 0.18) 40%, transparent 68%); pointer-events: none; }
.hero-checks { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.check-card {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 0.9375rem; white-space: nowrap; visibility: hidden;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(11, 31, 75, 0.06);
}
[dir="rtl"] .check-card { padding: 11px 11px 11px 16px; }
.check-card.c1 { left: calc(var(--px) - 290px); top: 26%; }
.check-card.c2 { left: min(calc(var(--px) + 110px), calc(100% - 300px)); top: 47%; }
.check-card.c3 { left: calc(var(--px) - 330px); top: 66%; }
[dir="rtl"] .check-card.c1 { left: calc(var(--px) + 90px); }
[dir="rtl"] .check-card.c2 { left: auto; right: calc(100% - var(--px) + 110px); }
[dir="rtl"] .check-card.c3 { left: calc(var(--px) + 110px); }
.hero-calm { position: absolute; z-index: 4; inset-inline-start: var(--edge); top: 50%; translate: 0 -50%; width: min(44vw, 580px); }
.calm-title { font: 700 clamp(2.2rem, 4.5vw, 4.1rem)/1.06 var(--display); letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
html[lang="ar"] .calm-title { font-family: var(--arabic); font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.calm-sub { margin-top: 18px; max-width: 26em; color: var(--on-dark-muted); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font: 500 0.75rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(200, 212, 240, 0.6); }
.scroll-cue i { position: relative; width: 1px; height: 36px; overflow: hidden; background: rgba(200, 212, 240, 0.2); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 760px) {
  .hero-pin { --px: 50%; --py: 62%; }
  [dir="rtl"] .hero-pin { --px: 50%; }
  .hero-phone { width: min(25svh, 230px); }
  .hero-calm { inset-inline: var(--gutter); top: calc(84px + env(safe-area-inset-top, 0px)); translate: none; width: auto; text-align: center; }
  .calm-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .calm-sub { margin: 10px auto 0; font-size: 0.9375rem; }
  .check-card { font-size: 0.8125rem; padding: 8px 12px 8px 8px; }
  .check-card .tick { width: 20px; height: 20px; }
  .check-card.c1, [dir="rtl"] .check-card.c1 { left: 3%; right: auto; top: 47%; }
  .check-card.c2, [dir="rtl"] .check-card.c2 { left: auto; right: 3%; top: 62%; }
  .check-card.c3, [dir="rtl"] .check-card.c3 { left: 5%; right: auto; top: 77%; }
  .north-star { top: 17%; width: 44px; height: 44px; }
  .north-star .flare { width: 260px; height: 260px; }
  .north-star .flare::before { width: 220px; }
  .north-star .flare::after { height: 180px; }
  .hero-copy { justify-content: flex-end; padding-top: 0; padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
  .hero-sub { margin-bottom: 22px; }
  .pill { font-size: 0.75rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 760px) {
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  html[lang="ar"] .hero-title { font-size: clamp(2.1rem, 10vw, 2.8rem); line-height: 1.25; }
}
@media (max-width: 760px) and (max-height: 760px) {
  /* short phones: the words get the room, two papers peek in at the top */
  .pill, .p-sticky, .p-alert { display: none; }
  .papers { font-size: 4.6px; }
  .p-ex15 { top: 5%; }
  .p-padron { top: 4%; }
  .north-star { top: 13%; width: 38px; height: 38px; }
  .hero-title { margin: 0 0 12px; font-size: clamp(2.05rem, 9.2vw, 2.5rem); }
  html[lang="ar"] .hero-title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .hero-sub { margin-bottom: 16px; font-size: 0.9375rem; line-height: 1.55; }
  .join-row input, .join-row .btn { min-height: 46px; }
  .join-check { margin-top: 10px; font-size: 0.75rem; }
  .join-note { margin-top: 6px; font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .join-row { flex-direction: column; border-radius: 22px; }
  .join-row input { text-align: center; }
  .join-row .btn { width: 100%; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .hero-title { font-size: clamp(2.3rem, 5vw, 4.6rem); }
  .north-star { top: 12%; width: 48px; height: 48px; }
}

/* ---------- paper sections ---------- */

.sec-paper { z-index: 2; background: url("grain.png") repeat, var(--paper); color: var(--text); }
/* The torn edge is the section's own paper and grain, cut by a mask, so there is no seam or change of shade. */
.tear { position: absolute; left: 0; width: 100%; height: 40px; pointer-events: none; z-index: 2; background: inherit; -webkit-mask: var(--tear) 0 0 / 100% 100% no-repeat; mask: var(--tear) 0 0 / 100% 100% no-repeat; }
.tear-top { top: -39px; }
.tear-bottom { bottom: -39px; transform: scaleY(-1); }
.tear-1 { --tear: url("media/tear-1.svg"); }
.tear-2 { --tear: url("media/tear-2.svg"); }
.tear-3 { --tear: url("media/tear-3.svg"); }
.tear-4 { --tear: url("media/tear-4.svg"); }
.tear-5 { --tear: url("media/tear-5.svg"); }

/* problem */
.statement {
  max-width: 22em; margin-top: 28px; font: 600 clamp(1.7rem, 3vw, 2.6rem)/1.25 var(--display);
  letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty;
}
html[lang="ar"] .statement { font-family: var(--arabic); font-weight: 600; letter-spacing: 0; line-height: 1.5; font-size: clamp(1.6rem, 3.2vw, 2.7rem); }
.pains { display: grid; gap: 18px; margin-top: clamp(56px, 7vw, 104px); }
@media (min-width: 900px) {
  /* two cards on top, the advice card under them, the calendar down the whole right side */
  .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pain-dates { grid-column: 3; grid-row: 1 / span 2; }
  .pain-advice { grid-column: 1 / span 2; grid-row: 2; }
}
.pain { position: relative; display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; background: var(--sheet); border: 1px solid var(--line); overflow: hidden; }
.pain h3 { font: 700 clamp(1.5rem, 2vw, 1.9rem)/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; }
html[lang="ar"] .pain h3 { font-family: var(--arabic); font-weight: 600; letter-spacing: 0; line-height: 1.35; font-size: 1.5rem; }
.pain > p:last-child { color: var(--muted); }
.pain-terms { background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(38, 71, 166, 0.08) 31px 32px), var(--sheet); }
.terms { flex: 1; display: grid; justify-items: start; gap: 10px; min-height: 10.5em; align-content: center; }
.term { direction: ltr; display: flex; align-items: center; min-height: 1.4em; font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.2 var(--mono); color: var(--ink); letter-spacing: -0.02em; }
.caret { width: 0.08em; height: 1.05em; margin-inline-start: 0.08em; background: var(--stamp); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-arrow { width: 26px; height: 40px; margin-inline-start: 18px; fill: none; stroke: var(--stamp); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.term-plain { min-height: 3.9em; font: 600 1.375rem/1.3 var(--display); color: var(--blue); transition: opacity 0.4s; }
html[lang="ar"] .term-plain { font-family: var(--arabic); font-size: 1.25rem; line-height: 1.6; }
.term-plain.is-out { opacity: 0; }
.big-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; font: 700 clamp(3.4rem, 5.2vw, 4.8rem)/0.95 var(--display); letter-spacing: -0.04em; color: var(--blue-2); font-variant-numeric: tabular-nums; }
.big-num span:last-child { font: 600 0.9375rem var(--sans); color: var(--muted); }
html[lang="ar"] .big-num span:last-child { font-family: var(--arabic); }
.flap { position: relative; height: 3.4em; overflow: hidden; border-radius: 12px; background: #16181D; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4), 0 14px 30px -18px rgba(11, 31, 75, 0.6); font: 600 clamp(1.15rem, 1.6vw, 1.4rem)/1 var(--mono); letter-spacing: 0.06em; color: #F3E6C4; text-transform: uppercase; }
.flap::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(0, 0, 0, 0.7); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.flap span { position: absolute; inset: 0; display: flex; align-items: center; padding-inline: 18px; opacity: 0; }
.flap span.is-on { opacity: 1; }
.pain-advice { display: grid; gap: 24px; align-items: center; }
@media (min-width: 640px) { .pain-advice { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.advice-text { display: grid; gap: 14px; }
.advice-text p { color: var(--muted); max-width: 26em; }
.chat { display: grid; gap: 10px; }
.msg { display: grid; gap: 2px; max-width: 88%; padding: 10px 14px; font-size: 0.9375rem; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; line-height: 1.35; box-shadow: 0 12px 26px -20px rgba(11, 31, 75, 0.45); }
.msg:nth-child(2) { justify-self: end; border-radius: 16px 16px 4px 16px; background: #EEF2FC; }
.msg .who { font: 500 0.75rem var(--mono); color: var(--muted); }
.motion .chat .msg { opacity: 0; translate: 0 12px; scale: 0.94; transition: opacity 0.4s, translate 0.6s cubic-bezier(0.3, 1.5, 0.5, 1), scale 0.6s cubic-bezier(0.3, 1.5, 0.5, 1); }
.motion .chat.is-in .msg { opacity: 1; translate: 0 0; scale: 1; }
.motion .chat.is-in .msg:nth-child(2) { transition-delay: 0.9s; }
.month { padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(11, 31, 75, 0.35); }
.month-name { margin-bottom: 10px; font: 600 0.75rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
html[lang="ar"] .month-name { font-family: var(--arabic); letter-spacing: 0; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--text); }
.month-grid span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; }
.month-grid .dow { aspect-ratio: auto; font: 600 0.75rem var(--mono); color: var(--muted); }
.month-grid .mk { font-weight: 700; }
.month-grid .mk1, .month-legend .mk1 { box-shadow: inset 0 0 0 2px var(--blue-2); color: var(--blue-2); }
.month-grid .mk2, .month-legend .mk2 { background: var(--navy); color: #fff; }
.month-grid .mk3, .month-legend .mk3 { background: var(--stamp); color: #fff; }
.month-legend { display: grid; gap: 6px; font-size: 0.9375rem; }
.month-legend li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.month-legend i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.month-legend b { font-variant-numeric: tabular-nums; color: var(--ink); min-width: 1.4em; }
/* the three dates are marked one after another, then the last one keeps a slow pulse */
.motion .month .mk { transition: background-color 0.5s, box-shadow 0.5s, color 0.5s; }
.motion .month:not(.is-in) .mk { background: transparent; box-shadow: none; color: var(--text); font-weight: 400; }
.motion .month .mk2 { transition-delay: 0.7s; }
.motion .month .mk3 { transition-delay: 1.4s; }
.motion .month.is-in .mk3 { animation: pulse-red 3s ease-out 2.2s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(190, 51, 38, 0.4); } 80%, 100% { box-shadow: 0 0 0 9px rgba(190, 51, 38, 0); } }
.motion .month-legend li { opacity: 0; translate: 0 6px; transition: opacity 0.5s, translate 0.5s var(--ease); }
.motion .month.is-in + .month-legend li { opacity: 1; translate: 0 0; }
.motion .month.is-in + .month-legend li:nth-child(2) { transition-delay: 0.7s; }
.motion .month.is-in + .month-legend li:nth-child(3) { transition-delay: 1.4s; }

/* ---------- dark sections ---------- */

.sec-dark { color: var(--on-dark); }

/* how it works */
.how { background: radial-gradient(55% 45% at 85% 20%, rgba(42, 82, 181, 0.42), transparent 70%), var(--navy); padding-top: clamp(130px, 14vw, 200px); }
.how-grid { display: grid; gap: 40px; }
.how-step { padding-block: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.step-n { font: 600 0.875rem var(--mono); color: var(--star); letter-spacing: 0.1em; }
.how-step h3 { margin-top: 14px; font: 700 clamp(1.75rem, 2.8vw, 2.5rem)/1.12 var(--display); color: #fff; letter-spacing: -0.02em; }
html[lang="ar"] .how-step h3 { font-family: var(--arabic); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.how-step > p { max-width: 30em; margin-top: 14px; color: var(--on-dark-muted); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); }
/* The note on each step, styled like a quiet app notification: hairline border, flat tinted icon tile, one line of
   label and one line of detail. */
.note { display: inline-grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; color: var(--ink); text-align: start; box-shadow: 0 0 0 1px rgba(11, 31, 75, 0.08), 0 1px 2px rgba(11, 31, 75, 0.08), 0 16px 36px -14px rgba(0, 0, 0, 0.45); }
[dir="rtl"] .note { padding: 10px 10px 10px 16px; }
.note-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #EEF2FB; }
.note-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--blue-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.note-text { display: grid; gap: 1px; min-width: 0; }
.note-label { font-size: 0.75rem; font-weight: 600; line-height: 1.3; color: #6B7389; }
.note-value { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; white-space: nowrap; }
.step-note { margin-top: 22px; max-width: 100%; }
.step-note .note-value { white-space: normal; }
.step-shot { width: min(270px, 68vw); margin-top: 32px; }
.how-stage { display: none; }
@media (min-width: 960px) {
  .motion .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 6vw; }
  .motion .how-stage { display: block; }
  .motion .step-shot, .motion .how-step .step-note { display: none; }
  .motion .how-step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s; }
  .motion .how-step.is-active { opacity: 1; }
  .motion .how-step:first-child { min-height: 60vh; }
}
.stage-sticky { --w: min(290px, 32svh); position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.stage-sticky .phone { width: var(--w); }
.stage-glow { position: absolute; left: 50%; top: 50%; width: min(620px, 70svh); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(150, 178, 255, 0.2), rgba(42, 82, 181, 0.18) 42%, transparent 68%); }
.screen .shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.screen .shot.is-active { opacity: 1; transform: none; }
/* Each step's note is pinned, a little tilted, across an edge of the phone; it swaps with the step. */
.stage-cards { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.stage-card {
  position: absolute; top: calc(var(--w) * -1.075 - 40px); left: calc(var(--w) * -0.2); width: max-content;
  opacity: 0; translate: -50% 18px; scale: 0.94; rotate: -3deg;
  transition: opacity 0.45s var(--ease), translate 0.7s var(--ease), scale 0.7s cubic-bezier(0.3, 1.5, 0.5, 1);
}
/* each step's note lands somewhere new beside the phone, within its middle band and always overlapping its edge
   (--w is the phone's width) */
.stage-card.n1 { top: calc(var(--w) * -0.7); left: calc(var(--w) * -0.45); rotate: -3deg; }
.stage-card.n2 { top: calc(var(--w) * -0.45); left: calc(var(--w) * 0.34); rotate: 2.5deg; }
.stage-card.n3 { top: calc(var(--w) * -0.2); left: calc(var(--w) * -0.48); rotate: -2deg; }
.stage-card.n4 { top: calc(var(--w) * 0.05); left: calc(var(--w) * 0.45); rotate: 3deg; }
.stage-card.n5 { top: calc(var(--w) * 0.3); left: calc(var(--w) * -0.42); rotate: -2.5deg; }
.stage-card.n6 { top: calc(var(--w) * 0.45); left: calc(var(--w) * 0.4); rotate: 2deg; }
@media (max-width: 1180px) {
  .stage-card.n2, .stage-card.n4, .stage-card.n6 { left: calc(var(--w) * 0.3); }
  .stage-card.n1, .stage-card.n3, .stage-card.n5 { left: calc(var(--w) * -0.3); }
}
.stage-card.is-active { opacity: 1; translate: -50% 0; scale: 1; }
.stage-progress { position: absolute; top: 50%; inset-inline-end: 0; width: 2px; height: 180px; translate: 0 -50%; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.stage-progress i { position: absolute; inset: 0; background: var(--star); transform: scaleY(0); transform-origin: top; }

/* features */
.features { padding-bottom: clamp(120px, 13vw, 190px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 12; position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: clamp(22px, 2.4vw, 34px); border-radius: 28px; background: var(--sheet); border: 1px solid var(--line); overflow: hidden;
}
.tile h3 { font: 700 clamp(1.5rem, 2vw, 1.9rem)/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; }
html[lang="ar"] .tile h3 { font-family: var(--arabic); font-weight: 600; letter-spacing: 0; line-height: 1.35; font-size: 1.5rem; }
.tile > p, .t-text > p { color: var(--muted); max-width: 32em; }
.t-text { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .t-track, .t-ask, .t-fees, .t-vault, .t-legal { grid-column: span 6; }
  .t-fees { grid-column: span 12; }
}
@media (min-width: 1000px) {
  .t-guides { grid-column: span 5; grid-row: span 2; }
  .t-forms { grid-column: span 7; grid-row: span 2; }
  .t-track, .t-ask, .t-fees { grid-column: span 4; }
  .t-vault, .t-legal { grid-column: span 6; }
}
.t-num { font: 700 clamp(5rem, 9vw, 8rem)/0.85 var(--display); color: var(--blue); letter-spacing: -0.05em; margin-bottom: 6px; }
.guide-list { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.guide-list li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -20px rgba(11, 31, 75, 0.4); }
.guide-list b { color: var(--ink); font-size: 0.9375rem; font-weight: 700; }
.guide-list span { font: 500 0.75rem var(--mono); color: var(--blue-2); }
.guide-list span::before { content: "↗ "; }
.t-forms { background: radial-gradient(70% 60% at 100% 0%, rgba(42, 82, 181, 0.55), transparent 70%), var(--navy); border-color: transparent; color: var(--on-dark); }
.t-forms h3 { color: #fff; }
.t-forms .t-text > p { color: var(--on-dark-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); color: #E3EAFF; font: 500 0.75rem var(--mono); }
.form-sheet { position: relative; margin: 26px 0 -60px; padding: 0; border-radius: 6px; overflow: hidden; rotate: -2.5deg; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); background: #fff; }
.form-sheet img { width: 100%; height: auto; }
.hl { position: absolute; background: rgba(120, 155, 255, 0.36); mix-blend-mode: multiply; border-radius: 3px; transform-origin: left center; transform: scaleX(0); transition: transform 0.9s var(--ease); }
[dir="rtl"] .hl { transform-origin: right center; }
.hl.h1 { left: 3%; top: 12.6%; width: 14%; height: 3.4%; }
.hl.h2 { left: 4.6%; top: 22.6%; width: 13%; height: 6.4%; transition-delay: 0.25s; }
.hl.h3 { left: 58.5%; top: 27.6%; width: 12%; height: 3%; transition-delay: 0.5s; }
.form-sheet.is-in .hl, .static .hl, .no-js .hl { transform: scaleX(1); }

/* small touches: tiles lift a little under the pointer; each one has one quiet movement of its own */
.tile { transition: translate 0.45s var(--ease), box-shadow 0.45s var(--ease); }
@media (hover: hover) { .tile:hover { translate: 0 -4px; box-shadow: 0 34px 60px -42px rgba(11, 31, 75, 0.5); } }
.motion .guide-list li { opacity: 0; translate: 0 10px; transition: opacity 0.5s, translate 0.6s var(--ease); }
.motion .guide-list.is-in li { opacity: 1; translate: 0 0; }
.motion .guide-list.is-in li:nth-child(2) { transition-delay: 0.15s; }
.motion .guide-list.is-in li:nth-child(3) { transition-delay: 0.3s; }
.motion .guide-list.is-in li:nth-child(4) { transition-delay: 0.45s; }
.ready-chip { position: absolute; right: 4%; top: 7%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 0.9375rem; box-shadow: 0 14px 30px -14px rgba(11, 31, 75, 0.55), 0 0 0 1px var(--line); rotate: 4deg; }
.ready-chip .tick { width: 22px; height: 22px; }
.motion .ready-chip { opacity: 0; scale: 0.7; transition: opacity 0.4s 1.3s, scale 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 1.3s; }
.motion .form-sheet.is-in .ready-chip { opacity: 1; scale: 1; }
.fee-list li { position: relative; }
.fee-list li:first-child::after { content: ""; position: absolute; inset: -1px; border-radius: 14px; box-shadow: 0 0 0 2px var(--blue-2); opacity: 0; transition: opacity 0.6s 1.2s; pointer-events: none; }
.fee-list.is-in li:first-child::after, .static .fee-list li:first-child::after { opacity: 1; }
.legal-card .scale svg { transform-origin: 50% 25%; }
.motion .legal-card.is-in .scale svg { animation: sway 4.5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
.legal-card span:last-child { transition: translate 0.3s var(--ease); }
.t-legal:hover .legal-card span:last-child { translate: 4px 0; }
[dir="rtl"] .t-legal:hover .legal-card span:last-child { translate: -4px 0; }

/* reminders: the dates roll by slowly, like a timeline you scroll */
.tl-window { position: relative; height: 208px; margin-top: auto; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.motion .tl-track { animation: roll 30s linear infinite; }
.motion .tl-window:hover .tl-track { animation-play-state: paused; }
@keyframes roll { to { transform: translateY(-50%); } }
.timeline { position: relative; display: grid; gap: 18px; padding: 18px 0 18px; padding-inline-start: 24px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 5px; top: 0; bottom: 0; width: 2px; background: rgba(42, 82, 181, 0.25); }
.timeline li { position: relative; display: grid; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -24px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--blue-2); }
.timeline li:first-child::before { background: var(--blue-2); }
.timeline .when { font: 500 0.75rem var(--mono); color: var(--blue-2); }
.timeline b { color: var(--ink); }

/* Ask: a slow glow behind the questions, which arrive one by one */
.t-ask { isolation: isolate; background: var(--navy); border-color: transparent; }
.t-ask > * { position: relative; z-index: 1; }
.t-ask .ai-glow { position: absolute; z-index: 0; inset: -40%; border-radius: 50%; background: radial-gradient(closest-side at 30% 35%, rgba(110, 99, 232, 0.55), transparent), radial-gradient(closest-side at 70% 60%, rgba(42, 82, 181, 0.7), transparent), radial-gradient(closest-side at 55% 25%, rgba(180, 199, 255, 0.35), transparent); }
.motion .t-ask .ai-glow { animation: spin 16s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.t-ask h3 { color: #fff; }
.t-ask > p { color: #D2DCF7; }
.bubbles { display: grid; justify-items: end; gap: 8px; margin-top: auto; padding-top: 14px; }
.bubble { max-width: 92%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.5); }
.bubble:lang(ar) { font-family: var(--arabic); }
.bubble.typing { justify-self: start; display: inline-flex; gap: 5px; padding: 13px 16px; border-radius: 18px 18px 18px 4px; background: rgba(255, 255, 255, 0.16); box-shadow: none; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0.5; }
.motion .bubble.typing i { animation: dots 1.2s ease-in-out infinite; }
.motion .bubble.typing i:nth-of-type(2) { animation-delay: 0.15s; }
.motion .bubble.typing i:nth-of-type(3) { animation-delay: 0.3s; }
@keyframes dots { 40% { opacity: 1; translate: 0 -3px; } }
.motion .bubbles .bubble { opacity: 0; translate: 0 14px; scale: 0.9; transform-origin: 100% 100%; transition: opacity 0.4s, translate 0.6s cubic-bezier(0.3, 1.5, 0.5, 1), scale 0.6s cubic-bezier(0.3, 1.5, 0.5, 1); }
.motion .bubbles .bubble.typing { transform-origin: 0 100%; }
.motion .bubbles.is-in .bubble { opacity: 1; translate: 0 0; scale: 1; }
.motion .bubbles.is-in .bubble:nth-child(2) { transition-delay: 0.8s; }
.motion .bubbles.is-in .bubble:nth-child(3) { transition-delay: 1.6s; }
.motion .bubbles.is-in .bubble:nth-child(4) { transition-delay: 2.4s; }

.fee-list { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; }
.fee-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink); }
.fee-list .code { flex: none; padding: 4px 8px; border-radius: 8px; background: #FFF1EC; border: 1px solid rgba(228, 111, 85, 0.45); color: #A3412C; font: 600 0.75rem var(--mono); }
.motion .fee-list li, .motion .vault li { opacity: 0; translate: 0 12px; transition: opacity 0.5s, translate 0.6s var(--ease); }
.motion .fee-list.is-in li, .motion .vault.is-in li { opacity: 1; translate: 0 0; }
.motion .fee-list.is-in li:nth-child(2), .motion .vault.is-in li:nth-child(2) { transition-delay: 0.2s; }
.motion .fee-list.is-in li:nth-child(3), .motion .vault.is-in li:nth-child(3) { transition-delay: 0.4s; }
.t-vault, .t-legal { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) and (max-width: 999px), (min-width: 1200px) { .t-vault, .t-legal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .t-vault, .t-legal { grid-column: span 12; } }
.vault { display: grid; gap: 8px; padding: 14px; border-radius: 20px; background: var(--navy); }
.vault li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.9375rem; font-weight: 600; }
.vault .doc { flex: none; width: 22px; height: 28px; border-radius: 4px; background: linear-gradient(#fff, #fff) 4px 8px / 12px 2px no-repeat, linear-gradient(#fff, #fff) 4px 13px / 12px 2px no-repeat, linear-gradient(#fff, #fff) 4px 18px / 8px 2px no-repeat, rgba(255, 255, 255, 0.18); }
.vault .lock { position: relative; flex: none; width: 14px; height: 11px; margin-inline-start: auto; margin-top: 6px; border-radius: 3px; background: var(--star); }
.vault .lock::before { content: ""; position: absolute; left: 2px; top: -7px; width: 10px; height: 10px; border: 2px solid var(--star); border-bottom: 0; border-radius: 6px 6px 0 0; transition: translate 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) 0.9s; }
.motion .vault:not(.is-in) .lock::before { translate: 0 -4px; }
.t-legal { background: #FBEDE9; border-color: rgba(190, 51, 38, 0.18); }
.legal-card { display: grid; gap: 6px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 24px 48px -30px rgba(122, 33, 24, 0.45); border: 1px solid rgba(190, 51, 38, 0.15); }
.legal-card .scale { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #FDE3DD; }
.legal-card .scale svg { width: 26px; height: 26px; fill: none; stroke: var(--stamp); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.legal-card b { font: 700 1.375rem/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }
html[lang="ar"] .legal-card b { font-family: var(--arabic); font-weight: 700; font-size: 1.25rem; }
.legal-card span:last-child { color: var(--stamp); font-weight: 700; font-size: 0.9375rem; }

/* towns */
.towns { background: radial-gradient(50% 60% at 72% 50%, rgba(28, 61, 143, 0.5), transparent 70%), var(--night-2); padding-top: clamp(130px, 14vw, 200px); overflow: hidden; }
.towns-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .towns-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4vw; } }
.towns .display .count { font-variant-numeric: tabular-nums; color: var(--star); }
.towns .lead { margin-top: 22px; }
.legend { display: grid; gap: 8px; margin-top: 28px; font-size: 0.9375rem; color: var(--on-dark-muted); }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: #7C93CF; }
.legend i.hi { width: 10px; height: 10px; background: #fff; box-shadow: 0 0 0 4px rgba(180, 199, 255, 0.22), 0 0 14px rgba(180, 199, 255, 0.9); }
.credit { margin-top: 28px; font: 500 0.75rem var(--mono); color: rgba(170, 182, 212, 0.75); }
.towns-map { position: relative; margin: 0; }
.towns-map canvas { width: 100%; height: auto; aspect-ratio: 1000 / 726; }
.map-tag {
  position: absolute; left: 50%; top: 50%; display: grid; gap: 2px; padding: 9px 13px; border-radius: 12px; translate: -50% calc(-100% - 22px);
  background: rgba(5, 11, 31, 0.88); border: 1px solid rgba(180, 199, 255, 0.4); white-space: nowrap; pointer-events: none;
  transition: left 0.7s var(--ease), top 0.7s var(--ease), opacity 0.3s;
}
.map-tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 18px; background: linear-gradient(rgba(180, 199, 255, 0.8), transparent); }
.map-tag b { color: #fff; font-size: 0.9375rem; }
.map-tag span { color: var(--star); font-size: 0.8125rem; font-weight: 600; }
.map-tag.is-out { opacity: 0; }
.no-js .map-tag { display: none; }

/* languages */
.langs { padding-top: clamp(110px, 12vw, 170px); overflow: hidden; }
.marquee { overflow: hidden; margin-bottom: clamp(48px, 6vw, 88px); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { direction: ltr; display: flex; width: max-content; gap: 0.45em; font: 700 clamp(3rem, 8.5vw, 7.5rem)/1.15 var(--display); letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; animation: marquee 48s linear infinite; }
.marquee-track > span { display: inline-flex; align-items: center; gap: 0.45em; }
.marquee-track > span::after { content: ""; width: 0.22em; height: 0.22em; background: var(--blue-2); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.marquee-track > span.o { color: rgba(11, 31, 75, 0.18); }
.marquee-track :lang(ar) { font-family: var(--arabic); font-weight: 700; letter-spacing: 0; }
.marquee-track [dir="auto"] { unicode-bidi: isolate; }
@keyframes marquee { to { transform: translateX(-50%); } }
.langs-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .langs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.langs .lead { margin-top: 22px; color: var(--muted); }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.lang-chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.lang-chips li:last-child { font-family: var(--arabic); }
.langs-phones { position: relative; display: flex; justify-content: center; gap: 0; padding-block: 20px 40px; }
.langs-phones .phone { width: min(260px, 40vw); }
.langs-phones .ph-en { rotate: -5deg; translate: 8% 4%; z-index: 1; }
.langs-phones .ph-ar { rotate: 5deg; translate: -8% -4%; }

/* promises */
.promises { z-index: 2; overflow: hidden; background: url("grain.png") repeat, var(--paper-2); padding-block: clamp(100px, 11vw, 160px); }
.letter { position: relative; max-width: 900px; margin-inline: auto; padding: clamp(26px, 5.5vw, 76px); border-radius: 4px; background: var(--sheet); rotate: -0.5deg; box-shadow: 0 50px 90px -50px rgba(11, 31, 75, 0.45), 0 2px 6px rgba(11, 31, 75, 0.08); }
.letter-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.letter-mark { width: 34px; height: 34px; padding: 3px; border-radius: 9px; background: var(--navy); }
.letter-name { font-weight: 700; color: var(--ink); }
.letter-ref { margin-inline-start: auto; font: 500 0.75rem var(--mono); color: var(--muted); }
.nevers { display: grid; gap: 4px; margin-top: 32px; max-width: 40em; }
.nevers li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.5; }
.nevers svg { width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--stamp); stroke-width: 2.6; stroke-linecap: round; }
.nevers path { stroke-dasharray: 40; stroke-dashoffset: 0; }
.motion .nevers path { stroke-dashoffset: 40; transition: stroke-dashoffset 0.6s var(--ease); }
.motion .nevers.is-in path { stroke-dashoffset: 0; }
.motion .nevers.is-in li:nth-child(2) path { transition-delay: 0.15s; }
.motion .nevers.is-in li:nth-child(3) path { transition-delay: 0.3s; }
.motion .nevers.is-in li:nth-child(4) path { transition-delay: 0.45s; }
.letter-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; max-width: 34em; }
.stamp-round { position: absolute; inset-inline-end: clamp(14px, 5vw, 64px); top: clamp(80px, 9vw, 120px); width: clamp(120px, 15vw, 176px); aspect-ratio: 1; color: var(--stamp); rotate: -14deg; opacity: 0.88; mix-blend-mode: multiply; }
.stamp-round svg { width: 100%; height: 100%; overflow: visible; }
.stamp-round circle { fill: none; stroke: currentColor; stroke-width: 3.4; }
.stamp-round circle + circle { stroke-width: 2; }
.stamp-round text { fill: currentColor; font: 600 15px var(--mono); letter-spacing: 0.08em; }
.stamp-round .stamp-mark { position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; translate: -50% -50%; filter: brightness(0) saturate(100%) invert(26%) sepia(60%) saturate(2900%) hue-rotate(352deg) brightness(88%); }
.motion .stamp-round { opacity: 0; scale: 1.9; }
.motion .stamp-round.is-in { animation: stamp 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) 0.3s forwards; }
@keyframes stamp { 0% { opacity: 0; scale: 1.9; } 60% { opacity: 0.95; scale: 0.94; } 100% { opacity: 0.88; scale: 1; } }
@media (max-width: 700px) {
  .letter { padding-bottom: 150px; }
  .stamp-round { top: auto; bottom: 22px; width: 108px; opacity: 0.6; }
  .motion .stamp-round.is-in { animation-name: stamp-soft; }
}
@keyframes stamp-soft { 0% { opacity: 0; scale: 1.9; } 100% { opacity: 0.6; scale: 1; } }

/* final call */
.cta { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: #fff; text-align: center; padding-bottom: max(190px, 24vw);
  background: radial-gradient(55% 34% at 50% 100%, rgba(247, 178, 128, 0.5), transparent 72%), linear-gradient(180deg, var(--night) 0%, #081640 40%, #16337F 74%, #3657A8 100%); }
.cta-inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.cta-star { position: relative; width: 56px; height: 56px; margin-bottom: 30px; }
.cta-star .flare { width: 300px; height: 300px; }
.cta-star .flare::before, .cta-star .flare::after { content: none; }
.cta .display { max-width: 12em; margin-top: 18px; }
.cta .lead { margin: 22px auto 34px; }
.skyline { position: absolute; inset: auto 0 -1px; z-index: 1; aspect-ratio: 1800 / 400; min-height: 150px; background: linear-gradient(180deg, #13296A, #071233 55%, var(--night)); -webkit-mask: url("media/skyline.webp") center bottom / cover no-repeat; mask: url("media/skyline.webp") center bottom / cover no-repeat; }

/* footer */
.footer { padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--night); color: var(--on-dark-muted); font-size: 0.8125rem; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer-brand p { margin-top: 10px; max-width: 26em; font-size: 0.9375rem; }
.rep-badge { display: inline-block; margin-top: 16px; border-radius: 8px; line-height: 0; }
.rep-badge img { display: block; width: 180px; height: auto; border-radius: 8px; }
.rep-badge:focus-visible { outline: 2px solid #B4C7FF; outline-offset: 3px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.footer nav a:hover { text-decoration: underline; }
.footer-note, .footer-meta { grid-column: 1 / -1; max-width: 60em; }
.footer-note { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-meta a { color: #fff; }

/* the three tester steps after joining */
.steps-dialog { width: calc(100% - 32px); max-width: 560px; max-height: calc(100svh - 32px); padding: clamp(22px, 3.2vw, 36px); border: 0; border-radius: 28px; background: var(--sheet); color: var(--text); box-shadow: 0 50px 140px rgba(0, 0, 0, 0.55); }
.steps-dialog::backdrop { background: rgba(4, 10, 30, 0.62); }
.steps-dialog[open] { animation: rise 0.5s var(--ease); }
@keyframes rise { from { opacity: 0; translate: 0 24px; } }
.dlg-head { display: flex; align-items: center; gap: 12px; }
.dlg-head .tick { width: 32px; height: 32px; }
.dlg-head h2 { font: 700 1.6rem/1.15 var(--display); letter-spacing: -0.02em; color: var(--ink); }
html[lang="ar"] .dlg-head h2 { font-family: var(--arabic); font-weight: 700; font-size: 1.5rem; }
.dlg-close { margin-inline-start: auto; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: rgba(11, 31, 75, 0.07); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dlg-close:hover { background: rgba(11, 31, 75, 0.12); }
.dlg-intro { margin: 10px 0 8px; color: var(--muted); }
.dlg-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-top: 1px solid var(--line); }
.dlg-steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 0.875rem var(--mono); }
.dlg-steps b { color: var(--ink); }
.dlg-steps p { margin: 2px 0 12px; font-size: 0.9375rem; }

/* ---------- static page: no JavaScript or reduced motion ---------- */

.no-js .hero-phone, .no-js .hero-checks, .no-js .hero-calm, .no-js .scroll-cue,
.static .hero-phone, .static .hero-checks, .static .hero-calm, .static .scroll-cue { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track, .tl-track { animation: none; }
}
