/* Salama · salamaqa.com holding website
   Brand: brand/BRAND.md, brand/tokens.css and launch-kit/brand/brand-kit.md. Maroon 700 is the one accent on white
   and Sand 100 grounds, Ink 900 carries the text, and Hazard amber appears only in the emergency section, always
   with ink text. Headings: Alexandria (Latin) and Noto Kufi Arabic; text: IBM Plex Sans and IBM Plex Sans Arabic.
   The Arabic font files hold only the Arabic range, so Latin digits inside Arabic text come from the Latin fonts.
   Layout uses logical properties only, so the Arabic pages (dir="rtl") mirror without any overrides. */

/* ---------- fonts: local WOFF2 files, SIL Open Font License 1.1 (licence texts in /fonts) ---------- */
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/alexandria-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-400-normal.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: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-600-normal.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: "Noto Kufi Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/noto-kufi-arabic-arabic-700-normal.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;
}

/* ---------- tokens (brand/colors.json; the dark values follow brand/tokens.css) ---------- */
:root {
  color-scheme: light dark;

  --maroon-900: #4e0d22;
  --maroon-800: #6a1430;
  --maroon-700: #85173a;
  --maroon-100: #f5e6eb;
  --sand-50: #faf7f2;
  --sand-100: #f3eee6;
  --sand-300: #e3d8c7;
  --sand-500: #bfae94;
  --ink-900: #14171c;
  --ink-700: #2e343c;
  --hazard-500: #f2a20c;

  --en-head: "Alexandria", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --en-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ar-head: "Noto Kufi Arabic", "Alexandria", "IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --ar-body: "IBM Plex Sans Arabic", "IBM Plex Sans", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif;
  --lh: 1.6;

  /* light: every text pair here passes WCAG 2.2 AA (4.5:1 or more) */
  --page: #ffffff;
  --alt: var(--sand-100);
  --card: #ffffff;
  --card-soft: var(--sand-50);
  --text: var(--ink-900);
  --text-2: var(--ink-700);
  --muted: #5f6873;
  --line: var(--sand-300);
  --line-strong: var(--sand-500);
  --accent: var(--maroon-700);
  --accent-hover: var(--maroon-800);
  --accent-text: var(--maroon-700);
  --on-accent: #ffffff;
  --accent-soft: var(--maroon-100);
  --band: var(--maroon-700);
  --band-text-2: var(--maroon-100);
  --focus: var(--maroon-700);
  --hazard: var(--hazard-500);
  --on-hazard: var(--ink-900);

  --ill-ground: var(--sand-300);
  --ill-speed: var(--sand-500);
  --ill-route: var(--maroon-700);
  --ill-tyre-ring: var(--ink-900);
  --map-land: var(--sand-100);
  --map-edge: var(--sand-500);
  --map-dot: var(--maroon-700);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0d0f12;
    --alt: #15181d;
    --card: #1b1f25;
    --card-soft: #15181d;
    --text: #eceef1;
    --text-2: #cdd2d8;
    --muted: #98a1ab;
    --line: #2a3038;
    --line-strong: #4a525d;
    --accent: #a82a55;
    --accent-hover: #bb3463;
    --accent-text: #f2a0b9;
    --on-accent: #ffffff;
    --accent-soft: #2c131c;
    --band: var(--maroon-900);
    --focus: #f2a0b9;

    --ill-ground: #353c46;
    --ill-speed: #6f7883;
    --ill-route: #f2a0b9;
    --ill-tyre-ring: #6f7883;
    --map-land: #1b1f25;
    --map-edge: #6f7883;
    --map-dot: #f2a0b9;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: var(--en-body);
  font-synthesis: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

html:lang(ar) {
  --lh: 1.8;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

html:lang(ar) body {
  font-size: 1.125rem;
}

/* language runs: Arabic text uses the Arabic fonts wherever it appears, Latin text the Latin ones */
[lang|="ar"] {
  font-family: var(--ar-body);
  letter-spacing: 0;
}

[lang|="en"] {
  font-family: var(--en-body);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  text-wrap: balance;
}

:is(h1, h2, h3):lang(en) {
  font-family: var(--en-head);
  letter-spacing: -0.01em;
}

:is(h1, h2, h3):lang(ar) {
  font-family: var(--ar-head);
  font-weight: 700;
  letter-spacing: 0;
}

:is(h1, h2, h3) [lang|="en"] {
  font-family: var(--en-head);
}

:is(h1, h2, h3) [lang|="ar"] {
  font-family: var(--ar-head);
}

h1 {
  font-size: clamp(2.375rem, 1.55rem + 3.6vw, 4.125rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1:lang(ar) {
  font-size: clamp(2.125rem, 1.45rem + 3vw, 3.5rem);
  line-height: 1.45;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem);
  line-height: 1.15;
}

h2:lang(ar) {
  font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.375rem);
  line-height: 1.5;
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}

h3:lang(ar) {
  font-size: 1.1875rem;
  line-height: 1.6;
}

p {
  margin-block: 0 1em;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

strong {
  font-weight: 600;
}

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

a {
  color: var(--accent-text);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.icon {
  inline-size: 1.5rem;
  block-size: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -100vh;
  z-index: 10;
  padding: 0.75rem 1.125rem;
  border-radius: 0.625rem;
  background: var(--text);
  color: var(--page);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

/* ---------- layout ---------- */
.wrap {
  inline-size: 100%;
  max-inline-size: 74rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}

.section--alt {
  background: var(--alt);
}

.section-head {
  max-inline-size: 46rem;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  margin-block-end: 0.875rem;
}

.section-head p {
  margin: 0;
  color: var(--text-2);
  font-size: 1.125rem;
}

.kicker,
.section-head .kicker {
  margin-block: 0 0.75rem;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* keep short phrases and names on one line */
.nowrap,
.eyebrow span[lang],
.site-footer p span[lang] {
  white-space: nowrap;
}

/* a heading made of two sentences breaks between them, never inside the first */
.line {
  display: inline-block;
}

/* ---------- header ---------- */
.site-header {
  background: var(--alt);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  flex: none;
  border-radius: 0.5rem;
}

.brand picture {
  display: block;
}

.brand img {
  block-size: 3rem;
  inline-size: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 2.75rem;
  padding: 0.375rem 1.125rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.lang-switch:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

@media (min-width: 48rem) {
  .brand img {
    block-size: 3.5rem;
  }
}

/* ---------- buttons ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-block-size: 3.25rem;
  padding: 0.75rem 1.375rem;
  border: 1.5px solid transparent;
  border-radius: 0.875rem;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .lang-switch {
    transition:
      background-color 0.15s ease,
      border-color 0.15s ease,
      color 0.15s ease;
  }
}

/* ---------- hero ---------- */
.hero {
  background: var(--alt);
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3.5rem, 2rem + 6vw, 6.5rem);
}

.hero .wrap {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.eyebrow {
  margin-block: 0 1rem;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.9375rem;
}

.hero h1 {
  margin-block-end: 1.25rem;
}

.lead {
  max-inline-size: 38rem;
  margin-block: 0 1.5rem;
  color: var(--text-2);
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
}

.launch-note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-block: 0 2rem;
  font-weight: 600;
}

.launch-note .icon {
  color: var(--accent-text);
  margin-block-start: calc((var(--lh) * 1em - 1.5rem) / 2);
}

.hero-art {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.75rem;
  background: var(--card);
}

.hero-art .ill {
  inline-size: 100%;
  block-size: auto;
}

.places {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-block-start: clamp(1rem, 3vw, 1.75rem);
  padding-block-start: clamp(1rem, 3vw, 1.5rem);
  border-block-start: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
  text-align: center;
}

.places li {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.places .icon {
  color: var(--accent-text);
}

@media (min-width: 60rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

/* van-to-pin drawing (from the launch posts); colours follow the theme, the van stays white */
.ill-ground {
  fill: none;
  stroke: var(--ill-ground);
  stroke-width: 4;
  stroke-linecap: round;
}

.ill-route {
  fill: none;
  stroke: var(--ill-route);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 0 22;
}

.ill-shadow {
  fill: var(--ill-ground);
}

.ill-speed {
  fill: none;
  stroke: var(--ill-speed);
  stroke-width: 5;
  stroke-linecap: round;
}

.ill-body {
  fill: #ffffff;
  stroke: var(--ink-900);
  stroke-width: 5;
  stroke-linejoin: round;
}

.ill-window {
  fill: var(--sand-300);
  stroke: var(--ink-900);
  stroke-width: 4;
  stroke-linejoin: round;
}

.ill-door {
  stroke: var(--ink-900);
  stroke-width: 3;
}

.ill-lamp {
  fill: var(--sand-300);
}

.ill-tyre {
  fill: var(--ink-900);
  stroke: var(--ill-tyre-ring);
  stroke-width: 4;
}

.ill-hub {
  fill: var(--sand-100);
}

.only-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .only-light {
    display: none;
  }

  .only-dark {
    display: inline;
  }
}

/* ---------- how it works ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.step {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--card-soft);
}

.step h3 {
  margin-block: 1.125rem 0.5rem;
}

.step p {
  margin: 0;
  color: var(--text-2);
}

/* the nut hexagon, the brand's graphic device, used sparingly for step numbers */
.hex {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 3.175rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--en-head);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1;
}

@media (min-width: 40rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- services ---------- */
.groups {
  display: grid;
  gap: 1rem;
}

.group {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--card);
}

.group-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-block-end: 1rem;
}

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 0.875rem;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.ticks {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.ticks li {
  position: relative;
  padding-inline-start: 1.25rem;
  color: var(--text-2);
  line-height: var(--lh);
}

.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.125rem;
  inset-block-start: calc(var(--lh) * 0.5em - 0.2rem);
  inline-size: 0.4rem;
  block-size: 0.4rem;
  border-radius: 50%;
  background: var(--accent-text);
}

.group--not {
  grid-column: 1 / -1;
}

.group--not .icon-tile {
  background: var(--alt);
  color: var(--text);
}

.group--not .ticks {
  column-gap: 2rem;
}

/* the cross is drawn for the eye only; the second declaration gives it empty alt text so screen readers don't
   read "times" before every item (browsers without the alt-text syntax keep the first) */
.group--not .ticks li::before {
  content: "×";
  content: "×" / "";
  inset-block-start: 0;
  inline-size: auto;
  block-size: auto;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-family: var(--en-body);
  font-weight: 600;
}

.group-note {
  margin-block: 1.25rem 0;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--line);
  font-weight: 600;
}

@media (min-width: 40rem) {
  .groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .group--not .ticks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .group:nth-child(5) {
    grid-column: 1 / -1;
  }
}

/* wide: three groups on the first row, two on the second, then the list of what we don't do */
@media (min-width: 64rem) {
  .groups {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .group {
    grid-column: span 2;
  }

  .group:nth-child(4),
  .group:nth-child(5) {
    grid-column: span 3;
  }

  .group--not {
    grid-column: 1 / -1;
  }

  .group--not .ticks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- why trust us (maroon band, white text) ---------- */
.band {
  --focus: #ffffff;
  background: var(--band);
  color: #ffffff;
}

.band h2,
.band h3 {
  color: #ffffff;
}

.band .kicker,
.band .section-head p {
  color: var(--band-text-2);
}

.trust {
  list-style: none;
  display: grid;
  gap: 1.75rem 2.5rem;
}

.trust li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.trust .icon-tile {
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
}

.trust h3 {
  margin-block-end: 0.375rem;
}

.trust p {
  margin: 0;
  color: var(--band-text-2);
}

@media (min-width: 40rem) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* wide: three points on the first row, two wider ones on the second, so no cell is left empty */
@media (min-width: 64rem) {
  .trust {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .trust li {
    grid-column: span 2;
  }

  .trust li:nth-child(4),
  .trust li:nth-child(5) {
    grid-column: span 3;
  }
}

/* ---------- emergency help (the only place for Hazard amber, always with ink text) ---------- */
.emergency-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  max-inline-size: 52rem;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}

.badge {
  inline-size: 3.5rem;
  block-size: 3.5rem;
}

.emergency-head h2 {
  margin-block: 0.25rem 0.875rem;
}

.emergency-head p {
  color: var(--text-2);
  font-size: 1.125rem;
}

.chip-hazard {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--hazard);
  color: var(--on-hazard);
  font-weight: 600;
  font-size: 0.9375rem;
}

.emergency-head p.chip-hazard {
  color: var(--on-hazard);
  font-size: 0.9375rem;
}

.e-steps {
  list-style: none;
  display: grid;
  gap: 0 2rem;
  margin-block-end: 2.5rem;
}

.e-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  align-content: start;
  padding-block: 1.25rem;
  border-block-start: 1px solid var(--line);
}

.e-num {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 50%;
  background: var(--hazard);
  color: var(--on-hazard);
  font-family: var(--en-head);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1;
}

.e-step h3 {
  margin-block-end: 0.25rem;
}

.e-step p {
  margin: 0;
  color: var(--text-2);
}

.e-grid {
  display: grid;
  gap: 1.5rem;
}

.e-help h3 {
  margin-block-end: 0.5rem;
}

.e-help p {
  color: var(--text-2);
}

.safety {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--text);
  border-radius: 1.25rem;
}

.safety p {
  margin: 0;
  color: var(--text-2);
}

.safety-999 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.safety .safety-999 p {
  color: var(--text);
  font-weight: 600;
  font-size: 1.125rem;
}

.n999 {
  display: grid;
  place-items: center;
  inline-size: 4rem;
  block-size: 4rem;
  border-radius: 50%;
  background: var(--text);
  color: var(--page);
  font-family: var(--en-head);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1;
}

@media (min-width: 40rem) {
  .e-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .badge {
    inline-size: 4.5rem;
    block-size: 4.5rem;
  }
}

@media (min-width: 64rem) {
  .e-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .e-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .e-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
  }
}

/* ---------- payments ---------- */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-block-end: 2rem;
}

.chips li {
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-weight: 600;
  line-height: 1.35;
}

.checks {
  list-style: none;
  display: grid;
  gap: 0.875rem;
  max-inline-size: 46rem;
}

.checks li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  color: var(--text-2);
}

