/* Ghalina home pages (index.html in English, ar.html in Arabic, right to left): the app's Plum & Champagne look,
   leather and gold on ivory (docs/THEMES.md). Fonts: Atkinson Hyperlegible Next (English), Readex Pro (Arabic),
   self-hosted. Logical properties everywhere, so the Arabic page is the same CSS mirrored.
   Motion: assets/js/home.js (videos, menu, the safety story) and assets/js/motion.js (GSAP + ScrollTrigger + Lenis,
   loaded only when the visitor has not asked for reduced motion). Nothing here hides content before scripts run.
   Layers (z-index): skip link 60, motion button 50, navigation 40 (inside: bar 2 above the menu 1); inside the hero
   the layers are 1-4. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Readex Pro uses "optional": it is preloaded and nearly always ready for the first paint; on a slow first visit the
   system's Arabic font stays for that page view (no late swap, so nothing moves and the main text shows at once). */
@font-face {
  font-family: "Readex Pro";
  src: url("/assets/fonts/readex-pro.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: optional;
}

/* Metric-matched stand-ins while the fonts load, so the text does not jump when they arrive. */
@font-face {
  font-family: "Atkinson Fallback";
  src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 110%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Readex Fallback";
  src: local("Segoe UI"), local("Tahoma"), local("Noto Sans Arabic"), local("Arial");
  size-adjust: 79%;
  ascent-override: 98%;
  descent-override: 32%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --bg: #f2e9d6;
  --bg-2: #eadfc6;
  --surface: #f8f1e1;
  --surface-2: #f3ead7;
  --line: #dbcaab;
  --line-gold: rgb(203 166 115 / 0.55);
  --text: #221420;
  --muted: #56455a;
  --plum: #4a2545;
  --plum-hi: #60305a;
  --plum-lo: #2f182c;
  --plum-ink: #6b3a63;
  --on-plum: #fff6e8;
  --on-plum-muted: #eadbe5;
  --gold: #d4af6a;
  --gold-ink: #7a5a33;
  --gold-light: #e9cf9a;
  --on-gold: #2a1c05;
  --sos: #c62828;
  --ok: #1e7d32;
  --metal: linear-gradient(135deg, #8c6a44 0%, #eed6aa 22%, #cba673 45%, #f8ead0 68%, #aa8655 100%);
  --metal-soft: linear-gradient(135deg, #c9a75e 0%, #f2dfa6 35%, #d9b86e 60%, #f6e7bc 80%, #c29a4e 100%);
  --ring: conic-gradient(from 210deg, #8c6a44, #f3d58a, #c49a45, #f7e3a6, #a57b31, #8c6a44);
  --leather: linear-gradient(160deg, #4f2549 0%, #3c1c38 55%, #260f23 100%);
  --shadow: 60 25 55;
  --ink-plum: var(--plum);       /* plum words, plum rims and focus rings (gold-champagne in dark) */
  --nav-glass: rgb(248 241 225 / 0.84);
  --menu-glass: rgb(242 234 218 / 0.97);
  --hover-wash: var(--g-hover);
  --media-rim: 0 0 0 0 transparent;
  --hairline: var(--g-hairline);  /* dividers and card outlines: antique gold in light (owner 2026-10-21) */

  --font: "Atkinson Hyperlegible Next", "Atkinson Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Readex Pro", "Readex Fallback", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-ar-system: "Noto Sans Arabic", "Segoe UI", "Geeza Pro", Tahoma, sans-serif;

  --gutter: 16px;
  --max: 1240px;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-h: 72px;
}

/* Dark (owner 2026-10-21; never automatic: assets/js/theme.js sets it when the visitor presses the moon). The values
   come from theme.css (--g-*): deep aubergine page, lighter plum cards with a gold rim, ivory text, gold accents. The
   leather bands, the gold buttons and the phone screens keep their own colours. */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--g-bg);
  --bg-2: var(--g-bg-2);
  --surface: var(--g-surface);
  --surface-2: var(--g-surface-2);
  --line: var(--g-line);
  --line-gold: var(--g-rim);
  --text: var(--g-text);
  --muted: var(--g-muted);
  --plum-ink: var(--g-link-soft);
  --gold-ink: var(--g-gold-text);
  --ink-plum: var(--g-link);
  --shadow: var(--g-shadow);
  --nav-glass: rgb(38 19 33 / 0.86);
  --menu-glass: rgb(30 15 27 / 0.97);
  --hover-wash: var(--g-hover);
  --media-rim: var(--g-media-rim);
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}

@media (min-width: 1100px) {
  :root { --gutter: 44px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  background: var(--bg);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  font-size: 1.0625rem;
  line-height: 1.85;
}

/* Each page loads one web font: the English page shows Arabic words in the system font, the Arabic page shows
   English words in Readex Pro (it has Latin letters too). */
html[lang="en"] [lang="ar"] { font-family: var(--font-ar-system); }

img, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--ink-plum); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }

p { margin: 0; text-wrap: pretty; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

html[lang="ar"] :is(h1, h2, h3, h4) { font-weight: 700; letter-spacing: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--ink-plum);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

[dir="rtl"] .i--flip,
[dir="rtl"] .btn .i,
[dir="rtl"] .chain__arrow,
[dir="rtl"] .vault__link .i,
[dir="rtl"] .hero__scroll .i { transform: scaleX(-1); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-plum);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 16px; }

[hidden] { display: none !important; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.3rem, 1rem + 3.3vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

html[lang="ar"] .display {
  font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.1rem);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
}

.h2 {
  font-size: clamp(2.05rem, 1.3rem + 2.9vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

html[lang="ar"] .h2 { font-size: clamp(1.85rem, 1.25rem + 2.3vw, 3rem); line-height: 1.35; }

.h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

html[lang="ar"] .h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); line-height: 1.5; }

.h4 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
html[lang="ar"] .h4 { font-size: 1.15rem; line-height: 1.55; }

.soft { color: var(--plum-ink); }

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  line-height: 1.55;
}

html[lang="ar"] .lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.27rem); line-height: 1.85; }

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

html[lang="ar"] .kicker { letter-spacing: 0; font-weight: 600; }

.kicker__rule {
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--metal);
}

.kicker--light { color: var(--gold-light); }

/* quiet brand line above the Arabic hero H1 (arseo-*) */
.arseo-app { margin: -10px 0 -8px; color: var(--muted); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }

.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: #f3e6cd;
  color: #5c3d0a;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: 0.15em;
}

.tag--gold { background: var(--metal); color: var(--on-gold); }
/* "Optional": a feature that stays off until the family switches it on (the English page's prayer and Ramadan rows) */
.tag--opt { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-gold); color: var(--gold-ink); }

/* Round 5 (owner, 2026-10-10): the gaps between the main sections are 30% smaller (all section paddings below too). */
.section { padding-block: clamp(40px, 5.6vw, 84px); }

/* Sections below the first screen are laid out only when they come near (much less work for the first paint on
   phones); the browser remembers their real size once it has seen them. */
.section, .interlude, .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}

/* Before a jump to a section (home.js), everything is laid out for real. */
.cv-off .section, .cv-off .interlude, .cv-off .footer { content-visibility: visible; }
/* For one frame after the first paint (home.js primeSizes) so the browser learns every section's real size. */
.cv-prime .section, .cv-prime .interlude, .cv-prime .footer { content-visibility: visible; }

.section-head {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 820px;
  margin-block-end: clamp(44px, 6vw, 80px);
}

.section-head--flush { margin-block-end: 0; }

.section-head--center {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.45s var(--spring), box-shadow 0.45s var(--ease), filter 0.3s var(--ease);
}

html[lang="ar"] .btn { font-weight: 600; }

.btn:active { transform: translateY(1px) scale(0.975); }

.btn--gold {
  background: var(--metal);
  color: var(--on-gold);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.55),
    inset 0 0 0 1px rgb(140 106 68 / 0.35),
    0 1px 2px rgb(var(--shadow) / 0.25),
    0 14px 28px -14px rgb(140 106 68 / 0.75);
}

.btn--gold:hover { filter: brightness(1.04) saturate(1.05); transform: translateY(-1px); }

.btn--big { min-height: 60px; padding-inline: 30px; font-size: 1.125rem; }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 1rem; }

.btn--quiet {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn .i { width: 1.1em; height: 1.1em; transition: transform 0.45s var(--spring); }
.btn:hover .i { transform: translateX(3px); }
[dir="rtl"] .btn:hover .i { transform: scaleX(-1) translateX(3px); }

/* "Coming soon on Google Play": a store-style pill (Google's badge art is not used before the listing exists). */
.badge-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 24px 8px 16px;
  border-radius: 999px;
  background: #1c1019;
  color: #fff6e8;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.35), 0 14px 26px -16px rgb(0 0 0 / 0.55);
  transition: transform 0.45s var(--spring);
}

html[dir="rtl"] .badge-play { padding: 8px 16px 8px 24px; }

.badge-play:active { transform: scale(0.98); }

.badge-play__glyph {
  width: 20px;
  height: 22px;
  flex: none;
  background: var(--metal);
  clip-path: polygon(8% 4%, 96% 50%, 8% 96%);
}

.badge-play__text { display: grid; line-height: 1.15; text-align: start; }
.badge-play__text small { font-size: 0.8125rem; font-weight: 600; opacity: 0.85; }
.badge-play__text strong { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.01em; }

.badge-play--light { background: rgb(255 246 232 / 0.08); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Very narrow phones (320 px): a long button label (the Arabic "Join the beta") may wrap instead of sticking out. */
@media (max-width: 359px) {
  .btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* ---------- Navigation: a floating ivory pill ---------- */

.nav {
  position: fixed;
  top: 12px;
  inset-inline: 0;
  z-index: 40;
  width: min(100% - 2 * var(--gutter) + 16px, var(--max) + 16px);
  margin-inline: auto;
}

.nav__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 60px;
  padding: 8px;
  padding-inline-start: 14px;
  border-radius: 999px;
  background: var(--nav-glass);
  box-shadow: inset 0 0 0 1px rgb(203 166 115 / 0.35), 0 12px 32px -20px rgb(var(--shadow) / 0.45);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}

@media (prefers-reduced-transparency: reduce) {
  .nav__bar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline-end: auto;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; filter: drop-shadow(0 3px 4px rgb(var(--shadow) / 0.4)); } /* the framed tile: its own gold rim and corners */
.brand__alt { color: var(--muted); font-size: 1.05rem; font-weight: 600; }
html[lang="ar"] .brand { font-weight: 700; }

.nav__links { display: none; align-items: center; gap: 2px; }

.nav__links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}

.nav__links a:hover { background: var(--hover-wash); }

/* The language switch, as on most bilingual sites: a globe and the other language's name in its own outlined pill,
   always the last item of the bar (right on the English page, left on the Arabic one), set apart from the links and
   the menu button by a thin divider. Visible at every width, 44 px tall. */
.nav__lang {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-inline-start: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgb(74 37 69 / 0.3);
  color: var(--ink-plum);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav__lang::before {
  content: "";
  position: absolute;
  inset-block: 8px;
  inset-inline-start: -8px;
  width: 1px;
  background: rgb(74 37 69 / 0.2);
}

.nav__lang:hover { background: var(--hover-wash); box-shadow: inset 0 0 0 1.5px var(--ink-plum); }
.nav__lang:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav__globe { width: 19px; height: 19px; }
html[lang="en"] .nav__lang { font-family: var(--font-ar-system); }

@media (max-width: 359px) {
  .nav__lang { gap: 5px; margin-inline-start: 9px; padding-inline: 10px; }
  .nav__lang::before { inset-inline-start: -6px; }
}

.menu-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-plum);
  cursor: pointer;
}

.menu-btn__lines,
.menu-btn__lines::before {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--spring);
}

.menu-btn__lines { top: 19px; }
.menu-btn__lines::before { content: ""; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines::before { transform: translateY(-6px) rotate(-90deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 104px calc(var(--gutter) + 8px) 40px;
  background: var(--menu-glass);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}

.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
.menu ul { display: grid; gap: 4px; }

.menu a:not(.btn) {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.menu__foot { display: flex; flex-wrap: wrap; gap: 12px; }
html.menu-open { overflow: hidden; }

/* Eight links in the order of the page (since 2026-10-10 the Arabic «الصلاة ورمضان» comes after Safety): they fit on one line from 1200 px with 12 px
   sides (the Arabic ones are the widest: see the Manual link added 2026-10-21: eight links now, so from 1280 px); below that the menu button opens them. home.js
   closes the menu at the same width. */
.nav__links a { padding-inline: 12px; white-space: nowrap; }

@media (min-width: 480px) {
  .nav__links { display: flex; justify-content: center; min-width: 0; }
  .nav .brand { flex-shrink: 0; }
  /* priority+ (nav-more.js sets data-nav-fit on the header): all links fit, some fit and the rest sit under "More", or
     none fit and the menu button opens the full menu. Until the first measure the links stay hidden (no jump). */
  .nav:not([data-nav-fit="all"]):not([data-nav-fit="some"]) .nav__links { display: none; }
  .nav[data-nav-fit="all"] .menu-btn, .nav[data-nav-fit="all"] .menu,
  .nav[data-nav-fit="some"] .menu-btn, .nav[data-nav-fit="some"] .menu { display: none; }
}
/* Owner 2026-10-23: the "Download the beta" button stays in the bar at EVERY width (the main call to action); the text
   links fold into the menu button only when they no longer fit (see data-nav-fit, nav-more.js)  see the nav v2 block at the end. */

/* The Arabic bar is the widest: at every desktop width the brand keeps only «غالينا», so "Ghalina" never runs into the
   first link. */
@media (min-width: 480px) {
  html[lang="ar"] .nav .brand__alt { display: none; }
}
/* 1024-1279 px: the English bar is as tight, so the brand keeps only the logo and the name there too. */
@media (min-width: 480px) and (max-width: 1279px) {
  .nav .brand__alt { display: none; }
}
/* «الصلاة ورمضان» (round 3) is longer than the old «رمضان»: the Arabic links sit a little closer up to 1259 px. */
@media (min-width: 1280px) and (max-width: 1299px) {
  html[lang="ar"] .nav__links a { padding-inline: 8px; }
}

/* The language pill at the end of the bar takes about 40 px more than the old plain link: up to 1299 px the links
   come a little closer together so everything still fits on one line. */
@media (min-width: 1280px) and (max-width: 1299px) {
  .nav__links a { padding-inline: 9px; }
}

@media (max-width: 420px) {
  .brand__alt { display: none; }
}

/* ---------- Leather, gold and the photo placeholders ---------- */

.leather {
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
}

/* A photo slot: leather with a faint gold laurel until (or unless) the photo is there. */
.photo {
  position: relative;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23E2C48A' stroke-opacity='.55' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 94Q42 74 86 18M21.38 89.64Q28.87 95.06 36.65 90.09Q29.17 84.67 21.38 89.64M21.38 89.64L30.85 89.92M26.82 84.83Q32.47 78.04 28.23 70.3Q22.59 77.09 26.82 84.83M26.82 84.83L27.7 75.82M32.59 79.37Q39.73 83.82 46.49 78.82Q39.36 74.37 32.59 79.37M32.59 79.37L41.21 79.03M38.69 73.26Q43.44 66.83 39.2 60.05Q34.45 66.48 38.69 73.26M38.69 73.26L39 65.07M45.11 66.51Q51.73 70.2 57.6 65.39Q50.98 61.7 45.11 66.51M45.11 66.51L52.85 65.81M51.85 59.1Q55.86 53.15 51.8 47.24Q47.79 53.18 51.85 59.1M51.85 59.1L51.82 51.74M58.92 51.04Q64.94 54.11 70.01 49.64Q63.99 46.57 58.92 51.04M58.92 51.04L65.79 50.17M66.31 42.33Q69.69 36.96 65.93 31.85Q62.56 37.22 66.31 42.33M66.31 42.33L66.08 35.83M74.03 32.97Q79.39 35.51 83.72 31.46Q78.36 28.92 74.03 32.97M74.03 32.97L80.04 32.04M86 18Q91.19 16.35 91.56 10.92Q86.37 12.57 86 18M86 18L89.45 13.61'/%3E%3C/svg%3E") center / min(46%, 220px) no-repeat,
    var(--skin),
    var(--leather);
  background-blend-mode: normal, var(--skin-bm), normal;
}

.photo picture,
.photo img {
  width: 100%;
  height: 100%;
}

.photo img { object-fit: cover; }

.avatar {
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--av, 44px);
  height: var(--av, 44px);
  border-radius: 50%;
}

.avatar picture,
.avatar img { border-radius: 50%; }

.avatar--ring { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px #cba673, 0 6px 14px -6px rgb(var(--shadow) / 0.6); }
.avatar--big { --av: clamp(62px, 9vw, 104px); }

.laurel { position: absolute; color: #e2c48a; pointer-events: none; }

/* ---------- Phones (CSS frames around the app's real screens and clips) ---------- */

.phone {
  --pw: 280px;
  position: relative;
  width: var(--pw);
  max-width: 100%;
  padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.16) / calc(var(--pw) * 0.16);
  background: linear-gradient(150deg, #3b2b36 0%, #140d12 46%, #2b1f28 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    0 0 0 1px rgb(203 166 115 / 0.75),
    0 46px 80px -38px rgb(var(--shadow) / 0.65),
    0 18px 30px -18px rgb(30 12 26 / 0.45);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 20;
  border-radius: calc(var(--pw) * 0.13) / calc(var(--pw) * 0.13);
  background: #f2eadb;
  isolation: isolate;
}

.phone__still,
.phone__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone__video { opacity: 0; transition: opacity 0.5s var(--ease); }
.phone.is-playing .phone__video { opacity: 1; }

/* camera punch-hole in the status bar */
.phone__screen::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 1.5%;
  left: 50%;
  width: 3.2%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: #08060a;
  box-shadow: inset 0 0 0 1px #2a2228;
}

.phone__tag {
  position: absolute;
  top: -15px;
  inset-inline-start: 50%;
  translate: -50% 0;
  z-index: 3;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 8px 18px -10px rgb(var(--shadow) / 0.6);
}

[dir="rtl"] .phone__tag { translate: 50% 0; }

/* Pause / play for every moving phone (WCAG 2.2.2), added by home.js */
.phone__toggle {
  position: absolute;
  z-index: 4;
  top: calc(var(--pw) * 0.42);
  inset-inline-end: -22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--metal);
  color: var(--on-gold);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 8px 16px -8px rgb(var(--shadow) / 0.7);
  opacity: 0.92;
  transition: transform 0.4s var(--spring), opacity 0.3s;
}

.phone__toggle:hover { opacity: 1; transform: scale(1.06); }
.phone__toggle .i { width: 18px; height: 18px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: calc(var(--nav-h) + clamp(36px, 7vw, 72px)) clamp(64px, 8vw, 104px);
  overflow: clip;
}

.hero__glow {
  position: absolute;
  top: -180px;
  inset-inline: -10%;
  height: min(1400px, 170vh);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  z-index: 0;
  background:
    radial-gradient(52% 46% at 78% 32%, rgb(226 196 138 / 0.32), transparent 70%),
    radial-gradient(40% 40% at 12% 18%, rgb(239 221 235 / 0.9), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgb(242 232 228 / 0.9), transparent 70%);
  pointer-events: none;
}

[dir="rtl"] .hero__glow { transform: scaleX(-1); }

/* Dark hero, option C (owner 2026-10-21): a very soft plum vignette (a touch lighter behind the photo, deeper at the
   edges) with a sprinkle of tiny gold dust; no white or warm haze. */
[data-theme="dark"] .hero__glow {
  background:
    radial-gradient(circle at 22px 38px, rgb(233 207 154 / 0.38) 0 1px, transparent 1.8px) 0 0 / 180px 180px,
    radial-gradient(circle at 120px 96px, rgb(233 207 154 / 0.28) 0 1px, transparent 1.8px) 0 0 / 240px 240px,
    radial-gradient(circle at 64px 150px, rgb(240 220 170 / 0.3) 0 1.2px, transparent 2.2px) 0 0 / 300px 300px,
    radial-gradient(48% 52% at 66% 40%, #3d1d38, #26121f 60%, #160a13 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 95%);
}

/* Owner 2026-10-23: the hero dust drifts like the page-wide glints: slowly up and to the right at 45 degrees, about
   6 px a second (the same speed as .glints__drift), forever. The three dust tiles are 180, 240 and 300 px squares, so
   moving them 3600 px (the lowest common multiple) in 600 s loops with no seam. The element is mirrored in Arabic, so
   there the x travel is reversed to keep the physical direction. */
@media (prefers-reduced-motion: no-preference) {
  [data-theme="dark"] .hero__glow { animation: hero-dust-drift 600s linear infinite; }
  [dir="rtl"][data-theme="dark"] .hero__glow, [dir="rtl"] [data-theme="dark"] .hero__glow { animation-name: hero-dust-drift-rtl; }
}
@keyframes hero-dust-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 3600px -3600px, 3600px -3600px, 3600px -3600px, 0 0; }
}
@keyframes hero-dust-drift-rtl {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: -3600px -3600px, -3600px -3600px, -3600px -3600px, 0 0; }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(48px, 8vw, 72px);
  align-items: center;
}

.hero__copy { display: grid; gap: 24px; justify-items: start; max-width: 660px; }

.hero__title .line { display: block; }
.hero__title .line--soft {
  margin-top: 0.42em;
  color: var(--plum-ink);
  font-size: 0.56em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 750;
}
html[lang="ar"] .hero__title .line--soft { font-size: 0.6em; line-height: 1.45; letter-spacing: 0; font-weight: 600; }

.hero__lead { max-width: 40ch; }
html[lang="ar"] .hero__lead { max-width: 44ch; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .i { color: var(--gold-ink); }
.facts .facts__lead {
  padding-block: 5px;
  padding-inline: 12px 16px;
  border-radius: 999px;
  background: #f3e6cd;
  color: #3a1b36;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgb(203 166 115 / 0.6);
}
.facts .facts__lead .i { color: var(--ink-plum); }

/* Hero "Everything in one app" strip (2026-10-25 copy trim): replaces the old 12-card "Why Ghalina" carousel. */
.hstrip { margin-top: 22px; max-width: 42rem; }
.hstrip__t { margin: 0 0 10px; font-size: 0.9375rem; font-weight: 800; color: var(--gold-ink); }
.hstrip__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hstrip__chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f3e6cd;
  color: #3a1b36;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: inset 0 0 0 1px rgb(203 166 115 / 0.6);
}
.hstrip__more { margin: 12px 0 0; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
html[lang="ar"] .hstrip__chip { font-weight: 600; }

.hero__stage {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  aspect-ratio: 1 / 1.16;
}

.hero__stage .layer { position: absolute; will-change: transform; }

.hero__leather {
  z-index: 1;
  inset: 9% 0 6% 24%;
  border-radius: 36px 220px 36px 36px;
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  box-shadow:
    inset 0 0 0 2px rgb(226 196 138 / 0.65),
    inset 0 0 0 7px rgb(74 37 69 / 0.6),
    inset 0 0 0 8px rgb(226 196 138 / 0.25),
    0 40px 80px -40px rgb(var(--shadow) / 0.7);
}

[dir="rtl"] .hero__leather { inset: 9% 24% 6% 0; border-radius: 220px 36px 36px 36px; }

.laurel--a { width: 34%; aspect-ratio: 1; inset-block-end: 5%; inset-inline-end: 4%; opacity: 0.7; }
.laurel--b { width: 22%; aspect-ratio: 1; inset-block-start: 7%; inset-inline-start: 7%; opacity: 0.35; transform: rotate(180deg) scaleX(-1); }
[dir="rtl"] .laurel--a { transform: scaleX(-1); }
[dir="rtl"] .laurel--b { transform: rotate(180deg); }

.hero__photo {
  z-index: 2;
  top: 0;
  inset-inline-start: 24%;
  width: 60%;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 30px 30px;
  box-shadow: 0 0 0 1px rgb(226 196 138 / 0.9), 0 0 0 7px rgb(253 249 240 / 0.65), 0 34px 60px -30px rgb(var(--shadow) / 0.8);
}

.phone--hero {
  --pw: clamp(140px, 40vw, 210px);
  z-index: 3;
  inset-inline-start: 0;
  bottom: 0;
}

.hero__card {
  z-index: 4;
  top: 56%;
  inset-inline-end: 0;
  display: grid;
  gap: 8px;
  width: min(56%, 260px);
  padding: 12px 14px 14px;
  border-radius: 24px;
  background: rgb(253 249 240 / 0.94);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 30px 50px -26px rgb(var(--shadow) / 0.75);
}

.hero__card-label { color: var(--gold-ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }
.hero__card-row { display: flex; align-items: center; gap: 14px; }
.hero__card .avatar { --av: 52px; }
.hero__card-text { display: grid; line-height: 1.25; }
.hero__card-text strong { font-size: 1.15rem; }
.hero__card-text .ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 700; font-size: 0.95rem; }
.hero__card-text .ok .i { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #dceedf; }
.hero__card-text small { color: var(--muted); font-size: 0.85rem; }

.hero__scroll {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: clamp(32px, 5vw, 56px) auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.hero__scroll-line {
  position: relative;
  width: 1.5px;
  height: 44px;
  overflow: hidden;
  background: rgb(122 90 51 / 0.25);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--metal);
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-line::after { animation: drip 2.4s var(--ease) infinite; }
}

@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

@media (min-width: 640px) {
  .phone--hero { --pw: clamp(170px, 24vw, 220px); }
}

@media (max-width: 479px) {
  .hero__card .avatar { --av: 42px; }
  .hero__card-row { gap: 10px; }
  /* "Phone OK" / «الهاتف يعمل» on one line (from 360 px: below that it may wrap) */
  .hero__card-text .ok { font-size: 0.88rem; }
  .hero__card-text strong { font-size: 1.05rem; }
  .hero__card-text small { font-size: 0.8rem; }
}

@media (min-width: 360px) and (max-width: 479px) {
  .hero__card-text .ok { white-space: nowrap; }
}

@media (min-width: 1024px) {
  .hero { min-height: min(100svh, 980px); display: grid; align-content: center; }
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; }
  .hero__stage { width: 100%; max-width: 580px; }
  .phone--hero { --pw: clamp(180px, 15vw, 228px); }
  .hero__scroll { display: flex; flex-direction: column; }
}

/* Entrance: CSS only (the words are visible to the browser from the first paint). Owner, round 5: the hero must look
   normal at once, so the fade-in is short (at most 0.5 s, nothing waits for a scroll). */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line { animation: rise 0.45s var(--ease) both; }
  .hero__title .line:nth-child(2) { animation-delay: 0.03s; }
  .hero__title .line:nth-child(3) { animation-delay: 0.06s; }
  .hero__copy > .kicker { animation: rise 0.4s var(--ease) both; }
  .hero__copy > .lead { animation: rise 0.45s var(--ease) 0.05s both; }
  .hero__copy > .actions { animation: rise 0.45s var(--ease) 0.08s both; }
  .hero__copy > .facts { animation: rise 0.45s var(--ease) 0.1s both; }
  .hero__copy > .hstrip { animation: rise 0.45s var(--ease) 0.12s both; }
  .hero__leather { animation: fade 0.5s var(--ease) both; }
  .hero__photo { animation: rise-big 0.5s var(--ease) 0.05s both; }
  .phone--hero { animation: rise-big 0.5s var(--ease) 0.1s both; }
  .hero__card { animation: rise-big 0.5s var(--ease) 0.15s both; }
}

@keyframes rise {
  from { opacity: 0.001; translate: 0 18px; }
}

@keyframes rise-big {
  from { opacity: 0.001; translate: 0 42px; }
}

@keyframes fade {
  from { opacity: 0.001; }
}

/* ---------- Part A: understand it in a few seconds (how it works, why, the price), then the details ---------- */

/* The three sections after the hero are short and sit closer together than the detailed ones below; on a phone
   they fill about two and a half screens after the hero. */
.section--a { padding-block: clamp(25px, 4.2vw, 62px); }
.section--a .section-head { gap: 12px; margin-block-end: clamp(22px, 3.4vw, 48px); }
.section--a .h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.2rem); }
html[lang="ar"] .section--a .h2 { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.7rem); }
.section--a .lead { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); }
html[lang="ar"] .section--a .lead { font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem); }
.how.section--a { padding-block-start: clamp(28px, 4.2vw, 67px); }
.glance.section--a { padding-block-start: 0; }

/* Why families choose Ghalina: the carousel of cards (round 3, below) */

/* The price at a glance: a leather strip, the full prices are further down (#pricing) */
.price-strip {
  position: relative;
  display: grid;
  gap: 22px 40px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px) clamp(22px, 4.5vw, 56px);
  border-radius: calc(var(--r-xl) + 4px);
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  box-shadow: inset 0 0 0 2px rgb(226 196 138 / 0.55), inset 0 0 0 8px rgb(47 24 44 / 0.45), inset 0 0 0 9px rgb(226 196 138 / 0.2), 0 44px 80px -54px rgb(var(--shadow));
}

.price-strip__copy { display: grid; gap: 10px; justify-items: start; max-width: 40rem; }
.price-strip__title { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.18; letter-spacing: -0.02em; }
html[lang="ar"] .price-strip__title { font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.95rem); line-height: 1.5; letter-spacing: 0; }
.price-strip__copy p:not(.kicker) { color: var(--on-plum-muted); font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem); line-height: 1.55; }
html[lang="ar"] .price-strip__copy p:not(.kicker) { line-height: 1.8; }

.price-strip__deal { display: grid; gap: 16px; justify-items: start; align-content: center; }
.price-strip__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-strip__price strong {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.1rem, 1.7rem + 1.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
html[lang="ar"] .price-strip__price strong { font-weight: 700; letter-spacing: 0; }
.price-strip__price span { color: var(--on-plum-muted); font-weight: 700; }

.price-strip .actions { gap: 10px 18px; }
.price-strip__more { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-light); font-weight: 700; }

@media (min-width: 900px) {
  .price-strip { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .price-strip__price { flex-direction: column; align-items: flex-start; }
}

/* ---------- Peek cards: a feature with its whole phone next to or below the words ----------
   The prayer and Ramadan block (#ramadan: C10 as the night card, C11 with C3, C9; first in part B on the Arabic page,
   the last block before the prices on the English page, owner item 88) and, in the family section,
   "Mum is OK" (C8) with the home helper (F10). Phones: the words, then the whole phone below them; from 640 px the
   phone stands at the end of the card; from 960 px the three Ramadan cards sit side by side (words on top), and from
   1100 px the two family cards. The card grows to hold the phone; the space at its end keeps the clip's pause button
   inside the card. */

.pgrid { display: grid; gap: 14px; }

.pcard {
  --peek-pw: 190px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 26px 50px -40px rgb(var(--shadow) / 0.55);
}

.pcard__copy { display: grid; gap: 10px; align-content: start; padding: 22px 20px 6px; }
.pcard__head { display: flex; align-items: center; gap: 12px; }
.pcard__icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--metal);
  color: #3b2a06;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), 0 8px 16px -10px rgb(140 106 68 / 0.9);
}
.pcard h3 { font-size: 1.2rem; line-height: 1.25; }
html[lang="ar"] .pcard h3 { font-size: 1.12rem; line-height: 1.5; }
.pcard h3 .tag { margin-inline-start: 4px; }
.pcard p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
html[lang="ar"] .pcard p { font-size: 0.98rem; line-height: 1.75; }
.pcard .pcard__note { padding-top: 8px; border-top: 1px solid var(--hairline); font-size: 0.92rem; }

/* The whole phone shows, with room above for its label and below for its shadow. */
.pcard__peek { position: relative; display: flex; justify-content: center; align-items: center; padding: 38px 0 34px; }
.phone--peek { --pw: var(--peek-pw); position: relative; flex: none; }

/* C10, the most emotional benefit: the night of suhoor, leather with a few gold stars */
.pcard--night {
  isolation: isolate;
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.6), 0 30px 60px -36px rgb(var(--shadow) / 0.9);
}
/* The gold stars sit on their own layer under the content and drift up and to the right at 45 degrees, 6 px a second
   like the page glints (owner 2026-10-23). The tile is 360 x 640 px; 5760 px (lcm) in 960 s loops with no seam. */
.pcard--night::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1.6px 1.6px at 18% 22%, rgb(255 238 200 / 0.9), transparent),
    radial-gradient(1.2px 1.2px at 74% 12%, rgb(255 238 200 / 0.8), transparent),
    radial-gradient(1.4px 1.4px at 88% 38%, rgb(255 238 200 / 0.7), transparent),
    radial-gradient(1.1px 1.1px at 42% 8%, rgb(255 238 200 / 0.75), transparent),
    radial-gradient(1.3px 1.3px at 30% 64%, rgb(255 238 200 / 0.8), transparent),
    radial-gradient(1.5px 1.5px at 66% 82%, rgb(255 238 200 / 0.7), transparent);
  background-size: 360px 640px;
}
@media (prefers-reduced-motion: no-preference) {
  .pcard--night::before { animation: night-stars-drift 960s linear infinite; }
}
@keyframes night-stars-drift { from { background-position: 0 0; } to { background-position: 5760px -5760px; } }
.pcard--night p { color: var(--on-plum-muted); }
.pcard--night .pcard__note { border-top-color: rgb(226 196 138 / 0.25); }
.pcard--night .phone { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 0 1px rgb(226 196 138 / 0.9), 0 30px 60px -30px rgb(0 0 0 / 0.7); }
.pcard--night .phone__tag { background: rgb(253 249 240 / 0.96); }

.section.ramadan { padding-block: clamp(40px, 5.6vw, 84px); }
.ramadan .section-head { margin-block-end: clamp(26px, 4vw, 52px); }

/* The prayer and Ramadan features are optional, one tap on or off (owner item 88): a line with a switch under the
   block's lead. The switch's knob sits at the end of the line's direction. */
.optin {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding-block: 10px;
  padding-inline: 12px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-gold);
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}
.optin .i { width: 36px; height: 22px; color: var(--gold-ink); }
html[dir="rtl"] .optin .i { scale: -1 1; }

