/* =========================================================================
   HOP — hoptaxi.net
   Glass design system. No external requests, no frameworks.
   Written RTL-first with logical properties so /en/ (LTR) reuses this file.
   ========================================================================= */

/* ---------- 1. Fonts (self-hosted, Cairo variable, OFL) ---------- */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
    U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
    U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- 2. Tokens ---------- */
:root {
  --bg: #0a1729;
  --bg-deep: #060f1d;
  --surface: #16253e;
  --surface-2: #1d2f4c;

  --brand: #ffa22b;
  --brand-soft: #ffc06a;
  --teal: #2dd4a8;
  --sky: #33ccff;
  --danger: #ff6b6b;

  --text: #f2f6fb;
  --muted: #9fb2ca;
  --faint: #6f83a0;

  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);

  --glass: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.085),
    rgba(255, 255, 255, 0.028) 42%,
    rgba(255, 255, 255, 0.05)
  );
  --glass-blur: saturate(150%) blur(22px);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 8px 24px -12px rgba(2, 8, 20, 0.8);
  --shadow: 0 26px 60px -28px rgba(2, 8, 20, 0.95);
  --shadow-lg: 0 48px 110px -40px rgba(2, 8, 20, 1);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --pad: clamp(18px, 4.5vw, 28px);
  --gap: clamp(14px, 2.4vw, 22px);
  --shell: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 3. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 96px;
}
body {
  font-family: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw + 12px, 17px);
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease-soft);
}
a:hover {
  color: var(--brand-soft);
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgba(255, 162, 43, 0.3);
}

h1,
h2,
h3,
h4 {
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  font-weight: 900;
}
h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
}
h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}
p {
  text-wrap: pretty;
}

.shell {
  width: min(100% - 2 * var(--pad), var(--shell));
  margin-inline: auto;
}
.section {
  padding-block: clamp(56px, 9vw, 110px);
  position: relative;
}
.section--tight {
  padding-block: clamp(40px, 6vw, 70px);
}
.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 62ch;
}
.center {
  text-align: center;
  margin-inline: auto;
}
.skip {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--brand);
  color: #10203a;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: inset-block-start 0.25s var(--ease);
}
.skip:focus {
  inset-block-start: 0;
}

/* ---------- 4. Aurora background field ---------- */
.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #12233d 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}
.field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 78%);
  opacity: 0.6;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.orb--brand {
  width: 46vw;
  height: 46vw;
  min-width: 320px;
  min-height: 320px;
  background: radial-gradient(circle, rgba(255, 162, 43, 0.72), transparent 68%);
  inset-block-start: -12vw;
  inset-inline-end: -8vw;
  animation: drift-a 26s var(--ease-soft) infinite alternate;
}
.orb--teal {
  width: 40vw;
  height: 40vw;
  min-width: 280px;
  min-height: 280px;
  background: radial-gradient(circle, rgba(45, 212, 168, 0.5), transparent 68%);
  inset-block-start: 34vh;
  inset-inline-start: -12vw;
  animation: drift-b 32s var(--ease-soft) infinite alternate;
}
.orb--sky {
  width: 34vw;
  height: 34vw;
  min-width: 240px;
  min-height: 240px;
  background: radial-gradient(circle, rgba(51, 204, 255, 0.34), transparent 70%);
  inset-block-end: -10vh;
  inset-inline-end: 18vw;
  animation: drift-a 38s var(--ease-soft) infinite alternate-reverse;
}
@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-6%, 8%, 0) scale(1.16);
  }
}
@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.1);
  }
  to {
    transform: translate3d(8%, -7%, 0) scale(0.94);
  }
}

/* ---------- 5. Glass surfaces ---------- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sheen), var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
@supports not (backdrop-filter: blur(4px)) {
  .glass {
    background: linear-gradient(155deg, rgba(29, 47, 76, 0.96), rgba(16, 37, 62, 0.96));
  }
}

/* Cursor spotlight — driven by --mx/--my set in site.js.
   Uses ::after on purpose: ::before is already the numbered badge on .step. */
.spot {
  overflow: hidden;
  isolation: isolate;
}
.spot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 162, 43, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  pointer-events: none;
  z-index: -1;
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::after {
    opacity: 1;
  }
}

