/* ============================================================
   Iqra — website stylesheet
   Light, neutral Apple/Envelope-style base. Navy is the "black";
   gold is the single accent. The iPhone mockups always render with
   the app's own night screens so the product stays authentic.
   ============================================================ */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic.woff2") format("woff2-variations");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Amiri Quran";
  src: url("../fonts/amiri-quran.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* ---------- theme tokens ---------- */

:root {
  color-scheme: light;

  /* surfaces */
  --bg-s1: #fdfdfc;
  --bg-s2: #f8f8f7;
  --bg-s3: #f1f1ef;
  --bg-well: #f4f4f2;
  --bg-card: rgba(20, 32, 52, 0.03);
  --bg-card-strong: rgba(20, 32, 52, 0.05);
  --bg-chip: #ffffff;
  --bar: rgba(255, 255, 255, 0.8);

  /* lines */
  --line: rgba(20, 32, 52, 0.12);
  --line-soft: rgba(20, 32, 52, 0.07);

  /* ink — deep navy instead of black */
  --ink-rgb: 28, 40, 62;
  --ink: #1c283e;
  --ink-strong: #0f1a2e;
  --t1: rgba(var(--ink-rgb), 0.84);
  --t2: rgba(var(--ink-rgb), 0.68);
  --t3: rgba(var(--ink-rgb), 0.52);
  --t4: rgba(var(--ink-rgb), 0.4);

  /* gold — the single accent */
  --gold-rgb: 163, 124, 44;
  --gold: #a37c2c;
  --gold-hi: #8c671f;
  --gold-deep: #745417;
  --gold-soft: rgba(var(--gold-rgb), 0.09);
  --gold-line: rgba(var(--gold-rgb), 0.3);

  /* primary button — gold-on-dark ink, like the app */
  --btn-a: #cfaa58;
  --btn-b: #b6893a;
  --btn-ink: #241a08;
  --btn-shadow: rgba(163, 124, 44, 0.2);
  --btn-shadow-strong: rgba(163, 124, 44, 0.3);

  /* ambient glows — very faint */
  --glow-soft: radial-gradient(52% 42% at 50% 0%, rgba(var(--gold-rgb), 0.05), transparent 70%);
  --halo: rgba(var(--gold-rgb), 0.08);

  --ui-font: "Figtree", system-ui, -apple-system, "Segoe UI", "Apple Symbols", "Segoe UI Symbol", sans-serif;
  --serif-font: "Cormorant Garamond", Georgia, "Times New Roman", "Apple Symbols", "Segoe UI Symbol", serif;
  --quran-font: "Amiri Quran", "Cormorant Garamond", serif;

  --radius: 22px;
  --radius-sm: 14px;
  --max: 1140px;
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* The app's night theme — optional, off by default. */
:root[data-theme="night"] {
  color-scheme: dark;
  --bg-s1: #070d1b;
  --bg-s2: #0c1730;
  --bg-s3: #13213f;
  --bg-well: #0d1830;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-strong: rgba(255, 255, 255, 0.07);
  --bg-chip: rgba(17, 28, 50, 0.9);
  --bar: rgba(6, 11, 22, 0.78);
  --line: rgba(243, 236, 220, 0.1);
  --line-soft: rgba(243, 236, 220, 0.06);
  --ink-rgb: 243, 236, 220;
  --ink: #f3ecdc;
  --ink-strong: #f7f1e3;
  --t1: rgba(var(--ink-rgb), 0.72);
  --t2: rgba(var(--ink-rgb), 0.62);
  --t3: rgba(var(--ink-rgb), 0.55);
  --t4: rgba(var(--ink-rgb), 0.48);
  --gold-rgb: 217, 174, 100;
  --gold: #d9ae64;
  --gold-hi: #e9c486;
  --gold-deep: #a8813f;
  --gold-soft: rgba(var(--gold-rgb), 0.14);
  --gold-line: rgba(var(--gold-rgb), 0.32);
  --btn-shadow: rgba(212, 164, 76, 0.28);
  --btn-shadow-strong: rgba(212, 164, 76, 0.42);
  --glow-soft: radial-gradient(52% 42% at 50% 0%, rgba(var(--gold-rgb), 0.08), transparent 70%);
  --halo: rgba(var(--gold-rgb), 0.16);
}

/* The mockups always use the app's night look. */
:root {
  --mock-bg1: #0b1423;
  --mock-bg2: #0f1a30;
  --mock-bg3: #13203a;
  --mock-ink: #f3ecdc;
  --mock-ink-strong: #f7f1e3;
  --mock-gold: #d9ae64;
  --mock-gold-hi: #e9c486;
  --mock-gold-rgb: 217, 174, 100;
  --mock-line: rgba(243, 236, 220, 0.12);
  --mock-line-soft: rgba(243, 236, 220, 0.07);
  --mock-well: #0d1830;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ui-font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg-s1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(var(--gold-rgb), 0.28);
  color: var(--ink-strong);
}

a {
  color: var(--gold-hi);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--ink-strong);
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif-font);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--ink-strong);
  text-wrap: balance;
}
h1 {
  font-weight: 700;
}
p {
  margin: 0;
}
p + p {
  margin-top: 1em;
}

.wrap {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

/* The decorative halos around each phone bleed far beyond the content box and,
   on narrow screens, would push a sideways scrollbar. Clip the horizontal bleed
   on the page container (and every section) — `overflow-x: clip` clips without
   turning the element into a scroll container, so the sticky header (outside
   <main>) keeps working. */
main,
.section {
  overflow-x: clip;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- type helpers ---------- */

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  flex: none;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  letter-spacing: 0.002em;
}
.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--t1);
  max-width: 60ch;
}

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--btn-a), var(--btn-b));
  pointer-events: none;
}

/* ---------- nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--bg-s1);
  background: color-mix(in srgb, var(--bg-s1) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-strong);
  text-decoration: none;
  font-family: var(--serif-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand:hover {
  color: var(--ink-strong);
}
.brand .mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--bg-s3), var(--bg-s1));
  border: 1px solid var(--gold-line);
  display: grid;
  place-items: center;
  position: relative;
}
.brand .mark::before,
.brand .mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
}
.brand .mark::after {
  transform: rotate(45deg);
  inset: 9px;
}
.brand .mark .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  z-index: 1;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
  box-shadow: 0 0 0 1px var(--line-soft);
}
.footer-brand .brand {
  font-size: 34px;
}
.footer-brand .brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line-soft);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  color: var(--t1);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a:not(.btn):hover {
  color: var(--gold);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  display: none;
}
/* On desktop only the single CTA in .nav-right shows; the copy inside the
   nav list is for the mobile dropdown alone. */