.checks .icon {
  color: var(--accent-text);
  margin-block-start: calc((var(--lh) * 1em - 1.5rem) / 2);
}

/* ---------- coverage ---------- */
.coverage {
  display: grid;
  gap: 2.5rem;
}

.zones-wrap {
  display: grid;
  grid-template-columns: minmax(6rem, 8.5rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.map {
  margin: 0;
}

.map svg {
  inline-size: 100%;
  block-size: auto;
}

.map figcaption {
  margin-block-start: 0.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-wrap: balance;
}

.map-land {
  fill: var(--map-land);
  stroke: var(--map-edge);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.map-dots {
  fill: var(--map-dot);
}

.zones {
  list-style: none;
  display: grid;
}

.zones li {
  padding-block: 0.625rem;
  border-block-end: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.4;
}

.zones li:first-child {
  padding-block-start: 0;
}

.days {
  display: grid;
  gap: 0.75rem;
  margin-block: 0 1.5rem;
}

.days div {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card-soft);
}

.days dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.days dd {
  margin: 0;
  font-weight: 600;
  font-size: 1.125rem;
}

.notes p {
  color: var(--text-2);
}

@media (min-width: 40rem) {
  .zones-wrap {
    grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 60rem) {
  .coverage {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3.5rem;
  }
}

/* ---------- contact ---------- */
.contact .btn {
  font-size: 1.125rem;
}

@media (min-width: 60rem) {
  .contact .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
  }

  .contact .section-head {
    margin-block-end: 0;
  }
}

/* ---------- footer ---------- */
.site-footer {
  padding-block: 1.5rem;
  border-block-start: 1px solid var(--line);
  background: var(--page);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer p {
  margin: 0;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.footer-nav a {
  display: inline-block;
  padding-block: 0.625rem;
  color: var(--text);
  font-weight: 600;
}

/* the legal identity line, switched on in the HTML once the commercial registration exists */
.identity {
  flex-basis: 100%;
}

/* ---------- inner pages: privacy and 404 ---------- */
.page-head {
  background: var(--alt);
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
}

.page-head h1 {
  font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
  line-height: 1.12;
}

.page-head h1:lang(ar) {
  font-size: clamp(1.875rem, 1.4rem + 2.2vw, 2.875rem);
  line-height: 1.5;
}

.updated {
  margin-block: 1rem 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.prose {
  max-inline-size: 44rem;
}

.prose h2 {
  margin-block: 2.5rem 0.75rem;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
}

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

.prose p {
  color: var(--text-2);
}

.notfound {
  display: grid;
  gap: 2.5rem;
}

.notfound h1,
.notfound h2 {
  margin-block-end: 1rem;
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.15;
}

.notfound h2:lang(ar) {
  line-height: 1.5;
}

.notfound p {
  color: var(--text-2);
}

.notfound > * + * {
  padding-block-start: 2.5rem;
  border-block-start: 1px solid var(--line);
}

@media (min-width: 48rem) {
  .notfound {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  .notfound > * + * {
    padding-block-start: 0;
    border-block-start: 0;
  }
}

/* ---------- print (providers save PDF snapshots of the pages) ---------- */
@media print {
  .skip-link,
  .lang-switch,
  .actions .btn-secondary {
    display: none;
  }

  .section {
    padding-block: 2rem;
  }

  .section-head,
  .hero-art,
  .step,
  .group-head,
  .ticks li,
  .trust li,
  .emergency-head,
  .e-step,
  .safety,
  .days div,
  .zones-wrap {
    break-inside: avoid;
  }

  h2,
  h3 {
    break-after: avoid;
  }
}