/* ---------- 6. Buttons & chips ---------- */
.btn {
  --btn-bg: var(--glass);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--text);
  box-shadow: var(--sheen), var(--shadow-sm);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease-soft),
    color 0.25s var(--ease-soft);
}
.btn::after {
  /* sheen sweep */
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -60%;
  width: 45%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-18deg);
  opacity: 0;
  transition: none;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 162, 43, 0.5);
  box-shadow: var(--sheen), 0 20px 44px -18px rgba(255, 162, 43, 0.5);
}
.btn:hover::after {
  animation: sweep 0.85s var(--ease-soft);
}
.btn:active {
  transform: translateY(0) scale(0.985);
}
@keyframes sweep {
  0% {
    inset-inline-start: -60%;
    opacity: 0.9;
  }
  100% {
    inset-inline-start: 130%;
    opacity: 0;
  }
}
.btn--primary {
  --btn-bg: linear-gradient(140deg, #ffb852, var(--brand) 55%, #f08a12);
  color: #14233c;
  border-color: rgba(255, 214, 150, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 18px 40px -18px rgba(255, 162, 43, 0.75);
}
.btn--primary:hover {
  color: #14233c;
}
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.05);
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.75;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.chip--brand {
  color: var(--brand-soft);
  background: rgba(255, 162, 43, 0.1);
  border-color: rgba(255, 162, 43, 0.32);
}
.chip--live {
  color: var(--teal);
  background: rgba(45, 212, 168, 0.1);
  border-color: rgba(45, 212, 168, 0.3);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.2s var(--ease-soft) infinite;
  flex: none;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 168, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 168, 0);
  }
}

/* ---------- 7. Header ---------- */
.head {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  padding-block: 12px;
  transition:
    background 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft),
    padding 0.35s var(--ease-soft);
  border-block-end: 1px solid transparent;
}
.head.is-stuck {
  background: rgba(8, 19, 35, 0.72);
  border-block-end-color: var(--line);
  box-shadow: 0 18px 40px -32px #000;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.head__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 900;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--text);
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 22px -12px rgba(255, 162, 43, 0.9);
  transition: transform 0.45s var(--ease);
}
.brand:hover img {
  transform: rotate(-6deg) scale(1.06);
}
.brand__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-block-start: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 14px;
  border-radius: 999px;
  position: relative;
  transition:
    color 0.25s var(--ease-soft),
    background 0.25s var(--ease-soft);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-block-end: 2px;
  inset-inline: 40%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.head__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  display: none;
  margin-block-start: 12px;
  padding: 10px;
  border-radius: var(--r-lg);
}
.drawer[data-open="true"] {
  display: block;
  animation: drop 0.4s var(--ease);
}
.drawer a {
  display: block;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  color: var(--text);
  font-weight: 700;
}
.drawer a:hover,
.drawer a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 8. Hero ---------- */
.hero {
  padding-block: clamp(36px, 7vw, 76px) clamp(48px, 8vw, 96px);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero h1 {
  margin-block: 18px 20px;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--brand-soft), var(--brand) 40%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 30px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 26px;
}

