:root {
  --red: #ef1308;
  --red-deep: #bd0700;
  --ink: #151515;
  --muted: #6d6a64;
  --line: #ece8e1;
  --paper: #ffffff;
  --cream: #fbf6eb;
  --mint: #e7f8ef;
  --teal: #0a8f8c;
  --gold: #f4c24d;
  --shadow: 0 18px 44px rgba(32, 24, 14, 0.08);
}

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

html {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf2 58%, #ffffff 100%);
  color: var(--ink);
  overflow-x: hidden;
}

html[dir="ltr"] {
  font-family: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 200;
  width: auto;
  height: auto;
  clip: auto;
  inset: 16px auto auto 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.topbar > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  color: var(--red);
  flex: 0 0 auto;
}

.brand-word {
  font-size: 24px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--red);
  color: white;
}

.address-pill,
.mode-toggle,
.search-box,
.icon-btn,
.cart-btn,
.lang-btn,
.filter-chip,
.category-pill,
.rail-actions button,
.welcome-strip button {
  min-height: 48px;
}

.address-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  flex: 0 1 250px;
}

.pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(239, 19, 8, 0.1);
}

.chevron {
  color: var(--muted);
}

.mode-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: #f3f1ed;
  flex: 0 0 auto;
}

.mode-toggle button {
  min-width: 72px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.mode-toggle .active {
  background: var(--ink);
  color: white;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f6f5f2;
  color: var(--muted);
  flex: 1 1 240px;
  max-width: 360px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  text-align: inherit;
}

.nav-links {
  order: 20;
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #f7f4ef;
}

.nav-links a.active {
  color: var(--red);
  background: #fff0ee;
}

.icon-btn,
.cart-btn,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  flex: 0 0 auto;
}

.icon-btn {
  width: 48px;
  position: relative;
}

.bell-dot {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.cart-btn {
  min-width: 72px;
  padding: 0 16px;
  background: var(--red);
  color: white;
}

.lang-btn {
  width: 52px;
}

main {
  min-height: 70vh;
}

.route-view {
  display: none;
}

.route-view.active {
  display: block;
}

.promo-grid,
.category-strip,
.filter-strip,
.section-shell,
.page-view,
.site-footer {
  width: calc(100% - 64px);
  max-width: 1280px;
  margin-inline: auto;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 44px;
}

.promo-card {
  position: relative;
  min-height: 184px;
  overflow: hidden;
  border-radius: 24px;
  padding: 34px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.1));
}

.promo-card p,
.promo-card h1,
.promo-card h2,
.promo-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}

.promo-card p {
  font-size: 14px;
  font-weight: 800;
}

.promo-card h1,
.promo-card h2 {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.25;
}

.promo-card span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
}

.promo-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.pass-card {
  background-image: linear-gradient(135deg, rgba(239, 19, 8, 0.94), rgba(189, 7, 0, 0.72)), url("https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?auto=format&fit=crop&w=1200&q=80");
  color: white;
}

.offer-card {
  background-image: linear-gradient(90deg, rgba(255, 244, 223, 0.96), rgba(255, 244, 223, 0.52)), url("https://images.unsplash.com/photo-1550547660-d9450f859349?auto=format&fit=crop&w=1200&q=80");
  color: var(--ink);
}

.offer-card::after {
  background: linear-gradient(90deg, rgba(255, 244, 223, 0.38), rgba(255, 244, 223, 0.08));
}

.offer-card span {
  color: var(--muted);
}

.gift-card {
  background-image: linear-gradient(135deg, rgba(21, 21, 21, 0.9), rgba(38, 32, 29, 0.52)), url("https://images.unsplash.com/photo-1551024601-bec78aea704b?auto=format&fit=crop&w=1200&q=80");
  color: white;
}

.floating-gift,
.heart-art {
  position: absolute;
  inset-inline-start: 34px;
  bottom: 30px;
  font-size: 48px;
  transform: rotate(-10deg);
}

html[dir="ltr"] .floating-gift,
html[dir="ltr"] .heart-art {
  inset-inline-start: auto;
  inset-inline-end: 34px;
}

.ticket-art {
  position: absolute;
  inset-inline-start: 34px;
  top: 70px;
  width: 80px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffdca1, #ffeaca);
  box-shadow: inset 18px 0 0 rgba(255, 160, 83, 0.18);
}

