/* =====================================================================
   azr3.app — the site stylesheet (v2, November 2026)

   Built from the app's own design constitution (docs/plan/01):
   1. One living element per screen.  2. Clay before glass.  3. Night first.
   The palette is the print kit's (roll-up, posters): cream, icon teal, Sadu.
   Logical properties everywhere, so RTL (Arabic) and LTR (English) share it.
   ===================================================================== */

/* ── Fonts (Thmanyah, licensed with the app) ───────────────────────── */
@font-face { font-family: "Thmanyah Serif"; font-weight: 900; font-display: swap;
  src: url("../fonts/ThmanyahSerif-Black.woff2") format("woff2"), url("../fonts/ThmanyahSerif-Black.ttf") format("truetype"); }
@font-face { font-family: "Thmanyah Serif"; font-weight: 700; font-display: swap;
  src: url("../fonts/ThmanyahSerif-Bold.woff2") format("woff2"), url("../fonts/ThmanyahSerif-Bold.ttf") format("truetype"); }
@font-face { font-family: "Thmanyah Sans"; font-weight: 300; font-display: swap;
  src: url("../fonts/ThmanyahSans-Light.woff2") format("woff2"), url("../fonts/ThmanyahSans-Light.ttf") format("truetype"); }
@font-face { font-family: "Thmanyah Sans"; font-weight: 400; font-display: swap;
  src: url("../fonts/ThmanyahSans-Regular.woff2") format("woff2"), url("../fonts/ThmanyahSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Thmanyah Sans"; font-weight: 500; font-display: swap;
  src: url("../fonts/ThmanyahSans-Medium.woff2") format("woff2"), url("../fonts/ThmanyahSans-Medium.ttf") format("truetype"); }
@font-face { font-family: "Thmanyah Sans"; font-weight: 700; font-display: swap;
  src: url("../fonts/ThmanyahSans-Bold.woff2") format("woff2"), url("../fonts/ThmanyahSans-Bold.ttf") format("truetype"); }
@font-face { font-family: "Thmanyah Sans"; font-weight: 900; font-display: swap;
  src: url("../fonts/ThmanyahSans-Black.woff2") format("woff2"), url("../fonts/ThmanyahSans-Black.ttf") format("truetype"); }

/* ── Tokens: «نهار الواحة» ─────────────────────────────────────────── */
:root {
  color-scheme: light;
  --canvas:    #FAF6EC;
  --canvas-2:  #F4EBD8;
  --sand:      #EEDFBD;
  --sand-2:    #E2CC9C;
  --surface:   #FFFFFF;
  --surface-2: #FBF7EE;
  --sunken:    #EFE7D2;
  --line:      rgba(32, 27, 18, .09);
  --line-2:    rgba(32, 27, 18, .15);
  --text:      #201B12;
  --text-2:    #57503F;
  --text-3:    #8A8270;

  --teal:      #42C1BF;   /* the icon's bloom */
  --teal-2:    #2FA8A2;
  --teal-3:    #2A938C;
  --teal-ink:  #1F6E68;
  --teal-deep: #16403D;
  --accent:    var(--teal-3);
  --accent-text: #1F6E68;
  --on-accent: #FFFFFF;
  --gold:      #B98E4A;
  --gold-soft: #F3E6C8;
  --growth:    #3E7C4F;
  --wilt:      #B3402F;

  --sadu-ground: #1E1A17;
  --sadu-red:    #A8352A;
  --sadu-wool:   #F0E6D6;

  --shadow-1: 0 1px 2px rgba(32, 27, 18, .05), 0 8px 24px rgba(32, 27, 18, .07);
  --shadow-2: 0 2px 6px rgba(32, 27, 18, .06), 0 24px 60px -18px rgba(22, 64, 61, .30);
  --shadow-phone: 0 40px 80px -30px rgba(22, 46, 44, .55), 0 18px 36px -18px rgba(22, 46, 44, .35);

  --serif: "Thmanyah Serif", "Thmanyah Sans", Georgia, serif;
  --sans:  "Thmanyah Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --header-h: 68px;
  --radius-s: 12px;
  --radius:   20px;
  --radius-l: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);

  /* hero sky (overridden per phase) */
  --sky-1: #CFE5EC;
  --sky-2: #F6F0E2;
  --sun-c: #FFE7A6;
  --sun-glow: rgba(255, 214, 128, .55);
  --dune-1: #EADBB7;
  --dune-2: #DEC896;
  --hero-text: var(--text);
}

/* ── Tokens: «ليل الواحة» (night first: every block is checked here too) ── */
:root[data-theme="night"] {
  color-scheme: dark;
  --canvas:    #0C1F1E;
  --canvas-2:  #10292A;
  --sand:      #1A3533;
  --sand-2:    #24423F;
  --surface:   #132B2A;
  --surface-2: #163230;
  --sunken:    #0A1A19;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);
  --text:      #F3EDDF;
  --text-2:    #C9C1AD;
  --text-3:    #8E9A93;
  --accent:    #4FCFC8;
  --accent-text: #7EDDD6;
  --on-accent: #0C1F1E;
  --gold:      #D9B36A;
  --gold-soft: #2E3B2C;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(0, 0, 0, .25);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 70px -20px rgba(0, 0, 0, .6);
  --shadow-phone: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  --hero-text: #F3EDDF;
}

