/* Junna website v4. The page is one prayer day, in order: Fajr (hero) → Dhuhr (how it works) → Asr (earned time)
   → Maghrib (the hadith) → Isha (kindness, privacy, price, questions, and tonight's moon to close).
   Each band is that prayer's sky and is labelled with its time. --illum (tonight's moon, from moon.js) tunes the night. */
:root {
  color-scheme: dark;
  --illum: 0.3;
  --night: oklch(calc(0.13 + var(--illum) * 0.03) 0.045 270);
  --night-deep: oklch(0.11 0.04 268);
  --night-lift: oklch(0.17 0.05 272);
  --ink: oklch(0.97 0.008 265);
  --body: oklch(0.89 0.014 265);
  --sub: oklch(0.77 0.02 265);
  --line: oklch(1 0 0 / 0.16);
  --line-strong: oklch(1 0 0 / 0.3);
  --cream: oklch(0.94 0.015 90);
  --on-cream: oklch(0.2 0.03 272);
  --gold: oklch(0.86 0.1 82);
  --missed: oklch(0.77 0.08 35);
  --day-ink: oklch(0.22 0.04 268);
  --day-body: oklch(0.34 0.035 266);
  --day-sub: oklch(0.44 0.03 266);
  --day-line: oklch(0.22 0.04 268 / 0.18);
  --amber-deep: oklch(0.52 0.13 58);
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --naskh: "Amiri", "Noto Naskh Arabic", serif;
}

* { box-sizing: border-box; }
html { background: var(--night-deep); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; color: var(--ink); background: var(--night-deep); font-family: var(--sans); font-size: 21px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night-deep); }
a { color: inherit; text-decoration-color: currentColor; text-underline-offset: 5px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }
p { text-wrap: pretty; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: oklch(0.11 0.04 268 / 0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid oklch(1 0 0 / 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 76px; }
.wordmark { font-family: var(--display); font-weight: 300; font-size: 40px; letter-spacing: -0.03em; text-decoration: none; line-height: 1; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 17px; }
.nav a { text-decoration: none; color: var(--body); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .pill { color: var(--on-cream); background: var(--cream); border-radius: 999px; padding: 12px 24px; font-weight: 500; font-size: 16px; }
@media (max-width: 900px) { .nav .hide-sm { display: none; } .nav { gap: 22px; } .wordmark { font-size: 34px; } }
@media (max-width: 520px) { .nav .pill { display: none; } }

/* Shared */
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(48px, 6.2vw, 96px); line-height: 0.96; letter-spacing: -0.03em; }
h3 { font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.btn { display: inline-flex; align-items: center; height: 60px; padding: 0 32px; border-radius: 999px; background: var(--cream); color: var(--on-cream); font: 500 17px/1 var(--sans); text-decoration: none; }
.btn.big { height: 72px; padding: 0 44px; font-size: 19px; }
.note { font-size: 16px; color: var(--sub); }
/* Prayer-time marker that opens every band */
.when { display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 0.02em; margin: 0 0 40px; color: var(--sub); }
.when::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.when b { font-weight: 500; color: var(--ink); }
.light .when { color: var(--day-sub); }
.light .when b { color: var(--day-ink); }
.center .when { justify-content: center; }

.device { border-radius: 60px; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.12), 0 0 0 11px oklch(0.08 0.02 268), 0 0 0 12px oklch(1 0 0 / 0.12), 0 70px 140px -40px oklch(0.05 0.03 270 / 0.75); }
.device::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, oklch(1 0 0 / 0.07) 0%, oklch(1 0 0 / 0) 38%); }

/* 1 · Fajr: pre-dawn hero */
.fajr { position: relative; overflow: hidden;
  background: linear-gradient(180deg, oklch(0.11 0.045 268) 0%, oklch(0.15 0.05 270) 40%, oklch(0.25 0.065 260) 72%, oklch(0.4 0.07 248) 90%, oklch(0.58 0.08 40) 100%); }