@media (min-width: 640px) {
  .pgrid { gap: 18px; }
  .pcard { --peek-pw: 168px; grid-template-columns: minmax(0, 1fr) auto; }
  .pcard__copy { align-content: center; padding-block: 28px; padding-inline: 28px 6px; }
  .pcard__peek { width: calc(var(--peek-pw) + 72px); }
}

@media (min-width: 960px) {
  .pgrid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pgrid--three .pcard { --peek-pw: clamp(184px, 16vw, 214px); grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .pgrid--three .pcard__copy { align-content: start; padding-block: 30px 6px; padding-inline: 28px; }
  .pgrid--three .pcard__peek { width: auto; }
}

@media (min-width: 1100px) {
  .pgrid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .pgrid--two .pcard { --peek-pw: 176px; }
}

.family .pgrid { margin-top: clamp(48px, 7vw, 88px); }

/* ---------- The SOS card (first in the safety story) ---------- */

.feature {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 30px 60px -44px rgb(var(--shadow) / 0.6);
}

.feature__copy { display: grid; gap: 14px; align-content: start; padding: clamp(28px, 4vw, 44px); }
.feature__copy p { color: var(--muted); }

.feature__list { display: grid; gap: 12px; margin-top: 2px; }
.feature__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.feature__list .i {
  width: 26px;
  height: 26px;
  padding: 6px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--metal);
  color: #3b2a06;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55);
}
.feature__list strong { color: var(--text); }

/* The whole phone shows: the clip is about the red SOS bar at the bottom of Mum's home screen. */
.feature .phone--feature {
  --pw: min(58vw, 220px);
  justify-self: center;
  margin-block: 0 76px; /* room for the ground shadow under the phone */
}

/* Inside the leather safety story: a darker pocket with a gold edge and a red glow behind the phone. */
.feature--sos {
  margin-block-end: clamp(40px, 6vw, 88px);
  background: rgb(24 9 22 / 0.32);
  color: var(--on-plum);
  box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.55), 0 40px 70px -40px rgb(0 0 0 / 0.6);
}

.feature--sos .feature__copy p { color: var(--on-plum-muted); }
.feature--sos .feature__copy .panel__kicker { color: var(--gold-light); }
.feature--sos .phone { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 0 1px rgb(226 196 138 / 0.9), 0 40px 70px -30px rgb(0 0 0 / 0.7); }

.feature--sos::after {
  content: "";
  position: absolute;
  inset-block-end: -30%;
  inset-inline-start: 50%;
  width: 70%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: none; /* no red spotlight (owner 2026-10-23) */
  pointer-events: none;
}

.feature--sos .phone { z-index: 1; }

.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }

.chain__person {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  background: rgb(255 246 232 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.4);
  font-weight: 700;
}

[dir="rtl"] .chain__person { padding: 5px 5px 5px 16px; }
.chain__person .avatar { --av: 40px; box-shadow: 0 0 0 2px #cba673; }
.chain__arrow { color: var(--gold-light); }

@media (min-width: 760px) {
  .feature--sos { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .feature--sos .feature__copy { padding-inline-end: 0; }
  .feature--sos .phone--feature { --pw: 220px; margin: 44px 48px; }
}

@media (min-width: 1100px) {
  .feature--sos .feature__copy { padding-block: 56px; padding-inline: 56px 8px; max-width: 44rem; }
  .feature--sos .feature__copy > p:not(.panel__kicker) { font-size: 1.2rem; }
  .feature--sos .phone--feature { --pw: 240px; margin: 48px 96px; }
}

/* The SOS story on two phones (owner, 2026-10-11: the main function, easy to follow): Mum's phone plays the SOS clip;
   the family's phone sleeps (dark) until her alert goes out, then plays its alarm in step; under them four short
   step captions light up one by one with the clip (home.js, data-steps = the clip's seconds of each step). Without
   the script all four steps show and each phone shows its still. */
.sosduo { position: relative; z-index: 1; display: grid; gap: clamp(18px, 3vw, 26px); justify-items: center; padding: 4px clamp(16px, 4vw, 40px) clamp(32px, 5vw, 48px); }
.duo__phones { --pairw: clamp(104px, 31vw, 158px); display: flex; align-items: flex-start; justify-content: center; padding-block-end: calc(var(--pairw) * 0.28); }
.duo__phones .phone { --pw: var(--pairw); }
/* The labels sit above the phones (owner, 2026-10-11): the hand reaches below and beside a phone, never over a label
   or the other phone; the room under the phones (padding) and beside them (the line, the card's padding) is the
   hand's. */
.duo__phones .pcol { flex-direction: column-reverse; gap: calc(var(--pairw) * 0.12); }
.duo__phones .pcap span { color: var(--on-plum-muted); font-size: 0.85rem; font-weight: 600; line-height: 1.25; max-width: calc(var(--pairw) + 22px); }
.duo__phones .bridge { flex-basis: clamp(40px, 9vw, 96px); align-self: flex-end; margin-block: 0 calc(var(--pairw) * 1.075 - 20px); } /* level with the middle of the phones (the labels are above them) */
/* The pause button under the outer corner of Mum's phone: never over the line, her screen, a label or the hand. */
.duo__phones .phone .phone__toggle { top: auto; bottom: -46px; inset-inline-start: 0; inset-inline-end: auto; width: 38px; height: 38px; }
.bridge--sos .ln { stroke: #e2c48a; }
.phone--sos { --lift: 0; }
.phone--sos::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 8%;
  top: calc(100% + var(--pw) * 0.1);
  height: calc(var(--pw) * 0.075);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.32) 60%, transparent);
  filter: blur(calc(var(--pw) * 0.03));
  pointer-events: none;
}
.duo__asleep {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  padding-block-start: 20%;
  text-align: center;
  color: #f4e9dc;
  background:
    radial-gradient(90% 50% at 50% 0%, rgb(122 74 112 / 0.5), transparent 70%),
    radial-gradient(120% 60% at 50% 115%, rgb(74 35 67 / 0.55), transparent 65%),
    linear-gradient(180deg, #1d121c, #0d080d 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.duo__asleep .lock__time { display: block; font: 300 calc(var(--pw) * 0.36)/1 "Readex Pro", system-ui, sans-serif; letter-spacing: 0.01em; text-shadow: 0 2px 14px rgb(0 0 0 / 0.45); }
.duo__asleep .lock__date { display: block; margin-block-start: calc(var(--pw) * 0.05); font: 400 calc(var(--pw) * 0.075)/1.2 "Readex Pro", system-ui, sans-serif; color: rgb(244 233 220 / 0.72); }
.duo__asleep .lock__bar { position: absolute; inset-inline: 34%; bottom: 2.4%; height: 3px; border-radius: 3px; background: rgb(244 233 220 / 0.4); }
.phone--sos-family .phone__video { opacity: 0; transition: opacity 0.35s ease; }
.duo.is-live .duo__asleep { opacity: 1; }
.duo.is-live .phone.is-awake .duo__asleep { opacity: 0; }
.sosduo.is-live .phone--sos-family.is-awake .phone__video { opacity: 1; }
.duo__steps { display: grid; gap: 8px; width: 100%; max-width: 31rem; margin: 0; padding: 0; list-style: none; }
.duo__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgb(255 246 232 / 0.05);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.28);
  color: var(--on-plum);
  font-weight: 600;
  line-height: 1.35;
  transition: opacity 0.5s ease, background-color 0.5s ease, box-shadow 0.5s ease;
}
.duo__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--metal);
  color: #3b2a06;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55);
}
.duo.is-live .duo__steps li { opacity: 0.32; }
.duo.is-live .duo__steps li.is-done { opacity: 1; }
.duo.is-live .duo__steps li.is-now { background: rgb(255 246 232 / 0.11); box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.9); }
@media (min-width: 760px) and (max-width: 1099.98px) {
  .feature--sos { grid-template-columns: minmax(0, 1fr); }
  .feature--sos .feature__copy { padding-inline-end: clamp(28px, 4vw, 44px); }
  .sosduo .duo__phones { --pairw: 170px; }
}
@media (min-width: 1100px) {
  .sosduo { padding: 48px 56px 48px 24px; }
  [dir="rtl"] .sosduo { padding: 48px 24px 48px 56px; }
  .sosduo .duo__phones { --pairw: 180px; }
  .sosduo .duo__steps { max-width: 26rem; }
}

/* Second review (2026-10-11, owner: "build it like the photo story"): the same chips, gold line, travelling item and
   soft glow on arrival as "Photos the family sends". home.js drives them from Mum's clip time: the alert (a small red
   SOS disc) leaves her phone big, shrinks and crosses the line; the family's phone wakes with a glow; when Sarah taps
   "I'm on it", her reply (her photo with a tick) crosses back and Mum's phone glows before "Sarah saw your alert". */
.duo__phones .pcap { gap: 7px; }
.sosduo .chip { color: var(--gold-light); background: rgb(212 175 106 / 0.14); border-color: rgb(226 196 138 / 0.65); }
.sfly--alert .duo__item { background: radial-gradient(circle at 35% 30%, #e0473f, #b3201c 55%, #7c1210); color: #fff; font: 800 calc(var(--tw) * 0.3)/1 "Readex Pro", system-ui, sans-serif; letter-spacing: 0.02em; }
.sfly--reply .duo__item { position: relative; background: url("/assets/photos/en/sarah-160.webp") center / cover no-repeat; }
html[lang="ar"] .sfly--reply .duo__item { background-image: url("/assets/photos/ar/sarah-160.webp"); }
.sfly--reply .duo__item::after {
  content: "";
  position: absolute;
  inset-inline-end: -12%;
  bottom: -12%;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: #2e7d32 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 0 0 0 1.5px #fff6e8;
}

/* ---------- Two-phone stories (home.js [data-duo]; docs/WEBSITE.md "Two-phone stories") ----------
   One component for "Photos the family sends", the SOS story, medicines, the fall, the suhoor wake-up and the home
   helper. At rest (no script, reduced motion) every element shows its own style: the story's end. While a story plays
   (.is-live) home.js puts .is-on on its [data-k] elements in turn and they fade in and out; data-fx="class" leaves
   the look to the element's own rules. The travelling item (.duo__fly) and the pulse glows (.duo__glow) are drawn
   inline by home.js. Layout: .duo__phones puts the labels above the phones and keeps room under and beside them for
   the owner's hand, so it never covers a label, a chip or the other phone. */
.duo [data-k]:not([data-fx]) { transition: opacity 0.5s ease; }
.duo.is-live [data-k]:not([data-fx]):not(.is-on) { opacity: 0; }
.duo.is-live [data-k]:not([data-fx]).is-on { opacity: 1; }
.duo .chip[data-k] { transition: opacity 0.5s ease, transform 0.5s ease; }
.duo.is-live .chip[data-k]:not(.is-on) { transform: translateY(6px); }
.duo.is-live .bridge svg { opacity: 0; transition: opacity 0.5s ease; }
.duo.is-live .bridge.is-on svg { opacity: 1; }
.duo__fly { --tw: clamp(24px, 4.4vw, 32px); position: absolute; top: 50%; inset-inline-start: 0; z-index: 3; width: var(--tw); height: var(--tw); margin-block-start: calc(var(--tw) / -2); margin-inline-start: calc(var(--tw) / -2); opacity: 0; pointer-events: none; }
.duo__item { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 2px #fff6e8, 0 0 0 3px var(--gold), 0 0 16px 3px rgb(233 207 154 / 0.55), 0 8px 16px -6px rgb(0 0 0 / 0.7); }
.duo__glow { position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 calc(var(--pw) * 0.14) calc(var(--pw) * 0.02) rgb(233 207 154 / 0.75); opacity: 0; pointer-events: none; }

/* Stories written by site/duo-stories.mjs (medicines, the fall, the suhoor wake-up, the home helper): real 720 x 1560
   screens stacked in each phone (the first is the start; .duo__mid = a middle state, hidden at rest), the chips of a
   phone in one place (one at a time), the travelling items as small discs. duo--light on a light card, duo--dark on
   plum leather. */
.duo--light, .duo--dark { position: relative; display: grid; gap: 18px; justify-items: center; }
.duo .phone--duo .phone__screen { aspect-ratio: 720 / 1560; container-type: inline-size; }
.duo__mid { opacity: 0; }
.duo__chips { display: grid; justify-items: center; }
.duo__chips > .chip { grid-area: 1 / 1; align-self: start; }
.duo--light .duo__phones .pcap span { color: var(--muted); }
.duo--dark .chip { color: var(--gold-light); background: rgb(212 175 106 / 0.14); border-color: rgb(226 196 138 / 0.65); }
.duo--dark .bridge .ln { stroke: #e2c48a; }
.duo--dark .phone--duo::after { background: radial-gradient(closest-side, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.32) 60%, transparent); }
.duo__item .i { width: 56%; height: 56%; }
.duo__item--gold { background: var(--metal); color: #3b2a06; }
.duo__item--red { background: radial-gradient(circle at 35% 30%, #e0473f, #b3201c 55%, #7c1210); color: #fff; }
.duo__item--green { background: radial-gradient(circle at 35% 30%, #4caf50, #2e7d32 60%, #1b5e20); color: #fff; }
.duo__item--plum { background: radial-gradient(circle at 35% 30%, #7a4a70, #4a2343 60%, #2f182c); color: var(--gold-light); }
.duo__item--img { position: relative; }
.duo__item--img img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.duo__item--tick::after {
  content: "";
  position: absolute;
  inset-inline-end: -12%;
  bottom: -12%;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: #2e7d32 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 0 0 0 1.5px #fff6e8;
}
.duo--light .duo__glow { box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 calc(var(--pw) * 0.14) calc(var(--pw) * 0.02) rgb(212 175 106 / 0.7), 0 0 22px 4px rgb(233 207 154 / 0.55); }
/* where they sit: medicines (the care block), the fall (the safety story's first panel), the suhoor and helper cards */
.care .duo { justify-self: center; }
.panel__copy .duo { justify-self: center; margin-block: 6px 0; }
.panel.panel--duo { grid-template-columns: minmax(0, 1fr); }
.pgrid .pcard.pcard--duo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
/* The words sit above the two phones across the whole card: the same air on both sides (owner, 2026-10-12). */
@media (min-width: 640px) {
  .pgrid .pcard--duo .pcard__copy { padding-inline: 28px; }
}
.pcard__duo { display: grid; justify-items: center; padding: 6px 12px 22px; }
.pcard__duo .duo__phones { --pairw: clamp(100px, 30vw, 150px); }
.pcard__duo .duo__phones .bridge { flex-basis: clamp(36px, 8vw, 72px); }
@media (min-width: 960px) {
  .care .duo { grid-area: phone; align-self: center; }
  .pgrid--three .pcard__duo .duo__phones { --pairw: clamp(112px, 9.6vw, 136px); }
  .pgrid--three .pcard__duo .duo__phones .bridge { flex-basis: clamp(32px, 3.4vw, 48px); }
}
@media (min-width: 1100px) {
  .care .duo__phones { --pairw: 170px; }
}

/* Take me home, safe zone, scam heads-up (panels of the safety story) and the low battery (a key family point), 2026-10-11 */
.point__duo { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: 100%; justify-items: center; padding: 10px 0 6px; }
.point__duo { container-type: inline-size; }
.point__duo .duo__phones { --pairw: clamp(84px, 36cqw, 140px); }
.point__duo .duo__phones .bridge { flex-basis: clamp(24px, 12cqw, 72px); }

/* The finger the page draws over a clip (home.js, from the clip's data-touches): an ivory hand with a gold edge comes
   in from the bottom corner (bottom right in English, bottom left in Arabic) and presses the free end of the bar or
   button, never its words; during the 3-second SOS hold a gold ring fills around the fingertip; a tap leaves the
   photo story's gold tap ring. */
.finger { position: absolute; inset: calc(var(--pw) * 0.03); z-index: 5; pointer-events: none; }
.duo.is-live .phone--sos-family:not(.is-awake) .finger { opacity: 0; } /* asleep: no hand on the family's phone */
.finger__hand {
  position: absolute;
  width: 22%; /* owner, 2026-10-11: about 0.21 of the screen width on these small phones */
  height: auto;
  max-width: none;
  translate: -10.8% -3%; /* the fingertip (10.8 %, 3 % of the picture) on the press */
  transform-origin: 10.8% 3%;
  opacity: 0;
  filter: drop-shadow(0 calc(var(--pw) * 0.03) calc(var(--pw) * 0.035) rgb(0 0 0 / 0.35));
  transition: filter 0.15s ease;
}
[dir="rtl"] .finger__hand { scale: -1 1; } /* from the bottom left */
.finger__hand.is-down { filter: drop-shadow(0 calc(var(--pw) * 0.01) calc(var(--pw) * 0.014) rgb(0 0 0 / 0.42)); }
.finger__ring { position: absolute; width: 13%; aspect-ratio: 1; translate: -50% -50%; opacity: 0; overflow: visible; }
.finger__ring circle { fill: none; stroke-width: 7; }
.finger__ring .track { stroke: rgb(255 246 232 / 0.4); }
.finger__ring .fill { stroke: #e9cf9a; stroke-linecap: round; filter: drop-shadow(0 0 3px rgb(233 207 154 / 0.9)); }
.finger__tap { position: absolute; width: 18%; aspect-ratio: 1; border: 2px solid var(--gold); border-radius: 50%; background: radial-gradient(closest-side, rgb(212 175 106 / 0.35), transparent); translate: -50% -50%; opacity: 0; }

/* ---------- Interlude: a window onto a photo ---------- */

.interlude { position: relative; padding-block: clamp(24px, 4vw, 48px); }

.interlude__frame {
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--max) + 120px);
  margin-inline: auto;
  height: clamp(460px, 78svh, 760px);
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}

.interlude__img {
  position: absolute;
  inset: -14% 0;
}

.interlude__img picture,
.interlude__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.interlude__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(33 13 29 / 0.88) 0%, rgb(33 13 29 / 0.4) 38%, transparent 64%);
  pointer-events: none;
}

.interlude__copy {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(28px, 6vw, 72px);
  z-index: 2;
  display: grid;
  gap: 14px;
  padding-inline: clamp(20px, 5vw, 72px);
  color: var(--on-plum);
}

@media (min-width: 900px) {
  .interlude__copy { padding-inline-end: calc(var(--gutter) + 300px); }
}

.interlude__title { max-width: 18ch; }

/* Mum's phone answers: "Sarah saw your alert" */
.phone--interlude {
  --pw: clamp(118px, 28vw, 230px);
  position: absolute;
  z-index: 3;
  top: calc(clamp(24px, 4vw, 48px) + 28px);
  inset-inline-end: calc(var(--gutter) + 4%);
}

@media (min-width: 900px) {
  .phone--interlude { top: auto; bottom: clamp(24px, 4vw, 48px); translate: 0 18%; }
  .interlude { padding-block-end: clamp(60px, 6vw, 84px); }
}
.interlude__copy .lead { color: var(--on-plum-muted); max-width: 46ch; }


/* ---------- Even without internet ---------- */

.offline__grid { display: grid; gap: 32px 64px; align-items: start; }
.offline__head { margin-bottom: 0; }

.offline__visual {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px) clamp(18px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.6), 0 40px 70px -40px rgb(var(--shadow) / 0.9);
}

.phone--offline { --pw: clamp(150px, 44vw, 210px); }

.signal { display: grid; gap: 12px; width: 100%; }
.signal__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgb(255 246 232 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.35);
  color: var(--on-plum);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.signal__step .i { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgb(255 246 232 / 0.12); color: var(--gold-light); }
.signal__step--off .i { color: #ffc2b8; }
.signal__step--call .i { background: var(--metal); color: var(--on-gold); }
.signal__step--back .i { background: #dff3e4; color: var(--ok); }

.offline__points { display: grid; gap: 22px; }
.offline__points li { position: relative; padding-inline-start: 20px; }
.offline__points li::before { content: ""; position: absolute; inset-block: 4px; inset-inline-start: 0; width: 3px; border-radius: 2px; background: var(--metal); }
.offline__points p { margin-top: 6px; color: var(--muted); }
.offline__note { max-width: 72ch; padding-top: 18px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.98rem; }

@media (min-width: 560px) {
  .offline__visual { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; }
  .phone--offline { --pw: clamp(150px, 26vw, 210px); }
}

@media (min-width: 1000px) {
  .offline__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas: "head visual" "points visual" "note note";
  }
  .offline__head { grid-area: head; }
  .offline__visual { grid-area: visual; align-self: center; }
  .offline__points { grid-area: points; }
  .offline__note { grid-area: note; }
}

/* The motion moment: no internet → calling Sarah → then James → back online (home.js arms it, once, in view). */
@media (prefers-reduced-motion: no-preference) {
  [data-signal].is-armed .signal__step {
    opacity: 0;
    translate: 0 14px;
    transition: opacity 0.6s var(--ease), translate 0.6s var(--ease);
    transition-delay: calc(var(--i) * 0.8s + 0.2s);
  }
  [data-signal].is-on .signal__step { opacity: 1; translate: 0 0; }
  [data-signal].is-on .signal__step--call .i { animation: ring 1.4s ease-out calc(var(--i) * 0.8s + 0.7s) 2 both; }
}

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgb(238 214 170 / 0.7); }
  100% { box-shadow: 0 0 0 16px rgb(238 214 170 / 0); }
}

/* ---------- Everything Ghalina does ---------- */

.all__grid { display: grid; gap: 30px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 212px), 1fr)); }
.all__group h3 { padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line-gold); }
.all__group ul { display: grid; gap: 10px; }
.all__group li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: start; font-weight: 600; line-height: 1.35; }
.all__group li .i { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-ink); }
.all__group li .tag { grid-column: 2; justify-self: start; font-style: normal; }

/* ---------- How it works: three short steps (Part A) ---------- */

/* Phones: a card per step, the words first and the whole phone at the end of the card.
   From 900 px: three columns joined by the gold line, the whole phone under each step. */
.steps {
  position: relative;
  display: grid;
  gap: 12px;
}

.steps__line { display: none; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 10px;
  overflow: hidden;
  padding-inline-start: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 22px 44px -36px rgb(var(--shadow) / 0.55);
}

.step__copy { display: grid; gap: 4px; align-content: center; padding-block: 14px; }
.step__head { display: flex; align-items: center; gap: 10px; }
.step h3 { font-size: 1.12rem; line-height: 1.25; }
html[lang="ar"] .step h3 { font-size: 1.08rem; line-height: 1.5; }
.step p { color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
html[lang="ar"] .step p { font-size: 0.95rem; line-height: 1.7; }

.step__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--metal);
  color: var(--on-gold);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), 0 8px 16px -10px rgb(140 106 68 / 0.9);
}

/* Room around the phone, and at the end for the clip's pause button. */
.step__peek { align-self: center; padding-block: 14px; padding-inline: 2px 24px; }
.step .phone--step { --pw: 76px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 0 0 1px rgb(203 166 115 / 0.75), 0 18px 30px -18px rgb(30 12 26 / 0.45); }
.step .phone--step .phone__toggle { top: 26px; width: 36px; height: 36px; inset-inline-end: -18px; }
.step .phone--step .phone__toggle .i { width: 15px; height: 15px; }

@media (min-width: 640px) {
  .step { padding-inline-start: 24px; gap: 0 18px; }
  .step__peek { padding-inline: 2px 28px; }
  .step .phone--step { --pw: 92px; }
  .step .phone--step .phone__toggle { top: 34px; width: 40px; height: 40px; inset-inline-end: -20px; }
  .step .phone--step .phone__toggle .i { width: 18px; height: 18px; }
  .step h3 { font-size: 1.25rem; }
  .step p { font-size: 1.05rem; }
}

@media (min-width: 900px) {
  /* Three columns; each step's rows line up with its neighbours' (number and title, words, phone). */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 32px; }
  .steps__line {
    display: block;
    position: absolute;
    top: 6px;
    inset-inline: 6% 6%;
    width: 88%;
    height: 90px;
    pointer-events: none;
  }
  [dir="rtl"] .steps__line { transform: scaleX(-1); }
  .step {
    grid-row: span 2;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: subgrid;
    justify-items: center;
    overflow: visible;
    padding: 0;
    background: none;
    box-shadow: none;
    text-align: center;
  }
  .step__copy { align-content: start; justify-items: center; gap: 10px; padding: 0; }
  .step__head { flex-direction: column; gap: 16px; }
  .step__num { width: 48px; height: 48px; font-size: 1.25rem; }
  .step h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.7rem); }
  html[lang="ar"] .step h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); }
  .step p { max-width: 30ch; font-size: 1.125rem; }
  html[lang="ar"] .step p { font-size: 1.0625rem; }
  /* The whole phone under the words */
  .step__peek {
    align-self: start;
    margin-top: 22px;
    padding-block: 12px 8px;
    padding-inline: 30px;
    --peek-pw: clamp(170px, 15vw, 200px);
  }
  .step .phone--step { --pw: var(--peek-pw); }
  .step .phone--step .phone__toggle { top: calc(var(--pw) * 0.42); width: 44px; height: 44px; inset-inline-end: -22px; }
}

/* ---------- The safety story: one phone, five screens ---------- */

.story {
  position: relative;
  padding-block: clamp(67px, 8.4vw, 118px);
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  isolation: isolate;
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none; /* no top spotlight (owner 2026-10-23) */
}

.story .lead { color: var(--on-plum-muted); }

.story__bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.laurel--story { width: min(60vw, 620px); aspect-ratio: 1; inset-block-end: -8%; inset-inline-end: -6%; opacity: 0.12; }
[dir="rtl"] .laurel--story { transform: scaleX(-1); }

.story__grid { display: grid; gap: 40px; }
.story__device { display: none; }

.panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-block: 26px;
  border-top: 1px solid rgb(226 196 138 / 0.22);
}

.panel:first-child { border-top: 0; }
.panel .phone--panel { --pw: min(36vw, 170px); }
.panel__copy { display: grid; gap: 10px; }
.panel__copy p { color: var(--on-plum-muted); }
.panel__kicker { color: var(--gold-light); font-weight: 700; }
.panel__copy .panel__fine { padding-top: 10px; border-top: 1px solid rgb(226 196 138 / 0.25); color: rgb(234 219 229 / 0.85); font-size: 0.95rem; }

.story .tag { background: var(--metal); color: var(--on-gold); }

.story__note {
  max-width: 70ch;
  margin-top: clamp(40px, 6vw, 72px);
  color: rgb(234 219 229 / 0.82);
  font-size: 0.95rem;
}

@media (max-width: 559px) {
  .panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .panel .phone--panel { --pw: min(56vw, 220px); }
}

@media (min-width: 960px) {
  .story__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
  .story__device { display: block; }
  .story__sticky {
    position: sticky;
    top: calc(50svh - 330px);
    display: grid;
    justify-items: center;
    gap: 20px;
    padding-block: 24px;
  }
  .panel { grid-template-columns: 1fr; min-height: 76svh; align-content: center; border-top: 0; padding-block: 40px; }
  .panel .phone--panel { display: none; }
  .panel__copy { max-width: 30rem; }
  .panel .h3 { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.6rem); }
  .panel__copy p { font-size: 1.2rem; }
  .panel { opacity: 0.38; transition: opacity 0.6s var(--ease); }
  .panel.is-active { opacity: 1; }
}

.phone--story { --pw: clamp(240px, 22vw, 290px); }

.story__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}

.story__screen.is-active { opacity: 1; transform: none; }

.story__whose {
  position: relative;
  display: grid;
  height: 34px;
}

.story__whose span {
  grid-area: 1 / 1;
  justify-self: center;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgb(255 246 232 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.5);
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.story[data-active="0"] [data-whose="0"],
.story[data-active="1"] [data-whose="1"],
.story[data-active="2"] [data-whose="2"],
.story[data-active="3"] [data-whose="3"],
.story[data-active="4"] [data-whose="4"],
.story[data-active="5"] [data-whose="5"],
.story:not([data-active]) [data-whose="0"] { opacity: 1; }

.story__dots { display: flex; gap: 10px; }
.story__dots li { width: 8px; height: 8px; border-radius: 99px; background: rgb(226 196 138 / 0.35); transition: width 0.5s var(--ease), background 0.5s; }
.story[data-active="0"] .story__dots li:nth-child(1),
.story[data-active="1"] .story__dots li:nth-child(2),
.story[data-active="2"] .story__dots li:nth-child(3),
.story[data-active="3"] .story__dots li:nth-child(4),
.story[data-active="4"] .story__dots li:nth-child(5),
.story[data-active="5"] .story__dots li:nth-child(6),
.story:not([data-active]) .story__dots li:nth-child(1) { width: 28px; background: var(--gold); }

/* ---------- Everyday: the bento ---------- */

.bento { display: grid; gap: 18px; }

.tile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 26px 50px -40px rgb(var(--shadow) / 0.55);
}

.tile__body { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3.4vw, 36px); }
.tile__body p, .tile > p { color: var(--muted); }
.tile__icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--metal); color: #3b2a06; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55); }

.tile .phone--tile { --pw: min(46vw, 190px); justify-self: center; margin-block: 36px 44px; }

.tile--photos .tile__photo { aspect-ratio: 4 / 3; }
.tile--photos .tile__photo img { object-position: 50% 35%; }

.tile--voice {
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
}

.tile--voice .tile__body p { color: var(--on-plum-muted); }

.voices { display: grid; gap: 6px; align-content: end; padding: 0 clamp(24px, 3.4vw, 36px) clamp(24px, 3.4vw, 36px); }
.voices li { font-size: 1.05rem; font-weight: 700; color: var(--on-plum-muted); }
.voices .say { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; color: var(--on-plum); }
.voices .say--gold { color: var(--gold-light); }
.voices [lang="ar"] { font-weight: 700; letter-spacing: 0; }

.themes {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(8px, 2vw, 22px);
  padding: 36px 12px 44px;
}

.themes .phone--mini { --pw: min(25vw, 150px); }
.themes .phone--mini:nth-child(2) { translate: 0 -18px; }

.tile--small { gap: 10px; align-content: start; padding: clamp(24px, 3.4vw, 36px); }

/* A phone she can use (E1, E2, E8, E9): the first tile, across the whole bento from 760 px, Mum's home pages clip. */
.tile--home .tile__body { gap: 14px; }
.tile--home .feature__list { margin-top: 6px; }
.tile--home .phone--tile { margin-block: 36px 44px; }