.nav-links .mobile-cta {
  display: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}
.menu-toggle svg {
  width: 18px;
  height: 18px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--btn-a) 0%, var(--btn-b) 100%);
  color: var(--btn-ink);
  box-shadow: 0 12px 26px -14px var(--btn-shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px var(--btn-shadow-strong);
  filter: brightness(1.04);
  color: var(--btn-ink);
}
.btn:active {
  transform: translateY(0);
}
.btn .arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--gold-line);
  color: var(--gold);
  filter: none;
  box-shadow: none;
}
.btn.small-pad {
  padding: 11px 18px;
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-hi);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover {
  color: var(--ink-strong);
  border-color: currentColor;
}
.text-link .arrow {
  transition: transform 0.2s var(--ease);
}
.text-link:hover .arrow {
  transform: translateX(3px);
}

/* ---------- sections ---------- */

.section {
  padding: clamp(88px, 13vw, 152px) 0;
  position: relative;
}
.section.tint {
  background: var(--bg-well);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(38px, 6vw, 60px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .kicker {
  justify-content: center;
}
.section-head.center .kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
  flex: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glow-soft);
  pointer-events: none;
}
.hero-lg {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(60px, 9vh, 104px);
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 9px 18px;
  margin-bottom: 40px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), 0 6px 18px -6px rgba(0, 0, 0, 0.35);
}
.store-badge-logo {
  width: 20px;
  height: 26px;
  fill: #fff;
  flex: none;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.12;
  text-align: left;
}
.store-badge-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.92;
}
.store-badge-main {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.hero-copy h1 {
  margin-bottom: 20px;
}
.hero-copy .lede {
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-note {
  font-size: 13px;
  color: var(--t3);
  display: block;
}
.hero-note svg {
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: -0.12em; /* optically line the icon up with the small text */
  margin-right: 7px;
  opacity: 0.8;
}

/* ---------- iphone mockups ---------- */

.hero-product {
  position: relative;
  width: min(380px, 100%);
  margin-inline: auto;
}
.hero-product .halo {
  position: absolute;
  inset: -28% -46%;
  background: radial-gradient(42% 40% at 50% 44%, var(--halo), transparent 72%);
  pointer-events: none;
}
.device {
  position: relative;
  width: min(320px, 88vw);
  margin-inline: auto;
  border-radius: 50px;
  padding: 12px;
  background: linear-gradient(165deg, #2a2f38, #0b0e14);
  box-shadow: 0 70px 120px -58px rgba(20, 20, 40, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 2px rgba(0, 0, 0, 0.5);
  animation: device-float 9s ease-in-out infinite;
}
.device::before,
.device::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #33383f, #14171c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  z-index: 2;
}
.device::before {
  left: -1.5px;
  top: 132px;
  height: 48px;
}
.device::after {
  right: -1.5px;
  top: 168px;
  height: 60px;
}
.device-screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  padding: clamp(22px, 5vw, 26px) clamp(18px, 4.5vw, 22px);
  background:
    radial-gradient(90% 48% at 50% -12%, rgba(var(--mock-gold-rgb), 0.13), transparent 62%),
    linear-gradient(180deg, var(--mock-bg1) 0%, var(--mock-bg2) 55%, var(--mock-bg3) 100%);
  color: var(--mock-ink);
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}
.device-screen::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  width: 92px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.34);
}
.device .island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 14px;
  background: #05070c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 3;
}
.device .island::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10141c;
}
.device .statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(243, 236, 220, 0.82);
  padding-top: 4px;
}
.device .statusbar .glyphs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.device .statusbar .glyphs svg {
  display: block;
}
@keyframes device-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---- app screen components ---- */

.mock-greet {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.mock-greet .eye {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mock-gold);
}
.mock-greet .name {
  font-family: var(--serif-font);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  color: var(--mock-ink-strong);
  margin-top: 5px;
}
.mock-greet .date {
  font-size: 11.5px;
  color: rgba(243, 236, 220, 0.55);
  margin-top: 6px;
}
.mock-greet .streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--mock-gold-rgb), 0.3);
  flex: none;
}
.mock-greet .streak svg {
  width: 11px;
  height: 11px;
  color: var(--mock-gold-hi);
}
.mock-greet .streak b {
  font-size: 13px;
  color: var(--mock-ink-strong);
}
.mock-lock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--mock-line);
}
.mock-lock .ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(var(--mock-gold-rgb), 0.14);
  border: 1px solid rgba(var(--mock-gold-rgb), 0.35);
  display: grid;
  place-items: center;
  color: var(--mock-gold-hi);
}
.mock-lock .ic svg {
  width: 17px;
  height: 19px;
}
.mock-lock .tx {
  flex: 1;
  min-width: 0;
}
.mock-lock .tx b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mock-ink-strong);
}
.mock-lock .tx span {
  display: block;
  font-size: 11.5px;
  color: rgba(243, 236, 220, 0.6);
  margin-top: 3px;
  line-height: 1.45;
}
.mock-lock .apps {
  display: flex;
  flex: none;
}
.mock-lock .apps i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  margin-left: -8px;
  border: 2px solid var(--mock-bg1);
  display: inline-grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  font-style: normal;
  color: rgba(255, 255, 255, 0.92);
}
.mock-lock .apps i:first-child {
  margin-left: 0;
}
.mock-card {
  border-radius: 22px;
  padding: 16px 17px;
  background: linear-gradient(160deg, rgba(var(--mock-gold-rgb), 0.2) 0%, rgba(var(--mock-gold-rgb), 0.05) 55%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(var(--mock-gold-rgb), 0.4);
  position: relative;
  overflow: hidden;
}
.mock-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(var(--mock-gold-rgb), 0.18);
  transform: rotate(45deg);
}
.mock-card .c-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mock-card .c-eyebrow .lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mock-gold);
}
.mock-card .c-eyebrow .ref {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 11px;
  background: var(--mock-well);
  border: 1px solid rgba(var(--mock-gold-rgb), 0.32);
  font-family: var(--serif-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mock-gold-hi);
  white-space: nowrap;
}
.mock-card .c-eyebrow .ref::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--mock-gold-hi);
  transform: rotate(45deg);
}
.mock-card .t {
  font-family: var(--serif-font);
  font-weight: 600;
  font-size: 24px;
  margin-top: 9px;
  color: var(--mock-ink-strong);
}
.mock-card .s {
  font-size: 12.5px;
  color: rgba(243, 236, 220, 0.62);
  margin-top: 4px;
}
.mock-card .ar {
  font-family: var(--quran-font);
  direction: rtl;
  font-size: 19px;
  color: rgba(var(--mock-gold-rgb), 0.85);
  margin-top: 11px;
  line-height: 1.9;
}
.mock-begin {
  margin-top: 14px;
  height: 46px;
  border-radius: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eac57e, #be9146);
  color: #241a08;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 26px rgba(212, 164, 76, 0.3);
}