.fajr::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -260px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, oklch(0.8 0.1 55 / 0.55), oklch(0.6 0.09 30 / 0.2) 55%, transparent 80%); pointer-events: none; }
.stars { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 50%, transparent 85%); mask-image: linear-gradient(180deg, #000 0, #000 50%, transparent 85%); }
.fajr .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; min-height: 900px; }
.hero-copy { align-self: center; padding-block: 80px 120px; }
.fajr .date { color: var(--gold); }
.fajr h1 { font-size: clamp(56px, 7.6vw, 112px); line-height: 0.9; letter-spacing: -0.045em; }
.fajr h1 em { font-style: normal; color: oklch(0.86 0.04 250); }
.fajr .lede { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.5; color: var(--body); max-width: 27em; margin: 40px 0 48px; }
.fajr .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero-phone { position: relative; align-self: end; height: 820px; }
@media (max-width: 960px) { .fajr .wrap { grid-template-columns: 1fr; min-height: 0; } .hero-phone { height: 620px; } }
.hero-phone .device { position: absolute; left: 54%; top: 56px; transform: translateX(-50%); width: 450px; height: 960px; padding: 74px 36px 0;
  background: linear-gradient(180deg, oklch(0.19 0.045 268), oklch(0.26 0.05 276) 60%, oklch(0.31 0.055 284)); }
@media (max-width: 520px) { .hero-phone .device { width: 340px; height: 740px; padding: 60px 26px 0; border-radius: 52px; } }
.d-moon { position: absolute; top: 60px; right: 32px; width: 90px; height: 90px; }
.d-date { font-size: 15px; color: var(--sub); }
.d-month { font-family: var(--display); font-weight: 300; font-size: 42px; line-height: 1.05; margin-top: 6px; }
.d-hero { display: flex; align-items: baseline; gap: 10px; margin-top: 56px; }
.d-hero b { font-family: var(--display); font-weight: 300; font-size: 110px; line-height: 0.88; letter-spacing: -0.035em; text-shadow: 0 0 calc(var(--illum) * 30px) oklch(0.92 0.03 88 / calc(var(--illum) * 0.45)); }
.d-hero span { font-family: var(--display); font-weight: 300; font-size: 22px; color: var(--sub); }
.d-note { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 15px; color: var(--body); }
.d-pill { background: var(--cream); color: var(--on-cream); border-radius: 999px; padding: 10px 22px; font-weight: 500; font-size: 15px; }
.d-rows { margin-top: 36px; }
.row { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--sub); }
.row:first-child { border-top: 0; }
.row .p { flex: 1; font-family: var(--display); font-size: 22px; color: var(--ink); }
.row .t { font-family: var(--display); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.row .next { color: var(--gold); font-family: var(--display); font-size: 18px; }
.row .missed { color: var(--missed); }

/* 2 · Dhuhr: full daylight, the lock screen as the centrepiece */
.dhuhr { background: linear-gradient(180deg, oklch(0.88 0.04 235) 0%, oklch(0.94 0.028 225) 40%, oklch(0.97 0.014 215) 100%); color: var(--day-ink); padding-block: 140px 150px; color-scheme: light; }
.dhuhr h2 { text-align: center; max-width: 10em; margin: 0 auto; }
.dhuhr .sub { text-align: center; color: var(--day-body); max-width: 30em; margin: 28px auto 0; font-size: 21px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 420px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 96px; }
@media (max-width: 1000px) { .stage { grid-template-columns: 1fr; justify-items: center; gap: 40px; } .stage .col { max-width: 520px; } }
.stage .col { display: grid; gap: 120px; }
@media (max-width: 1000px) { .stage .col { gap: 36px; } }
.stage .col.left { text-align: right; }
@media (max-width: 1000px) { .stage .col.left { text-align: left; } }
.ann h3 { color: var(--day-ink); margin-bottom: 10px; }
.ann p { margin: 0; color: var(--day-body); font-size: 19px; }
.ann .tick { display: block; height: 1px; width: 64px; background: var(--day-ink); opacity: 0.35; margin-bottom: 22px; }
.col.left .ann .tick { margin-left: auto; }
@media (max-width: 1000px) { .col.left .ann .tick { margin-left: 0; } }
.shield { width: 420px; height: 820px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 40px; color: var(--ink);
  background: linear-gradient(180deg, oklch(0.15 0.045 268), oklch(0.22 0.05 278)); }
@media (max-width: 520px) { .shield { width: 340px; height: 680px; } }
.shield .s-moon { width: 96px; height: 96px; margin-bottom: 44px; }
.shield h4 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.06; margin: 0 0 18px; letter-spacing: -0.01em; }
.shield p { font-size: 18px; color: var(--body); margin: 0 0 48px; }
.shield .b1 { background: var(--cream); color: var(--on-cream); border-radius: 999px; padding: 17px 44px; font-weight: 500; font-size: 18px; }
.shield .b2 { font-size: 16px; color: var(--sub); margin-top: 22px; }