/* E10: Mum changes a photo herself (the `mum-photo` clip), the last tile, across the whole bento from 760 px. */
.tile--change .tile__body { align-content: center; }
/* The whole phone shows; the space above and below leaves room for the phone's float (motion.js, up to 36 px). */
.tile--change .phone--tile { margin-block: 36px 44px; }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile--photos { grid-column: 1 / span 12; }
  .tile--call { grid-column: 1 / span 6; }
  .tile--voice { grid-column: 7 / span 6; }
  .tile--themes { grid-column: 1 / span 12; }
  .tile--small { grid-column: 1 / -1; }
  .tile--photos { grid-template-columns: minmax(0, 1fr); }
  .tile--photos .tile__photo { aspect-ratio: 16 / 8; }
  .tile--themes { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .tile--themes { align-items: center; }
  .tile--themes .themes { padding-block: 44px; }
  .tile--change { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .tile--change .tile__body { max-width: 40rem; align-self: center; }
  .tile--change { align-items: center; }
  .tile--change .phone--tile { --pw: 170px; margin-block: 44px; margin-inline: 0 48px; }
  .tile--home { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .tile--home .tile__body { max-width: 44rem; align-self: center; }
  .tile--home .phone--tile { --pw: 200px; margin-block: 44px; margin-inline: 0 56px; }
}

@media (min-width: 1100px) {
  .tile--home { grid-row: 1; }
  .tile--home .tile__body { padding-block: 48px; padding-inline: 48px 0; }
  .tile--home .phone--tile { --pw: 220px; margin-inline: 0 96px; }
  .tile--photos { grid-column: 1 / span 7; grid-row: 2 / span 2; }
  .tile--photos .tile__photo { aspect-ratio: 16 / 8; }
  .tile--call { grid-column: 8 / span 5; grid-row: 2; grid-template-columns: minmax(0, 1fr) auto; }
  .tile--call { align-items: center; }
  .tile--call .phone--tile { --pw: 160px; margin-block: 44px; margin-inline: 0 24px; }
  .tile--voice { grid-column: 8 / span 5; grid-row: 3; }
  .tile--themes { grid-column: 1 / span 8; grid-row: 4 / span 2; }
  .tile--small { grid-column: 9 / span 4; grid-row: 4 / span 2; }
  .tile--change { grid-row: 6; }
}

.care {
  display: grid;
  gap: 24px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.care__intro { display: grid; gap: 12px; max-width: 46rem; }
.care__intro p { color: var(--muted); }

/* The medicine reminder on Mum's phone (C1, C2) */
.phone--care { --pw: min(50vw, 190px); justify-self: center; margin-block: 8px 4px; }

.care__list { display: grid; gap: 22px 40px; }
.care__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.care__list .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--surface); color: var(--ink-plum); box-shadow: inset 0 0 0 1px var(--line-gold); }
.care__list strong { display: block; font-size: 1.15rem; margin-bottom: 2px; }
.care__list p { color: var(--muted); }

@media (min-width: 760px) {
  .care__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .care {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "intro phone" "list phone";
    gap: 32px 64px;
    align-items: start;
  }
  .care__intro { grid-area: intro; }
  .care__list { grid-area: list; }
  .phone--care { grid-area: phone; align-self: center; --pw: 220px; margin: 0 16px; }
}

/* ---------- The family ---------- */

.family__grid { display: grid; gap: clamp(48px, 7vw, 88px); align-items: center; }

.family__media { position: relative; padding-block-end: 70px; }

.family__photo {
  aspect-ratio: 16 / 11;
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 30px 60px -40px rgb(var(--shadow) / 0.7);
}

.family__photo [data-parallax-img] { position: absolute; inset: -13% 0; }
.family__photo [data-parallax-img] picture,
.family__photo [data-parallax-img] img { width: 100%; height: 100%; object-fit: cover; }

.phone--family {
  --pw: clamp(130px, 30vw, 200px);
  position: absolute;
  bottom: 0;
  inset-inline-end: 6%;
}

.points { display: grid; gap: 26px 36px; margin-top: 36px; }
.point { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 6px; align-content: start; padding-top: 18px; border-top: 1px solid var(--hairline); }
.point p { color: var(--muted); }

@media (min-width: 640px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .family__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.elders {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 26px 50px -40px rgb(var(--shadow) / 0.5);
}

.elders__copy { display: grid; gap: 10px; max-width: 44ch; }
.elders__copy p { color: var(--muted); }
.elders__people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px clamp(10px, 3vw, 26px); }
.elders__people li { display: grid; justify-items: center; gap: 10px; font-weight: 700; }

@media (min-width: 900px) {
  .elders { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ---------- Privacy: the vault ---------- */

.vault {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 84px) clamp(22px, 6vw, 84px);
  border-radius: calc(var(--r-xl) + 8px);
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  box-shadow: inset 0 0 0 2px rgb(226 196 138 / 0.55), inset 0 0 0 9px rgb(47 24 44 / 0.5), inset 0 0 0 10px rgb(226 196 138 / 0.22), 0 50px 90px -60px rgb(var(--shadow));
}

.vault .lead { color: var(--on-plum-muted); }

/* The head of the vault and Mum's phone saying yes first (the approval clip, F4 / P4) */
.vault__top { position: relative; display: grid; gap: 32px 56px; justify-items: center; margin-block-end: clamp(44px, 6vw, 72px); }
.vault__top .section-head { margin-block-end: 0; justify-self: stretch; }
.phone--vault { --pw: clamp(150px, 40vw, 200px); margin-top: 14px; }
.vault .phone--vault { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 0 1px rgb(226 196 138 / 0.9), 0 40px 70px -30px rgb(0 0 0 / 0.7); }

@media (min-width: 900px) {
  .vault__top { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .phone--vault { --pw: 210px; margin-block: 16px 0; margin-inline: 0 24px; }
}
.laurel--vault { width: min(46vw, 420px); aspect-ratio: 1; inset-block-start: -4%; inset-inline-end: -4%; opacity: 0.16; transform: rotate(90deg); }

.promises { position: relative; display: grid; gap: 28px 56px; }
.promise { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: start; align-content: start; }
.promise__mark { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; margin-top: 2px; border-radius: 50%; background: var(--metal); color: var(--on-gold); }
.promise__mark .i { width: 16px; height: 16px; }
.promise p { grid-column: 2; color: var(--on-plum-muted); }

.vault__fine { position: relative; max-width: 72ch; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(226 196 138 / 0.25); color: rgb(234 219 229 / 0.85); font-size: 0.98rem; }
.vault__link { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--gold-light); font-weight: 700; }

@media (min-width: 820px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Pricing ---------- */

.plans { display: grid; gap: 22px; align-items: start; max-width: 1080px; margin-inline: auto; }

.plan {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline), 0 26px 50px -40px rgb(var(--shadow) / 0.5);
}

.plan__name { font-size: 1.5rem; }
.plan__sub { color: var(--muted); }

.plan--pass {
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  box-shadow: inset 0 0 0 2px rgb(226 196 138 / 0.7), 0 50px 80px -50px rgb(var(--shadow) / 0.95);
}

.plan--pass .plan__sub, .plan--pass .checks li { color: var(--on-plum-muted); }
.plan--pass .price span { color: var(--on-plum-muted); }
.plan--pass .checks .i { color: var(--gold-light); }

.plan__ribbon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; align-items: center; color: var(--gold-light); font-weight: 700; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price strong { font-size: clamp(2.75rem, 2rem + 2.4vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
html[lang="ar"] .price strong { letter-spacing: 0; font-weight: 700; }
.price span { color: var(--muted); font-weight: 700; }
.plan--pass .price strong { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { margin-top: 4px; color: var(--ink-plum); }

/* Short bullet lists inside cards, tiles and details: one benefit per line. */
.checks--tight { gap: 8px; }
.checks--tight li { gap: 10px; color: var(--muted); }
.checks--tight .i { margin-top: 5px; }
.checks--light li { color: var(--on-plum-muted); }
.checks--light .i { color: var(--gold-light); }
.story__head .checks { max-width: 40rem; font-size: 1.1rem; }
.promise .checks { grid-column: 2; }

.plans__foot { max-width: 760px; margin: 32px auto 0; color: var(--muted); font-size: 1rem; text-align: center; }

/* Local currency (currency.js): the "Prices in" menu and the Google Play line under the pricing intro. */
.cur-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 14px; color: var(--muted); font-size: 0.98rem; }
.cur-pick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--g-gap-label); margin-top: 0; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); font-weight: 700; color: var(--text); transition: max-height .3s ease, opacity .3s ease, transform .3s ease, margin-top .3s ease; }
.cur-pick.is-open { max-height: 120px; margin-top: 12px; padding: 6px 4px; opacity: 1; transform: none; overflow: visible; }
.cur-pick[hidden] { display: none; }
.cur-change { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; border-radius: 8px; transition: color .25s ease, box-shadow .25s ease; }
.cur-change[hidden] { display: none; }
.cur-change:hover, .cur-change:focus-visible { color: var(--text); box-shadow: 0 0 0 3px var(--hover-wash); }
.price__code { font-size: 0.42em; font-weight: 700; letter-spacing: 0; margin-inline-end: 0.25em; }
html[lang="ar"] .price__code { margin-inline: 0.3em 0; }

/* Free first (what stays without buying), then Single, then Family; one column on phones and tablets. */
.plans__trial { margin: 0 auto 28px; }
.plan--free .price strong { color: var(--ink-plum); }
.plan__note { padding-top: 16px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.98rem; }

@media (min-width: 720px) {
  .plans { max-width: 960px; grid-template-columns: 1fr 1fr; }
  .plans .free-band { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .plans { max-width: 1180px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: stretch; }
  .plans .free-band { grid-column: auto; }
}

/* Always-free card: the third card in the plans row, compact. */
.plan.free-band {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  padding: clamp(24px, 3vw, 34px);
  text-align: start;
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  box-shadow: inset 0 0 0 2px rgb(226 196 138 / 0.7), 0 40px 70px -50px rgb(var(--shadow) / 0.9);
}
.free-band__kicker { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }
html[lang="ar"] .free-band__kicker { letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
/* Gradient text is clipped to its own box: the padding and the taller line keep tall and hanging letters (Arabic too) whole. */
.free-band__title { padding-block: 0.12em 0.2em; font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem); font-weight: 800; line-height: 1.3; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ar"] .free-band__title { padding-block: 0.2em 0.3em; line-height: 1.6; }
.free-band__list { display: grid; gap: 10px; font-size: 1rem; line-height: 1.45; color: var(--on-plum-muted); }
.free-band__list li { display: flex; gap: 12px; align-items: flex-start; }
.free-band__list .i { flex: none; width: 1.15em; height: 1.15em; margin-top: 0.2em; color: var(--gold-light); }
.free-band__close { align-self: end; width: 100%; margin-top: 6px; padding-top: 16px; border-top: 1px solid rgb(226 196 138 / 0.45); font-size: 1.1rem; font-weight: 800; line-height: 1.4; color: var(--gold-light); }

/* ---------- Help (owner approved 2026-10-25; design/help-layout/): one bar "Search | Ask Ghalina", 4 topic tiles, the guide card ----------
   Prefix hlp- (docs/WEBSITE_NAMES.md section 17). assets/js/help.js: accordion + "More (N)", the search over the 32 answers and the
   manual index, the Ask half (drives the real assistant box, assets/js/assistant.js, kept hidden as the engine), sticky bar, deep links.
   Light is the default; dark = glass plum with a gold rim. The Ask trim is a rotating conic square inside an overflow-hidden clip
   (no @property), so it also turns in WebKit and in app webviews. */
.help {
  --hlp-top: calc(var(--nav-h) + 6px);   /* the sticky bar sits under the floating navigation */
  --hlp-glass-fill: linear-gradient(160deg, rgb(255 253 247 / 0.92), rgb(248 241 225 / 0.78));
  --hlp-glass-sheen: radial-gradient(130% 85% at 0% 0%, rgb(255 255 255 / 0.6), transparent 55%);
  --hlp-glass-edge: inset 0 0 0 1px rgb(160 120 62 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.9);
  --hlp-glass-drop: 0 24px 48px -36px rgb(60 25 55 / 0.55);
  --hlp-pool: radial-gradient(closest-side, rgb(255 252 244 / 0.95) 0%, rgb(255 249 235 / 0.7) 50%, rgb(255 246 228 / 0.3) 78%, transparent 100%);
  --hlp-bar: linear-gradient(160deg, rgb(252 248 238 / 0.94), rgb(244 235 214 / 0.94));
  --hlp-row: rgb(74 37 69 / 0.035);
  --hlp-row-hov: rgb(212 175 106 / 0.2);
  --hlp-mark: rgb(212 175 106 / 0.5);
  --hlp-text-shadow: none;
  content-visibility: visible;
  contain-intrinsic-size: none;
  overflow-x: clip;
}
[data-theme="dark"] .help {
  --hlp-glass-fill: linear-gradient(160deg, rgb(78 40 72 / 0.26), rgb(36 16 32 / 0.4));
  --hlp-glass-sheen: radial-gradient(130% 85% at 0% 0%, rgb(255 236 205 / 0.11), transparent 55%), linear-gradient(115deg, transparent 34%, rgb(255 246 232 / 0.035) 44%, transparent 56%);
  --hlp-glass-edge: inset 0 0 0 1px rgb(226 196 138 / 0.4), inset 0 1px 0 rgb(255 246 232 / 0.2), inset 0 -40px 60px -50px rgb(0 0 0 / 0.45);
  --hlp-glass-drop: 0 30px 60px -34px rgb(0 0 0 / 0.75);
  --hlp-pool: radial-gradient(closest-side, color-mix(in srgb, var(--g-surface-2) 92%, transparent) 0%, color-mix(in srgb, var(--g-surface) 70%, transparent) 50%, color-mix(in srgb, var(--g-surface) 30%, transparent) 78%, transparent 100%);
  --hlp-bar: linear-gradient(160deg, rgb(70 34 64 / 0.86), rgb(34 15 30 / 0.9));
  --hlp-row: rgb(255 246 232 / 0.045);
  --hlp-row-hov: rgb(233 207 154 / 0.13);
  --hlp-mark: rgb(212 175 106 / 0.38);
  --hlp-text-shadow: 0 1px 2px rgb(20 6 18 / 0.45);
}
html[dir="rtl"][data-theme="dark"] .help {
  --hlp-glass-fill: linear-gradient(200deg, rgb(78 40 72 / 0.26), rgb(36 16 32 / 0.4));
  --hlp-glass-sheen: radial-gradient(130% 85% at 100% 0%, rgb(255 236 205 / 0.11), transparent 55%), linear-gradient(245deg, transparent 34%, rgb(255 246 232 / 0.035) 44%, transparent 56%);
}
.help .wrap { width: min(100% - 2 * var(--gutter), 1120px); }
.hlp-engine { display: none; }
.hlp-bar[data-noai] .hlp-seg { display: none; }
.hlp-qa__h { margin: 0; font-size: inherit; }
.hlp-arr { width: 20px; height: 20px; flex: none; }
.hlp-link .hlp-arr { width: 16px; height: 16px; }
html[dir="rtl"] .hlp-arr { transform: scaleX(-1); }
.hlp-sentinel { height: 1px; }
.hlp-ibtn--mic[hidden] { display: none; }
.hlp-mrow { display: grid; gap: 4px; padding: 12px 16px; border-radius: 18px; background: var(--hlp-row); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; transition: background-color var(--hv-out) ease-out, box-shadow var(--hv-out) ease-out; }
.hlp-mrow:hover, .hlp-mrow:focus-visible { background: var(--hlp-row-hov); box-shadow: inset 0 0 0 1.5px var(--gold); transition-duration: var(--hv-in); outline: none; }
.hlp-mrow__s { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hlp-note { color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.hlp-note a { color: var(--ink-plum); }
.hlp-ritem.is-flash, .hlp-qa.is-flash { animation: hlp-flash 1.6s ease both; }
@keyframes hlp-flash { 0%, 60% { box-shadow: inset 0 0 0 2.5px var(--gold), 0 0 0 5px rgb(212 175 106 / 0.3); } 100% { box-shadow: inset 0 0 0 1.5px var(--line-gold); } }

/* ===== AFTER: the new help section (code names hlp-*) ===== */
.hl { padding-block: clamp(28px, 4vw, 56px) clamp(36px, 5vw, 72px); overflow-x: clip; }
.hlp-alias { position: absolute; }
.hlp-intro { display: grid; gap: 10px; justify-items: start; margin-bottom: 18px; }

/* the one bar: two halves + input; sticky while the help section scrolls */
.hlp-bar { position: sticky; top: var(--hlp-top); z-index: 30; padding-block: 6px; isolation: isolate; }
/* while stuck (or open) a page-coloured strip hides the content scrolling under the bar */
.hlp-bar::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset-block: 0 -16px; left: 50%; width: 100vw; transform: translateX(-50%); background: linear-gradient(to bottom, var(--bg) 0, var(--bg) calc(100% - 26px), transparent); opacity: 0; transition: opacity .3s ease; }
.hlp-bar.is-stuck::before { inset-block-start: calc(-1 * var(--hlp-top)); }
.hlp-bar.is-stuck::before, .hlp-bar.is-open::before { opacity: 1; }
.hlp-bar__card {
  position: relative; display: grid; gap: 8px; padding: 8px; border-radius: 28px;
  background: var(--hlp-glass-sheen), var(--hlp-bar);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: var(--hlp-glass-edge), var(--hlp-glass-drop);
  transition: box-shadow .26s ease;
}
.hlp-bar.is-open .hlp-bar__card, .hlp-bar__card:focus-within { box-shadow: var(--hlp-glass-edge), 0 0 0 3px rgb(212 175 106 / 0.28), var(--hlp-glass-drop); }
.hlp-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 3px; border-radius: 999px; background: var(--hlp-row); box-shadow: inset 0 0 0 1px var(--hairline); isolation: isolate; }
.hlp-seg::before {
  content: ""; position: absolute; z-index: -1; inset-block: 3px; inset-inline-start: 3px; width: calc(50% - 6px); border-radius: 999px;
  background: var(--metal);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), inset 0 0 0 1px rgb(140 106 68 / 0.4), 0 8px 16px -8px rgb(0 0 0 / 0.65), 0 2px 3px rgb(0 0 0 / .25);
  transition: transform .38s var(--ease);
}
.hlp-seg[data-mode="ask"]::before { transform: translateX(calc(100% + 6px)); }
[dir="rtl"] .hlp-seg[data-mode="ask"]::before { transform: translateX(calc(-100% - 6px)); }
.hlp-seg button { box-shadow: inset 0 0 0 1px var(--line-gold); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 3px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 1rem; font-weight: 700; cursor: pointer; transition: color .26s ease; white-space: nowrap; }
.hlp-seg button:hover { color: var(--text); }
.hlp-seg button[aria-pressed="true"] { color: #2a1236; box-shadow: none; font-weight: 800; }
.hlp-seg button[aria-pressed="false"] { background: rgb(255 246 232 / 0.03); }
.hlp-t2 { display: grid; justify-items: center; line-height: 1.15; min-width: 0; }
.hlp-aitag { font-size: .6875rem; font-weight: 700; letter-spacing: .02em; color: var(--gold-ink); opacity: .95; white-space: nowrap; transition: color .3s ease; }
html[lang="ar"] .hlp-aitag { font-size: .75rem; letter-spacing: 0; }
.hlp-aitag b { font-weight: inherit; } .hlp-aitag .s { display: none; }
@media (max-width: 400px) { .hlp-aitag .l { display: none; } .hlp-aitag .s { display: inline; } }
.hlp-seg button[aria-pressed="true"] .hlp-aitag { color: #4a2545; }
.hlp-seg svg { width: 20px; height: 20px; flex: none; }
/* AI trim = the site's assistant box edge (assistant.css .ask__glow): 2px conic edge plum > gold > champagne, 7 s linear
   turn, blurred copy as soft glow (blur 14, 35%), gold breathing halo (5.5 s). Done with a rotating pseudo-square inside an
   overflow-hidden rounded clip (no @property needed), so it also moves in WebKit / Safari / app webviews. */
[data-hlp-trim] { position: relative; isolation: isolate; }
.hlp-trw { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s ease; --hlp-tw: 2px; }
[data-hlp-trim="always"] > .hlp-trw, .hlp-bar[data-mode="ask"] [data-hlp-trim="ask"] > .hlp-trw { opacity: 1; }
[data-hlp-trim="always"] { --hlp-tw: 1.5px; }
.hlp-tr { position: absolute; border-radius: inherit; overflow: hidden; }
.hlp-tr > i { position: absolute; left: 50%; top: 50%; width: 118%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, #4a2545 0deg, #6b3a63 50deg, #d4af6a 110deg, #f3e2bf 150deg, #d4af6a 190deg, #6b3a63 250deg, #4a2545 360deg); }
.hlp-tr--ring { inset: 0; z-index: 3; padding: var(--hlp-tw);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; }
.hlp-tr--halo { inset: 3px; z-index: -1; filter: blur(14px); opacity: .17; }
[data-hlp-trim="always"] .hlp-tr--halo { inset: 2px; filter: blur(7px); opacity: .2; }
.hlp-tr--breath { inset: 0; z-index: -1; box-shadow: 0 0 22px 2px rgb(212 175 106 / 0.55); opacity: .4; }
[data-hlp-trim="always"] .hlp-tr--breath { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hlp-tr > i { animation: hlp-rot 7s linear infinite; }
  .hlp-tr--breath { animation: hlp-breathe 5.5s ease-in-out infinite; }
  .hlp-bar[data-mode="ask"] .hlp-field > svg { animation: hlp-pulse 2.6s ease-in-out infinite; }
}
@keyframes hlp-rot { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hlp-breathe { 50% { opacity: .75; } }
@keyframes hlp-pulse { 50% { filter: drop-shadow(0 0 11px rgb(243 213 138 / 1)) drop-shadow(0 0 3px rgb(212 175 106 / .9)); } }
@supports not ((mask-composite: exclude) or (-webkit-mask-composite: xor)) { .hlp-tr--ring { display: none; } }
.hlp-bar[data-mode="ask"] .hlp-field > svg { color: #b8862f; filter: drop-shadow(0 0 6px rgb(212 175 106 / 0.9)); }
[data-theme="dark"] .hlp-bar[data-mode="ask"] .hlp-field > svg { color: #f3d58a; }
.hlp-field > svg { transition: color .4s ease, filter .4s ease; }
.hlp-seg button[data-hlp-trim] { position: relative; }
.hlp-field { position: relative; display: flex; align-items: center; gap: 4px; min-height: 56px; padding-inline: 16px 6px; border-radius: 999px; background: var(--hlp-row); box-shadow: inset 0 0 0 1.5px var(--line-gold); transition: box-shadow .26s ease, background-color .26s ease; }
.hlp-field:focus-within { box-shadow: inset 0 0 0 2.5px var(--gold); background: var(--hlp-row-hov); }
.hlp-field > svg { width: 24px; height: 24px; flex: none; color: var(--gold-ink); }
.hlp-input { flex: 1; min-width: 0; width: 100%; height: 50px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 1.0625rem; outline: none; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }
.hlp-input::placeholder { color: var(--muted); opacity: 0.8; }
.hlp-input::-webkit-search-cancel-button { display: none; }
.hlp-ibtn { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-plum); cursor: pointer; transition: opacity .22s ease, background-color .22s ease, box-shadow .22s ease, color .22s ease; }
.hlp-ibtn svg { width: 22px; height: 22px; }
.hlp-ibtn:hover, .hlp-ibtn:focus-visible { background: var(--hover-wash); box-shadow: inset 0 0 0 1.5px var(--gold); }
.hlp-ibtn--clear { opacity: 0; pointer-events: none; }
.hlp-ibtn--clear.is-on { opacity: 1; pointer-events: auto; }
.hlp-ibtn--send { background: var(--metal); color: var(--on-gold); opacity: 0; pointer-events: none; height: 46px; }
.hlp-ibtn--send:hover, .hlp-ibtn--send:focus-visible { background: var(--metal); filter: brightness(1.06); }
.hlp-bar[data-mode="ask"] .hlp-field:has(.hlp-input:not(:placeholder-shown)) .hlp-ibtn--send { opacity: 1; pointer-events: auto; width: 46px; }
.hlp-ibtn--clear:not(.is-on), .hlp-ibtn--send { overflow: hidden; padding: 0; }
/* collapsed (width 0) icon buttons keep no icon box, so nothing is clipped inside them (audit-clip) */
.hlp-ibtn--clear:not(.is-on) svg, .hlp-ibtn--send svg { display: none; }
.hlp-bar[data-mode="ask"] .hlp-field:has(.hlp-input:not(:placeholder-shown)) .hlp-ibtn--send svg { display: block; }
.hlp-ibtn--clear:not(.is-on) { width: 0; }
.hlp-ibtn--send { width: 0; transition: opacity .22s ease, width .22s ease; }
[dir="rtl"] .hlp-ibtn--send svg { transform: scaleX(-1); }

/* results / AI panel, under the bar */
.hlp-panel { position: absolute; inset-inline: 0; top: calc(100% + 8px); z-index: 2; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .24s ease, transform .3s var(--ease), visibility 0s linear .3s; }
.hlp-panel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hlp-panel__in {
  max-height: min(62vh, 560px); max-height: min(62dvh, 560px); overflow: auto; overscroll-behavior: contain; display: grid; gap: 10px; padding: 14px; border-radius: 24px;
  background: var(--hlp-glass-sheen), var(--hlp-bar);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: var(--hlp-glass-edge), 0 34px 60px -30px rgb(0 0 0 / 0.7);
  text-shadow: var(--hlp-text-shadow);
}
.hlp-count { padding: 0 4px; color: var(--muted); font-size: 0.9375rem; font-weight: 700; }
.hlp-res { display: grid; gap: 8px; }
.hlp-ritem { display: grid; gap: 6px; padding: 14px 16px; border-radius: 18px; background: var(--hlp-row); box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--hv-out) ease-out, box-shadow var(--hv-out) ease-out; }
.hlp-ritem:hover { background: var(--hlp-row-hov); box-shadow: inset 0 0 0 1.5px var(--gold); transition-duration: var(--hv-in); }
.hlp-ritem__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hlp-ritem__q { font-weight: 700; font-size: 1.0625rem; line-height: 1.4; }
.hlp-tag { padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-gold); color: var(--gold-ink); font-size: 0.8125rem; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.hlp-ritem__a { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.hlp-ritem:hover .hlp-ritem__a { color: var(--text); }
.help mark { background: var(--hlp-mark); color: inherit; border-radius: 4px; padding: 0 2px; }
.hlp-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 2px 6px; margin-inline-start: -6px; border-radius: 8px; font-size: 0.9375rem; font-weight: 700; color: var(--ink-plum); text-decoration: none; transition: background-color var(--hv-out) ease-out, color var(--hv-out) ease-out; }
.hlp-link:hover, .hlp-link:focus-visible { background: var(--hlp-row-hov); transition-duration: var(--hv-in); }
.hlp-link svg { width: 16px; height: 16px; flex: none; }
[dir="rtl"] .hlp-link svg { transform: scaleX(-1); }
.hlp-none { padding: 6px 4px; font-weight: 700; }
.hlp-askrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--hlp-row); box-shadow: inset 0 0 0 1.5px var(--line-gold); color: var(--text); font-weight: 700; text-align: start; cursor: pointer; transition: background-color var(--hv-out) ease-out, box-shadow var(--hv-out) ease-out, color var(--hv-out) ease-out; }
.hlp-askrow:hover, .hlp-askrow:focus-visible { background: var(--plum); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.6); transition-duration: var(--hv-in); }
.hlp-askrow svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.hlp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hlp-chips__l { flex: 1 1 100%; color: var(--muted); font-size: 0.9375rem; font-weight: 700; }
.hlp-chip { min-height: 44px; padding: 6px 16px; border: 0; border-radius: 999px; background: var(--hlp-row); box-shadow: inset 0 0 0 1.5px var(--line-gold); color: var(--text); font-size: 1rem; font-weight: 600; text-align: start; cursor: pointer; transition: background-color var(--hv-out) ease-out, color var(--hv-out) ease-out, box-shadow var(--hv-out) ease-out; }
.hlp-chip:hover, .hlp-chip:focus-visible { background: var(--plum); color: var(--gold-light); transition-duration: var(--hv-in); }

/* AI conversation */
.hlp-q-bubble { justify-self: end; max-width: 92%; padding: 10px 16px; border-radius: 20px 20px 6px 20px; background: var(--hlp-row-hov); box-shadow: inset 0 0 0 1px var(--line-gold); font-weight: 600; overflow-wrap: anywhere; }
[dir="rtl"] .hlp-q-bubble { border-radius: 20px 20px 20px 6px; }
.hlp-typing { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 20px 20px 20px 6px; background: var(--hlp-row); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
[dir="rtl"] .hlp-typing { border-radius: 20px 20px 6px 20px; }
.hlp-dots { display: inline-flex; gap: 5px; }
.hlp-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: hlp-dot 1.1s ease-in-out infinite; }
.hlp-dots i:nth-child(2) { animation-delay: .16s; } .hlp-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes hlp-dot { 0%, 70%, 100% { opacity: .3; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-4px); } }
.hlp-aitag { display: grid; gap: 10px; animation: hlp-in .45s var(--ease); }
@keyframes hlp-in { from { opacity: 0; transform: translateY(8px); } }
/* answer card = the site's assistant answer (assistant.css .ask__answer) */

/* topics */
.hlp-topics { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 22px; }
.hlp-topics::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -56px calc(-1 * var(--gutter) - 24px); background: var(--hlp-pool); }
@media (min-width: 760px) { .hlp-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } .hlp-topics::before { inset: -80px -110px; } }
.hlp-tile { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: var(--r-lg); background: var(--hlp-glass-sheen), var(--hlp-glass-fill); -webkit-backdrop-filter: blur(2px) saturate(1.1); backdrop-filter: blur(2px) saturate(1.1); box-shadow: var(--hlp-glass-edge), var(--hlp-glass-drop); text-shadow: var(--hlp-text-shadow); min-width: 0; }
.hlp-tile__head { display: flex; align-items: center; gap: 14px; padding-inline: 2px; }
.hlp-tile__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--hlp-row); box-shadow: inset 0 0 0 1.5px var(--line-gold); color: var(--gold-ink); }
.hlp-tile__ico svg { width: 26px; height: 26px; }
.hlp-tile__t { font-size: 1.3rem; line-height: 1.25; color: var(--text); }
html[lang="ar"] .hlp-tile__t { line-height: 1.5; }
.hlp-tile__s { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.hlp-list { display: grid; gap: 8px; }
.hlp-qa { border-radius: 18px; background: var(--hlp-row); box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--hv-out) ease-out, box-shadow var(--hv-out) ease-out; }
.hlp-qa:hover, .hlp-qa:has(.hlp-qa__btn:focus-visible) { background: var(--hlp-row-hov); box-shadow: inset 0 0 0 1.5px var(--gold); transition-duration: var(--hv-in); }
.hlp-qa.is-open { box-shadow: inset 0 0 0 1.5px var(--line-gold), 0 14px 30px -24px rgb(0 0 0 / 0.5); }
.hlp-qa__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px 10px 16px; border: 0; border-radius: 18px; background: transparent; text-align: start; cursor: pointer; }
[dir="rtl"] .hlp-qa__btn { padding: 10px 16px 10px 14px; }
.hlp-qa__btn:focus-visible { outline: none; }
.hlp-qa__q { flex: 1; min-width: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.4; }
.hlp-pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-gold); transition: background-color var(--hv-out) ease-out, box-shadow var(--hv-out) ease-out; }
.hlp-pm::before, .hlp-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--gold-ink); transition: transform .3s var(--spring), background-color var(--hv-out) ease-out; }
.hlp-pm::after { transform: rotate(90deg); }
.hlp-qa.is-open .hlp-pm, .hlp-qa:hover .hlp-pm { background: var(--plum); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.5); }
.hlp-qa.is-open .hlp-pm::before, .hlp-qa.is-open .hlp-pm::after, .hlp-qa:hover .hlp-pm::before, .hlp-qa:hover .hlp-pm::after { background: #f3dba6; }
.hlp-qa.is-open .hlp-pm::after { transform: rotate(0deg); }
.hlp-roll { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .3s var(--ease), opacity .26s ease, visibility 0s linear .3s; }
.is-open > .hlp-roll, .hlp-roll.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.hlp-roll__in { overflow: hidden; min-height: 0; }
.hlp-qa__a { padding: 0 16px; color: var(--muted); font-size: 1.0625rem; }
.hlp-qa .hlp-link { margin: 6px 10px 12px; }
.hlp-extra__list { display: grid; gap: 8px; padding-top: 8px; }

/* full guide */
.hlp-guide > * { min-width: 0; }
.hlp-guide { --lx: -300px; --ly: -120px; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 22px; padding: clamp(16px, 3vw, 30px); border-radius: var(--r-lg); background: var(--skin), var(--leather); background-blend-mode: var(--skin-bm), normal; color: var(--on-plum); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.55), inset 0 1px 0 rgb(255 246 232 / 0.2), 0 30px 60px -34px rgb(0 0 0 / 0.7); }
.hlp-guide::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(90% 120% at 0% 0%, rgb(255 236 205 / 0.12), transparent 60%); }
[dir="rtl"] .hlp-guide::before { background: radial-gradient(90% 120% at 100% 0%, rgb(255 236 205 / 0.12), transparent 60%); }
.hlp-guide__k { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-weight: 700; }
.hlp-guide__k svg { width: 26px; height: 26px; }
.hlp-guide__t { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); line-height: 1.15; color: var(--on-plum); }
html[lang="ar"] .hlp-guide__t { line-height: 1.5; }
.hlp-guide__p { color: var(--on-plum-muted); }
.hlp-guide__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.hlp-guide__stats li { padding: 3px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(233 207 154 / 0.6); color: var(--gold-light); font-size: 0.9375rem; font-weight: 700; }
.hlp-guide .btn { margin-top: 4px; max-width: 100%; white-space: normal; text-align: center; }
.hlp-guide__side .btn { width: 100%; }
@media (min-width: 820px) {
  .hlp-guide { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 32px; }
  .hlp-guide__body { display: grid; gap: 10px; }
  .hlp-guide .btn { margin-top: 0; }
}
.hlp-guide__body { display: grid; gap: 10px; }
.hlp-guide__side { display: grid; gap: 14px; justify-items: stretch; }
.hlp-art { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border-radius: 22px; background: rgb(255 246 232 / 0.06); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.4); color: var(--gold-light); }
.hlp-art figure { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 4px; }
.hlp-art figure svg { width: min(100%, 92px); height: auto; aspect-ratio: 84 / 64; filter: drop-shadow(0 0 8px rgb(212 175 106 / .35)); }
.hlp-art figcaption { max-width: 100%; white-space: nowrap; text-align: center; font-size: .875rem; font-weight: 700; color: var(--on-plum); line-height: 1.2; }
.hlp-art__plus { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(233 207 154 / .7); }
.hlp-art__plus svg { width: 18px; height: 18px; }
@media (max-width: 360px) { .hlp-art figcaption { font-size: .78rem; } .hlp-art { gap: 4px; padding-inline: 6px; } .hlp-art__plus { width: 26px; height: 26px; } }

/* the one thin line */
.hlp-still { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 1rem; text-align: center; }
.hlp-still a { font-weight: 700; color: var(--ink-plum); padding: 4px 6px; border-radius: 8px; transition: background-color var(--hv-out) ease-out; }
.hlp-still a:hover, .hlp-still a:focus-visible { background: var(--hlp-row-hov); transition-duration: var(--hv-in); }

/* Help switch (2026-10-29): the same two-option switch as the hero (.hmode), for who the answers are about.
   [data-hlp-for] items (family-only answers, Solo wording) leave the page with the hidden attribute. */
.hlp-hmode { margin: 6px 0 0; width: 100%; max-width: 30rem; }
@media (max-width: 480px) { .hlp-hmode .hmode__opt { padding: 6px 8px; font-size: 0.8125rem; } }
.help [data-hlp-for][hidden] { display: none !important; }
.hlp-tile[hidden], .hlp-more[hidden], .hlp-roll[hidden] { display: none; }