/* live trip card */
.trip {
  padding: 18px;
  border-radius: var(--r-xl);
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.trip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 6px 14px;
}
.trip__tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.map {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 30% 10%, rgba(51, 204, 255, 0.14), transparent 60%),
    linear-gradient(160deg, #10233d 0%, #0c1c33 100%);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
}
.map svg {
  width: 100%;
  height: 100%;
}
.map__grid line {
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
}
.map__road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 9;
  stroke-linecap: round;
}
.map__route {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  filter: drop-shadow(0 0 8px rgba(255, 162, 43, 0.65));
  animation: draw 3.4s var(--ease-soft) infinite;
}
@keyframes draw {
  0% {
    stroke-dashoffset: 420;
  }
  55%,
  100% {
    stroke-dashoffset: 0;
  }
}
.map__car {
  offset-path: path("M42 196 C 96 150, 118 118, 168 106 S 250 96, 302 52");
  offset-rotate: auto;
  animation: ride 6.4s var(--ease-soft) infinite;
}
@keyframes ride {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
.map__pin circle {
  transform-box: fill-box;
  transform-origin: center;
}
.map__pin--a circle:first-child {
  animation: ping 2.6s var(--ease-soft) infinite;
}
.map__pin--b circle:first-child {
  animation: ping 2.6s var(--ease-soft) 1.3s infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.trip__status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 16px;
  padding: 13px 15px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.trip__status .ring {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 162, 43, 0.25);
  border-block-start-color: var(--brand);
  animation: spin 1.1s linear infinite;
}
.trip__status[data-done="true"] .ring {
  animation: none;
  border-color: var(--teal);
  background: rgba(45, 212, 168, 0.16);
  position: relative;
}
.trip__status[data-done="true"] .ring::after {
  content: "";
  position: absolute;
  inset-block-start: 6px;
  inset-inline-start: 9px;
  width: 6px;
  height: 11px;
  border: 2.5px solid var(--teal);
  border-block-start: 0;
  border-inline-end-width: 2.5px;
  border-inline-start: 0;
  transform: rotate(45deg);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.trip__status strong {
  display: block;
  font-size: 0.98rem;
}
.trip__status small {
  color: var(--muted);
  font-size: 0.8rem;
}
.trip__rows {
  margin-block-start: 12px;
  display: grid;
  gap: 2px;
}
.trip__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.035);
}
.trip__row .marker {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
  border: 2px solid var(--teal);
}
.trip__row--dest .marker {
  border-color: var(--brand);
  border-radius: 3px;
}
.trip__row span {
  font-size: 0.9rem;
  color: var(--muted);
}
.trip__row b {
  margin-inline-start: auto;
  font-size: 0.9rem;
  white-space: nowrap;
}
.trip__fare {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-block-start: 12px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(255, 162, 43, 0.16), rgba(255, 162, 43, 0.04));
  border: 1px solid rgba(255, 162, 43, 0.28);
}
.trip__fare b {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-soft);
  font-variant-numeric: tabular-nums;
}
.trip__fare span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- 9. Sections & cards ---------- */
.head-block {
  max-width: 640px;
  margin-block-end: clamp(28px, 4vw, 48px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
  margin-block-end: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.head-block h2 + .lede {
  margin-block-start: 14px;
}

.grid {
  display: grid;
  gap: var(--gap);
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
}

.card {
  padding: clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--sheen), var(--shadow-lg);
}
.card p {
  color: var(--muted);
  font-size: 0.94rem;
}
/* App-icon style plate: a saturated brand gradient with a glass shine, a soft
   colour halo behind it, and a dark glyph on top for maximum contrast. */
.card__icon {
  --plate-1: #ffd08f;
  --plate-2: var(--brand);
  --plate-3: #e5820b;
  --halo: rgba(255, 162, 43, 0.75);

  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  flex: none;
  color: #16233a;
  background: linear-gradient(148deg, var(--plate-1), var(--plate-2) 46%, var(--plate-3));
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.62),
    inset 0 -2px 6px rgba(0, 0, 0, 0.18),
    0 16px 30px -14px var(--halo);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
/* glass shine sweeping the top-left corner */
.card__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}
/* colour halo bleeding onto the card behind the plate */
.card__icon::after {
  content: "";
  position: absolute;
  inset: -38%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo), transparent 68%);
  opacity: 0.35;
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.card__icon svg {
  position: relative;
  z-index: 1;
}
.card:hover .card__icon {
  transform: translateY(-3px) scale(1.06) rotate(-5deg);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2),
    0 22px 38px -14px var(--halo);
}
.card:hover .card__icon::after {
  opacity: 0.6;
}
.card__icon--teal {
  --plate-1: #9df3dc;
  --plate-2: var(--teal);
  --plate-3: #12a07c;
  --halo: rgba(45, 212, 168, 0.7);
}
.card__icon--sky {
  --plate-1: #a9e8ff;
  --plate-2: var(--sky);
  --plate-3: #0d92cc;
  --halo: rgba(51, 204, 255, 0.7);
}
.card__tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--faint);
}
.card ul {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.92rem;
}
/* Markers are positioned, never flex items: a flex container would split mixed
   Arabic/Latin runs into separate boxes and scramble the bidi order. */
.card li {
  position: relative;
  padding-inline-start: 18px;
}
.card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* numbered steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.step {
  padding: clamp(20px, 2.4vw, 26px);
  position: relative;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease-soft);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 1.05rem;
  color: #14233c;
  background: linear-gradient(140deg, var(--brand-soft), var(--brand));
  box-shadow: 0 14px 30px -16px rgba(255, 162, 43, 0.9);
  margin-block-end: 14px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 1.05rem;
  margin-block-end: 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* segmented tabs */
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  margin-block-end: 26px;
}
.seg button {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--muted);
  transition:
    color 0.3s var(--ease-soft),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.seg button[aria-selected="true"] {
  color: #14233c;
  background: linear-gradient(140deg, var(--brand-soft), var(--brand));
  box-shadow: 0 12px 26px -14px rgba(255, 162, 43, 0.95);
}
.panel[hidden] {
  display: none;
}
.panel {
  animation: fade-up 0.5s var(--ease);
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* coverage timeline */
.phases {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  position: relative;
}
.phase {
  padding: clamp(20px, 2.4vw, 26px);
  position: relative;
  overflow: hidden;
}
.phase__now {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: slide 2.8s var(--ease-soft) infinite;
}
@keyframes slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.phase h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  margin-block: 12px 8px;
}
.phase p {
  color: var(--muted);
  font-size: 0.92rem;
}
.phase--active {
  border-color: rgba(255, 162, 43, 0.4);
  box-shadow: var(--sheen), 0 30px 70px -34px rgba(255, 162, 43, 0.55);
}
.phase--soon {
  opacity: 0.82;
}