/* reading screen */
.mock-readhead {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 220, 0.22);
  display: grid;
  place-items: center;
  color: rgba(243, 236, 220, 0.72);
  font-size: 15px;
  line-height: 1;
  padding: 0;
  background: transparent;
  font-family: inherit;
  flex: none;
}
button.mock-close {
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
button.mock-close:hover {
  color: var(--mock-ink-strong);
  border-color: rgba(243, 236, 220, 0.45);
}
.mock-su {
  flex: 1;
  text-align: center;
  font-family: var(--serif-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 236, 220, 0.66);
}
.mock-ayahnum {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(var(--mock-gold-rgb), 0.55);
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  flex: none;
}
.mock-ayahnum span {
  transform: rotate(-45deg);
  font-size: 12px;
  font-weight: 600;
  color: var(--mock-gold-hi);
}
.mock-grow {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.mock-grow.fade {
  animation: mock-ayah-in 0.38s var(--ease) both;
}
@keyframes mock-ayah-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mock-grow .ar {
  font-family: var(--quran-font);
  direction: rtl;
  font-size: 18px;
  color: rgba(var(--mock-gold-rgb), 0.85);
}
.mock-quran {
  font-family: var(--quran-font);
  direction: rtl;
  font-size: 34px;
  line-height: 1.8;
  color: var(--mock-ink-strong);
  text-align: center;
  width: 100%;
  max-width: 330px;
  margin: 6px 0;
}
.mock-en {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(243, 236, 220, 0.68);
  max-width: 280px;
}
.mock-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mock-back {
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13px;
  color: rgba(243, 236, 220, 0.5);
  padding: 10px 2px;
  flex: none;
  cursor: pointer;
  transition: color 0.15s ease;
}
.mock-back:hover {
  color: var(--mock-ink-strong);
}
.mock-primary {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 50px;
}
.mock-next {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eac57e, #be9146);
  color: #241a08;
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 10px 30px rgba(212, 164, 76, 0.25);
  cursor: pointer;
  transition: filter 0.15s ease;
}
.mock-next:hover {
  filter: brightness(1.05);
}
.mock-track {
  height: 6px;
  border-radius: 99px;
  background: rgba(243, 236, 220, 0.12);
  overflow: hidden;
}
.mock-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mock-gold-hi), var(--mock-gold));
  transition: width 0.6s var(--ease);
}
.mock-row {
  font-size: 10.5px;
  letter-spacing: 0.19em;
  text-align: center;
  color: rgba(243, 236, 220, 0.4);
}

/* ---------- the reader demo: reflection dwell + completion ---------- */

/* The app swaps the whole primary button for the pause while the ayah rests. */
#reader-demo {
  --dwell-s: 5s;
}
#reader-demo [hidden] {
  display: none !important;
}
.mock-read {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-dwell {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mock-bg3);
  border: 1px solid rgba(243, 236, 220, 0.12);
  cursor: default;
}
.mock-dwell-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(
    90deg,
    rgba(var(--mock-gold-rgb), 0.3) 0%,
    rgba(var(--mock-gold-rgb), 0.22) 55%,
    rgba(var(--mock-gold-rgb), 0.07) 92%,
    rgba(var(--mock-gold-rgb), 0) 100%
  );
}
.mock-dwell.locked .mock-dwell-fill {
  animation: mock-dwell-fill var(--dwell-s, 5s) linear forwards;
}
@keyframes mock-dwell-fill {
  to {
    width: 100%;
  }
}
.mock-dwell-txt {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 0 12px;
  overflow: hidden;
}
.mock-dwell-txt em {
  display: inline-block;
  font-family: var(--serif-font);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: rgba(243, 236, 220, 0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-dwell-txt b {
  flex: none;
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(243, 236, 220, 0.45);
}

/* Completion — CompleteScreen: glow, spinning Rub, Alhamdulillah. */
.mock-done {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: mock-done-in 0.45s var(--ease) both;
}
@keyframes mock-done-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.mock-done-glow {
  position: absolute;
  left: -40%;
  right: -40%;
  top: -4%;
  height: 66%;
  background: radial-gradient(50% 52% at 50% 40%, rgba(216, 166, 74, 0.3) 0%, rgba(216, 166, 74, 0) 70%);
  pointer-events: none;
  animation: mock-breathe 3.2s ease-in-out infinite;
}
@keyframes mock-breathe {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.95;
  }
}
.mock-rub {
  position: relative;
  width: 56px;
  height: 56px;
  margin-top: auto;
  flex: none;
  animation: mock-spin 40s linear infinite;
}
.mock-rub i {
  position: absolute;
  inset: 9px;
  border: 1.5px solid rgba(233, 196, 134, 0.95);
}
.mock-rub i + i {
  transform: rotate(45deg);
}
@keyframes mock-spin {
  to {
    transform: rotate(360deg);
  }
}
.mock-done-title {
  font-family: var(--serif-font);
  font-weight: 700;
  font-size: clamp(30px, 6.5vw, 40px);
  line-height: 1.1;
  color: var(--mock-ink-strong);
  margin-top: 18px;
}
.mock-done-sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(243, 236, 220, 0.68);
  max-width: 250px;
  margin: 10px 0 0;
}
.mock-done-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--mock-gold-rgb), 0.3);
  margin-top: 18px;
}
.mock-done-pill .star {
  color: var(--mock-gold-hi);
  font-size: 14px;
  line-height: 1;
}
.mock-done-pill b {
  font-size: 13px;
  font-weight: 600;
  color: var(--mock-ink-strong);
}
.mock-done-pill .dim {
  font-size: 11px;
  color: rgba(243, 236, 220, 0.5);
}
.mock-done-gently {
  font-family: var(--serif-font);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: rgba(243, 236, 220, 0.62);
  margin-top: auto;
  padding: 14px 0 18px;
}
.mock-done .mock-done-btn {
  position: static;
  width: 100%;
  height: 52px;
  flex: none;
  font-size: 15px;
}