@media (max-width: 400px) {
  .hlp-input { font-size: 1rem; }
  .hlp-field { padding-inline: 12px 4px; }
  .hlp-tile { padding: 14px; } .hlp-qa__btn { padding: 10px 12px 10px 14px; } [dir="rtl"] .hlp-qa__btn { padding: 10px 14px 10px 12px; }
  .hlp-qa__a { padding: 0 14px; } .hlp-seg button { font-size: 0.95rem; gap: 6px; padding-inline: 6px; }
  .hlp-panel__in { padding: 10px; } .hlp-ritem { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hlp-roll, .hlp-panel, .hlp-seg::before { transition-duration: .01s; }
  .hlp-dots i, .hlp-ans { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
  [data-theme="dark"] .help { --hlp-glass-fill: linear-gradient(160deg, #3a1d35, #2a1426); --hlp-bar: linear-gradient(160deg, #3a1d35, #2a1426); }
  .hlp-tile, .hlp-bar__card, .hlp-panel__in { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (hover: none) { .hlp-qa:hover { box-shadow: inset 0 0 0 1px var(--line); background: var(--hlp-row); } }


/* ---------- Footer (option A2, owner 2026-10-24) ----------
   Slogan, then brand | "Try Ghalina" glass box | "Peace of mind" (3 points) | "Write to us"; at the bottom the (c), the
   required links in one quiet row right after it, and the AI-photo note. One size and weight per row: titles 13 px
   small caps (Arabic 15 px), body 1rem / 400-500, bottom row 14 px / 500. The big hands-and-heart mark sits in the
   bottom corner at 8% (mirrored in Arabic) with a warm light under the heart's tip that breathes (2 s up, 2 s down,
   dims to 78%), also under reduced motion (owner's wish). The trademark line lives on the privacy pages. */

.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 72px 44px;
  background: var(--skin), linear-gradient(180deg, #2f182c, #1e0f1c);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum-muted);
  box-shadow: inset 0 1px 0 rgb(226 196 138 / 0.4);
}
.footer > .wrap { position: relative; z-index: 1; }
.brand--light { color: var(--on-plum); }
.brand--light .brand__alt { color: var(--on-plum-muted); }
.footer .brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.footer .brand__name { display: inline; } /* the top bar hides its name on small phones; the footer keeps it */
.footer :focus-visible { outline-color: var(--gold); }

.footer h2 { margin: 0; color: var(--gold-light); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; line-height: 1.4; }
html[lang="ar"] .footer h2 { font-size: 0.9375rem; letter-spacing: 0; text-transform: none; }
.footer ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer__ico { width: 20px; height: 20px; flex: none; }

/* text links fade to gold with a soft underline: 120 ms in, 200 ms out */
.footer__mail a, .footer__links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--hv-out, 0.2s) ease-out, text-decoration-color var(--hv-out, 0.2s) ease-out;
}
.footer__mail a:hover, .footer__mail a:focus-visible, .footer__links a:hover, .footer__links a:focus-visible {
  color: var(--gold-light);
  text-decoration-color: rgb(233 207 154 / 0.7);
  transition-duration: var(--hv-in, 0.12s);
}

.footer__grid { display: grid; grid-template-columns: 1fr; gap: 44px 32px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand p, .footer__grid section p { margin: 0; max-width: 36ch; color: var(--on-plum-muted); font-size: 1rem; font-weight: 400; line-height: 1.6; }
.footer__grid section { display: grid; gap: 14px; align-content: start; }

.footer__try {
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: radial-gradient(120% 140% at 50% 0%, rgb(212 175 106 / 0.15), rgb(212 175 106 / 0.03) 65%, transparent);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.3), 0 14px 40px rgb(0 0 0 / 0.22), 0 0 48px rgb(212 175 106 / 0.07);
}
.footer__try .btn { justify-self: start; margin-top: 4px; }

.footer__trust li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--on-plum); font-size: 1rem; font-weight: 400; line-height: 1.5; }
.footer__trust .footer__ico { margin-top: 1px; color: var(--gold-light); }
.footer__grid .footer__mail { display: flex; align-items: center; gap: 10px; color: var(--gold-light); }
.footer__mail a { color: var(--gold-light); font-size: 1rem; font-weight: 500; }

.footer__legal {
  display: grid;
  gap: 10px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(226 196 138 / 0.22);
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgb(234 219 229 / 0.72);
}
.footer__legal p { margin: 0; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px; } /* links right after the (c): the watermark corner stays empty */
.footer__links ul { display: flex; flex-wrap: wrap; gap: 8px 0; }
.footer__links li { display: flex; align-items: center; }
.footer__links li + li::before { content: ""; width: 3px; height: 3px; margin-inline: 14px; border-radius: 50%; background: rgb(212 175 106 / 0.6); }
.footer__links a, .footer__copy { color: var(--on-plum-muted); font-size: 0.875rem; font-weight: 500; }

/* the hands-and-heart watermark and its breathing warm light */
@property --footer-wmglow { syntax: "<number>"; inherits: false; initial-value: 1; }
.footer__wm {
  position: absolute;
  z-index: 0;
  inset-block-end: calc(min(360px, 70vw) * -0.25); /* the wrists go below the footer's bottom edge: only hands and heart show */
  inset-inline-end: -50px;
  width: min(360px, 70vw);
  aspect-ratio: 1;
  pointer-events: none;
  user-select: none;
}
[dir="rtl"] .footer__wm { transform: scaleX(-1); }
.footer__wm img { display: block; width: 100%; height: 100%; opacity: 0.08; }
.footer__wmglow { /* owner 2026-10-24: only a thin warm line on the heart's lower edge (traced image, same canvas as the watermark) */
  position: absolute;
  inset: 0;
  background: url("/assets/img/footer-heart-rim.webp?v=1") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: calc(var(--footer-wmglow) * 0.2); /* owner: as faint as the 8% heart, never brighter than it */
}
@keyframes footer-wmglow { 0%, 100% { --footer-wmglow: 1; } 50% { --footer-wmglow: 0.5; } }
/* owner 2026-10-24: it always breathes, also with reduced motion (Windows "animation effects" off): it is a very gentle light, nothing moves */
.footer__wmglow { animation: footer-wmglow 4s ease-in-out infinite; }

@media (min-width: 640px) and (max-width: 1099px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1.15fr 1.3fr 1fr; gap: 40px 48px; }
  .footer__try { margin-top: -22px; }
}
@media (max-width: 639px) {
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .footer__links ul { gap: 10px 24px; }
  .footer__links li + li::before { display: none; }
}

/* ---------- Footer "Follow us" row + the YouTube Launch animation (owner 2026-10-25; script assets/js/fsoc.js; names in docs/WEBSITE_NAMES.md section 16) ---------- */
.footer .fsoc-h { margin-top: 10px; }
.fsoc { display: flex; gap: 14px; margin-top: 6px; }
.fsoc__btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; font: inherit; color: var(--gold); background: rgb(255 255 255 / 0.06); -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; cursor: pointer; text-decoration: none; backdrop-filter: blur(6px); will-change: transform;
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.38), inset 0 1px 0 rgb(255 255 255 / 0.12), 0 6px 16px rgb(0 0 0 / 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease; }
.fsoc__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fsoc__btn:hover, .fsoc__btn:focus-visible { transform: translateY(-3px); color: var(--gold-light); background: rgb(212 175 106 / 0.14); outline: none;
  box-shadow: inset 0 0 0 1px rgb(233 207 154 / 0.7), 0 0 18px rgb(212 175 106 / 0.55), 0 0 36px rgb(212 175 106 / 0.25), 0 10px 20px rgb(0 0 0 / 0.3); }
.fsoc__btn[aria-disabled="true"] { cursor: default; }
.fsoc__tip { position: absolute; inset-block-end: calc(100% + 10px); inset-inline-start: 50%; translate: -50% 0; padding: 3px 10px; border-radius: 999px; background: #1a0b18; color: var(--gold-light); font-size: 0.75rem; font-weight: 700; white-space: nowrap; box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
[dir="rtl"] .fsoc__tip { translate: 50% 0; }
.fsoc__btn[aria-disabled="true"]:hover .fsoc__tip, .fsoc__btn[aria-disabled="true"]:focus-visible .fsoc__tip { opacity: 1; }
.fsoc__btn.fsoc-gone { opacity: 0; transition: none; pointer-events: none; }
.fsoc__btn.fsoc-back { animation: fsoc-refill 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes fsoc-refill { from { opacity: 0; transform: scale(0.3); } 60% { opacity: 1; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }

/* the flying button and its effects (created by fsoc.js on <body>; transform and opacity only) */
.fsoc-ghost { position: fixed; z-index: 2100; left: 0; top: 0; width: 44px; height: 44px; margin: 0; pointer-events: none; will-change: transform, opacity; transform-origin: 50% 50%; }
.fsoc-ghost > * { position: absolute; inset: 0; margin: auto; will-change: transform, opacity; }
.fsoc-shell { border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgb(95 48 90 / 0.95), rgb(40 18 38 / 0.95)); box-shadow: inset 0 0 0 2px #e9cf9a, 0 0 22px rgb(212 175 106 / 0.7), 0 0 44px rgb(212 175 106 / 0.35); }
.fsoc-line { width: 22px; height: 22px; fill: none; stroke: #e9cf9a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fsoc-logo { width: 34px; height: 24px; opacity: 0; filter: drop-shadow(0 0 8px rgb(255 60 60 / 0.5)); }
.fsoc-logo svg, .fsoc-frag svg { display: block; }
.fsoc-frag { z-index: 3; opacity: 0; }
.fsoc-frag svg { filter: drop-shadow(0 0 4px rgb(212 175 106 / 0.6)); }
.fsoc-ring { position: fixed; z-index: 2099; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgb(233 207 154 / 0.85); box-shadow: 0 0 18px rgb(212 175 106 / 0.7); pointer-events: none; will-change: transform, opacity; opacity: 0; }
.fsoc-piece { position: fixed; z-index: 2099; left: 0; top: 0; width: 28px; height: 20px; pointer-events: none; will-change: transform, opacity; }
.fsoc-piece svg { display: block; }
.fsoc-spark { position: fixed; z-index: 2098; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: radial-gradient(circle, #fff6d8, #e9cf9a 45%, rgb(212 175 106 / 0) 72%); pointer-events: none; will-change: transform, opacity; }
.fsoc-flash { position: fixed; z-index: 2101; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #fff3c8 25%, rgb(255 90 70 / 0.55) 55%, rgb(255 60 40 / 0) 72%); pointer-events: none; will-change: transform, opacity; opacity: 0; }
.fsoc-pill { position: fixed; z-index: 2200; top: 18px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 90vw; padding: 10px 20px; border-radius: 999px; background: linear-gradient(180deg, #ecd5a2, #d4af6a); color: #2f182c; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.6); opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity 0.3s, transform 0.3s; }
.fsoc-pill.fsoc-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reduced motion: still pictures, no smooth scroll, nothing moves ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__stage .layer { will-change: auto; }
  .footer .footer__wmglow { animation-duration: 4s !important; animation-iteration-count: infinite !important; } /* the footer glow keeps breathing (owner 2026-10-24) */
}

/* Frames that cycle through several people (assets/js/rotate.js): the photos are stacked and crossfade. Without the
   script, or with reduced motion, only the first photo shows (the others are not even fetched). */
[data-rotate] > picture:not(:first-of-type) { position: absolute; inset: 0; opacity: 0; }
[data-rotate].is-rot > picture { position: relative; z-index: 1; opacity: 0; transition: opacity 0s linear 1.5s; }
[data-rotate].is-rot > picture:not(:first-of-type) { position: absolute; }
[data-rotate].is-rot > picture.is-on { z-index: 2; opacity: 1; transition: opacity 1.4s ease-in-out; }
[data-rotate]:not(.is-rot) > picture:not(:first-of-type) { display: none; }
@media (prefers-reduced-motion: reduce) {
  [data-rotate] > picture:not(:first-of-type) { display: none !important; }
}

/* ---------- Information flow (2026-10-07): scenes, the family list, the helper steps, who sees what, the matrix ---------- */

/* "Why families choose": a short, calm scene above each answer */
.why-card .why-card__scene { color: var(--gold-ink); font-weight: 700; font-style: italic; }
html[lang="ar"] .why-card .why-card__scene { font-style: normal; }
.why-card--sos .why-card__scene { color: var(--gold-light); }

/* Medicines: its own section now */
.medicines .care { margin-top: 0; }
.medicines .care__intro .kicker { margin-bottom: 4px; }

/* The family: "What you can do from your phone" */
.points__title { margin-top: 32px; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; color: var(--gold-ink); }
.points__title + .points { margin-top: 14px; }
.point--key { padding: 18px 20px 20px; border-top: 0; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-gold); }
@media (min-width: 640px) { .point--key { grid-column: 1 / -1; } }

/* The home helper or nurse in four steps */
.helper-steps {
  display: grid;
  gap: 20px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-xl);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.helper-steps__list { display: grid; gap: 14px; counter-reset: none; }
.helper-steps__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.helper-steps__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--metal); color: var(--on-gold); font-weight: 800; }
.helper-steps__list p { padding-top: 5px; }
.helper-steps__privacy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding-top: 18px; border-top: 1px solid var(--hairline); color: var(--muted); }
.helper-steps__privacy .i { width: 22px; height: 22px; margin-top: 2px; color: var(--ink-plum); }
@media (min-width: 900px) {
  .helper-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .helper-steps__list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .helper-steps__list p { padding-top: 0; }
}

/* Privacy: who sees what */
.whosees { position: relative; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgb(226 196 138 / 0.25); }
.whosees__title { color: var(--gold-light); margin-bottom: 16px; }
.whosees__list { display: grid; gap: 14px; }
.whosees__list li { padding: 16px 18px; border-radius: var(--r-md); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.3); }
.whosees__list strong { display: block; color: var(--on-plum); margin-bottom: 4px; }
.whosees__list p { color: var(--on-plum-muted); }
@media (min-width: 820px) { .whosees__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pricing: the feature matrix and "pay once" (compact; never wider than the phone) */
.matrix, .vs { max-width: 960px; margin: clamp(40px, 6vw, 72px) auto 0; }
.matrix__title, .vs__title { text-align: center; }
.matrix__trial {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 22px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  background: var(--metal);
  color: var(--on-gold);
  font-weight: 800;
  text-align: center;
}
.matrix__table, .vs__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 0.95rem;
  line-height: 1.35;
}
.vs__table { margin-top: 18px; }
.matrix__table th, .matrix__table td, .vs__table th, .vs__table td { padding: 10px 6px; border-bottom: 1px solid var(--hairline); vertical-align: middle; overflow-wrap: break-word; hyphens: auto; }
.matrix__table tbody tr:last-child > *, .vs__table tbody tr:last-child > * { border-bottom: 0; }
.matrix__table thead th, .vs__table thead th { font-size: 0.86rem; font-weight: 800; text-align: center; vertical-align: bottom; line-height: 1.2; }
.matrix__table thead th, .vs__table thead th { overflow-wrap: normal; hyphens: manual; }
@media (max-width: 420px) { .matrix__table thead th, .vs__table thead th { padding-inline: 2px; font-size: 0.78rem; } }
.matrix__table thead small { display: block; margin-top: 3px; font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.matrix__table thead .is-best, .vs__table thead .is-best { background: var(--plum); color: var(--on-plum); }
.matrix__table thead .is-best small { color: var(--gold-light); }
.matrix__table tbody th, .vs__table tbody th { padding-inline-start: 14px; text-align: start; font-weight: 600; }
.matrix__table td, .vs__table td { text-align: center; font-weight: 700; font-size: 0.85rem; }
.matrix__table td small { display: block; font-weight: 600; color: var(--muted); font-size: 0.74rem; }
.matrix__table td:last-child, .vs__table td:nth-child(2) { background: rgb(212 175 106 / 0.12); }
.matrix__table .is-yes .i, .vs__table .is-yes .i { width: 18px; height: 18px; color: var(--ok); vertical-align: middle; }
.matrix__table .is-no, .vs__table .is-no { color: var(--muted); }
.matrix__group th { padding: 12px 14px 8px; background: var(--bg-2); color: var(--gold-ink); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; text-align: start; }
html[lang="ar"] .matrix__group th { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.matrix__table .tag { font-size: 0.66rem; padding: 2px 6px; margin-inline-start: 4px; }
.matrix__note { margin-top: 14px; color: var(--muted); font-size: 0.95rem; text-align: center; }
.matrix__table thead td { width: 46%; }
.vs__table thead td { width: 34%; }
.vs__table thead th { font-size: 0.78rem; }
@media (min-width: 640px) {
  .matrix__table, .vs__table { font-size: 1rem; }
  .matrix__table th, .matrix__table td, .vs__table th, .vs__table td { padding: 12px 12px; }
  .matrix__table thead th, .vs__table thead th { font-size: 0.95rem; }
  .matrix__table td, .vs__table td { font-size: 0.95rem; }
  .matrix__table tbody th, .vs__table tbody th { padding-inline-start: 22px; }
  .matrix__table thead td { width: 50%; }
  .vs__table thead td { width: 40%; }
}

/* ---------- Visual first (2026-10-07, owner: "not every user will read that long page"): a picture, a short line,
   big numbers and checklists; the longer text is one tap away under "More details" ---------- */

/* "More details" */
.more__body { display: grid; gap: 10px; padding-block: 12px 6px; color: var(--muted); font-size: 1rem; }
.more__body p { color: inherit; }
.more__body { text-align: start; }
.story .more__body { color: var(--on-plum-muted); }
.offline__points .more, .point .more, .pcard .more { margin-top: 2px; }

/* Big numbers (only where they are true: the SOS hold, the time to cancel, the fall check) */
.stats { display: flex; flex-wrap: wrap; gap: 10px; }
.stats li {
  display: grid;
  gap: 4px;
  flex: 1 1 108px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}
.stats strong { display: flex; align-items: baseline; gap: 4px; color: var(--ink-plum); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stats small { font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }
.stats span { color: var(--muted); font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.panel__copy .stats li { flex: 0 1 260px; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.3); }
.panel__copy .stats strong { color: var(--gold-light); }
.panel__copy .stats span { color: var(--on-plum-muted); }
@media (max-width: 559px) {
  /* the story's panels are centred on phones */
  .panel__copy .stats { justify-content: center; }
  .panel__copy .stats li { justify-items: center; }
  .panel__copy .more, .panel__copy .ticks { justify-self: center; }
  .panel__copy .ticks li { text-align: start; }
}

/* Checklists of short labels */
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 700; line-height: 1.4; }
.ticks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--metal); color: var(--on-gold); }
.ticks--light li { color: var(--on-plum); }

/* The stock films (Pexels): rounded like the photos, the poster first, playing only on screen (home.js) */
.film { position: relative; margin: 0; }
.film__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line-gold), 0 34px 60px -40px rgb(var(--shadow) / 0.65);
  isolation: isolate;
}
.film__still, .film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__video { opacity: 0; transition: opacity 0.6s var(--ease); }
.film.is-playing .film__video { opacity: 1; }
.film__tag {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px;
  max-width: calc(100% - 92px);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(253 249 240 / 0.94);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 8px 18px -10px rgb(var(--shadow) / 0.6);
}
.film .phone__toggle { top: auto; inset-block-end: 12px; inset-inline-end: 12px; }

/* Easy for your parents: the head with the film */
.everyday__head { display: grid; gap: 28px; margin-block-end: clamp(40px, 6vw, 72px); }
.everyday__head .section-head { margin-block-end: 0; }
@media (min-width: 900px) {
  .everyday__head { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 56px; }
}

/* A big photo next to a short headline (Take me home, brothers and sisters, privacy) */
.feature-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line-gold), 0 30px 60px -40px rgb(var(--shadow) / 0.7);
}
.feature-photo picture, .feature-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-photo--wide { aspect-ratio: 16 / 9; }
.feature-photo--dark { background: rgb(255 255 255 / 0.06); box-shadow: 0 0 0 1px rgb(226 196 138 / 0.6), 0 34px 60px -34px rgb(0 0 0 / 0.75); }
.panel__copy .feature-photo, .feature__copy .feature-photo { margin: 0 0 8px; }
.tile .feature-photo { margin: 0 0 8px; }
.tile--small .feature-photo { margin-bottom: 14px; }
.vault__top .feature-photo { max-width: 34rem; }

/* Medicines: the hook line (the two-phone story replaced the drawn reminder, 2026-10-11) */
.care__intro .care__hook { color: var(--text); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); font-weight: 700; line-height: 1.4; }



/* The home helper: the film beside the four steps */
.helper-steps__body { display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) {
  .helper-steps--film { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
  .helper-steps--film .helper-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The "Each of you chooses your alerts" point carries its own clip */
.point--clip { display: grid; gap: 16px; justify-items: start; align-items: center; }
.phone--point { --pw: clamp(140px, 42vw, 170px); justify-self: center; }
@media (min-width: 640px) {
  .point--clip { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  .phone--point { justify-self: end; }
}

/* ---------- Cleanup 2026-10-10: plain labels and simpler blocks ---------- */

/* "Coming soon to Google Play": a quiet label, never shaped like a store button */
.soon { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 0.98rem; font-weight: 600; }
.soon::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.soon--light { color: var(--on-plum-muted); }

/* A paid feature ("With a plan"), tagged where it is first shown */
h3 .tag { margin-inline-start: 4px; font-size: 0.75rem; }

/* Without internet: one phone, no steps beside it */
@media (min-width: 560px) {
  .offline__visual--solo { grid-template-columns: 1fr; justify-items: center; }
}
.offline__head .feature-photo { margin-top: 8px; }

/* Easy to use: four cards (home across, then call and voice side by side, then colours across) */
@media (min-width: 1100px) {
  .bento--four .tile--call { grid-column: 1 / span 6; grid-row: 2; }
  .bento--four .tile--voice { grid-column: 7 / span 6; grid-row: 2; }
  .bento--four .tile--themes { grid-column: 1 / -1; grid-row: 3; }
}
.bento__note { max-width: 62ch; margin: 24px auto 0; color: var(--muted); text-align: center; }

/* Pricing table: a word beside every tick and cross */
.matrix__table .is-no .x { font-weight: 800; }


/* ---------- Round 2 (2026-10-10): offline arrow, expanders, beta download steps ---------- */

/* Without internet: two phones side by side (SOS, and the Take me home arrow) */
.offline__visual--duo { grid-template-columns: repeat(2, auto); justify-content: center; justify-items: center; gap: clamp(14px, 3vw, 28px); padding-inline: clamp(14px, 3vw, 44px); }
.offline__visual--duo .phone--offline { --pw: clamp(118px, 33vw, 190px); }
.offline__more { justify-self: start; }
@media (min-width: 1000px) {
  .offline__grid { grid-template-areas: "head visual" "points visual" "more visual"; }
  .offline__more { grid-area: more; }
}

.vault .more__body, .pcard--night .more__body { color: var(--on-plum-muted); }
.more__list { display: grid; gap: 6px; padding-inline-start: 1.3em; list-style: disc; }
.more__list li::marker { color: var(--gold); }
.vault .more { margin-top: 24px; }


/* ---------- Round 3 (owner, 2026-10-10): the "why" carousel, Ghalina stays the home screen, new-app alerts,
   the scroll cue and "More details" that roll open ---------- */

/* The sideways parallax (motion.js) moves titles, films and phones a little past the edge: each section clips it,
   so the page never scrolls sideways (clip, unlike hidden, keeps the safety story's sticky phone working). */
main > section { overflow-x: clip; }

/* What does Ghalina do for your parents? A row of cards that drifts slowly in the reading direction (home.js); a
   finger, a trackpad or a mouse moves it, and each card leads to its part of the page. Without the script it is a
   plain row that scrolls sideways. */
.why .section-head { margin-block-end: clamp(16px, 2.4vw, 32px); }
.why__rail {
  /* Owner 2026-10-23: the cards end exactly on the page edge, the same vertical line as the photo panels below (the
     .interlude__frame width), at every window width and in both directions. Only a hairline of soft fade, inside that
     line; the old 80 px fade started well inside the page. */
  --fade: 18px;
  width: min(100% - 2 * var(--gutter), var(--max) + 120px);
  margin-inline: auto;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 10px 28px;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.why__rail::-webkit-scrollbar { display: none; }
.why__rail.is-dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.why__rail.is-dragging .why-card { pointer-events: none; }
.why__track { display: flex; gap: clamp(12px, 1.6vw, 20px); width: max-content; margin: 0; padding: 0; list-style: none; }
.why__item { flex: none; display: flex; width: clamp(240px, 70vw, 300px); }

.why-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0 22px 24px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 22px 40px -32px rgb(var(--shadow) / 0.6);
  color: inherit;
  text-decoration: none;
  -webkit-user-drag: none;
  transition: translate 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.why-card:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px var(--line-gold), 0 30px 44px -30px rgb(var(--shadow) / 0.7); }
.why-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.why-card__media {
  display: block;
  flex: none;
  aspect-ratio: 16 / 10;
  margin-inline: -22px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-gold);
  background: var(--line);
}
.why-card__media picture,
.why-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; pointer-events: none; }
/* A real screen of the app, peeking out of a leather band */
.why-card__media--screen {
  display: flex;
  justify-content: center;
  padding-top: 18px;
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
}
.why-card__media--screen img {
  width: 46%;
  height: auto;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 5px #1d1219, 0 0 0 6px rgb(226 196 138 / 0.55);
}
/* An icon on the leather band, for cards that have no photo or app screen yet */
.why-card__media--glyph {
  display: grid;
  place-items: center;
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--gold-light);
}
.why-card__media--glyph .i { width: 64px; height: 64px; stroke-width: 1.5; }
.why-card__icon {
  flex: none;
  position: relative;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  padding: 12px;
  border-radius: 50%;
  background: var(--metal);
  color: #3b2a06;
  box-shadow: 0 0 0 4px var(--surface), inset 0 1px 0 rgb(255 255 255 / 0.55), 0 8px 16px -10px rgb(140 106 68 / 0.9);
}
.why-card h3 { font-size: 1.2rem; line-height: 1.3; }
html[lang="ar"] .why-card h3 { font-size: 1.12rem; line-height: 1.5; }
.why-card p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
html[lang="ar"] .why-card p { font-size: 0.98rem; line-height: 1.75; }
.why-card--sos {
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.6), 0 26px 46px -30px rgb(var(--shadow) / 0.9);
}
.why-card--sos p { color: var(--on-plum-muted); }
.why-card--sos .why-card__media { border-bottom-color: rgb(226 196 138 / 0.6); }
.why-card--sos .why-card__icon { box-shadow: 0 0 0 3px rgb(226 196 138 / 0.7), 0 8px 16px -10px rgb(0 0 0 / 0.6); }
.why__hint { margin-top: 0; color: var(--muted); font-size: 0.95rem; }

/* Ghalina stays the home screen: beside "Calls by photo", with the phone's Home button leading back to Ghalina */
.tile--homekey { align-content: start; }
/* SOS on the lock screen (owner, 2026-10-10): one short point under "Ghalina stays the home screen". */
.tile__body .tile__point { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; color: var(--text); font-weight: 600; }
.tile__point .i { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--sos); }
.tile--homekey .tile__body { padding-block-end: 8px; }
.homekey { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 24px 34px; }
.homekey__bar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #1d1219;
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.35), 0 14px 26px -18px rgb(var(--shadow) / 0.9);
}
.homekey__back { width: 0; height: 0; border-block: 7px solid transparent; border-inline-end: 11px solid #cdbfc9; }
.homekey__apps { width: 14px; height: 14px; border: 2.5px solid #cdbfc9; border-radius: 3px; }
.homekey__home {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--metal);
  color: #3b2a06;
}
.homekey__home .i { width: 22px; height: 22px; }
.homekey__arrow .i { width: 26px; height: 26px; color: var(--gold-ink); }
[dir="rtl"] .homekey__arrow .i { transform: scaleX(-1); }
.homekey__app { display: grid; justify-items: center; gap: 6px; color: var(--ink-plum); font-size: 0.95rem; font-weight: 700; }
.homekey__app img { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line-gold), 0 12px 22px -14px rgb(var(--shadow) / 0.8); }
@media (prefers-reduced-motion: no-preference) {
  .homekey__home { animation: homekey-press 2.8s var(--ease) infinite; }
}
@keyframes homekey-press {
  0%, 55%, 100% { box-shadow: 0 0 0 0 rgb(212 175 106 / 0); scale: 1; }
  12% { scale: 0.9; box-shadow: 0 0 0 0 rgb(212 175 106 / 0.6); }
  40% { scale: 1; box-shadow: 0 0 0 14px rgb(212 175 106 / 0); }
}
@media (min-width: 760px) {
  .tile--homekey { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .tile--homekey .tile__body { max-width: 40rem; padding-block-end: clamp(24px, 3.4vw, 36px); }
  .tile--homekey .homekey { padding: 24px 40px; }
  .tile--homekey .phone--tile { --pw: 190px; margin-block: 44px; margin-inline: 0 56px; }
}
@media (min-width: 1100px) {
  .tile--home { grid-column: 1 / span 8; }
  .tile--home .phone--tile { margin-inline: 0 48px; }
  .tile--homekey { grid-column: 9 / span 4; grid-row: 1; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .tile--homekey .tile__body { padding: 40px 36px 8px; }
  .tile--homekey .homekey { padding: 22px 24px 40px; }
  .tile--homekey .phone--tile { --pw: 200px; margin-block: 24px 44px; margin-inline: auto; }
}

/* Scam-call warnings: the alert about a new app, so it cannot be missed */
.newapp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  align-items: start;
  margin-block: 4px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgb(255 246 232 / 0.07);
  box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.55);
  text-align: start;
}
.newapp__icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--metal); color: #3b2a06; }
.newapp__text { display: grid; gap: 6px; }
.newapp__text p { color: var(--on-plum-muted); font-size: 1rem; line-height: 1.55; }
.newapp__text .newapp__title { color: var(--on-plum); font-size: 1.05rem; font-weight: 700; line-height: 1.45; }
html[lang="ar"] .newapp__text p { line-height: 1.8; }

/* Instead of a jump link: chevrons that flow down, inviting a scroll (not a link) */
.scroll-cue { display: grid; justify-items: start; width: 28px; height: 44px; margin-top: 4px; }
.scroll-cue span {
  display: block;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  margin-inline-start: 7px;
  border-right: 2.5px solid var(--gold-light);
  border-bottom: 2.5px solid var(--gold-light);
  rotate: 45deg;
  opacity: 0.7;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue span { animation: cue-flow 1.9s ease-in-out infinite; }
  .scroll-cue span:nth-child(2) { animation-delay: 0.22s; }
  .scroll-cue span:nth-child(3) { animation-delay: 0.44s; }
}
@keyframes cue-flow {
  0%, 100% { opacity: 0.15; translate: 0 -4px; }
  50% { opacity: 1; translate: 0 3px; }
}

/* "More details" rolls open and shut (home.js animates the height); the chevron turns back as soon as it closes */
.more.is-animating > .more__body { overflow: hidden; }

/* Owner, 2026-10-10: "More details" never sits flush against the card or photo above it, and the carousel leaves
   room under the cards so their shadow is not cut off. */
* + .more { margin-top: clamp(16px, 2vw, 22px); }
.why__rail { padding-block: 10px 64px; margin-block-end: -36px; }

/* ---------- Round 6 (owner, 2026-10-10): progress ribbon, intro, card hovers, glass, numbered lines, heading
   underlines, back to top, the slogan, the hero photo settling, and phones that stand on the page ---------- */

/* The reading progress: a gold ribbon on a plum leather track along the very top (home.js sets --p, 0 to 1). In
   Arabic it fills from the right. A soft sheen runs along the gold unless the visitor asked for reduced motion. */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 45;
  height: 4px;
  background: var(--skin), linear-gradient(180deg, #60305a, #2f182c);
  background-blend-mode: var(--skin-bm), normal;
  box-shadow: 0 1px 0 rgb(226 196 138 / 0.28);
  pointer-events: none;
}
.progress__bar {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 42%, rgb(255 250 236 / 0.9) 50%, transparent 58%),
    var(--metal-soft);
  background-size: 260% 100%, 100% 100%;
  background-position: 160% 0, 0 0;
  background-repeat: no-repeat;
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0);
}
[dir="rtl"] .progress__bar { clip-path: inset(0 0 0 calc(100% - var(--p, 0) * 100%)); }
@media (prefers-reduced-motion: no-preference) {
  .progress__bar { animation: ribbon-sheen 3.2s ease-in-out infinite; }
  [dir="rtl"] .progress__bar { animation-direction: reverse; }
}
@keyframes ribbon-sheen {
  from { background-position: 160% 0, 0 0; }
  to { background-position: -60% 0, 0 0; }
}

/* The entrance (assets/js/intro.js, v6; owner-approved 2026-10-25): once per visit, never with reduced motion (a 0.6 s still
   instead), never when arriving at a #section, never for robots. A plum screen with a small tile of the real logo footage
   (96 px phone, 112 px desktop) and the name under it; at 1.5 s the page rises like a sheet over the cover, done at 2.0 s.
   Everything here is fixed on top (no layout shift), lets every click through; the page's words are in the document all along. */
.glx { display: none; }
html.has-intro { overflow: hidden; }
html.intro-done { overflow: visible; }
html.has-intro .glx {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: block;
  pointer-events: none;
  background: #2a1228;
  --glx-size: 96px;
}
html.intro-done .glx { display: none; }
.glx__c { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; animation: glx-lift 0.46s cubic-bezier(0.65, 0, 0.2, 1) 1.5s both; }
.glx__tile {
  position: relative;
  width: var(--glx-size);
  aspect-ratio: 224 / 232;
  border-radius: 18.75% / 18.1%;
  overflow: hidden;
  background: #2a1228;
  box-shadow: 0 16px 28px -14px rgb(0 0 0 / 0.75);
  opacity: 0;
  animation: glx-in 0.4s var(--ease) both;
}
.glx__tile img,
.glx__tile video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.glx__tile video { opacity: 0; }
.glx__tile.glx--playing video { opacity: 1; }
.glx__name {
  margin: 0;
  opacity: 0;
  translate: 0 6px;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #e9cf9a;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glx-name 0.4s var(--ease) 0.35s forwards;
}
.glx__name[lang="ar"] { font-family: var(--font-ar); font-size: 1.5rem; letter-spacing: 0; }
@media (min-width: 820px) {
  html.has-intro .glx { --glx-size: 112px; }
  .glx__name { font-size: 1.5rem; }
  .glx__name[lang="ar"] { font-size: 1.65rem; }
}
@keyframes glx-in { from { opacity: 0; scale: 0.82; } to { opacity: 1; scale: 1; } }
@keyframes glx-name { to { opacity: 1; translate: 0 0; } }
@keyframes glx-lift { to { translate: 0 -18dvh; opacity: 0; } }
/* The page is a sheet that rises from the bottom over the cover at 1.5 s (the fixed top bar rises with it). */
html.has-intro:not(.intro-done) main,
html.has-intro:not(.intro-done) .footer {
  position: relative;
  z-index: 71;
  overflow: clip;
  background: var(--bg);
  animation: intro-sheet 0.46s cubic-bezier(0.65, 0, 0.2, 1) 1.5s backwards;
}
html.has-intro:not(.intro-done) .nav { z-index: 71; animation: intro-sheet 0.46s cubic-bezier(0.65, 0, 0.2, 1) 1.5s backwards; }
@keyframes intro-sheet { from { translate: 0 100dvh; } }
/* Reduced motion: a 0.6 s still of the poster, no movement. */
html.glx-calm .glx__tile,
html.glx-calm .glx__name { animation-duration: 0.01s; animation-delay: 0s; }
html.glx-calm .glx__c,
html.glx-calm:not(.intro-done) main,
html.glx-calm:not(.intro-done) .footer,
html.glx-calm:not(.intro-done) .nav { animation: none; }
/* The hero's own entrance follows the sheet. */
html.has-intro .hero__title .line,
html.has-intro .hero__copy > *,
html.has-intro .hero__leather,
html.has-intro .hero__photo,
html.has-intro .phone--hero { animation-delay: 1.65s; }

