/* Saifo website. Self-hosted, no third-party requests. */

@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/baloo-bhaijaan-2-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/baloo-bhaijaan-2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fdf7ea;
  --paper-2: #f7ead0;
  --sand: #f1d6a6;
  --honey: #bb6629;
  --honey-deep: #a3521a;
  --gold: #eeb845;
  --gold-soft: #f9dc8f;
  --ink: #4a3020;
  --ink-soft: #6e523e;
  --night: #121a47;
  --night-2: #1d2865;
  --white: #fffdf8;
  --green: #3f9a58;
  --red: #c4432f;
  --shadow-s: 0 2px 6px rgba(74, 48, 32, .08), 0 8px 20px rgba(74, 48, 32, .07);
  --shadow-m: 0 6px 16px rgba(74, 48, 32, .10), 0 22px 48px rgba(74, 48, 32, .12);
  --radius: 28px;
  --radius-s: 18px;
  --font-display: "Baloo Bhaijaan 2", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", "Noto Sans", Tahoma, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
  /* Header logo, 31 Oct 2026: the app icon and the wordmark, half of the earlier 3x size (Hassan: "Be half"):
     60px icon / 45px wordmark from 600px up, 40px / 30px on phones. */
  --logo-icon: 40px;
  --logo-word: 30px;
  --header-h: 64px;
  color-scheme: light;
}
@media (min-width: 600px) {
  :root { --logo-icon: 60px; --logo-word: 45px; --header-h: 84px; }
}