.ticket-art::before,
.ticket-art::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff4df;
}

.ticket-art::before {
  inset-inline-start: -6px;
}

.ticket-art::after {
  inset-inline-end: -6px;
}

.category-strip {
  padding-top: 36px;
}

.category-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(88px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: inline mandatory;
}

.category-pill {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 88px;
  background: transparent;
  color: var(--ink);
  scroll-snap-align: start;
}

.category-pill .category-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: var(--chip-bg);
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.category-all .category-icon { background: #f4eee7; }
.category-breakfast .category-icon { background: #f8e9cf; }
.category-shawarma .category-icon { background: #ffd8c2; }
.category-burger .category-icon { background: #ffe9a9; }
.category-pizza .category-icon { background: #ffd6a6; }
.category-grills .category-icon { background: #ffc9b5; }
.category-healthy .category-icon { background: #d8f0cc; }
.category-sushi .category-icon { background: #ffd4da; }
.category-mansaf .category-icon { background: #f5dfaf; }
.category-desserts .category-icon { background: #f7cada; }
.category-coffee .category-icon { background: #e5d5c4; }

.category-pill span:last-child {
  font-size: 14px;
  font-weight: 800;
}

.category-pill.active .category-icon {
  outline: 3px solid rgba(239, 19, 8, 0.2);
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px 0 28px;
}

.filter-chip {
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.filter-chip.active {
  background: var(--ink);
  color: white;
}

.filter-chip.foodopass {
  border-color: #bdece4;
  background: #e9fbf7;
  color: var(--teal);
}

.section-shell {
  padding: 28px 0 44px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading.compact {
  align-items: center;
}

.section-heading p {
  margin: 0 0 4px;
  color: var(--muted);
}

.section-heading h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.25;
}

.section-heading a,
.rail-actions a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mood-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 218px);
  gap: 22px;
}

.mood-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px;
  color: white;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.mood-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
}

.mood-card span,
.mood-card h3,
.mood-card p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.mood-card span {
  font-size: 13px;
  opacity: 0.86;
}

.mood-card h3 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.25;
}

.mood-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.mood-main {
  grid-row: span 2;
  background-image: url("https://images.unsplash.com/photo-1529006557810-274b9b2fc783?auto=format&fit=crop&w=1200&q=80");
}

.mood-main h3 {
  font-size: 44px;
  max-width: 10ch;
}

.sushi {
  background-image: url("https://images.unsplash.com/photo-1579871494447-9811cf80d66c?auto=format&fit=crop&w=900&q=80");
}

.breakfast {
  background-image: url("https://images.unsplash.com/photo-1533089860892-a7c6f0a88666?auto=format&fit=crop&w=900&q=80");
}

.healthy {
  background-image: url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=900&q=80");
}

.late {
  background-image: url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?auto=format&fit=crop&w=900&q=80");
}

.food-orbit {
  position: absolute;
  border-radius: 50%;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.2));
}

.food-orbit.wrap {
  width: 150px;
  height: 76px;
  inset-inline-start: 70px;
  bottom: 60px;
  border-radius: 40px;
  background: linear-gradient(90deg, #f8f2e9 0 18%, #fff 18% 82%, #e8ddd0 82%);
  transform: rotate(-24deg);
}

.food-orbit.wrap::after {
  content: "";
  position: absolute;
  inset: 18px 22px;
  border-radius: 30px;
  background: linear-gradient(90deg, #5cb87a, #f0d46b 38%, #db5b41 64%, #4b9b61);
}

.sushi-roll {
  width: 92px;
  height: 54px;
  inset-inline-start: 36px;
  bottom: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff765d 0 25%, #fff 26% 56%, #222 57%);
}

.egg {
  width: 82px;
  height: 82px;
  inset-inline-start: 42px;
  bottom: 34px;
  background: radial-gradient(circle at 50% 50%, #ffcb47 0 23%, white 24% 54%, #202020 55% 58%, transparent 59%);
}

.salad {
  width: 92px;
  height: 92px;
  inset-inline-start: 42px;
  bottom: 32px;
  background: radial-gradient(circle at 28% 35%, #e84b4b 0 9%, transparent 10%), radial-gradient(circle at 72% 40%, #f7f0d1 0 8%, transparent 9%), radial-gradient(circle at 52% 62%, #2cb36f 0 13%, transparent 14%), #dff2da;
  border: 9px solid rgba(255, 255, 255, 0.66);
}

.burger {
  width: 98px;
  height: 78px;
  inset-inline-start: 36px;
  bottom: 32px;
  border-radius: 34px 34px 18px 18px;
  background: linear-gradient(#f2b352 0 32%, #8c421d 33% 48%, #efdb51 49% 60%, #42a260 61% 72%, #f1c178 73%);
}

.mood-card .food-orbit {
  display: none;
}

.welcome-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 28px 34px;
  border-radius: 24px;
  background: linear-gradient(90deg, #ef1609, #c80902);
  color: white;
}

.welcome-strip strong {
  font-size: 24px;
}

.welcome-strip span {
  color: rgba(255, 255, 255, 0.82);
}

.welcome-strip button {
  padding: 0 28px;
  border-radius: 999px;
  background: white;
  color: var(--red);
  font-weight: 900;
}

.rail-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rail-actions button {
  width: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 26px;
}

.restaurants-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(262px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scroll-snap-type: inline mandatory;
}

.restaurant-card {
  min-height: 286px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.restaurant-art {
  position: relative;
  height: 142px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2)), var(--restaurant-photo, none), var(--art-bg, #f4c24d);
  background-size: cover;
  background-position: center;
}

.restaurant-art-golden-saj {
  --art-bg: #f4c24d;
  --restaurant-photo: url("https://images.unsplash.com/photo-1529006557810-274b9b2fc783?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art-amman-bakery {
  --art-bg: #f5d69c;
  --restaurant-photo: url("https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art-tokyo-ramen {
  --art-bg: #78b7c5;
  --restaurant-photo: url("https://images.unsplash.com/photo-1569718212165-3a8278d5f624?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art-burger-joint {
  --art-bg: #edb44d;
  --restaurant-photo: url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art-mansaf-house {
  --art-bg: #e6c06b;
  --restaurant-photo: url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art-green-bowl {
  --art-bg: #91d68b;
  --restaurant-photo: url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art-pizza-marco {
  --art-bg: #f19b69;
  --restaurant-photo: url("https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art-grill-master {
  --art-bg: #db805d;
  --restaurant-photo: url("https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=900&q=80");
}

.restaurant-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.28));
}

.restaurant-badge,
.restaurant-fav {
  position: absolute;
  top: 14px;
  z-index: 2;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.restaurant-badge {
  inset-inline-end: 14px;
  padding: 0 14px;
  background: #1f1f1f;
  color: white;
}

.restaurant-fav {
  inset-inline-start: 14px;
  justify-content: center;
  width: 36px;
  background: white;
}

.restaurant-body {
  padding: 16px;
}

.restaurant-body h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.restaurant-body p {
  margin: 0;
  color: var(--muted);
}

.restaurant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.restaurant-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f7f4ef;
  font-size: 13px;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: white;
}

.page-view {
  padding: 46px 0 72px;
}

.page-hero {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  border-radius: 28px;
  color: white;
  box-shadow: var(--shadow);
}

.page-hero p,
.page-hero h1,
.page-hero span {
  margin: 0;
  max-width: 760px;
}

.page-hero p {
  font-weight: 900;
  opacity: 0.84;
}

.page-hero h1 {
  margin-top: 12px;
  font-size: 54px;
  line-height: 1.16;
}

.page-hero span {
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero.food {
  background: linear-gradient(90deg, rgba(239, 19, 8, 0.92), rgba(169, 7, 0, 0.58)), url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.page-hero.ride {
  background: linear-gradient(135deg, #0f756f, #111);
}

.page-hero.captains {
  background: linear-gradient(135deg, #222, #ef1609);
}

.page-hero.restaurants {
  background: linear-gradient(135deg, #e58a22, #ca1b0e);
}

.page-hero.about {
  background: linear-gradient(135deg, #101010, #45413b);
}

.page-hero.investors {
  background: linear-gradient(135deg, #121212, #0a8f8c);
}

.ecosystem-view {
  color: var(--ink);
}

.ecosystem-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 48px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(232, 255, 58, 0.5), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(10, 143, 140, 0.18), transparent 24%),
    linear-gradient(135deg, #fbf6eb 0%, #f5efe3 56%, #151515 56%, #151515 100%);
  box-shadow: var(--shadow);
}

.ecosystem-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: 42px;
  top: 42px;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(232, 255, 58, 0.75) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(232, 255, 58, 0.75) 48% 52%, transparent 52%),
    radial-gradient(circle, rgba(232, 255, 58, 0.2) 0 16%, transparent 17% 100%);
  opacity: 0.95;
}

.ecosystem-hero p,
.ecosystem-hero h1,
.ecosystem-hero span {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
}

.ecosystem-hero p {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: #151515;
  color: #fbf6eb;
  font-size: 13px;
  font-weight: 900;
}

.ecosystem-hero h1 {
  font-size: clamp(40px, 6vw, 86px);
  line-height: 1.08;
}

.ecosystem-hero span {
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.ecosystem-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.ecosystem-card::before {
  content: "";
  position: absolute;
  inset-inline-end: -48px;
  top: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--ecosystem-accent, #e8ff3a);
  opacity: 0.24;
}

.ecosystem-card span,
.ecosystem-card h2,
.ecosystem-card p,
.ecosystem-card small {
  position: relative;
  z-index: 1;
}

.ecosystem-card span,
.ecosystem-card small {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7f4ef;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.ecosystem-card h2 {
  margin: auto 0 0;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
}

.ecosystem-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.ecosystem-card small {
  color: var(--ink);
}

.ecosystem-card.mandoub {
  --ecosystem-accent: #ff4a1c;
}

.ecosystem-card.food0 {
  --ecosystem-accent: #e8ff3a;
}

.ecosystem-card.scooter {
  --ecosystem-accent: #0a8f8c;
}

.ecosystem-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  border-radius: 18px;
  background: #151515;
  color: #fbf6eb;
}

.ecosystem-note strong {
  font-size: 24px;
}

.ecosystem-note p {
  max-width: 760px;
  margin: 0;
  color: rgba(251, 246, 235, 0.78);
  line-height: 1.75;
}

.status-view {
  color: var(--ink);
}

.status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 255, 58, 0.32), transparent 24%),
    linear-gradient(135deg, #fffaf2, #f4f0e7);
  box-shadow: var(--shadow);
}

.status-hero p,
.status-hero h1,
.status-hero span {
  margin: 0;
}

.status-hero p {
  color: var(--red);
  font-weight: 900;
}

.status-hero h1 {
  margin-top: 12px;
  max-width: 760px;
  font-size: 54px;
  line-height: 1.14;
}

.status-hero > div > span {
  display: block;
  margin-top: 14px;
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.status-hero-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
}

.status-overall,
.status-component-head strong {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 900;
}

.status-overall.operational,
.status-component.operational .status-component-head strong,
.status-check.operational small {
  color: #11663f;
}

.status-overall.degraded,
.status-component.degraded .status-component-head strong,
.status-check.degraded small {
  color: #8a5a00;
}

.status-overall.outage,
.status-component.outage .status-component-head strong,
.status-check.outage small {
  color: var(--red-deep);
}

.status-hero-panel p {
  color: var(--ink);
  line-height: 1.6;
}

.status-hero-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status-hero-panel button {
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.status-section-heading h2,
.status-incidents h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.status-components {
  display: grid;
  gap: 12px;
}

.status-component,
.status-incidents,
.status-message {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.status-component {
  padding: 20px;
}

.status-component-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.status-component-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.status-component-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.status-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.status-check {
  min-height: 76px;
  padding: 12px;
  border-radius: 14px;
  background: #f7f4ef;
}

.status-check span,
.status-check small {
  display: block;
}

.status-check span {
  font-weight: 900;
}

.status-check small {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
}

.status-incidents {
  padding: 20px;
}

.status-incidents ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.7;
}

.status-message {
  padding: 24px;
  color: var(--muted);
}

.feature-grid,
.timeline,
.partner-list,
.investor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-grid article,
.timeline article,
.partner-list article,
.investor-grid article,
.story-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.feature-grid h2,
.timeline h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.timeline article span,
.investor-grid strong,
.metric-band strong {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--red);
}

.metric-band {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 28px;
  border-radius: 18px;
  background: #111;
  color: white;
}

.partner-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-list article h2 {
  margin: 0;
  font-size: 20px;
}

.partner-list article p {
  margin: 8px 0 0;
  color: var(--muted);
}

.story-block {
  margin-top: 24px;
}

.story-block p {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.8;
}

.story-block p + p {
  margin-top: 18px;
}

.investor-grid article strong {
  font-size: 46px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 0 64px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--red);
  font-size: 30px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

@media (min-width: 1420px) {
  .nav-links {
    order: 0;
    flex: 1 1 auto;
    justify-content: center;
    gap: 16px;
    overflow: visible;
    padding: 0;
  }

  .nav-links a {
    min-height: auto;
    padding: 0;
    background: transparent;
  }
}

@media (max-width: 1080px) {
  .topbar {
    flex-wrap: wrap;
    overflow: visible;
  }

  .address-pill,
  .mode-toggle,
  .search-box {
    flex: 1 1 100%;
    max-width: none;
  }

  .search-box {
    order: 10;
  }

  .promo-grid,
  .mood-grid,
  .feature-grid,
  .timeline,
  .partner-list,
  .investor-grid,
  .ecosystem-grid,
  .status-layout {
    grid-template-columns: 1fr 1fr;
  }

  .status-hero {
    grid-template-columns: 1fr;
  }

  .status-checks {
    grid-template-columns: 1fr 1fr;
  }

  .mood-main {
    grid-column: 1 / -1;
  }

  .metric-band {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand-word {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .promo-grid,
  .category-strip,
  .filter-strip,
  .section-shell,
  .page-view,
  .site-footer {
    width: 100%;
    max-width: 1280px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .promo-grid,
  .mood-grid,
  .feature-grid,
  .timeline,
  .partner-list,
  .investor-grid,
  .ecosystem-grid,
  .status-layout,
  .status-checks {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    padding-top: 22px;
  }

  .promo-card,
  .mood-card,
  .page-hero,
  .status-hero,
  .status-component,
  .status-incidents,
  .welcome-strip,
  .feature-grid article,
  .timeline article,
  .partner-list article,
  .investor-grid article,
  .story-block {
    border-radius: 18px;
  }

  .promo-card {
    min-height: 168px;
    padding: 26px;
    text-align: center;
  }

  .promo-card a {
    margin-left: auto;
    margin-right: auto;
  }

  .category-row {
    grid-auto-columns: 76px;
    gap: 10px;
  }

  .category-pill .category-icon {
    width: 62px;
    height: 62px;
  }

  .filter-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .mood-grid {
    grid-template-rows: none;
  }

  .mood-card {
    min-height: 190px;
  }

  .mood-main h3,
  .page-hero h1,
  .ecosystem-hero h1 {
    font-size: 36px;
  }

  .welcome-strip,
  .section-heading,
  .ecosystem-note,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .ecosystem-hero {
    min-height: 360px;
    padding: 30px;
  }

  .ecosystem-hero {
    background:
      radial-gradient(circle at 18% 12%, rgba(232, 255, 58, 0.48), transparent 28%),
      linear-gradient(135deg, #fbf6eb, #f5efe3);
  }

  .ecosystem-hero::after {
    opacity: 0.18;
    inset-inline-end: -64px;
  }

  .status-hero {
    padding: 24px;
  }

  .status-hero h1 {
    font-size: 34px;
  }

  .status-component-head {
    display: grid;
  }

  .restaurants-rail {
    grid-auto-columns: minmax(238px, 88vw);
  }
}

/* ── Legal pages ──────────────────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary, #555);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #0B0B0B);
  margin: 32px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light, #eee);
}

.legal-content h2:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content a {
  color: var(--accent, #EF1308);
  text-decoration: underline;
  font-weight: 500;
}

.legal-content strong {
  color: var(--text-primary, #0B0B0B);
}

[dir="rtl"] .legal-content {
  text-align: right;
}

[dir="ltr"] .legal-content {
  text-align: left;
}

/* Contact page — vanilla HTML fallback */
.contact-channels-static {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 0;
  justify-content: center;
}

.channel-block {
  background: var(--bg-secondary, #f6f6f3);
  border: 1px solid var(--border, #e5e2dc);
  border-radius: 16px;
  padding: 20px 28px;
  min-width: 200px;
  text-align: center;
}

.channel-block strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #0B0B0B);
  direction: ltr;
}

.channel-block span {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted, #6B6B6B);
}