/* 3 · Asr: afternoon light, a day of earned time */
.asr { background: linear-gradient(180deg, oklch(0.97 0.014 215) 0%, oklch(0.95 0.035 90) 55%, oklch(0.9 0.06 75) 100%); color: var(--day-ink); padding-block: 120px 150px; color-scheme: light; }
.asr .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; align-items: end; margin-bottom: 72px; }
@media (max-width: 900px) { .asr .head { grid-template-columns: 1fr; gap: 24px; } }
.asr .head p { margin: 0; color: var(--day-body); font-size: 21px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .ax { font: 17px var(--sans); fill: var(--day-sub); }
.chart .pn { font: 400 26px var(--display); fill: var(--day-ink); }
.chart .lbl { font: 500 19px var(--sans); fill: var(--day-ink); }
.chart .lbl.f { fill: var(--day-sub); }
.chart .now { font: 400 22px var(--display); fill: var(--amber-deep); }
@media (max-width: 700px) { .chart { overflow-x: auto; } .chart svg { min-width: 760px; } }

/* 4 · Maghrib: sunset, the hadith */
.maghrib { position: relative; overflow: hidden; text-align: center; padding-block: 120px 190px;
  background: linear-gradient(180deg, oklch(0.9 0.06 75) 0%, oklch(0.78 0.11 58) 14%, oklch(0.6 0.13 38) 30%, oklch(0.44 0.11 12) 46%, oklch(0.32 0.08 335) 66%, oklch(0.2 0.06 288) 88%, var(--night) 100%); }
.maghrib .when { color: oklch(0.32 0.06 40); }
.maghrib .when b { color: oklch(0.24 0.05 40); }
.maghrib::before { content: ""; position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M60 10 L74 46 L110 60 L74 74 L60 110 L46 74 L10 60 L46 46 Z'/%3E%3Cpath d='M25 25 L60 40 L95 25 L80 60 L95 95 L60 80 L25 95 L40 60 Z'/%3E%3Ccircle cx='60' cy='60' r='14'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, transparent 25%, #000 50%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent 25%, #000 50%, #000 75%, transparent); }
.maghrib .wrap { position: relative; }
.maghrib .ar { font-family: var(--naskh); font-size: clamp(100px, 15vw, 224px); line-height: 1.25; direction: rtl; margin: 170px 0 0; color: oklch(0.95 0.04 82); }
.maghrib .en { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.05; margin: 10px 0 0; letter-spacing: -0.02em; }
.maghrib cite { display: block; font-style: normal; font-size: 16px; color: oklch(0.9 0.02 330); margin-top: 26px; }
.maghrib .gloss { max-width: 30em; margin: 84px auto 0; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.5; color: oklch(0.94 0.012 300); }
.maghrib .gloss strong { font-family: var(--display); font-weight: 400; font-size: 1.15em; color: var(--ink); }

/* 5 · Isha: the night */
.isha { background: var(--night); }
.kind { padding-block: 130px 140px; text-align: center; }
.kind h2 { max-width: 11em; margin: 0 auto; font-size: clamp(48px, 5.8vw, 92px); }
.kind .lead { color: var(--body); font-size: 22px; max-width: 30em; margin: 34px auto 0; }
.kind .panel { max-width: 640px; margin: 72px auto 0; text-align: left; border-radius: 36px; padding: 34px 38px 30px; background: var(--night-lift); box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px oklch(0 0 0 / 0.7); }
.toggle { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 18px; }
.switch { width: 52px; height: 32px; border-radius: 99px; position: relative; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--sub); }

.privacy { background: var(--night-lift); padding-block: 120px; }
.privacy .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
@media (max-width: 900px) { .privacy .wrap { grid-template-columns: 1fr; gap: 32px; } }
.privacy h2 { font-size: clamp(48px, 5.4vw, 84px); }
.privacy p { margin: 0 0 18px; color: var(--body); }

.price { padding-block: 140px; }
.price .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 80px; align-items: center; }
@media (max-width: 960px) { .price .wrap { grid-template-columns: 1fr; gap: 48px; } }
.price .side p { color: var(--body); max-width: 24em; margin: 28px 0 0; font-size: 21px; }
.receipt { border-radius: 32px; padding: 44px 44px 40px; background: var(--cream); color: var(--on-cream); box-shadow: 0 60px 120px -50px oklch(0 0 0 / 0.8); }
.receipt .top { font-family: var(--display); font-weight: 300; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; }
.steps-t { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.steps-t::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: oklch(0.2 0.03 272 / 0.25); }
.steps-t li { position: relative; padding-left: 40px; margin-bottom: 22px; }
.steps-t li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1.5px oklch(0.2 0.03 272 / 0.5); }
.steps-t li:first-child::before { background: var(--on-cream); box-shadow: none; }
.steps-t b { display: block; font-weight: 500; font-size: 16px; }
.steps-t span { font-size: 17px; color: oklch(0.32 0.03 270); }
.receipt .alt { margin-top: 30px; padding-top: 24px; border-top: 1px dashed oklch(0.2 0.03 272 / 0.3); font-size: 17px; color: oklch(0.32 0.03 270); }
.price .fine { color: var(--sub); font-size: 14px; line-height: 1.6; margin: 32px 0 0; max-width: 40em; }

