/* ==========================================================================
   Darbuna — landing site design system
   Mirrors client/lib/core/design/tokens (DarbPalette / DarbColors / DarbType).
   Every spacing/inset rule uses CSS logical properties so RTL is free.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Emerald — anchored on the logo gradient stops. */
  --emerald-50: #e8fbf3;
  --emerald-100: #c9f5e3;
  --emerald-200: #97ebcb;
  --emerald-300: #5eddb0;
  --emerald-400: #34e5ad;
  --emerald-500: #10ba83;
  --emerald-600: #0e9a6c;
  --emerald-700: #087b63;
  --emerald-800: #0a6347;
  --emerald-900: #08503a;
  --emerald-950: #042e21;

  /* Basalt — neutral with a faint green undertone. */
  --basalt-0: #ffffff;
  --basalt-25: #fafbfa;
  --basalt-50: #f4f6f5;
  --basalt-100: #ebefed;
  --basalt-200: #dce2df;
  --basalt-300: #c3ccc8;
  --basalt-400: #9aa6a1;
  --basalt-500: #74817b;
  --basalt-600: #57635e;
  --basalt-700: #3f4945;
  --basalt-800: #2a322f;
  --basalt-850: #1f2623;
  --basalt-900: #161c1a;
  --basalt-950: #0d1110;
  --ink: #0f1a16;

  /* Brand gradient (logo stops), top-left → bottom-right. */
  --brand-mint: var(--emerald-400);
  --brand-emerald: var(--emerald-500);
  --brand-deep: var(--emerald-700);
  --gradient-brand: linear-gradient(
    135deg,
    var(--brand-mint) 0%,
    var(--brand-emerald) 46%,
    var(--brand-deep) 100%
  );
  /* Button-safe variant: keeps dark label text above AA on every stop. */
  --gradient-cta: linear-gradient(135deg, #6fe3bd 0%, var(--emerald-400) 42%, var(--emerald-500) 100%);

  /* Type */
  --font-sans: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --fs-display: clamp(2.6rem, 1.55rem + 4.4vw, 4.75rem);
  --fs-h1: clamp(1.95rem, 1.45rem + 2.2vw, 3rem);
  --fs-h2: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  --lh-tight: 1.14;
  --lh-snug: 1.32;
  --lh-body: 1.7;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(4.5rem, 8vw, 8rem);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  --container: 1140px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.24s;

  /* Semantic — light mode */
  --canvas: var(--basalt-25);
  --canvas-alt: var(--basalt-0);
  --surface: var(--basalt-0);
  --surface-sunken: var(--basalt-50);
  --surface-raised: var(--basalt-0);
  --border-subtle: rgba(15, 26, 22, 0.08);
  --border-strong: var(--basalt-300);
  --text-primary: #121a17;
  --text-secondary: var(--basalt-600);
  --text-tertiary: var(--basalt-500);
  --text-inverse: var(--basalt-0);
  --brand: var(--emerald-700);
  --brand-fill: var(--emerald-500);
  --brand-soft: var(--emerald-50);
  --on-brand-soft: var(--emerald-800);
  --on-brand: #04241a;
  --focus-ring: rgba(16, 186, 131, 0.55);
  --header-bg: rgba(250, 251, 250, 0.78);
  --shadow-sm: 0 1px 2px rgba(15, 26, 22, 0.06), 0 1px 1px rgba(15, 26, 22, 0.04);
  --shadow-md: 0 6px 20px -8px rgba(15, 26, 22, 0.16), 0 2px 6px -2px rgba(15, 26, 22, 0.07);
  --shadow-lg: 0 28px 60px -28px rgba(15, 26, 22, 0.3), 0 8px 24px -12px rgba(15, 26, 22, 0.12);
  --glow: radial-gradient(60% 60% at 50% 0%, rgba(52, 229, 173, 0.22), transparent 70%);

  color-scheme: light;
}

