/* Home page sections. */

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); overflow: hidden; overflow: clip visible; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg .pattern { opacity: 0.55; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; background-position: center top; opacity: 0.55;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent 75%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; align-content: center; }
.hero__kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--fs-14); font-weight: 600; color: var(--text-2); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 11px; border-radius: 99px; background: var(--inverse); color: var(--on-inverse); font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.02em; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #E5C568; animation: live 2s var(--ease-out) infinite; }
[data-theme='dark'] .live-pill i { background: #A67B24; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(229, 197, 104, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(229, 197, 104, 0); } }
.hero__title { font-size: clamp(2.5rem, 1rem + 4.2vw, 4.7rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 650; }
.hero__title em { display: block; font-size: 1.04em; line-height: 1.02; letter-spacing: -0.02em; }
.hero__lede { font-size: var(--fs-18); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-top: 4px; }
.hero__facts li { display: grid; padding: 2px 22px; border-left: 1px solid var(--line-2); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { font-family: var(--font-display); font-size: var(--fs-32); font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.hero__facts span { font-size: var(--fs-13); color: var(--text-3); font-weight: 600; }
.hero__facts .hero__login { font-size: var(--fs-14); color: var(--text-2); align-self: center; }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; } .hero { padding-top: 18px; } }
@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; }
  .hero__facts li { padding: 2px 14px; }
  .hero__facts .hero__login { flex-basis: 100%; padding: 8px 0 0; border: 0; }
}

/* ── Showcase stage: the app on a phone + the 3D hardcover, on a night card ── */
.hero__visual { position: relative; }
.stage { --pw: clamp(196px, 17.5vw, 262px); position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 1 / 1.08; border-radius: 34px;
  perspective: 1800px; isolation: isolate; }