/* ---------- showcase (the reader) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
}
/* The reader flips on desktop: phone on the left, text on the right —
   a bit of rhythm between the feature sections. (Stacked on <900px.) */
@media (min-width: 901px) {
  #inside .feature-row .hero-product { order: 1; }
  #inside .feature-row .hero-copy { order: 2; }
}
.feature-row .hero-copy .lede {
  max-width: 44ch;
}
.showcase-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--t1);
  line-height: 1.55;
}
.tick {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  margin-top: 2px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
}
.tick svg {
  width: 11px;
  height: 11px;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px);
  max-width: 1000px;
  margin-inline: auto;
}
.step {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
}
.step .num {
  font-family: var(--serif-font);
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
  display: block;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.step p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--t2);
}

/* ---------- privacy ---------- */

.privacy-section {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(30px, 5vw, 60px) 0;
  border-top: 1px solid var(--line-soft);
}
.privacy-section .kicker {
  justify-content: center;
}
.privacy-section .kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
  flex: none;
}
.privacy-quote {
  font-family: var(--serif-font);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.42;
  color: var(--ink-strong);
  max-width: 26ch;
  margin: 10px auto 14px;
}
.privacy-section .cite {
  font-size: 13px;
  color: var(--t3);
  letter-spacing: 0.03em;
}
.privacy-link {
  margin-top: 34px;
  font-size: 14.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- waitlist CTA ---------- */

.cta-band {
  position: relative;
  text-align: center;
  overflow: clip;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glow-soft);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  border: 1px solid var(--gold-line);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(44px, 7vw, 90px) clamp(24px, 5vw, 60px);
  background: linear-gradient(160deg, var(--bg-card-strong), var(--bg-card) 70%);
}
.cta-inner .cta-quote {
  font-family: var(--serif-font);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.42;
  color: var(--ink-strong);
  margin-bottom: 4px;
}
.cta-inner .cta-quote-ref {
  font-family: var(--ui-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 14px;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-bottom: 14px;
}
.cta-inner h2 em {
  font-style: italic;
  font-weight: 500;
}
.cta-inner > p {
  max-width: 54ch;
  margin-inline: auto;
  color: var(--t1);
  margin-bottom: 34px;
}
.waitlist {
  max-width: 520px;
  margin-inline: auto;
}
.waitlist .row {
  display: flex;
  gap: 10px;
  padding: 7px;
  border-radius: 999px;
  background: var(--bg-well);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.waitlist .row:focus-within {
  border-color: var(--gold-line);
}
.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink-strong);
  font-family: var(--ui-font);
  font-size: 15px;
  padding: 10px 18px;
  outline: none;
}
.waitlist input[type="email"]::placeholder {
  color: var(--t4);
}
.waitlist .btn {
  flex: none;
}
.waitlist .status {
  min-height: 22px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--t3);
}
.waitlist .status.ok {
  color: var(--gold-hi);
}
.waitlist .status:empty {
  display: none;
}
.waitlist .fine {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--t4);
  letter-spacing: 0.02em;
}
.waitlist .fine a {
  font-size: inherit;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-s1);
  background: color-mix(in srgb, var(--bg-s1) 60%, transparent);
  padding: clamp(48px, 7vw, 80px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--t3);
  max-width: 34ch;
  line-height: 1.7;
}
.footer-brand .arabic-foot {
  font-family: var(--quran-font);
  direction: rtl;
  font-size: 22px;
  color: var(--gold);
  margin-top: 18px;
  display: inline-block;
}
.footer-col h4 {
  font-family: var(--ui-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t3);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--t1);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--t4);
}
.footer-bottom .heart {
  color: var(--gold);
  vertical-align: -0.08em;
}
.footer-bottom a {
  font-size: inherit;
}

/* ---------- subpage header ---------- */

.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(52px, 8vh, 90px) 0 clamp(30px, 4vw, 50px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glow-soft);
  pointer-events: none;
}
.page-hero .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t2);
  text-decoration: none;
  margin-bottom: 30px;
}
.page-hero .back:hover {
  color: var(--gold);
}
.page-hero .back svg {
  width: 14px;
  height: 14px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 24ch;
}
.page-hero .updated {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero .updated::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.page-hero .lede {
  margin-top: 20px;
  max-width: 66ch;
}

/* ---------- prose / legal ---------- */

.prose {
  max-width: 780px;
  padding-bottom: clamp(70px, 9vw, 120px);
}
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 56px 0 16px;
}
.prose h3 {
  font-size: 1.22rem;
  margin: 34px 0 10px;
}
.prose p,
.prose li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--t1);
}
.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 16px 0;
  display: grid;
  gap: 8px;
}
.prose ul li::marker {
  color: var(--gold);
}
.prose strong {
  color: var(--ink-strong);
  font-weight: 600;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 14.5px;
}
.prose th {
  text-align: left;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--t1);
  vertical-align: top;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose .card-callout {
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--t1);
}
.prose .card-callout b {
  color: var(--ink-strong);
}
.prose .toc {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 14.5px;
}
.prose .toc strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: var(--ui-font);
}
.prose .toc ol {
  margin: 0;
  padding-left: 18px;
  gap: 4px;
}
.prose .toc a {
  font-size: 14.5px;
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line-soft);
  margin: 40px 0;
}