/* ---------- language switching ---------- */
html[lang="ar"] .en,
html[lang="en"] .ar { display: none !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.85; }
main, .site-footer { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--honey-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.35; }
p { margin: 0 0 1em; }
bdi { unicode-bidi: isolate; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--honey-deep); outline-offset: 3px; border-radius: 10px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 10px; color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 0;
  font-family: var(--font-display); font-size: 18px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1.4), box-shadow .2s ease, background-color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-honey { background: linear-gradient(180deg, #cf7631 0%, var(--honey-deep) 100%); color: #fff; box-shadow: 0 6px 16px rgba(163, 82, 26, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-honey:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(163, 82, 26, .38), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: rgba(255, 253, 248, .85); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(74, 48, 32, .16); }
.btn-ghost:hover { color: var(--ink); background: var(--white); transform: translateY(-2px); }

/* App Store badge (coming soon) in Apple's standard badge style */
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 18px 8px 16px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 12px; box-shadow: inset 0 0 0 1px #a6a6a6, 0 8px 20px rgba(0, 0, 0, .18);
  font-family: -apple-system, "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  transition: transform .2s ease;
}
.appstore:hover { color: #fff; transform: translateY(-2px); }
.appstore svg { width: 26px; height: 30px; flex: none; fill: #fff; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.appstore .as-small { font-size: 12px; letter-spacing: .01em; }
.appstore .as-big { font-size: 24px; font-weight: 600; letter-spacing: -.02em; direction: ltr; }
html[lang="ar"] .appstore .as-small { font-family: var(--font-body); font-size: 13px; }
.appstore-note { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 247, 234, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(74, 48, 32, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; flex: none; }
.brand img.brand-icon { width: var(--logo-icon); height: var(--logo-icon); border-radius: 22%; box-shadow: var(--shadow-s); }
.brand img.brand-word { height: var(--logo-word); width: auto; }
@media (min-width: 600px) { .brand { gap: 14px; } }
.nav { display: none; margin-inline-start: auto; gap: 4px; }
.nav a { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: background-color .2s; }
.nav a:hover { background: rgba(238, 184, 69, .25); }
.header-tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }


.lang-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(74, 48, 32, .08); gap: 2px; }
.lang-toggle button {
  font: 700 15px/1 var(--font-display); color: var(--ink-soft);
  border: 0; background: transparent; padding: 9px 13px; border-radius: 999px; cursor: pointer; min-width: 48px;
}
.lang-toggle button[aria-pressed="true"] { background: var(--honey-deep); color: #fff; box-shadow: 0 2px 6px rgba(163, 82, 26, .35); }

.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; background: rgba(74, 48, 32, .08);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; stroke: var(--ink); }
.menu-panel {
  position: absolute; inset-inline-end: 0; top: 54px; min-width: 230px;
  background: var(--white); border-radius: 20px; padding: 8px; box-shadow: var(--shadow-m);
  display: flex; flex-direction: column;
}
.menu-panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.menu-panel a:hover { background: var(--paper-2); }

@media (max-width: 599px) { /* a compact row beside the language switch and menu */
  .site-header .wrap { padding-inline: 14px; gap: 8px; }
  .site-header .header-tools { gap: 6px; }
  .site-header .lang-toggle button { padding: 8px 9px; min-width: 38px; font-size: 14px; }
  .site-header .menu summary { width: 42px; height: 42px; }
}

@media (min-width: 940px) {
  .nav { display: flex; }
  .nav + .header-tools { margin-inline-start: 8px; }
  .menu { display: none; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: 72px; position: relative; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font: 800 14px/1 var(--font-display); letter-spacing: .02em; color: var(--honey-deep);
  background: rgba(238, 184, 69, .22); padding: 9px 14px; border-radius: 999px;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(238, 184, 69, .35); }
.h2 { font-size: clamp(30px, 6vw, 48px); letter-spacing: -.01em; }
html[lang="ar"] .h2 { letter-spacing: 0; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); }
.sadu { height: 28px; background: url("../img/sadu.svg") repeat-x center / auto 28px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #fdf7ea 0%, #fcefd8 45%, #f9dfb8 100%);
  padding-top: 28px;
}
.hero-dunes { position: absolute; z-index: -1; inset-inline: 0; bottom: 0; display: none; justify-content: center; pointer-events: none; }
.hero-dunes picture { display: contents; }
.hero-dunes img {
  width: max(100%, 980px); max-width: none; height: auto; flex: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%); mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-top: 12px; padding-bottom: 44px; }
.hero h1 { margin: 0 auto 4px; max-width: 520px; width: 100%; }
/* The title is the app's own title art; the real text stays in the h1 for screen readers and search. */
.hero-title {
  aspect-ratio: 840 / 195; background: url("../img/title-ar.webp") center / contain no-repeat;
  filter: drop-shadow(0 6px 10px rgba(163, 82, 26, .18));
  position: relative; overflow: hidden; color: transparent;
}
html[lang="en"] .hero-title { background-image: url("../img/title-en.webp"); aspect-ratio: 840 / 206; }
.hero-title span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  background: rgba(255, 253, 248, .9); box-shadow: var(--shadow-s); border-radius: 999px; padding: 7px 14px 7px 8px;
  font: 700 15px/1.2 var(--font-display); color: var(--ink);
}
html[dir="rtl"] .hero .eyebrow { padding: 7px 8px 7px 14px; }
.hero .eyebrow img { width: 30px; height: 30px; border-radius: 9px; }
.hero .lead { max-width: 560px; margin-inline: auto; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin: 22px 0 6px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.facts li {
  font: 700 14px/1 var(--font-display); color: var(--ink);
  background: rgba(255, 253, 248, .75); border: 1px solid rgba(74, 48, 32, .1);
  padding: 9px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.stage { position: relative; height: 440px; max-width: 520px; width: 100%; margin: 0 auto 14px; }
.stage::before {
  content: ""; position: absolute; z-index: 0; bottom: -14px; left: 50%; width: 100vw; height: 320px; transform: translateX(-50%);
  background: url("../img/hero-dunes-1280.webp") center bottom / auto 100% no-repeat; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 84%, transparent 100%);
}
.saif-btn {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 186px; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.saif-btn img { width: 100%; height: auto; transform-origin: 50% 100%; }
.saif-btn::after {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -8px; height: 26px;
  background: radial-gradient(closest-side, rgba(110, 60, 20, .35), rgba(110, 60, 20, 0)); border-radius: 50%;
}
.saif-btn:focus-visible { outline-offset: 6px; border-radius: 30px; }
/* The pointing pose is wider (outstretched arm): same scale and baseline as the waving pose, body lined up. */
.saif-btn .pose-stand { position: absolute; left: -0.81%; bottom: 0; width: 115.81%; max-width: none; opacity: 0; }
.saif-btn.is-standing .pose-stand { opacity: 1; }
.saif-btn.is-standing .pose-wave { opacity: 0; }
.bubble {
  position: absolute; z-index: 3; top: 6px; left: 0; right: 0; margin: 0 auto;
  width: fit-content; max-width: min(300px, calc(100% - 24px)); text-align: center;
  background: var(--white); border-radius: 22px; padding: 12px 18px;
  box-shadow: var(--shadow-m);
  font: 700 16px/1.45 var(--font-display); color: var(--ink);
  transform-origin: 50% 100%;
}
.bubble::after {
  content: ""; position: absolute; bottom: -10px; left: calc(50% - 12px);
  border: 12px solid transparent; border-top-color: var(--white); border-bottom: 0;
}
@media (min-width: 600px) {
  .bubble { top: 0; left: auto; right: auto; inset-inline-start: 50%; margin: 0; margin-inline-start: 34px; width: 260px; max-width: none; text-align: start; transform-origin: 0 100%; }
  html[dir="rtl"] .bubble { transform-origin: 100% 100%; }
  .bubble::after { left: auto; inset-inline-start: 26px; }
}
.bubble.pop { animation: pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.tap-hint { display: block; margin-top: 4px; font: 600 12.5px/1.2 var(--font-body); color: var(--ink-soft); }

.orbit a {
  position: absolute; z-index: 1; width: 64px; height: 64px; border-radius: 50%;
  display: block; transition: transform .25s cubic-bezier(.2, .9, .3, 1.4);
}
.orbit a img { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(74, 48, 32, .2)); }
.orbit a:hover { transform: scale(1.12) rotate(-4deg); }
.orbit a { width: 58px; height: 58px; }
.orbit .o1 { top: 112px; inset-inline-start: 4%; }
.orbit .o2 { top: 206px; inset-inline-start: 0; width: 52px; height: 52px; }
.orbit .o3 { top: 300px; inset-inline-start: 9%; width: 48px; height: 48px; }
.orbit .o4 { top: 104px; inset-inline-end: 3%; }
.orbit .o5 { top: 198px; inset-inline-end: 0; width: 52px; height: 52px; }
.orbit .o6 { top: 294px; inset-inline-end: 8%; width: 48px; height: 48px; }
.orbit a span.float { display: block; width: 100%; height: 100%; }

@media (min-width: 600px) {
  .stage { height: 540px; }
  .stage::before { height: 380px; }
  .saif-btn { width: 226px; }
  .orbit a { width: 72px; height: 72px; }
  .orbit .o2, .orbit .o5 { width: 64px; height: 64px; }
  .orbit .o3, .orbit .o6 { width: 58px; height: 58px; }
  .orbit .o1 { top: 150px; } .orbit .o4 { top: 142px; }
  .orbit .o2 { top: 268px; } .orbit .o5 { top: 260px; }
  .orbit .o3 { top: 384px; } .orbit .o6 { top: 378px; }
}
@media (min-width: 980px) {
  .hero { padding-top: 20px; }
  .hero-dunes { display: flex; }
  .stage::before { display: none; }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr; column-gap: 24px; min-height: 680px; padding: 0;
    grid-template-rows: 1fr auto auto auto auto auto 1.5fr;
    grid-template-areas: ". stage" "eyebrow stage" "title stage" "lead stage" "ctas stage" "facts stage" ". stage";
    justify-items: start; text-align: start;
  }
  .hero .eyebrow { grid-area: eyebrow; }
  .hero h1 { grid-area: title; margin-inline: 0; max-width: 500px; }
  .hero .lead { grid-area: lead; margin-inline: 0; }
  .hero-ctas { grid-area: ctas; }
  .facts { grid-area: facts; }
  .hero-ctas, .facts { justify-content: flex-start; }
  .stage { grid-area: stage; height: 660px; max-width: 560px; align-self: end; justify-self: center; margin: 0; }
  .saif-btn { width: 270px; bottom: 34px; }
  .bubble { top: 18px; }
  .orbit .o1 { top: 180px; } .orbit .o4 { top: 170px; }
  .orbit .o2 { top: 320px; } .orbit .o5 { top: 312px; }
  .orbit .o3 { top: 452px; } .orbit .o6 { top: 446px; }
}

/* ---------- Saif's world (rooms) ---------- */
.rooms { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.room {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; text-decoration: none; color: inherit;
  background: var(--white); border-radius: 24px; padding: 16px; box-shadow: var(--shadow-s);
  border: 1px solid rgba(74, 48, 32, .06);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.3), box-shadow .25s ease;
}
.room:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); color: inherit; }
.room img { width: 60px; height: 60px; flex: none; }
.room h3 { font-size: 19px; margin-bottom: 4px; }
.room p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.room .go { display: none; margin-top: 8px; font: 800 15px/1 var(--font-display); color: var(--honey-deep); }
html[dir="rtl"] .room .go .arrow { display: inline-block; transform: scaleX(-1); }
@media (min-width: 640px) {
  .rooms { gap: 16px; }
  .room { flex-direction: row; gap: 16px; padding: 20px; border-radius: var(--radius); }
  .room img { width: 72px; height: 72px; }
  .room h3 { font-size: 22px; }
  .room p { font-size: 16px; }
  .room .go { display: inline-block; }
}
@media (min-width: 1000px) {
  .rooms { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .room { flex-direction: column; padding: 26px; }
  .room img { width: 92px; height: 92px; }
}

/* ---------- phone frames ---------- */
.phone {
  position: relative; margin: 0; width: 248px; flex: none;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #3b2c22, #17110d 60%, #2d221b);
  box-shadow: 0 0 0 2px #5c4636, 0 30px 60px rgba(74, 48, 32, .28), 0 8px 18px rgba(74, 48, 32, .18), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone .screen { border-radius: 38px; overflow: hidden; background: #000; aspect-ratio: 560 / 1212; position: relative; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.island .screen::before {
  content: ""; position: absolute; z-index: 2; top: 9px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 24px; border-radius: 999px; background: #000;
}
.phone::after { /* side button */
  content: ""; position: absolute; top: 120px; inset-inline-end: -4px; width: 4px; height: 64px; border-radius: 0 4px 4px 0; background: #3b2c22;
}
html[dir="rtl"] .phone::after { border-radius: 4px 0 0 4px; }
.phone figcaption { position: absolute; bottom: -38px; left: 0; right: 0; text-align: center; font: 700 14px/1.3 var(--font-display); color: var(--ink-soft); }
.phone-sm { width: 210px; border-radius: 40px; }
.phone-sm .screen { border-radius: 32px; }

.duo { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 10px; }
.duo .phone:nth-child(2) { margin-inline-start: -64px; margin-bottom: 40px; transform: rotate(4deg); z-index: 1; }
.duo .phone:nth-child(1) { transform: rotate(-3deg); }
html[dir="rtl"] .duo .phone:nth-child(2) { transform: rotate(-4deg); }
html[dir="rtl"] .duo .phone:nth-child(1) { transform: rotate(3deg); }
@media (max-width: 420px) {
  .phone { width: 220px; }
  .duo .phone { width: 180px; border-radius: 36px; padding: 7px; }
  .duo .phone .screen { border-radius: 30px; }
  .duo .phone:nth-child(2) { margin-inline-start: -50px; }
}

/* ---------- feature rows ---------- */
.feature { display: grid; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature .copy { max-width: 560px; }
.feature .copy .h2 { font-size: clamp(28px, 5.4vw, 42px); }
.feature .visual { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature.flip .visual { order: 2; }
}

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; counter-reset: s; }
.steps li {
  counter-increment: s; display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--radius-s); padding: 14px 16px; box-shadow: var(--shadow-s);
  font: 700 18px/1.3 var(--font-display);
}
.steps li::before {
  content: counter(s); flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--ink); font-weight: 800; font-size: 19px;
  box-shadow: inset 0 -2px 0 rgba(163, 82, 26, .25);
}
.steps li small { display: block; font: 500 15px/1.45 var(--font-body); color: var(--ink-soft); margin-top: 2px; }

