/* Built from website/home/home.css by website/build.py. */
@font-face { font-family: "Thmanyah Sans"; src: url("/assets/fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("/assets/fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("/assets/fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("/assets/fonts/thmanyahserifdisplay-Bold.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
/* Layout: cream top with a living pool of tea (canvas) that rises as you scroll and tilts with the phone;
   copy + 3D card fan beside a live HTML phone; rolling numbers; the steep and two rows;
   a deep-tea section of 3D stacking cards (Live Activity, Dynamic Island, widgets, Plus stickers);
   free vs Khadra+; a draggable sticker board for everyone; FAQ. Tokens follow docs/DESIGN.md. */
:root {
  --brand: #7A1F1F; --brand-pressed: #5E1616; --on-brand: #F7EFE3;
  --accent: #D4A24C; --accent-ink: #7A5214; --accent-light: #E2B870;
  --surface: #F7EFE3; --surface-alt: #EADBC4; --amber-soft: #EFD8AA;
  --card: #FFFFFF; --art-plate: #FFFFFF; --chip: #F1E6D6;
  --ink: #2B1A16; --muted: #6B574C; --heading: #7A1F1F; --hairline: #E3D2B8; --link: #7A5214;
  --tea-1: #A93B28; --tea-2: #7A1F1F; --tea-3: #561414; --tea-deep: #2A0F0D; --tea-rim: #D4A24C;
  --fan-card: #F7EFE3; --fan-ink: #2B1A16; --fan-muted: #6B574C;
  --phone-frame: #0E0D0F;
  --glass: rgba(253, 249, 243, 0.82);
  --shadow: rgba(43, 26, 22, 0.16);
  --skeleton: #E9DCC8;
  --map-water: #CFE8F2; --map-land: #FBF6EE; --map-other: #EADFCC; --map-coast: #C9B79C;
  --steep-stops: #A9DCF0 0%, #E6E0C6 7%, #D4A24C 25%, #CC7A3C 50%, #B8452F 75%, #7A1F1F 100%;
  --steep-dir: 90deg; --dirx: 1;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --text-font: "Poppins", "Thmanyah Sans", system-ui, sans-serif;
  --head-font: "Thmanyah Serif Display", "Poppins", serif;
  --num-font: "Poppins", system-ui, sans-serif;
  /* The Khadra+ level label: Poppins 700 with wide letter-spacing (no extra pixel font). */
  --pixel-font: "Poppins", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #18171A; --surface-alt: #2C2A2E; --amber-soft: #3A3128;
    --card: #29272B; --art-plate: #E9E3DB; --chip: #3A373E;
    --ink: #F2EEE9; --muted: #B7B0AA; --heading: #E2B870; --hairline: #36333A; --link: #E2B870;
    --glass: rgba(40, 38, 42, 0.78); --shadow: rgba(0, 0, 0, 0.4); --skeleton: #36333A;
    --map-water: #1E2A31; --map-land: #2C2A2E; --map-other: #232126; --map-coast: #45414A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #18171A; --surface-alt: #2C2A2E; --amber-soft: #3A3128;
  --card: #29272B; --art-plate: #E9E3DB; --chip: #3A373E;
  --ink: #F2EEE9; --muted: #B7B0AA; --heading: #E2B870; --hairline: #36333A; --link: #E2B870;
  --glass: rgba(40, 38, 42, 0.78); --shadow: rgba(0, 0, 0, 0.4); --skeleton: #36333A;
  --map-water: #1E2A31; --map-land: #2C2A2E; --map-other: #232126; --map-coast: #45414A;
  color-scheme: dark;
}
html[dir="rtl"] { --steep-dir: 270deg; --dirx: -1; }
html[lang="en"] { --head-font: "Poppins", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { background: var(--surface); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--text-font); font-size: 17px; line-height: 1.8; overflow-x: hidden; }
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
a { color: var(--link); text-underline-offset: 3px; }
.num { font-family: var(--num-font); font-variant-numeric: tabular-nums; }
.wrap {
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.home-link img { height: 34px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; } :root[data-theme="dark"] .logo-dark { display: block; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav .lang { border: 1px solid var(--hairline); border-radius: 999px; padding: 5px 16px; font-weight: 600; cursor: pointer; background: none; }
@media (max-width: 560px) { .site-nav .anchor { display: none; } }

/* ---------------- Hero: a pool of tea ---------------- */
.hero { position: relative; overflow: hidden; color: var(--on-brand); background: var(--surface); margin-top: -68px; padding-top: 68px; }
#tea { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 40px; align-items: start; padding-block: 28px 40px; }
.hero-copy { min-width: 0; }
.head { position: relative; }
.head-layer { margin: 0; }
.head-layer.cream { position: absolute; inset: 0; pointer-events: none; }
.head .logo { width: min(180px, 48vw); margin-bottom: 10px; }
.tagline { font-family: var(--head-font); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.45; margin: 0; padding-bottom: 6px; }
html[lang="en"] .tagline { line-height: 1.15; letter-spacing: -0.02em; font-size: clamp(34px, 4.2vw, 50px); }
.head-layer.ink .tagline { color: var(--heading); }
.head-layer.cream .tagline { color: var(--on-brand); }
.head-layer.ink .logo-on-tea, .head-layer.cream .logo-on-cream { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .head-layer.ink .logo-on-cream { display: none; } :root:not([data-theme="light"]) .head-layer.ink .logo-on-tea { display: block; } }
:root[data-theme="dark"] .head-layer.ink .logo-on-cream { display: none; } :root[data-theme="dark"] .head-layer.ink .logo-on-tea { display: block; }
.lead { font-size: 18px; margin: 26px 0 22px; max-width: 33em; color: var(--on-brand); text-shadow: 0 1px 0 rgba(40, 8, 6, .25); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.stores li { display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; padding: 7px 16px 7px 14px; background: rgba(20, 4, 3, 0.28); box-shadow: inset 0 0 0 1px rgba(247, 239, 227, 0.22); line-height: 1.3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stores small { display: block; font-size: 12px; opacity: .78; }
.stores b { font-family: var(--num-font); font-weight: 600; font-size: 15px; direction: ltr; unicode-bidi: isolate; }
.stores svg { width: 22px; height: 22px; flex: none; }
/* A store with a link (website/netlify/stores.ts): the whole badge is the link. */
.stores li:has(> a) { padding: 0; }
.stores a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 14px; border-radius: 14px; color: inherit; text-decoration: none; }
.stores a:hover { background: rgba(20, 4, 3, 0.18); }
.stores a:focus-visible { outline: 2px solid var(--on-brand); outline-offset: 2px; }
.tilt-btn { margin-top: 14px; display: none; align-items: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px; padding: 6px 14px; background: rgba(247, 239, 227, 0.16); color: var(--on-brand); font-size: 14px; }
.tilt-btn.show { display: inline-flex; }

/* 3D card fan */
.fan-block { margin-top: 26px; }
.fan-hint { font-size: 14px; opacity: .85; margin: 0 0 4px; }
.fan { position: relative; height: 196px; perspective: 1100px; perspective-origin: 50% 40%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fan-card {
  --d: 0; --ad: 0;
  position: absolute; top: 14px; left: 50%; width: min(260px, 64%); margin-left: calc(min(260px, 64%) / -2);
  height: 164px; border: 0; border-radius: 22px; padding: 18px 18px 16px; cursor: pointer;
  background: var(--fan-card); color: var(--fan-ink); text-align: start; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(calc(var(--d) * 40% * var(--dirx))) translateZ(calc(var(--ad) * -120px)) rotateY(calc(var(--d) * -22deg * var(--dirx)));
  z-index: calc(10 - var(--ad));
  box-shadow: 0 18px 40px rgba(30, 6, 6, calc(0.42 - var(--ad) * 0.1)), inset 0 0 0 1px rgba(43, 26, 22, 0.06);
  filter: brightness(calc(1 - var(--ad) * 0.12));
  transition: transform 420ms var(--ease-out), filter 420ms var(--ease-out), box-shadow 420ms var(--ease-out), opacity 300ms ease;
}
.fan-card.far { opacity: 0; pointer-events: none; }
.fan-card[aria-current="true"] { box-shadow: 0 22px 48px rgba(30, 6, 6, 0.45), inset 0 0 0 2px var(--accent); }
.fan-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.fan-card .ic svg { width: 26px; height: 26px; }
.fan-card strong { font-family: var(--head-font); font-size: 22px; line-height: 1.35; color: var(--brand); margin-top: 4px; }
.fan-card span { font-size: 14.5px; line-height: 1.55; color: var(--fan-muted); }
.fan-card .soon-tag { position: absolute; top: 16px; inset-inline-end: 16px; font-size: 11px; font-weight: 700; font-style: normal; background: var(--brand); color: var(--on-brand); border-radius: 8px; padding: 2px 8px; line-height: 1.5; }
.fan-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.fan-nav button { width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(247, 239, 227, 0.16); color: var(--on-brand); display: grid; place-items: center; transition: transform 120ms var(--ease-out), background-color 150ms ease; }
.fan-nav button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .fan-nav button:hover { background: rgba(247, 239, 227, 0.26); } .fan-card:not([aria-current="true"]):hover { filter: brightness(1); } }
html[dir="rtl"] .fan-nav svg { transform: scaleX(-1); }
.dots { display: flex; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(247, 239, 227, 0.35); transition: width 200ms var(--ease-out), background-color 200ms ease; }
.dots i.on { width: 18px; background: var(--accent); }

/* Phone */
.phone-stage { display: grid; justify-items: center; gap: 14px; perspective: 1400px; min-width: 0; padding-top: 6px; }
.phone-tilt { --tx: 0deg; --ty: 0deg; transform: rotateY(calc(10deg * var(--dirx) + var(--ty))) rotateX(calc(3deg + var(--tx))); transition: transform 500ms var(--ease-out); }
.phone-stage:hover .phone-tilt, .phone-stage:focus-within .phone-tilt { transform: rotateY(var(--ty)) rotateX(var(--tx)); }
.phone {
  width: clamp(270px, 27vw, 320px); aspect-ratio: 9 / 19.3; padding: 10px; border-radius: 48px; background: var(--phone-frame);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 4px #1d1b1f, 0 34px 70px rgba(30, 6, 6, .5), 0 8px 18px rgba(30, 6, 6, .3);
  position: relative; container-type: inline-size;
}
.phone.turn-a { animation: turnA 380ms var(--ease-move); }
.phone.turn-b { animation: turnB 380ms var(--ease-move); }
@keyframes turnA { 50% { transform: rotateY(-16deg) scale(0.97); } }
@keyframes turnB { 50% { transform: rotateY(16deg) scale(0.97); } }
.screen-wrap { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--surface); color: var(--ink); font-size: max(10.5px, 3.9cqw); line-height: 1.55; }
.statusbar { position: absolute; top: 0; inset-inline: 0; height: 13cqw; display: flex; align-items: center; justify-content: space-between; padding-inline: 8cqw; font: 600 max(10px, 3.6cqw)/1 var(--num-font); z-index: 25; direction: ltr; background: linear-gradient(var(--surface) 72%, transparent); }
.statusbar .bars i { display: block; width: 4.6cqw; height: 2.6cqw; border-radius: 1cqw; border: 0.35cqw solid currentColor; }
.island {
  position: absolute; top: 2.6cqw; left: 50%; width: 30cqw; height: 8.4cqw; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; padding-inline: 1.2cqw 3cqw; overflow: hidden; direction: ltr;
  transition: width 360ms var(--ease-out);
}
.island > * { opacity: 0; transition: opacity 200ms ease; }
.island.live { width: 52cqw; cursor: pointer; }
.island.live > * { opacity: 1; transition-delay: 160ms; }
.island .ip { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #F7EFE3; display: grid; place-items: center; }
.island .ip svg { width: 5.6cqw; height: 5.6cqw; }
.island b { color: var(--accent); font: 600 max(9px, 3.6cqw)/1 var(--num-font); }
.screen { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 15cqw 5.6cqw 26cqw; opacity: 0; visibility: hidden; transform: translateX(calc(5cqw * var(--dirx) * -1)); transition: opacity 220ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms; }
.screen::-webkit-scrollbar { display: none; }
.screen.on { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms ease, transform 260ms var(--ease-out), visibility 0s; }
.s-eyebrow { color: var(--accent-ink); font-weight: 700; font-size: 1.05em; text-align: center; margin: 2cqw 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .s-eyebrow { color: var(--heading); } }
:root[data-theme="dark"] .s-eyebrow { color: var(--heading); }
.s-title { font-family: var(--head-font); color: var(--heading); font-size: 7.4cqw; line-height: 1.35; margin: 0 0 3.5cqw; }
.s-title.center { text-align: center; }
.s-card { background: var(--card); border-radius: 5cqw; padding: 4.5cqw; box-shadow: 0 2cqw 6cqw var(--shadow); }
.amount { display: flex; align-items: baseline; justify-content: center; gap: 2cqw; color: var(--heading); }
.amount output { font: 700 15cqw/1.05 var(--num-font); letter-spacing: -0.02em; }
.amount span { font-size: 4.6cqw; color: var(--muted); }
.water { -webkit-appearance: none; appearance: none; width: 100%; height: 9cqw; background: transparent; margin: 2cqw 0 1cqw; cursor: pointer; --p: 31%; }
.water::-webkit-slider-runnable-track { height: 2.2cqw; border-radius: 99px; background: linear-gradient(to right, var(--brand) var(--p), var(--surface-alt) var(--p)); }
html[dir="rtl"] .water::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--brand) var(--p), var(--surface-alt) var(--p)); }
.water::-moz-range-track { height: 2.2cqw; border-radius: 99px; background: var(--surface-alt); }
.water::-moz-range-progress { height: 2.2cqw; border-radius: 99px; background: var(--brand); }
.water::-webkit-slider-thumb { -webkit-appearance: none; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: var(--brand); border: 1cqw solid var(--card); box-shadow: 0 0.6cqw 2cqw rgba(0,0,0,.25); margin-top: -2.1cqw; transition: transform 120ms var(--ease-out); }
.water:active::-webkit-slider-thumb { transform: scale(1.15); }
.water::-moz-range-thumb { width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--brand); border: 1cqw solid var(--card); }
.hint { text-align: center; color: var(--muted); font-size: 0.86em; margin: 0 0 2.5cqw; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.chip { border: 0; border-radius: 3.4cqw; background: var(--chip); padding: 2.4cqw 1cqw; font: 600 max(10.5px, 3.7cqw)/1.3 var(--text-font); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 120ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.scales { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 4cqw; }
.scales figure { margin: 0; text-align: center; }
.scale { position: relative; aspect-ratio: 1; background: var(--art-plate); border-radius: 4cqw; }
.scale img { width: 100%; height: 100%; }
.readout { position: absolute; left: 25%; top: 75%; width: 31%; height: 13%; display: grid; place-items: center; color: var(--accent); font: 600 max(9px, 3.1cqw)/1 var(--num-font); direction: ltr; white-space: nowrap; }
.scales figcaption { font-weight: 700; margin-top: 1cqw; }
.per-l { background: var(--surface-alt); border-radius: 3cqw; padding: 2cqw 3cqw; text-align: center; font-size: 0.86em; margin: 3.5cqw 0 0; }
.per-l b { font-family: var(--num-font); }
.btn-primary { display: block; width: 100%; margin-top: 4cqw; border: 0; border-radius: 4.6cqw; padding: 3cqw; cursor: pointer; background: var(--accent); color: #2B1A16; font-weight: 700; font-size: 1.15em; line-height: 1.35; transition: transform 120ms var(--ease-out); }
.btn-primary small { display: block; font-weight: 400; font-size: 0.75em; opacity: .8; }
.btn-primary:active { transform: scale(0.97); }
.t-top { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; margin-bottom: 4cqw; }
.round-btn { width: 10.5cqw; height: 10.5cqw; border-radius: 50%; border: 0; background: var(--card); box-shadow: 0 1.5cqw 4cqw var(--shadow); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 120ms var(--ease-out); }
.round-btn:active { transform: scale(0.94); }
.round-btn svg { width: 5cqw; height: 5cqw; }
.t-top p { margin: 0; font-weight: 700; }
.ring { --c: #A9DCF0; --pr: 0; width: 70cqw; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; padding: 2.6cqw; background: conic-gradient(var(--c) calc(var(--pr) * 1turn), var(--surface-alt) 0); }
.ring-in { width: 100%; height: 100%; border-radius: 50%; background: var(--art-plate); position: relative; overflow: hidden; }
.ring-in img { position: absolute; inset: 8%; width: 84%; height: 84%; opacity: 0; transition: opacity 700ms ease; }
.ring-in img.on { opacity: 1; }
.t-time { text-align: center; font: 700 15cqw/1.1 var(--num-font); margin: 4cqw 0 1cqw; direction: ltr; }
.t-status { text-align: center; font-family: var(--head-font); color: var(--heading); font-size: 5cqw; line-height: 1.5; margin: 0 0 3.5cqw; min-height: 7.5cqw; }
.t-ctrl { display: flex; justify-content: center; }
.play { width: 17cqw; height: 17cqw; border-radius: 50%; border: 0; background: var(--accent); color: #2B1A16; display: grid; place-items: center; cursor: pointer; transition: transform 120ms var(--ease-out); }
.play:active { transform: scale(0.95); }
.play svg { width: 7cqw; height: 7cqw; }
.demo-note { text-align: center; color: var(--muted); font-size: 0.8em; margin: 3.5cqw 0 0; }

/* shops screen: fixed head, list or map below */
.screen[data-screen="shops"] { overflow: hidden; padding-bottom: 0; display: flex; flex-direction: column; }
.shops-head { flex: none; }
.search { display: flex; align-items: center; gap: 2cqw; background: var(--card); border-radius: 99px; padding: 0 3.4cqw; height: 9.6cqw; margin-bottom: 2.4cqw; box-shadow: 0 0.6cqw 2cqw var(--shadow); }
.search svg { width: 4.4cqw; height: 4.4cqw; color: var(--muted); flex: none; }
.search input { border: 0; background: transparent; width: 100%; min-width: 0; font-size: max(16px, 3.7cqw); outline: none; transform-origin: inline-start; }
@supports (-webkit-touch-callout: none) { .search input { font-size: 16px; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-alt); border-radius: 99px; padding: 0.9cqw; margin-bottom: 2.6cqw; }
.seg button { border: 0; background: transparent; border-radius: 99px; padding: 1.6cqw; font: 700 max(10px, 3.6cqw)/1.3 var(--text-font); cursor: pointer; color: var(--muted); transition: background-color 180ms ease, color 180ms ease; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--heading); box-shadow: 0 0.6cqw 2cqw var(--shadow); }
.chip-row { display: flex; gap: 2cqw; overflow-x: auto; scrollbar-width: none; margin: 0 -5.6cqw 2cqw; padding: 0 5.6cqw 1cqw; overscroll-behavior-x: contain; }
.chip-row::-webkit-scrollbar { display: none; }
.pill { flex: none; border: 1px solid var(--hairline); background: var(--card); border-radius: 99px; padding: 1.2cqw 3.4cqw; font: 600 max(10px, 3.4cqw)/1.4 var(--text-font); cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.pill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.shops-body { flex: 1; min-height: 0; position: relative; margin: 0 -5.6cqw; }
.list-pane { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 0 5.6cqw 26cqw; }
.list-pane::-webkit-scrollbar { display: none; }
.count { color: var(--muted); font-size: 0.86em; margin: 0 0 2cqw; }
.shop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.6cqw; }
.shop { background: var(--card); border-radius: 4.6cqw; padding: 3cqw; display: grid; grid-template-columns: 14cqw minmax(0, 1fr); gap: 3cqw; align-items: center; box-shadow: 0 1cqw 3cqw var(--shadow); }
.mono { width: 14cqw; height: 14cqw; border-radius: 3.6cqw; display: grid; place-items: center; color: #F7EFE3; font: 700 6.4cqw/1 var(--head-font); }
.shop h4 { margin: 0; font-size: 1.02em; line-height: 1.35; display: flex; align-items: center; gap: 1.6cqw; flex-wrap: wrap; }
.kind { font-size: 0.72em; font-weight: 700; font-style: normal; background: var(--accent-ink); color: #F7EFE3; border-radius: 1.8cqw; padding: 0 1.8cqw; line-height: 1.6; }
.shop p { margin: 0; color: var(--muted); font-size: 0.86em; line-height: 1.45; }
/* Majlis sample brands: the leaf on the brand colour (owner, 2026-10-22). */
.shop.mj .mono svg { width: 7cqw; height: 7cqw; }
.ig { font-family: var(--num-font); font-size: 0.8em; color: var(--accent-ink); direction: ltr; unicode-bidi: isolate; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ig { color: var(--heading); } }
:root[data-theme="dark"] .ig { color: var(--heading); }
.list-note { text-align: center; color: var(--muted); font-size: 0.78em; margin: 4cqw 0 0; }
.empty { text-align: center; color: var(--muted); padding: 8cqw 0; }
/* map */
.map-pane { position: absolute; inset: 0; background: var(--map-water); overflow: hidden; touch-action: none; cursor: grab; }
.map-pane:active { cursor: grabbing; }
.map-pane svg.land { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pane .land .uae { fill: var(--map-land); stroke: var(--map-coast); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.map-pane .land .other { fill: var(--map-other); stroke: var(--map-coast); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pins, .labels { position: absolute; inset: 0; pointer-events: none; }
.city { position: absolute; transform: translate(-50%, -50%); font: 700 max(8px, 2.7cqw)/1 var(--text-font); color: var(--muted); white-space: nowrap; opacity: .85; }
.pin { position: absolute; width: 7cqw; height: 7cqw; margin: -7cqw 0 0 -3.5cqw; border: 0; padding: 0; background: none; pointer-events: none; color: var(--brand); filter: drop-shadow(0 0.5cqw 0.8cqw rgba(0,0,0,.3)); transition: transform 160ms var(--ease-out); transform-origin: 50% 100%; }
.pin svg { width: 100%; height: 100%; }
.pin.sel { transform: scale(1.35); color: var(--accent-ink); z-index: 2; }
.map-ctrl { position: absolute; inset-inline-end: 3cqw; top: 3cqw; display: grid; gap: 1.6cqw; z-index: 3; }
.map-ctrl button { width: 9cqw; height: 9cqw; border-radius: 50%; border: 0; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1cqw 3cqw var(--shadow); display: grid; place-items: center; cursor: pointer; font: 700 5cqw/1 var(--num-font); }
.pin-card { position: absolute; inset-inline: 3.6cqw; bottom: 24.5cqw; z-index: 4; background: var(--card); border-radius: 4.6cqw; padding: 3cqw; display: grid; grid-template-columns: 12cqw minmax(0, 1fr); gap: 3cqw; align-items: center; box-shadow: 0 2cqw 6cqw var(--shadow); transition: transform 260ms var(--ease-out), opacity 200ms ease; }
.pin-card[hidden] { display: grid !important; opacity: 0; transform: translateY(6cqw); pointer-events: none; }
.pin-card .mono { width: 12cqw; height: 12cqw; font-size: 5.6cqw; }
.pin-card h4 { margin: 0; font-size: 1em; line-height: 1.35; }
.pin-card p { margin: 0; color: var(--muted); font-size: 0.84em; line-height: 1.4; }
.map-note { position: absolute; bottom: 21.5cqw; inset-inline: 0; text-align: center; font-size: max(8px, 2.5cqw); color: var(--muted); }
/* majlis, measures, more */
.soon-badge { display: inline-block; vertical-align: middle; font: 700 max(9px, 3cqw)/1.6 var(--text-font); background: var(--brand); color: var(--on-brand); border-radius: 2cqw; padding: 0 2.4cqw; margin-inline-start: 2cqw; }
.s-text { color: var(--muted); margin: 0 0 4cqw; }
.sk { background: var(--card); border-radius: 4.6cqw; padding: 3.4cqw; display: grid; grid-template-columns: 13cqw 1fr; gap: 3cqw; align-items: center; margin-bottom: 2.6cqw; }
.sk i { display: block; background: var(--skeleton); border-radius: 2cqw; }
.sk .a { width: 13cqw; height: 13cqw; border-radius: 3.4cqw; }
.sk .l1 { height: 3cqw; width: 70%; margin-bottom: 2cqw; }
.sk .l2 { height: 2.6cqw; width: 45%; }
@media (prefers-reduced-motion: no-preference) { .sk i { animation: pulse 1.4s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .5; } }
.limit { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; background: var(--surface-alt); border-radius: 3cqw; padding: 2cqw 3cqw; font-size: 0.82em; margin-bottom: 3cqw; }
.limit b { font-family: var(--num-font); }
.recipe { background: var(--card); border-radius: 5cqw; padding: 4cqw; box-shadow: 0 1.5cqw 4cqw var(--shadow); margin-bottom: 4cqw; }
.recipe h4 { margin: 0 0 2.5cqw; font-size: 1.05em; }
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; text-align: center; }
.vals div { background: var(--surface-alt); border-radius: 3cqw; padding: 2.4cqw 1cqw; }
.vals b { display: block; font: 700 6cqw/1.2 var(--num-font); color: var(--heading); }
.vals span { font-size: 0.8em; color: var(--muted); }
.sec-h { font-weight: 700; margin: 0 0 2cqw; }
.grades { list-style: none; margin: 0; padding: 0; display: grid; gap: 2cqw; }
.grades li { background: var(--card); border-radius: 3.4cqw; padding: 2.6cqw 3.2cqw; display: grid; grid-template-columns: 13cqw 1fr; gap: 2.4cqw; align-items: center; }
.grades code { font: 700 max(10px, 3.4cqw)/1 var(--num-font); background: var(--brand); color: var(--on-brand); border-radius: 2cqw; padding: 1.4cqw 0; text-align: center; }
.grades span { font-size: 0.88em; color: var(--muted); line-height: 1.45; }
.rows-list { background: var(--card); border-radius: 4.6cqw; overflow: hidden; }
.rows-list > div { display: grid; grid-template-columns: 8cqw 1fr; gap: 3cqw; align-items: start; padding: 3.4cqw 3.6cqw; border-bottom: 1px solid var(--hairline); }
.rows-list > div:last-child { border-bottom: 0; }
.rows-list svg { width: 6cqw; height: 6cqw; color: var(--heading); margin-top: 0.6cqw; }
.rows-list p { margin: 0; }
.rows-list b { display: block; font-size: 0.98em; }
.rows-list span { color: var(--muted); font-size: 0.85em; line-height: 1.45; display: block; }
.tabbar { position: absolute; z-index: 20; inset-inline: 3.6cqw; bottom: 4.4cqw; height: 17cqw; border-radius: 99px; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 2cqw 6cqw var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--hairline) 70%, transparent); display: grid; grid-template-columns: repeat(5, 1fr); padding: 1.4cqw; }
.tab { border: 0; background: transparent; border-radius: 99px; display: grid; justify-items: center; align-content: center; gap: 0.4cqw; cursor: pointer; color: var(--ink); font: 600 max(8px, 2.7cqw)/1.2 var(--text-font); transition: background-color 180ms ease, color 180ms ease; }
.tab svg { width: 6.2cqw; height: 6.2cqw; }
.tab .sel { display: none; }
.tab[aria-selected="true"] { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tab[aria-selected="true"] { color: var(--heading); background: rgba(226, 184, 112, 0.14); } }
:root[data-theme="dark"] .tab[aria-selected="true"] { color: var(--heading); background: rgba(226, 184, 112, 0.14); }
.tab[aria-selected="true"] .sel { display: block; }
.tab[aria-selected="true"] .unsel { display: none; }
.home-ind { position: absolute; bottom: 1.4cqw; left: 50%; width: 34cqw; margin-left: -17cqw; height: 1.3cqw; border-radius: 99px; background: var(--ink); opacity: .55; z-index: 21; }
.sim-caption { font-size: 13px; opacity: .85; text-align: center; max-width: 30em; margin: 6px 0 0; line-height: 1.6; color: var(--on-brand); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 26px; padding-block: 20px 40px; }
  .phone { width: min(320px, 80vw); }
  .phone-tilt { transform: rotateY(var(--ty)) rotateX(var(--tx)); }
}

/* Numbers (inside the tea). No strip of UAE city names above them (owner, 2026-11-19: Khadra is for the whole GCC). */
.numbers { position: relative; color: var(--on-brand); }
.numbers .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-block: 26px 64px; }
.stat { padding: 6px 18px; border-inline-start: 1px solid rgba(247, 239, 227, .2); min-width: 0; }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.odo { display: flex; direction: ltr; justify-content: flex-start; font: 700 clamp(34px, 4.6vw, 54px)/1 var(--num-font); letter-spacing: -0.02em; height: 1em; overflow: hidden; }
html[dir="rtl"] .odo { justify-content: flex-end; }
.odo .col { display: block; height: 1em; overflow: hidden; text-align: right; }
.odo .col i { display: block; font-style: normal; transition: transform 1400ms var(--ease-out); }
.odo .col i b { display: block; height: 1em; font-weight: 700; }
.odo .sfx { color: var(--accent); }
.stat p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; opacity: .85; }
@media (max-width: 760px) { .stat { padding-inline: 10px; } .stat p { font-size: 12.5px; } }
.wave-out { display: block; width: 100%; height: 70px; margin-top: -1px; color: var(--tea-deep); }

/* ---------------- Steep + rows ---------------- */
.steep { padding: 56px 0 56px; }
.sec-title, .row h2, .cell h2 { font-family: var(--head-font); color: var(--heading); line-height: 1.45; margin: 0 0 10px; }
html[lang="en"] .sec-title, html[lang="en"] .row h2, html[lang="en"] .cell h2 { line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.015em; }
.sec-title { font-size: clamp(30px, 4.4vw, 44px); }
.sec-lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0; }
.frames { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.frames li { background: var(--art-plate); border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--hairline); }
.frames img { width: 86%; }
.steep-bar { height: 10px; border-radius: 999px; margin-top: 20px; background: linear-gradient(var(--steep-dir), var(--steep-stops)); }
.rows { padding: 16px 0 40px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 32px 0; }
.row .art { background: var(--surface-alt); border-radius: 24px; aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .row .art { background: var(--art-plate); } }
:root[data-theme="dark"] .row .art { background: var(--art-plate); }
.row .art > img { width: 46%; }
.row.flip .art { order: 2; }
.row h2 { font-size: clamp(26px, 3.4vw, 34px); }
.row p { color: var(--muted); font-size: 18px; max-width: 30em; margin: 0; }
/* step-by-step: the big teapot (app drawing) and a small istikana */
.duo { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding-bottom: 12%; }
.duo::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: 11%; height: 3px; border-radius: 3px; background: rgba(43, 26, 22, .18); }
.duo .pot { width: 52%; margin-bottom: -6.5%; }
.duo .glass { width: 17%; margin-bottom: -1.2%; }
.duo { direction: ltr; }
@media (max-width: 760px) {
  .frames { gap: 8px; margin-top: 28px; } .frames li { border-radius: 12px; }
  .row { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; } .row.flip .art { order: 0; } .row .art { aspect-ratio: 16 / 10; } .row .art > img { width: 38%; }
  .duo .pot { width: 40%; } .duo .glass { width: 13%; }
}

/* ---------------- Deep tea section: 3D stacking cards ---------------- */
.deep { position: relative; background: var(--tea-deep); color: var(--on-brand); }
.wave-in { display: block; width: 100%; height: 70px; color: var(--tea-deep); margin-bottom: -1px; }
.deep-head { padding-block: 24px 8px; }
.deep .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--accent-light); font-weight: 700; margin: 0 0 8px; }
.plus-badge { display: inline-flex; align-items: center; background: var(--brand); border-radius: 10px; padding: 4px 9px; box-shadow: inset 0 0 0 1px rgba(247, 239, 227, .15); }
.plus-badge img { height: 15px; width: auto; }
.plus-badge.l { border-radius: 12px; padding: 6px 12px; } .plus-badge.l img { height: 20px; }
.deep h2 { font-family: var(--head-font); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.4; margin: 0 0 10px; color: var(--on-brand); }
html[lang="en"] .deep h2 { line-height: 1.15; letter-spacing: -0.02em; }
.deep h2 em { font-style: normal; color: var(--accent); }
.deep-head p { max-width: 36em; opacity: .85; margin: 0; }
.stack { position: relative; padding-block: 30px 90px; perspective: 1600px; }
.s-card3 {
  --p: 0; position: sticky; top: calc(76px + var(--i) * 14px); margin: 0 auto 56px; max-width: 1000px; min-height: 440px;
  border-radius: 28px; padding: 34px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 32px; align-items: center;
  background: linear-gradient(160deg, #3B1714, #241010); box-shadow: 0 -1px 0 rgba(247, 239, 227, .08) inset, 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(247, 239, 227, .07);
  transform-origin: 50% 0%;
  transform: translateZ(calc(var(--p) * -140px)) rotateX(calc(var(--p) * 9deg)) scale(calc(1 - var(--p) * 0.05));
  filter: brightness(calc(1 - var(--p) * 0.35));
}
.s-card3:nth-child(2) { background: linear-gradient(160deg, #4A1A16, #2B1110); }
.s-card3:nth-child(3) { background: linear-gradient(160deg, #3D1E14, #261310); }
.s-card3:nth-child(4) { background: linear-gradient(160deg, #50211A, #2C1210); }
.s-card3 h3 { font-family: var(--head-font); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.4; margin: 12px 0 8px; color: var(--on-brand); }
html[lang="en"] .s-card3 h3 { line-height: 1.2; letter-spacing: -0.015em; }
.s-card3 p { margin: 0; opacity: .86; font-size: 16.5px; }
.s-card3 ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; opacity: .9; }
.s-card3 li { display: flex; gap: 8px; align-items: baseline; }
.s-card3 li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; transform: translateY(-2px) rotate(45deg); }
.demo { position: relative; min-height: 360px; border-radius: 22px; display: grid; place-items: center; overflow: hidden; container-type: inline-size; }
@media (max-width: 860px) {
  .s-card3 { grid-template-columns: 1fr; padding: 22px; top: calc(70px + var(--i) * 10px); min-height: 0; gap: 18px; }
  .demo { min-height: 300px; }
}
/* lock screen demo */
.lock { background: radial-gradient(120% 90% at 30% 0%, #7B4A35 0%, #3E2219 55%, #1C100C 100%); width: 100%; }
.lock .clock { position: absolute; top: 9%; left: 0; right: 0; text-align: center; color: rgba(255, 245, 235, .92); direction: ltr; }
.lock .clock b { display: block; font: 600 clamp(54px, 15cqw, 84px)/1 var(--num-font); letter-spacing: -0.03em; }
.lock .clock span { font-size: 15px; opacity: .8; }
.la { position: absolute; left: 5%; right: 5%; bottom: 9%; background: rgba(28, 26, 30, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 26px; padding: 14px 16px; color: #fff; }
.la-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.pot-tile { width: 54px; height: 54px; border-radius: 16px; background: #EADBC4; display: grid; place-items: center; }
.pot-tile svg { width: 46px; height: 46px; }
.la .l1 { font-size: 13px; font-weight: 700; color: var(--accent-light); line-height: 1.4; }
.la .l2 { font-size: 15px; font-weight: 600; line-height: 1.45; }
.la .cd { font: 600 32px/1 var(--num-font); color: var(--accent); direction: ltr; }
.bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--pr, 0) * 100%); background: var(--accent); border-radius: 3px; }
html[dir="rtl"] .bar i { margin-inline-start: 0; }
/* island demo */
.isle-demo { background: radial-gradient(100% 80% at 50% 0%, #F3E6D3, #E2CDB0); width: 100%; color: var(--ink); }
.isle-demo .cap { position: absolute; bottom: 7%; left: 8%; right: 8%; text-align: center; font-size: 14px; color: #6B574C; line-height: 1.6; }
.big-isle { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); background: #000; color: #fff; border-radius: 40px; width: 46%; height: 50px; transition: width 520ms var(--ease-out), height 520ms var(--ease-out), border-radius 520ms var(--ease-out); overflow: hidden; }
.big-isle .compact, .big-isle .expanded { position: absolute; inset: 0; transition: opacity 260ms ease; }
.big-isle .compact { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 8px; direction: ltr; }
html[dir="rtl"] .big-isle .compact { flex-direction: row-reverse; padding: 0 8px 0 18px; }
.big-isle .compact .ip { width: 36px; height: 36px; border-radius: 50%; background: #F7EFE3; display: grid; place-items: center; }
.big-isle .compact .ip svg { width: 30px; height: 30px; }
.big-isle .compact b { font: 600 19px/1 var(--num-font); color: var(--accent); }
.big-isle .expanded { opacity: 0; padding: 16px 18px; }
.big-isle.open { width: 88%; height: 148px; border-radius: 44px; }
.big-isle.open .compact { opacity: 0; }
.big-isle.open .expanded { opacity: 1; transition-delay: 180ms; }
.big-isle .ex-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.big-isle .ex-row .pot-tile { width: 52px; height: 52px; }
.big-isle .l1 { font-size: 12px; font-weight: 700; color: var(--accent-light); }
.big-isle .l2 { font-size: 14px; font-weight: 600; }
.big-isle .cd { font: 600 30px/1 var(--num-font); color: var(--accent); direction: ltr; }
.big-isle .bar { height: 5px; margin-top: 14px; }
/* widgets demo */
.home { place-items: stretch; width: 100%; background: radial-gradient(120% 100% at 70% 0%, #C9A88A, #6E4A3A 70%, #4A2F25); padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; }
.wdg { border-radius: 24px; padding: 14px; aspect-ratio: 1; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.home > div:not(.wdg) { min-width: 0; }
.qt-row { min-height: 0; }
.wdg-label.wide { grid-column: 1 / -1; margin-top: -8px; }
.wdg-label { display: flex; align-items: center; justify-content: center; gap: 6px; color: rgba(255, 255, 255, .9); font-size: 12px; margin-top: 8px; }
.free-badge { display: inline-block; background: #DCEFE3; color: #1F5C38; font-weight: 700; font-size: 13px; border-radius: 9px; padding: 3px 11px; line-height: 1.5; }
.free-badge.s { font-size: 10.5px; padding: 1px 8px; border-radius: 7px; }
.plus-badge.s { padding: 3px 6px; border-radius: 7px; } .plus-badge.s img { height: 11px; }
.badges { display: inline-flex; align-items: center; gap: 6px; } .badges .and { opacity: .6; font-weight: 700; }
.wdg.qt { background: #7A1F1F; color: #F7EFE3; }
.wdg .w-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.wdg .w-head svg { width: 16px; height: 16px; color: var(--accent); }
.qt-row { flex: 1; display: flex; align-items: center; justify-content: space-between; background: rgba(247, 239, 227, 0.14); border-radius: 12px; padding: 0 12px; margin-top: 6px; border: 0; color: inherit; cursor: pointer; transition: background-color 150ms ease, transform 120ms var(--ease-out); }
.qt-row:first-of-type { margin-top: 0; }
.qt-row b { font: 600 18px/1 var(--num-font); }
.qt-row span { font-size: 12px; font-weight: 700; }
.qt-row:active { transform: scale(0.97); }
.qt-row.go { background: var(--accent); color: #2B1A16; }
.wdg.last { background: #F7EFE3; color: #2B1A16; }
.wdg.last .top { display: flex; justify-content: space-between; align-items: flex-start; }
.wdg.last .tile { width: 40px; height: 40px; border-radius: 11px; background: #EADBC4; display: grid; place-items: center; }
.wdg.last .tile svg { width: 34px; height: 34px; }
.wdg.last small { font-size: 10px; font-weight: 700; color: #6B574C; }
.wdg.last b { display: block; font-size: 14px; margin-top: auto; line-height: 1.35; }
.wdg.last em { font-style: normal; font-size: 11px; color: #6B574C; font-family: var(--num-font); }
.wdg.last .go-btn { margin-top: 8px; align-self: flex-start; border: 0; border-radius: 14px; background: var(--accent); color: #2B1A16; font-weight: 700; font-size: 13px; padding: 4px 14px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.wdg.last .go-btn svg { width: 10px; height: 10px; }
.wdg.medium { grid-column: 1 / -1; aspect-ratio: auto; background: #F7EFE3; color: #7A1F1F; padding: 14px 16px; }
.wdg.medium .mh { display: flex; justify-content: space-between; align-items: center; font-family: var(--head-font); font-weight: 700; font-size: 16px; }
.wdg.medium .mh img { height: 18px; width: auto; }
.wdg.medium .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.wdg.medium .tiles div { text-align: center; font-size: 10px; font-weight: 700; color: #2B1A16; }
.wdg.medium .tiles i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 13px; border: 3px solid #EADBC4; background: #fff; margin-bottom: 4px; }
.wdg.medium .tiles i svg { width: 60%; height: 60%; color: #7A1F1F; }
/* plus stickers demo */
.pstick { width: 100%; background: radial-gradient(120% 100% at 50% 0%, #5B3A2C, #2C1913); display: flex; align-items: center; justify-content: center; gap: 4%; padding: 24px 12px; flex-wrap: nowrap; }
.pst { flex: none; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)); transition: transform 300ms var(--ease-out); }
.pst:hover { transform: rotate(0deg) scale(1.04); }
.teabag { position: relative; width: 30%; max-width: 150px; }
.teabag svg.string { display: block; width: 60%; height: 70px; margin-inline-start: 18%; }
.tag { background: #7A1F1F; color: #F7EFE3; border-radius: 14px; padding: 12px 10px; text-align: center; position: relative; border: 2px solid #F7EFE3; }
.tag::before { content: ""; position: absolute; top: 7px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #2C1913; box-shadow: 0 0 0 2px #F7EFE3; }
.tag .bl { width: 38px; height: 38px; margin: 10px auto 6px; border-radius: 10px; background: #F7EFE3; display: grid; place-items: center; color: #7A1F1F; }
.tag .bl svg { width: 24px; height: 24px; }
.tag b { display: block; font-size: 14px; }
.tag span { display: block; font-size: 11px; color: var(--accent); line-height: 1.5; }
.tag img { height: 13px; width: auto; margin: 6px auto 0; }
.facts { width: 36%; max-width: 190px; background: #fff; color: #000; padding: 10px 10px 8px; border: 2px solid #000; font-size: 11px; line-height: 1.35; }
.facts h5 { margin: 0; font-family: var(--head-font); font-size: 17px; line-height: 1.3; }
html[lang="en"] .facts h5 { font-family: var(--num-font); font-weight: 800; }
.facts .sub { font-size: 9.5px; padding-bottom: 4px; border-bottom: 6px solid #000; }
.facts .r { display: flex; justify-content: space-between; padding: 2px 0; border-bottom: 1px solid #000; font-weight: 700; }
.facts .r b { font-family: var(--num-font); }
.facts .thick { border-bottom: 4px solid #000; }
.facts .fn { display: flex; justify-content: space-between; align-items: center; font-size: 8.5px; margin-top: 4px; }
.facts .fn img { height: 11px; width: auto; }
.level { width: 30%; max-width: 160px; background: #1E1513; border: 3px solid #F7EFE3; outline: 2px solid #1E1513; padding: 10px 8px; text-align: center; color: #F7EFE3; image-rendering: pixelated; }
.level .xp1 { font: 700 15px/1.2 var(--pixel-font); letter-spacing: .08em; color: var(--accent); }
.level .px { width: 46px; height: 46px; margin: 8px auto; }
.level .lv { font: 700 13px/1 var(--pixel-font); letter-spacing: .18em; direction: ltr; }
.level .xpbar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; border: 2px solid #F7EFE3; padding: 2px; margin: 8px 0 6px; }
.level .xpbar i { height: 7px; background: #3A2C28; }
.level .xpbar i.f { background: var(--accent); }
.level small { display: block; font-size: 9.5px; line-height: 1.4; opacity: .9; }
@media (max-width: 520px) { .pstick { gap: 1%; padding: 18px 4px; } .facts { width: 34%; font-size: 9px; padding: 8px 7px 6px; } .facts h5 { font-size: 13px; } .tag b { font-size: 12px; } .teabag, .level { width: 29%; } .level small { font-size: 8.5px; } .la .l2 { font-size: 13px; } .la .cd { font-size: 26px; } .la-row { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; } .pot-tile { width: 46px; height: 46px; } }

/* ---------------- Free vs Khadra+ ---------------- */
.plans { padding: 72px 0 40px; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; perspective: 1400px; }
.plan { border-radius: 24px; padding: 28px; transition: transform 300ms var(--ease-out); transform-style: preserve-3d; }
.plan.free { background: var(--card); border: 1px solid var(--hairline); }
.plan.plus { background: var(--brand); color: var(--on-brand); box-shadow: 0 24px 50px rgba(122, 31, 31, .3); }
.plan h3 { margin: 0 0 4px; font-family: var(--head-font); font-size: 26px; line-height: 1.4; display: flex; align-items: center; gap: 10px; }
.plan.free h3 { color: var(--heading); }
.plan .sub { margin: 0 0 18px; font-size: 15px; opacity: .8; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15.5px; line-height: 1.55; }
.plan li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--success, #2E7D4F); }
.plan.free li svg { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan.free li svg { color: var(--heading); } }
:root[data-theme="dark"] .plan.free li svg { color: var(--heading); }
.plan.plus li svg { color: var(--accent); }
.plan li b { font-weight: 700; }
.plan .note { margin: 18px 0 0; font-size: 13.5px; opacity: .8; }
@media (max-width: 760px) { .plans-grid { grid-template-columns: 1fr; } }

/* ---------------- Stickers for everyone ---------------- */
.stickers { padding: 40px 0 72px; }
.st-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.free-tag { display: inline-block; background: var(--success-bg, #DCEFE3); color: #1F5C38; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 2px 10px; margin-bottom: 10px; }
.board { position: relative; aspect-ratio: 9 / 16; width: min(100%, 390px); margin-inline: auto; border-radius: 30px; overflow: hidden; background: #2B1A16 url("/assets/img/story-photo.webp") center / cover no-repeat; border: 8px solid #0E0D0F; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 24px 50px rgba(43, 26, 22, .25); }
.board .ph { position: absolute; top: 12px; left: 0; right: 0; text-align: center; color: rgba(247, 239, 227, .45); font-size: 12px; }
.stk { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--s, 1)); cursor: grab; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transition: transform 220ms var(--ease-out), filter 220ms ease; touch-action: none; }
.stk.drag { cursor: grabbing; --s: 1.08; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .45)); transition: filter 220ms ease; z-index: 50; }
.stk img { width: 100%; pointer-events: none; -webkit-user-drag: none; }
.stamp { width: 100%; background: #F3E6CF; padding: 9px; border: 3px dotted #FBF6EE; outline: 6px solid #FBF6EE; color: #7A1F1F; text-align: center; font-size: 9px; line-height: 1.35; position: relative; }
.stamp .inner { border: 1.5px solid #7A1F1F; padding: 8px 6px; }
.stamp .em { font-weight: 700; font-size: 8px; }
.stamp .circle { width: 54%; aspect-ratio: 1; border-radius: 50%; background: #7A1F1F; color: #F7EFE3; margin: 8px auto; display: grid; place-items: center; font: 700 22px/1 var(--head-font); }
.stamp b { display: block; font-size: 11px; }
.stamp .pm { position: absolute; top: -12px; inset-inline-start: -14px; width: 62px; height: 62px; border-radius: 50%; border: 1.5px solid rgba(43, 26, 22, .7); color: rgba(43, 26, 22, .8); display: grid; place-items: center; font: 700 8px/1.3 var(--num-font); transform: rotate(-14deg); background: rgba(243, 230, 207, .35); }
.caps { display: grid; gap: 6px; justify-items: start; }
.cap1 { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 5px 12px; font-weight: 700; font-size: 13px; border: 3px solid #FBF6EE; white-space: nowrap; }
.cap1.a { background: #7A1F1F; color: #F7EFE3; transform: rotate(-4deg); }
.cap1.b { background: #F7EFE3; color: #2B1A16; transform: rotate(2deg); margin-inline-start: 16px; }
.cap1.c { background: #D4A24C; color: #2B1A16; transform: rotate(-2deg); margin-inline-start: 6px; }
.board-tools { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; color: var(--muted); font-size: 14px; }
.board-tools button { border: 1px solid var(--hairline); background: var(--card); border-radius: 99px; padding: 5px 14px; cursor: pointer; font-size: 14px; }
.story-ui { position: absolute; inset: 0; pointer-events: none; z-index: 200; color: #fff; }
.story-ui svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.s-x { position: absolute; top: 14px; inset-inline-start: 14px; }
.rail { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; gap: 16px; justify-items: center; }
.rail b { font: 700 19px/24px var(--num-font); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.s-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 12px; display: flex; align-items: center; gap: 8px; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.s-round { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.35); display: grid; place-items: center; }
.s-round svg { width: 20px; height: 20px; }
.s-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 8px 16px; border-radius: 99px; background: rgba(0,0,0,.35); font-size: 14px; font-weight: 700; }
.s-pill i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #D4A24C, #7A1F1F); box-shadow: 0 0 0 2px #fff; }
.s-send { margin-inline-start: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #2B1A16; display: grid; place-items: center; }
.s-send svg { width: 22px; height: 22px; filter: none; }
html[dir="rtl"] .s-send svg { transform: scaleX(-1); }
@media (max-width: 860px) { .st-grid { grid-template-columns: 1fr; } }

/* existing bento */
.bento-wrap { padding: 16px 0 72px; }
.bento { display: grid; gap: 20px; grid-template-columns: 1.3fr 1fr; }
.cell { border-radius: 24px; padding: 32px 32px 0; overflow: hidden; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cell h2 { font-size: 26px; }
.cell p { margin: 0; font-size: 17px; }
.cell-majlis { grid-row: span 2; background: var(--brand); color: var(--on-brand); }
.cell-majlis h2 { color: var(--on-brand); font-size: clamp(30px, 3.6vw, 38px); }
.cell-shops { background: var(--amber-soft); padding-bottom: 32px; }
.cell-account { background: var(--surface-alt); }
.cell-account p { color: var(--muted); }
.shot { margin-top: auto; border-radius: 16px 16px 0 0; overflow: hidden; background: #18171A; }
.shot.short { height: 210px; }
.shot.short img { height: 100%; width: 100%; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } .cell { padding: 24px 24px 0; } .cell-majlis { grid-row: auto; } .shot.short { height: 180px; } }

/* FAQ */
.faq { padding: 8px 0 88px; }
.faq .wrap { max-width: 860px; }
.faq-list { margin-top: 24px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 18px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--heading); transition: transform 200ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 40em; }
.site-footer { border-top: 1px solid var(--hairline); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .lead { font-size: 17px; }
  .fan { height: 184px; }
  .fan-card { width: 70%; margin-left: -35%; height: 156px; padding: 16px; }
  .fan-card strong { font-size: 20px; }
}

/* Reduced motion: no 3D, no turns, no tilt. Colour and opacity changes stay. */
@media (prefers-reduced-motion: reduce) {
  /* Flat cards sit side by side: keep them inside the copy column, or they cover the phone's tab bar. */
  .fan { perspective: none; overflow-x: clip; }
  .fan-card { transform: translateX(calc(var(--d) * 104% * var(--dirx))); filter: none; transition: opacity 200ms ease; }
  .fan-card:not([aria-current="true"]) { opacity: .55; }
  .fan-card.far { opacity: 0; }
  .phone-tilt, .phone-stage:hover .phone-tilt { transform: none; transition: none; }
  .phone.turn-a, .phone.turn-b { animation: none; }
  .screen { transform: none; transition: opacity 160ms ease, visibility 0s linear 160ms; }
  .s-card3 { position: relative; top: auto; transform: none; filter: none; }
  .odo .col i { transition: none; }
}