/* ---------- support ---------- */

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 860px;
  margin-inline: auto;
  padding-bottom: clamp(70px, 9vw, 120px);
}
.help-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 28px 30px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.help-card h2 {
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.help-card h2 .n {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  align-self: center;
}
.help-card h2 .n::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.85;
}
.help-card p,
.help-card li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--t2);
}
.help-card ul {
  padding-left: 20px;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.help-card ul li::marker {
  color: var(--gold);
}
.help-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  border-radius: 99px;
  padding: 3px 10px;
  vertical-align: 0.2em;
  margin-left: 6px;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}
.notfound-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.notfound h1 {
  margin: 8px 0 12px;
}
.notfound p {
  color: var(--t2);
  margin-bottom: 28px;
}

/* ---------- reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-lg,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy,
  .hero-copy h1,
  .hero-copy .verse {
    text-align: center;
  }
  .hero-copy .lede,
  .feature-row .hero-copy .lede {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-note {
    justify-content: center;
  }
  .showcase-points {
    text-align: left;
    margin-inline: auto;
    max-width: 34ch;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  .nav-cta {
    display: none;
  }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-s1);
    background: color-mix(in srgb, var(--bg-s1) 96%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
    padding: 10px 4vw 20px;
    display: none;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links li:last-child {
    border-bottom: 0;
  }
  .nav-links a:not(.btn) {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
  }
  .nav-links .mobile-cta {
    display: block;
    margin-top: 14px;
  }
  .waitlist .row {
    flex-direction: column;
    border-radius: 24px;
    padding: 10px;
  }
  .waitlist input[type="email"] {
    text-align: center;
    padding: 12px;
  }
  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .device {
    width: min(300px, 84vw);
    box-shadow: 0 40px 90px -50px rgba(20, 20, 40, 0.55),
      inset 0 0 0 1px rgba(255, 255, 255, 0.14),
      inset 0 0 0 2px rgba(0, 0, 0, 0.5);
  }
  .section {
    padding: clamp(64px, 12vw, 104px) 0;
  }
}

/* ---------- reduced motion ---------- */

@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;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- verse references (Arabic + source) ---------- */

.verse {
  font-family: var(--quran-font);
  direction: rtl;
  font-size: 22px;
  line-height: 1.9;
  color: var(--gold);
  margin: 14px 0 4px;
  text-align: center;
}
.verse-ref {
  font-family: var(--serif-font);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--t1);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-copy .verse {
  margin-top: 4px;
  font-size: clamp(1.85rem, 4.1vw, 2.9rem); /* header-sized, a touch quieter */
  line-height: 1.5;
  text-align: left;
}
/* Hero translation: a step bigger, with breathing room under the ayah. */
.hero .verse-ref {
  font-size: 18.5px;
  margin-top: 24px;
}
/* Section verses: header-sized but a notch smaller, so the hierarchy reads
   header → Arabic → translation (mobile overrides to 36px centered). */
.feature-row .hero-copy .verse {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.55;
}
.section-head .verse {
  margin-top: 18px;
}
.section-head .verse-ref,
.feature-row .verse-ref {
  margin-bottom: 0;
}

/* ---------- design language: header → verse/quote → translation → explanation ----------
   The same hierarchy on every breakpoint: the section title leads, then the
   Arabic verse (or hadith quote) with its translation, a breath of space,
   then the description. Ordered with flex so the HTML stays untouched. */

.feature-row .hero-copy {
  display: flex;
  flex-direction: column;
}
.feature-row .hero-copy .kicker {
  display: none;
}
.feature-row .hero-copy .section-title { order: 1; }
.feature-row .hero-copy .verse,
.feature-row .hero-copy .quote { order: 2; }
.feature-row .hero-copy .verse-ref,
.feature-row .hero-copy .quote-ref { order: 3; }
.feature-row .hero-copy .lede {
  order: 4;
  margin-top: 40px;
}

/* Section eyebrows are retired; "How it works" and "Privacy" get regular
   gold serif headers (the 640px block only overrides the scale). */
.intention .kicker {
  display: none;
}
.section-head .section-title {
  display: none; /* "Three Steps" retired — "How it works" is the header */
}
.section-head .kicker,
.privacy-section .kicker {
  display: block;
  font-family: var(--serif-font);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--gold);
  margin: 0 0 14px;
}
.section-head .kicker::before,
.section-head .kicker::after,
.privacy-section .kicker::before,
.privacy-section .kicker::after {
  display: none;
}

/* ---------- intention (the story) ---------- */

.intention {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(30px, 5vw, 60px) 0;
  border-top: 1px solid var(--line-soft);
}
.intention .kicker {
  justify-content: center;
}
.intention .kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
  flex: none;
}
.intention-quote {
  font-family: var(--serif-font);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.42;
  color: var(--ink-strong);
  margin: 0 0 8px;
}
.intention-ref {
  font-family: var(--ui-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t2);
  margin: 0 0 30px;
}
.intention-story {
  font-family: var(--serif-font);
  font-size: clamp(1.18rem, 2.3vw, 1.48rem);
  line-height: 1.62;
  color: var(--ink-strong);
  max-width: 46ch;
  margin-inline: auto;
}
.intention-story em {
  font-style: italic;
}
.intention-sign {
  margin-top: 24px;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--t3);
}

/* ---------- journey quote (hadith) ---------- */

.quote {
  font-family: var(--serif-font);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.42;
  color: var(--ink-strong);
  margin: 24px 0 6px;
  max-width: 40ch;
}
.quote-ref {
  font-family: var(--ui-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t2);
  margin: 0 0 24px;
}

/* ---------- journey screen (mock) ---------- */

.mock-journey-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.mock-journey-head .t {
  font-family: var(--serif-font);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.1;
  color: var(--mock-ink-strong);
}
.mock-journey-head .s {
  font-size: 10.5px;
  color: rgba(243, 236, 220, 0.55);
  margin-top: 4px;
}
.mock-journey-head .gear {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 220, 0.18);
  display: grid;
  place-items: center;
  color: rgba(243, 236, 220, 0.72);
  flex: none;
}
.mock-journey-head .gear svg {
  width: 14px;
  height: 14px;
}

