/* ============================================================
   Wilow Landing — site-specific styles on top of design system
   ============================================================ */

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Override the design-system body bg so palette tokens win over colors_and_type.css cascade */
body { background: var(--page-bg); color: var(--on-page); }

html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

/* ═════════ Palette tokens (default = cream). Overridden by JS ═════════ */
:root {
  --page-bg:         var(--cream-0);
  --section-alt-bg:  var(--cream-1);
  --section-blue-bg: var(--wilow-blue-soft);
  --card-bg:         var(--white);
  --nav-blur-bg:     rgba(253,251,249,.85);
  --hero-blob:       var(--wilow-blue);
  --on-page:         var(--ink);
  --on-page-muted:   var(--ink-500);
  --hairline:        rgba(0,0,0,.06);
  --chip-ink:        var(--cream-2);
}

.site {
  background: var(--page-bg);
  color: var(--on-page);
  font-family: var(--font-arabic);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .3s ease;
}

/* Dark-palette inversion helpers */
body[data-palette="ink-mono"] .nav-logo { filter: invert(1) brightness(1.2); }
body[data-palette="ink-mono"] .plan img,
body[data-palette="ink-mono"] .step-ico img,
body[data-palette="ink-mono"] .wash-card img,
body[data-palette="ink-mono"] .extra-ico img { filter: none; }
body[data-palette="ink-mono"] .h-display,
body[data-palette="ink-mono"] .h-xl,
body[data-palette="ink-mono"] .h-lg,
body[data-palette="ink-mono"] .h-md,
body[data-palette="ink-mono"] h1, body[data-palette="ink-mono"] h2,
body[data-palette="ink-mono"] h3, body[data-palette="ink-mono"] h4,
body[data-palette="ink-mono"] .nav a,
body[data-palette="ink-mono"] .plan-name,
body[data-palette="ink-mono"] .plan-price .num,
body[data-palette="ink-mono"] .trust-stat .num,
body[data-palette="ink-mono"] .faq-list > details > summary { color: var(--on-page); }
body[data-palette="ink-mono"] .body,
body[data-palette="ink-mono"] .lead,
body[data-palette="ink-mono"] .plan-weight,
body[data-palette="ink-mono"] .trust-stat .lbl,
body[data-palette="ink-mono"] .faq-answer { color: var(--on-page-muted); }
body[data-palette="ink-mono"] .btn.primary { background: var(--wilow-orange); color: #fff; }
body[data-palette="ink-mono"] .btn.outline { border-color: rgba(255,255,255,.25); color: #fff; }
body[data-palette="ink-mono"] .btn.ghost { color: #fff; }
body[data-palette="ink-mono"] .plan.featured { background: #242424; color: #fff; }
body[data-palette="ink-mono"] .plan.featured .plan-name,
body[data-palette="ink-mono"] .plan.featured .plan-price .num,
body[data-palette="ink-mono"] .plan.featured ul li { color: #fff; }
body[data-palette="ink-mono"] .hero-pricing .price-chip.featured { background: var(--wilow-orange); border-color: var(--wilow-orange); }
body[data-palette="ink-mono"] .tldr { background: #1f1f1f; color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.1); }
body[data-palette="ink-mono"] .updated-pill { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
body[data-palette="ink-mono"] .extra-dots { border-bottom-color: rgba(255,255,255,.18); }
body[data-palette="ink-mono"] .footer { background: #000; }
body[data-palette="ink-mono"] .neigh-chip { background: #1a1a1a; color: #fff; border-color: rgba(255,255,255,.1); }

/* Blue-palette small tweaks — hero pricing featured tile shouldn't disappear */
body[data-palette="blue"] .hero-pricing .price-chip.featured,
body[data-palette="blue-deep"] .hero-pricing .price-chip.featured { background: var(--wilow-orange); border-color: var(--wilow-orange); }
body[data-palette="blue"] .hero-pricing .price-chip.featured .chip-meta,
body[data-palette="blue-deep"] .hero-pricing .price-chip.featured .chip-meta { color: rgba(255,255,255,.85); }
body[data-palette="blue"] .nav-logo,
body[data-palette="blue-deep"] .nav-logo,
body[data-palette="yellow-warm"] .nav-logo { background: var(--wilow-yellow); padding: 4px 8px; border-radius: 10px; }

/* Arabic display (mirror of Mint Grotesk for headlines) */
.ar-display { font-family: "DIN Arabic", var(--font-arabic); font-weight: 500; letter-spacing: 0; }
.ar-body    { font-family: "Noto Arabic", var(--font-arabic); font-weight: 500; }

/* ------- Layout primitives ------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.cream { background: var(--section-alt-bg); }
.section.cream-deep { background: var(--cream-3); }
.section.white { background: var(--card-bg); }
.section.blue-soft { background: var(--section-blue-bg); }

/* Wilow-blue section with proportional edge fades.
   25 % of the section height fades in from the section above, and the
   bottom 25 % fades out into the section below.  Percentage-based zones
   scale with content height so the transition always looks natural — no
   media-query override needed.
   • --fade-top    → bg colour of the section ABOVE  (default cream-0)
   • --fade-bottom → bg colour of the section BELOW  (default cream-0) */
.section--blue-fade {
  --fade-top:    var(--cream-0);
  --fade-bottom: var(--cream-0);
  background: linear-gradient(
    to bottom,
    var(--fade-top)    0%,
    var(--wilow-blue) 25%,
    var(--wilow-blue) 75%,
    var(--fade-bottom) 100%
  );
}

/* Contrast on blue — kicker orange (#b55023) is ~3.25:1 on #ABD4FD
   (WCAG AA fail). Swap to near-black; lead text bumped from ink-500 too. */
.section--blue-fade .kicker { color: var(--ink-800); }   /* 11.8:1 on blue — AAA */
.section--blue-fade .lead   { color: var(--ink-700); }   /*  7.2:1 on blue — AAA */

/* Eyebrow tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--wilow-yellow);
  font: 500 12px/1 var(--font-arabic);
  color: var(--ink);
}

/* Section kicker */
.kicker {
  font: 500 14px/1 var(--font-arabic);
  color: #b55023; /* darkened from #ff7132 — passes WCAG AA 4.83:1 on cream bg */
  letter-spacing: 0;
  margin-bottom: 12px;
  display: inline-block;
}

/* Headlines — large Arabic */
.h-display {
  font-family: "DIN Arabic";
  font-weight: 700;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.h-xl {
  font-family: "DIN Arabic";
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.h-lg {
  font-family: "DIN Arabic";
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.h-md {
  font-family: "DIN Arabic";
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.lead {
  font-family: "Noto Arabic";
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-500);
  margin: 0;
}
.body {
  font-family: "Noto Arabic";
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0;
}

/* ------- Nav bar ------- */
/* Single-state nav: always tinted wilow-blue with a frosted backdrop blur.
   The bg is rgba (85% opacity over --wilow-blue) so content scrolling
   beneath is blurred AND tinted blue — gives the navbar a true "frosted
   blue glass" feel rather than a flat blue stripe. At the top of the page
   it visually merges with the solid blue hero (since the same blue shows
   through); past the hero it reads as a blurred blue lens over the cream
   sections beneath. */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(171, 212, 253, 0.78);  /* --wilow-blue with 78 % alpha */
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 1px 8px rgba(31, 69, 130, .07);
}
/* (link colour/weight handled below on the original .nav-links a rule
    so source-order conflicts don't bring back the muted grey.) */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* Logo is a fixed size at all scroll positions — the bar no longer morphs.
   width="92" height="48" on the <img> preserves the aspect ratio. */
.nav-logo {
  height: 38px;
  display: block;
}
@media (max-width: 600px) {
  .nav-logo { height: 32px; }
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
/* Nav links: pure black with weight 600 for maximum contrast against BOTH
   nav states.
   • On the blue hero (#ABD4FD) → 14.4:1 (AAA).
   • On the frosted-white scrolled state → ~16:1 (AAA).
   White would fail (both backgrounds are light); ink-700 read too quietly. */
.nav-links a {
  font: 600 14px/1 var(--font-arabic);
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { color: var(--wilow-orange-deep); }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font: 500 16px/1 var(--font-arabic);
  text-decoration: none;
  transition: opacity .14s var(--ease-standard), transform .14s var(--ease-standard);
}
.btn:active { transform: scale(.98); }
.btn:hover { opacity: .88; }
.btn.primary { background: var(--ink); color: var(--white); }
.btn.orange { background: var(--wilow-orange); color: var(--white); }
.btn.outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost { background: var(--white); color: var(--ink); border: 1px solid var(--border-card); }
.btn.pill { border-radius: 999px; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 60px; padding: 0 32px; font-size: 18px; }

/* App store badges */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 18px;
  height: 60px;
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform .18s var(--ease-standard), opacity .18s var(--ease-standard);
}
.store:hover { transform: translateY(-2px); }
.store .store-ico { width: 28px; height: 28px; flex: 0 0 28px; }
.store .store-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.store .store-label small { font: 400 10px/1.2 var(--font-body); opacity: .8; margin-bottom: 3px; }
.store .store-label span  { font: 700 18px/1 var(--font-display); letter-spacing: .01em; }
html[dir="rtl"] .store .store-label { align-items: flex-end; }

/* Cards */
.card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
}

/* Hairline divider */
.hr {
  height: 1px;
  background: var(--border-hairline);
  border: 0;
  margin: 0;
}

/* Phone frame (mobile preview of landing page) */
.phone-frame {
  width: 390px;
  height: 844px;
  background: var(--cream-0);
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.05);
  position: relative;
}
.phone-frame .phone-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.phone-frame .phone-scroll::-webkit-scrollbar { width: 0; }

/* ═════════════════════════════════════════════════════════════════════════
   Hero — Wilow-Blue theme
   ─────────────────────────────────────────────────────────────────────────
   Brand-blue fills 0–78 % of the hero, then fades smoothly to cream so the
   trust-strip section below blends in without a hard seam.  Body copy is
   bumped one shade darker (ink-700) to keep WCAG AA contrast on the blue.
   ═════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 56px 0 96px;
  background:
    linear-gradient(180deg,
      var(--wilow-blue) 0%,
      var(--wilow-blue) 78%,
      var(--cream-1)    100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin: 16px 0 20px; }
.hero .hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero .hero-proof { display: flex; gap: 24px; margin-top: 28px; align-items: center; flex-wrap: wrap; }

/* Bump muted greys to ink-700 so .lead / .tldr / breadcrumb pass AA on blue */
.hero .lead,
.hero .tldr             { color: var(--ink-700); }
.hero .breadcrumb,
.hero .breadcrumb a     { color: var(--ink-700); }
.hero .breadcrumb a:hover { color: var(--wilow-orange-deep); }
.hero .breadcrumb .sep  { color: var(--ink-500); }

/* TLDR card — soft blue-tinted shadow & border lift it off the blue bg */
.hero .tldr {
  border-color: rgba(31, 69, 130, .08);
  box-shadow: 0 4px 16px rgba(31, 69, 130, .07);
}

/* Hero pricing chips — same idea: small blue-cast shadow so the white
   cards feel anchored on the blue field rather than floating awkwardly. */
.hero .hero-pricing .price-chip {
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 4px 14px rgba(31, 69, 130, .10), 0 1px 2px rgba(0,0,0,.04);
}

/* Hero visual — phone + bag vignette */
.hero-stage {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stage .blob {
  position: absolute;
  inset: 20px 30px;
  /* Warm yellow halo — pops against the brand-blue background and
     reinforces the existing yellow eyebrow / floating-card accents. */
  background: radial-gradient(60% 50% at 50% 55%,
    color-mix(in oklab, var(--wilow-yellow) 55%, transparent) 0%,
    transparent 70%);
  z-index: 0;
}

.mini-phone {
  width: 280px;
  height: 580px;
  background: var(--cream-0);
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18), 0 0 0 10px #111, 0 0 0 11px rgba(0,0,0,.1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  transform: rotate(-4deg) translateZ(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ------- Trust strip ------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 36px 0;
}
.trust-stat { text-align: center; padding: 0 16px; border-left: 1px solid var(--border-hairline); }
.trust-stat:first-child { border-left: 0; }
.trust-stat .num { font: 700 clamp(32px, 3.6vw, 44px)/1 "DIN Arabic"; color: var(--ink); }
.trust-stat .lbl { font: 500 13px/1.3 "Noto Arabic"; color: var(--ink-500); margin-top: 8px; }

/* ------- How it works ------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--white);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
}
.step .step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font: 700 16px/1 "DIN Arabic";
  margin-bottom: 18px;
}
.step .step-ico {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--wilow-blue-soft);
  border-radius: 18px;
  margin-bottom: 20px;
}
.step .step-ico.yellow { background: var(--wilow-yellow); }
.step .step-ico.blue   { background: var(--wilow-blue-light); }
.step .step-ico.orange { background: #FFD9C7; }
.step .step-ico.cream  { background: var(--cream-3); }
.step h3 { margin-bottom: 10px; }

/* ------- What we wash grid ------- */
.wash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.wash-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease-out-soft);
}
.wash-card:hover { transform: translateY(-4px); }
.wash-card.accent-blue   { background: var(--wilow-blue-soft); }
.wash-card.accent-yellow { background: var(--wilow-yellow); }
.wash-card.accent-cream  { background: var(--cream-3); }
.wash-card.accent-white  { background: var(--white); }
/* Icon badge — white pill that floats off the coloured card with a shadow.
   White gives maximum contrast for all icon palettes regardless of card bg. */
.wash-card .wash-ico {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, .13),
    0 2px  6px rgba(0, 0, 0, .08);
  font-size: 40px;
  flex-shrink: 0;
}
.wash-card .wash-ico-img { width: 60px; height: 60px; }
.wash-card h3 { margin-top: auto; }

/* ------- Plans ------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.plan {
  background: var(--white);
  border-radius: 24px;
  border: 1.5px solid var(--border-hairline);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform .2s var(--ease-out-soft), border-color .2s var(--ease-out-soft);
}
.plan.featured {
  border-color: var(--ink);
  background: var(--cream-2);
  transform: translateY(-8px);
}
.plan:hover { transform: translateY(-4px); }
.plan.featured:hover { transform: translateY(-12px); }
.plan .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--wilow-orange);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font: 700 11px/1 "DIN Arabic";
}
html[dir="rtl"] .plan .badge { right: auto; left: 24px; }
.plan .plan-name { font: 700 22px/1.1 "DIN Arabic"; color: var(--ink); }
.plan .plan-weight { font: 500 13px/1 "Noto Arabic"; color: var(--ink-500); }
.plan .plan-price-block { display: flex; flex-direction: column; gap: 6px; }
.plan .plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan .plan-price .num { font: 700 38px/1 "DIN Arabic"; color: var(--ink); }
.plan .plan-price .unit { font: 500 13px/1 "Noto Arabic"; color: var(--ink-500); }
.plan .plan-once { font: 500 12px/1 "Noto Arabic"; color: var(--ink-400); }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan ul li { font: 500 14px/1.4 "Noto Arabic"; color: var(--ink-700); display: flex; gap: 8px; align-items: flex-start; }
.plan ul li::before {
  content: "";
  width: 16px; height: 16px; flex: 0 0 16px;
  background: var(--wilow-green-soft);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8l3 3 6-6' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ------- Testimonials ------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote .stars { display: flex; gap: 2px; color: var(--wilow-orange); font-size: 16px; }
.quote .q { font: 500 17px/1.55 "DIN Arabic"; color: var(--ink); }
.quote .who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.quote .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wilow-yellow);
  font: 700 15px/1 "DIN Arabic"; color: var(--ink);
}
.quote .avatar.blue  { background: var(--wilow-blue); }
.quote .avatar.cream { background: var(--cream-3); }
.quote .name { font: 700 14px/1 "DIN Arabic"; color: var(--ink); }
.quote .meta { font: 500 12px/1 "Noto Arabic"; color: var(--ink-500); margin-top: 4px; }

/* ------- FAQ ------- */
.faq-item {
  border-top: 1px solid var(--border-hairline);
}
.faq-item:last-child { border-bottom: 1px solid var(--border-hairline); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font: 700 18px/1.3 "DIN Arabic";
  color: var(--ink);
  text-align: inherit;
}
.faq-q .chev {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  transition: transform .22s var(--ease-standard), background .22s;
  flex: 0 0 36px;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq-item.open .faq-q .chev svg path { stroke: var(--white); }
.faq-a {
  font: 500 15px/1.7 "Noto Arabic";
  color: var(--ink-500);
  padding-bottom: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease-standard), padding .3s var(--ease-standard);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 24px;
}

/* ------- Neighborhoods (footer / mini) ------- */
.neigh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.neigh-chip {
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  font: 500 14px/1 "DIN Arabic";
  color: var(--ink);
  text-align: center;
}
a.neigh-chip { text-decoration: none; color: inherit; transition: background .15s; }
a.neigh-chip:hover { background: rgba(0,0,0,.05); }

/* ------- Blog teaser ------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  transition: transform .2s var(--ease-out-soft);
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card .blog-img {
  height: 180px;
  background: var(--wilow-blue-soft);
  background-size: cover;
  background-position: center;
}
.blog-card .blog-body { padding: 20px 22px 24px; }
.blog-card .blog-cat {
  font: 500 11px/1 "DIN Arabic";
  color: var(--wilow-orange);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.blog-card h3 { margin-top: 10px; font-size: 18px; }
.blog-card .blog-meta { margin-top: 12px; font: 500 12px/1 "Noto Arabic"; color: var(--ink-400); }

/* ------- Final CTA with QR ------- */
.final-cta {
  background: var(--wilow-blue);
  border-radius: 32px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.qr-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}
.qr-box {
  width: 180px;
  height: 180px;
  background: var(--ink);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* ------- Footer ------- */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 32px;
}
.footer a { color: rgba(255,255,255,.7); text-decoration: none; font: 500 14px/1.8 "Noto Arabic"; }
.footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer h3,
.footer h4 { color: var(--white); margin: 0 0 16px; font: 700 14px/1 "DIN Arabic"; text-transform: uppercase; letter-spacing: .06em; }
.footer .footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font: 500 13px/1.5 "Noto Arabic";
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}

/* ------- Native FAQ via <details> ------- */
.faq-item details {
  border-top: 1px solid var(--border-hairline);
  padding: 0;
}
.faq-list { border-bottom: 1px solid var(--border-hairline); }
.faq-list > details {
  border-top: 1px solid var(--border-hairline);
}
.faq-list > details > summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font: 700 18px/1.3 "DIN Arabic";
  color: var(--ink);
}
.faq-list > details > summary::-webkit-details-marker { display: none; }
.faq-list > details > summary .chev {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  transition: transform .22s var(--ease-standard), background .22s;
  flex: 0 0 36px;
}
.faq-list > details[open] > summary .chev { transform: rotate(45deg); background: var(--ink); }
.faq-list > details[open] > summary .chev svg path { stroke: var(--white); }
.faq-list > details > .faq-answer {
  font: 500 15px/1.7 "Noto Arabic";
  color: var(--ink-500);
  padding: 0 0 24px;
  max-width: 820px;
}

/* Updated-date pill */
.updated-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream-2);
  font: 500 12px/1 "Noto Arabic";
  color: var(--ink-500);
}
.updated-pill::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--wilow-green);
}