.qa { padding-block: 120px 150px; background: var(--night-lift); }
.qa .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; }
@media (max-width: 900px) { .qa .wrap { grid-template-columns: 1fr; gap: 32px; } }
.qa .more { display: inline-block; margin-top: 30px; color: var(--body); font-size: 18px; }
.faq details { border-top: 1px solid var(--line); padding: 28px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 27px; list-style: none; display: flex; justify-content: space-between; gap: 24px; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--sub); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--body); margin: 16px 0 0; max-width: 34em; }

/* Close: tonight's moon */
.close { position: relative; text-align: center; padding-block: 160px 140px; overflow: hidden; background: radial-gradient(60% 50% at 50% 30%, oklch(0.2 0.05 272) 0, transparent 70%), var(--night-deep); }
.close .moon-stage { width: min(440px, 76vw); aspect-ratio: 1; margin: 0 auto 30px; }
.close .moon-stage canvas { filter: drop-shadow(0 0 calc(40px + var(--illum) * 70px) oklch(0.92 0.03 88 / calc(0.12 + var(--illum) * 0.2))); }
.close .phase { font-size: 16px; color: var(--gold); margin: 0 0 56px; }
.close h2 { font-size: clamp(64px, 9vw, 148px); line-height: 0.9; letter-spacing: -0.045em; max-width: 9em; margin: 0 auto; }
.close .lit { color: var(--body); max-width: 30em; margin: 36px auto 0; font-size: 20px; }
.close .btn { margin-top: 56px; }
.close .note { margin-top: 18px; }