.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 34px; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- homework chalk accent ---------- */
.chalk {
  margin-top: 22px; background: #2f4a3d; color: #f4f1e6; border-radius: 22px; padding: 18px 20px;
  border: 8px solid #8a5a33; box-shadow: var(--shadow-s), inset 0 0 30px rgba(0, 0, 0, .25);
  font: 600 17px/1.6 var(--font-display);
}
.chalk strong { color: var(--gold-soft); }

/* ---------- bedtime (night) ---------- */
.night {
  color: #f6eedf; background: var(--night);
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: 88px 64px;
}
.night .bg { position: absolute; inset: 0; z-index: -1; }
.night .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; max-width: none; }
.night .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 26, 71, .55) 0%, rgba(18, 26, 71, .15) 40%, rgba(18, 26, 71, .55) 100%); }
.night h2, .night h3 { color: #fff7e4; }
.night .lead { color: #e9dfcc; }
.night .kicker { background: rgba(238, 184, 69, .2); color: var(--gold-soft); }
.night .checks li::before { background-color: #c99a2e; }
.night a { color: var(--gold-soft); }

.shelf { margin-top: 56px; position: relative; }
.shelf-track { display: flex; gap: 16px; width: max-content; padding-block: 8px 14px; }
.shelf-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cover { width: 132px; flex: none; margin: 0; }
.cover img { width: 132px; height: 177px; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 22px rgba(0, 0, 0, .35); border: 2px solid rgba(255, 247, 228, .25); }
.cover figcaption { margin-top: 8px; font: 600 13px/1.35 var(--font-display); color: #efe5d2; text-align: center; }
@media (min-width: 700px) { .cover, .cover img { width: 156px; } .cover img { height: 209px; } }

/* ---------- games ---------- */
.games-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.games-grid li { text-align: center; font: 700 14px/1.3 var(--font-display); color: var(--ink); }
.games-grid img { width: 76px; height: 76px; margin: 0 auto 6px; filter: drop-shadow(0 5px 8px rgba(74, 48, 32, .18)); transition: transform .25s cubic-bezier(.2, .9, .3, 1.5); }
.games-grid li:hover img { transform: translateY(-4px) rotate(-5deg) scale(1.06); }
@media (min-width: 520px) { .games-grid { grid-template-columns: repeat(5, 1fr); } }
.callout {
  margin-top: 26px; display: flex; gap: 14px; align-items: center;
  background: linear-gradient(135deg, #fff3d6, #fde3b3); border-radius: var(--radius-s); padding: 16px 18px; box-shadow: var(--shadow-s);
}
.callout img { width: 60px; height: 60px; flex: none; }
.callout p { margin: 0; font-size: 16px; }

/* ---------- prayer + reminders ---------- */
.pair { display: grid; gap: 24px; }
@media (min-width: 900px) { .pair { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-s);
  border: 1px solid rgba(74, 48, 32, .06); position: relative; overflow: hidden;
}
.card-feature { display: grid; gap: 22px; align-items: center; }
.card-feature .phone { margin-inline: auto; }
.card-feature h3 { font-size: clamp(24px, 4vw, 30px); display: flex; align-items: center; gap: 12px; }
.card-feature h3 img { width: 54px; height: 54px; flex: none; }
@media (min-width: 560px) and (max-width: 899px), (min-width: 1100px) {
  .card-feature { grid-template-columns: 1fr auto; }
  .card-feature .phone { width: 200px; border-radius: 38px; }
  .card-feature .phone .screen { border-radius: 30px; }
}
.free-tag { display: inline-block; margin-top: 6px; background: rgba(63, 154, 88, .12); color: #2c7442; font: 800 14px/1 var(--font-display); padding: 8px 12px; border-radius: 999px; }

/* ---------- parents ---------- */
.parents { background: var(--paper-2); }
.parents-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .parents-grid { grid-template-columns: 420px 1fr; gap: 56px; } }
.trio { display: flex; justify-content: center; align-items: flex-end; position: relative; padding-bottom: 20px; }
.trio .phone { width: 190px; border-radius: 36px; padding: 7px; }
.trio .phone .screen { border-radius: 30px; }
.trio .phone:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.trio .phone:nth-child(2) { z-index: 2; margin-inline: -58px; transform: translateY(-14px); }
.trio .phone:nth-child(3) { transform: rotate(6deg) translateY(10px); }
@media (max-width: 480px) { .trio .phone { width: 136px; border-radius: 28px; padding: 6px; } .trio .phone .screen { border-radius: 23px; } .trio .phone:nth-child(2) { margin-inline: -42px; } .trio .phone::after { display: none; } }
@media (min-width: 1000px) { .trio { position: sticky; top: calc(var(--header-h) + 30px); } .trio .phone { width: 168px; } .trio .phone:nth-child(2) { margin-inline: -52px; } }

.safety { display: grid; gap: 16px; }
@media (min-width: 640px) { .safety { grid-template-columns: 1fr 1fr; } }
.safe {
  background: var(--white); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-s); border: 1px solid rgba(74, 48, 32, .06);
  display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: start;
}
.safe img { width: 56px; height: 56px; grid-row: span 2; }
@media (min-width: 640px) {
  .safe { display: block; padding: 20px; }
  .safe img { width: 64px; height: 64px; margin-bottom: 10px; }
}
.safe h3 { font-size: 20px; margin-bottom: 6px; }
.safe p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.flow-card { margin-top: 20px; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s); }
.flow-card h3 { font-size: 21px; }
.flow { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.flow li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: 16px; padding: 12px 14px; font-size: 15.5px; }
.flow li b { font-family: var(--font-display); }
.flow .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--font-display); color: var(--ink); background: var(--gold-soft); }
.flow-note { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1.15fr 0.9fr; } }
.plan { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-s); border: 1px solid rgba(74, 48, 32, .08); display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .price { font: 800 40px/1.1 var(--font-display); color: var(--ink); margin: 10px 0 2px; }
.plan .price small { font-size: 17px; font-weight: 700; color: var(--ink-soft); }
.plan .sub { color: var(--ink-soft); font-size: 15px; margin: 0 0 6px; min-height: 1.6em; }
.plan .checks { margin-top: 14px; font-size: 16px; }
.plan-premium {
  background: linear-gradient(180deg, #fff8e6 0%, #fff 60%);
  border: 2px solid var(--gold); box-shadow: 0 18px 44px rgba(187, 102, 41, .22); position: relative;
}
.badge { display: inline-block; font: 800 13px/1 var(--font-display); padding: 7px 11px; border-radius: 999px; background: var(--green); color: #fff; }
.badge.gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--ink); }
.crown { width: 26px; height: 26px; fill: var(--gold); }
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(74, 48, 32, .08); margin-top: 14px; align-self: flex-start; }
.billing button { font: 700 15px/1 var(--font-display); color: var(--ink-soft); border: 0; background: transparent; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-s); }
.plan [data-billing-show] { display: none; }
.plan[data-billing="monthly"] [data-billing-show="monthly"],
.plan[data-billing="yearly"] [data-billing-show="yearly"] { display: block; }
.minutes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.minutes li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--paper); border-radius: 16px; padding: 14px 16px; font-family: var(--font-display); font-weight: 700; }
.minutes li .amt { font-size: 22px; font-weight: 800; color: var(--honey-deep); }
.minutes li .cost { white-space: nowrap; }
.fineprint { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-s); border: 1px solid rgba(74, 48, 32, .06); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font: 700 18px/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%234a3020' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 40px 0; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 36px; padding: 36px 24px 0;
  background: radial-gradient(120% 140% at 50% 0%, #fff4d9 0%, #fbd98b 55%, #eeb845 100%);
  box-shadow: var(--shadow-m); display: grid; gap: 10px; text-align: center;
}
.cta-box h2 { font-size: clamp(28px, 5vw, 42px); }
.cta-box p { color: var(--ink); max-width: 560px; margin-inline: auto; }
.cta-box .saif-mini { width: 184px; margin: 6px auto 0; }
html[dir="ltr"] .cta-box .saif-mini { transform: scaleX(-1); } /* point towards the text in both languages */
@media (min-width: 860px) {
  .cta-box { grid-template-columns: 1fr 260px; text-align: start; padding: 32px 56px 0; align-items: end; }
  .cta-box .copy { padding-bottom: 32px; align-self: center; }
  .cta-box p { margin-inline: 0; }
  .cta-box .saif-mini { width: 245px; margin: 0; }
}