/* "News"-style hover on the cards that are links (the "why" row) and the price cards: the photo leans in, a gold
   line runs along the foot of the card and a small gold arrow comes in. Pointer devices only. */
.why-card { position: relative; }
.why-card__media img { transition: scale 0.9s var(--ease); }
.why-card::after,
.plan::after {
  content: "";
  position: absolute;
  inset-inline: 22px;
  inset-block-end: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--metal);
  scale: 0 1;
  transform-origin: left center;
  transition: scale 0.6s var(--ease);
  pointer-events: none;
}
[dir="rtl"] .why-card::after,
[dir="rtl"] .plan::after { transform-origin: right center; }
.why-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 7l5 5-5 5' fill='none' stroke='%232a1c05' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat,
    var(--metal);
  box-shadow: 0 0 0 3px rgb(253 249 240 / 0.6), 0 10px 18px -8px rgb(0 0 0 / 0.5);
  opacity: 0;
  translate: -8px 8px;
  transition: opacity 0.35s var(--ease), translate 0.5s var(--ease);
  pointer-events: none;
}
[dir="rtl"] .why-card::before { scale: -1 1; translate: 8px 8px; }
.why-card h3 { transition: color 0.3s var(--ease); }
.plan { position: relative; transition: translate 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.plan::after { inset-inline: clamp(28px, 4vw, 44px); }
@media (hover: hover) {
  .why-card:hover .why-card__media img { scale: 1.07; }
  .why-card:hover::after,
  .plan:hover::after { scale: 1 1; }
  .why-card:hover::before { opacity: 1; translate: 0 0; }
  .why-card:hover h3 { color: var(--plum-ink); }
  .why-card--sos:hover h3 { color: var(--gold-light); }
  .plan:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--line-gold), 0 34px 56px -40px rgb(var(--shadow) / 0.7); }
  .plan--pass:hover { box-shadow: inset 0 0 0 2px rgb(226 196 138 / 0.85), 0 56px 86px -50px rgb(var(--shadow)); }
}
@media (prefers-reduced-motion: reduce) {
  .why-card__media img, .why-card::after, .why-card::before, .plan, .plan::after { transition-duration: 0.01s; }
}

/* Frosted glass over the photo window: a dark plum card with a soft light from its top corner. */
.interlude__copy {
  inset-inline: clamp(12px, 3vw, 40px) auto;
  bottom: clamp(14px, 3vw, 40px);
  max-width: min(100% - 2 * clamp(12px, 3vw, 40px), 40rem);
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(255 236 205 / 0.2), transparent 58%),
    linear-gradient(160deg, rgb(74 37 69 / 0.42), rgb(33 13 29 / 0.62));
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.38), inset 0 1px 0 rgb(255 255 255 / 0.16), 0 30px 60px -34px rgb(0 0 0 / 0.7);
}
[dir="rtl"] .interlude__copy {
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 236 205 / 0.2), transparent 58%),
    linear-gradient(200deg, rgb(74 37 69 / 0.42), rgb(33 13 29 / 0.62));
}
.interlude__frame::after { background: linear-gradient(to top, rgb(33 13 29 / 0.55) 0%, rgb(33 13 29 / 0.12) 40%, transparent 60%); }
@media (min-width: 900px) {
  .interlude__copy { padding-inline-end: clamp(20px, 3vw, 34px); max-width: min(100% - 400px, 40rem); }
}
@media (max-width: 899px) {
  /* on phones the phone sits at the top of the window: a taller window keeps the glass card clear of it */
  .interlude__frame { height: clamp(600px, 100svh, 780px); }
}

/* Owner 2026-10-23: the glass card keeps its original size and place; the PHOTO moves so her face sits in the free
   part of the window (beside the card, away from the phone) at every width. The picture is placed by hand inside
   .interlude__img (a size container, 128% of the window's height for the parallax): --itl-fx / --itl-fy say where her
   face is in the picture, --itl-a is the picture's width / height, --itl-tx / --itl-ty where her face should land
   (in the window). --itl-iw is the smallest width that puts the face there and still covers the whole box. */
.interlude__frame { --itl-a: 1.3393; --itl-fx: 0.575; --itl-fy: 0.3425; }
[dir="rtl"] .interlude__frame { --itl-a: 1.3393; --itl-fx: 0.5225; --itl-fy: 0.44; }
.interlude__img { container-type: size; }
.interlude__img picture {
  /* the face's height in the box: the window starts 14% of its height (= 10.9375cqh of the box) below the box top */
  --itl-tb: calc(var(--itl-ty) + 10.9375cqh);
  --itl-iw: max(100cqw, 100cqh * var(--itl-a), var(--itl-tx) / var(--itl-fx), (100cqw - var(--itl-tx)) / (1 - var(--itl-fx)),
    var(--itl-tb) * var(--itl-a) / var(--itl-fy), (100cqh - var(--itl-tb)) * var(--itl-a) / (1 - var(--itl-fy)));
  position: absolute;
  display: block;
  width: var(--itl-iw);
  height: calc(var(--itl-iw) / var(--itl-a));
  left: calc(var(--itl-tx) - var(--itl-fx) * var(--itl-iw));
  top: calc(var(--itl-tb) - var(--itl-fy) * var(--itl-iw) / var(--itl-a));
}
.interlude__img img { object-position: 50% 50%; }
.interlude__frame {
  --itl-tx: calc(var(--itl-gx) - var(--itl-dx, 0px));
  --itl-ty: calc(var(--itl-k) * 78.125cqh);
}
[dir="rtl"] .interlude__frame { --itl-tx: calc(100cqw - var(--itl-gx) + var(--itl-dx, 0px)); }
@media (max-width: 899px) {
  /* the phone hangs at the top of the window on the inline-end side, the card runs along the bottom: her face goes
     beside the phone, above the card */
  .interlude__frame {
    --itl-k: 0.25;
    --itl-gx: calc((100cqw - 4vw - clamp(118px, 28vw, 230px)) / 2);
    /* a short window (the card is about 445 px tall at the foot): her face moves up with the card's top edge */
    --itl-ty: min(var(--itl-k) * 78.125cqh, 78.125cqh - 520px);
  }
}
@media (min-width: 900px) {
  /* the card sits at the bottom of the inline-start side, the phone at the bottom of the inline-end side: her face goes
     in the middle of the gap between them (--itl-gx, from the inline-start edge) */
  .interlude__frame {
    --itl-k: 0.3;
    --itl-gx: calc((clamp(12px, 3vw, 40px) + min(100cqw - 400px, 40rem) + min(100cqw, (100vw + 100cqw) / 2 - var(--gutter) - 4vw - 230px)) / 2);
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  /* the gap is narrower than her face here: she sits higher, above the card's inner end, in the band over it (in the
     middle of that band when the window is tall enough, the card being about 470 px from the window's foot) */
  .interlude__frame { --itl-k: 0.13; --itl-dx: 100px; --itl-ty: max(var(--itl-k) * 78.125cqh, (78.125cqh - 470px) / 2); }
}

/* Numbered rows with thin gold lines that draw in (the offline list): 1.1, 1.2 ... in plum. home.js arms them once
   they are below the screen; they draw the first time they come in and then stay. */
.offline__points { position: relative; counter-reset: row; gap: 0; }
.offline__points li {
  counter-increment: row;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  column-gap: 14px;
  padding-block: 18px 20px;
  padding-inline-start: 0;
}
.offline__points li > * { grid-column: 2; }
.offline__points li::before {
  content: "1." counter(row);
  position: static;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: auto;
  border-radius: 0;
  background: none;
  color: var(--ink-plum);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
}
.offline__points li::after,
.offline__points::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgb(212 175 106 / 0.3));
  transform-origin: left center;
}
.offline__points::after { inset-block: auto 0; }
[dir="rtl"] .offline__points li::after,
[dir="rtl"] .offline__points::after { background: linear-gradient(270deg, var(--gold), rgb(212 175 106 / 0.3)); transform-origin: right center; }
.offline__points.is-armed li::after,
.offline__points.is-armed::after { scale: 0 1; transition: scale 1.1s var(--ease) calc(var(--i, 0) * 0.13s); }
.offline__points.is-armed li::before,
.offline__points.is-armed li > * { opacity: 0; translate: 0 12px; transition: opacity 0.7s var(--ease) calc(var(--i, 0) * 0.13s + 0.15s), translate 0.8s var(--ease) calc(var(--i, 0) * 0.13s + 0.15s); }
.offline__points.is-armed::after { --i: 4; }
.offline__points.is-drawn li::after,
.offline__points.is-drawn::after { scale: 1 1; }
.offline__points.is-drawn li::before,
.offline__points.is-drawn li > * { opacity: 1; translate: 0 0; }

/* A short gold underline under the section titles; it draws once when the title first comes in (home.js). */
.section-head > .h2::after {
  content: "";
  display: block;
  width: clamp(56px, 7vw, 88px);
  height: 3px;
  margin-top: 0.42em;
  border-radius: 3px;
  background: var(--metal);
  transform-origin: left center;
}
[dir="rtl"] .section-head > .h2::after { transform-origin: right center; }
.section-head--center > .h2::after { margin-inline: auto; transform-origin: center; }
.section-head.is-armed > .h2::after { scale: 0 1; transition: scale 1s var(--ease) 0.25s; }
.section-head.is-drawn > .h2::after { scale: 1 1; }

/* Back to the top: a gold arrow in a leather circle, after the first screens. */
.totop {
  position: fixed;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  inset-block-end: max(18px, env(safe-area-inset-bottom));
  z-index: 44;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.75), inset 0 0 0 5px rgb(47 24 44 / 0.5), 0 16px 26px -12px rgb(var(--shadow) / 0.8);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  translate: 0 16px;
  transition: opacity 0.35s var(--ease), translate 0.5s var(--spring), visibility 0s linear 0.35s, box-shadow 0.3s var(--ease);
}
.totop.is-shown { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 0.35s var(--ease), translate 0.5s var(--spring), visibility 0s, box-shadow 0.3s var(--ease); }
.totop .i { width: 22px; height: 22px; rotate: -90deg; transition: translate 0.35s var(--ease); }
.totop:hover { box-shadow: inset 0 0 0 1.5px rgb(240 214 160), inset 0 0 0 5px rgb(47 24 44 / 0.5), 0 20px 30px -12px rgb(var(--shadow) / 0.9); }
.totop:hover .i { translate: 0 -2px; }
.totop:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
html.menu-open .totop { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .totop, .totop .i { transition-duration: 0.01s; } }

/* The slogan above the footer: gold, a quiet serif, a light that follows the pointer and a soft sparkle. */
@property --hl { syntax: "<number>"; inherits: true; initial-value: 0; }
.slogan {
  margin: 0 0 clamp(40px, 5vw, 60px);
  padding-bottom: clamp(30px, 4vw, 44px);
  border-bottom: 1px solid rgb(226 196 138 / 0.22);
  text-align: center;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.005em;
}
html[lang="ar"] .slogan { font-family: "Noto Naskh Arabic", "Amiri", "Traditional Arabic", "Sakkal Majalla", "Times New Roman", serif; font-weight: 600; line-height: 1.7; letter-spacing: 0; }
.slogan__text {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: inline-block;
  padding-inline: 0.2em;
  background:
    radial-gradient(150px circle at var(--mx) var(--my), rgb(255 251 238 / calc(var(--hl) * 0.95)), transparent 70%),
    linear-gradient(100deg, #b38b52 0%, #e9cf9a 18%, #c9a75e 36%, #fbefcf 50%, #c29a4e 64%, #e9cf9a 82%, #b38b52 100%);
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: --hl 0.45s var(--ease);
}
.slogan__text.is-lit { --hl: 1; }
.slogan, .slogan__text { cursor: default; -webkit-user-select: none; user-select: none; caret-color: transparent; }
.slogan__text::before,
.slogan__text::after {
  content: "";
  position: absolute;
  width: 0.36em;
  height: 0.36em;
  background: #fbefcf;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0.85;
  pointer-events: none;
}
.slogan__text::before { inset-block-start: 0.05em; inset-inline-start: -0.25em; }
.slogan__text::after { inset-block-end: 0.12em; inset-inline-end: -0.3em; width: 0.26em; height: 0.26em; }
@media (prefers-reduced-motion: no-preference) {
  .slogan__text { animation: slogan-sheen 9s ease-in-out infinite alternate; }
  .slogan__text::before { animation: twinkle 3.4s ease-in-out infinite; }
  .slogan__text::after { animation: twinkle 3.4s ease-in-out 1.7s infinite; }
}
@keyframes slogan-sheen { to { background-position: 0 0, 100% 0; } }
@keyframes twinkle {
  0%, 100% { opacity: 0; scale: 0.3; rotate: 0deg; }
  45% { opacity: 0.95; scale: 1; rotate: 45deg; }
  70% { opacity: 0.2; scale: 0.6; }
}

/* The hero photo settles: it starts a little close and eases back as the page loads (motion.js carries it on a
   touch with the scroll). Once, at the top of the page only. */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo picture img { animation: hero-settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  html.has-intro .hero__photo picture img { animation-delay: 1.65s; }
}
@keyframes hero-settle { from { scale: 1.17; } to { scale: 1.04; } }

/* Phones stand on the page: one soft drop shadow that always stays inside the room left under the phone (no edge
   ever cuts it), and an oval contact shadow under the base, darker near the phone, as if it stood on a table. */
.phone {
  --phone-ring: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 0 0 1px rgb(203 166 115 / 0.75);
  --phone-drop: rgb(var(--shadow) / 0.42);
  --phone-contact: 40 16 34;
  isolation: isolate;
}
.feature--sos .phone,
.pcard--night .phone,
.vault .phone,
.offline__visual .phone,
.story .phone,
.interlude .phone {
  --phone-ring: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 0 1px rgb(226 196 138 / 0.9);
  --phone-drop: rgb(0 0 0 / 0.5);
  --phone-contact: 8 2 8;
}
.phone.phone { box-shadow: var(--phone-ring), 0 20px 28px -20px var(--phone-drop); }
.phone::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 9%;
  bottom: calc(var(--pw) * -0.055);
  height: calc(var(--pw) * 0.12);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--phone-contact) / 0.55), rgb(var(--phone-contact) / 0.22) 55%, transparent);
  filter: blur(calc(var(--pw) * 0.022));
  pointer-events: none;
}
.step .phone.phone { box-shadow: var(--phone-ring), 0 12px 16px -12px var(--phone-drop); }
.step__peek { padding-block: 14px 22px; }
/* Battery status (owner, round 6): a pill whose background fills to the battery level behind the words, green when
   good, amber when low, red when very low, with a soft shimmer while charging. The fill is a light tint, so the dark
   words read the same on both parts. In Arabic it fills from the right. */
.batteries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.battery {
  --fill: rgb(46 154 67 / 0.3);
  --edge: rgb(30 125 50 / 0.55);
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(var(--fill), var(--fill)) 0 0 / var(--level, 50%) 100% no-repeat, #fbf6ec;
  box-shadow: inset 0 0 0 1.5px var(--edge);
  color: #1d4f27;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  /* wraps instead of being cut when its column is narrow (Arabic words at ~1100 px) */
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
}
[dir="rtl"] .battery { background-position: 100% 0, 0 0; }
.battery--low { --fill: rgb(222 160 40 / 0.36); --edge: rgb(176 120 20 / 0.6); color: #5c3d02; }
.battery--critical { --fill: rgb(198 40 40 / 0.3); --edge: rgb(176 34 34 / 0.6); color: #7f1717; }
.battery--charging::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--level, 50%);
  background: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 0.75) 50%, transparent 100%) -100% 0 / 60% 100% no-repeat;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .battery--charging::after { animation: charge 2.2s ease-in-out infinite; }
  [dir="rtl"] .battery--charging::after { animation-direction: reverse; }
}
@keyframes charge { to { background-position: 250% 0; } }

/* The hero clipped its bottom edge, so the phone (which drifts down with the scroll) lost its shadow on a straight
   line: it now clips only sideways, and the glow stops at the hero's foot on its own. */
.hero { overflow: visible; overflow-x: clip; }
.hero__glow { max-height: calc(100% + 180px); }
/* The interlude phone hangs below the photo window: room under it for its shadow (the section is laid out lazily,
   which clips its painting at its edges). */
@media (min-width: 900px) {
  .interlude { padding-block-end: clamp(84px, 8vw, 108px); }
  .phone--interlude { bottom: 48px; translate: none; }
}

/* Round 7: a separate ground shadow under the phones that have room below them: a soft dark ellipse with a gap, as if
   the phone hovers just above a table. It is added on top of the existing shadows. motion.js sets --lift (0 to 1) on
   the step phones, so the shadow shrinks a little while the phone floats up. Always a blurred ellipse, never a straight
   edge, so there is nothing to clip. */
.phone--step, .phone--story, .phone--feature, .phone--family, .phone--interlude, .phone--offline, .phone--vault, .phone--remind,
.ramadan .phone { --lift: 0; }
.phone--step::after, .phone--story::after, .phone--feature::after, .phone--family::after, .phone--interlude::after,
.phone--offline::after, .phone--vault::after, .phone--remind::after, .ramadan .phone::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 8%;
  top: calc(100% + var(--pw) * 0.1);
  height: calc(var(--pw) * 0.075);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(24 8 22 / 0.5), rgb(24 8 22 / 0.28) 60%, transparent);
  filter: blur(calc(var(--pw) * 0.03));
  opacity: calc(1 - var(--lift) * 0.3);
  transform: scaleX(calc(1 - var(--lift) * 0.14));
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.pcard--night .phone::after, .feature--sos .phone::after, .vault .phone::after, .offline__visual .phone::after,
.story .phone::after, .interlude .phone::after { background: radial-gradient(closest-side, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.32) 60%, transparent); }
.step__peek { padding-block-end: calc(var(--peek-pw, 92px) * 0.28); }
/* The Ramadan phones sit in cards that clip at the bottom (about 34 px of room): a closer, smaller ground shadow that
   fades out well inside the card. */
.ramadan .phone--peek::after { top: calc(100% + var(--pw) * 0.045); height: calc(var(--pw) * 0.05); filter: blur(calc(var(--pw) * 0.018)); }

/* ---------- Round 7: list hover (a gold tab slides out from behind the card), glass stat card ---------- */

/* The why-cards: on hover a gold metal tab with a dark down chevron slides DOWN out from under the card (the old look,
   brought back by the owner 2026-11-01 after the 2026-10-24 "quiet chevron"). The tab waits behind the card; a clip
   keeps only the part BELOW the card's bottom edge visible, so the dark glass card never shows it through as a blurred
   gold box. The clip moves with the slide (same time and easing). Pointer devices only, as before. */
.why__item { position: relative; }
.why__item::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset-inline: 22% 22%;
  inset-block-end: 0;
  height: 46px;
  border-radius: 0 0 22px 22px;
  /* the chevron points DOWN (drawn, so it is the same in LTR and RTL) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232a1c05' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center bottom 8px / 22px 22px no-repeat, var(--metal);
  translate: 0 -34px;
  clip-path: inset(80px 0 0 0);
  transition: translate 0.5s var(--ease), clip-path 0.5s var(--ease);
  pointer-events: none;
}
.why-card { z-index: 1; }
@media (hover: hover) {
  .why__item:has(.why-card:hover)::after { translate: 0 20px; clip-path: inset(22px 0 0 0); }
  .why-card:hover { translate: 7px -4px; }
  [dir="rtl"] .why-card:hover { translate: -7px -4px; }
  .why-card:hover::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .why__item::after { transition-duration: 0.01s !important; } }

/* A dark frosted card over the photo: two small round icons (gold, plum) overlapping, a big number, a short label.
   Soft diagonal light from the top corner. On the hero it hangs off the foot of the photo, below the faces. */