/* Footer */
.site-footer { background: var(--night-deep); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 32px 44px; font-size: 15px; color: var(--sub); border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Text pages */
.doc-page { background: linear-gradient(180deg, var(--night-lift), var(--night) 600px); }
.doc { max-width: 780px; padding-block: 80px 140px; }
.doc h1 { font-size: clamp(52px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.035em; }
.doc .updated { color: var(--sub); font-size: 15px; margin: 20px 0 56px; }
.doc h2 { font-size: 34px; letter-spacing: -0.015em; margin: 60px 0 16px; line-height: 1.1; }
.doc p, .doc li { color: var(--body); }
.doc strong { color: var(--ink); font-weight: 500; }
.doc ul { padding-left: 22px; }
.doc .faq { margin-top: 40px; }
.todo { background: oklch(0.86 0.1 82 / 0.14); color: var(--gold); border-radius: 4px; padding: 0 4px; font-style: normal; }
.contact { display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.copy { border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); background: transparent; color: var(--body); border-radius: 999px; padding: 6px 14px; font: 14px var(--sans); cursor: pointer; }

/* v5 additions */
.dhuhr h2 { max-width: 12em; }
.seq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 88px; list-style: none; padding: 0; text-align: left; }
@media (max-width: 1100px) { .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; } }
@media (max-width: 600px) { .seq { grid-template-columns: 1fr; } }
.seq li { display: flex; flex-direction: column; gap: 26px; }
.mini { height: 470px; border-radius: 42px; padding: 34px 26px; color: var(--ink); display: flex; flex-direction: column;
  background: linear-gradient(180deg, oklch(0.17 0.045 268), oklch(0.24 0.05 278)); box-shadow: 0 0 0 1px oklch(1 0 0 / 0.1), 0 0 0 8px oklch(0.1 0.025 268), 0 40px 80px -30px oklch(0.2 0.05 268 / 0.55); }
.mini .k { font-size: 14px; color: var(--sub); }
.mini .big { font-family: var(--display); font-weight: 300; font-size: 64px; line-height: 0.95; letter-spacing: -0.03em; margin-top: 10px; }
.mini .mid { font-family: var(--display); font-size: 30px; line-height: 1.1; margin-top: 8px; }
.mini .opt { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); font-size: 17px; }
.mini .opt:first-of-type { margin-top: 22px; }
.mini .chk { width: 22px; height: 22px; border-radius: 7px; background: var(--cream); position: relative; }
.mini .chk::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--on-cream); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mini .chk.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.mini .chk.off::after { display: none; }
.mini .foot { margin-top: auto; }
.mini .pillb { display: block; text-align: center; background: var(--cream); color: var(--on-cream); border-radius: 999px; padding: 14px; font-weight: 500; font-size: 16px; }
.mini .pillo { display: block; text-align: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); border-radius: 999px; padding: 14px; font-size: 16px; }
.mini .gain { color: var(--cream); font-size: 17px; margin-top: 14px; }
.mini.center { align-items: center; justify-content: center; text-align: center; }
.mini .m { width: 72px; height: 72px; margin-bottom: 28px; }
.mini h4 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0 0 12px; }
.mini p { font-size: 15px; color: var(--body); margin: 0 0 30px; }
.seq h3 { color: var(--day-ink); font-size: 27px; margin: 0 0 8px; }
.seq p { margin: 0; color: var(--day-body); font-size: 18px; }

.asr { padding-bottom: 120px; }
.chart-wide { padding-inline: max(24px, 3vw); margin-top: 20px; }
.readout { font-family: var(--display); font-weight: 300; font-size: clamp(80px, 10vw, 160px); line-height: 0.85; letter-spacing: -0.04em; color: var(--day-ink); }
.readout small { font-family: var(--sans); font-size: 20px; letter-spacing: 0; color: var(--day-body); margin-left: 14px; }
.chart .lbl { font: 500 24px var(--display); }

.maghrib .ar { font-weight: 700; }
.maghrib .en { font-size: clamp(32px, 3.4vw, 48px); }