/* ---------- footer ---------- */
.site-footer { margin-top: 72px; background: #3a2518; color: #eadbc4; }
.site-footer .wrap { padding-block: 44px 30px; display: grid; gap: 28px; }
.site-footer a { color: #fbe2a6; }
.site-footer a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 48px; height: 48px; border-radius: 13px; }
.foot-brand .word { height: 34px; width: auto; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-display); font-weight: 700; }
.foot-meta { font-size: 14px; color: #cdb99c; display: grid; gap: 6px; }
.foot-meta p { margin: 0; }
.site-footer .lang-toggle { background: rgba(255, 255, 255, .1); }
.site-footer .lang-toggle button { color: #eadbc4; }
@media (min-width: 860px) { .site-footer .wrap { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* ---------- legal / support pages ---------- */
.page-hero { padding: 48px 0 24px; text-align: center; background: linear-gradient(180deg, #fdf7ea, #fbeed6); }
.page-hero img.icon { width: 84px; height: 84px; margin: 0 auto 12px; }
.page-hero h1 { font-size: clamp(32px, 6vw, 50px); }
.page-hero p { color: var(--ink-soft); margin: 0; }
.doc { max-width: 820px; margin: 0 auto; padding: 32px var(--gutter) 24px; }
.doc h2 { font-size: clamp(22px, 3.6vw, 28px); margin-top: 1.8em; padding-top: .2em; }
.doc h3 { font-size: 20px; margin-top: 1.4em; }
.doc ul { padding-inline-start: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc .summary-box { background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-s); border: 1px solid rgba(74, 48, 32, .06); }
.doc .summary-box h2 { margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15.5px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-s); }
.doc th, .doc td { text-align: start; padding: 12px 14px; border-bottom: 1px solid rgba(74, 48, 32, .08); vertical-align: top; }
.doc th { background: var(--paper-2); font-family: var(--font-display); }
.doc tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.doc bdi { white-space: nowrap; }
.doc a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid rgba(74, 48, 32, .1); padding: 10px 0; }
  .doc tr:last-child { border-bottom: 0; }
  .doc td { border: 0; padding: 4px 16px; }
  .doc td:first-child { font: 800 18px/1.4 var(--font-display); }
  .doc td[data-label]::before { content: attr(data-label); display: block; font: 700 13px/1.4 var(--font-display); color: var(--honey-deep); }
}
.contact-card { display: flex; gap: 16px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-s); margin: 24px 0; }
.contact-card img { width: 72px; height: 72px; flex: none; }
.contact-card p { margin: 0; }
.contact-card .mail { font: 800 20px/1.3 var(--font-display); }
.doc .faq { margin-top: 16px; }
.updated { display: inline-block; margin-top: 10px; font: 700 14px/1 var(--font-display); background: rgba(238, 184, 69, .22); color: var(--honey-deep); padding: 8px 12px; border-radius: 999px; }

/* ---------- toast ---------- */
.toast {
  visibility: hidden;
  position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: 18px; box-shadow: var(--shadow-m);
  font: 700 16px/1.4 var(--font-display); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- motion ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes hop { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-14px) scale(1.02); } 65% { transform: translateY(0) scale(.99, 1.01); } 100% { transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  .orbit .float { animation: float 6s ease-in-out infinite; }
  .orbit .o2 .float { animation-duration: 7s; animation-delay: -2s; }
  .orbit .o3 .float { animation-duration: 5.5s; animation-delay: -4s; }
  .orbit .o4 .float { animation-duration: 6.5s; animation-delay: -1s; }
  .orbit .o5 .float { animation-duration: 7.5s; animation-delay: -3s; }
  .orbit .o6 .float { animation-duration: 5.8s; animation-delay: -5s; }
  .saif-btn.hop img { animation: hop .6s cubic-bezier(.3, .7, .4, 1); }
  .shelf-track { animation: marquee 80s linear infinite; }
  html[dir="rtl"] .shelf-track { animation-name: marquee-rtl; }
  .shelf:hover .shelf-track, .shelf:focus-within .shelf-track { animation-play-state: paused; }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shelf-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

@media print {
  .site-header, .site-footer, .lang-toggle, .toast { display: none !important; }
  body { background: #fff; }
}