/* TL;DR answer card (LLM-quotable) */
.tldr {
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0 0;
  max-width: 640px;
  font: 500 16px/1.6 "Noto Arabic";
  color: var(--ink-700);
  position: relative;
}


/* Visible pricing chips in hero */
.hero-pricing {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-pricing .price-chip {
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 10px 14px 12px;
  min-width: 96px;
  box-shadow: var(--shadow-xs);
}
.hero-pricing .price-chip .chip-name {
  font: 700 12px/1 "DIN Arabic";
  color: var(--ink);
}
.hero-pricing .price-chip .chip-meta {
  font: 500 10px/1 "Noto Arabic";
  color: var(--ink-500);
  margin-top: 4px;
}
.hero-pricing .price-chip .chip-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
}
.hero-pricing .price-chip .chip-price .num {
  font: 700 22px/1 "DIN Arabic";
  color: var(--ink);
}
.hero-pricing .price-chip.featured {
  background: var(--ink);
  border-color: var(--ink);
}
.hero-pricing .price-chip.featured .chip-name,
.hero-pricing .price-chip.featured .chip-price .num { color: var(--white); }
.hero-pricing .price-chip.featured .chip-meta { color: rgba(255,255,255,.7); }

/* ═════════ Extras v2 — menu-style cards ═════════ */
.extras-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.extra-card {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.extra-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 100% 0%, color-mix(in oklab, var(--hero-blob) 22%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.extra-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  position: relative;
}
.extra-ico {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--wilow-blue);
  display: grid; place-items: center;
  flex: 0 0 72px;
}
.extra-ico.yellow { background: var(--wilow-yellow); }
.extra-title { font: 700 22px/1.2 "DIN Arabic"; color: var(--on-page); margin-bottom: 6px; }
.extra-sub { font: 500 13px/1.5 "Noto Arabic"; color: var(--on-page-muted); max-width: 280px; }
.extra-tag {
  background: var(--ink);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font: 700 11px/1 "DIN Arabic";
  white-space: nowrap;
  align-self: start;
}
.extra-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 6px;
  background: var(--section-alt-bg);
  border-radius: 14px;
  position: relative;
}
.extra-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px dashed var(--hairline);
}
.extra-row:last-child { border-bottom: 0; }
.extra-qty {
  font: 500 14px/1 "Noto Arabic";
  color: var(--on-page);
}
.extra-qty b { font: 700 17px/1 "DIN Arabic"; margin-inline-end: 2px; }
.extra-dots {
  border-bottom: 1.5px dotted rgba(0,0,0,.22);
  height: 10px;
  align-self: end;
  margin-bottom: 4px;
}
.extra-price {
  font: 700 17px/1 "DIN Arabic";
  color: var(--on-page);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.extra-price img { display: inline-block; }
.extra-save {
  font: 500 10px/1 "DIN Arabic";
  color: var(--wilow-orange);
  background: #FFE6D9;
  padding: 3px 7px;
  border-radius: 999px;
  margin-inline-start: 6px;
}
.extra-cta {
  align-self: flex-start;
  margin-top: 4px;
}
@media (max-width: 860px) {
  .extras-grid-v2 { grid-template-columns: 1fr; }
  .extra-card { padding: 24px; }
  .extra-head { grid-template-columns: auto 1fr; }
  .extra-tag { grid-column: 1 / -1; justify-self: start; }
}

/* palette swatch inside tweaks */
.palette-opts { flex-wrap: wrap; gap: 6px !important; }
.palette-opts button { display: inline-flex !important; align-items: center; gap: 6px; }
.palette-opts .sw {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 4px; border: 1px solid rgba(0,0,0,.15);
}

/* Plan card bg should follow palette */
.plan { background: var(--card-bg); }
.quote { background: var(--card-bg); }
.final-cta { background: var(--wilow-blue); }
.card { background: var(--card-bg); }

/* Hero pricing chips — use card-bg so they pop on blue/yellow palettes */
.hero-pricing .price-chip { background: var(--card-bg); border-color: var(--hairline); }
.sticky-cta {
  position: sticky;
  bottom: 0;
  background: var(--ink);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
}
.sticky-cta .sticky-left { font: 700 14px/1.2 "DIN Arabic"; color: var(--white); }
.sticky-cta .sticky-left small { display: block; font: 500 11px/1.4 "Noto Arabic"; color: rgba(255,255,255,.7); margin-top: 3px; }
.sticky-cta .sticky-btn {
  background: var(--wilow-orange);
  color: #000000; /* black on orange — 7.66:1 contrast, was white at 2.74:1 (WCAG fail) */
  border-radius: 8px;
  padding: 12px 18px;
  font: 700 13px/1 "DIN Arabic";
  text-decoration: none;
}

/* WhatsApp floater */
.wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.3);
  cursor: pointer;
  z-index: 45;
  text-decoration: none;
  transition: transform .2s var(--ease-out-soft);
}
.wa-fab:hover { transform: scale(1.08); }
html[dir="rtl"] .wa-fab { left: auto; right: 24px; }