.isha { position: relative; overflow: hidden; }
.isha > .stars { height: 100%; -webkit-mask-image: none; mask-image: none; opacity: 0.9; }
.isha > section { position: relative; z-index: 1; }
.kind, .price { background: transparent; }
.privacy, .qa { background: oklch(1 0 0 / 0.025); }
.month { padding-block: 120px 30px; }
.phases { display: flex; justify-content: space-between; gap: 6px; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.phases i { display: block; width: 28px; height: 28px; flex: none; opacity: 0.4; }
.phases i.past { opacity: 0.8; }
.phases i.tonight { opacity: 1; box-shadow: 0 0 0 3px var(--night), 0 0 0 4.5px var(--gold); border-radius: 50%; }
@media (max-width: 760px) { .phases i { width: 14px; height: 14px; } }
.phases-cap { text-align: center; font-size: 16px; color: var(--sub); margin: 24px 0 0; }

.bigrow { max-width: 760px; margin: 64px auto 0; text-align: left; border-radius: 32px; padding: 34px 40px; background: var(--night-lift); box-shadow: 0 0 0 1px var(--line); display: flex; align-items: baseline; gap: 22px; }
.bigrow .p { font-family: var(--display); font-size: 48px; flex: 1; letter-spacing: -0.02em; }
.bigrow .missed { color: var(--missed); font-size: 20px; }
.bigrow .t { font-family: var(--display); font-size: 40px; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 18px; color: var(--body); }

.proof { border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.proof div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 22px 28px; border-top: 1px solid var(--line); font-size: 18px; }
.proof div:first-child { border-top: 0; }
.proof b { font-weight: 500; }
.proof span { color: var(--body); }
.proof .none span { color: var(--gold); font-family: var(--display); font-size: 24px; }
.privacy .lead { color: var(--body); margin: 28px 0 0; max-width: 26em; }
.privacy .lead + p { margin-top: 24px; }

.receipt { background: oklch(0.9 0.06 80); }
.receipt .alt { border-top-color: oklch(0.2 0.03 272 / 0.25); }
.steps-t li::before { background: oklch(0.9 0.06 80); }

.close::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -300px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, oklch(0.62 0.09 45 / 0.35), oklch(0.4 0.07 260 / 0.25) 55%, transparent 80%); pointer-events: none; }
.close .wrap { position: relative; z-index: 1; }

/* plan screens */
.mini .opt.sel { color: var(--ink); }
.mini .dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.mini .dot.on { box-shadow: inset 0 0 0 1.5px var(--cream); background: radial-gradient(circle, var(--cream) 0 5px, transparent 6px); }
.mini .big .u { font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--sub); }
.mini .opt b { display: block; font-weight: 500; font-size: 16px; }
.mini .opt em { display: block; font-style: normal; font-size: 13px; color: var(--sub); }
.mini .opt .v { font-family: var(--display); font-size: 26px; }
.mini .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mini .pills span { min-width: 40px; text-align: center; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; }
.mini .pills span.on { background: var(--cream); color: var(--on-cream); box-shadow: none; font-weight: 500; }
.mini .res { margin-top: 16px; padding: 12px 14px; border-radius: 18px; background: oklch(1 0 0 / 0.06); }
.mini .res b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; }
.mini .res span { font-size: 14px; color: var(--body); }
.mini.shot { padding: 0; overflow: hidden; }
.mini.shot img, .device .screen-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device.has-shot { padding: 0; }
.device.has-shot > :not(.screen-img) { display: none; }
.mini { overflow: hidden; }

/* real screens */
.seq .mini { height: auto; aspect-ratio: 1170 / 2532; }
.mini.shot { background: oklch(0.14 0.04 268); }
.hero-phone .device.has-shot { height: auto; aspect-ratio: 1170 / 2532; }
@media (max-width: 960px) { .hero-copy { padding-block: 48px 24px; } .hero-phone .device { left: 50%; top: 16px; } .hero-phone { height: 600px; } }

/* earned moment beside the chart */
.asr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: center; }
.asr-grid h2 { max-width: 8em; }
.asr-p { color: var(--day-body); font-size: 21px; max-width: 28em; margin: 28px 0 44px; }
.asr-grid .mini.shot { aspect-ratio: 1170 / 2532; height: auto; transform: rotate(2deg); }
@media (max-width: 900px) { .asr-grid { grid-template-columns: 1fr; gap: 40px; } .asr-grid .mini.shot { width: min(280px, 80%); margin: 0 auto; transform: none; } }
