@font-face {
  font-family: "Readex Pro";
  src: url("assets/fonts/ReadexPro-Variable.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --route-teal: #0f6b61;
  --route-teal-strong: #0a554e;
  --route-mint: #e7f2ef;
  --warm-plaster: #fff8ec;
  --night-ink: #18211f;
  --muted-ink: #58645f;
  --kiln-amber: #f0a13b;
  --pomegranate: #c75143;
  --surface: #ffffff;
  --surface-subtle: #f4f7f5;
  --border: #d7e1dd;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(240, 161, 59, .18), transparent 28rem),
    linear-gradient(180deg, var(--warm-plaster), #fffdf8 44%, var(--warm-plaster));
  color: var(--night-ink);
  font-family: "Readex Pro", "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  padding: 1rem;
  background: rgba(255, 248, 236, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 225, 221, .72);
}

.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(24, 33, 31, .08); }

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: max-content;
}

.brand-mark,
.brand-mark svg {
  display: block;
  width: 3rem;
  height: 3rem;
}

.brand strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted-ink);
  font-weight: 600;
  margin-top: -.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.nav a {
  border-radius: 999px;
  padding: .55rem .9rem;
  color: var(--muted-ink);
  font-weight: 700;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--route-teal);
  background: var(--route-mint);
  outline: none;
}

.section-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1rem;
}

.hero {
  min-height: calc(100svh - 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--route-teal);
  font-weight: 800;
  letter-spacing: .01em;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 7.2vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

h3 { margin-bottom: .45rem; font-size: 1.2rem; }

.lead {
  max-width: 42rem;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.availability {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 2rem 0 .9rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: .7rem 1.05rem;
  font-weight: 800;
}

.store-badge.primary {
  background: var(--night-ink);
  color: white;
  border-color: var(--night-ink);
}

.store-badge.secondary {
  background: var(--route-teal);
  color: white;
  border-color: var(--route-teal);
}

.store-badge.muted { background: var(--surface); color: var(--muted-ink); }

.launch-note { color: var(--muted-ink); font-size: .96rem; }

.hero-visual {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
}

.phone-card {
  width: min(23rem, 78vw);
  min-height: 31rem;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 2.2rem;
  background: linear-gradient(180deg, #fff, var(--surface-subtle));
  box-shadow: 0 22px 60px rgba(24, 33, 31, .14);
}

.phone-top {
  width: 42%;
  height: .45rem;
  margin: .2rem auto 1.2rem;
  border-radius: 999px;
  background: var(--border);
}

.phone-route {
  position: relative;
  height: 12rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(90deg, rgba(15, 107, 97, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 107, 97, .08) 1px, transparent 1px),
    #f3efe7;
  background-size: 44px 44px;
  overflow: hidden;
}

.phone-route:before {
  content: "";
  position: absolute;
  inset: 26% 14% 22% 18%;
  border-bottom: .45rem solid var(--route-teal);
  border-right: .45rem solid var(--route-teal);
  border-radius: 2.5rem;
  transform: skewX(-10deg);
}

.phone-route span {
  position: absolute;
  width: 1.3rem;
  height: 1.3rem;
  border: .22rem solid white;
  border-radius: 999px;
  background: var(--kiln-amber);
}

.phone-route span:nth-child(1) { right: 15%; bottom: 20%; background: var(--route-teal); }
.phone-route span:nth-child(2) { left: 18%; top: 23%; background: var(--pomegranate); }
.phone-route span:nth-child(3) { left: 44%; top: 48%; background: var(--kiln-amber); }

.phone-row {
  height: 1rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--border);
}

.phone-row.strong { width: 76%; height: 1.3rem; background: var(--route-teal); }

.phone-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.2rem; }
.phone-actions span { height: 3.2rem; border-radius: 1rem; background: var(--route-mint); }
.phone-actions span:first-child { background: var(--kiln-amber); }

.mara {
  position: absolute;
  right: 0;
  bottom: 1rem;
  width: 11rem;
  filter: drop-shadow(0 18px 30px rgba(24, 33, 31, .12));
}

.section-block { padding-top: 3rem; }

.section-heading { max-width: 42rem; margin-bottom: 1.6rem; }
.section-heading p:not(.eyebrow) { color: var(--muted-ink); }

.service-grid,
.steps,
.trust-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.steps article,
.trust-card,
details {
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .82);
  padding: 1.25rem;
}

.service-card p,
.steps p,
.trust-card span,
details p { color: var(--muted-ink); margin-bottom: 0; }

.muted-card { background: rgba(244, 247, 245, .76); }

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: var(--route-mint);
  color: var(--route-teal);
  font-size: 1.4rem;
  font-weight: 900;
}

.service-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.area-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 2rem;
}

.area-section p { color: var(--muted-ink); }

.area-map {
  position: relative;
  min-height: 19rem;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background:
    linear-gradient(90deg, rgba(15, 107, 97, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 107, 97, .06) 1px, transparent 1px),
    #f3efe7;
  background-size: 46px 46px;
  overflow: hidden;
}

.area-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.map-dot {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  padding: .45rem .7rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(24, 33, 31, .10);
}
.map-dot.start { right: 12%; bottom: 20%; color: var(--route-teal); }
.map-dot.end { left: 12%; top: 18%; color: var(--pomegranate); }

.steps article strong {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--route-teal);
  color: white;
}

.app-section { padding-top: 2rem; }

.app-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.app-link {
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .86);
  padding: 1.2rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.app-link:hover,
.app-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 107, 97, .42);
  box-shadow: 0 14px 32px rgba(24, 33, 31, .10);
  outline: none;
}

.app-link span {
  color: var(--route-teal);
  font-weight: 900;
}

.app-link strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.app-link small {
  color: var(--muted-ink);
  font-weight: 700;
}

.primary-link {
  background: var(--route-teal);
  color: white;
  border-color: var(--route-teal);
}

.primary-link span,
.primary-link small { color: rgba(255, 255, 255, .82); }

.admin-link { background: rgba(244, 247, 245, .86); }

.download-section { padding-top: 2rem; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.download-card {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid rgba(15, 107, 97, .22);
  border-radius: 1.2rem;
  background: rgba(240, 248, 245, .88);
  padding: 1.15rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.download-card:hover,
.download-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 107, 97, .52);
  box-shadow: 0 14px 32px rgba(24, 33, 31, .10);
  outline: none;
}

.download-card span {
  color: var(--route-teal);
  direction: ltr;
  font-weight: 900;
}

.download-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.25;
}

.download-card small {
  color: var(--muted-ink);
  font-weight: 700;
}

.trust-section { padding-top: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-card strong { display: block; margin-bottom: .45rem; font-size: 1.1rem; }

.faq-section { padding-top: 3rem; }
details { margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 900; }
summary::marker { color: var(--route-teal); }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  color: var(--muted-ink);
  border-top: 1px solid var(--border);
}

.footer-brand { margin-bottom: .8rem; color: var(--night-ink); }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .hero, .area-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3rem; }
  .hero-visual { min-height: 29rem; }
  .service-grid, .steps, .app-link-grid, .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-section { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section-shell { padding: 3.2rem 1rem; }
  .nav a { padding-inline: .75rem; }
  .availability { flex-direction: column; }
  .store-badge { width: 100%; }
  .service-grid, .steps, .app-link-grid, .download-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 25rem; }
  .phone-card { min-height: 27rem; }
  .mara { width: 8.2rem; right: -.5rem; }
}