/* ------- Viewport / mode toggles ------- */
.mode-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  background: var(--white);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 4px;
  z-index: 60;
  border: 1px solid var(--border-hairline);
}
.mode-toggle button {
  border: 0;
  background: transparent;
  color: var(--ink-500);
  font: 500 12px/1 var(--font-arabic);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.mode-toggle button.active { background: var(--ink); color: var(--white); }

/* ------- Mobile preview viewport (phone frame presenting full landing) ------- */
.phone-preview-stage {
  min-height: 100vh;
  background:
    radial-gradient(60% 50% at 50% 30%, var(--wilow-blue-soft) 0%, transparent 60%),
    var(--cream-2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 60px;
}

/* Mobile-scaled versions of layout grids (when inside phone-frame) */
.phone-frame .container { padding: 0 16px; max-width: 100%; }
.phone-frame .section { padding: 56px 0; }
.phone-frame .section.tight { padding: 40px 0; }
.phone-frame .nav { height: auto; }
.phone-frame .nav-inner { height: 60px; }
.phone-frame .nav-links { display: none; }
.phone-frame .hero { padding: 56px 0 48px; }
.phone-frame .hero-grid { grid-template-columns: 1fr; gap: 32px; }
.phone-frame .h-display { font-size: 38px; }
.phone-frame .h-xl { font-size: 28px; }
.phone-frame .h-lg { font-size: 22px; }
.phone-frame .hero-stage { height: 420px; }
.phone-frame .mini-phone { width: 210px; height: 430px; }
.phone-frame .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding: 28px 0; }
.phone-frame .trust-stat:nth-child(3) { border-left: 0; }
.phone-frame .steps { grid-template-columns: 1fr; gap: 14px; }
.phone-frame .wash-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.phone-frame .plans { grid-template-columns: 1fr; gap: 14px; }
.phone-frame .plan.featured { transform: none; }
.phone-frame .testimonials { grid-template-columns: 1fr; gap: 12px; }
.phone-frame .blog-grid { grid-template-columns: 1fr; gap: 14px; }
.phone-frame .final-cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; border-radius: 24px; }
.phone-frame .footer { padding: 40px 0 100px; }
.phone-frame .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.phone-frame .footer-bottom { flex-direction: column; align-items: flex-start; }
.phone-frame .neigh-grid { grid-template-columns: 1fr 1fr; }