.mock-khatm {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 15px;
  border-radius: 20px;
  background: rgba(var(--mock-gold-rgb), 0.06);
  border: 1px solid rgba(var(--mock-gold-rgb), 0.28);
}
.mock-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(var(--mock-gold-hi) 0 var(--ring-pct, 18%), rgba(243, 236, 220, 0.09) var(--ring-pct, 18%) 100%);
  display: grid;
  place-items: center;
  flex: none;
  animation: ring-draw 2s var(--ease) 0.5s forwards;
}
.mock-ring-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--mock-well);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mock-ring-inner b {
  font-size: 17px;
  font-weight: 700;
  color: var(--mock-gold-hi);
  line-height: 1;
}
.mock-ring-inner i {
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(243, 236, 220, 0.4);
  margin-top: 3px;
  font-style: normal;
  font-weight: 600;
}
.mock-khatm-tx {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.mock-khatm-tx b {
  font-family: var(--serif-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--mock-ink-strong);
}
.mock-khatm-tx span {
  font-size: 10.5px;
  color: rgba(243, 236, 220, 0.55);
}
.mock-khatm-tx .gold {
  color: var(--mock-gold-hi);
  font-size: 10px;
  margin-top: 3px;
}

.mock-pace {
  padding: 12px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--mock-line);
}
.mock-pace-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(243, 236, 220, 0.4);
}
.mock-pace-head span:last-child {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 10px;
  font-weight: 400;
}
.mock-pace-num {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--mock-ink-strong);
}
.mock-pace-num i {
  display: block;
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(243, 236, 220, 0.4);
  margin-top: 5px;
}
.mock-chips {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 11px;
}
.mock-chips .chip {
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 99px;
  border: 1px solid rgba(243, 236, 220, 0.14);
  background: transparent;
  color: rgba(243, 236, 220, 0.55);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.mock-chips .chip:hover {
  border-color: rgba(var(--mock-gold-rgb), 0.45);
  color: var(--mock-gold-hi);
}
.mock-chips .chip.on {
  background: rgba(var(--mock-gold-rgb), 0.18);
  border-color: rgba(var(--mock-gold-rgb), 0.5);
  color: var(--mock-gold-hi);
}
.mock-week {
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--mock-line);
}
.mock-week .lbl {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(243, 236, 220, 0.4);
  margin-bottom: 10px;
}
.mock-days {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.mock-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.mock-day .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(243, 236, 220, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: transparent;
}
.mock-day .dot svg {
  width: 11px;
  height: 11px;
}
.mock-day.done .dot {
  background: rgba(var(--mock-gold-rgb), 0.16);
  border-color: rgba(var(--mock-gold-rgb), 0.45);
  color: var(--mock-gold-hi);
}
.mock-day.today .dot {
  border-color: var(--mock-gold-hi);
  background: rgba(var(--mock-gold-rgb), 0.07);
}
.mock-day .ltr {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: rgba(243, 236, 220, 0.4);
}

.mock-stats {
  display: flex;
  gap: 8px;
}
.mock-stat {
  flex: 1;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--mock-line);
}
.mock-stat b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--mock-ink-strong);
}
.mock-stat b.gold {
  color: var(--mock-gold-hi);
}
.mock-stat i {
  display: block;
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(243, 236, 220, 0.4);
  margin-top: 5px;
}

/* ---------- app-accurate mock details ---------- */

.mock-greet .streak .star {
  font-size: 14px;
  line-height: 1;
  color: var(--mock-gold-hi);
}

.mock-fajr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(243, 236, 220, 0.4);
}
.mock-fajr .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mock-gold-hi);
  flex: none;
}

.mock-translator {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(243, 236, 220, 0.32);
}

.mock-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.mock-stepper .stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 220, 0.28);
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  color: rgba(243, 236, 220, 0.8);
  font-size: 16px;
  line-height: 1;
  flex: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.mock-stepper .stepper-btn:hover {
  border-color: rgba(var(--mock-gold-rgb), 0.5);
  color: var(--mock-gold-hi);
}
.mock-stepper .stepper-btn:disabled {
  opacity: 0.3;
  cursor: default;
  color: rgba(243, 236, 220, 0.5);
}

.mock-khatm-in {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(243, 236, 220, 0.08);
  font-size: 10px;
  line-height: 1.5;
  color: rgba(243, 236, 220, 0.62);
  text-align: center;
}
.mock-khatm-in b {
  color: var(--mock-gold-hi);
  font-weight: 600;
}

/* ---------- theme toggle ---------- */

.theme-toggle {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  flex: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--gold-line);
  color: var(--gold);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="night"] .theme-toggle .icon-sun {
  display: block;
}
:root[data-theme="night"] .theme-toggle .icon-moon {
  display: none;
}

/* ---------- living mockup micro-animations ---------- */