/* sky phases — set on <html data-phase> by the honest-sky script */
:root[data-phase="dawn"]   { --sky-1: #F2C6B4; --sky-2: #FBE9DA; --sun-c: #FFD3A8; --sun-glow: rgba(255, 186, 140, .5);  --dune-1: #EBD3B6; --dune-2: #DDBB95; }
:root[data-phase="day"]    { --sky-1: #CDE4EC; --sky-2: #F7F1E3; --sun-c: #FFE9A8; --sun-glow: rgba(255, 220, 130, .55); --dune-1: #EADBB7; --dune-2: #DEC896; }
:root[data-phase="golden"] { --sky-1: #F7C580; --sky-2: #FCEBCB; --sun-c: #FFD27A; --sun-glow: rgba(255, 190, 90, .6);   --dune-1: #EFD3A2; --dune-2: #E2BB7E; }
:root[data-phase="dusk"]   { --sky-1: #7D6FB3; --sky-2: #E9A79B; --sun-c: #FF9C7A; --sun-glow: rgba(255, 140, 110, .55); --dune-1: #C99A86; --dune-2: #A8766B; --hero-text: #FFF8EE; }
:root[data-phase="night"]  { --sky-1: #081A2A; --sky-2: #123A44; --sun-c: #F6EBCF; --sun-glow: rgba(246, 235, 207, .28); --dune-1: #0F2F2D; --dune-2: #0B2523; --hero-text: #F3EDDF; }

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
:lang(en) body, body:lang(en) { line-height: 1.6; }
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(66, 193, 191, .3); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--canvas); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.num { font-feature-settings: "tnum" 1; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 18px; height: 18px; background: url("../img/bloom.svg") center / contain no-repeat; }
:root[data-theme="night"] .eyebrow::before { filter: brightness(1.15); }
.h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  line-height: 1.28; letter-spacing: 0;
  margin-top: 10px; text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--text-2); margin-top: 14px; max-width: 40ch; text-wrap: pretty; }
.head { display: grid; justify-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { justify-items: center; text-align: center; }
.head--center .lead { margin-inline: auto; }
.teal { color: var(--teal-2); }
:root[data-theme="night"] .teal { color: var(--teal); }

/* ── Sadu band (the print kit's signature) ─────────────────────────── */
.sadu {
  height: 12px; width: 100%;
  background: url("../img/sadu.svg") 0 0 / auto 100% repeat-x;
  flex: none;
}
.sadu--thin { height: 8px; }
.sadu--thick { height: 18px; }

/* ── Buttons & chips ───────────────────────────────────────────────── */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 17px; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }
.btn--store { background: var(--text); color: var(--canvas); box-shadow: 0 10px 24px -10px rgba(32, 27, 18, .55); }
.btn--store:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(32, 27, 18, .6); }
.btn--store .btn__small { display: block; font-size: 11px; font-weight: 500; opacity: .75; margin-bottom: 3px; }
.btn--store .btn__big { display: block; font-size: 18px; font-weight: 700; }
.btn--store .btn__stack { display: grid; text-align: start; line-height: 1.05; }
.btn--teal { background: var(--teal-3); color: #fff; box-shadow: 0 10px 24px -12px rgba(42, 147, 140, .8); }
.btn--teal:hover { background: var(--teal-ink); transform: translateY(-2px); }
:root[data-theme="night"] .btn--teal { background: var(--teal); color: #0C1F1E; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text-3); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { --h: 60px; padding: 0 28px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 14px; border-radius: 999px;
  background: rgba(66, 193, 191, .14); color: var(--teal-ink);
  font-weight: 700; font-size: 15px;
}
:root[data-theme="night"] .pill { background: rgba(66, 193, 191, .16); color: var(--teal); }

.rating { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }
.rating__stars { display: inline-flex; gap: 2px; color: #E0A83A; }
.rating__stars svg { width: 15px; height: 15px; }
.rating b { color: var(--text); font-weight: 700; font-size: 16px; }

/* QR card — for the booth: a phone can scan the laptop screen */
.qr-card {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px; padding-inline-end: 22px;
  background: var(--surface); border-radius: 22px;
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.qr-card__code { width: 104px; height: 104px; border-radius: 14px; background: #fff; padding: 4px; flex: none; }
.qr-card__code img { width: 100%; height: 100%; }
.qr-card__text { font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.35; }
.qr-card__text span { display: block; }
.qr-card__text span + span { color: var(--teal-2); }
:root[data-theme="night"] .qr-card__text span + span { color: var(--teal); }
.qr-card__sub { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ── Header ────────────────────────────────────────────────────────── */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-header {
  height: var(--header-h);
  background: color-mix(in srgb, var(--canvas) 0%, transparent);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-top[data-solid="true"] .site-header {
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__icon { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 2px 6px rgba(22, 64, 61, .18); }
.brand__name { font-family: var(--serif); font-weight: 900; font-size: 23px; line-height: 1; color: var(--teal-2); letter-spacing: 0; padding-top: 3px; }
:root[data-theme="night"] .brand__name { color: var(--teal); }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 16px; color: var(--text-2); transition: color .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  color: var(--text-2); transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.icon-btn svg { width: 21px; height: 21px; }
.theme-btn .i-moon { display: none; }
:root[data-theme="night"] .theme-btn .i-sun { display: none; }
:root[data-theme="night"] .theme-btn .i-moon { display: block; }
.lang-link { font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; color: var(--text-2); }
.lang-link:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.menu-btn { display: none; }
.menu-btn { position: relative; }
.menu-btn span { position: absolute; left: 11px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 13px; } .menu-btn span:nth-child(2) { top: 20px; } .menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: calc(var(--header-h) + 8px) 0 auto 0; z-index: 49;
  margin-inline: 12px; padding: 10px; border-radius: 22px;
  background: var(--surface); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: 18px; }
.mobile-menu a:hover { background: var(--canvas-2); }
.mobile-menu .btn { width: 100%; margin-top: 6px; }

@media (max-width: 980px) {
  .nav, .header-actions .lang-link, .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-inline-start: auto; }
}

/* ── Phone frame (CSS-drawn, same recipe as the App Store set) ─────── */
/* Wrap: the frame measures itself in cqw, so it scales anywhere. */
.phone { container-type: inline-size; position: relative; width: var(--pw, 280px); flex: none; }
.phone__screen {
  position: relative; isolation: isolate;
  width: calc(100% - 6.8cqw); margin: .6cqw; aspect-ratio: 1206 / 2622; overflow: hidden;
  border: 2.8cqw solid #0b0c0d; border-radius: 15.9cqw;
  background: #F7F2E6;
  box-shadow: 0 0 0 .35cqw #3b3f43, 0 0 0 .6cqw #17191b, var(--shadow-phone);
}
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 13.1cqw; }
.phone__screen::after { /* dynamic island */
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: 2.6cqw; width: 28cqw; height: 8.2cqw; border-radius: 999px; background: #000;
}

/* ── The living oasis island (same grid as the app: 5×5, 2:1 iso) ──── */
.scene { position: relative; width: 100%; aspect-ratio: 1500 / 1510; }
.scene__ground, .scene__item, .scene__phone { position: absolute; }
.scene__ground { left: 0; width: 100%; top: 27.15%; }
.scene__item { will-change: transform; transform-origin: 50% 87.5%; }
.scene__phone { z-index: 0; }
.scene__phone .phone { --pw: 100%; }
.scene__shadow {
  position: absolute; left: 12%; right: 12%; top: 90%; height: 6%;
  background: radial-gradient(closest-side, rgba(40, 30, 10, .28), transparent);
  filter: blur(6px);
}
:root[data-theme="night"] .scene__shadow { background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); }

/* entrance: the island assembles itself, one plant at a time */
.js .scene .scene__ground { opacity: 0; transform: translateY(5%); }
.js .scene .scene__item { opacity: 0; transform: scale(.2); }
.js .scene .scene__phone { opacity: 0; transform: translateY(8%); }
.js .scene.is-in .scene__ground { animation: ground-in .9s var(--ease) forwards; }
.js .scene.is-in .scene__item { animation: plant-in .75s var(--spring) forwards; animation-delay: calc(450ms + var(--i) * 95ms); }
.js .scene.is-in .scene__phone { animation: phone-in 1.1s var(--ease) .25s forwards; }
@keyframes ground-in { to { opacity: 1; transform: none; } }
@keyframes plant-in { 0% { opacity: 0; transform: scale(.2); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes phone-in { to { opacity: 1; transform: none; } }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: clip; isolation: isolate; color: var(--hero-text); }
.hero__inner { position: relative; z-index: 2; display: grid; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero__text { display: grid; justify-items: start; }
.hero__title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2.65rem, 1.55rem + 4.4vw, 5.6rem);
  line-height: 1.22; letter-spacing: 0; margin-top: 18px;
}
.hero__title span { display: block; }
.hero__title .l2 { color: var(--teal-2); }
:root[data-theme="night"] .hero__title .l2, :root[data-phase="dusk"] .hero__title .l2 { color: var(--teal); }
.hero__sub { font-size: clamp(1.08rem, 1rem + .45vw, 1.35rem); color: inherit; opacity: .78; margin-top: 18px; max-width: 34ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero__qr { margin-top: 28px; }
.hero__visual { position: relative; }
.hero .rating { color: inherit; opacity: .9; }
.hero .rating b { color: inherit; }

:lang(en) .hero__title, .hero__title:lang(en) { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.7rem); line-height: 1.06; letter-spacing: -.01em; }
:lang(en) .h2 { line-height: 1.12; letter-spacing: -.01em; }
:lang(en) .xs__title { line-height: 1.08; }

/* sky layers (variants B and C) */
.sky { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 78%); transition: background .8s; }
.sky__sun {
  position: absolute; width: clamp(70px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #fffbea 0%, var(--sun-c) 58%, color-mix(in srgb, var(--sun-c) 80%, #f0a050) 100%);
  box-shadow: 0 0 60px 24px var(--sun-glow), 0 0 160px 60px color-mix(in srgb, var(--sun-glow) 50%, transparent);
  inset-inline-end: 9%; top: 15%;
}
:root[data-phase="night"] .sky__sun { /* the moon */
  background: radial-gradient(circle at 38% 36%, #fffdf3 0%, #f3e8c9 60%, #e0d2ad 100%);
}
.sky__stars { position: absolute; inset: 0 0 35% 0; opacity: 0; transition: opacity 1s; background-image:
  radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 12%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 41% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 57% 9%, #fff 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 66% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 79% 16%, #fff 50%, transparent 51%),
  radial-gradient(1.3px 1.3px at 88% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 35% 44%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 50% 20%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 93% 8%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 20% 52%, #fff 50%, transparent 51%); }
:root[data-phase="night"] .sky__stars { opacity: .85; }
.dunes { position: absolute; inset: auto 0 0 0; height: 34%; z-index: 1; pointer-events: none; }
.dunes svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }
.dunes .d1 { fill: var(--dune-1); transition: fill .8s; }
.dunes .d2 { fill: var(--dune-2); transition: fill .8s; }

/* Variant A — «سدو»: cream, Sadu, split (the roll-up, alive) */
.hero--a { background: radial-gradient(120% 90% at 70% 35%, #FFFBF2 0%, var(--canvas) 45%, var(--canvas-2) 100%); color: var(--text); }
:root[data-theme="night"] .hero--a { background: radial-gradient(120% 90% at 30% 30%, #17403D 0%, #0F2F2D 45%, #0B2321 100%); }
.hero--a .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: calc(100svh - var(--header-h) - 12px); padding-block: 32px 56px; }
.hero--a .hero__visual { max-width: 640px; justify-self: center; width: 100%; }
.hero--a .sadu { position: absolute; inset: auto 0 0 0; }

/* Variant B — «سماء صادقة»: the sky follows the real time */
.hero--b { color: var(--hero-text); margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero--b .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: 100svh; padding-block: 24px 40px; }
.hero--b .hero__visual { max-width: 640px; justify-self: center; width: 100%; }

/* Variant C — «العالم أولًا»: centred stack, the island takes the stage */
.hero--c { margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero--c .hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: 28px 0; gap: 8px; }
.hero--c .hero__text { justify-items: center; }
.hero--c .hero__title { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero--c .hero__title span { display: inline; }
.hero--c .hero__sub { margin-inline: auto; }
.hero--c .hero__cta { justify-content: center; }
.hero--c .hero__qr { display: none; }
.hero--c .hero__visual { width: min(760px, 100%); margin-top: 10px; }
.hero--c .qr-float { position: absolute; z-index: 3; inset-inline-start: var(--gutter); bottom: 40px; }

@media (max-width: 980px) {
  .hero--a .hero__inner, .hero--b .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 24px 48px; }
  .hero__visual { max-width: 560px !important; justify-self: center; width: 100%; }
  .qr-float { display: none !important; }
}
@media (max-width: 600px) { .hero__qr { display: none !important; } }
@media (max-width: 560px) {
  .hero__cta { gap: 14px; }
  .hero__cta .btn { width: 100%; }
}
/* the QR only makes sense when the screen is not the phone in your hand */
@media (hover: none) and (max-width: 600px) { .hero__qr, .qr-float { display: none !important; } }

/* ?still — freezes every entrance (for screenshots and the OG card) */
.still .scene__ground, .still .scene__item, .still .scene__phone, .still .rv { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }

/* ── Reveal on scroll (response to action only) ────────────────────── */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .scene .scene__ground, .js .scene .scene__item, .js .scene .scene__phone, .js .rv { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   Home sections (winner: «سدو». Grafts: honest sky → night theme in the
   evening; the centred stack → the final download band)
   ===================================================================== */

/* ── Steps ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.step {
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius-l);
  background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.step__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(66, 193, 191, .14); color: var(--teal-ink); margin-bottom: 20px; position: relative;
}
:root[data-theme="night"] .step__icon { color: var(--teal); background: rgba(66, 193, 191, .12); }
.step__icon svg { width: 30px; height: 30px; }
.step__num {
  position: absolute; top: -8px; inset-inline-end: -8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-3); color: #fff; font-weight: 900; font-size: 14px;
  box-shadow: 0 0 0 3px var(--surface);
}
.step h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); line-height: 1.35; }
.step p { color: var(--text-2); margin-top: 8px; font-size: 17px; }


/* ── Demo: a tiny session ──────────────────────────────────────────── */
.demo { background: linear-gradient(180deg, transparent, var(--canvas-2) 18%, var(--canvas-2) 82%, transparent); }
.demo__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "text card" "controls card"; column-gap: clamp(28px, 5vw, 72px); row-gap: 0; align-items: center; }
.demo__text { grid-area: text; align-self: end; }
.demo__controls { grid-area: controls; align-self: start; }
.session-card { grid-area: card; }
.demo__pick { margin-top: 28px; }
.demo__pick-label { font-weight: 700; font-size: 15px; color: var(--text-3); margin-bottom: 12px; }
.saplings { display: flex; flex-wrap: wrap; gap: 10px; }
.sapling {
  display: grid; grid-template-columns: 44px auto; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 18px; background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line); text-align: start; transition: box-shadow .2s, transform .2s;
}
.sapling img { width: 44px; height: 44px; object-fit: contain; }
.sapling b { display: block; font-size: 16px; line-height: 1.3; }
.sapling small { display: block; font-size: 13px; color: var(--text-3); line-height: 1.3; }
.sapling[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--teal-3), 0 6px 18px -8px rgba(42, 147, 140, .5); }
.sapling:hover { transform: translateY(-1px); }
.sapling:disabled { opacity: .5; cursor: default; transform: none; }
.demo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.demo__note { font-size: 14px; color: var(--text-3); margin-top: 14px; }

.session-card {
  position: relative; border-radius: 36px; padding: clamp(22px, 3vw, 34px);
  background: var(--surface); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  display: grid; justify-items: center; text-align: center; overflow: hidden;
}
.session-card__top { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.live-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text-2); }
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.session-card[data-state="running"] .live-chip i { background: #3FAE6A; box-shadow: 0 0 0 0 rgba(63, 174, 106, .5); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63, 174, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 174, 106, 0); } }
.ring { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin-top: 14px; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
:root[dir="rtl"] .ring svg { transform: rotate(-90deg) scaleY(-1); }
.ring__track { fill: none; stroke: var(--sunken); stroke-width: 7; }
.ring__bar { fill: none; stroke: url(#ringGrad); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.ring__plant {
  position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1;
  transform: translate(-50%, -54%) scale(var(--grow, .45)); transform-origin: 50% 85%;
  transition: transform .4s var(--ease), filter .8s var(--ease);
}
.ring__plant img { width: 100%; height: 100%; object-fit: contain; }
.ring__soil { position: absolute; left: 50%; top: 66%; width: 30%; height: 7%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 58, 34, .35), transparent); }
.session-card[data-state="wilted"] .ring__plant { filter: grayscale(.85) sepia(.45) brightness(.9); transform: translate(-50%, -54%) scale(var(--grow, .6)) rotate(-9deg); }
.session-card[data-state="done"] .ring__plant { animation: bloom .9s var(--spring); }
@keyframes bloom { 0% { transform: translate(-50%, -54%) scale(.9); } 55% { transform: translate(-50%, -54%) scale(1.08); } 100% { transform: translate(-50%, -54%) scale(1); } }
.timer { font-family: var(--serif); font-weight: 900; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); line-height: 1.1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.session-card__meta { color: var(--text-2); font-size: 15px; margin-top: 2px; }
.session-card__msg { min-height: 56px; margin-top: 12px; }
.session-card__msg b { display: block; font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.35; }
.session-card__msg span { display: block; color: var(--text-2); font-size: 15px; }
.session-card[data-state="wilted"] .session-card__msg b { color: var(--wilt); }
:root[data-theme="night"] .session-card[data-state="wilted"] .session-card__msg b { color: #E07B66; }
.session-card[data-state="done"] .session-card__msg b { color: var(--growth); }
:root[data-theme="night"] .session-card[data-state="done"] .session-card__msg b { color: #7FB98A; }
.drop { position: absolute; left: 50%; top: 12%; width: 18px; height: 24px; margin-left: -9px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #5BB8E8; opacity: 0; }
.session-card.is-watering .drop { animation: drop 1s var(--ease) forwards; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-20px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(130px) scale(.6); } }
.mini-oasis { margin-top: 18px; width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--canvas-2); min-height: 72px; }
.mini-oasis__label { font-size: 14px; font-weight: 700; color: var(--text-2); flex: none; }
.mini-oasis__row { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-oasis__row img { width: 44px; height: 44px; object-fit: contain; animation: plant-in .6s var(--spring); }
.mini-oasis__empty { font-size: 14px; color: var(--text-3); }
@media (max-width: 900px) { .demo__grid { grid-template-columns: 1fr; grid-template-areas: "text" "card" "controls"; row-gap: 24px; } .demo__pick { margin-top: 0; } }

/* ── Feature tour: a sticky phone that changes screens ─────────────── */
.tour__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.tour__list { display: grid; }
.feat { min-height: 76vh; display: grid; align-content: center; padding-block: 24px; }
.feat:first-child { min-height: 60vh; align-content: start; padding-top: 6vh; }
.feat__tag { display: inline-flex; align-self: start; justify-self: start; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--canvas-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.feat h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(2rem, 1.4rem + 2.3vw, 3.2rem); line-height: 1.3; margin-top: 14px; text-wrap: balance; }
.feat p { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--text-2); margin-top: 12px; max-width: 30ch; text-wrap: pretty; }
.feat__phone { display: none; }
.feat { transition: opacity .5s var(--ease); }
.js .tour--live .feat { opacity: .28; }
.js .tour--live .feat.is-active { opacity: 1; }
.tour__stage { position: sticky; top: calc(var(--header-h) + 4vh); height: calc(92vh - var(--header-h)); display: grid; place-items: center; }
.tour__blob { position: absolute; width: min(520px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--blob, rgba(66, 193, 191, .22)), transparent 72%); transition: background .8s var(--ease); }
.tour__stage[data-tone="day"]    { --blob: rgba(66, 193, 191, .22); }
.tour__stage[data-tone="dusk"]   { --blob: rgba(124, 104, 190, .38); }
.tour__stage[data-tone="golden"] { --blob: rgba(242, 184, 92, .38); }
.tour__stage[data-tone="teal"]   { --blob: rgba(66, 193, 191, .34); }
.tour__stage[data-tone="night"]  { --blob: rgba(36, 66, 110, .5); }
.tour__phone { position: relative; --pw: min(330px, 26vw, calc((92vh - var(--header-h)) * .46)); }
.tour__phone .phone__screen > img, .tour__phone .phone__screen > .mock { opacity: 0; transition: opacity .55s var(--ease); }
.tour__phone .phone__screen > .is-on { opacity: 1; }
@media (max-width: 980px) {
  .tour__grid { grid-template-columns: 1fr; }
  .tour__stage { display: none; }
  .feat, .feat:first-child { min-height: 0; padding: 0; align-content: start; }
  .tour__list { gap: 56px; }
  .js .tour--live .feat { opacity: 1; }
  .feat { grid-template-columns: 1fr; }
  .feat__phone { display: grid; place-items: center; margin-top: 26px; position: relative; padding-block: 18px; }
  .feat__phone::before { content: ""; position: absolute; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--blob, rgba(66, 193, 191, .22)), transparent 72%); }
  .feat__phone .phone { --pw: min(270px, 68vw); }
  .feat[data-tone="dusk"] { --blob: rgba(124, 104, 190, .3); } .feat[data-tone="golden"] { --blob: rgba(242, 184, 92, .32); }
  .feat[data-tone="teal"] { --blob: rgba(66, 193, 191, .3); } .feat[data-tone="night"] { --blob: rgba(36, 66, 110, .45); }
}
.more { margin-top: clamp(40px, 6vw, 72px); padding: 26px; border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.more h3 { font-family: var(--serif); font-weight: 900; font-size: 22px; }
.more ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.more li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--canvas-2); font-weight: 500; font-size: 15px; }
.more li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); }

/* rooms mock — drawn in HTML (rooms need a live server, so no simulator capture exists) */
.mock { position: absolute; inset: 0; background: #F7F2E6; color: #201B12; font-family: var(--sans); direction: rtl; padding: 13cqw 5cqw 5cqw; display: grid; align-content: start; gap: 3.2cqw; }
.mock:lang(en) { direction: ltr; }
.mock__status { position: absolute; top: 3.4cqw; inset-inline: 8cqw; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 3.6cqw; direction: ltr; }
.mock__status svg { width: 4.4cqw; height: auto; }
.mock__x svg { width: 3.4cqw; height: 3.4cqw; }
.mock__bar { display: flex; align-items: center; justify-content: space-between; }
.mock__title { font-weight: 900; font-size: 5.2cqw; }
.mock__x { width: 8cqw; height: 8cqw; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 4cqw; color: #57503F; box-shadow: 0 .4cqw 1.4cqw rgba(0,0,0,.06); }
.mock__card { background: #fff; border-radius: 6cqw; padding: 5cqw; display: grid; justify-items: center; box-shadow: 0 .6cqw 2cqw rgba(32, 27, 18, .06); }
.mock__chip { justify-self: start; font-size: 3.2cqw; font-weight: 700; color: #57503F; background: #F3ECDB; border-radius: 99cqw; padding: .8cqw 3cqw; }
.mock__ring { width: 44cqw; aspect-ratio: 1; border-radius: 50%; margin-top: 2cqw; display: grid; place-items: center;
  background: conic-gradient(#2F6B4A 0 63%, #E8E1CF 63% 100%); position: relative; }
.mock__ring::before { content: ""; position: absolute; inset: 1.8cqw; border-radius: 50%; background: #fff; }
.mock__ring img { position: relative; width: 62%; }
.mock__time { font-family: var(--serif); font-weight: 900; font-size: 9cqw; line-height: 1.1; margin-top: 2cqw; }
.mock__tree { font-size: 3.4cqw; font-weight: 700; color: #2F6B4A; }
.mock__count { font-size: 3.6cqw; font-weight: 700; color: #57503F; padding-inline: 1cqw; }
.mock__list { background: #fff; border-radius: 5cqw; padding: 1cqw 4cqw; box-shadow: 0 .6cqw 2cqw rgba(32, 27, 18, .06); }
.mock__row { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 0; }
.mock__row + .mock__row { border-top: 1px solid rgba(32, 27, 18, .07); }
.mock__av { width: 8.4cqw; height: 8.4cqw; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 3.8cqw; flex: none; }
.mock__name { font-weight: 700; font-size: 3.8cqw; flex: 1; }
.mock__st { font-size: 3.1cqw; font-weight: 700; padding: .7cqw 2.4cqw; border-radius: 99cqw; }
.mock__st--on { background: #E5F2E8; color: #2F6B4A; }
.mock__st--pray { background: #EAE6F6; color: #4E4590; }
.mock__st--done { background: #FBF0D9; color: #8A5A1B; }

/* ── Landmarks parade ──────────────────────────────────────────────── */
.landmarks { overflow: hidden; }
.parade { --gap: clamp(18px, 2.4vw, 34px); display: grid; gap: 18px; margin-top: 8px; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.parade__row { display: flex; width: max-content; gap: var(--gap); animation: parade var(--dur, 70s) linear infinite; }
.parade__row--rev { animation-direction: reverse; }
.parade:hover .parade__row { animation-play-state: paused; }
:root[dir="rtl"] .parade__row { animation-name: parade-rtl; }
@keyframes parade { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@keyframes parade-rtl { to { transform: translateX(calc(50% + var(--gap) / 2)); } }
.lm { display: grid; justify-items: center; align-content: end; gap: 8px; width: clamp(120px, 12vw, 168px); }
.lm__art { height: clamp(130px, 13vw, 190px); display: flex; align-items: flex-end; justify-content: center; }
.lm__art img { max-height: 100%; width: auto; filter: drop-shadow(0 8px 10px rgba(60, 40, 10, .12)); }
.lm span { font-weight: 700; font-size: 14px; color: var(--text-2); text-align: center; line-height: 1.4; }
.parade__row--sweets .lm { width: clamp(100px, 9vw, 130px); }
.parade__row--sweets .lm__art { height: clamp(80px, 8vw, 104px); }
.landmarks__sweets-label { text-align: center; font-family: var(--serif); font-weight: 900; font-size: 22px; margin-top: 30px; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .parade { mask-image: none; -webkit-mask-image: none; overflow-x: auto; } .parade__row { animation: none; } }

/* ── Numbers ───────────────────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.number { padding: 26px 22px; border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.number b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(2.6rem, 2rem + 2.2vw, 3.8rem); line-height: 1.05; color: var(--teal-2); }
:root[data-theme="night"] .number b { color: var(--teal); }
.number span { display: block; margin-top: 8px; font-weight: 500; color: var(--text-2); font-size: 16px; }
.number .rating__stars { display: inline-flex; margin-top: 10px; }
.number .rating__stars svg { display: inline-block; }
@media (max-width: 700px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Promise ───────────────────────────────────────────────────────── */
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.promise li { padding: 24px 22px; border-radius: var(--radius-l); background: var(--canvas-2); }
.promise svg { width: 30px; height: 30px; color: var(--teal-3); }
:root[data-theme="night"] .promise svg { color: var(--teal); }
.promise b { display: block; font-family: var(--serif); font-weight: 900; font-size: 21px; margin-top: 14px; line-height: 1.35; }
.promise span { display: block; color: var(--text-2); font-size: 15px; margin-top: 4px; }
@media (max-width: 900px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .promise { grid-template-columns: 1fr; } }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--canvas-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A938C' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--text-2); max-width: 70ch; }
.faq__more { display: flex; justify-content: center; margin-top: 26px; }

/* ── The download band (graft from «العالم أولًا»: centred, QR first) ── */
.get { position: relative; overflow: hidden; isolation: isolate; color: #F3EDDF; background: linear-gradient(180deg, #0B2321 0%, #0F2F2D 55%, #123A37 100%); text-align: center; }
.get .wrap { position: relative; z-index: 2; display: grid; justify-items: center; }
.get__moon { position: absolute; z-index: 0; width: 110px; aspect-ratio: 1; border-radius: 50%; top: 12%; inset-inline-start: 12%;
  background: radial-gradient(circle at 38% 36%, #fffdf3 0%, #f3e8c9 60%, #e0d2ad 100%); box-shadow: 0 0 70px 24px rgba(246, 235, 207, .18); }
.get__stars { position: absolute; inset: 0 0 40% 0; z-index: 0; opacity: .7; background-image:
  radial-gradient(1.4px 1.4px at 18% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 33% 16%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 52% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 66% 12%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 78% 32%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 18%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 8% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 93% 50%, #fff 50%, transparent 51%); }
.get .dunes { height: 26%; }
.get .dunes .d1 { fill: #12403C; } .get .dunes .d2 { fill: #0D302D; }
.get__qr { width: clamp(180px, 22vw, 240px); aspect-ratio: 1; padding: 10px; background: #fff; border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.get__qr img { width: 100%; height: 100%; }
.get__title { font-family: var(--serif); font-weight: 900; font-size: clamp(2.4rem, 1.7rem + 3vw, 4.4rem); line-height: 1.25; margin-top: 30px; }
.get__title span { display: block; }
.get__title span + span { color: var(--teal); }
.get__sub { color: #C9C1AD; margin-top: 10px; font-size: 18px; }
.get .btn--store { background: #F3EDDF; color: #0C1F1E; margin-top: 26px; }
.get .rating { color: #E6DFCF; margin-top: 18px; }
.get .rating b { color: #fff; }
.find { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; font-size: 15px; color: #C9C1AD; }
.find code { font-family: ui-monospace, Menlo, monospace; font-weight: 800; letter-spacing: .06em; padding: 2px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; direction: ltr; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 30px; padding-bottom: clamp(60px, 9vw, 110px); }
.contact-row a { display: inline-flex; align-items: center; gap: 8px; color: #E6DFCF; font-weight: 700; font-size: 15px; }
.contact-row a:hover { color: #fff; }
.contact-row svg { width: 20px; height: 20px; }
@media (hover: none) and (max-width: 600px) { .get__qr { display: none; } .get__title { margin-top: 0; } }
@media (max-width: 700px) { .get__moon { width: 58px; top: 22px; inset-inline-start: auto; inset-inline-end: 22px; box-shadow: 0 0 40px 14px rgba(246, 235, 207, .16); } }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { background: var(--canvas-2); color: var(--text-2); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-block: 48px 30px; }
.site-footer h2 { font-family: var(--sans); font-weight: 700; font-size: 14px; color: var(--text-3); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a:hover { color: var(--text); }
.site-footer__brand p { margin-top: 12px; max-width: 30ch; }
.site-footer__made { font-weight: 700; color: var(--text-3); font-size: 14px; }
.social { display: flex !important; gap: 8px !important; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.social svg { width: 19px; height: 19px; }
.site-footer__handle { margin-top: 10px; font-weight: 700; font-size: 14px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ── Steps: growth art (sapling → growing → a small oasis) ─────────── */
.step { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.step__art { position: relative; height: 190px; background: var(--canvas-2); display: grid; place-items: end center; overflow: hidden; }
.step__art--pick img { width: auto; height: 118px; margin-bottom: 26px; filter: drop-shadow(0 10px 10px rgba(60, 40, 10, .14)); }
.step__chip { position: absolute; top: 22px; inset-inline-start: 22px; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-1); }
.step__art--ring { place-items: center; }
.step__ring { position: relative; width: 150px; aspect-ratio: 1; display: grid; place-items: center; background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-1); }
.step__ring svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); }
:root[dir="rtl"] .step__ring svg { transform: rotate(-90deg) scaleY(-1); }
.step__ring .t { fill: none; stroke: var(--sunken); stroke-width: 6; }
.step__ring .b { fill: none; stroke: #2F6B4A; stroke-width: 6; stroke-linecap: round; }
:root[data-theme="night"] .step__ring .b { stroke: var(--teal); }
.step__ring img { width: 60%; height: auto; transform: translateY(-4%); }
.step__lock { position: absolute; top: 22px; inset-inline-end: 22px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--teal-ink); box-shadow: var(--shadow-1); }
:root[data-theme="night"] .step__lock { color: var(--teal); }
.step__lock svg { width: 20px; height: 20px; }
.step__art--oasis { place-items: center; }
.step__art--oasis .scene { width: 250px; margin-top: 4px; }
.step__body { position: relative; padding: 26px 26px 30px; }
.step__body .step__num { position: absolute; top: -18px; inset-inline-start: 24px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-3); color: #fff; font-weight: 900; font-size: 16px; box-shadow: 0 0 0 4px var(--surface); }
:root[data-theme="night"] .step__body .step__num { background: var(--teal); color: #0C1F1E; }
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 132px 1fr; grid-template-rows: auto; padding: 0; }
  .step__art { height: 100%; min-height: 150px; }
  .step__art--pick img { height: 84px; margin-bottom: 18px; }
  .step__chip, .step__lock { display: none; }
  .step__ring { width: 104px; }
  .step__art--oasis .scene { width: 140px; }
  .step__body { padding: 22px 20px; align-self: center; }
  .step__body .step__num { position: static; margin-bottom: 8px; width: 30px; height: 30px; font-size: 14px; box-shadow: none; }
}
.scene.mini .scene__item { animation-delay: calc(200ms + var(--i) * 120ms) !important; }

/* ── Inner pages ───────────────────────────────────────────────────── */
.page-head { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--canvas-2), var(--canvas)); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.page-head .lead { max-width: 60ch; }
.page-head__small { color: var(--text-3); font-size: 14px; margin-top: 12px; }
.page-head__bloom { position: absolute; z-index: 0; width: clamp(160px, 22vw, 300px); height: auto; inset-inline-end: -40px; top: 50%; transform: translateY(-50%) rotate(12deg); opacity: .12; }
.help-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; max-width: 860px; margin: 40px auto 0; padding: 26px 28px; border-radius: var(--radius-l); background: var(--canvas-2); }
.help-card h2 { font-family: var(--serif); font-weight: 900; font-size: 24px; }
.help-card p { color: var(--text-2); }
.help-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 15px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--canvas);
  border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-3); box-shadow: 0 0 0 4px rgba(66, 193, 191, .18); }
.honeypot { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.form-feedback { font-weight: 700; min-height: 1.5em; }
.form-feedback[data-state="success"] { color: var(--growth); }
.form-feedback[data-state="error"] { color: var(--wilt); }
.contact-side { display: grid; gap: 16px; }
.contact-side__card { padding: 26px; border-radius: var(--radius-l); background: var(--canvas-2); }
.contact-side__card h2 { font-weight: 700; font-size: 15px; color: var(--text-3); font-family: var(--sans); }
.contact-side__mail { display: inline-block; font-weight: 900; font-size: 22px; margin: 6px 0 16px; color: var(--accent-text); }
.contact-side__handle { margin-top: 10px; font-weight: 700; color: var(--text-2); }
.contact-side__qr { justify-self: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } }

.prose { max-width: 760px; font-size: 17px; line-height: 1.95; color: var(--text-2); }
.prose h3 { font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.4; color: var(--text); margin: 34px 0 8px; }
.prose h3:first-child { margin-top: 0; }
.prose p + p { margin-top: 10px; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
:lang(en) .prose { line-height: 1.75; }

.nf { min-height: calc(100svh - var(--header-h) - 260px); display: grid; place-items: center; text-align: center; padding-block: 60px; }
.nf .wrap { display: grid; justify-items: center; gap: 10px; }
.nf__plant { width: 150px; height: auto; filter: grayscale(.85) sepia(.4) brightness(.92); transform: rotate(-9deg); margin-bottom: 8px; }
.nf .btn { margin-top: 18px; }