/* Responsive (for actual desktop/mobile viewport when NOT wrapping in phone) */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-stat:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .wash-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile breakpoint (real viewport, not phone-frame) ───────────────────── */
@media (max-width: 768px) {
  /* 1. Nav — collapse links; logo + CTA button only */
  .nav-links { display: none; }

  /* 2. Hero — hide the illustration so h1/pricing/badges fill the screen */
  .hero-stage { display: none; }

  /* 3. WhatsApp FAB — lift it above the sticky download banner (~68px) */
  .wa-fab { bottom: 82px; }
}

/* Hide sticky cta on desktop view */
.desktop-view .sticky-cta { display: none; }

/* Toggle panel (Tweaks) */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
  width: 280px;
  z-index: 55;
  font-family: var(--font-arabic);
}
html[dir="rtl"] .tweaks-panel { right: auto; left: 20px; }
.tweaks-panel h5 { font: 700 13px/1 "DIN Arabic"; color: var(--ink); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .08em; }
.tweaks-panel .tweaks-row { margin-bottom: 16px; }
.tweaks-panel .tweaks-row:last-child { margin-bottom: 0; }
.tweaks-panel label { font: 500 12px/1 "Noto Arabic"; color: var(--ink-500); display: block; margin-bottom: 8px; }
.tweaks-panel .tweak-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks-panel .tweak-opts button {
  background: var(--cream-2);
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font: 500 12px/1 "DIN Arabic";
  color: var(--ink);
  cursor: pointer;
  flex: 1;
  min-width: 72px;
}
.tweaks-panel .tweak-opts button.active { background: var(--ink); color: var(--white); }