@property --ring-pct {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
@keyframes ring-draw {
  from { --ring-pct: 0%; }
  to { --ring-pct: 18%; }
}

.mock-day.done .dot {
  animation: check-pop 0.45s var(--ease) backwards;
}
.mock-day.done:nth-child(1) .dot { animation-delay: 0.3s; }
.mock-day.done:nth-child(2) .dot { animation-delay: 0.42s; }
.mock-day.done:nth-child(3) .dot { animation-delay: 0.54s; }
.mock-day.done:nth-child(4) .dot { animation-delay: 0.66s; }
.mock-day.done:nth-child(5) .dot { animation-delay: 0.78s; }
.mock-day.done:nth-child(6) .dot { animation-delay: 0.9s; }
@keyframes check-pop {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}

.mock-greet .streak .star {
  animation: star-glow 3s ease-in-out infinite;
}
@keyframes star-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================================
   Mobile-first refinements (applied on top of the desktop base;
   later source order means these win at narrow widths, and the
   app's night phone mockups are left to render as the product.)
   ============================================================ */

/* ---- menu backdrop ---- */

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 55; /* above content, below the sticky header (60) */
  background: rgba(6, 11, 22, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.nav-scrim.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---- safe areas (notch / home indicator) ---- */

.site-header {
  padding-top: env(safe-area-inset-top);
}
.site-footer {
  padding-bottom: env(safe-area-inset-bottom);
}

/* ---- header / mobile nav ---- */

@media (max-width: 760px) {
  :root {
    --nav-h: 60px;
  }
  .nav {
    gap: 12px;
  }
  .brand {
    order: 0;
  }
  .nav-right {
    order: 2;
    margin-left: auto;
    gap: 10px;
  }
  .menu-toggle {
    order: 3;
  }
  .nav-links {
    padding: 2px 5vw 10px;
  }
  .nav-links a:not(.btn) {
    padding: 15px 6px;
    font-size: 15.5px;
  }
}

/* ---- mobile type scale ---- */

@media (max-width: 640px) {
  .section-title {
    font-size: clamp(1.5rem, 5.2vw, 2rem);
  }
  .cta-inner h2 {
    font-size: clamp(1.6rem, 5.6vw, 2.1rem);
  }
  .page-hero h1 {
    font-size: clamp(1.7rem, 6vw, 2.25rem);
  }
  .prose h2 {
    font-size: clamp(1.35rem, 4.2vw, 1.6rem);
  }
  .intention-quote,
  .privacy-quote,
  .cta-quote {
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    line-height: 1.42;
  }
  .intention-story {
    font-size: clamp(1.05rem, 2.6vw, 1.24rem);
    line-height: 1.62;
  }
  .quote {
    font-size: clamp(1.12rem, 3.8vw, 1.38rem);
    line-height: 1.45;
  }
  .lede {
    font-size: 1.02rem;
    line-height: 1.68;
  }
  .verse {
    font-size: 20px;
  }
  .hero-copy .verse {
    font-size: 22px;
  }
  .verse-ref {
    font-size: 14px;
  }
  .step .num {
    font-size: 30px;
  }
  .step h3 {
    font-size: 18px;
  }
}

/* ---- mobile spacing rhythm & reflow ---- */

@media (max-width: 640px) {
  .wrap {
    padding-inline: 20px;
  }
  .section {
    padding: clamp(56px, 11vw, 88px) 0;
  }
  .hero-lg {
    padding-top: 36px;
    padding-bottom: 56px;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .steps {
    gap: 28px;
  }
  .feature-row {
    gap: 32px;
  }
  .cta-inner {
    padding: 34px 0 42px;
  }
  .footer-grid {
    gap: 30px;
  }
}

/* ---- coarse pointers: no hover-only styling, quiet taps ---- */

@media (pointer: coarse) {
  /* Kill pinch + double-tap zoom on touch devices (scrolling still works):
     quick double-taps on mockups/buttons don't zoom or jump the viewport. */
  body {
    touch-action: pan-x pan-y;
  }
  a,
  button {
    -webkit-tap-highlight-color: transparent;
  }
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

/* Lock the page scroll while the mobile menu overlay is open. */
body.menu-open {
  overflow: hidden;
}

/* ---- phones on small screens: smaller, static, no glow ---- */
/* The mockups are the heaviest element on a phone; pull them back so the
   copy and CTA lead, and the frames read as clean product shots. */

@media (max-width: 600px) {
  /* The mockups were designed for a ~320-402px frame; on a phone frame they
     overflow. Widen the frame a little AND scale the inner content so each
     phone reads as a clean, contained product shot. */
  .device {
    width: min(300px, 80vw);
    animation: none; /* static — no idle float on mobile */
    box-shadow: 0 0 0 1px rgba(var(--mock-gold-rgb), 0.22), /* premium gold rim */
      0 30px 70px -44px rgba(20, 20, 40, 0.6),
      inset 0 0 0 1px rgba(255, 255, 255, 0.12),
      inset 0 0 0 2px rgba(0, 0, 0, 0.45);
  }
  /* Bring back the desktop's soft halo, restrained: a small, contained glow that
     .section's overflow-x:clip keeps from ever causing sideways scroll. */
  .hero-product .halo {
    inset: -16% -34%;
    opacity: 0.7;
  }

  /* scale the in-mock content so it fits the smaller frame without wrapping */
  .mock-greet .eye {
    font-size: 9px;
  }
  .mock-greet .name {
    font-size: 24px;
  }
  .mock-greet .date {
    font-size: 10.5px;
  }
  .mock-card .t {
    font-size: 20px;
  }
  .mock-card .s {
    font-size: 11.5px;
  }
  .mock-card .ar {
    font-size: 17px;
  }
  .mock-begin {
    font-size: 13px;
  }
  .mock-lock .tx b {
    font-size: 12.5px;
  }
  .mock-lock .tx span {
    font-size: 11px;
  }

  .mock-journey-head .t {
    font-size: 19px;
  }
  .mock-ring {
    width: 62px;
    height: 62px;
  }
  .mock-ring-inner {
    width: 48px;
    height: 48px;
  }
  .mock-ring-inner b {
    font-size: 15px;
  }
  .mock-ring-inner i {
    font-size: 6px;
  }
  .mock-khatm {
    gap: 12px;
    padding: 11px 13px;
  }
  .mock-khatm-tx {
    gap: 2px;
  }
  .mock-khatm-tx b {
    font-size: 14px;
  }
  .mock-khatm-tx span {
    font-size: 9.5px;
  }
  .mock-khatm-tx .gold {
    font-size: 9px;
  }
  .mock-pace-num {
    font-size: 26px;
  }
  .mock-pace-num i {
    font-size: 7px;
  }
  .mock-stat b {
    font-size: 14px;
  }
  .mock-stat i {
    font-size: 7px;
  }
  .mock-day .dot {
    width: 24px;
    height: 24px;
  }
  .mock-stats {
    gap: 8px;
  }

  /* reader mock */
  .mock-su {
    font-size: 13px;
  }
  .mock-row {
    font-size: 10px;
  }
  .mock-quran {
    font-size: 30px;
  }
  .mock-en {
    font-size: 13px;
  }
  .mock-translator {
    font-size: 9.5px;
  }

  /* completion */
  .mock-rub {
    width: 46px;
    height: 46px;
  }
  .mock-done-title {
    font-size: clamp(24px, 6vw, 34px);
  }
  .mock-done-sub {
    font-size: 12.5px;
  }
  .mock-done-gently {
    font-size: 15px;
  }
}

/* Night mode: the black App Store badge is a black blob on a dark page —
   give it a faint rim so it reads as a surface, not a hole. */
:root[data-theme="night"] .store-badge {
  border: 1px solid rgba(243, 236, 220, 0.22);
}

/* ---- mobile hierarchy: the Arabic verse leads ----
   On a phone the hero Arabic is the center of attention: doubled size,
   centered, with the English translation beneath it. */
@media (max-width: 640px) {
  .hero-copy .verse {
    font-size: 36px; /* 2x the 18px mobile size */
    line-height: 1.7;
    margin: 0;
    opacity: 0.92;
    text-align: center;
  }
  .section-head .verse,
  .feature-row .verse {
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0 0;
    opacity: 0.92;
  }
}

/* ---- premium gold keystone on the key headings (desktop elegance on mobile) ---- */
.section-title .accent,
.cta-inner h2 .accent {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* ---- mobile: composed 4/8dp rhythm + a calmer entrance ---- */
@media (max-width: 640px) {
  .section {
    padding: clamp(56px, 10vw, 80px) 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .steps {
    gap: 40px;
  }
  .feature-row {
    gap: 40px;
  }
  .cta-inner {
    padding: 48px 0 56px;
  }
  .footer-grid {
    gap: 32px;
  }
  html.js .reveal {
    transition-duration: 0.45s; /* a touch faster, still gentle (reduce-motion overrides) */
  }
}

/* ============================================================
   Iqra — mobile-first design (phones ≤640px)
   A clean, deliberate re-presentation of the SAME content, so the
   message + one action lead, each phone reads as a premium product
   shot, and the whole page shares one rhythm. This is the final
   block in the file, so it supersedes the older, scattered mobile
   rules on phones.
   ============================================================ */
@media (max-width: 640px) {
  /* ---- container & rhythm ---- */
  .wrap {
    padding-inline: 20px;
  }
  .section {
    padding: 56px 0 60px;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .feature-row {
    gap: 28px;
  }
  .steps {
    gap: 28px;
  }

  /* ---- header / nav (taller, whitened) ---- */
  :root {
    --nav-h: 76px;
  }
  .site-header {
    background: #fff;
  }
  :root[data-theme="night"] .site-header {
    background: color-mix(in srgb, var(--bg-s1) 94%, transparent);
  }
  .nav {
    gap: 12px;
  }
  .brand {
    order: 0;
  }
  .nav-right {
    order: 2;
    margin-left: auto;
    gap: 10px;
  }
  .menu-toggle {
    order: 3;
  }
  .nav-links {
    padding: 2px 5vw 10px;
  }
  .nav-links a:not(.btn) {
    padding: 15px 6px;
    font-size: 15.5px;
  }

  /* ---- typography ---- */
  .section-title {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
    line-height: 1.16;
  }
  .lede {
    font-size: 1.05rem;
    line-height: 1.68;
  }
  .intention-story {
    font-size: clamp(1.05rem, 2.6vw, 1.22rem);
    line-height: 1.62;
  }
  .intention-quote,
  .privacy-quote,
  .cta-quote,
  .quote {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
    line-height: 1.42;
  }
  .verse {
    font-size: 18px;
    line-height: 1.6;
  }
  .hero-copy .verse {
    font-size: 36px;
    line-height: 1.7;
    text-align: center;
  }
  .verse-ref {
    display: block;
    font-size: 15px;
    color: var(--t2);
    text-align: center;
    margin: 20px 0 40px;
  }
  .hero .verse-ref {
    font-size: 15px;
    margin-top: 20px;
  }
  .step .num {
    font-size: 30px;
  }
  .step h3 {
    font-size: 18px;
  }

  /* ---- hero (message-forward, airy) ---- */
  .hero-lg {
    padding-top: 24px;
    padding-bottom: 72px;
  }
  .store-badge {
    display: flex;
    width: fit-content;
    gap: 10px;
    padding: 8px 15px;
    margin-bottom: 64px;
  }
  .store-badge-logo {
    width: 17px;
    height: 22px;
  }
  .store-badge-sub {
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }
  .store-badge-main {
    font-size: 15px;
    margin-top: 1px;
  }
  .hero-copy .verse {
    margin: 0;
  }
  .hero-copy .lede {
    font-size: 1.16rem;
    line-height: 1.6;
    margin: 0 0 40px;
  }
  .hero-actions {
    margin-bottom: 16px;
  }
  .hero-note {
    font-size: 11.5px;
  }
  .hero-note svg {
    width: 13px;
    height: 13px;
    margin-right: 6px;
  }

  /* ---- sections: title → verse/quote → translation → explanation ---- */
  .feature-row .hero-copy .verse {
    font-size: 36px; /* match the hero verse — consistent scale */
    line-height: 1.7;
    text-align: center;
    margin: 10px 0 0;
  }
  .feature-row .hero-copy .verse-ref {
    text-align: center;
    margin: 20px 0 0;
  }
  .feature-row .hero-copy .quote {
    margin: 10px 0 6px;
  }

  .kicker {
    font-size: 16px;
    letter-spacing: 0.3em;
  }
  /* gold regular headers — mobile scale (base rule holds the style) */
  .section-head .kicker,
  .privacy-section .kicker {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
  }

  /* ---- CTA: quote → translation → explanation → form (title hidden) ---- */
  .cta-inner {
    display: flex;
    flex-direction: column;
  }
  .cta-inner > h2 { display: none; }
  .cta-inner > .cta-quote { order: 1; }
  .cta-inner > .cta-quote-ref { order: 2; }
  .cta-inner > p:not(.cta-quote):not(.cta-quote-ref) {
    order: 3;
    margin: 26px auto 0;
  }
  .cta-inner > form { order: 4; }

  /* ---- premium phones ---- */
  .device {
    width: min(310px, 82vw);
    animation: none; /* static — no idle float on touch */
    box-shadow: 0 0 0 1px rgba(var(--mock-gold-rgb), 0.22),
      0 30px 70px -44px rgba(20, 20, 40, 0.6),
      inset 0 0 0 1px rgba(255, 255, 255, 0.12),
      inset 0 0 0 2px rgba(0, 0, 0, 0.45);
  }
  .hero-product .halo {
    inset: -16% -34%;
    opacity: 0.7;
  }

  /* ---- buttons: comfortable, full-width CTA ---- */
  .btn {
    min-height: 52px;
  }
  .hero-actions .btn,
  .cta-inner .btn {
    width: 100%;
  }

  /* ---- footer ---- */
  .footer-grid {
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