/* No card behind the scene: the pass, book, phone and notes sit straight on the page. */
.stage--card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(229, 197, 104, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(229, 197, 104, 0.07) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.stage__glow { position: absolute; left: 50%; top: 47%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 180, 80, 0.3), rgba(229, 180, 80, 0.08) 55%, transparent 72%); }
.stage__pass { position: absolute; left: 6%; top: 5%; width: 88%; transform: rotate(-7deg); transform-origin: 30% 50%; opacity: 0.96; }
.stage__pass .pass { --stub: clamp(78px, 15cqw, 110px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.stage__pass .pass__fields, .stage__pass .pass__hd { display: none; }
.stage .book3d { left: 1%; bottom: 8%; --bw: calc(var(--pw) * 0.9); z-index: 1; }
.stage .phone { left: 50%; top: 48%; transform: translate(-36%, -50%); z-index: 2; }
.book3d { --bw: calc(var(--pw) * 1.08); --bh: calc(var(--bw) * 1.418); --bd: calc(var(--bw) * 0.13); position: absolute; width: var(--bw); height: var(--bh); transform-style: preserve-3d; }
.book3d__body { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(4deg) rotateY(30deg) rotateZ(-2deg); transition: transform 1.2s var(--ease-out); }
.hero__visual:hover .book3d__body { transform: rotateX(3deg) rotateY(22deg) rotateZ(-1deg); }
.book3d__cover { position: absolute; inset: 0; transform: translateZ(calc(var(--bd) / 2)); border-radius: 3px 8px 8px 3px; background: radial-gradient(120% 90% at 30% 20%, #2E281C, #17140F 60%, #0F0D09); box-shadow: inset 5px 0 0 rgba(255, 255, 255, 0.06), inset 9px 0 12px -6px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(229, 197, 104, 0.25); overflow: hidden; }
.book3d__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 35%, transparent 70%, rgba(255, 255, 255, 0.04)); }
.book3d__frame { position: absolute; inset: 7%; border: 1px solid rgba(204, 153, 51, 0.7); display: grid; justify-items: center; align-content: center; gap: calc(var(--bw) * 0.05); padding: 8%; }
.book3d__frame::before { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(204, 153, 51, 0.35); }
.book3d__mark { width: 38%; --logo-h: 100%; }
.book3d__mark .logo, .book3d__mark .logo__mark { width: 100%; height: auto; }
.book3d__word { width: 76%; }
.book3d__word svg { width: 100%; height: auto; }
.book3d__word path { fill: #D6A94A; }
.book3d__rule { width: 40%; height: 1px; background: linear-gradient(90deg, transparent, #CC9933, transparent); }
.book3d__sub { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); color: #D9C08A; font-size: calc(var(--bw) * 0.058); text-align: center; }
.book3d__spine { position: absolute; top: 0; left: 0; width: var(--bd); height: 100%; transform-origin: left; transform: rotateY(-90deg) translateZ(0) translateX(calc(var(--bd) / -2)); background: linear-gradient(90deg, #0D0B08, #221E16 40%, #0F0D09); display: grid; place-items: center; }
.book3d__spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: calc(var(--bw) * 0.042); letter-spacing: 0.3em; color: #C9A04A; font-weight: 700; }
.book3d__pages { position: absolute; top: 1.2%; bottom: 1.2%; right: 0; width: var(--bd); transform-origin: right; transform: rotateY(90deg) translateX(calc(var(--bd) / 2)); background: repeating-linear-gradient(90deg, #F4EFE2 0 1px, #E1D8C3 1px 2px); box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25); }
.book3d__back { position: absolute; inset: 0; transform: translateZ(calc(var(--bd) / -2)); background: #110F0B; border-radius: 3px 8px 8px 3px; box-shadow: 30px 40px 70px -20px rgba(0, 0, 0, 0.8); }

.phone { position: absolute; width: var(--pw); aspect-ratio: 9 / 19.3; }
.phone__frame { position: absolute; inset: 0; border-radius: calc(var(--pw) * 0.17); background: linear-gradient(145deg, #4A4844, #1A1918 38%, #2E2D2A 70%, #121110); padding: calc(var(--pw) * 0.03); box-shadow: 0 0 0 1px #5C5952 inset, 0 0 0 calc(var(--pw) * 0.007) #050505, 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(229, 180, 80, 0.25); }
.phone__btn { position: absolute; width: 3px; background: #34322E; border-radius: 2px; }
.phone__btn--a { left: -2px; top: 17%; height: 4%; }
.phone__btn--b { left: -2px; top: 24%; height: 8%; }
.phone__btn--c { left: -2px; top: 34%; height: 8%; }
.phone__btn--d { right: -2px; top: 27%; height: 12%; }
.phone__screen { position: relative; height: 100%; border-radius: calc(var(--pw) * 0.145); overflow: hidden; background: var(--bg); container-type: inline-size; color: var(--text); }
.phone__island { position: absolute; top: 2.2%; left: 50%; width: 32%; height: 3.6%; margin-left: -16%; border-radius: 20px; background: #000; z-index: 3; }
.phone__glass { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 28%, transparent 75%, rgba(255, 255, 255, 0.04)); pointer-events: none; z-index: 4; }

/* Floating app moments around the stage. */
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(24, 21, 15, 0.95); border: 1px solid rgba(229, 197, 104, 0.22); color: #F2ECDD; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7); font-size: 13px; line-height: 1.25; animation: bob 7s var(--ease-in-out) infinite; }
.float b { display: block; font-weight: 700; font-size: 13.5px; }
.float small { display: block; color: #A99F8A; font-size: 11.5px; }
.float__i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(180deg, #E2BC5C, #C9982F); color: #1D1503; flex: none; }
.float__i .i { width: 17px; height: 17px; stroke-width: 2; }
.float__strip { display: grid; place-items: center; padding: 0 4px; }
.float__strip .strip { height: 26px; color: #E5C568; }
.float__strip .strip__s:last-child { color: #FFF1BF; filter: drop-shadow(0 0 6px rgba(255, 228, 160, 0.8)); animation: bc-blink 1.5s var(--ease-in-out) infinite; }
.float--unlock { right: -5%; top: 13%; }
.float--light { left: -7%; top: 8%; animation-delay: -2.4s; }
.float--note { right: -6%; bottom: 9%; display: grid; gap: 4px; max-width: 210px; padding: 12px 14px; animation-delay: -4.6s; }
.float__k { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #E5C568; }
.float__k .i { width: 13px; height: 13px; }
.float__q { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); font-size: 16px; line-height: 1.25; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
.reduce-motion .float { animation: none; }


/* The miniature Today screen inside the phone (sized in container units). */
.scr { position: absolute; inset: 0; padding: 4cqw 6cqw 0; display: flex; flex-direction: column; gap: 3.2cqw; font-family: var(--font-ui); color: var(--text); }
.scr__status { display: flex; justify-content: space-between; align-items: center; font-size: 4.3cqw; font-weight: 650; padding: 0 3cqw; height: 9cqw; }
.scr__sig { display: flex; align-items: flex-end; gap: 0.8cqw; }
.scr__sig i { width: 1.1cqw; background: currentColor; border-radius: 1px; }
.scr__sig i:nth-child(1) { height: 1.5cqw; } .scr__sig i:nth-child(2) { height: 2.2cqw; } .scr__sig i:nth-child(3) { height: 2.9cqw; } .scr__sig i:nth-child(4) { height: 3.6cqw; }
.scr__sig b { width: 6.5cqw; height: 3.2cqw; border: 1px solid currentColor; border-radius: 1cqw; margin-left: 1.5cqw; position: relative; }
.scr__sig b::after { content: ''; position: absolute; inset: 0.5cqw; right: 1.4cqw; background: currentColor; border-radius: 0.4cqw; }
.scr__top { display: flex; align-items: center; gap: 2.5cqw; margin-top: 1cqw; }
.scr__logo { width: 9cqw; --logo-h: 9cqw; }
.scr__logo .logo__mark { width: 9cqw; height: 9cqw; border-radius: 2cqw; overflow: hidden; }
.scr__chip { margin-left: auto; font-size: 3.6cqw; font-weight: 700; padding: 1.2cqw 2.6cqw; border-radius: 9cqw; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); }
.scr__av { width: 8.5cqw; height: 8.5cqw; border-radius: 50%; display: grid; place-items: center; font-size: 3.3cqw; font-weight: 700; background: linear-gradient(140deg, #E5C568, #B98724); color: #1D1503; }
.scr__hi { font-family: var(--font-display); font-weight: 650; font-size: 7.6cqw; line-height: 1.05; letter-spacing: -0.04em; margin-top: 1cqw; }
.scr__hi em { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); font-weight: 400; letter-spacing: -0.01em; color: var(--accent-text); }
.scr__card { display: grid; gap: 1.2cqw; padding: 4.2cqw; border-radius: 4.5cqw; background: var(--surface); border: 1px solid var(--line); }
.scr__kicker { font-size: 2.9cqw; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent-text); }
.scr__title { font-family: var(--font-display); font-size: 6cqw; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.scr__meta { font-size: 3.3cqw; color: var(--text-3); }
.scr__bar { height: 1.4cqw; border-radius: 2cqw; background: var(--sunken); overflow: hidden; margin: 1cqw 0; }
.scr__bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: linear-gradient(90deg, #C98C28, #FFE4A0); border-radius: inherit; }
.scr__btn { justify-self: start; font-size: 3.5cqw; font-weight: 700; padding: 2.2cqw 4.2cqw; border-radius: 9cqw; background: linear-gradient(180deg, #E2BC5C, #C9982F); color: #1D1503; }
.scr__pass { display: grid; gap: 2.4cqw; padding: 4cqw 4.4cqw; border-radius: 4cqw; background: #16130D; box-shadow: inset 0 0 0 1px rgba(229, 197, 104, 0.2); }
.scr__pass-hd { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 3.2cqw; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9C927C; }
.scr__pass-hd b { color: #E5C568; letter-spacing: 0.04em; }
.scr__pass-rt { display: flex; align-items: center; gap: 2.4cqw; font-family: var(--font-display); font-weight: 700; font-size: 5.4cqw; color: #F2ECDD; }
.scr__pass-rt i { position: relative; flex: 1; height: 0.6cqw; background: repeating-linear-gradient(90deg, rgba(229, 197, 104, 0.3) 0 1.4cqw, transparent 1.4cqw 2.4cqw); }
.scr__pass-rt em { position: absolute; left: 0; top: -0.3cqw; width: 34%; height: 1.2cqw; border-radius: 1cqw; background: linear-gradient(180deg, #DDB453, #C6952F); }
.scr__ayah { padding: 3.4cqw 4.4cqw 3.8cqw; border-radius: 4.5cqw; background: var(--surface-2); border: 1px solid var(--accent-line); display: grid; gap: 1.2cqw; }
.scr__ar { font-family: var(--font-arabic); font-size: 6.2cqw; line-height: 2.3; text-align: right; color: var(--text); margin: -1cqw 0 0; padding-bottom: 0.6cqw; }
.scr__en { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); font-size: 3.7cqw; color: var(--text-2); line-height: 1.3; }
.scr__tabs { margin-top: auto; margin-inline: -6cqw; display: grid; grid-template-columns: repeat(4, 1fr); padding: 2.6cqw 3cqw 7cqw; border-top: 1px solid var(--line); background: var(--surface); }
.scr__tabs span { display: grid; justify-items: center; gap: 0.8cqw; font-size: 2.9cqw; font-weight: 600; color: var(--text-3); }
.scr__tabs .i { width: 5.6cqw; height: 5.6cqw; }
.scr__tabs .is-on { color: var(--accent-text); }
@media (max-width: 960px) { .stage { --pw: clamp(186px, 38vw, 250px); max-width: 560px; } }
@media (max-width: 560px) {
  .stage { --pw: 46vw; aspect-ratio: 1 / 1.16; border-radius: 26px; }
  .stage .book3d { left: -4%; bottom: 5%; }
  .float { padding: 8px 10px 8px 8px; gap: 8px; }
  .float b { font-size: 12px; } .float small { font-size: 10.5px; }
  .float__i { width: 28px; height: 28px; }
  .float--unlock { right: -2%; top: 6%; }
  .float--light { left: -2%; top: 3%; }
  .float--note { display: none; }
  .fa__ar { font-size: clamp(1.8rem, 1.2rem + 3.4vw, 2.4rem); }
}

/* ── Ayah ticker ────────────────────────────────────────────────── */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: tick 90s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }
.tk { display: inline-flex; align-items: center; gap: 16px; padding: 0 26px; white-space: nowrap; }
.tk__ar { font-family: var(--font-arabic); font-size: 24px; line-height: 2; color: var(--text); direction: rtl; }
.tk__ref { font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.tk__sep { width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent); opacity: 0.7; }
.reduce-motion .ticker__track { animation: none; }

/* ── Numbers ────────────────────────────────────────────────────── */
.numbers { position: relative; padding-block: clamp(28px, 4vw, 48px) clamp(56px, 6vw, 88px); overflow: hidden; overflow: clip visible; }
.numbers .pattern { opacity: 0.7; }
.numbers .wrap { position: relative; }
.numbers__cap { display: grid; justify-items: center; gap: 12px; margin-bottom: 28px; text-align: center; }
.numbers__cap p { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); font-size: var(--fs-18); color: var(--text-2); }
.numbers__grid { background: color-mix(in srgb, var(--bg) 70%, transparent); }
.num-card { transition: background-color var(--t-3); }
.num-card:hover { background: var(--surface-2); }
.num-card:hover .num-card__orn { transform: translateY(-3px); }
.num-card__orn { transition: transform 1.2s var(--ease-out); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num-card { position: relative; display: grid; gap: 6px; padding: clamp(24px, 3.2vw, 44px) clamp(14px, 2.4vw, 32px); }
.num-card + .num-card { border-left: 1px solid var(--line); }
.num-card__orn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(180deg, #E2BC5C, #C9982F); color: #1D1503; box-shadow: inset 0 1px 0 rgba(255, 244, 204, 0.6); }
.num-card__orn .i { width: 20px; height: 20px; stroke-width: 1.9; }
.num-card__n { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
.num-card__l { font-weight: 650; font-size: var(--fs-16); }
.num-card__d { font-size: var(--fs-14); color: var(--text-3); max-width: 24ch; }
@media (max-width: 860px) { .numbers__grid { grid-template-columns: 1fr 1fr; } .num-card:nth-child(3) { border-left: 0; } .num-card:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ── How it works ───────────────────────────────────────────────── */
.how__track { position: relative; }
.how__line { position: absolute; left: 0; right: 0; top: 120px; width: 100%; height: 40px; color: var(--accent); pointer-events: none; }
.how__line path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); vector-effect: non-scaling-stroke; opacity: 0.6; }
.how__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.step { display: grid; gap: 12px; align-content: start; }
.step__vis { position: relative; height: 260px; border-radius: var(--r-4); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; margin-bottom: 14px; display: grid; place-items: center; }
.step__vis::before { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 60%, var(--accent-soft), transparent); }
.step__n { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); color: var(--accent-text); font-size: var(--fs-18); }
.step h3 { font-size: var(--fs-24); }
.step p { color: var(--text-2); }
.leaf { position: absolute; width: 118px; left: 50%; top: 50%; border-radius: 3px; box-shadow: 0 10px 24px -8px rgba(40, 30, 5, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05); transition: transform 1s var(--ease-out); }
.leaf--1 { transform: translate(-50%, -54%) rotate(-1deg); }
.leaf--2 { transform: translate(-78%, -50%) rotate(-9deg); }
.leaf--3 { transform: translate(-22%, -50%) rotate(8deg); }
.step:hover .leaf--2 { transform: translate(-92%, -50%) rotate(-14deg); }
.step:hover .leaf--3 { transform: translate(-8%, -50%) rotate(13deg); }
.step__pill { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--inverse); color: var(--on-inverse); font-size: var(--fs-13); font-weight: 650; white-space: nowrap; box-shadow: var(--shadow-2); }
.step__pill .i { width: 15px; height: 15px; }
.step__pill--gold { background: linear-gradient(180deg, #E2BC5C, #C9982F); color: #1D1503; }
.mini-quiz { position: relative; width: min(84%, 270px); display: grid; gap: 8px; padding: 18px; border-radius: var(--r-3); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.mini-quiz__dots { display: flex; gap: 6px; }
.mini-quiz__dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line-2); }
.mini-quiz__dots i.on { background: var(--accent); }
.mini-quiz__q { font-family: var(--font-display); font-size: var(--fs-16); line-height: 1.3; margin: 4px 0 4px; }
.mini-quiz__o { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: var(--fs-13); font-weight: 550; background: var(--surface); }
.mini-quiz__o b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--sunken); color: var(--text-2); }
.mini-quiz__o.is-right { border-color: var(--ok); background: var(--ok-bg); color: var(--ok-text); }
.mini-quiz__o.is-right b { background: var(--ok); color: #fff; }
.mini-quiz__o .i { margin-left: auto; width: 16px; height: 16px; }
.mini-tk { position: relative; width: min(84%, 300px); margin-top: -34px; }
.mini-tk .tk { pointer-events: none; }
.mini-tk .tk__stub::before { transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.mini-tk.is-punched .tk__stub::before { transform: none; }
.mini-tk__stamp { position: absolute; right: 30%; bottom: -16px; --stamp: var(--ok-text); --pass-bg: var(--surface); opacity: 0; }
.mini-tk.is-punched .mini-tk__stamp { opacity: 1; animation: stamp-in 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) 0.25s both; }
.step__vis--unlock .tk--done .tk__stub::before { background: var(--surface); }
@media (max-width: 900px) { .how__steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .how__line { display: none; } }

/* ── Featured ayah ──────────────────────────────────────────────── */
.feature-ayah { overflow: hidden; }
.fa__light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 60% at 74% 40%, rgba(229, 180, 80, 0.13), transparent 72%), radial-gradient(38% 55% at 22% 70%, rgba(229, 180, 80, 0.06), transparent 75%); }
.fa__in { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fa__text { display: grid; gap: 26px; }
.fa__verse { display: grid; gap: 22px; min-height: 280px; align-content: center; }
.fa__ar { color: #F4E7C2; text-align: right; line-height: 2.1; padding-inline: 0.3em; transition: opacity var(--t-3), transform var(--t-4) var(--ease-out); }
.fa__verse .rule-orn { margin: 0 0 0 auto; }
.fa__en { font-family: var(--font-display); font-size: var(--fs-32); line-height: 1.25; color: #F2ECDD; max-width: 30ch; transition: opacity var(--t-3), transform var(--t-4) var(--ease-out); }
.fa__verse.is-swap .fa__ar, .fa__verse.is-swap .fa__en { opacity: 0; transform: translate3d(0, 10px, 0); }
.fa__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.fa__tab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text-2); font-size: var(--fs-14); font-weight: 550; transition: border-color var(--t-2), color var(--t-2), background-color var(--t-2); }
.fa__tab .ayah-mark { --size: 30px; }
.fa__tab .ayah-mark b { color: #F2ECDD; }
.fa__tab:hover { color: #fff; border-color: #6B5420; }
.fa__tab[aria-selected='true'] { color: #1D1503; background: #E5C568; border-color: #E5C568; }
.fa__tab[aria-selected='true'] .ayah-mark { color: #1D1503; }
.fa__tab[aria-selected='true'] .ayah-mark b { color: #1D1503; }
.fa__note { color: var(--text-3); font-size: var(--fs-14); max-width: 48ch; }
.fa__leaf { position: relative; transform-style: preserve-3d; transition: transform 0.4s var(--ease-out); }
.fa__leaf img { border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06); transform: rotate(3deg); transition: opacity var(--t-3); }
.fa__leaf figcaption { margin-top: 18px; font-size: var(--fs-13); color: var(--text-3); text-align: center; letter-spacing: 0.06em; }
@media (max-width: 900px) { .fa__in { grid-template-columns: 1fr; } .fa__leaf { max-width: 280px; margin-inline: auto; } .fa__verse { min-height: 0; } }

/* ── Journey ────────────────────────────────────────────────────── */
.journey__head { margin-bottom: clamp(32px, 4vw, 56px); }
.journey__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.journey__art { position: relative; display: grid; gap: 18px; min-width: 0; }
.journey__med { width: 100%; }
.journey__tip { font-size: var(--fs-14); color: var(--text-2); min-height: 1.6em; text-align: center; }
.journey__tip strong { color: var(--text); }
.journey__scrub { display: grid; gap: 12px; padding: 16px 20px; border-radius: var(--r-4); background: var(--surface); border: 1px solid var(--line); }
.journey__scrub label { display: flex; justify-content: space-between; font-weight: 600; font-size: var(--fs-15); }
.journey__scrub output { font-family: var(--font-mono); font-weight: 700; color: var(--accent-text); font-size: var(--fs-15); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 34%), var(--line-2) var(--p, 34%)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow-2); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
/* The pass explained: the chosen part stays sharp, the rest of the pass steps back. */
.anatomy { display: grid; gap: 4px; counter-reset: an; }
.anatomy__row { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 16px; border-radius: var(--r-3); text-align: left; color: var(--text-2); border: 1px solid transparent; transition: background-color var(--t-2), border-color var(--t-2), color var(--t-2); }
.anatomy__row:hover, .anatomy__row.is-on { background: var(--surface); border-color: var(--line); color: var(--text); box-shadow: var(--shadow-1); }
.anatomy__row.is-on { border-color: var(--accent-line); }
.anatomy__n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--accent-text); border: 1.5px solid var(--accent-line); transition: background-color var(--t-2), color var(--t-2); }
.anatomy__row.is-on .anatomy__n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.anatomy__t { display: grid; gap: 3px; }
.anatomy__t strong { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-18); color: var(--text); }
.anatomy__t span { font-size: var(--fs-14); line-height: 1.5; }
.journey__med .pass__route, .journey__med .pass__fields, .journey__med .pass__bc, .journey__med .pass__stub, .journey__med .pass__hd { transition: opacity 0.45s var(--ease-out), filter 0.45s var(--ease-out); }
.journey__med[data-focus='route'] :is(.pass__fields, .pass__bc, .pass__stub, .pass__hd),
.journey__med[data-focus='fields'] :is(.pass__route, .pass__bc, .pass__stub, .pass__hd),
.journey__med[data-focus='bc'] :is(.pass__route, .pass__fields, .pass__stub, .pass__hd),
.journey__med[data-focus='stub'] :is(.pass__route, .pass__fields, .pass__bc, .pass__hd),
.journey__med[data-focus='boarded'] :is(.pass__route, .pass__fields, .pass__bc, .pass__hd, .pass__stub) { opacity: 0.18; filter: blur(0.6px); }
.journey__med[data-focus='route'] .pass__route, .journey__med[data-focus='fields'] .pass__fields, .journey__med[data-focus='bc'] .pass__bc, .journey__med[data-focus='stub'] .pass__stub { filter: drop-shadow(0 0 14px rgba(229, 180, 80, 0.45)); }
@media (max-width: 900px) { .journey__in { grid-template-columns: 1fr; } }

/* ── Flipbook (real pages, 3D page turn) ────────────────────────── */
.bookspread__in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.bookspread__copy { display: grid; gap: 24px; }
.bookspread__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.bookspread__facts div { padding-top: 16px; border-top: 1px solid var(--accent-line); }
.bookspread__facts dt { font-family: var(--font-display); font-size: var(--fs-44); line-height: 1; }
.bookspread__facts dd { margin: 8px 0 0; font-size: var(--fs-14); color: var(--text-2); }
.flipbook { display: grid; gap: 22px; justify-items: center; }
.flipbook__book { --pgw: min(40vw, 300px); position: relative; width: calc(var(--pgw) * 2); aspect-ratio: 1750 / 1241; perspective: 2400px; filter: drop-shadow(0 34px 44px rgba(60, 40, 5, 0.28)); }
[data-theme='dark'] .flipbook__book { filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.7)); }
.flipbook__stack { position: absolute; top: 1.2%; bottom: -1.5%; width: 50.5%; background: #EDE6D4; border-radius: 3px; }
.flipbook__stack--l { left: -0.8%; box-shadow: -2px 3px 0 #E2D9C2, -4px 6px 0 #D8CEB5; }
.flipbook__stack--r { right: -0.8%; box-shadow: 2px 3px 0 #E2D9C2, 4px 6px 0 #D8CEB5; }
.flipbook__page { position: absolute; top: 0; bottom: 0; width: 50%; background: #fff; overflow: hidden; }
.flipbook__page img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flipbook__page--l { left: 0; border-radius: 4px 0 0 4px; }
.flipbook__page--r { right: 0; border-radius: 0 4px 4px 0; }
.flipbook__page--l::after, .flipbook__page--r::after { content: ''; position: absolute; top: 0; bottom: 0; width: 18%; pointer-events: none; }
.flipbook__page--l::after { right: 0; background: linear-gradient(90deg, transparent, rgba(60, 40, 5, 0.16)); }
.flipbook__page--r::after { left: 0; background: linear-gradient(270deg, transparent, rgba(60, 40, 5, 0.18)); }
.flipbook__gutter { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(60, 40, 5, 0.18); }
.flipbook__turn { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: left center; transform-style: preserve-3d; visibility: hidden; z-index: 3; }
.flipbook__turn.is-back { left: 0; transform-origin: right center; }
.flipbook__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; overflow: hidden; }
.flipbook__face img { width: 100%; height: 100%; object-fit: cover; }
.flipbook__face--back { transform: rotateY(180deg); }
.flipbook__face::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 30%); opacity: var(--shade, 0); }
.flipbook__turn.is-turning { visibility: visible; animation: turn-fwd 0.95s var(--ease-in-out) forwards; }
.flipbook__turn.is-back.is-turning { animation: turn-back 0.95s var(--ease-in-out) forwards; }
@keyframes turn-fwd { from { transform: rotateY(0); } to { transform: rotateY(-180deg); } }
@keyframes turn-back { from { transform: rotateY(0); } to { transform: rotateY(180deg); } }
.flipbook__ctrl { display: flex; align-items: center; gap: 14px; }
.flipbook__ctrl .icon-btn { border-color: var(--line-2); }
.flipbook__count { font-size: var(--fs-14); color: var(--text-2); min-width: 150px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .bookspread__in { grid-template-columns: 1fr; } .flipbook__book { --pgw: min(44vw, 260px); } }

/* ── Vision & mission ───────────────────────────────────────────── */
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.vm__card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-5); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.vm__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.vm__pic--vision { background: #0B0A08; }
.vm__pic--mission { background: radial-gradient(120% 90% at 50% 20%, #241D12, #0E0C09 70%); }
.vm-art { position: absolute; inset: 0; overflow: hidden; }
.vs-sky { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 66%, rgba(229, 180, 80, 0.42), rgba(229, 180, 80, 0.06) 60%, transparent 75%), linear-gradient(180deg, #0B0A08, #17120A 70%); }
.vs-skyline { position: absolute; left: 8%; right: 8%; bottom: 33%; filter: drop-shadow(0 0 14px rgba(229, 180, 80, 0.35)); }
.vs-skyline .bc-svg { transform: scaleY(1.9); transform-origin: 50% 100%; }
.vs-floor { position: absolute; left: -30%; right: -30%; bottom: 0; height: 34%; background: #0B0A08; border-top: 1px solid rgba(229, 197, 104, 0.5);
  background-image: linear-gradient(rgba(229, 197, 104, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(229, 197, 104, 0.22) 1px, transparent 1px); background-size: 36px 22px; transform: perspective(260px) rotateX(48deg); transform-origin: top; }
.vs-chip { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(24, 21, 15, 0.9); border: 1px solid rgba(229, 197, 104, 0.25); color: #F2ECDD; font-size: 12.5px; font-weight: 650; }
.vs-chip .i { width: 14px; height: 14px; color: #E5C568; }
.ms-glow { position: absolute; left: 50%; top: 55%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 180, 80, 0.3), transparent 72%); }
.ms-card { position: absolute; top: 50%; left: 50%; padding: 14px !important; width: 31%; aspect-ratio: 3 / 4; display: grid; align-content: start; gap: 6px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, #262017, #15120D); border: 1px solid rgba(229, 197, 104, 0.25); color: #F2ECDD; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8); transition: transform 0.9s var(--ease-out); }
.ms-card--a { transform: translate(-146%, -46%) rotate(-7deg); }
.ms-card--b { transform: translate(-50%, -54%); z-index: 2; background: linear-gradient(160deg, #3A2E19, #1A150E); border-color: rgba(229, 197, 104, 0.45); }
.ms-card--c { transform: translate(46%, -46%) rotate(7deg); }
.vm__card:hover .ms-card--a { transform: translate(-152%, -48%) rotate(-10deg); }
.vm__card:hover .ms-card--c { transform: translate(52%, -48%) rotate(10deg); }
.ms-card__i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(180deg, #E2BC5C, #C9982F); color: #1D1503; margin-bottom: 8px; }
.ms-card__i .i { width: 17px; height: 17px; stroke-width: 2; }
.ms-card__k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #E5C568; }
.ms-card__t { font-family: var(--font-display); font-size: clamp(15px, 1.5vw, 19px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.ms-lines { display: grid; gap: 5px; margin-top: 10px; }
.ms-lines i { height: 4px; border-radius: 4px; background: rgba(242, 236, 221, 0.16); }
.ms-lines i:nth-child(2) { width: 80%; } .ms-lines i:nth-child(3) { width: 55%; }
.ms-bar { height: 5px; border-radius: 5px; background: rgba(242, 236, 221, 0.14); margin-top: 12px; overflow: hidden; }
.ms-bar i { display: block; width: 34%; height: 100%; background: linear-gradient(90deg, #C98C28, #FFE4A0); }
.ms-dots { display: flex; margin-top: 12px; }
.ms-dots i { width: 26px; height: 26px; margin-right: -6px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 800; color: #1D1503; background: linear-gradient(140deg, #E5C568, #B98724); border: 2px solid #1A150E; }
.ms-dots i:nth-child(2) { background: linear-gradient(140deg, #F4EAD0, #DCC9A0); }
.ms-dots i:nth-child(3) { background: #2A251B; color: #E5C568; }
.vm__body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.vm__label { font-size: var(--fs-12); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 650; color: var(--accent-text); }
.vm__body h3 { font-size: var(--fs-32); line-height: 1.15; }
.vm__body p:last-child { color: var(--text-2); }
@media (max-width: 860px) { .vm__grid { grid-template-columns: 1fr; } }

/* ── Hadith ─────────────────────────────────────────────────────── */
.hadith { overflow: hidden; }
.hadith__in { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; }
.lightrow { display: flex; align-items: center; justify-content: center; gap: clamp(5px, 1vw, 9px); height: 84px; margin-bottom: 10px; width: 100%; }
.lightrow i { width: clamp(4px, 0.7vw, 6px); height: calc(var(--h) * 100%); border-radius: 1.5px; background: rgba(242, 236, 221, 0.13); transition: background-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out); transform: scaleY(0.82); }
.lightrow i.is-lit { background: linear-gradient(180deg, #FFE4A0, #C98C28); box-shadow: 0 0 14px rgba(229, 180, 80, 0.45); transform: none; }
.hadith__ar { color: #F4E7C2; }
.hadith__en { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); font-size: var(--fs-44); font-weight: 400; line-height: 1.15; max-width: 22ch; color: #F7F1E3; }
.hadith__src { font-size: var(--fs-13); letter-spacing: 0.2em; text-transform: uppercase; color: #E5C568; font-weight: 650; }
.hadith__body { color: var(--text-2); max-width: 52ch; font-size: var(--fs-18); }

/* ── Who it is for ──────────────────────────────────────────────── */
.who__in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.who__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; margin-bottom: 0; }
.who__list { border-top: 1px solid var(--line); }
.who__row { position: relative; display: grid; grid-template-columns: 48px 1fr 196px; gap: 20px; align-items: center; padding: 28px 4px; border-bottom: 1px solid var(--line); transition: background-color var(--t-3); }
.who__row:hover { background: var(--surface-2); }
.who__n { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); color: var(--accent-text); font-size: var(--fs-20); align-self: start; padding-top: 4px; }
.who__row h3 { font-size: var(--fs-24); margin-bottom: 6px; }
.who__row p { color: var(--text-2); }
.who__glyph { display: block; transition: transform 0.6s var(--ease-out); }
.who__row:hover .who__glyph { transform: translateY(-3px); }
.vg { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 12px; }
.vg strong { font-family: var(--font-display); font-size: 14px; font-weight: 650; letter-spacing: -0.02em; }
.vg__k { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.vg__k .i { width: 13px; height: 13px; }
.vg__bar { height: 5px; border-radius: 5px; background: var(--sunken); overflow: hidden; }
.vg__bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: linear-gradient(90deg, #C98C28, #E5C568); border-radius: inherit; }
.vg--ayah { text-align: right; }
.vg__ar { font-family: var(--font-arabic); font-size: 19px; line-height: 2; }
.vg--ayah small { color: var(--text-3); }
.vg__avs { display: flex; }
.vg__avs i { width: 26px; height: 26px; margin-right: -7px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 800; color: #1D1503; background: linear-gradient(140deg, #E5C568, #B98724); border: 2px solid var(--surface); }
.vg__avs i:nth-child(2) { background: linear-gradient(140deg, #3A352A, #15130F); color: #E5C568; }
.vg__avs i:nth-child(3) { background: linear-gradient(140deg, #F4EAD0, #DCC9A0); }
.vg__avs i:nth-child(4) { background: var(--sunken); color: var(--text-2); }
@media (max-width: 900px) { .who__in { grid-template-columns: 1fr; } .who__head { position: static; } .who__row { grid-template-columns: 36px 1fr; } .who__glyph { grid-column: 2; max-width: 250px; } }

/* ── Features bento ─────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento__cell { display: grid; grid-template-rows: 1fr auto auto; gap: 10px; padding: 18px 18px 24px; border-radius: var(--r-5); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.bento__cell h3 { font-size: var(--fs-20); padding: 0 6px; }
.bento__cell p { color: var(--text-2); font-size: var(--fs-15); padding: 0 6px; }
.bento__vis { position: relative; min-height: 190px; border-radius: var(--r-4); background: var(--sunken); overflow: hidden; display: grid; place-items: center; margin-bottom: 8px; }
.bento__cell--reader { grid-column: span 3; grid-row: span 2; }
.bento__cell--reader .bento__vis { min-height: 360px; }
.bento__cell--today, .bento__cell--notes { grid-column: span 3; }
.bento__cell--night, .bento__cell--cert { grid-column: span 3; }
.mini-reader { position: absolute; inset: 22px 22px 0; display: grid; justify-items: center; }
.mini-reader img { width: min(70%, 260px); border-radius: 3px 3px 0 0; box-shadow: 0 20px 40px -18px rgba(40, 30, 5, 0.5); transform: translateY(8px); transition: transform 1.2s var(--ease-out); }
.bento__cell--reader:hover .mini-reader img { transform: translateY(-4px) scale(1.03); }
.mini-reader__bar { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 99px; background: var(--inverse); color: var(--on-inverse); font-size: var(--fs-13); box-shadow: var(--shadow-3); }
.mini-reader__bar .i { width: 16px; height: 16px; }
.mini-reader__bar .sep { width: 1px; height: 16px; background: currentColor; opacity: 0.3; }
.mini-week { display: grid; gap: 12px; padding: 20px; width: 100%; }
.mini-note { width: min(88%, 380px); padding: 18px 20px; border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); display: grid; gap: 10px; transform: rotate(-1.5deg); }
.mini-note__k { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-12); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.mini-note__k .i { width: 15px; height: 15px; }
.mini-note p { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); font-size: var(--fs-18); line-height: 1.35; }
.mini-note__b { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--text-2); }
.mini-note__b .i { color: var(--accent); width: 15px; height: 15px; }
.mini-theme { position: absolute; inset: 0; }
.mt-side { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; }
.mt-side--day { background: #F4EFE3; }
.mt-side--night { background: radial-gradient(90% 80% at 70% 30%, #1B1F27, #0D0F13); clip-path: inset(0 0 0 50%); }
.mt-tag { position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.mt-side--day .mt-tag { left: 14px; background: #fff; color: #745B0E; box-shadow: 0 1px 2px rgba(60, 44, 10, 0.1); }
.mt-side--night .mt-tag { right: 14px; background: #1C1F26; color: #E5C568; border: 1px solid #2A2D35; }
.mt-tag .i { width: 13px; height: 13px; }
.mt-card { width: min(100%, 300px); display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; }
.mt-side--day .mt-card { background: #fff; color: #1A1712; border: 1px solid #ECE5D3; box-shadow: 0 14px 30px -18px rgba(60, 44, 10, 0.35); }
.mt-side--night .mt-card { background: #14171D; color: #F2ECDD; border: 1px solid #262A33; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.8); }
.mt-k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #A67B24; }
.mt-side--night .mt-k { color: #E5C568; }
.mt-ar { font-family: var(--font-arabic); font-size: 22px; line-height: 2; text-align: right; }
.mt-en { font-family: var(--font-accent); font-style: normal; font-stretch: var(--accent-stretch); font-size: 15px; line-height: 1.3; opacity: 0.8; }
.mt-bar { height: 5px; border-radius: 5px; background: rgba(127, 120, 100, 0.2); overflow: hidden; margin-top: 4px; }
.mt-bar i { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, #C98C28, #FFE4A0); }
.mt-handle { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #E5C568; }
.mt-handle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #E5C568; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); z-index: 0; }
.mt-handle .i { position: absolute; top: 50%; z-index: 2; width: 14px; height: 14px; margin-top: -7px; color: #1D1503; stroke-width: 2.4; }
.mt-handle .i:first-child { right: 1px; } .mt-handle .i:last-child { left: 1px; }
.mini-cert { width: 44%; transform: rotate(-4deg) translateY(12%); transition: transform 1s var(--ease-out); }
.mini-cert img { border-radius: 3px; box-shadow: 0 20px 40px -14px rgba(40, 30, 5, 0.45); }
.bento__cell--cert:hover .mini-cert { transform: rotate(0) translateY(6%); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento__cell--reader { grid-column: 1 / -1; grid-row: auto; } .bento__cell--reader .bento__vis { min-height: 300px; } .bento__cell--today, .bento__cell--notes, .bento__cell--night, .bento__cell--cert { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento__cell--today, .bento__cell--notes, .bento__cell--night, .bento__cell--cert { grid-column: auto; } }

/* The week of study days (also used inside the app). */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week__d { display: grid; justify-items: center; gap: 6px; font-size: var(--fs-12); color: var(--text-3); font-weight: 600; }
.week__dot { width: 100%; max-width: 40px; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--on-accent); }
.week__d.is-done .week__dot { border: 0; background: var(--leaf); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.week__d.is-today .week__dot { border: 1.5px solid var(--accent); }
.week__d.is-today { color: var(--text); }
.week__dot .i { width: 45%; height: 45%; }

/* ── Get involved ───────────────────────────────────────────────── */
.involve__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.involve__card { position: relative; display: grid; gap: 12px; padding: 24px; border-radius: var(--r-5); border: 1px solid var(--line); background: var(--surface); transition: transform var(--t-3) var(--ease-out), box-shadow var(--t-3), border-color var(--t-3); overflow: hidden; }
.involve__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--accent-line); }
.involve__art { position: relative; height: 170px; border-radius: var(--r-3); margin-bottom: 8px; display: grid; place-items: center; padding: 18px; overflow: hidden;
  background: radial-gradient(90% 90% at 50% 100%, rgba(229, 180, 80, 0.22), transparent 70%), linear-gradient(160deg, #1C1810, #0E0C09); }
.involve__art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(229, 197, 104, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(229, 197, 104, 0.07) 1px, transparent 1px); background-size: 24px 24px; }
.ia { position: relative; width: min(100%, 250px); display: grid; gap: 7px; padding: 14px 16px; border-radius: 16px; background: rgba(28, 24, 16, 0.96); border: 1px solid rgba(229, 197, 104, 0.25); color: #F2ECDD; font-size: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); transition: transform 0.6s var(--ease-out); }
.involve__card:hover .ia { transform: translateY(-4px) scale(1.02); }
.ia strong { font-family: var(--font-display); font-weight: 650; font-size: 15px; letter-spacing: -0.02em; }
.ia small { color: #A99F8A; font-size: 11.5px; }
.ia__k { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E5C568; }
.ia__k .i { width: 13px; height: 13px; }
.ia__bar { height: 5px; border-radius: 5px; background: rgba(242, 236, 221, 0.14); overflow: hidden; }
.ia__bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: linear-gradient(90deg, #C98C28, #FFE4A0); }
.ia__row { display: flex; align-items: center; justify-content: space-between; }
.ia .chip--gold { background: rgba(229, 197, 104, 0.14); color: #E5C568; border-color: rgba(229, 197, 104, 0.3); }
.ia__big { font-size: 34px !important; line-height: 1; letter-spacing: -0.05em !important; }
.ia__ticks { display: flex; gap: 3px; margin-top: 4px; }
.ia__ticks i { flex: 1; height: 16px; border-radius: 3px; background: rgba(242, 236, 221, 0.13); }
.ia__ticks i.on { background: linear-gradient(180deg, #FFE4A0, #C98C28); }
.ia__btns { display: flex; gap: 8px; margin-top: 4px; }
.ia__btns b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 236, 221, 0.08); border: 1px solid rgba(242, 236, 221, 0.12); }
.ia__btns b:first-child { background: linear-gradient(180deg, #E2BC5C, #C9982F); color: #1D1503; border: 0; }
.ia__btns .i { width: 16px; height: 16px; }
.ia__toast { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: #F2ECDD; color: #1D1503; font-weight: 700; font-size: 11.5px; margin-top: 2px; }
.ia__toast .i { width: 13px; height: 13px; stroke-width: 2.4; }
.involve__card h3 { font-size: var(--fs-24); }
.involve__card p { color: var(--text-2); }
.involve__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: var(--fs-15); color: var(--accent-text); margin-top: 6px; }
.involve__go .i { transition: transform var(--t-3) var(--ease-out); }
.involve__card:hover .involve__go .i { transform: translate(3px, -3px); }
@media (max-width: 900px) { .involve__grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ── FAQ preview ────────────────────────────────────────────────── */
.faq-prev__in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-prev__in .sec-head { margin-bottom: 0; justify-items: start; }
.faq-prev__list { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .faq-prev__in { grid-template-columns: 1fr; } }

/* ── Final call to action ───────────────────────────────────────── */
.final { overflow: hidden; }
.final__bc { position: absolute; left: 50%; bottom: 0; width: min(1100px, 150vw); transform: translateX(-50%); opacity: 0.22; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%); mask-image: linear-gradient(180deg, #000, transparent 92%); }
.final__bc .bc-svg { transform: scaleY(3.2); transform-origin: 50% 100%; }
.final__in { position: relative; display: grid; gap: 22px; justify-items: center; padding-block: 30px; }
.final__in h2 { font-size: var(--fs-60); }
.final__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 520px) { .final__cta .btn { width: 100%; } }