/* stat / highlight strip */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
}
.strip > div {
  padding: clamp(20px, 2.6vw, 30px);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.4s var(--ease-soft);
}
.strip > div:hover {
  background: rgba(255, 255, 255, 0.055);
}
.strip b {
  display: block;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 900;
  color: var(--brand-soft);
  line-height: 1.3;
}
.strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta {
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(255, 162, 43, 0.16), transparent 62%),
    var(--glass);
}
.cta h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.cta .lede {
  margin-inline: auto;
  margin-block-start: 14px;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-block-start: 26px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.35s var(--ease-soft);
}
.faq details[open] {
  border-color: rgba(255, 162, 43, 0.34);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px clamp(16px, 2vw, 22px);
  font-weight: 800;
  font-size: 0.99rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  margin-inline-start: auto;
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid var(--brand);
  border-block-end: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq__body {
  padding: 0 clamp(16px, 2vw, 22px) 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.links-row {
  margin-block-start: clamp(20px, 3vw, 30px);
  font-size: 0.94rem;
}

/* ---------- 10. Prose (legal pages) ---------- */
.prose {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
}
.prose h2 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--brand);
  margin-block: 34px 12px;
}
.prose h2:first-child {
  margin-block-start: 0;
}
.prose p {
  margin-block-end: 14px;
  color: #dae4f1;
}
.prose ul,
.prose ol {
  display: grid;
  gap: 11px;
  margin-block-end: 18px;
  color: #dae4f1;
}
.prose li {
  position: relative;
  padding-inline-start: 20px;
}
.prose li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 162, 43, 0.85);
}
.prose ol {
  counter-reset: n;
}
.prose ol li {
  padding-inline-start: 36px;
}
.prose ol li::before {
  counter-increment: n;
  content: counter(n);
  inset-block-start: 0.25em;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 162, 43, 0.16);
  border: 1px solid rgba(255, 162, 43, 0.3);
  color: var(--brand-soft);
  font-size: 0.76rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.prose b {
  color: #fff;
}
.updated {
  color: var(--faint);
  font-size: 0.84rem;
  margin-block-end: 22px;
}

/* ---------- 11. Footer ---------- */
.foot {
  padding-block: clamp(40px, 6vw, 66px) 30px;
  border-block-start: 1px solid var(--line);
  margin-block-start: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, transparent, rgba(6, 15, 29, 0.7));
}
.foot__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
}
.foot h4 {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
  margin-block-end: 14px;
}
.foot ul {
  display: grid;
  gap: 10px;
}
.foot ul a {
  color: var(--muted);
  font-size: 0.93rem;
}
.foot ul a:hover {
  color: var(--brand);
}
.foot__about p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42ch;
  margin-block-start: 14px;
}
.foot__bottom {
  margin-block-start: 34px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--faint);
  font-size: 0.85rem;
}

/* ---------- 12. Scroll reveal ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}
.reveal-enabled .reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-group > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal-enabled .reveal-group > * {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}
.reveal-enabled .reveal-group.is-in > * {
  opacity: 1;
  transform: none;
}
.reveal-enabled .reveal-group.is-in > *:nth-child(2) {
  transition-delay: 90ms;
}
.reveal-enabled .reveal-group.is-in > *:nth-child(3) {
  transition-delay: 180ms;
}
.reveal-enabled .reveal-group.is-in > *:nth-child(4) {
  transition-delay: 270ms;
}
.reveal-enabled .reveal-group.is-in > *:nth-child(5) {
  transition-delay: 360ms;
}
.reveal-enabled .reveal-group.is-in > *:nth-child(6) {
  transition-delay: 450ms;
}

/* progress bar */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: right center;
  background: linear-gradient(90deg, var(--teal), var(--brand));
  z-index: 60;
  pointer-events: none;
}
:dir(ltr) .progress,
[dir="ltr"] .progress {
  transform-origin: left center;
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__actions,
  .hero__meta {
    justify-content: center;
  }
  .lede,
  .head-block {
    margin-inline: auto;
  }
  .head-block {
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
  }
  .nav,
  .head__cta .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (max-width: 560px) {
  .brand span:not(.brand__sub) {
    font-size: 1.02rem;
  }
  .btn {
    padding: 12px 20px;
  }
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot__about {
    grid-column: 1 / -1;
  }
}

/* ---------- 14. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .map__route {
    stroke-dashoffset: 0;
  }
}
@media print {
  .field,
  .head,
  .foot,
  .progress {
    display: none;
  }
  body {
    background: #fff;
    color: #111;
  }
  .glass,
  .prose {
    border: 1px solid #ccc;
    box-shadow: none;
    background: #fff;
  }
  .prose h2 {
    color: #a35c00;
  }
  .prose p,
  .prose ul,
  .prose ol,
  .prose b {
    color: #111;
  }
}