/* Dark mode: explicit choice wins, otherwise follow the system. */
:root[data-theme="dark"] {
  --canvas: #0d1311;
  --canvas-alt: var(--basalt-900);
  --surface: var(--basalt-900);
  --surface-sunken: #111715;
  --surface-raised: var(--basalt-850);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: var(--basalt-700);
  --text-primary: #ecf1ef;
  --text-secondary: var(--basalt-400);
  --text-tertiary: var(--basalt-500);
  --text-inverse: var(--ink);
  --brand: var(--emerald-400);
  --brand-fill: var(--emerald-400);
  --brand-soft: #0b2a20;
  --on-brand-soft: var(--emerald-200);
  --on-brand: #04241a;
  --focus-ring: rgba(52, 229, 173, 0.6);
  --header-bg: rgba(13, 19, 17, 0.72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 64px -30px rgba(0, 0, 0, 0.75), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --glow: radial-gradient(60% 60% at 50% 0%, rgba(52, 229, 173, 0.16), transparent 70%);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0d1311;
    --canvas-alt: var(--basalt-900);
    --surface: var(--basalt-900);
    --surface-sunken: #111715;
    --surface-raised: var(--basalt-850);
    --border-subtle: rgba(255, 255, 255, 0.09);
    --border-strong: var(--basalt-700);
    --text-primary: #ecf1ef;
    --text-secondary: var(--basalt-400);
    --text-tertiary: var(--basalt-500);
    --text-inverse: var(--ink);
    --brand: var(--emerald-400);
    --brand-fill: var(--emerald-400);
    --brand-soft: #0b2a20;
    --on-brand-soft: var(--emerald-200);
    --on-brand: #04241a;
    --focus-ring: rgba(52, 229, 173, 0.6);
    --header-bg: rgba(13, 19, 17, 0.72);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 64px -30px rgba(0, 0, 0, 0.75), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
    --glow: radial-gradient(60% 60% at 50% 0%, rgba(52, 229, 173, 0.16), transparent 70%);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   2. Bilingual switching — both languages live in the DOM, one is shown.
   -------------------------------------------------------------------------- */

html[data-lang="ar"] [lang="en"],
html[data-lang="en"] [lang="ar"] {
  display: none !important;
}

/* Arabic is never letter-spaced (brand rule). */
html[dir="rtl"] :is(h1, h2, h3, h4, .display, .lead, .eyebrow, .btn, .nav-link, .footer-head) {
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--emerald-200);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--sp-4);
  top: -100px;
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: var(--sp-4);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.container--narrow {
  max-width: 780px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.section--alt {
  background: var(--canvas-alt);
  border-block: 1px solid var(--border-subtle);
}

.stack > * + * {
  margin-block-start: var(--sp-4);
}

.center {
  text-align: center;
}

.measure {
  max-width: 62ch;
}

.center .measure {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.display {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.muted {
  color: var(--text-secondary);
}

.small {
  font-size: var(--fs-sm);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8em 1.5em;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--gradient-cta);
  color: var(--on-brand);
  box-shadow: 0 8px 22px -10px rgba(16, 186, 131, 0.75);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px -10px rgba(16, 186, 131, 0.85);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--quiet {
  background: transparent;
  color: var(--text-secondary);
  padding-inline: var(--sp-3);
}

.btn--quiet:hover {
  color: var(--text-primary);
  background: var(--surface-sunken);
}

.btn--lg {
  padding: 1em 1.9em;
  font-size: 1rem;
}

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Store badges (hero) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.62em 1.15em;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.store:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store__hint {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.store__name {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-block-end: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.site-header.is-scrolled {
  border-block-end-color: var(--border-subtle);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  flex: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-inline-start: auto;
}

.nav-link {
  padding: 0.5em 0.85em;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-link:hover {
  text-decoration: none;
  color: var(--text-primary);
  background: var(--surface-sunken);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-width: 38px;
  height: 38px;
  padding-inline: 0.6em;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .icon-moon,
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: block;
  }
}

.nav-toggle {
  display: none;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glow);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
}

.hero h1.display {
  margin-block-start: var(--sp-1);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  padding-block-start: var(--sp-2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__num {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.stat__label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

/* Device mock */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.device {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 320 / 640;
  border-radius: 42px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.device__screen {
  position: relative;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: #eef2f0;
}

.device__screen svg {
  width: 100%;
  height: 100%;
}

.device::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  top: 20px;
  width: 74px;
  height: 5px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.28);
}

/* --------------------------------------------------------------------------
   9. Trust strip
   -------------------------------------------------------------------------- */

.trust {
  padding-block: var(--sp-6);
  border-block: 1px solid var(--border-subtle);
  background: var(--canvas-alt);
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  text-align: center;
}

.trust__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.trust__item {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. Section headers
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-block-end: var(--sp-7);
  max-width: 62ch;
}

.section-head.center {
  margin-inline: auto;
  align-items: center;
}

/* --------------------------------------------------------------------------
   11. Cards & grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand);
  margin-block-end: var(--sp-4);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card p {
  margin-block-start: var(--sp-2);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.card--feature {
  grid-column: span 1;
}

/* Bento: first card spans two columns on wide screens. */
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento .card--wide {
    grid-column: span 2;
  }
}

.bento {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* --------------------------------------------------------------------------
   12. Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding-block-start: var(--sp-5);
  border-block-start: 2px solid var(--border-subtle);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: 2rem;
  height: 2px;
  background: var(--brand-fill);
}

.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand);
  margin-block-end: var(--sp-2);
}

.step p {
  margin-block-start: var(--sp-2);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   13. Coverage
   -------------------------------------------------------------------------- */

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-block-start: 1px solid var(--border-subtle);
}

.faq details {
  border-block-end: 1px solid var(--border-subtle);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
  transition: color var(--dur) var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--brand);
}

.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq .faq__body {
  padding-block-end: var(--sp-5);
  color: var(--text-secondary);
  max-width: 72ch;
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 320px;
  background: var(--glow);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band .stores {
  justify-content: center;
  margin-block-start: var(--sp-6);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-block-start: 1px solid var(--border-subtle);
  background: var(--canvas-alt);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: var(--fs-sm);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-6);
  margin-block-end: var(--sp-7);
}

.footer__about {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 34ch;
}

.footer__about p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.footer-head {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-block-end: var(--sp-3);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__list a {
  color: var(--text-secondary);
}

.footer__list a:hover {
  color: var(--brand);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
}

.attribution {
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. Legal pages
   -------------------------------------------------------------------------- */

.legal {
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--section-y);
}

.legal__head {
  padding-block-end: var(--sp-6);
  border-block-end: 1px solid var(--border-subtle);
  margin-block-end: var(--sp-6);
}

.legal__head h1 {
  font-size: var(--fs-h1);
  margin-block: var(--sp-3) var(--sp-3);
}

.legal__updated {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.legal__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-5));
  font-size: var(--fs-sm);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  counter-reset: toc;
}

.toc a {
  display: block;
  padding: 0.35em 0.7em;
  border-inline-start: 2px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

html[dir="rtl"] .toc a {
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}

.toc a:hover,
.toc a.is-active {
  color: var(--brand);
  border-inline-start-color: var(--brand-fill);
  text-decoration: none;
}

.prose {
  max-width: 74ch;
}

.prose > * + * {
  margin-block-start: var(--sp-4);
}

.prose h2 {
  font-size: 1.375rem;
  margin-block-start: var(--sp-7);
  scroll-margin-top: calc(var(--header-h) + var(--sp-5));
}

.prose h2:first-child {
  margin-block-start: 0;
}

.prose h3 {
  font-size: 1.0625rem;
  margin-block-start: var(--sp-5);
}

.prose p,
.prose li {
  color: var(--text-secondary);
  line-height: 1.75;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.35em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.prose li::marker {
  color: var(--brand-fill);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.prose th,
.prose td {
  text-align: start;
  padding: var(--sp-3);
  border-block-end: 1px solid var(--border-subtle);
  vertical-align: top;
}

.prose th {
  color: var(--text-primary);
  font-weight: 600;
}

.prose td {
  color: var(--text-secondary);
}

.callout {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--brand-soft);
  border: 1px solid transparent;
  color: var(--on-brand-soft);
  font-size: var(--fs-sm);
}

.callout strong {
  color: inherit;
}

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   19. Device mock UI (overlaid on the hero map SVG)
   -------------------------------------------------------------------------- */

.device__ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 14px 14px;
  pointer-events: none;
}

.ui-search {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7em 1em;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px -8px rgba(15, 26, 22, 0.45);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #74817b;
}

.ui-search svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #10ba83;
}

.ui-card {
  padding: 0.85rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 40px -18px rgba(15, 26, 22, 0.5);
}

.ui-card__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  margin-block-end: 0.7rem;
}

.ui-card__col {
  display: flex;
  align-items: baseline;
  gap: 0.25em;
}

.ui-card__sep {
  width: 1px;
  align-self: stretch;
  background: #dce2df;
}

.ui-card__num {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #121a17;
}

.ui-card__unit {
  font-size: 0.6875rem;
  color: #74817b;
}

.ui-go {
  padding: 0.6em;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #6fe3bd 0%, #34e5ad 42%, #10ba83 100%);
  color: #04241a;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
}

/* --------------------------------------------------------------------------
   20. Chips (list reset + accent variant)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero__grid,
  .coverage {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .device {
    width: min(280px, 78vw);
  }

  .legal__layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    padding-block-end: var(--sp-5);
    border-block-end: 1px solid var(--border-subtle);
  }

  .toc ol {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .toc a {
    border-inline-start: none;
    border-block-end: 2px solid var(--border-subtle);
    border-radius: var(--r-sm);
  }

  .toc a:hover,
  .toc a.is-active {
    border-block-end-color: var(--brand-fill);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* The nav leaves the flow here, so the actions take over the auto margin
     that used to push them to the far end of the bar. */
  .header-actions {
    margin-inline-start: auto;
  }

  /* Not enough room for the CTA next to the toggles — it lives in the menu. */
  .header-actions .nav-cta-desktop {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-1);
    margin: 0;
    padding: var(--sp-4) clamp(1.25rem, 4vw, 2rem) var(--sp-6);
    background: var(--surface);
    border-block-end: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.32s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: none;
  }

  .nav-link {
    padding: 0.85em 0.6em;
    font-size: 1rem;
    border-radius: var(--r-md);
  }

  .nav .btn {
    margin-block-start: var(--sp-3);
  }
}

