@import url("sky.css");

@font-face {
  font-family: "Pretendard";
  src: url("fonts/pretendard.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}
@font-face {
  font-family: "Amiri";
  src: url("fonts/amiri-arabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+FE70-FEFF;
}

/* ---------- tokens: Alarmy-style structure, Walasr's Maghrib purple → magenta ---------- */
:root {
  color-scheme: light;
  --ink: #2D2933;
  --text: #46414D;
  --muted: #6B6574;
  --line: rgba(45, 41, 51, 0.1);
  --card: #F7F6F9;
  --faq: #FAF7FD;
  --purple: #6E3FB0;
  --magenta: #B8457F;
  --grad: linear-gradient(135deg, #7A4BC0 0%, #9A46A6 52%, #B8457F 100%);
  --dark: #231D2C;
  --dark-card: rgba(0, 0, 0, 0.22);
  --lav: #D8C9EC;
  --on-dark: #F6F2FA;
  --on-dark-muted: #BFB5CC;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 3.4vw, 40px);
  --section: clamp(80px, 10vw, 140px);
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 500 18px/1.6 var(--sans); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
code { font: 500 0.86em/1.4 var(--mono); letter-spacing: 0; }
p code { background: var(--card); padding: 0.1em 0.35em; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: 1.14; letter-spacing: -0.05em; font-weight: 800; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.28; letter-spacing: -0.03em; }
h3 { font-size: clamp(25px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.03em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.center { text-align: center; }
.muted { color: var(--muted); }
.icon { width: 1em; height: 1em; flex: none; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section-lede { max-width: 38em; margin: 20px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-gradient { background: var(--grad); color: #fff; }
.btn-gradient:hover { filter: brightness(1.06); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* store-style buttons, like the App Store / Google Play pair */
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.btn-store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px;
  border-radius: 12px; border: 0; cursor: pointer; background: #1E1B22; color: #fff;
  font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(30, 27, 34, 0.9);
}
.btn-store:hover { background: #000; }
.btn-store:disabled { opacity: 0.6; cursor: progress; }
.btn-store .icon { width: 19px; height: 19px; }
.hero-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* email gate */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.email-form { width: 100%; max-width: 520px; margin: 28px auto 0; text-align: left; }
.email-row { display: flex; gap: 8px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -20px rgba(30, 27, 34, 0.45); }
.email-row:focus-within { box-shadow: inset 0 0 0 2px var(--purple), 0 14px 30px -20px rgba(30, 27, 34, 0.45); }
.email-input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 500 17px/1 var(--sans); }
.email-input::placeholder { color: #9A93A3; }
.email-input:focus { outline: none; }
.email-row .btn-store { flex: none; }
.optin { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; color: var(--text); font-size: 15px; line-height: 1.45; cursor: pointer; }
.optin input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--purple); }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form-status { min-height: 1.4em; margin: 8px 0 0; color: var(--purple); font-size: 15px; font-weight: 700; }
.form-status:empty { min-height: 0; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.email-form-notify.done .email-row { opacity: 0.6; }
@media (max-width: 520px) {
  .email-row { flex-direction: column; padding: 8px; }
  .email-row .btn-store { justify-content: center; }
}

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--header); display: flex; align-items: center; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.site-header.scrolled, .page .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav-link { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; }
.nav-link:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-grid; place-items: center; min-width: 44px; height: 34px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.menu-button { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.menu-button .icon { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: calc(var(--header) - 6px); left: 12px; right: 12px; flex-direction: column; gap: 0; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.3), inset 0 0 0 1px var(--line); }
  .nav.open { display: flex; }
  .nav-link { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
  .nav-link:hover { background: var(--card); }
  .menu-button { display: inline-grid; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 420px) { .header-actions .btn-small { display: none; } }

/* ---------- hero ---------- */
/* Derived progress values from --p (0 → 1 while the pinned hero scrolls past; set by main.js). */
.hero {
  --p: 0;
  --a: clamp(0, calc(var(--p) / 0.3), 1);            /* card grows to full bleed */
  --k: calc(1 - var(--a));
  --c: clamp(0, calc(var(--p) / 0.22), 1);           /* copy fades out */
  --b: clamp(0, calc((var(--p) - 0.04) / 0.36), 1);  /* screen rises to the centre */
  --n: clamp(0, calc((var(--p) - 0.42) / 0.16), 1);  /* adhan flows out of the notch */
  position: relative; padding: calc(var(--header) + 4px) 12px 0;
}
.hero-pin { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 16px 0; }
.hero-card {
  position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(55% 60% at 50% 22%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--glow-b) 0%, var(--glow-a) 100%);
}
.hero-copy { position: relative; z-index: 2; text-align: center; }
.pill-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none;
}
.pill-link .icon { width: 15px; height: 15px; color: var(--purple); }
.pill-link:hover { box-shadow: inset 0 0 0 1.5px var(--purple); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 { margin-top: 22px; }
.hero-lede { margin: 18px auto 0; max-width: 30em; font-size: clamp(17px, 1.6vw, 20px); color: var(--text); }

.stage { position: relative; z-index: 1; width: min(100%, 940px); margin: 44px auto 0; }
.screen {
  position: relative; height: clamp(300px, 52vw, 560px); overflow: hidden;
  border: 9px solid #1E1B22; border-bottom: 0; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  box-shadow: 0 30px 80px -30px rgba(30, 20, 50, 0.6);
}
.mb {
  position: relative; z-index: 3; display: flex; justify-content: flex-end; align-items: center;
  height: 30px; padding: 0 14px; background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0;
}
.mb-notch { position: absolute; left: 50%; top: 0; width: 18%; min-width: 120px; height: 30px; transform: translateX(-50%); background: #000; border-radius: 0 0 12px 12px; }
.mb-item { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.22); font-variant-numeric: tabular-nums; }
.mb-item .icon { width: 14px; height: 14px; }
.mb-item [data-p] { display: none; }
.notch-drop { position: absolute; z-index: 2; left: 50%; top: 0; width: min(46%, 380px); transform: translateX(-50%); transform-origin: 50% 0; }
.panel {
  position: absolute; z-index: 1; top: 40px; right: 4%; width: clamp(150px, 27%, 270px); aspect-ratio: 640 / 936;
  background: var(--panel) top center / contain no-repeat;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}
/* two plain "work" windows on the desktop, so the screen reads as a workday */
.win { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 9px; padding: 0 18px 18px; border-radius: 10px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5); }
.win-a { left: 6%; top: 74px; width: 44%; height: 58%; }
.win-b { left: 36%; top: 46%; width: 26%; height: 34%; background: rgba(255, 255, 255, 0.72); }
.win-bar { height: 26px; margin: 0 -18px 6px; border-radius: 10px 10px 0 0; background: rgba(30, 27, 34, 0.06); }
.ln { display: block; height: 8px; width: 100%; border-radius: 4px; background: rgba(30, 27, 34, 0.12); }
.ln.w60 { width: 60%; } .ln.w70 { width: 70%; } .ln.w80 { width: 80%; } .ln.w90 { width: 90%; }
.tile { display: none; }

@media (max-width: 700px) {
  .notch-drop { width: 64%; }
  .mb-notch { width: 24%; min-width: 0; }
  .mb { padding: 0 8px; }
  .mb-item { font-size: 11px; padding: 1px 6px; }
  .panel { top: 40px; right: 5%; width: 46%; }
  .win-b { display: none; } .win-a { width: 46%; }
}

/* Desktop with motion: Alarmy-style pinned hero. */
@media (min-width: 960px) {
  .tile {
    display: grid; place-items: center; position: absolute; z-index: 3;
    width: 84px; height: 84px; border-radius: 24px; font-size: 38px;
    box-shadow: 0 18px 40px -18px rgba(40, 20, 70, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  }
  .tile-1 { left: -12%; top: 12%; background: #FFE9D8; color: #B65A22; }
  .tile-2 { left: -5%; top: 44%; background: #FFF2C2; color: #9A7000; }
  .tile-3 { left: -13%; top: 72%; background: #DDEBFF; color: #2D63BE; }
  .tile-4 { right: -12%; top: 10%; background: #FFE2CF; color: #A84B16; }
  .tile-5 { right: -5%; top: 42%; background: #F7DDF0; color: #993A7E; }
  .tile-6 { right: -13%; top: 70%; background: #E3E1FB; color: #4643B0; }
}
.motion .hero { height: 300vh; padding: 0; }
.motion .hero-pin { position: sticky; top: 0; height: 100vh; padding: 0; border-radius: 0; }
.motion .hero-card {
  inset: calc(var(--k) * 84px) calc(var(--k) * 40px) calc(var(--k) * 24px);
  border-radius: calc(var(--k) * 32px);
}
.motion .hero-copy {
  position: absolute; left: 0; right: 0; top: max(118px, 14vh);
  opacity: calc(1 - var(--c)); transform: translateY(calc(var(--c) * -48px));
}
.motion .stage {
  position: absolute; left: 50%; top: 50%; margin: 0; width: min(920px, 70vw);
  transform: translate(-50%, calc(-46% + (1 - var(--b)) * 44vh)) scale(calc(0.9 + 0.1 * var(--b)));
}
.motion .screen { height: min(560px, 62vh); border-bottom: 9px solid #1E1B22; border-radius: 26px; }
.motion .notch-drop { opacity: var(--n); transform: translateX(-50%) scale(calc(0.3 + 0.7 * var(--n))); }
.motion .tile {
  --t: clamp(0, calc((var(--p) - var(--d)) / 0.16), 1);
  opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 40px)) scale(calc(0.6 + 0.4 * var(--t)));
}
.motion .tile-1 { --d: 0.56; } .motion .tile-2 { --d: 0.6; } .motion .tile-3 { --d: 0.64; }
.motion .tile-4 { --d: 0.58; } .motion .tile-5 { --d: 0.62; } .motion .tile-6 { --d: 0.66; }

/* ---------- stats ---------- */
.stat-list { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; font-size: 40px; }
.stat-badge { background: #EFE4FA; color: var(--purple); }
.stat-shield { background: #DFF1EA; color: #1F7A57; }
.stat-heart { background: #FBE3EE; color: var(--magenta); }
.stat-number { margin: 22px 0 4px; color: var(--ink); font-size: 52px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-number small { margin-left: 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.stat-prefix { font-size: 0.62em; margin-right: 2px; }
.stat-label { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 720px) { .stat-list { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-top: 52px; } }

/* ---------- labels + intros ---------- */
.label { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--purple); font-size: 18px; font-weight: 700; }
.label .icon { width: 22px; height: 22px; }
.label-center { justify-content: center; }
.label-gradient span, .gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro { margin-bottom: 64px; }

/* ---------- bento cards ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 32px; background: var(--card); }
.card-text { position: relative; z-index: 2; padding: 48px 48px 0; }
.card h3 { margin-bottom: 14px; }
.card-text > p:not(.label) { color: var(--muted); font-size: 17px; max-width: 32em; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 560px; }
.card-wide .card-text { padding: 56px; }
.card-media { position: relative; flex: 1; min-height: 340px; }

.source-tiles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.source-tiles li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; font-size: 14px; color: var(--muted); line-height: 1.3; }
.source-tiles strong { display: block; color: var(--ink); font-size: 15px; }
.source-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.source-1 { background: #DFF1EA; color: #1F7A57; } .source-2 { background: #DDEBFF; color: #2D63BE; }
.source-3 { background: #FBE3EE; color: #993A7E; } .source-4 { background: #EFE4FA; color: var(--purple); }

.media-panels .fan { position: absolute; width: 44%; max-width: 270px; filter: drop-shadow(0 24px 30px rgba(30, 20, 50, 0.28)); }
.fan-1 { left: 4%; top: 120px; z-index: 3; transform: rotate(-5deg); }
.fan-2 { left: 30%; top: 56px; z-index: 2; }
.fan-3 { left: 56%; top: 120px; z-index: 1; transform: rotate(5deg); }

/* a slice of a Mac screen top, for the notch moments */
.media-screen { min-height: 360px; }
.mini-screen {
  position: absolute; left: 40px; right: 40px; top: 32px; bottom: -20px; overflow: hidden;
  border: 8px solid #1E1B22; border-bottom: 0; border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #663418 0%, #A66138 100%);
}
.mini-mb { position: absolute; inset: 0 0 auto; height: 22px; background: rgba(255, 255, 255, 0.16); }
.mini-notch { position: absolute; z-index: 2; left: 50%; top: 0; width: min(78%, 400px); transform: translateX(-50%); }
.mini-screen-dim::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }

.media-settings .settings-shot { position: absolute; left: 40px; top: 32px; width: 660px; max-width: none; filter: drop-shadow(0 20px 30px rgba(30, 20, 50, 0.22)); }

@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card-wide { display: flex; min-height: 0; }
  .card-wide .card-text, .card-text { padding: 32px 26px 0; }
  .media-panels { min-height: 420px; }
  .fan-1 { left: 2%; top: 60px; } .fan-2 { left: 28%; top: 24px; } .fan-3 { left: 54%; top: 60px; }
  .media-screen { min-height: 260px; }
  .mini-screen { left: 22px; right: 22px; top: 24px; }
  .media-settings .settings-shot { left: 22px; top: 24px; width: 520px; }
}
@media (max-width: 520px) { .source-tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- dark section: the screen dims ---------- */
.dark { background: var(--dark); color: var(--on-dark-muted); }
.dark h2, .dark h3 { color: #fff; }
.dark .section-lede, .dark .card-text > p:not(.label) { color: var(--on-dark-muted); }
.dark .label { color: var(--lav); }
.dark .card { background: var(--dark-card); }
.dark :focus-visible { outline-color: var(--lav); }
.media-fullscreen .fullscreen-shot { position: absolute; left: 0; top: 56px; width: 118%; max-width: none; border-radius: 18px 0 0 0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.media-lock { display: grid; place-items: center; min-height: 340px; padding: 24px; }
.lock-mock {
  width: min(100%, 300px); padding: 28px 24px 24px; border-radius: 28px; text-align: center;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.lock-title { margin: 0; color: var(--lav); font-size: 15px; font-weight: 700; }
.lock-count { margin: 4px 0 14px; color: #fff; font-size: 112px; line-height: 1; font-weight: 200; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.lock-cancel { display: inline-block; padding: 9px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 15px; font-weight: 700; }
@media (max-width: 900px) { .media-fullscreen { min-height: 300px; } .media-fullscreen .fullscreen-shot { top: 32px; left: -14%; width: 130%; border-radius: 0; } }
@media (max-width: 600px) { .stats h2 br { display: none; } }

/* ---------- privacy carousel (in place of testimonials) ---------- */
.carousel { margin-top: 56px; }
.track {
  list-style: none; margin: 0; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 24px max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))) 48px; scrollbar-width: none;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
}
.track::-webkit-scrollbar { display: none; }
.request {
  flex: 0 0 min(400px, 82vw); scroll-snap-align: start; padding: 40px 36px;
  border-radius: 24px; background: #fff; box-shadow: 0 5px 50px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}
.request-role { margin: 0 0 6px; color: var(--purple); font-size: 15px; font-weight: 700; }
.request h3 { font-size: 28px; }
.request dl { margin: 22px 0 0; display: grid; gap: 16px; }
.request dt { font-size: 14px; color: var(--muted); }
.request dd { margin: 2px 0 0; color: var(--ink); font-size: 17px; line-height: 1.5; }
.request .request-when { color: var(--magenta); font-weight: 700; }
.carousel-nav { display: flex; justify-content: center; gap: 12px; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--ink); }
.round .icon { width: 22px; height: 22px; }
.round:hover { background: var(--ink); color: #fff; }
.privacy-after { margin-top: 36px; color: var(--muted); font-size: 16px; }

/* ---------- iPhone + Apple Watch teaser ---------- */
.soon { background: linear-gradient(180deg, #FFFFFF 0%, #F5EFFB 100%); }
.soon-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--purple); font-size: 14px; font-weight: 700; }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.soon-card { background: #fff; box-shadow: inset 0 0 0 1px rgba(110, 63, 176, 0.08); }
.soon-card .card-text { padding: 40px 36px 0; }
.soon-card h3 { font-size: clamp(23px, 2vw, 28px); }
.media-device { min-height: 380px; }
.device { position: absolute; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 26px 30px rgba(30, 20, 50, 0.25)); }
.device-phone { top: 16px; width: 66%; max-width: 260px; }
.device-watch { top: 40px; width: 64%; max-width: 230px; }
.soon-note { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .soon-grid { grid-template-columns: minmax(0, 1fr); }
  .soon-card .card-text { padding: 32px 26px 0; }
  .media-device { min-height: 340px; }
  .device-phone { width: 52%; }
  .device-watch { width: 50%; }
}

/* ---------- get Walasr ---------- */
.get h2 { margin-bottom: 56px; }
.card-download .email-form, .soon .email-form { margin-left: 0; }
.soon .intro .email-form { margin: 28px auto 0; }
.card-download .card-text, .card-donate .card-text { padding-bottom: 48px; }
.card-donate .card-text { padding-bottom: 0; }
.donate-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 48px 48px; font-size: 16px; }
.donate-row p { margin: 0 0 10px; }
.qris { border-radius: 14px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) {
  .card-download .card-text { padding-bottom: 32px; }
  .donate-row { grid-template-columns: minmax(0, 1fr); padding: 20px 26px 32px; }
  .qris { width: 220px; }
}

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 48px; }
.faq-list { max-width: 1080px; margin-inline: auto; display: grid; gap: 12px; }
details { border-radius: 20px; background: var(--faq); }
summary { list-style: none; position: relative; display: flex; align-items: center; gap: 14px; padding: 26px 64px 26px 24px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 28px; top: 50%; width: 18px; height: 2px; background: var(--ink); transition: transform 0.2s ease; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
.q { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #EFE4FA; color: var(--purple); font-size: 15px; font-weight: 800; }
.q-text { color: var(--ink); font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
details p { margin: 0; padding: 0 28px 28px 72px; color: var(--muted); max-width: 52em; }
@media (max-width: 600px) { details p { padding-left: 24px; } summary { padding-right: 56px; } summary::before, summary::after { right: 22px; } }

/* ---------- closing + footer ---------- */
.closing { text-align: center; padding: 40px var(--gutter) var(--section); }
.ayah { margin: 0; font: 400 clamp(60px, 10vw, 110px)/1.5 "Amiri", serif; color: var(--purple); }
.meaning { margin: 0 0 4px; color: var(--ink); font-size: 22px; font-weight: 700; }
.ref { margin: 0; font-size: 15px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 120px; font-size: 15px; color: var(--muted); }
.site-footer a { color: var(--ink); }
.site-footer .brand { margin-bottom: 14px; }
.site-footer p { margin: 0 0 6px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
.credits h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 10px; }
.credits p { margin-bottom: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) { .site-footer { padding-bottom: 56px; } }

/* mobile: full-width CTA pinned to the bottom, like Alarmy's */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; min-height: 54px; font-size: 17px; box-shadow: 0 14px 30px -12px rgba(110, 63, 176, 0.7); transition: transform 0.25s ease, opacity 0.25s ease; }
  .sticky-cta.hidden { transform: translateY(140%); opacity: 0; }
}

/* ---------- download page ---------- */
.dl { max-width: 760px; padding-block: calc(var(--header) + 40px) 80px; }
.dl-card { align-items: center; padding: 56px 40px 48px; text-align: center; }
.dl-icon { width: 88px; height: 88px; margin-bottom: 20px; border-radius: 20px; box-shadow: 0 14px 30px -16px rgba(60, 30, 90, 0.5); }
.dl-card h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.04em; }
.dl-card .section-lede { margin-top: 12px; }
.dl-card .store-row { margin-top: 26px; }
.link-button { margin-top: 18px; border: 0; background: none; color: var(--purple); font: 600 15px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dl-steps { margin: 40px 0 36px; }
.dl-steps h2 { font-size: 24px; margin-bottom: 16px; }
.dl-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.dl-steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); color: var(--ink); }
.dl-steps li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #EFE4FA; color: var(--purple); font-weight: 800; font-size: 15px; }
@media (max-width: 600px) { .dl-card { padding: 40px 20px 32px; } }

/* ---------- simple pages (privacy, 404) ---------- */
.doc { padding-block: calc(var(--header) + 56px) 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; }
.data { width: 100%; border-collapse: collapse; font-size: 16px; }
.data th, .data td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.data thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.data tbody th { color: var(--ink); }
@media (max-width: 700px) {
  .data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data, .data tbody, .data tr, .data th, .data td { display: block; }
  .data tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .data th, .data td { border: 0; padding: 2px 0; }
  .data td::before { content: attr(data-label) ": "; color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.soon .intro .form-status { text-align: center; }