/* SEO annotation panel */
.seo-panel {
  position: fixed;
  top: 70px;
  right: 14px;
  width: 360px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--ink-900);
  color: #c7d5c7;
  border-radius: 14px;
  padding: 18px 20px;
  font: 400 11px/1.55 'SFMono-Regular', ui-monospace, Menlo, monospace;
  z-index: 55;
  box-shadow: var(--shadow-lg);
}
.seo-panel h5 { color: #F8F4EF; font: 700 12px/1 "DIN Arabic"; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.seo-panel h6 { color: var(--wilow-yellow); font: 700 11px/1 "DIN Arabic"; margin: 14px 0 6px; }
.seo-panel code { color: #F8F4EF; }
.seo-panel pre { margin: 0 0 6px; white-space: pre-wrap; word-break: break-word; }
.seo-panel .seo-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--wilow-orange); color: var(--white); font: 700 10px/1 "DIN Arabic"; margin-left: 6px; }

/* Dev annotation tags floating on page */
.seo-annot {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ink);
  color: var(--wilow-yellow);
  font: 700 9px/1 'SFMono-Regular', ui-monospace, Menlo, monospace;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: .05em;
  z-index: 10;
  pointer-events: none;
}
html[dir="rtl"] .seo-annot { right: auto; left: 12px; }

/* Duck decoration */
.duck-float {
  position: absolute;
  pointer-events: none;
  opacity: .9;
}

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease-out-soft), transform .6s var(--ease-out-soft);
  }
  [data-reveal].in {
    opacity: 1;
    transform: none;
  }
}
