/* Salamat landing page. Dusk over Amman to the app's Dawn blue; one light
   trail guides the reader. Tokens come from the app (lib/core/theme). */

@font-face { font-family: "Naskh"; src: url("assets/fonts/naskh.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "PlexAr"; src: url("assets/fonts/plex-ar-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PlexAr"; src: url("assets/fonts/plex-ar-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #081E56;
  --deep: #0F2C6E;
  --royal: #3A5FD8;
  --royal-deep: #2A47A8;
  --dawn: #5B8AF5;
  --mint: #3FE0CE;
  --teal: #17C3B5;
  --peach: #FFE3C8;
  --paper: #F5F8FE;
  --ink: #0E1A33;
  --ink-soft: #46557A;
  --on-night: #EAF1FB;
  --on-night-soft: #C9D8F2;

  --display: "Naskh", "Noto Naskh Arabic", serif;
  --body: "PlexAr", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --lh-body: 1.85;
  --lh-display: 1.3;

  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}
:root[lang="en"] {
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --lh-body: 1.65;
  --lh-display: 1.08;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.0625rem/var(--lh-body) var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: opacity .22s var(--ease-soft);
}
body.is-switching { opacity: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: var(--lh-display); margin: 0; }
:root[lang="en"] h1, :root[lang="en"] h2 { font-weight: 500; letter-spacing: -.02em; font-variation-settings: "SOFT" 50; }
:root[lang="en"] h3 { font-family: var(--body); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: #fff; color: var(--night);
  box-shadow: 0 10px 30px -10px rgba(63, 224, 206, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(63, 224, 206, .7); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .38); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-royal { background: var(--royal-deep); color: #fff; }
.btn-royal:hover { background: var(--royal); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  color: #fff;
  transition: background-color .4s var(--ease-soft), backdrop-filter .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-solid {
  background: rgba(8, 30, 86, .72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: auto; filter: drop-shadow(0 0 10px rgba(63, 224, 206, .35)); }
.wordmark { font: 700 1.5rem/1 var(--display); }
:root[lang="en"] .wordmark { font-weight: 600; letter-spacing: -.01em; }
.wm-accent { color: var(--mint); }
.nav-links { display: flex; gap: 26px; margin-inline-start: 18px; }
.nav-links a {
  text-decoration: none; font-size: .95rem; color: var(--on-night-soft);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--mint); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-current { color: #fff; }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.lang {
  background: none; border: 0; color: var(--on-night-soft); cursor: pointer;
  font: 500 .95rem/1 "Manrope", var(--body); padding: 10px 8px; min-height: 44px;
}
.lang:hover { color: #fff; }
.lang[lang="ar"] { font-family: "PlexAr", sans-serif; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding: 120px var(--gutter) clamp(72px, 12vh, 140px);
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 70%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 30, 86, .55) 0%, rgba(8, 30, 86, 0) 28%),
    linear-gradient(0deg, var(--night) 0%, rgba(8, 30, 86, .82) 26%, rgba(8, 30, 86, 0) 62%);
}
.hero-copy { max-width: 40rem; }
.hero-title { font-size: clamp(3.4rem, 9.5vw, 7.4rem); text-shadow: 0 6px 40px rgba(8, 30, 86, .5); }
.hero-title .line { display: block; overflow: hidden; padding-block: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-lede { margin-top: 22px; max-width: 33rem; font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--on-night); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.scroll-cue {
  position: absolute; bottom: 26px; inset-inline-end: var(--gutter);
  width: 1.5px; height: 56px; background: rgba(255, 255, 255, .22); overflow: hidden; border-radius: 2px;
}
.scroll-cue span { position: absolute; inset: 0; background: var(--mint); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* the one orchestrated load */
.js .hero-media img { animation: dusk-in 2.4s var(--ease) both; }
.js .hero-title .line > span { animation: rise 1.2s var(--ease) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .14s; }
.js .hero-lede { animation: fade-up 1s var(--ease) .5s both; }
.js .cta-row { animation: fade-up 1s var(--ease) .68s both; }
.js .nav { animation: fade 1.2s var(--ease-soft) .9s both; }
@keyframes dusk-in { from { transform: scale(1.12); filter: blur(14px) brightness(.6); } to { transform: none; filter: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- story ---------- */
.story {
  position: relative; color: var(--on-night);
  background: linear-gradient(180deg, var(--night) 0%, #0A2462 100%);
  padding: clamp(80px, 12vw, 140px) var(--gutter) clamp(60px, 8vw, 120px);
}
.story-head { max-width: 72rem; margin: 0 auto clamp(40px, 6vw, 80px); }
.story-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: #fff; max-width: 18ch; }
.story-grid {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(40px, 7vw, 110px);
}
.story-steps { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.step {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: center;
  padding-inline-start: 84px; position: relative;
  opacity: .32; transition: opacity .7s var(--ease-soft);
}
.step.is-active { opacity: 1; }
.step h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: #fff; }
.step p { margin-top: 14px; max-width: 30rem; font-size: 1.12rem; color: var(--on-night-soft); }
.step-dot {
  position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 1rem/1 "Manrope", sans-serif; color: var(--on-night-soft);
  background: var(--night); box-shadow: inset 0 0 0 1.5px rgba(201, 216, 242, .3);
  transition: color .5s, background-color .5s, box-shadow .6s var(--ease);
}
.step.is-lit .step-dot {
  color: var(--night); background: var(--mint);
  box-shadow: 0 0 0 6px rgba(63, 224, 206, .16), 0 0 28px rgba(63, 224, 206, .6);
}
.trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trail-base { stroke: rgba(201, 216, 242, .14); stroke-width: 2; stroke-dasharray: 2 10; }
.trail-glow { stroke: url(#trailGrad); stroke-width: 10; opacity: .55; }
.trail-line { stroke: url(#trailGrad); stroke-width: 3.5; }
.trail-head { fill: #fff; }
.trail-head-halo { fill: var(--mint); opacity: .35; filter: blur(4px); }

.story-phone { position: relative; }
.phone {
  position: sticky; top: calc(50vh - 320px);
  width: 100%; max-width: 310px; aspect-ratio: 310 / 640; margin-inline: auto;
  border-radius: 46px; background: var(--paper); overflow: hidden;
  box-shadow:
    0 0 0 9px #0B1A44, 0 0 0 10px rgba(201, 216, 242, .22),
    0 40px 90px -20px rgba(0, 0, 0, .65), 0 0 120px -30px rgba(91, 138, 245, .55);
}
.phone-island {
  position: absolute; z-index: 5; top: 10px; left: 50%; translate: -50% 0;
  width: 92px; height: 26px; border-radius: 20px; background: #050B1E;
}
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .6s var(--ease-soft), transform .8s var(--ease);
  font-size: 13px; line-height: 1.5; color: var(--ink);
}
.screen.is-active { opacity: 1; transform: none; }
.app-hero {
  padding: 58px 20px 26px; color: #fff;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(255, 227, 200, .22), transparent 60%),
    linear-gradient(180deg, #5B8AF5 0%, #3A5FD8 16%, #2A47A8 58%, #22398A 100%);
  border-radius: 0 0 26px 26px;
}
:root[dir="ltr"] .app-hero { background:
    radial-gradient(120% 70% at 15% 0%, rgba(255, 227, 200, .22), transparent 60%),
    linear-gradient(180deg, #5B8AF5 0%, #3A5FD8 16%, #2A47A8 58%, #22398A 100%); }
.app-greet { color: #DEEAFB; font-size: 13px; }
.app-ask { font: 700 21px/1.35 var(--display); margin-top: 4px; }
.app-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: #fff; border-radius: 18px; font-weight: 600; font-size: 14px;
  box-shadow: 0 1px 2px rgba(14, 26, 51, .06), 0 6px 18px -10px rgba(42, 71, 168, .25);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.tile img { width: 54px; height: 54px; object-fit: contain; }
.screen-choose.is-active .tile-pick { box-shadow: 0 0 0 2px var(--royal), 0 10px 24px -10px rgba(58, 95, 216, .55); transform: scale(1.02); transition-delay: .7s; }
.app-bar { padding: 52px 18px 12px; font: 700 17px/1.3 var(--display); text-align: center; border-bottom: 1px solid #E3EAF7; }
.addr { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 1px 2px rgba(14, 26, 51, .06); }
.addr b { display: block; font-size: 14px; }
.addr small { color: var(--ink-soft); font-size: 12px; }
.pin { width: 30px; height: 30px; border-radius: 50%; background: #E6EDFD; position: relative; flex: none; }
.pin::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--royal); }
.app-label { font-weight: 600; font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.chips { display: flex; gap: 8px; }
.chips span, .slots span {
  padding: 8px 14px; border-radius: 12px; background: #fff; font-weight: 600; font-size: 12.5px;
  box-shadow: inset 0 0 0 1px #DCE5F5; transition: background-color .4s, color .4s, box-shadow .4s;
}
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.slots span { padding: 9px 0; }
.chips .on, .slots .on { background: var(--royal-deep); color: #fff; box-shadow: none; }
.app-cta {
  margin-top: auto; background: var(--royal-deep); color: #fff; text-align: center;
  font-weight: 600; font-size: 14px; padding: 13px; border-radius: 999px;
}

/* ---- The phone's screens, drawn the way the app draws them ---------------
   Screen 1 is the app's Home (skyline header, the sideways service cards and
   their place marker); screen 2 is the booking wizard's "when" step. Wording
   is the app's own. When the app changes, these change with it. */
.h-hero {
  position: relative; padding: 46px 16px 36px; color: #fff;
  background: #1B2E63 url("assets/img/app-hero.webp") center 35% / cover;
}
.h-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 86, .55), rgba(8, 30, 86, .28) 45%, rgba(8, 30, 86, .74));
}
.h-hero > * { position: relative; }
.h-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.h-brand { display: flex; align-items: center; gap: 6px; margin-inline-end: auto; font-size: 14px; }
.h-brand img { width: 20px; height: 20px; }
.h-bell, .h-avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.h-bell { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.h-avatar { background: linear-gradient(135deg, #3FE0CE, #2A8BD8); color: #0B1A44; font-weight: 700; font-size: 11px; }
.h-greet { font-size: 11.5px; color: #DEEAFB; }
.h-ask { font: 700 19px/1.32 var(--display); margin-top: 2px; max-width: 84%; }
.h-trust {
  display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: #0B7A4B; font-size: 9.5px; font-weight: 600;
}
.h-sheet {
  position: relative; margin-top: -18px; flex: 1; overflow: hidden;
  background: #F5F2EC; border-radius: 22px 22px 0 0; padding-top: 14px;
}
.h-eyebrow { display: flex; align-items: center; gap: 6px; padding-inline: 16px; font-size: 10px; font-weight: 600; color: #0E7C72; }
.h-eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: #0E7C72; }
.h-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 10px; }
.h-head b { display: block; font: 700 15.5px/1.25 var(--display); }
.h-dots { display: flex; gap: 3px; margin-top: 5px; }
.h-dots i { width: 4px; height: 4px; border-radius: 4px; background: #C9CED8; }
.h-dots i:first-child { width: 16px; background: #1B53C7; }
.h-all {
  background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 10.5px; font-weight: 700; color: #1F3F9E;
  box-shadow: 0 4px 10px -4px rgba(10, 37, 64, .35);
}
.h-all::after { content: "←"; margin-inline-start: 6px; }
:root[dir="ltr"] .h-all::after { content: "→"; }
.h-rail { display: flex; gap: 10px; padding-inline: 16px; }
.pcard {
  position: relative; flex: none; width: 190px; height: 268px; padding: 12px; overflow: hidden;
  display: flex; flex-direction: column; background: #fff; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(14, 26, 51, .06), 0 14px 26px -16px rgba(10, 37, 64, .4);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.pcard::before {
  content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%;
  top: -32px; inset-inline-end: -46px; background: #E4ECFB;
}
.pcard img { position: absolute; top: 8px; inset-inline-end: -4px; width: 94px; height: 94px; object-fit: contain; }
.pcard-badge {
  position: relative; align-self: flex-start; padding: 3px 8px; border-radius: 999px;
  background: #E4ECFB; color: #1B53C7; font-size: 9px; font-weight: 700;
}
.pcard-title { position: relative; padding-top: 86px; font: 700 15px/1.25 var(--display); }
.pcard-badge + .pcard-title { padding-top: 66px; }
.pcard-price { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.pcard-price > span { padding: 4px 9px; border-radius: 999px; background: #E4ECFB; color: #1B53C7; font-weight: 700; font-size: 12px; }
.pcard-price small { font-size: 9.5px; color: var(--ink-soft); }
.pcard-desc { margin-top: 8px; font-size: 10px; line-height: 1.55; color: #5A6478; }
.pcard-foot {
  display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px;
  border-top: 1px solid #E8EBF1; font-size: 10.5px; font-weight: 600;
}
.pcard-go { width: 24px; height: 24px; border-radius: 50%; background: #E4ECFB; color: #1B53C7; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.pcard-go::after { content: "←"; }
:root[dir="ltr"] .pcard-go::after { content: "→"; }
.pcard-nurse::before { inset-inline: -46px auto; background: #E6F6F4; }
.pcard-nurse img { inset-inline: -4px auto; }
.pcard-nurse .pcard-price > span, .pcard-nurse .pcard-go { background: #E6F6F4; color: #0A7268; }
.h-tabs {
  position: absolute; inset-inline: 12px; bottom: 10px; height: 46px; padding: 4px;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center;
  border-radius: 24px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -10px rgba(10, 37, 64, .4), inset 0 0 0 1px rgba(255, 255, 255, .8);
  font-size: 9px; font-weight: 600; color: #6B7488;
}
.h-tabs .on { display: grid; place-items: center; height: 100%; border-radius: 18px; background: #E3EBFD; color: #1B3FA6; box-shadow: inset 0 0 0 1px #9DB6F3; }

/* The row slides once toward the next card and comes home, as it does in
   the app; then the doctor card is picked. */
@keyframes railPeekRtl { 0%, 100% { transform: none; } 42% { transform: translateX(48px); } }
@keyframes railPeekLtr { 0%, 100% { transform: none; } 42% { transform: translateX(-48px); } }
.screen-choose.is-active .h-rail { animation: railPeekRtl 1.5s var(--ease-soft) 1s 1 both; }
:root[dir="ltr"] .screen-choose.is-active .h-rail { animation-name: railPeekLtr; }
.screen-choose.is-active .pcard-doc {
  box-shadow: 0 0 0 2px var(--royal), 0 14px 28px -12px rgba(58, 95, 216, .6);
  transition-delay: 2.7s;
}

.w-top { padding: 46px 16px 14px; color: #fff; background: linear-gradient(180deg, #2A47A8 0%, #3A5FD8 55%, #6E93F0 100%); }
.w-bar { display: flex; align-items: center; gap: 8px; }
.w-bar > div { margin-inline-end: auto; }
.w-bar b { display: block; font-size: 12.5px; }
.w-bar small { font-size: 10px; color: #DEEAFB; }
.w-back { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-size: 12px; }
.w-back::after { content: "→"; }
:root[dir="ltr"] .w-back::after { content: "←"; }
.w-step { font-size: 10px; font-weight: 700; color: #8FF0E2; }
.w-prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 10px; }
.w-prog i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.w-prog .on { background: #3FE0CE; }
.w-title { margin-top: 14px; font: 700 19px/1.3 var(--display); }
.w-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w-opt { padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 51, .06), 0 8px 18px -12px rgba(42, 71, 168, .35); }
.w-opt small { display: block; text-align: end; font-size: 8.5px; font-weight: 700; color: var(--ink-soft); }
.w-opt b { display: block; margin-top: 8px; font-size: 13px; }
.w-opt span { display: block; margin-top: 2px; font-size: 9.5px; line-height: 1.45; color: var(--ink-soft); }
.w-opt.on { background: linear-gradient(160deg, #1E2F6B, #16224F); color: #fff; }
.w-opt.on small { color: #8FF0E2; }
.w-opt.on span { color: #C9D8F2; }
.w-prov { padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 51, .06), 0 8px 18px -12px rgba(42, 71, 168, .3); }
.w-who { display: flex; align-items: center; gap: 10px; }
.w-who > div { margin-inline-end: auto; }
.w-who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.w-who b { display: block; font-size: 13px; }
.w-who small { font-size: 10.5px; color: var(--ink-soft); }
.w-ver { padding: 3px 8px; border-radius: 999px; background: #E3F5EE; color: #0B7A4B; font-size: 9px; font-weight: 700; }
.w-eta { margin-top: 10px; padding-top: 10px; border-top: 1px solid #E8EBF1; }
.w-eta small { display: block; font-size: 10px; color: var(--ink-soft); }
.w-eta b { font-size: 16px; }

.live-pill {
  position: absolute; z-index: 2; top: 46px; left: 50%; translate: -50% 0; white-space: nowrap;
  display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); font-size: 10.5px; font-weight: 700;
  box-shadow: 0 6px 16px -8px rgba(14, 26, 51, .4);
}
.live-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #17A673; }

.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-ghost { fill: none; stroke: rgba(42, 71, 168, .14); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.route {
  fill: none; stroke: #2F55E0; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(47, 85, 224, .55));
}
.home-halo { fill: rgba(58, 95, 216, .18); }
.home-dot { fill: #fff; stroke: var(--royal-deep); stroke-width: 4; }
.car { fill: #2F55E0; stroke: #fff; stroke-width: 3.5; filter: drop-shadow(0 0 10px rgba(47, 85, 224, .9)); }
.eta-card {
  position: absolute; inset-inline: 14px; bottom: 18px; display: flex; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px; border-radius: 20px; box-shadow: 0 12px 30px -12px rgba(14, 26, 51, .35);
}
.eta-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.eta-card b { display: block; font-size: 14px; }
.eta-card small { color: var(--royal-deep); font-weight: 600; font-size: 12.5px; }

.screen-door .app-body { justify-content: center; }
.door-card {
  background: #fff; border-radius: 24px; padding: 20px 16px 14px; text-align: center;
  box-shadow: 0 1px 2px rgba(14, 26, 51, .06), 0 18px 40px -20px rgba(42, 71, 168, .35);
}
.door-title { font: 700 16px/1.35 var(--display); }
.door-face {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 14px auto 8px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #DCE5F5;
  transition: box-shadow .6s var(--ease);
}
.door-name { font: 700 17px/1.3 var(--display); }
.door-body { color: var(--ink-soft); font-size: 12.5px; margin: 6px 4px 14px; }
.door-yes, .door-done {
  border-radius: 999px; padding: 12px; font-weight: 600; font-size: 13.5px;
}
.door-yes { background: var(--royal-deep); color: #fff; transition: transform .25s var(--ease), opacity .3s; }
.door-done {
  display: none; align-items: center; gap: 8px; text-align: start;
  background: #E6F7EF; color: #0C7B54; border-radius: 16px; font-size: 12.5px;
}
.door-no { margin-top: 10px; font-size: 12px; color: var(--ink-soft); padding: 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px #DCE5F5; }
.door-card.is-pressing .door-yes { transform: scale(.95); }
.door-card.is-checked .door-yes { display: none; }
.door-card.is-checked .door-done { display: flex; animation: fade-up .5s var(--ease) both; }
.door-card.is-checked .door-face { box-shadow: 0 0 0 4px #fff, 0 0 0 7px #14A06E, 0 0 30px rgba(20, 160, 110, .45); }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: #14A06E; position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* ---------- abroad (night, the last of it) ---------- */
.abroad {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(70% 60% at 50% 45%, #163A8C 0%, #0A2462 55%, #0A2462 100%);
  padding: clamp(110px, 16vw, 200px) var(--gutter);
}
.abroad-glow {
  position: absolute; left: 50%; top: 50%; width: min(300px, 62vw); height: auto; translate: -50% -50%;
  opacity: .10; mix-blend-mode: screen; pointer-events: none;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, .7));
}
.abroad-copy { position: relative; max-width: 40rem; margin: 0 auto; }
.abroad h2 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); }
.abroad p { margin-top: 22px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--on-night); }

/* ---------- services: dawn breaks ---------- */
.services {
  background:
    linear-gradient(180deg, #0A2462 0%, #2A47A8 9%, #8FB0F8 19%, #DCE7FD 28%, var(--paper) 36%);
  padding: clamp(150px, 20vw, 240px) var(--gutter) clamp(80px, 10vw, 130px);
}
.services h2 { max-width: 72rem; margin: 0 auto; font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--ink); }
.svc-list {
  list-style: none; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0; max-width: 72rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px);
}
.svc img {
  width: 100%; max-width: 230px; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(42, 71, 168, .18));
  transition: transform .9s var(--ease);
}
.svc:hover img { transform: translateY(-6px) rotate(-2deg); }
.svc h3 { margin-top: 18px; font-size: 1.6rem; color: var(--ink); }
.svc p { margin-top: 8px; color: var(--ink-soft); max-width: 22rem; }

/* ---------- safety ---------- */
.safety {
  background: var(--paper); color: var(--ink);
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(90px, 12vw, 150px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px);
  align-items: center; max-width: calc(72rem + 2 * var(--gutter)); margin: 0 auto;
  box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax);
}
.safety-photo { position: relative; margin: 0; }
.safety-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 78% 50%;
  border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(14, 26, 51, .45);
}
.safety-chip {
  position: absolute; inset-inline-start: -18px; bottom: 34px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 12px 18px 12px 14px; border-radius: 18px;
  font-weight: 600; font-size: .98rem;
  box-shadow: 0 20px 40px -18px rgba(14, 26, 51, .4);
}
.safety h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.assure { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.assure li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.assure p { color: var(--ink-soft); font-size: 1.06rem; padding-top: 6px; }
.ic {
  width: 40px; height: 40px; border-radius: 12px; background: #E6EDFD; position: relative;
}
.ic::before { content: ""; position: absolute; inset: 0; background: var(--royal-deep); -webkit-mask: var(--m) center / 22px no-repeat; mask: var(--m) center / 22px no-repeat; }
.ic-licence { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ic-face { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.ic-route { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='5' r='2'/%3E%3Cpath d='M8 19h7a3 3 0 0 0 0-6H9a3 3 0 0 1 0-6h7'/%3E%3C/svg%3E"); }
.ic-eye { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.ic-qr { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Cpath d='M14 14h3v3h-3zM20 14v1M14 20h1M18 18h3v3'/%3E%3C/svg%3E"); }

/* ---------- providers ---------- */
.providers { background: var(--paper); padding: 0 var(--gutter) clamp(90px, 12vw, 150px); }
.providers-inner {
  max-width: 72rem; margin: 0 auto; padding: clamp(40px, 6vw, 72px);
  border-radius: 32px; background: #fff;
  box-shadow: inset 0 0 0 1px #E1E9F8;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end;
}
.providers h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); grid-row: span 2; }
.providers p { color: var(--ink-soft); font-size: 1.08rem; }
.providers .btn { justify-self: start; }

/* ---------- dawn: get the app ---------- */
.get {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(110px, 15vw, 190px) var(--gutter) clamp(110px, 14vw, 170px);
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(255, 227, 200, .45), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, #9DB8FA 14%, #5B8AF5 34%, #3A5FD8 62%, #2A47A8 100%);
}
.get-mark { width: 84px; height: auto; margin: 0 auto 28px; filter: drop-shadow(0 0 22px rgba(255, 255, 255, .55)); }
.get h2 { font-size: clamp(2.6rem, 6.5vw, 5rem); text-shadow: 0 4px 30px rgba(8, 30, 86, .25); }
.get p { margin: 16px auto 0; max-width: 30rem; font-size: 1.15rem; color: #EEF3FE; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px;
  border-radius: 16px; background: var(--night); color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(8, 30, 86, .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.store:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -18px rgba(8, 30, 86, .9); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; text-align: start; line-height: 1.15; }
.store small { font-size: .78rem; color: var(--on-night-soft); }
.store b { font: 700 1.12rem/1.2 "Manrope", sans-serif; }
.store[aria-disabled="true"] { cursor: default; }

/* ---------- footer ---------- */
.foot {
  background: #2A47A8; color: #DCE7FD; font-size: .95rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 26px var(--gutter) max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.foot-brand { display: flex; align-items: center; gap: 8px; color: #fff; }
.foot-brand img { width: 28px; height: auto; }
.foot-brand .wordmark { font-size: 1.25rem; }
.foot-link { color: #DCE7FD; text-underline-offset: 3px; }
.lang-foot { margin-inline-start: auto; color: #DCE7FD; }

/* ---------- scroll reveal (only where it means "this arrived") ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-soft), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 0; }
  .story-phone {
    order: -1; position: sticky; top: 0; z-index: 2;
    margin-inline: calc(-1 * var(--gutter)); padding: 76px 0 22px;
    background: linear-gradient(180deg, var(--night) 82%, rgba(8, 30, 86, 0));
  }
  .phone { position: relative; top: 0; max-width: min(176px, 46vw); border-radius: 32px; }
  .phone-island { width: 60px; height: 18px; top: 8px; }
  .screen { zoom: .57; }
  .step { min-height: 46vh; padding-block: 8vh; padding-inline-start: 60px; }
  .step h3 { font-size: 1.6rem; }
  .step p { font-size: 1.02rem; }
  .step-dot { inset-inline-start: 2px; width: 38px; height: 38px; }
  .svc-list { grid-template-columns: 1fr; }
  .svc { display: grid; grid-template-columns: 110px 1fr; gap: 0 18px; align-items: center; }
  .svc img { grid-row: span 2; max-width: 110px; }
  .svc h3 { margin-top: 0; align-self: end; }
  .svc p { align-self: start; }
  .safety { grid-template-columns: 1fr; }
  .safety-chip { inset-inline-start: 12px; }
  .providers-inner { grid-template-columns: 1fr; }
  .providers h2 { grid-row: auto; }
}
@media (max-width: 520px) {
  .nav .btn-sm { display: none; }
  .hero-media img { object-position: 34% 60%; }
  :root[dir="ltr"] .hero-media img { object-position: 66% 60%; }
  .hero { padding-bottom: 64px; }
  .cta-row .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