.glass-stat {
  position: absolute;
  z-index: 5;
  inset-inline-end: 0;
  bottom: 3%;
  display: grid;
  gap: 4px;
  width: min(44%, 220px);
  padding: 14px 16px 16px;
  border-radius: 24px;
  color: var(--on-plum, #fdf9f0);
  background:
    linear-gradient(125deg, rgb(255 236 205 / 0.26) 0%, transparent 46%),
    linear-gradient(160deg, rgb(74 37 69 / 0.62), rgb(33 13 29 / 0.78));
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.42), inset 0 1px 0 rgb(255 255 255 / 0.16), 0 26px 44px -24px rgb(0 0 0 / 0.75);
}
.glass-stat__icons { display: flex; margin-block-end: 6px; }
.gi { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.gi .i { width: 17px; height: 17px; }
.gi--gold { position: relative; z-index: 1; background: var(--metal); color: #2a1c05; box-shadow: 0 0 0 2px rgb(33 13 29 / 0.5); }
.gi--plum { margin-inline-start: -9px; background: #5a2d54; color: var(--gold-light); box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.7); }
.glass-stat__num { display: block; color: var(--gold-light); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 800; line-height: 1; }
.glass-stat__num small { font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }
.glass-stat__label { color: rgb(253 249 240 / 0.88); font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
@media (prefers-reduced-transparency: reduce) { .glass-stat { -webkit-backdrop-filter: none; backdrop-filter: none; background: #3a1c35; } }

/* ======================================================================================================================
   Round 8 (owner, 2026-10-10): lines that draw in, a centre photo that opens up on scroll, the frosted stat card, and
   the two-phone "set it up from your phone" animation. Calm, no bounce; reveals play once; only transforms, opacity
   and clip-paths move. Without JavaScript or with "reduce motion" everything is simply there (the end state).
   ====================================================================================================================== */

/* ---------- Lines draw in (home.js adds the line and arms it only for what is still below the screen) ---------- */
.dl {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(212 175 106 / 0.25), #c9a35e 18%, #e9cf9a 55%, #b88d4c 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dl-t, 1.2s) cubic-bezier(0.65, 0, 0.25, 1) var(--dl-d, 0s), opacity 0.8s ease;
}
[dir="rtl"] .dl {
  background: linear-gradient(270deg, rgb(212 175 106 / 0.25), #c9a35e 18%, #e9cf9a 55%, #b88d4c 100%);
  transform-origin: right center;
}
.dl--top { inset-inline: 0; top: -1px; height: 1px; }
.dl--bottom { inset-inline: 0; bottom: -1px; height: 1px; }
/* the photo of a card clips to its padding box, so its line sits on the photo's last pixel row */
.why-card__media > .dl--bottom { bottom: 0; }
.dl--ring {
  inset: 0;
  border: 1px solid rgb(203 166 115 / 0.7);
  border-radius: inherit;
  background: none;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s cubic-bezier(0.65, 0, 0.25, 1) var(--dl-d, 0s), opacity 0.8s ease;
}
[dir="rtl"] .dl--ring { background: none; clip-path: inset(0 0 0 100%); }
.dl.is-on { transform: scaleX(1); }
.dl--ring.is-on { clip-path: inset(0 0 0 0); transform: none; }
.dl.is-gone { opacity: 0; }
/* While a line waits to be drawn, the plain border is invisible (it comes back, fading, when the line is done). */
.dl-armed-top { border-top-color: transparent !important; }
.dl-armed-bottom { border-bottom-color: transparent !important; }
.dl-armed-ring { box-shadow: none !important; }
.dl-armed-cells > * { border-bottom-color: transparent !important; }
.dl-host { transition: border-color 0.8s ease; }
.dl-host > * { transition: border-color 0.8s ease; }
/* the short gold rule before each small title, and the How it works numbers */
.kicker__rule.dl-re { transform-origin: left center; transition: scale 1s var(--ease) 0.15s; }
[dir="rtl"] .kicker__rule.dl-re { transform-origin: right center; }
.kicker__rule.dl-re.is-lines-off { scale: 0 1; }
.step__num.is-armed { opacity: 0; scale: 0.88; }
.step__num.is-armed.is-drawn { opacity: 1; scale: 1; transition: opacity 0.9s ease 0.35s, scale 0.9s var(--ease) 0.35s; }

/* ---------- The centre photo that opens up (just before the safety story) ---------- */
.zoom { position: relative; padding-block: clamp(6px, 1vw, 12px) clamp(24px, 4vw, 48px); }
/* "Distance doesn't keep you apart.": one line from 1024 px up (only this heading's container is widened; narrower screens keep the balanced two lines) */
@media (min-width: 1024px) { .zoom .section-head--center { max-width: none; } .zoom #zoom-title { text-wrap: nowrap; } }
.zoom__sticky { display: grid; gap: clamp(14px, 2.2vw, 26px); }
.zoom__frame {
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--max));
  height: min(60svh, 560px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-2);
}
.zoom__side { display: none; position: absolute; top: 27%; height: 46%; width: 24%; overflow: hidden; border-radius: 18px; will-change: transform, opacity; }
.zoom__side picture, .zoom__side img, .zoom__img picture, .zoom__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zoom__side img { object-position: 50% 30%; }
.zoom__side--a { inset-inline-start: 3%; }
.zoom__side--b { inset-inline-end: 3%; }
.zoom__center { position: absolute; inset: 0; overflow: hidden; border-radius: 22px; }
.zoom__img { position: absolute; inset: 0; }
.zoom__img img { object-position: 40% 40%; }
.zoom__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(30 10 26 / 0.62)); }
.zoom__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 8%;
  margin: 0;
  padding-inline: 20px;
  text-align: center;
  color: #fff6e8;
  font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.35);
}
.zoom__cap small { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: clamp(0.8rem, 0.75rem + 0.3vw, 1rem); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="ar"] .zoom__cap { line-height: 1.5; }
html[lang="ar"] .zoom__cap small { letter-spacing: 0; text-transform: none; }

/* Live (home.js sets .zoom-on when motion is allowed): the track is tall, the frame is pinned, --e grows 0 to 1. */
.zoom-on .zoom__track { --e: 0; --k: 0; --zd: 1; height: 250svh; }
html[dir="rtl"].zoom-on .zoom__track { --zd: -1; }
.zoom .section-head { margin-block-end: 0; }
.zoom-on .zoom__sticky { position: sticky; top: calc(var(--nav-h) + clamp(12px, 2.8vw, 36px)); gap: clamp(26px, 4vw, 56px); } /* heading and photo stick together under the top bar; the zoom runs while both are pinned (home.js zoomProgress) */
.zoom-on .zoom__frame { height: min(60svh, 560px, max(220px, calc(100svh - var(--nav-h) - 250px))); }
.zoom-on .zoom__side { display: block; opacity: clamp(0, calc(1 - var(--e) * 1.5), 1); }
.zoom-on .zoom__side--a { transform: translate3d(calc(-70% * var(--e) * var(--zd)), 0, 0); }
.zoom-on .zoom__side--b { transform: translate3d(calc(70% * var(--e) * var(--zd)), 0, 0); }
.zoom-on .zoom__center {
  --sx: calc(33% * (1 - var(--e)));
  --sy: calc(20% * (1 - var(--e)));
  clip-path: inset(var(--sy) var(--sx) var(--sy) var(--sx) round calc(20px * (1 - var(--e)) + 4px * var(--e)));
  border-radius: 0;
}
.zoom-on .zoom__img { transform: scale(calc(1.18 - 0.18 * var(--e))); }
.zoom-on .zoom__shade { opacity: clamp(0, calc((var(--e) - 0.45) / 0.4), 1); }
.zoom-on .zoom__cap { opacity: var(--k); transform: translate3d(0, calc((1 - var(--k)) * 10px), 0); }
@media (max-width: 640px) {
  .zoom-on .zoom__track { height: 175svh; }
  .zoom__frame, .zoom-on .zoom__frame { height: min(56svh, 480px, max(200px, calc(100svh - var(--nav-h) - 200px))); }
  .zoom__side { width: 22%; top: 30%; height: 40%; }
  .zoom-on .zoom__center { --sx: calc(31% * (1 - var(--e))); --sy: calc(24% * (1 - var(--e))); }
}
@media (prefers-reduced-motion: reduce) {
  .zoom-on .zoom__track { height: auto; }
  .zoom-on .zoom__sticky { position: relative; top: auto; }
}

/* ---------- The frosted stat card (hero, pricing, the SOS photo) ---------- */
.glass-stat {
  gap: 6px;
  padding: 16px 18px 18px;
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgb(255 250 242 / 0.22), rgb(255 250 242 / 0.05) 55%),
    linear-gradient(160deg, rgb(74 37 69 / 0.5), rgb(33 13 29 / 0.62));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgb(233 207 154 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.3), 0 24px 50px -22px rgb(20 6 16 / 0.6);
}
.glass-stat__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glass-stat__top .glass-stat__icons { margin-block-end: 0; }
.glass-stat__tag { white-space: nowrap; color: var(--gold-light); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="ar"] .glass-stat__tag { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.glass-stat__num { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.glass-stat__num small { color: var(--gold-light); }
.glass-stat__faces { display: flex; }
.glass-stat__faces .av { width: 34px; height: 34px; margin-inline-start: -10px; border-radius: 50%; object-fit: cover; border: 2px solid rgb(255 246 232 / 0.9); box-shadow: 0 0 0 1px rgb(212 175 106 / 0.9); }
.glass-stat__faces .av:first-child { margin-inline-start: 0; }
.glass-stat__faces .av--more { display: grid; place-items: center; background: var(--metal-soft); color: #2a1c05; font-size: 0.78rem; font-weight: 700; }
@media (prefers-reduced-transparency: reduce) { .glass-stat { -webkit-backdrop-filter: none; backdrop-filter: none; background: #3a1c35; } }

.feature-photo--stat { position: relative; }
.glass-stat--photo { inset-inline: 12px auto; bottom: 12px; width: min(62%, 230px); padding: 12px 14px 14px; border-radius: 22px; }
.glass-stat--photo .glass-stat__num { font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); }
.glass-stat--photo .glass-stat__label { font-size: 0.82rem; line-height: 1.3; }
.glass-stat--photo .gi { width: 26px; height: 26px; }
.glass-stat--photo .gi .i { width: 14px; height: 14px; }

.stat-scene { position: relative; max-width: 960px; margin: 28px auto 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px var(--line-gold), 0 40px 70px -50px rgb(var(--shadow) / 0.8); }
.stat-scene__photo { aspect-ratio: 4 / 3; background: var(--line); }
.stat-scene__photo picture, .stat-scene__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stat-scene::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(47 24 44 / 0) 40%, rgb(47 24 44 / 0.55)); pointer-events: none; }
.glass-stat--scene { z-index: 2; inset-inline: clamp(14px, 3vw, 28px) auto; bottom: clamp(14px, 3vw, 28px); width: min(340px, calc(100% - 28px)); }
.glass-stat--scene .glass-stat__num { font-size: clamp(2.8rem, 2.2rem + 2.2vw, 3.9rem); line-height: 0.95; }
@media (min-width: 720px) { .stat-scene__photo { aspect-ratio: 21 / 9; } }

/* ---------- "Set it up from your phone": two phones, you add a person and it appears on theirs ---------- */
.step--pair .step__peek { padding-inline: 0; }
@media (max-width: 639px) {
  .step--pair { grid-template-columns: minmax(0, 1fr); padding-inline-end: 18px; }
  .step--pair .step__peek { justify-self: center; padding-block-start: 4px; }
}
.pair { --pairw: clamp(104px, 28vw, 128px); display: flex; align-items: flex-start; justify-content: center; }
@media (min-width: 640px) { .pair { --pairw: 100px; } }
@media (min-width: 900px) { .pair { --pairw: clamp(112px, 14.5vw, 190px); } .step--pair .step__peek { overflow: visible; } .step .pcap span { font-size: 0.9rem; } }
/* the same story component in the step (owner 2026-10-11): sized like the pair it replaced */
.step--pair .duo__phones { --pairw: clamp(104px, 28vw, 128px); }
@media (min-width: 640px) { .step--pair .duo__phones { --pairw: 100px; } }
@media (min-width: 900px) { .step--pair .duo__phones { --pairw: clamp(112px, 14.5vw, 190px); } }
.step--pair .duo { gap: 0; }
.step .pair .phone--step { --pw: var(--pairw); }
.step .pair .phone__screen { aspect-ratio: 720 / 1560; }
.pcol { display: flex; flex-direction: column; align-items: center; gap: calc(var(--pairw) * 0.2); min-width: 0; }
.pcap { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; text-align: center; }
.step .pcap span { color: var(--muted); font-size: 0.8rem; line-height: 1.25; max-width: calc(var(--pairw) + 22px); }
.chip {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgb(212 175 106 / 0.6);
  border-radius: 999px;
  background: rgb(212 175 106 / 0.16);
  color: var(--gold-ink);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.bridge { position: relative; flex: 0 0 clamp(26px, 6vw, 56px); height: 40px; margin-top: calc(var(--pairw) * 1.02 - 20px); }
.bridge svg { position: absolute; top: 0; inset-inline: -8px; width: calc(100% + 16px); height: 100%; overflow: visible; }
[dir="rtl"] .bridge svg { transform: scaleX(-1); }
.bridge .ln { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.bridge .ln--glow { stroke: var(--gold-light); stroke-width: 5; opacity: 0.45; filter: blur(2px); }
.pair__after { opacity: 1; }
.pair__tap {
  position: absolute;
  left: 50%;
  top: 93%;
  width: 34%;
  aspect-ratio: 1;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(212 175 106 / 0.35), transparent);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
}
.pair__glow {
  position: absolute;
  left: 51.5%;
  top: 48.7%;
  width: 44.5%;
  height: 17.3%;
  border-radius: 12px;
  box-shadow: 0 0 0 2px var(--gold), 0 0 22px 5px rgb(233 207 154 / 0.7);
  opacity: 1;
  pointer-events: none;
}
[dir="rtl"] .pair__glow { left: 3.9%; }

@media (prefers-reduced-motion: no-preference) {
  /* Armed (home.js, only when the pair is still below the screen): the start of the story. */
  .pair.is-armed .pair__after, .pair.is-armed .pair__glow, .pair.is-armed .chip { opacity: 0; }
  .pair.is-armed .bridge .ln { stroke-dashoffset: 1; }
  .pair.is-armed .bridge svg { opacity: 0; }
  .pair.is-playing .pair__tap { animation: pz-tap 6.5s ease infinite; }
  .pair.is-playing .chip--l { animation: pz-chip-l 6.5s ease infinite; }
  .pair.is-playing .bridge svg { animation: pz-svg 6.5s ease infinite; }
  .pair.is-playing .bridge .ln { animation: pz-draw 6.5s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
  .pair.is-playing .pair__after { animation: pz-after 6.5s ease infinite; }
  .pair.is-playing .pair__glow { animation: pz-glow 6.5s ease infinite; }
  .pair.is-playing .chip--r { animation: pz-chip-r 6.5s ease infinite; }
  .pair.is-paused, .pair.is-paused * { animation-play-state: paused !important; }
}
@keyframes pz-tap {
  0%, 4% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  10% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  17%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes pz-chip-l {
  0%, 12% { opacity: 0; transform: translateY(6px); }
  20%, 84% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes pz-svg {
  0%, 19% { opacity: 0; }
  21%, 84% { opacity: 1; }
  92%, 100% { opacity: 0; }
}
@keyframes pz-draw {
  0%, 21% { stroke-dashoffset: 1; }
  45%, 92% { stroke-dashoffset: 0; }
  93%, 100% { stroke-dashoffset: 1; }
}
@keyframes pz-after {
  0%, 44% { opacity: 0; }
  54%, 82% { opacity: 1; }
  92%, 100% { opacity: 0; }
}
@keyframes pz-glow {
  0%, 44% { opacity: 0; }
  56% { opacity: 1; }
  82% { opacity: 0.85; }
  92%, 100% { opacity: 0; }
}
@keyframes pz-chip-r {
  0%, 48% { opacity: 0; transform: translateY(6px); }
  58%, 84% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(0); }
}

/* Replaying lines (home.js adds .dl-re and toggles .is-lines-off: set only while the line is completely off the screen) */
.section-head.dl-re > .h2::after { transition: scale 1s var(--ease) 0.25s; }
.section-head.dl-re.is-lines-off > .h2::after { scale: 0 1; }
.offline__points li.dl-re::after { transition: scale 1.1s var(--ease) 0.1s; }
.offline__points li.dl-re.is-lines-off::after { scale: 0 1; }
.offline__end { position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; pointer-events: none; }
.offline__points.dl-end::after { transition: scale 1.1s var(--ease) 0.1s; }
.offline__points.dl-end:has(> .offline__end.is-lines-off)::after { scale: 0 1; }

/* ---------- "Photos the family sends": you pick a photo from your gallery, press Send, it crosses the gold line and lands on theirs ---------- */
.tile--photos .pair--photo { --pairw: clamp(110px, 30vw, 150px); justify-self: center; padding: 6px 14px 40px; }
.tile--photos .pair--photo .phone--duo { --pw: var(--pairw); }
.pair--photo .phone__screen { aspect-ratio: 720 / 1560; container-type: inline-size; }
.pair--photo .pcap span { color: var(--muted); font-size: 0.85rem; line-height: 1.25; max-width: calc(var(--pairw) + 22px); }
.pair--photo .bridge { flex-basis: clamp(64px, 13vw, 112px); }
.phone--duo { --lift: 0; }
.phone--duo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 8%;
  top: calc(100% + var(--pw) * 0.1);
  height: calc(var(--pw) * 0.075);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(24 8 22 / 0.5), rgb(24 8 22 / 0.28) 60%, transparent);
  filter: blur(calc(var(--pw) * 0.03));
  pointer-events: none;
}
.pair--photo .phone.phone { box-shadow: var(--phone-ring), 0 12px 16px -12px var(--phone-drop); }
/* your phone: the real "Send a photo" screen with the photo chosen; over it, for a moment, the phone's own photo picker (a plain Android grid sheet; the grid is the system picker, not a Ghalina screen) */
.pk { position: absolute; inset: 0; z-index: 1; opacity: 0; visibility: hidden; pointer-events: none; }
.pk__scrim { position: absolute; inset: 0; background: rgb(12 8 16 / 0.4); }
.pk__sheet { position: absolute; inset-inline: 0; bottom: 0; height: 95cqw; border-radius: 6cqw 6cqw 0 0; background: #f7f2f8; box-shadow: 0 -1cqw 4cqw rgb(0 0 0 / 0.25); overflow: hidden; }
.pk__handle { display: block; width: 11cqw; height: 1.3cqw; margin: 2.8cqw auto 0; border-radius: 99px; background: #c9c3cf; }
.pk__bar { display: flex; height: 16.8cqw; margin-top: 0.8cqw; padding-inline: 4cqw; gap: 5cqw; align-items: center; color: #5b5560; font: 600 4.6cqw/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.pk__bar b { position: relative; color: #1a1a1f; font-weight: 700; }
.pk__bar b::after { content: ""; position: absolute; inset-inline: 0; bottom: -2.2cqw; height: 0.9cqw; border-radius: 99px; background: #1a73e8; }
.pk__bar i { font-style: normal; font-weight: 600; }
.pk__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6cqw; padding: 0 0.6cqw; }
.pk__c { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #e4dfe6; }
.pk__c img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.pk__c--pick::after {
  content: "";
  position: absolute;
  top: 2cqw;
  inset-inline-start: 2cqw;
  width: 6.4cqw;
  height: 6.4cqw;
  border-radius: 50%;
  background: #1a73e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat;
  box-shadow: 0 0 0 0.5cqw #fff;
  opacity: 0;
}
/* the "Send" button of the real screen (pressed) */
.pk__press { position: absolute; z-index: 1; left: 4.6%; width: 90.8%; top: 89.2%; height: 7.5%; border-radius: 22px; background: rgb(255 255 255 / 0.28); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.4); opacity: 0; pointer-events: none; }
[dir="rtl"] .pk__press { top: 88%; } /* the Arabic screen's Send button sits a little higher (re-cut 2026-10-23: measured on photos-send, audit-taps.mjs) */
/* taps (home.js, the story's "taps"): on a photo of the picker, then on "Send": the gold tap ring */
.pair--photo .finger__tap { width: 32%; }
/* the first photo on their phone (it lands at the top, as the newest) */
.pair__glow--photo { left: 4.4%; top: 18.4%; width: 43.4%; height: 30.1%; border-radius: 16px; }
[dir="rtl"] .pair__glow--photo { left: 52.2%; top: 17.4%; }
/* the small photo that travels along the line (.duo__fly): the one picked, shrinking as it leaves your phone */
.fly__img {
  display: block;
  border-radius: 24%;
  background: url("/assets/photos/gallery/en/4-480.webp") center / cover no-repeat;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold), 0 8px 16px -6px rgb(var(--shadow) / 0.7);
}
html[lang="ar"] .fly__img { background-image: url("/assets/photos/gallery/ar/4-480.webp"); }

/* the timeline (home.js, data-duo on the story): the picker slides up, a tap picks a photo, the picker fades away,
   "Send" is pressed, the photo crosses the line and lands as the newest */
.duo .pk[data-k] { transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.duo .pk[data-k].is-on { visibility: visible; transition: opacity 0.6s ease, visibility 0s; }
.pk .pk__sheet { translate: 0 7%; transition: translate 0.8s cubic-bezier(0.3, 0.7, 0.2, 1); }
.pk.is-on .pk__sheet { translate: 0 0; }
.pk__c--pick img { transition: scale 0.4s ease; }
.pk__c--pick::after { transition: opacity 0.4s ease; }
.pk__c--pick.is-on img { scale: 0.84; }
.pk__c--pick.is-on::after { opacity: 1; }
.duo .pk__press[data-k] { transition: opacity 0.3s ease; }
.duo .pair__after[data-k], .duo .pair__glow[data-k] { transition: opacity 0.8s ease; }

/* ---------- Voice commands: rounded gold bars that move like someone speaking ---------- */
.voicehead { display: flex; align-items: center; gap: 16px; }
.voicebars { display: flex; align-items: center; gap: 5px; height: 36px; }
.voicebars i {
  display: block;
  width: 5px;
  height: 100%;
  border-radius: 99px;
  background: var(--metal);
  transform: scaleY(var(--s, 0.5));
  --s: 0.5; --m: 0.9;
}
.voicebars i:nth-child(1) { --s: 0.3; --m: 0.6; }
.voicebars i:nth-child(2) { --s: 0.55; --m: 0.95; }
.voicebars i:nth-child(3) { --s: 0.85; --m: 0.45; }
.voicebars i:nth-child(4) { --s: 0.45; --m: 1; }
.voicebars i:nth-child(5) { --s: 1; --m: 0.5; }
.voicebars i:nth-child(6) { --s: 0.7; --m: 0.95; }
.voicebars i:nth-child(7) { --s: 0.4; --m: 0.8; }
.voicebars i:nth-child(8) { --s: 0.9; --m: 0.4; }
.voicebars i:nth-child(9) { --s: 0.5; --m: 0.85; }
.voicebars i:nth-child(10) { --s: 0.35; --m: 0.65; }
.voicebars i:nth-child(11) { --s: 0.25; --m: 0.45; }
@media (prefers-reduced-motion: no-preference) {
  .voicebars.is-live i { animation: vb 1.5s ease-in-out infinite backwards; }
  .voicebars.is-live i:nth-child(2n) { animation-duration: 1.2s; animation-delay: 0.12s; }
  .voicebars.is-live i:nth-child(3n) { animation-duration: 1.8s; animation-delay: 0.26s; }
  .voicebars.is-live i:nth-child(5n) { animation-duration: 1.35s; animation-delay: 0.4s; }
  .voicebars.is-live i:nth-child(7n) { animation-duration: 1.65s; animation-delay: 0.08s; }
  .voicebars.is-paused i { animation-play-state: paused; }
}
@keyframes vb {
  0%, 100% { transform: scaleY(var(--s)); }
  38% { transform: scaleY(var(--m)); }
  70% { transform: scaleY(calc(var(--s) * 0.55 + 0.3)); }
}

/* ---------- Magnifier: a little story on three real screens (two-phone component, one phone; owner 2026-10-11) ----------
   Real Roborazzi renders of the Magnifier (mag-off: light off, 1x, the camera picture a little dim; mag-lit: light on, 1x;
   mag-big: light on, 3x, the print readable) are stacked in the phone and crossfade (the duo component's data-k). The
   owner's hand presses the real light button and the real "+ Bigger" button, then the light button again. Nothing is drawn
   over the screen. At rest (no script, reduced motion) the screen shows its end (light on, 3x). */
.duo--mag .duo__phones { --pairw: min(46vw, 190px); }
.tile--small .duo--mag { justify-self: center; margin-block-start: 22px; }
.duo--mag .finger__hand { width: 13%; } /* a smaller hand: it never reaches the labels under the buttons */
.duo--mag .chip[data-k="chip-light"], .duo--mag .chip[data-k="chip-big"] { opacity: 0; }
@media (min-width: 760px) and (max-width: 1099px) {
  .tile--small { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .tile--small > .feature-photo, .tile--small > .tile__icon, .tile--small > h3, .tile--small > p { grid-column: 1; }
  .tile--small .duo--mag { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-inline: 0 56px; margin-block-start: 0; }
}

/* "Choose the name you call them" now sits under the easy-home-screen tiles */
.everyday .elders { margin-top: 18px; }
.bridge--photo { z-index: 2; }
@media (min-width: 1000px) {
  .plans .price strong { font-size: clamp(2.3rem, 1.5rem + 1.6vw, 3rem); }
}

/* Simple-phone feature area (owner, 2026-10-11): rows of two unequal cards, the one with less text narrower. Phones sit beside
   the text, heights match within a row, nothing is cut off. Row 1: Calls 5 / Stays-home 7. Row 2: Colours 7 / Magnifier 5. */
.bento .tile .phone--tile { margin-block: 24px 34px; }
.bento .tile--themes .themes { padding: 24px 8px 32px; }
@media (min-width: 760px) {
  .bento .tile--home, .bento .tile--homekey, .bento .tile--small { grid-column: 1 / -1; grid-row: auto; grid-template-columns: minmax(0, 1fr) auto; align-items: center; align-content: center; }
  .bento .tile--home .tile__body, .bento .tile--homekey .tile__body { max-width: none; padding: 40px 8px 40px 36px; align-self: center; }
  [dir="rtl"] .bento .tile--home .tile__body, [dir="rtl"] .bento .tile--homekey .tile__body { padding: 40px 36px 40px 8px; }
  .bento .tile--home .phone--tile, .bento .tile--homekey .phone--tile { --pw: 170px; margin-block: 44px; margin-inline: 0 36px; justify-self: center; }
  .bento .tile--themes { grid-column: 1 / -1; grid-row: auto; }
  .bento .tile--small { padding: 36px 0 36px 32px; }
  [dir="rtl"] .bento .tile--small { padding: 36px 32px 36px 0; }
  .bento .tile--small .duo--mag { padding-inline: 30px; margin-inline: 0 28px; max-width: 100%; }
  .bento .tile--small .duo--mag .duo__phones { --pairw: 150px; }
}
@media (min-width: 980px) {
  .bento .tile--home { grid-column: 1 / span 5; grid-row: 1; }
  .bento .tile--homekey { grid-column: 6 / span 7; grid-row: 1; }
  .bento .tile--home .phone--tile, .bento .tile--homekey .phone--tile { --pw: 150px; margin-inline: 0 28px; }
  .bento .tile--home .tile__body, .bento .tile--homekey .tile__body { padding: 36px 4px 36px 32px; }
  [dir="rtl"] .bento .tile--home .tile__body, [dir="rtl"] .bento .tile--homekey .tile__body { padding: 36px 32px 36px 4px; }
  .bento .tile--themes { grid-column: 1 / span 7; grid-row: 2; grid-template-columns: minmax(0, 1fr); align-items: center; align-content: center; }
  .bento .tile--themes .tile__body { padding: 36px 32px 0; }
  .bento .tile--themes .phone--mini { --pw: 136px; }
  .bento .tile--small { grid-column: 8 / span 5; grid-row: 2; }
  .bento .tile--small > .feature-photo, .bento .tile--small > .tile__icon, .bento .tile--small > h3, .bento .tile--small > p { grid-column: 1; }
  .bento .tile--small .duo--mag { grid-column: 2; grid-row: 1 / span 4; }
}
/* Rows 1-2 are home / colours / magnifier above; photos, call and voice start on row 3 (they used to sit on rows 2-3 and ran under the colours and magnifier cards). */
@media (min-width: 1100px) {
  .tile--photos { grid-row: 3 / span 2; }
  .tile--call { grid-row: 3; }
  .tile--voice { grid-row: 4; }
  .tile--change { grid-row: 5; }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .bento .tile--themes { grid-column: 1 / span 6; }
  .bento .tile--small { grid-column: 7 / span 6; }
  .bento .tile--themes .phone--mini { --pw: 116px; }
  .bento .tile--themes .themes { gap: 10px; padding-inline: 6px; }
  .bento .tile--home .phone--tile, .bento .tile--homekey .phone--tile { --pw: 140px; margin-inline: 0 22px; }
}
@media (min-width: 760px) {
  /* the magnifier text sits in the middle of the card, beside the phone */
  .bento .tile--small { grid-template-rows: 1fr auto auto auto 1fr; }
  .bento .tile--small > .tile__icon { grid-row: 2; }
  .bento .tile--small > h3 { grid-row: 3; }
  .bento .tile--small > p { grid-row: 4; }
  .bento .tile--small .duo--mag { grid-row: 1 / span 5; align-self: center; }
}

/* ---------- Founding families (#founding): the gift section, owner-approved board design/gift-section/board-v3.html
   (2026-10-19). One plum-leather intro card with the pass, the 20 places and "Apply to join"; four steps joined by a
   gold thread; "What we ask / What you get"; a short FAQ; the short form in a <dialog> (home.js). The number of open
   places comes from /assets/founding.json (docs/WEBSITE.md, "Founding families"). Phone first; 1100 px = the board. */

.ff-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 30px;
  padding: 34px 22px 26px;
  background: var(--skin), var(--leather);
  background-blend-mode: var(--skin-bm), normal;
  color: var(--on-plum);
  box-shadow: inset 0 0 0 2px rgb(226 196 138 / 0.55), 0 50px 90px -60px rgb(var(--shadow));
}
.ff-card::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  inset-inline-end: -120px;
  top: -120px;
  background: none; /* no gold spotlight (owner 2026-10-23) */
  pointer-events: none;
}
.ff-card > * { position: relative; z-index: 1; min-width: 0; }
.ff-card .h2 { margin: 18px 0 0; color: var(--on-plum); font-size: clamp(2.05rem, 1.3rem + 3vw, 3.75rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
html[lang="ar"] .ff-card .h2 { font-size: clamp(1.9rem, 1.2rem + 2.7vw, 3.375rem); line-height: 1.35; letter-spacing: 0; font-weight: 700; }
.ff-card .lead { margin: 22px 0 0; max-width: 36ch; color: var(--on-plum-muted); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
html[lang="ar"] .ff-card .lead { max-width: 40ch; }
.ff-text .kicker { margin: 0; }

.ff-pts { margin: 26px 0 0; padding: 0; list-style: none; }
.ff-pts li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid rgb(226 196 138 / 0.22); font-size: 1rem; line-height: 1.45; color: var(--on-plum); }
.ff-pts li:first-child { border-top: 0; }
.ff-pts .i { flex: none; width: 24px; height: 24px; color: var(--gold-light); }

/* The pass: a leather card behind (the gold logo) and the ivory pass in front. Drawn at 470 px and scaled on phones. */
.ff-stagebox { --s: 0.64; position: relative; height: calc(var(--s) * 395px); margin-top: 18px; }
.ff-stage { position: absolute; top: calc(var(--s) * -5px); left: 50%; width: 470px; height: 420px; transform: translateX(-50%) scale(var(--s)); transform-origin: 50% 0; }
.ff-pass { position: absolute; width: 400px; height: 252px; border-radius: 24px; padding: 24px 26px; display: flex; flex-direction: column; box-sizing: border-box; }
.ff-pass p { margin: 0; }
.ff-pass--back {
  inset-inline-start: 64px;
  top: 22px;
  overflow: hidden;
  transform: rotate(9deg);
  background: var(--skin), linear-gradient(160deg, #7a4472, #3a1d36);
  background-blend-mode: var(--skin-bm), normal;
  box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.5), 0 30px 50px -20px rgb(0 0 0 / 0.55);
}
.ff-pass__emb { position: absolute; width: 150px; height: auto; left: 50%; top: 42%; transform: translate(-50%, -50%); opacity: 0.42; filter: drop-shadow(0 -1px 0 rgb(255 240 200 / 0.35)) drop-shadow(0 3px 3px rgb(0 0 0 / 0.55)); }
.ff-pass--front {
  inset-inline-start: 0;
  top: 116px;
  transform: rotate(-5deg);
  background: linear-gradient(150deg, #fffaf0 0%, #f7ecd6 55%, #efdcb6 100%);
  box-shadow: inset 0 0 0 1.5px #cba673, inset 0 0 0 7px #fbf3e2, inset 0 0 0 8px rgb(203 166 115 / 0.6), 0 40px 60px -24px rgb(0 0 0 / 0.6), 0 8px 16px -8px rgb(0 0 0 / 0.35);
  color: var(--ink-plum);
}
.ff-pass__top { display: flex; justify-content: space-between; align-items: center; }
.ff-pass__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; line-height: 1.2; }
.ff-pass__brand img { width: 30px; height: 30px; border-radius: 8px; }
.ff-pass__tag { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
html[lang="ar"] .ff-pass__tag { letter-spacing: 0; font-size: 13px; font-weight: 600; }
.ff-pass__seal { position: absolute; inset-inline-end: 22px; top: 56px; width: 78px; height: 78px; }
.ff-pass .ff-pass__nm { margin-top: auto; font-family: Georgia, "Times New Roman", serif; font-size: 36px; line-height: 1.05; color: var(--ink-plum); }
html[lang="ar"] .ff-pass .ff-pass__nm { font-family: var(--font-ar); font-weight: 600; font-size: 32px; line-height: 1.4; }
.ff-pass .ff-pass__sb { margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.ff-pass__bt { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgb(203 166 115 / 0.5); font-size: 13px; line-height: 1.3; color: var(--gold-ink); font-weight: 700; }

/* The places: the gold number, the line and 20 seats; the first open seat pulses gently. */
.ff-places { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; margin-top: 4px; padding-top: 22px; border-top: 1px solid rgb(226 196 138 / 0.22); }
.ff-places p { margin: 0; }
.ff-places__big { font-size: 56px; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ff-places .ff-places__lbl { font-size: 1.0625rem; font-weight: 750; line-height: 1.35; color: var(--on-plum); }
html[lang="ar"] .ff-places .ff-places__lbl { font-weight: 600; }
.ff-places .ff-places__sub { margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--on-plum-muted); }
.ff-seats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 11px 0; justify-items: start; margin-top: 14px; }
.ff-seats span { width: 20px; height: 20px; border-radius: 50%; background: rgb(233 207 154 / 0.08); box-shadow: inset 0 0 0 1.5px var(--gold-light); transition: background 0.6s ease, box-shadow 0.6s ease; }
.ff-seats .is-taken { background: var(--metal); box-shadow: inset 0 0 0 1.5px var(--gold-light); }
.ff-seats .is-live { background: var(--metal); box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 10px 2px rgb(233 207 154 / 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .ff-seats .is-live { animation: ff-live 2.4s ease-in-out infinite; }
}
@keyframes ff-live {
  0%, 100% { box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 4px 0 rgb(233 207 154 / 0.25); opacity: 0.85; }
  50% { box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 16px 5px rgb(233 207 154 / 0.75); opacity: 1; }
}

.ff-cta { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; }
.ff-cta .btn { justify-content: center; }
.ff-mail { margin: 0; text-align: center; font-size: 0.96875rem; color: var(--on-plum-muted); }
.ff-mail a { color: var(--gold-light); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 4px; transition: color 0.3s ease, text-decoration-color 0.3s ease; }
.ff-mail a:hover { color: var(--on-plum); text-decoration-color: var(--on-plum); }

/* How it works: four steps, a vertical gold line on phones, a gold thread across on wide screens. */
.ff-how { margin-top: clamp(56px, 7vw, 96px); }
.ff-how__hd .h3 { margin: 0; font-size: clamp(1.875rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; }
html[lang="ar"] .ff-how__hd .h3 { line-height: 1.4; letter-spacing: 0; }
.ff-how__hd p { margin: 10px 0 0; max-width: 46ch; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.ff-track { position: relative; margin-top: 30px; }
.ff-thread { display: none; }
.ff-steps { margin: 0; padding: 0; list-style: none; }
.ff-steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto 1fr; gap: 0 16px; padding-bottom: 30px; }
.ff-steps li::before { content: ""; position: absolute; inset-inline-start: 21px; top: 48px; bottom: -4px; width: 2px; background: linear-gradient(var(--gold), rgb(212 175 106 / 0.2)); }
.ff-steps li:last-child::before { display: none; }
.ff-steps__no { grid-row: 1 / span 3; position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--metal); color: var(--on-gold); font-size: 17px; font-weight: 800; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 0 0 6px var(--bg), 0 10px 18px -10px rgb(140 106 68 / 0.95); }
.ff-steps .h4 { margin: 2px 0 0; font-size: 1.25rem; line-height: 1.3; }
html[lang="ar"] .ff-steps .h4 { font-weight: 600; line-height: 1.55; }
.ff-steps p { margin: 8px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
html[lang="ar"] .ff-steps p { line-height: 1.85; }
.ff-meta { grid-column: 2; justify-self: start; align-self: start; margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-gold); color: var(--gold-ink); font-size: 0.8125rem; font-weight: 700; line-height: 1.3; }
html[lang="ar"] .ff-meta { font-weight: 600; }

/* What we ask / What you get, joined by the seal */
.ff-ex { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(56px, 7vw, 96px); }
.ff-box { border-radius: 30px; padding: 28px 24px 30px; }
.ff-box--ask { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-gold), 0 26px 50px -40px rgb(var(--shadow) / 0.5); }
.ff-box--get { background: var(--skin), var(--leather); background-blend-mode: var(--skin-bm), normal; color: var(--on-plum); box-shadow: inset 0 0 0 2px rgb(226 196 138 / 0.7), 0 50px 80px -50px rgb(var(--shadow) / 0.95); }
.ff-box .ff-box__t { margin: 0; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; line-height: 1.3; color: var(--gold-ink); }
html[lang="ar"] .ff-box .ff-box__t { letter-spacing: 0; text-transform: none; font-size: 1.0625rem; font-weight: 600; }
.ff-box--get .ff-box__t { color: var(--gold-light); }
.ff-box__big { margin: 8px 0 18px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
html[lang="ar"] .ff-box__big { font-size: 1.375rem; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.ff-box--get .ff-box__big { color: var(--on-plum); }
.ff-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: -6px 0 20px; }
.ff-price s { color: var(--on-plum-muted); opacity: 0.75; font-size: 1.125rem; text-decoration-thickness: 1.5px; }
.ff-price b { color: var(--gold-light); font-size: 1rem; font-weight: 700; }
html[lang="ar"] .ff-price b { font-weight: 600; }
.ff-chk { margin: 0; padding: 0; list-style: none; }
.ff-chk li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
html[lang="ar"] .ff-chk li { line-height: 1.75; }
.ff-chk li + li { margin-top: 14px; }
.ff-chk em { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--metal); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5); }
.ff-chk em .i { width: 14px; height: 14px; color: var(--on-gold); }
.ff-mid { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 18px 0; text-align: center; }
.ff-mid__seal { flex: none; width: 96px; height: 96px; filter: drop-shadow(0 18px 24px rgb(var(--shadow) / 0.25)); }
.ff-flow { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; font-size: 0.9375rem; font-weight: 800; line-height: 1.3; color: var(--ink-plum); white-space: nowrap; }
html[lang="ar"] .ff-flow { font-weight: 600; }
.ff-flow .i { width: 22px; height: 22px; color: var(--gold-ink); transform: rotate(90deg); }

/* The founding FAQ: lines with a gold +/- coin that fades to gold when open */
.ff-faq { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: clamp(56px, 7vw, 96px); }
.ff-faq .ff-faq__t { grid-column: 1 / -1; margin: 0 0 16px; text-align: center; font-size: clamp(1.625rem, 1.3rem + 1vw, 1.875rem); line-height: 1.25; letter-spacing: -0.02em; }
html[lang="ar"] .ff-faq .ff-faq__t { letter-spacing: 0; line-height: 1.5; }
.ff-faq details { border-top: 1px solid var(--hairline); padding: 22px 4px; }
.ff-faq details:last-child { border-bottom: 1px solid var(--hairline); }
.ff-faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 1.0625rem; font-weight: 750; line-height: 1.4; cursor: pointer; list-style: none; transition: color 0.35s ease; }
html[lang="ar"] .ff-faq summary { font-weight: 600; line-height: 1.6; }
.ff-faq summary::-webkit-details-marker { display: none; }
.ff-faq summary:hover { color: var(--plum-ink); }
.ff-faq summary:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 4px; border-radius: 6px; }
.ff-faq summary i { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-gold); transition: background 0.4s ease, box-shadow 0.4s ease; }
.ff-faq summary i::before, .ff-faq summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; border-radius: 2px; background: var(--gold-ink); transition: transform 0.4s var(--spring), opacity 0.4s ease; }
.ff-faq summary i::after { transform: rotate(90deg); }
.ff-faq details[open]:not(.is-closing) summary i { background: var(--metal); box-shadow: none; }
.ff-faq details[open]:not(.is-closing) summary i::after { transform: rotate(0deg); opacity: 0; }
.ff-faq details > div p { margin: 10px 0 0; max-width: 52ch; color: var(--muted); font-size: 1rem; line-height: 1.6; }
html[lang="ar"] .ff-faq details > div p { line-height: 1.85; }
.ff-faq details.is-animating > div { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .ff-faq summary, .ff-faq summary i, .ff-faq summary i::before, .ff-faq summary i::after, .ff-seats span { transition: none; }
}

/* The short form ("Apply to join"): ivory with a gold rim; it fades in once. */
.ff-dialog { box-sizing: border-box; width: min(560px, 100% - 32px); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-gold), 0 40px 80px -30px rgb(var(--shadow) / 0.6); }
.ff-dialog::backdrop { background: rgb(47 24 44 / 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .ff-dialog[open] { animation: ff-in 0.35s var(--ease); }
  .ff-dialog[open]::backdrop { animation: ff-fade 0.35s ease; }
}
@keyframes ff-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes ff-fade { from { opacity: 0; } }
.ff-form { position: relative; padding: 26px 20px 22px; }
.ff-form .kicker { margin: 0; }
.ff-form .h3 { margin: 10px 0 6px; }
.ff-form__lead { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; padding-inline-end: 36px; }
.ff-dialog__x { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-plum); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: background 0.3s ease, box-shadow 0.3s ease; }
.ff-dialog__x:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-gold); }
.ff-dialog__x svg { width: 20px; height: 20px; }
.ff-field { margin: 16px 0 0; }
.ff-field label { display: block; margin-bottom: 6px; font-size: 0.96875rem; font-weight: 700; line-height: 1.4; color: var(--ink-plum); }
html[lang="ar"] .ff-field label { font-weight: 600; }
.ff-field input, .ff-field textarea { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 14px; background: #fffdf8; color: var(--text); font: inherit; font-size: 1.0625rem; line-height: 1.4; box-shadow: inset 0 0 0 1.5px var(--line); outline: none; resize: vertical; transition: box-shadow 0.3s ease; }
.ff-field input::placeholder, .ff-field textarea::placeholder { color: #8b7a86; }
.ff-field input:focus-visible, .ff-field textarea:focus-visible { box-shadow: inset 0 0 0 2px var(--gold-ink); }
.ff-field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #a3412f; }
.ff-form__how { margin: 22px 0 0; font-size: 0.96875rem; font-weight: 700; line-height: 1.4; color: var(--ink-plum); }
html[lang="ar"] .ff-form__how { font-weight: 600; }
/* Three ways to send: Gmail (gold, its own row), then the mail app and Copy side by side (one label size per row). */
.ff-form__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.ff-form__actions .ff-send--gmail { grid-column: 1 / -1; }
.ff-form__actions .btn--quiet { padding-inline: 14px; font-size: 1rem; background: #fffdf8; transition: transform 0.45s var(--spring), box-shadow 0.35s ease, background 0.35s ease; }
.ff-form__actions .btn--quiet:hover { box-shadow: inset 0 0 0 1.5px var(--gold-ink); background: var(--surface-2); }
.ff-status { margin: 12px 0 0; min-height: 1.5em; font-size: 0.9375rem; font-weight: 700; line-height: 1.5; color: var(--gold-ink); opacity: 0; transition: opacity 0.5s ease; }
html[lang="ar"] .ff-status { font-weight: 600; }
.ff-status.is-on { opacity: 1; }
.ff-copybox { margin: 4px 0 0; }
.ff-copybox label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 700; line-height: 1.4; color: var(--ink-plum); }
html[lang="ar"] .ff-copybox label { font-weight: 600; }
.ff-copybox textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: #fffdf8; color: var(--text); font: inherit; font-size: 0.96875rem; line-height: 1.5; box-shadow: inset 0 0 0 1.5px var(--line-gold); outline: none; resize: vertical; transition: box-shadow 0.3s ease; }
.ff-copybox textarea:focus-visible { box-shadow: inset 0 0 0 2px var(--gold-ink); }
@media (prefers-reduced-motion: no-preference) {
  .ff-copybox:not([hidden]) { animation: ff-fade 0.45s ease; }
}
.ff-form__note { margin: 14px 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }

@media (min-width: 400px) { .ff-stagebox { --s: 0.7; } }
@media (min-width: 480px) { .ff-stagebox { --s: 0.85; } }
@media (min-width: 600px) {
  .ff-stagebox { --s: 1; }
  .ff-card { padding: 56px 48px 44px; border-radius: 40px; }
  .ff-pts li { font-size: 1.125rem; }
  .ff-cta { align-items: flex-start; }
  .ff-mail { text-align: start; }
  .ff-form { padding: 32px 28px 28px; }
}
@media (min-width: 760px) {
  .ff-how__hd { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
  .ff-how__hd p { margin: 0; font-size: 1.0625rem; }
  .ff-box { border-radius: 40px; padding: 40px 44px 42px; }
  .ff-box__big { font-size: 1.875rem; margin: 12px 0 24px; }
  html[lang="ar"] .ff-box__big { font-size: 1.75rem; }
  .ff-chk li { font-size: 1.03125rem; }
  .ff-faq { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .ff-faq .ff-faq__t { margin-bottom: 28px; }
  .ff-faq details:nth-last-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .ff-faq summary { font-size: 1.125rem; }
  .ff-faq details > div p { font-size: 1.03125rem; }
}
@media (min-width: 900px) {
  .ff-ex { grid-template-columns: 1fr 200px 1fr; align-items: stretch; }
  .ff-box { min-height: 330px; }
  .ff-mid { flex-direction: column; gap: 14px; padding: 0; align-self: center; }
  .ff-mid__seal { width: 130px; height: 130px; }
  .ff-flow { flex-direction: row; gap: 8px; }
  .ff-flow .i { transform: none; }
  [dir="rtl"] .ff-flow .i { transform: scaleX(-1); }
}
@media (min-width: 1100px) {
  .ff-card { grid-template-columns: 1fr 470px; grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; padding: 76px 80px; border-radius: 48px; }
  .ff-text { grid-column: 1; grid-row: 1; }
  .ff-stagebox { grid-column: 2; grid-row: 1; height: 380px; margin-top: -14px; }
  .ff-stage { top: 0; }
  .ff-pass--front { top: 140px; }
  .ff-places { grid-column: 2; grid-row: 2; margin-top: -74px; padding-top: 24px; }
  .ff-places__big { font-size: 64px; }
  .ff-cta { grid-column: 1; grid-row: 2; margin-top: 16px; }
  .ff-track { margin-top: 40px; border-top: 1.5px solid var(--line-gold); }
  .ff-thread { display: block; position: absolute; left: 0; top: 29px; width: 100%; height: 44px; pointer-events: none; z-index: 0; }
  [dir="rtl"] .ff-thread { transform: scaleX(-1); }
  .ff-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
  .ff-steps li { display: block; padding-block: 28px 8px; padding-inline: 0 28px; }
  .ff-steps li + li { padding-inline-start: 28px; border-inline-start: 1px solid var(--hairline); }
  .ff-steps li::before { display: none; }
  .ff-steps .h4 { margin-top: 14px; font-size: 1.3125rem; }
  .ff-meta { display: inline-block; margin-top: 16px; }
  .ff-ex { grid-template-columns: 1fr 250px 1fr; }
  .ff-mid__seal { width: 150px; height: 150px; }
}
.ff-places [data-ff-count] { white-space: nowrap; }
.ff-form__actions .btn { min-width: 0; white-space: normal; text-align: center; }

/* Site clip audit (docs/SITE_CLIP_AUDIT.md): gold gradient text is painted only inside its own box, so a glyph that overhangs its
   advance (the last "9" of 11.99, an Arabic final form, a negative letter-spacing) was cut. Every gradient-text box gets side
   room (padding with the same negative margin, so nothing moves) and Arabic gets a taller line so marks above and below are kept. */
.plan--pass .price strong,
.price-strip__price strong,
.free-band__title,
.ff-places__big {
  padding-inline: 0.14em;
  margin-inline: -0.14em;
  max-width: 100%;
  box-sizing: content-box;
}
.price strong { text-wrap: balance; overflow-wrap: break-word; }
html[lang="ar"] .price strong,
html[lang="ar"] .price-strip__price strong { line-height: 1.35; padding-block: 0.08em; margin-block: -0.08em; }
html[lang="ar"] .ff-places__big { letter-spacing: 0; line-height: 1.1; padding-block: 0.06em; margin-block: -0.06em; }
html[lang="ar"] .glass-stat__num span,
html[lang="ar"] .brand__name { letter-spacing: 0; }
html[lang="ar"] .btn,
html[lang="ar"] .nav__lang span,
html[lang="ar"] .glass-stat__label,
html[lang="ar"] .glass-stat__num small,
html[lang="ar"] .pcap span,
html[lang="ar"] .ff-meta,
html[lang="ar"] .ff-pass__bt span,
html[lang="ar"] .ff-pass__brand,
html[lang="ar"] .matrix__table th,
html[lang="ar"] .matrix__table th small { line-height: 1.55; }
/* The frosted SOS stat on the photo: on phones it uses the full photo width, so its words never grow taller than the photo and get cut at the top. */
@media (max-width: 520px) {
  .glass-stat--photo { width: calc(100% - 24px); }
}
/* The four family names under the faces ("Grandma", "Grandpa") touched each other on a 360 px phone: smaller type, room, whole words. */
.elders__people li { min-width: 0; text-align: center; }
@media (max-width: 480px) {
  .elders__people { column-gap: 6px; }
  .elders__people li { font-size: clamp(0.82rem, 3.7vw, 0.95rem); overflow-wrap: break-word; }
}
/* The small name pill above a phone ("Your parent's phone") sits at 50% of a narrow figure, so it shrank below its own
   no-wrap text and the words stuck out of the pill on phones. It now always measures its text. */
.phone__tag { width: max-content; max-width: calc(100vw - 32px); }

/* ---- Join form send options (2026-10-20): two full-width buttons, "Email app" then "Copy, then open Gmail" ---- */
.ff-form__actions { grid-template-columns: 1fr; }
.ff-form__actions .btn { min-height: 48px; }

/* ---------- Light and dark (owner 2026-10-21) ---------- */

/* The moon/sun button: in the bar from 1280 px (where the links show), in the menu below that. */
.nav__theme { display: none; margin-inline-start: 4px; }
.menu__theme { color: var(--ink-plum); }
/* The extra button needs about 54 px: from 1280 px the bar uses more of the window (16 px from each side) and the links
   sit a little closer, so English and Arabic both still fit on one line. */
@media (min-width: 480px) {
  .nav__theme { display: inline-grid; }
  .nav { width: min(100% - 32px, 1340px); }
  .nav__links a { padding-inline: 9px; }
  html[lang="ar"] .nav__links a { padding-inline: 7px; }
}
@media (min-width: 1440px) {
  .nav__links a, html[lang="ar"] .nav__links a { padding-inline: 11px; }
}

[data-theme="dark"] .nav__lang { box-shadow: inset 0 0 0 1.5px var(--line-gold); }
[data-theme="dark"] .nav__lang:hover { box-shadow: inset 0 0 0 1.5px var(--ink-plum); }
[data-theme="dark"] .nav__lang::before { background: var(--line-gold); }
[data-theme="dark"] .menu-btn { box-shadow: inset 0 0 0 1.5px var(--line-gold); }
[data-theme="dark"] .brand img { filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.55)); }

/* Chips, small cards over photos and the form fields: plum glass with a gold rim instead of ivory. */
[data-theme="dark"] .tag { background: rgb(212 175 106 / 0.16); color: #f0d9a8; box-shadow: inset 0 0 0 1px rgb(212 175 106 / 0.45); }
[data-theme="dark"] .tag--gold { background: var(--metal); color: var(--on-gold); box-shadow: none; }
[data-theme="dark"] .tag--opt { background: transparent; color: var(--gold-ink); }
[data-theme="dark"] .facts .facts__lead { background: rgb(212 175 106 / 0.14); color: var(--text); }
[data-theme="dark"] .hstrip__chip { background: rgb(212 175 106 / 0.14); color: var(--text); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.45); }
[data-theme="dark"] .hero__card,
[data-theme="dark"] .film__tag { background: rgb(42 21 37 / 0.94); color: var(--text); }
[data-theme="dark"] :is(.ff-field input, .ff-field textarea, .ff-copybox textarea, .ff-form__actions .btn--quiet) { background: var(--surface-2); }

/* Photos keep their colours; in dark a soft gold hairline and a deeper shadow seat them on the plum.
   The family section's hairline sits on its rounded photo (.family__photo is a .photo), never on .family__media:
   that wrapper also holds the phone and its 70 px overhang, so a square frame there boxed in empty space (2026-10-24). */
[data-theme="dark"] :is(.photo, .zoom__img, .stat-scene__photo, .interlude__img, .why-card picture) {
  outline: 1px solid rgb(212 175 106 / 0.38);
  outline-offset: -1px;
}
[data-theme="dark"] .feature-photo { box-shadow: 0 0 0 1px rgb(212 175 106 / 0.5), 0 30px 60px -34px rgb(0 0 0 / 0.8); }

/* The battery chips: the same green, amber and red, on plum. */
[data-theme="dark"] .battery { background: linear-gradient(var(--fill), var(--fill)) 0 0 / var(--level, 50%) 100% no-repeat, #2a1526; color: #c6efcd; --edge: rgb(110 200 125 / 0.6); }
[data-theme="dark"] .battery--low { color: #f6d98f; --edge: rgb(222 170 60 / 0.7); }
[data-theme="dark"] .battery--critical { color: #ffc1b8; --edge: rgb(230 90 80 / 0.7); }
[dir="rtl"][data-theme="dark"] .battery, [data-theme="dark"] [dir="rtl"] .battery { background-position: 100% 0, 0 0; }

/* The dividers between the founding-family questions: in light a 1.5 px antique-gold line (owner 2026-10-21: as
   visible as in dark); dark keeps its soft gold hairline. */
:root:not([data-theme="dark"]) .ff-faq details { border-top-width: 1.5px; border-image: var(--g-hairline-line) 1; }
:root:not([data-theme="dark"]) .ff-faq details:last-child { border-bottom-width: 1.5px; }
@media (min-width: 760px) {
  :root:not([data-theme="dark"]) .ff-faq details:nth-last-child(-n+2) { border-bottom-width: 1.5px; }
}

/* The currency row: the open list floats over the plans. */
.cur-pick.is-open { position: relative; z-index: 6; }
.cur-pick__label { color: var(--text); }
.cur-change { transition: color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
.cur-change:hover { background: var(--hover-wash); }
@media (max-width: 420px) { .cur-pick .dd, .cur-pick .dd__btn { width: 100%; min-width: 0; } }

/* The phone menu rolls down from the bar (clip + fade) and rolls back up; its links get a fading wash. */
.menu { clip-path: inset(0 0 100% 0); transition: opacity 0.4s var(--ease), clip-path 0.45s var(--spring), visibility 0s linear 0.45s; }
.menu.is-open { clip-path: inset(0 0 0 0); transition: opacity 0.4s var(--ease), clip-path 0.45s var(--spring), visibility 0s; }
.menu a:not(.btn) { margin-inline: -14px; padding-inline: 14px; border-radius: 16px; transition: background-color 0.25s ease, color 0.25s ease; }
.menu a:not(.btn):hover, .menu a:not(.btn):focus-visible { background: var(--hover-wash); color: var(--ink-plum); }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.is-open { clip-path: none; transition: opacity 0.2s ease, visibility 0s; }
}

/* ---------- Nav layout (owner 2026-10-21): brand | links centred in the space between | actions ---------- */
.nav__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.nav__bar { padding-inline-start: 18px; }
.brand__name { white-space: nowrap; }
.brand { min-width: 0; }
@media (min-width: 480px) {
  .nav__bar { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding-inline: 18px 10px; }
  .nav__links { justify-self: stretch; }
  .nav__actions { margin-inline-start: 0; }
}
/* Narrow: keep the name whole; the brand shrinks its gap and the lang pill lets go of extra margin. */
@media (max-width: 400px) {
  .nav__bar { gap: 4px; padding-inline-start: 12px; }
  .brand { gap: 7px; margin-inline-end: 0; flex-shrink: 0; }
  .brand img { width: 34px; height: 34px; }
  .nav__actions { gap: 4px; }
  .nav__lang { margin-inline-start: 6px; padding-inline: 8px; gap: 4px; }
  .nav__lang::before { display: none; }
}

/* ---------- Founding pass in dark + the scroll-drawn thread of "How the program works" (owner 2026-10-22) ---------- */
/* The ivory pass is a physical card in both themes: its own ink is pinned, so the dark theme's champagne words
   (made for dark surfaces) never land on ivory. Plum title, deep antique-gold small lines (AA on every ivory stop). */
.ff-pass--front { --ink-plum: #2f182c; --muted: #43334a; --gold-ink: #664620; }
.ff-pass--front::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(112deg, transparent 30%, rgb(255 255 255 / 0.55) 46%, rgb(255 255 255 / 0) 60%); }
.ff-pass--front .ff-pass__tag, .ff-pass--front .ff-pass__bt { color: var(--gold-ink); }
[data-theme="dark"] .ff-pass--front {
  background: linear-gradient(150deg, #fffdf6 0%, #fbf1da 52%, #f2dfb8 100%);
  box-shadow: inset 0 0 0 1.5px #b88f4f, inset 0 0 0 7px #fffaf0, inset 0 0 0 8px rgb(176 132 66 / 0.8), 0 0 0 1px rgb(236 210 156 / 0.55), 0 0 38px -4px rgb(236 210 156 / 0.3), 0 40px 60px -24px rgb(0 0 0 / 0.75), 0 8px 16px -8px rgb(0 0 0 / 0.5);
}
[data-theme="dark"] .ff-pass--front .ff-pass__bt { border-top-color: rgb(176 132 66 / 0.7); }

/* The thread between the four steps draws with the scroll (motion.js sets --fp, 0 to 1, like the top connector); the
   numbers light up as it reaches them. Without motion.js (or with reduced motion) --fp stays 1: all drawn, all lit. */
.ff-track { --fp: 1; }
.ff-thread { clip-path: inset(-12px calc((1 - var(--fp)) * 100%) -12px 0); }
.ff-steps li::before { transform-origin: top; transform: scaleY(clamp(0, calc(var(--fp) * 3 - var(--i, 0)), 1)); }
.ff-steps li:nth-child(2) { --i: 1; }
.ff-steps li:nth-child(3) { --i: 2; }
.ff-steps__no { transition: opacity 0.5s ease, filter 0.5s ease, scale 0.6s var(--ease); }
.ff-steps.is-scrub .ff-steps__no:not(.is-lit) { opacity: 0.5; filter: grayscale(0.85) brightness(0.8); scale: 0.92; }

/* ---------- Muslim-feature sections: collapsed behind one switch (assets/js/region.js sets html.mf-off before first paint) ---------- */
.mf-body {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 0.22s var(--ease), opacity 0.22s var(--ease), visibility 0s;
}
.mf-body > .mf-body__in { min-height: 0; }
.mf-body.is-anim > .mf-body__in, html.mf-off .mf-body > .mf-body__in { overflow: hidden; }
html.mf-off .mf-body {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.22s var(--ease), opacity 0.22s var(--ease), visibility 0s linear 0.22s;
}
html.mf-off .mf-card { display: none; }
@media (prefers-reduced-motion: reduce) { .mf-body { transition: none !important; } }

/* Leather offsets (owner 2026-10-23): every plum surface sits on its own spot of the hide, so neighbours never share a pattern. */
.leather { --lx: -310px; --ly: -770px; }
.hero__leather { --lx: 0px; --ly: 0px; }
.price-strip { --lx: -900px; --ly: -120px; }
.pcard--night { --lx: -420px; --ly: -1330px; }
.offline__visual { --lx: -1180px; --ly: -640px; }
.story { --lx: -60px; --ly: -1500px; }
.tile--voice { --lx: -740px; --ly: -380px; }
.vault { --lx: -1010px; --ly: -1060px; }
.plan--pass { --lx: -180px; --ly: -860px; }
.plan.free-band { --lx: -1290px; --ly: -210px; }
.footer { --lx: -1400px; --ly: -980px; }
.why-card__media--screen { --lx: -650px; --ly: -1120px; }
.why-card--sos { --lx: -90px; --ly: -430px; }
.progress { --lx: -1230px; --ly: -1400px; }
.totop { --lx: -1060px; --ly: -300px; }
.ff-card { --lx: -350px; --ly: -1010px; }
.ff-pass--back { --lx: -950px; --ly: -1250px; }
.ff-box--get { --lx: -130px; --ly: -1180px; }
.photo { --lx: -700px; --ly: -90px; }

/* Dark mode: the phones' floating ground shadow reads on the plum page. Same ellipses, same position, scale and
   --lift motion as light mode; only the colours change: a near-black core only (owner 2026-10-23: no coloured glow around it). */
[data-theme="dark"] .phone {
  --phone-contact: 0 0 0;
  --phone-drop: rgb(0 0 0 / 0.75);
}
[data-theme="dark"] .phone::before {
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.5) 58%, transparent);
  bottom: calc(var(--pw) * -0.07);
  height: calc(var(--pw) * 0.14);
}
[data-theme="dark"] .phone--step::after, [data-theme="dark"] .phone--story::after, [data-theme="dark"] .phone--feature::after,
[data-theme="dark"] .phone--family::after, [data-theme="dark"] .phone--interlude::after, [data-theme="dark"] .phone--offline::after,
[data-theme="dark"] .phone--vault::after, [data-theme="dark"] .phone--remind::after, [data-theme="dark"] .phone--duo::after,
[data-theme="dark"] .phone--sos::after, [data-theme="dark"] .ramadan .phone::after,
[data-theme="dark"] .pcard--night .phone::after, [data-theme="dark"] .feature--sos .phone::after, [data-theme="dark"] .vault .phone::after,
[data-theme="dark"] .offline__visual .phone::after, [data-theme="dark"] .story .phone::after, [data-theme="dark"] .interlude .phone::after,
[data-theme="dark"] .duo--dark .phone--duo::after {
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.95), rgb(0 0 0 / 0.6) 58%, transparent);
}
/* English, visitor outside the Arab world: prayer / Ramadan lines and table rows hide with the Muslim-feature sections */
html.mf-off .mf-hide { display: none; }
html.mf-off .matrix__table tbody tr.mf-pre > * { border-bottom: 0; }

/* ---------- Nav v2 (owner 2026-10-23): the "Download the beta" button is in the bar at every width ----------
   The links fold into the menu button below the width where they fit; the button, the menu and the language pill always fit. On phones
   (up to 439 px) the brand shows its logo only and the button and pill shrink a little; nothing wraps or overlaps. */
header.nav .nav__cta.btn { flex: none; white-space: nowrap; max-width: none; }
@media (max-width: 439px) {
  .brand__name { display: none; }
  .brand { gap: 0; }
  .nav__bar { padding-inline-start: 10px; }
  header.nav .nav__cta.btn.btn--small { min-height: 44px; padding: 8px 13px; font-size: 0.875rem; }
  html[lang="ar"] header.nav .nav__cta.btn.btn--small { padding-inline: 11px; font-size: 0.8125rem; }
  .nav__cta .i { display: none; }
}
@media (max-width: 399px) {
  .nav__globe { display: none; }
}
/* 360-379 px (audit 2026-11-01): the Arabic pill ran ~10 px past the bar; trim the gaps so it fits. */
@media (max-width: 379px) {
  .nav__actions { gap: 2px; }
  .nav__lang { margin-inline-start: 2px; padding-inline: 7px; }
  header.nav .nav__cta.btn.btn--small { padding-inline: 10px; }
  html[lang="ar"] header.nav .nav__cta.btn.btn--small { padding-inline: 9px; }
}
@media (max-width: 359px) {
  header.nav .nav__cta.btn.btn--small, html[lang="ar"] header.nav .nav__cta.btn.btn--small { padding-inline: 6px; font-size: 0.75rem; }
  .nav__bar { padding-inline-end: 6px; }
  .nav__actions { gap: 2px; }
  .nav__lang { padding-inline: 7px; margin-inline-start: 3px; }
  .nav__bar .menu-btn { width: 40px; height: 40px; }
  .nav__bar .menu-btn__lines, .nav__bar .menu-btn__lines::before { width: 18px; margin-left: -9px; }
  .nav__bar .menu-btn__lines { top: 16px; }
}

/* ---------- Priority+ "More" (owner 2026-10-23, nav-more.js): as many links as fit, the rest under "More" ---------- */
.nav-more { position: relative; flex: none; display: inline-flex; margin-inline-start: 2px; }
.nav-more[hidden] { display: none; }
.nav-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}
html[lang="ar"] .nav-more__btn { line-height: 1.55; }
.nav-more__btn:hover, .nav-more.is-open .nav-more__btn { background: var(--hover-wash); }
.nav-more__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav-more__chev { flex: none; width: 18px; height: 18px; color: var(--g-gold-text, var(--gold-ink)); transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1); }
.nav-more.is-open .nav-more__chev { transform: rotate(180deg); }
.nav-more__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 15rem;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 16px;
  background: var(--g-surface, var(--surface));
  box-shadow: inset 0 0 0 1px var(--g-rim, var(--line-gold)), 0 24px 48px -20px rgb(var(--g-shadow, var(--shadow)) / 0.55);
  text-align: start;
  visibility: hidden;
  clip-path: inset(0 0 100% 0 round 16px);
  opacity: 0;
  transition: clip-path 0.22s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease, visibility 0s linear 0.22s;
}
.nav-more.is-open .nav-more__list { visibility: visible; clip-path: inset(0 0 0 0 round 16px); opacity: 1; transition: clip-path 0.22s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease, visibility 0s; }
.nav .nav-more__list a.nav-more__link {
  display: block;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 10px;
  color: var(--g-text, var(--text));
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
html[lang="ar"] .nav .nav-more__list a.nav-more__link { line-height: 1.55; }
.nav .nav-more__list a.nav-more__link:hover, .nav .nav-more__list a.nav-more__link:focus-visible { background: var(--hover-wash); outline: none; }
.nav .nav-more__list a.nav-more__link:focus-visible { box-shadow: inset 0 0 0 2px var(--g-focus, var(--gold)); }
.nav .nav-more__list a.nav-more__link[aria-current="page"] { background: var(--hover-wash); text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-more__btn, .nav-more__chev, .nav-more__list, .nav .nav-more__list a.nav-more__link { transition: none; }
}

/* ---------- Hover timing (owner 2026-10-23): hover-in is quick but still a fade (--hv-in, 120 ms, ease-out), hover-out a little
   softer (--hv-out, 200 ms). Never over 220 ms for colour, background, border, shadow or opacity. The deliberate long
   effects (reveals, intro, shine loop, sparkles, carousel) are not touched. ---------- */
:root { --hv-in: 0.12s; --hv-out: 0.2s; }
.btn { transition-duration: var(--hv-out); }
.btn:hover, .btn:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.btn .i { transition-duration: var(--hv-out); }
.btn:hover .i, .btn:focus-visible .i { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.badge-play { transition-duration: var(--hv-out); }
.badge-play:hover, .badge-play:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.nav__links a { transition-duration: var(--hv-out); }
.nav__links a:hover, .nav__links a:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.nav__lang { transition-duration: var(--hv-out); }
.nav__lang:hover, .nav__lang:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.nav-more__btn { transition-duration: var(--hv-out); }
.nav-more__btn:hover, .nav-more__btn:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.nav .nav-more__list a.nav-more__link { transition-duration: var(--hv-out); }
.nav .nav-more__list a.nav-more__link:hover, .nav .nav-more__list a.nav-more__link:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.menu a:not(.btn) { transition-duration: var(--hv-out); }
.menu a:not(.btn):hover, .menu a:not(.btn):focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.cur-change { transition-duration: var(--hv-out); }
.cur-change:hover, .cur-change:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.why-card { transition-duration: var(--hv-out); }
.why-card:hover, .why-card:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.why-card h3 { transition-duration: var(--hv-out); }
.why-card:hover h3, .why-card:focus-visible h3 { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.why-card::before { transition-duration: var(--hv-out); }
.why-card:hover::before, .why-card:focus-visible::before { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.why-card::after, .plan::after { transition-duration: var(--hv-out); }
.why-card:hover::after, .why-card:focus-visible::after, .plan:hover::after { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.plan { transition-duration: var(--hv-out); }
.plan:hover, .plan:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.ff-mail a { transition-duration: var(--hv-out); }
.ff-mail a:hover, .ff-mail a:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.ff-faq summary { transition-duration: var(--hv-out); }
.ff-faq summary:hover, .ff-faq summary:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.ff-faq summary i, .ff-faq summary i::before, .ff-faq summary i::after { transition-duration: var(--hv-out); }
.ff-faq summary:hover i, .ff-faq summary:hover i::before, .ff-faq summary:hover i::after, .ff-faq summary:focus-visible i { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.ff-dialog__x { transition-duration: var(--hv-out); }
.ff-dialog__x:hover, .ff-dialog__x:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.ff-field input, .ff-field textarea, .ff-copybox textarea { transition-duration: var(--hv-out); }
.ff-field input:hover, .ff-field textarea:hover, .ff-copybox textarea:hover, .ff-field input:focus, .ff-field textarea:focus, .ff-copybox textarea:focus { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.ff-form__actions .btn--quiet { transition-duration: var(--hv-out); }
.ff-form__actions .btn--quiet:hover, .ff-form__actions .btn--quiet:focus-visible { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.totop .i { transition-duration: var(--hv-out); }
.totop:hover .i, .totop:focus-visible .i { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
.slogan__text { transition-duration: var(--hv-out); }
.slogan__text.is-lit { transition-duration: var(--hv-in); transition-timing-function: ease-out; }
/* the image zoom on the cards is an effect, not a colour change: quick too, 220 ms both ways */
.why-card__media img { transition-duration: 0.22s; }

/* Priority+ from 480 px (owner 2026-10-23): the menu button (full menu) is only for bars where not even "More" fits; the theme button
   then lives in that menu. With the links hidden the actions keep the last grid column. */
@media (min-width: 480px) {
  .nav__actions { grid-column: 3; }
  .nav:not([data-nav-fit="all"]):not([data-nav-fit="some"]) .nav__theme { display: none; }
}
/* Narrow desktop windows (480-759 px): the brand keeps only its logo and the button drops its icon, so "More" fits as low as possible. */
@media (min-width: 480px) and (max-width: 759px) {
  .brand__name { display: none; }
  .brand { gap: 0; }
  .nav__cta .i { display: none; }
}

/* Home helper flow (owner 2026-10-25, round 3): ONE continuous card. Row 1: the film + what she can do. Row 2: the two phones + how she joins. No divider, no inner frames. */
.family .hflow { display: grid; gap: clamp(26px, 4vw, 40px); padding: clamp(18px, 3.4vw, 36px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-gold), 0 26px 50px -40px rgb(var(--shadow) / 0.55); }
.hflow__row { display: grid; gap: 22px; align-items: center; min-width: 0; }
.hflow__copy { display: grid; gap: 12px; align-content: center; }
.hflow__copy p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
html[lang="ar"] .hflow__copy p { font-size: 0.98rem; line-height: 1.75; }
.hflow__copy .helper-steps__privacy { padding-top: 0; border-top: 0; }
.hflow__duo { display: grid; justify-items: center; min-width: 0; }
.hflow__duo .duo__phones { --pairw: clamp(100px, 30vw, 150px); }
.hflow__duo .duo__phones .bridge { flex-basis: clamp(36px, 8vw, 72px); }
.hflow__steps { display: grid; gap: 14px; align-content: center; }
.hflow__steps .helper-steps__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hflow__steps .helper-steps__list li { grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-content: start; }
.hflow__steps .helper-steps__list p { padding-top: 5px; color: var(--muted); }
@media (min-width: 900px) {
  .hflow__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); }
  .hflow__row--phones { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hflow__duo .duo__phones { --pairw: clamp(120px, 11vw, 150px); }
}

/* ---------- Open / close toggles, style B "connected card" (owner 2026-10-25, design/site-toggles/mockup.html) ----------
   One look for every "More details" (details.more), the "Muslim family features" switch (.mf-switch) and the help "More (n)" rows
   (.hlp-more). The whole row is the button: label, Show/Hide, chevron disc. Open = plum header with gold text and a gold disc,
   and a thicker gold rim round header + panel. Prefix tgb. */
.more, .mf-switch, .hlp-more {
  --tgb-hover: rgb(74 37 69 / 0.07);
  --tgb-head: var(--plum);
  --tgb-head-ink: var(--gold-light);
  --tgb-bg: var(--surface);
}
[data-theme="dark"] .more, [data-theme="dark"] .mf-switch, [data-theme="dark"] .hlp-more {
  --tgb-hover: rgb(233 207 154 / 0.14);
  --tgb-bg: rgb(255 246 232 / 0.04);
}
.story .more, .vault .more, .pcard--night .more {
  --tgb-hover: rgb(233 207 154 / 0.14);
  --tgb-head: rgb(18 6 16 / 0.55);
  --tgb-bg: rgb(255 246 232 / 0.06);
  --line-gold: rgb(226 196 138 / 0.5);
  --ink-plum: var(--gold-light);
}
.more {
  display: block;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  border: 2px solid var(--line-gold);
  border-radius: 16px;
  background: var(--tgb-bg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
[data-theme="dark"] .more { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.more[open]:not(.is-closing) { border-color: var(--gold); }
.more > summary, .mf-switch, .hlp-more {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  padding-inline-start: 18px;
  border: 0;
  background: transparent;
  color: var(--ink-plum);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: start;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary:hover, .mf-switch:hover, .hlp-more:hover { background: var(--tgb-hover); }
.more[open]:not(.is-closing) > summary, .mf-switch[aria-expanded="true"], .hlp-more[aria-expanded="true"] {
  background: var(--tgb-head);
  color: var(--tgb-head-ink);
}
.more > summary:focus-visible, .mf-switch:focus-visible, .hlp-more:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: -5px; }
.mf-switch, .hlp-more { border-radius: 16px; box-shadow: inset 0 0 0 2px var(--line-gold); background-color: var(--tgb-bg); }
.mf-switch { max-width: 40rem; margin-block: 4px 18px; }
.hlp-more { margin-top: 10px; }
[data-theme="dark"] .mf-switch, [data-theme="dark"] .hlp-more { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mf-switch[aria-expanded="true"], .hlp-more[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--gold); }
.mf-switch:hover, .hlp-more:hover { background-color: var(--tgb-hover); }
.mf-switch[aria-expanded="true"], .hlp-more[aria-expanded="true"] { background-color: var(--tgb-head); }
.tgb__t { flex: 1; min-width: 0; display: inline-grid; }
.tgb__s { flex: none; display: inline-grid; font-size: 0.82rem; font-weight: 600; opacity: 0.85; }
.tgb__t > span, .tgb__s > span { grid-area: 1 / 1; transition: opacity 0.25s ease; }
.tgb__b { opacity: 0; }
.more[open]:not(.is-closing) .tgb__a, [aria-expanded="true"] > .tgb__t > .tgb__a, [aria-expanded="true"] > .tgb__s > .tgb__a { opacity: 0; }
.more[open]:not(.is-closing) .tgb__b, [aria-expanded="true"] > .tgb__t > .tgb__b, [aria-expanded="true"] > .tgb__s > .tgb__b { opacity: 1; }
.tgb__disc {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-gold);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.tgb__disc::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate 0.3s var(--ease), translate 0.3s var(--ease);
}
.more[open]:not(.is-closing) .tgb__disc, [aria-expanded="true"] > .tgb__disc { background: var(--gold); color: var(--on-gold); box-shadow: none; }
.more[open]:not(.is-closing) .tgb__disc::after, [aria-expanded="true"] > .tgb__disc::after { rotate: 225deg; translate: 0 2px; }
.more__body { padding: 12px 18px 16px; }
@media (prefers-reduced-motion: reduce) {
  .more, .more > summary, .mf-switch, .hlp-more, .tgb__t > span, .tgb__s > span, .tgb__disc, .tgb__disc::after { transition: none !important; }
}

/* ---------- Audit round (owner 2026-10-25): no solid open panels, no holes, plain info line ---------- */
/* 1. An opened "More details" / switch / help row is never a solid fill: a light pool of the page's own glass (dark) or an ivory
   panel with a soft gold wash (light). The header keeps its gold disc, the rim turns gold. All of it fades with .more's transitions. */
.more, .mf-switch, .hlp-more {
  --tgb-head: transparent;
  --tgb-head-ink: var(--ink-plum);
  --tgb-wash: linear-gradient(90deg, rgb(212 175 106 / 0.2), rgb(212 175 106 / 0.05));
  --tgb-open: radial-gradient(ellipse 90% 130% at 50% 0%, rgb(212 175 106 / 0.20), rgb(212 175 106 / 0.05) 60%, transparent 100%), var(--surface);
}
[data-theme="dark"] .more, [data-theme="dark"] .mf-switch, [data-theme="dark"] .hlp-more,
.story .more, .vault .more, .pcard--night .more {
  --tgb-head-ink: var(--gold-light);
  --tgb-wash: linear-gradient(90deg, rgb(233 207 154 / 0.20), rgb(233 207 154 / 0.04));
  --tgb-open: radial-gradient(closest-side at 50% 38%, rgb(112 60 104 / 0.78) 0%, rgb(84 42 78 / 0.5) 55%, rgb(70 34 64 / 0.2) 85%, transparent 100%);
}
.more { transition: border-color 0.3s ease, background-color 0.3s ease; }
.more[open]:not(.is-closing) { background: var(--tgb-open); }
.more[open]:not(.is-closing) > summary,
.mf-switch[aria-expanded="true"], .hlp-more[aria-expanded="true"] { background: var(--tgb-wash); color: var(--tgb-head-ink); }
.mf-switch[aria-expanded="true"], .hlp-more[aria-expanded="true"] { background-color: transparent; background-image: var(--tgb-wash); }
.more[open]:not(.is-closing) > summary:hover { background: var(--tgb-hover); }
.more[open]:not(.is-closing) .more__body { color: var(--text); }
.story .more[open]:not(.is-closing) .more__body, .vault .more[open]:not(.is-closing) .more__body,
.pcard--night .more[open]:not(.is-closing) .more__body, [data-theme="dark"] .more[open]:not(.is-closing) .more__body { color: var(--on-plum-muted); }

/* 2. The "optional" line under the Muslim features lead is plain information: no pill, no switch, small "i" icon. */
.optin {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--muted); font-weight: 400; font-size: 1rem; line-height: 1.55; cursor: default;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html.glass[data-theme="dark"] p.optin { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.optin .i { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--gold-ink); }
html[dir="rtl"] .optin .i { scale: 1; }

/* 3. Family section: the "OK at a glance" card leads the copy column, the points fill two full columns. */
.family .pgrid.pgrid--lead { margin-top: clamp(26px, 3.4vw, 40px); margin-bottom: clamp(8px, 1.4vw, 16px); }
.pgrid--lead .pcard__duo { padding-block-end: 16px; }
@media (min-width: 640px) {
  .family .points { grid-auto-flow: row dense; }
  .family .points > .point--key { grid-column: 1 / -1; }
  .family .points > .point:has(.point__duo) { grid-column: 2; grid-row: span 3; }
  .family .points > .point:not(.point--key):not(:has(.point__duo)) { grid-column: 1; }
}

/* 4. Privacy promises: an odd last promise sits centred across both columns instead of alone on the left. */
@media (min-width: 640px) {
  .promises > .promise:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; max-width: 34rem; }
}

/* ---------- Helper block: heading above, air around, glass instead of a solid fill (owner 2026-10-25) ---------- */
.family .hflow__title { margin-top: clamp(56px, 8vw, 96px); margin-bottom: clamp(18px, 2.6vw, 30px); scroll-margin-top: 90px; }
.family .hflow { background: radial-gradient(ellipse 80% 70% at 50% 0%, rgb(212 175 106 / 0.16), transparent 72%), var(--surface); }
html.glass[data-theme="dark"] .family .hflow { position: relative; isolation: isolate; background: none; box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.42); }
html.glass[data-theme="dark"] .family .hflow::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -70px -100px;
  background: var(--bk-pool);
}
.hflow__row--top { align-items: stretch; }
.hflow__row--top .hflow__copy { align-content: center; }
@media (max-width: 899px) {
  html.glass[data-theme="dark"] .family .hflow::before { inset: -50px calc(-1 * var(--gutter) - 20px); }
}

/* Hero hook badge (2026-10-25): three short feature lines and "and much more"; same frosted card and place as the old number badge */
/* The hook card is always wide enough for its longest line on ONE line (AR «تحذير من مكالمات الاحتيال» ≈ 12.2em), never wider than the stage. */
.glass-stat--hook { --hkc-fs: clamp(0.95rem, 0.85rem + 0.45vw, 1.1rem); width: min(100%, max(min(52%, 250px), calc(var(--hkc-fs) * 12.8 + 40px))); }
.glass-stat__hook { display: grid; gap: 3px; color: var(--gold-light); font-size: var(--hkc-fs); font-weight: 800; line-height: 1.2; }
.glass-stat__li { display: block; white-space: nowrap; }
html[lang="ar"] .glass-stat__hook { line-height: 1.5; }

/* ---- Hero mode selector (2026-10-25): "For a parent" | "For myself" = Solo mode (names in docs/WEBSITE_NAMES.md section 23) ---- */
.hmode {
  --hmode-rim: rgb(203 166 115 / 0.6);
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  max-width: 100%; margin: 0 0 12px; padding: 4px; border-radius: 999px;
  background: rgb(255 250 240 / 0.7); box-shadow: inset 0 0 0 1px var(--hmode-rim);
}
.hmode__opt {
  appearance: none; border: 0; cursor: pointer; font: inherit; color: var(--ink-plum);
  min-height: 44px; padding: 6px 20px; border-radius: 999px; background: transparent;
  font-size: 0.9375rem; font-weight: 800; line-height: 1.2; text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hmode__opt:hover { background-color: rgb(203 166 115 / 0.22); }
.hmode__opt[aria-checked="true"] {
  background: var(--leather); color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.7), 0 6px 14px -8px rgb(var(--shadow) / 0.7);
}
.hmode__opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[data-theme="dark"] .hmode { background: rgb(212 175 106 / 0.1); --hmode-rim: rgb(226 196 138 / 0.45); }
[data-theme="dark"] .hmode__opt { color: var(--text); }
[data-theme="dark"] .hmode__opt:hover { background-color: rgb(212 175 106 / 0.16); }
[data-theme="dark"] .hmode__opt[aria-checked="true"] { color: var(--gold-light); box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.75); }
html[lang="ar"] .hmode__opt { font-weight: 700; }
.hmode__txt { white-space: nowrap; }
/* Phones: the switch always fits inside the screen (both options share the width, a long label wraps instead of being cut). */
@media (max-width: 520px) {
  .hmode { display: grid; width: 100%; grid-auto-columns: minmax(0, 1fr); }
  .hmode__opt { padding: 6px 10px; font-size: 0.8125rem; min-width: 0; }
  .hmode__txt { white-space: normal; overflow-wrap: anywhere; }
}

/* Lists, badge lines and phone screen fade between the two modes (home.js adds .is-out, then swaps [hidden]) */
.hmode__swap { transition: opacity 0.2s var(--ease); }
.hmode__swap.is-out { opacity: 0; }
.hmode__still { opacity: 1; transition: opacity 0.3s var(--ease); z-index: 1; }
.hmode__swap[hidden] { display: none; }
.hmode__still[hidden] { display: block; opacity: 0; pointer-events: none; visibility: hidden; }
.hmode__ribbon {
  position: absolute; z-index: 3; bottom: -14px; inset-inline-start: 50%; translate: -50% 0; margin: 0;
  width: max-content; max-width: calc(100vw - 32px); padding: 5px 16px; border-radius: 999px;
  background: var(--leather); color: var(--gold-light); font-size: 0.875rem; font-weight: 800; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgb(226 196 138 / 0.7), 0 8px 18px -10px rgb(var(--shadow) / 0.6);
}
[dir="rtl"] .hmode__ribbon { translate: 50% 0; }
.hmode__ribbon span { display: inline-block; transition: opacity 0.2s var(--ease); }
.hmode__ribbon span.is-out { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hmode__opt, .hmode__swap, .hmode__still, .hmode__ribbon span { transition: none; }
}

/* ---- Solo mode section (2026-10-25): shown only in "For myself" (names in docs/WEBSITE_NAMES.md section 24) ---- */
.hmode__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.solo__lead { max-width: 36em; margin: 12px auto 0; text-align: center; }
.solo__list {
  list-style: none; margin: clamp(22px, 3vw, 36px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px);
}
.solo__item {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px;
  border-radius: 20px; background: rgb(255 250 240 / 0.85);
  box-shadow: inset 0 0 0 1.5px rgb(203 166 115 / 0.65), 0 14px 26px -22px rgb(var(--shadow) / 0.6);
}
.solo__ico {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--leather); color: var(--gold-light); box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.7);
}
.solo__ico .i { width: 24px; height: 24px; }
.solo__ico--sm { width: 36px; height: 36px; }
.solo__ico--sm .i { width: 19px; height: 19px; }
.solo__h { margin: 2px 0 4px; font-size: 1.125rem; line-height: 1.25; font-weight: 800; color: var(--ink-plum); }
.solo__p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.solo__foot {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: clamp(20px, 2.6vw, 30px) auto 0;
  max-width: max-content; padding: 8px 20px 8px 10px; border-radius: 999px; font-weight: 800; color: var(--ink-plum);
  background: rgb(255 250 240 / 0.85); box-shadow: inset 0 0 0 1.5px rgb(203 166 115 / 0.65);
}
[dir="rtl"] .solo__foot { padding: 8px 10px 8px 20px; }
[data-theme="dark"] .solo__item, [data-theme="dark"] .solo__foot { background: rgb(212 175 106 / 0.1); box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.45); }
[data-theme="dark"] .solo__h, [data-theme="dark"] .solo__foot { color: var(--text); }
@media (max-width: 900px) { .solo__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .solo__list { grid-template-columns: minmax(0, 1fr); } .solo__foot { max-width: 100%; border-radius: 22px; } }

/* ---- "More features" expand (2026-10-29): one details.more per mode, items reuse .solo__item (names in docs/WEBSITE_NAMES.md section 29) ---- */
.mfx { max-width: 1040px; margin: clamp(22px, 3vw, 34px) auto 0; }
.mfx__list { margin: 4px 0 0; }
.mfx .solo__item { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(203 166 115 / 0.5); padding: 14px; }
.mfx .solo__ico { width: 42px; height: 42px; }
.mfx .solo__ico .i { width: 21px; height: 21px; }
.mfx .solo__h { font-size: 1.0625rem; }
.mfx .solo__p { font-size: 0.9375rem; }
[data-theme="dark"] .mfx .solo__item { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.35); }
/* Feature box details (2026-11-01): 2-3 short check lines under each .solo__p (names in docs/WEBSITE_NAMES.md section 29) */
.solo__pts { margin: 10px 0 0; padding: 0; list-style: none; gap: 6px; font-size: 1rem; line-height: 1.4; }
.solo__pts li { gap: 8px; }
.solo__pts .i { flex: none; width: 15px; height: 15px; margin-top: 4px; color: var(--ink-plum); }
.mfx .solo__pts { font-size: 0.9375rem; }
[data-theme="dark"] .solo__pts .i { color: var(--gold-light); }

/* ---- Solo mode price card (2026-10-25): shown only in "For myself" (names in docs/WEBSITE_NAMES.md section 24) ---- */
.solo__plan { max-width: 460px; margin: 0 auto; }
.solo__plan .plan { height: auto; }
.solo__later { margin: 14px 0 0; font-size: 1rem; line-height: 1.45; font-weight: 700; color: var(--gold-soft, #e2c48a); }

/* ---- Solo mode "What you get" (2026-10-26): real Solo screens, shown only in "For myself" (docs/WEBSITE_NAMES.md section 25) ---- */
.solosc__lead { max-width: 36em; margin: 12px auto 0; text-align: center; }
.solosc__perks {
  list-style: none; margin: clamp(20px, 2.6vw, 32px) auto 0; padding: 0; max-width: 980px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
}
.solosc__perk {
  display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  font-size: 1rem; line-height: 1.35; font-weight: 700; color: var(--ink-plum);
  background: rgb(255 250 240 / 0.85); box-shadow: inset 0 0 0 1.5px rgb(203 166 115 / 0.65);
}
[dir="rtl"] .solosc__perk { padding: 10px 12px 10px 18px; }
.solosc__perk .i { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--leather); color: var(--gold-light); }
.solosc__row {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2.4vw, 32px);
  max-width: 900px; margin-inline: auto;
}
.solosc__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.solosc__phone { --pw: 230px; transition: translate 0.45s var(--ease); }
.solosc__item:hover .solosc__phone { translate: 0 -6px; }
.solosc__h { margin: 22px 0 4px; font-size: 1.125rem; line-height: 1.25; font-weight: 800; color: var(--ink-plum); }
.solosc__p { margin: 0; max-width: 16em; font-size: 1rem; line-height: 1.45; color: var(--muted); }
[data-theme="dark"] .solosc__perk { background: rgb(212 175 106 / 0.1); box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.45); color: var(--text); }
[data-theme="dark"] .solosc__h { color: var(--text); }
@media (max-width: 900px) { .solosc__phone { --pw: 210px; } .solosc__row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-inline: auto; } }
@media (max-width: 560px) {
  .solosc__phone { --pw: min(40vw, 160px); }
  .solosc__perk { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .solosc__phone { transition: none; } .solosc__item:hover .solosc__phone { translate: none; } }
/* Top bar links that swap with the mode ("For a parent" | "For myself"): keep the hover fade and add the swap fade. */
.nav__links a.hmode__swap { transition-property: background-color, color, opacity; }

/* Magnifier film (owner 2026-10-28): the real clip in the magnifier tile, full width of the tile, caption under it.
   Poster first (same 16:9 box, no jump), the clip fades over it (.film rules); reduced motion starts paused (home.js, data-rm). */
.film--mag { grid-column: 1 / -1; margin-block: 14px 6px; }
.film--mag .film__frame { max-width: 640px; }
/* Smooth playback while scrolling: the frame is its own paint layer and the clip its own compositor layer (no repaint of the page behind it per frame). */
.film--mag .film__frame { contain: paint; }
.film--mag .film__video { transform: translateZ(0); backface-visibility: hidden; }
.film__cap { margin: 10px 4px 0; padding-inline-end: 56px; min-height: 44px; font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.4; }
@media (min-width: 760px) {
  .bento .tile--small > .film--mag { grid-row: 1; padding-inline: 0 32px; margin-block: 0 18px; }
  .bento .tile--small .duo--mag { grid-row: 2 / span 4; }
}
/* Magnifier tile padding (owner 2026-10-29): the film is row 1; the text and the phone block share the rows under it, the text is
   centred against the phone, and the phone block sits tight (label close above, pause button close below) with the same
   inset from the tile edge as the call tile. */
@media (min-width: 760px) {
  .bento .tile--small { grid-template-rows: auto 1fr auto auto auto 1fr; column-gap: 24px; }
  .bento .tile--small > .tile__icon { grid-row: 3; }
  .bento .tile--small > h3 { grid-row: 4; }
  .bento .tile--small > p { grid-row: 5; }
  .bento .tile--small > .film--mag { margin-block: 0 14px; }
  .bento .tile--small .duo--mag { grid-row: 2 / span 5; align-self: center; margin-inline: 0; padding-inline: 0 24px; margin-block: 0; }
  .bento .tile--small .duo--mag .duo__phones { padding-block-end: 52px; }
  .bento .tile--small .duo--mag .pcol { gap: 8px; }
}
@media (max-width: 759px) {
  .tile--small .duo--mag { margin-block-start: 8px; }
  .duo--mag .duo__phones { padding-block-end: 52px; }
  .duo--mag .pcol { gap: 8px; }
}

/* Solo options (owner 2026-10-29): every Solo option as a tile with its real screen(s), built on .tile. Names: docs/WEBSITE_NAMES.md. */
.sopt { margin-top: 28px; }
/* The personal-use photo at the top of the section: gold rim, floating ground shadow, fades in once (.reveal). Swap the two files in assets/img/solo-photo-{en,ar}[@2x].webp. */
.sopt__photo { position: relative; width: min(88vw, 440px); margin: 30px auto 38px; border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgb(203 166 115 / 0.75), 0 46px 70px -40px rgb(var(--shadow) / 0.7); }
.sopt__photo::after { content: ""; position: absolute; inset-inline: 12% ; bottom: -26px; height: 22px; border-radius: 50%; background: rgb(var(--shadow) / 0.35); filter: blur(14px); z-index: -1; }
.sopt__photo img { display: block; width: 100%; height: auto; border-radius: inherit; }
.sopt__bento .sopt__tile { align-items: center; transition: box-shadow var(--hv-out, 0.3s) ease, background-color var(--hv-out, 0.3s) ease; }
.sopt__bento .sopt__tile:hover { box-shadow: inset 0 0 0 1.5px var(--gold-soft, #e2c48a), 0 30px 54px -38px rgb(var(--shadow) / 0.6); }
.sopt__phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 22px); padding: 8px 20px 30px; }
.sopt__fig { margin: 0; display: grid; justify-items: center; gap: 12px; }
.sopt .sopt__phone { --pw: min(40vw, 168px); margin-block: 24px 0; transition: translate 0.45s var(--ease, ease); }
.sopt__tile:hover .sopt__phone { translate: 0 -5px; }
.sopt__cap { max-width: 11em; text-align: center; font-size: 0.9rem; line-height: 1.3; font-weight: 700; color: var(--muted); }
.sopt .sopt__tile--three .sopt__phones { padding-inline: 10px; gap: 8px; }
.sopt .sopt__tile--three .sopt__phone { --pw: min(26vw, 168px); }
.sopt__tile--three .sopt__cap { font-size: 0.8rem; max-width: 100%; }
.sopt__chip {
  justify-self: start; margin: 0; padding: 5px 14px; border-radius: 999px; font-size: 0.85rem; line-height: 1.2; font-weight: 800; letter-spacing: 0.02em;
  color: var(--ink-plum); background: rgb(212 175 106 / 0.16); box-shadow: inset 0 0 0 1.5px var(--line-gold);
}
.sopt__chip--soon { background: rgb(212 175 106 / 0.08); box-shadow: inset 0 0 0 1.5px var(--line-gold), 0 0 0 3px rgb(212 175 106 / 0.1); }
[data-theme="dark"] .sopt__chip { color: var(--gold-soft, #e2c48a); background: rgb(212 175 106 / 0.12); box-shadow: inset 0 0 0 1.5px rgb(226 196 138 / 0.45); }
.sopt .tile__point .i { color: var(--gold-soft, #b8893e); }
.sopt__minis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.sopt__mini { align-content: start; gap: 10px; padding: clamp(24px, 3.4vw, 36px); position: relative; isolation: isolate; }
.sopt__mini .h3 { margin: 0; }
.sopt__mini p:last-child { margin: 0; color: var(--muted); }
.sopt__foot { display: grid; justify-items: center; gap: 18px; margin: clamp(48px, 7vw, 72px) 0 0; text-align: center; }
.sopt__footnote { max-width: 26em; text-wrap: balance; font-size: 1.05rem; line-height: 1.45; font-weight: 700; color: var(--text); }
@media (min-width: 760px) {
  .sopt__bento .sopt__tile { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; }
  .sopt__bento .sopt__tile--flip { grid-template-columns: auto minmax(0, 1fr); }
  .sopt__bento .sopt__tile--flip .tile__body { order: 2; }
  .sopt__bento .sopt__tile--flip .sopt__phones { order: 1; }
  .sopt__bento .tile__body { max-width: 40rem; padding: clamp(24px, 3.4vw, 36px); align-self: start; }
  .sopt__phones { padding: 8px clamp(24px, 3.4vw, 48px) 30px; align-self: start; }
  .sopt .sopt__phone { --pw: 176px; }
  .sopt .sopt__tile--three .sopt__phone { --pw: 150px; }
  .sopt__tile--three .sopt__cap { font-size: 0.9rem; max-width: 11em; }
  .sopt .sopt__tile--three .sopt__phones { padding-inline: 20px; gap: 18px; }
  .sopt__minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .sopt .sopt__phone { transition: none; } .sopt__tile:hover .sopt__phone { translate: none; } }

/* First paint in Personal use (hmode-first.js marks <html data-hmode-first="solo"> before the page shows; home.js removes it):
   the family wording never flashes. The hero play button belongs to the family clip, so it is hidden in Personal use. */
html[data-hmode-first="solo"] .hmode__swap[data-hmode-for="family"] { display: none; }
.phone__toggle[data-hmode-off] { display: none; }

/* Pricing in Personal use: text on the start side, price card on the end side (tablet/desktop); stacked and centred on phones. Family pricing untouched. */
@media (min-width: 760px) {
  .pricing .wrap:has(> .solo__plan:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(460px, 54%)); gap: clamp(28px, 5vw, 80px); align-items: center; }
  .pricing .wrap:has(> .solo__plan:not([hidden])) > .section-head { margin: 0; max-width: none; justify-items: start; text-align: start; }
  .pricing .wrap:has(> .solo__plan:not([hidden])) > .section-head > .h2::after { margin-inline: 0; transform-origin: left center; }
  [dir="rtl"] .pricing .wrap:has(> .solo__plan:not([hidden])) > .section-head > .h2::after { transform-origin: right center; }
  .pricing .wrap:has(> .solo__plan:not([hidden])) .cur-line,
  .pricing .wrap:has(> .solo__plan:not([hidden])) .cur-pick { justify-content: flex-start; }
  .pricing .wrap:has(> .solo__plan:not([hidden])) > .solo__plan { margin: 0; width: 100%; max-width: 460px; justify-self: end; }
}

/* ---------- Main features vs extra features (owner 2026-11-01, design/features-labels/board). Prefix fxl.
   The slider is labelled "Main features"; its last card "+N extra features" goes down to the extras panel and opens it
   (home.js); the extras panel gets its own title and line. The count drops by the Muslim-features items when they are off. */
.fxl-n__nomf { display: none; }
html.mf-off .fxl-n__all { display: none; }
html.mf-off .fxl-n__nomf { display: inline; }
.fxl-head { max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: start; }
.fxl-head__t { margin: 0; color: var(--ink-plum); }
.fxl-head__p { margin-top: 4px; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.fxl-head + .mfx { margin-top: 14px; }
.fxl-head--main { max-width: none; margin-top: clamp(22px, 3vw, 34px); }
.fxl-head--main + .solo__list { margin-top: 12px; }
.why-card__media--glyph.fxl-card__media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.fxl-card__num { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--gold-light); text-shadow: 0 2px 10px rgb(0 0 0 / 0.35); }
.why-card__media--glyph .fxl-card__icons { display: flex; gap: 12px; }
.why-card__media--glyph .fxl-card__icons .i { width: 24px; height: 24px; stroke-width: 1.7; opacity: 0.85; }
.fxl-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-ink); font-weight: 700; }
.fxl-card__go .i { width: 18px; height: 18px; transition: translate 0.3s ease; }
[dir="rtl"] .fxl-card__go .i { scale: -1 1; }
@media (hover: hover) {
  .why-card--fxl:hover .fxl-card__go .i { translate: 4px 0; transition-duration: 0.18s; }
  [dir="rtl"] .why-card--fxl:hover .fxl-card__go .i { translate: -4px 0; }
}
@media (prefers-reduced-motion: reduce) { .fxl-card__go .i { transition-duration: 0.01s; } }

/* ===== Founding families: "Free" / «مجانًا» badge inside the "What you get" box (owner 2026-11-02, bigger + opposite side 2026-11-02) =====
   Straight, no rotation, pushed to the opposite end of the title row from the text (AR: left side, EN: right side),
   staying inside the card's own padding; wraps below the title instead of overlapping if the row is too narrow.
   Gold-metal pill, dark plum ink text, a thin dark rim, a slow light sweep and four twinkling stars that move+glow.
   Decorative (aria-hidden): the card already says "Free for founding families" in text. */
.ff-box--get .ff-box__t { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.ffree { display: inline-flex; align-items: center; position: relative; vertical-align: middle; flex-shrink: 0; }
.ffree__w {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  font-size: 1.15rem; font-weight: 900; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; line-height: 1;
  padding: 0.5em 1.15em 0.44em;
  border-radius: 999px;
  color: var(--on-gold, #2a1c05);
  background: linear-gradient(135deg, #8c6a44 0%, #eed6aa 22%, #cba673 45%, #f8ead0 68%, #aa8655 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65), inset 0 0 0 1.5px rgb(255 246 222 / 0.6), 0 0 0 2px rgb(38 15 35 / 0.9), 0 0 0 3px #e2c48a, 0 8px 18px -6px rgb(0 0 0 / 0.6);
  overflow: hidden;
}
html[lang="ar"] .ffree__w { font-size: 1.3rem; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 0.42em 1.1em 0.36em; }
.ffree__w::after {
  content: ""; position: absolute; inset: -20% auto -20% -40%; width: 34%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.75), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.ffree__s { position: absolute; width: 14px; height: 14px; opacity: 0; pointer-events: none; filter: drop-shadow(0 0 4px rgb(255 240 200 / 0.95)); }
.ffree__s::before { content: ""; position: absolute; inset: 0; background: #fff3d6; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.ffree__s:nth-of-type(1) { top: -9px; inset-inline-start: -9px; width: 13px; height: 13px; }
.ffree__s:nth-of-type(2) { bottom: -8px; inset-inline-end: 8%; width: 10px; height: 10px; }
.ffree__s:nth-of-type(3) { top: -10px; inset-inline-end: 14%; width: 9px; height: 9px; }
.ffree__s:nth-of-type(4) { bottom: 6%; inset-inline-start: -11px; width: 9px; height: 9px; }
@media (prefers-reduced-motion: no-preference) {
  .ffree__w::after { animation: ffree-sweep 5.5s ease-in-out infinite; }
  .ffree__s { animation: ffree-twinkle 2.2s ease-in-out infinite; }
  .ffree__s:nth-of-type(2) { animation-delay: 0.55s; }
  .ffree__s:nth-of-type(3) { animation-delay: 1.1s; }
  .ffree__s:nth-of-type(4) { animation-delay: 1.65s; }
}
@media (prefers-reduced-motion: reduce) { .ffree__s { opacity: 0.7; } }
@keyframes ffree-sweep { 0%, 50% { left: -40%; opacity: 0; } 55% { opacity: 1; } 80%, 100% { left: 120%; opacity: 0; } }
@keyframes ffree-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) translate(0, 0) rotate(0deg); }
  40% { opacity: 1; transform: scale(1.2) translate(1px, -2px) rotate(50deg); }
  60% { opacity: 0.85; transform: scale(0.8) translate(-1px, 1px) rotate(75deg); }
  80% { opacity: 0.4; transform: scale(1) translate(0, -1px) rotate(90deg); }
}

/* ===== Pricing: "once" / «مرة واحدة» in sparkling gold (owner 2026-11-01, approved 2026-11-02) =====
   On the Single and Family plan cards only. The word under each price is gold metal with a slow light
   sweep and three small twinkling stars, so it is obvious the price is paid one time. Light card (Single):
   deeper antique gold so it reads on ivory. Plum card (Family) and dark mode: the bright --metal gold.
   Always stays on the same row as the price (never wraps), at every width. Reduced motion: no sweep,
   stars stay still and soft. */
.plan .price { flex-wrap: nowrap; }
.plan .price .onc { flex: 0 0 auto; min-width: 0; }
.price .onc { position: relative; display: inline-flex; align-items: baseline; padding: 2px 6px; margin-inline-start: -2px; }
.price .onc__w {
  --onc-g: linear-gradient(100deg, #6e4f2b 0%, #9c7440 26%, #c9a35f 42%, #f6e3b4 50%, #c9a35f 58%, #9c7440 74%, #6e4f2b 100%);
  display: inline-block;
  font-size: clamp(0.95rem, 0.78rem + 0.7vw, 1.375rem); font-weight: 800; line-height: 1.2; letter-spacing: 0.01em; white-space: nowrap;
  background: var(--onc-g); background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
html[lang="ar"] .price .onc__w { font-size: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.plan--pass .price .onc__w,
[data-theme="dark"] .price .onc__w {
  --onc-g: linear-gradient(100deg, #b8925a 0%, #e2c48a 26%, #f3dfb4 42%, #fffaf0 50%, #f3dfb4 58%, #e2c48a 74%, #b8925a 100%);
}
.onc__s { position: absolute; width: 11px; height: 11px; opacity: 0; pointer-events: none; filter: drop-shadow(0 0 3px rgb(201 163 95 / 0.85)); }
.onc__s::before {
  content: ""; position: absolute; inset: 0; background: #c9a35f;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.plan--pass .onc__s, [data-theme="dark"] .onc__s { filter: drop-shadow(0 0 4px rgb(255 240 200 / 0.95)); }
.plan--pass .onc__s::before, [data-theme="dark"] .onc__s::before { background: #fff3d6; }
.onc__s:nth-of-type(1) { top: -5px; inset-inline-end: -9px; }
.onc__s:nth-of-type(2) { bottom: 0; inset-inline-start: -8px; width: 8px; height: 8px; }
.onc__s:nth-of-type(3) { top: -7px; inset-inline-start: 42%; width: 7px; height: 7px; }
@media (prefers-reduced-motion: no-preference) {
  .price .onc__w { animation: onc-shine 5s ease-in-out infinite; }
  .onc__s { animation: onc-twinkle 2.6s ease-in-out infinite; }
  .onc__s:nth-of-type(2) { animation-delay: 0.85s; }
  .onc__s:nth-of-type(3) { animation-delay: 1.7s; }
}
@media (prefers-reduced-motion: reduce) { .onc__s { opacity: 0.75; } }
@keyframes onc-shine { 0%, 50% { background-position: 100% 0; } 80%, 100% { background-position: 0 0; } }
@keyframes onc-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  45% { opacity: 1; transform: scale(1) rotate(45deg); }
  60% { opacity: 0.9; transform: scale(0.9) rotate(60deg); }
}
@media (max-width: 420px) {
  .plans .price strong { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
}

/* ---------- Main features slider: "Maison" + "Proscenium" frame (owner 2026-11-02) ----------
   One gold metal frame holds the row, with the SAME round corners at the top and the bottom (symmetrical), a fine inner
   gold hairline and a small gold keystone at the top. The cards never touch the curve: they run inside a straight-edged
   window (.wme-window, inset from the rim), so a card is always cut by a straight vertical line, never by an arc.
   The arrows are plum medallions with a gold ring set ON the rim (half outside), vertically CENTERED on the frame.
   Their face fades to gold metal on hover. Under the frame: "2 of 19" and a hairline with a gold segment (home.js).
   No edge fade. Owner fix 2026-11-02: the empty gap above the cards equals the gap below them, inside the gold box,
   at every width and in both languages (frame padding-block + rail padding-block, each kept equal top/bottom; the
   window also gets a thin vertical mask to soften the hard shadow line at the inner edges in light mode).
   Owner fix 2 (2026-11-02): the window starts and ends at least one corner radius in from the frame top/bottom, so its
   straight vertical cut sits only beside the straight part of the gold rim, never inside a rounded corner.
   The slow drift stays (home.js carousel()); it waits on hover, touch, drag, keys and the arrows. */
.wlx-stage { width: min(100% - 2 * var(--gutter), var(--max) + 120px); margin-inline: auto; }
.wme-frame {
  --wme-r: 34px;   /* corner curve, just a little larger than the card radius (--r-lg: 28px) so the window sits close to the cards (owner 2026-11-03) */
  --wme-m: 28px;   /* room left and right for the half-outside arrows */
  --wme-in: 36px;  /* the straight window's distance from the rim (keeps every card off the curve) */
  position: relative; isolation: isolate;
  margin-inline: var(--wme-m); padding: calc(var(--wme-r) - 2px) var(--wme-in); /* window top/bottom = frame edge + radius: the straight card cut only ever meets the rim's straight side, never its curve (owner 2026-11-02) */
  border: 2px solid transparent; border-radius: var(--wme-r);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--metal) border-box;
  box-shadow: 0 30px 60px -40px rgb(var(--shadow) / 0.8);
}
[data-theme="dark"] .wme-frame {
  background: var(--bk-pool, none) padding-box, linear-gradient(var(--bg), var(--bg)) padding-box, var(--metal) border-box;
}
.wme-frame::after { /* inner hairline, same curve top and bottom */
  content: ""; position: absolute; z-index: 1; inset: 7px; pointer-events: none;
  border: 1px solid var(--line-gold); border-radius: calc(var(--wme-r) - 8px);
}
.wme-frame::before { /* keystone */
  content: ""; position: absolute; z-index: 3; left: 50%; top: -9px; width: 16px; height: 16px; translate: -50% 0; rotate: 45deg;
  background: var(--metal); box-shadow: 0 0 0 3px var(--bg), 0 6px 12px -6px rgb(0 0 0 / 0.5);
}
.wme-window {
  position: relative; z-index: 2; min-width: 0; container-type: inline-size; overflow: hidden; border-radius: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6px, #000 calc(100% - 6px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 6px, #000 calc(100% - 6px), transparent);
}
.wme-window > .why__rail {
  width: 100%; margin: 0; padding-block: 12px; /* equal top/bottom: owner 2026-11-02 (was 10/40, the 40 only ever made room for the hover tab) */
  -webkit-mask-image: none; mask-image: none;
}
.why:has(.wme-frame) .why__hint { display: none; } /* the arrows and the count say it */

.wlx-arrow {
  position: absolute; z-index: 4; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; cursor: pointer; isolation: isolate;
  border: 2px solid transparent; border-radius: 50%;
  color: var(--gold-ink);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--metal) border-box;
  box-shadow: 0 0 0 4px var(--bg), 0 14px 26px -14px rgb(var(--shadow) / 0.8);
  transition: color 0.5s var(--ease), box-shadow 0.5s var(--ease), translate 0.5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.wlx-arrow--prev { inset-inline-start: calc(-2px - 28px); }
.wlx-arrow--next { inset-inline-end: calc(-2px - 28px); }
[data-theme="dark"] .wlx-arrow { color: var(--gold-light);
  background: linear-gradient(160deg, #3a1d35, #22101f) padding-box, var(--metal) border-box;
  box-shadow: 0 0 0 4px var(--bg), 0 14px 26px -12px rgb(0 0 0 / 0.8); }
.wlx-arrow::before { /* the gold metal face fades in on hover (a gradient cannot transition, its opacity can) */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--metal);
  box-shadow: inset 0 1px 0 rgb(255 250 236 / 0.7), inset 0 -2px 3px rgb(90 60 20 / 0.3);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.wlx-arrow__i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: translate 0.5s var(--ease); }
.wlx-arrow__i--prev { scale: -1 1; }
[dir="rtl"] .wlx-arrow__i--prev { scale: 1 1; }
[dir="rtl"] .wlx-arrow__i--next { scale: -1 1; }
@media (hover: hover) {
  .wlx-arrow:hover { color: var(--on-gold); box-shadow: 0 0 0 4px var(--bg), 0 16px 30px -12px rgb(var(--shadow) / 0.9); }
  .wlx-arrow:hover::before { opacity: 1; }
  .wlx-arrow--next:hover .wlx-arrow__i { translate: 3px 0; }
  .wlx-arrow--prev:hover .wlx-arrow__i { translate: -3px 0; }
  [dir="rtl"] .wlx-arrow--next:hover .wlx-arrow__i { translate: -3px 0; }
  [dir="rtl"] .wlx-arrow--prev:hover .wlx-arrow__i { translate: 3px 0; }
}
.wlx-arrow:active { translate: 0 calc(-50% + 1px); }
.wlx-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.wlx-ctl { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(18px, 3vw, 36px);
  margin: 16px calc(var(--wme-m, 28px) + 30px) 0; }
.wlx-count { display: flex; align-items: baseline; gap: 2px; margin: 0; font-size: 0.95rem; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums lining-nums; color: var(--muted); white-space: nowrap; }
.wlx-count__cur { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); letter-spacing: 0.02em; color: var(--gold-ink); font-weight: 600; margin-inline-end: 6px; }
[data-theme="dark"] .wlx-count__cur { color: var(--gold-light); }
.wlx-count__of { white-space: pre; }
.wlx-bar { position: relative; height: 2px; background: linear-gradient(var(--line-gold), var(--line-gold)) center / 100% 1px no-repeat; }
.wlx-bar__fill { position: absolute; inset-block: 0; inset-inline-start: calc(var(--wlx-p, 0) * (100% - max(40px, var(--wlx-w, 20%)))); width: max(40px, var(--wlx-w, 20%));
  border-radius: 2px; background: var(--metal); box-shadow: 0 0 10px rgb(212 175 106 / 0.35);
  transition: inset-inline-start 0.7s var(--ease), width 0.7s var(--ease); }

@media (max-width: 640px) {
  .wlx-stage { width: calc(100% - 12px); }
  .wme-frame { --wme-r: 34px; --wme-m: 22px; --wme-in: 28px; } /* padding-block follows --wme-r (base rule) */
  .wme-frame::after { inset: 6px; border-radius: calc(var(--wme-r) - 6px); }
  .wlx-arrow { width: 44px; height: 44px; }
  .wlx-arrow--prev { inset-inline-start: calc(-2px - 22px); }
  .wlx-arrow--next { inset-inline-end: calc(-2px - 22px); }
  .wme-window .why__item { width: 100cqi; }
  .wme-window .why__track { gap: 18px; }
  .wme-window > .why__rail { padding-block: 10px; } /* touch has no hover tab, no reserve needed; equal top/bottom */
  .wlx-ctl { margin-inline: calc(var(--wme-m, 22px) + 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .wlx-arrow, .wlx-arrow::before, .wlx-arrow__i, .wlx-bar__fill { transition-duration: 0.01s !important; }
}