@media (min-width: 821px) {
  .nav .nav-cta-mobile {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero__meta {
    gap: var(--sp-4);
  }

  .store {
    flex: 1 1 100%;
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__about {
    grid-column: 1 / -1;
  }
}

/* Editorial atlas: quiet surfaces, cartographic lines, strong type and no
   ornamental elevation. Shared rules also carry this language onto legal pages. */
:root {
  --canvas: #f3f4f1;
  --canvas-alt: #e9ede8;
  --surface: #f3f4f1;
  --surface-sunken: #e9ede8;
  --surface-raised: #f3f4f1;
  --text-primary: #10251f;
  --text-secondary: #52645b;
  --text-tertiary: #65766c;
  --border-subtle: #ced7cd;
  --brand: #087b63;
  --header-bg: #f3f4f1;
  --container: 1320px;
  --header-h: 82px;
  --section-y: clamp(5.5rem, 10vw, 10rem);
}
:root[data-theme="dark"] {
  --canvas: #0d1311;
  --canvas-alt: #15201b;
  --surface: #0d1311;
  --surface-sunken: #15201b;
  --surface-raised: #0d1311;
  --text-primary: #edf2ec;
  --text-secondary: #aabbb0;
  --text-tertiary: #91a69a;
  --border-subtle: #304238;
  --brand: #34e5ad;
  --header-bg: #0d1311;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0d1311;
    --canvas-alt: #15201b;
    --surface: #0d1311;
    --surface-sunken: #15201b;
    --surface-raised: #0d1311;
    --text-primary: #edf2ec;
    --text-secondary: #aabbb0;
    --text-tertiary: #91a69a;
    --border-subtle: #304238;
    --brand: #34e5ad;
    --header-bg: #0d1311;
  }
}
body { background: var(--canvas); }
.container { padding-inline: clamp(1.25rem, 4.8vw, 5rem); }
a:hover { text-decoration: none; }
.site-header { background: var(--header-bg); border-block-end: 1px solid var(--border-subtle); box-shadow: none !important; }
.site-header .container { min-height: var(--header-h); }
.brand { gap: .55rem; font-weight: 700; font-size: 1.48rem; color: var(--text-primary); letter-spacing: -.055em; }
.brand__mark { width: 39px; height: 39px; }
.nav { gap: clamp(.8rem, 2.5vw, 2.8rem); }
.nav-link { color: var(--text-secondary); font-size: .88rem; font-weight: 600; padding-inline: 0; }
.nav-link:hover, .brand:hover { color: var(--brand); }
.header-actions { gap: .35rem; }
.icon-btn { border: 0; background: none; border-radius: 0; font-size: .85rem; font-weight: 700; }
.icon-btn:hover { background: var(--surface-sunken); }
.btn { border-radius: 3px; box-shadow: none !important; font-weight: 700; }
.btn--primary { background: #103e32; color: #fff; border: 1px solid #103e32; }
.btn--primary:hover { background: #087b63; border-color: #087b63; color: #fff; transform: none; }
:root[data-theme="dark"] .btn--primary { background: #34e5ad; border-color: #34e5ad; color: #06291f; }
.btn--lg { padding-inline: 2rem; }
.hero { background: var(--canvas); padding-block: clamp(2rem, 4vw, 4rem) 3rem; overflow: hidden; }
.hero::before { content: none; }
.hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.hero__copy { padding-block: 3rem; }
.hero .eyebrow, .eyebrow { color: var(--brand); font-size: .78rem; letter-spacing: .13em; }
.hero .eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: .65rem; background: #10ba83; border-radius: 50%; vertical-align: middle; }
.hero h1.display { font-size: clamp(5rem, 9vw, 9.5rem); line-height: 1.04; letter-spacing: -.07em; margin-block: 1.8rem 2rem; }
html[dir="rtl"] .hero h1.display { line-height: 1.22; }
.hero__period { color: #10ba83; }
.hero .lead { font-size: clamp(1.07rem, 1.5vw, 1.35rem); max-width: 35ch; line-height: 1.8; color: var(--text-secondary); }
.hero .stores { margin-block: 2.5rem 0; }
.store { border-radius: 2px; border: 1px solid var(--border-subtle); background: transparent; box-shadow: none; color: var(--text-primary); }
.store:hover { background: var(--surface-sunken); border-color: var(--brand); box-shadow: none; transform: none; color: var(--text-primary); }
.store__hint { color: var(--text-secondary); }
.hero__meta { border-block-start: 1px solid var(--border-subtle); margin-block-start: 3rem; padding-block-start: 1.4rem; }
.stat { border: 0; padding: 0; }
.stat__num { font-size: clamp(1.25rem, 1.8vw, 1.8rem); color: var(--text-primary); }
.stat__label { font-size: .72rem; color: var(--text-secondary); }
.hero__visual { display: block; order: 0; align-self: stretch; min-width: 0; }
.atlas { position: relative; height: clamp(550px, 51vw, 700px); overflow: hidden; background: #e8ebe4; border: 1px solid #cbd5c9; color: #10251f; }
.atlas__map { width: 100%; height: 100%; object-fit: cover; }
.atlas__index { position: absolute; inset-block-start: 1.8rem; inset-inline-start: 2rem; font: 700 .72rem/1.3 var(--font-mono); letter-spacing: .14em; }
.atlas__label { position: absolute; padding: .4rem .6rem; background: #f7f8f3; font-weight: 700; font-size: 1.05rem; line-height: 1.15; white-space: nowrap; }
.atlas__label small { display: block; font: 500 .55rem/1.4 var(--font-mono); letter-spacing: .04em; color: #52645b; }
.atlas__label--start { top: 13%; inset-inline-start: 18%; }
.atlas__label--end { top: 73%; inset-inline-end: 10%; }
.atlas__ticket { position: absolute; inset-inline: 5%; bottom: 5%; background: #10251f; color: #fff; padding: clamp(1.2rem, 2.5vw, 2rem); }
.atlas__ticket-top, .atlas__ticket-bottom { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: .75rem; }
.atlas__ticket-top { color: #a6c9b5; font-weight: 600; }
.atlas__ticket-top > :last-child { margin-inline-start: auto; font-size: 1.2rem; }
.live-dot { background: #34e5ad; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.atlas__ticket strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2.6rem); letter-spacing: -.045em; margin-block: .9rem 1.3rem; }
.atlas__ticket-bottom { border-block-start: 1px solid #426154; padding-block-start: .8rem; color: #b6c9bd; }
.atlas__ticket-bottom > :last-child { font-family: var(--font-mono); }
.atlas__caption { display: block; margin-block-start: .7rem; font-size: .74rem; color: var(--text-secondary); }
.trust { background: #10251f; border: 0; color: #d4e1d6; }
.trust__inner { padding-block: 1.3rem; gap: 1rem 2rem; }
.trust__label, .trust__item { color: #b8cdbd; font-size: .72rem; letter-spacing: .02em; }
.trust__item { font-weight: 600; }
.section-head { max-width: 780px; margin-block-end: clamp(2.5rem, 6vw, 5rem); }
.section-head h2, .coverage h2, .cta-band h2 { font-size: clamp(2.4rem, 4.5vw, 5rem); line-height: 1.2; letter-spacing: -.05em; margin-block: .9rem 1.3rem; }
.section-head .lead { font-size: 1.1rem; max-width: 52ch; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block-start: 1px solid var(--border-subtle); border-inline-start: 1px solid var(--border-subtle); }
.card, .card--wide { grid-column: auto; min-height: 270px; border-radius: 0; border: 0; border-inline-end: 1px solid var(--border-subtle); border-block-end: 1px solid var(--border-subtle); padding: clamp(1.5rem, 2.8vw, 3rem); background: transparent; box-shadow: none; }
.card:hover { background: var(--surface-sunken); transform: none; box-shadow: none; }
.card__icon { border: 0; background: none; color: var(--brand); padding: 0; width: 34px; height: 34px; margin-block-end: 2.1rem; }
.card h3 { font-size: clamp(1.25rem, 1.6vw, 1.65rem); line-height: 1.4; }
.card p { margin-block-start: .8rem; color: var(--text-secondary); font-size: .9rem; line-height: 1.85; }
.section--alt { background: var(--canvas-alt); border: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block-start: 1px solid var(--border-subtle); }
.step { border: 0; border-block-end: 1px solid var(--border-subtle); border-radius: 0; background: none; padding: 2.5rem 2rem 3rem; }
.step::before { content: none; }
.step__num { font: 500 .85rem var(--font-mono); color: var(--brand); }
.step h3 { font-size: clamp(1.35rem, 2vw, 2rem); margin-block: 2.5rem .8rem; }
.step p { color: var(--text-secondary); line-height: 1.8; }
.coverage { gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.coverage .lead { max-width: 42ch; }
.coverage-map {
  min-width: 0;
  border: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
}
.coverage-map__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-block-end: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font: 600 .7rem/1.4 var(--font-sans);
  letter-spacing: .09em;
}
.coverage-map__top > :first-child, .coverage-map__number,
.coverage-map__compass { font-family: var(--font-mono); direction: ltr; }
.coverage-map__stage {
  position: relative;
  background-color: var(--canvas-alt);
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
  overflow: hidden;
}
.coverage-map__stage svg { display: block; width: 100%; height: auto; aspect-ratio: 560 / 530; }
.governorate-shape {
  fill: var(--surface);
  stroke: var(--text-secondary);
  stroke-width: 1.25;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill .18s ease, stroke .18s ease;
}
.governorate-shape:hover, .governorate-shape:focus-visible {
  fill: #a8dcc4;
  stroke: #087b63;
  stroke-width: 2.5;
  outline: none;
}
.governorate-shape.is-selected {
  fill: #087b63;
  stroke: #064c3c;
  stroke-width: 2.5;
}
.governorate-shape.is-selected:hover, .governorate-shape.is-selected:focus-visible {
  fill: #0ca879;
}
.coverage-map__city {
  fill: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  pointer-events: none;
  paint-order: stroke;
  stroke: var(--canvas-alt);
  stroke-width: 3;
  stroke-linejoin: round;
}
.coverage-map__leader {
  stroke: var(--text-secondary);
  stroke-width: 1;
  stroke-dasharray: 2 2;
  pointer-events: none;
}
.coverage-map__compass {
  position: absolute;
  inset-block-start: 1.2rem;
  inset-inline-start: 1.2rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.coverage-map__hint {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline: 1rem;
  text-align: center;
  pointer-events: none;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.coverage-map__selection {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-block: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  background: var(--surface);
}
.coverage-map__selection > div { display: grid; gap: .3rem; }
.coverage-map__label {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .09em;
  color: var(--text-secondary);
}
html[dir="rtl"] .coverage-map__top,
html[dir="rtl"] .coverage-map__label { letter-spacing: 0; }
.coverage-map__selection strong { font-size: 1.65rem; line-height: 1.4; color: var(--text-primary); }
.coverage-map__offline { display: flex; align-items: center; gap: .45rem; font-size: .75rem; color: var(--text-secondary); }
.coverage-map__number { white-space: nowrap; color: var(--brand); font-size: .77rem; }
.coverage-map__fallback { padding: 0 1.5rem 1.5rem; color: var(--text-secondary); font-size: .85rem; }
@media (prefers-reduced-motion: reduce) {
  .governorate-shape { transition: none; }
}
.faq { border-block-start: 1px solid var(--border-subtle); }
.faq details { border-color: var(--border-subtle); }
.faq summary { font-size: clamp(1.05rem, 1.5vw, 1.3rem); padding-block: 1.35rem; }
.faq summary::after { color: var(--brand); }
.cta-band { border-radius: 0; background: #10251f; color: #fff; border: 0; box-shadow: none; padding: clamp(3rem, 7vw, 7rem) 2rem; }
.cta-band::before { content: none; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #afc6b8; }
.cta-band .store { color: #fff; border-color: #607d6c; }
.cta-band .store:hover { color: #fff; background: #1c4032; }
.cta-band .store__hint { color: #b9cdbf; }
.site-footer { background: #0d1c17; color: #d8e5da; }
.site-footer .brand, .site-footer .footer-head { color: #f3f4f1; }
.footer__grid { gap: 3rem; }
.footer__about p, .footer__list a, .footer__bottom, .attribution { color: #afc2b5; }
.footer__list a:hover { color: #34e5ad; }
.footer__bottom { border-color: #355043; }
.reveal { transform: translateY(12px); }
.legal__head { padding-block: 3rem; }
.legal__head h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
.toc a { border-radius: 0 !important; }
.prose h2 { border-block-start: 1px solid var(--border-subtle); padding-block-start: 1.5rem; }
.callout { border-radius: 0; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__visual { order: 0; }
  .hero h1.display { font-size: clamp(4rem, 8vw, 6rem); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav { background: var(--surface); border-color: var(--border-subtle); box-shadow: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-block: 1rem 0; }
  .hero__visual { order: 0; }
  .atlas { height: min(105vw, 590px); min-height: 450px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-inline: 0; }
  .step h3 { margin-block: 1rem .5rem; }
}
@media (max-width: 560px) {
  .site-header .container { min-height: 68px; }
  :root { --header-h: 68px; }
  .hero { padding-block-start: 1.3rem; }
  .hero h1.display { font-size: clamp(4.2rem, 17vw, 6.8rem); margin-block: 1rem; }
  .hero .stores { gap: .5rem; }
  .store { flex: 1 1 45%; padding: .75rem; }
  .store svg { width: 19px; }
  .store__name { font-size: .82rem; }
  .hero__meta { display: flex; flex-wrap: wrap; }
  .atlas { min-height: 470px; }
  .atlas__ticket { inset-inline: 3%; bottom: 3%; }
  .atlas__label--start { inset-inline-start: 12%; }
  .atlas__label--end { inset-inline-end: 4%; }
  .bento { grid-template-columns: 1fr; }
  .card { min-height: 0; padding-block: 2rem; }
  .card__icon { margin-block-end: 1rem; }
}
