:root {
  --night: #07110d;
  --night-2: #0b1712;
  --surface: #10211a;
  --surface-2: #142a21;
  --emerald: #25c29e;
  --emerald-light: #78efd1;
  --gold: #f2ce6a;
  --gold-deep: #c99b32;
  --ink: #f3f6ef;
  --muted: #a4b3aa;
  --faint: #718278;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --arabic: "Noto Naskh Arabic", serif;
  --container: 1180px;
  --nav-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section { position: relative; padding: 130px 0; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: var(--night); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-nav.scrolled { background: rgba(7, 17, 13, .82); border-color: var(--line); backdrop-filter: blur(20px); }
.nav-shell { width: min(1280px, calc(100% - 48px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: .98rem; font-weight: 700; letter-spacing: -.02em; }
.brand-icon { width: 35px; height: 35px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px rgba(242, 206, 106, .35); }
.site-nav .brand-icon { width: 80px; height: 80px; border-radius: 22%; box-shadow: 0 0 0 1px rgba(223, 188, 82, .32), 0 10px 28px rgba(0, 0, 0, .24); }
.desktop-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-links a { color: var(--muted); font-size: .78rem; font-weight: 600; transition: color .2s; }
.desktop-links a:hover { color: var(--ink); }
.nav-cta { border: 1px solid rgba(242, 206, 106, .5); color: var(--gold); border-radius: 999px; font-size: .76rem; font-weight: 700; padding: 9px 17px; transition: .2s; }
.nav-cta:hover { background: var(--gold); color: var(--night); }
.menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 21px; height: 1px; background: var(--ink); margin: 6px auto; transition: transform .2s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; inset: var(--nav-height) 0 auto; padding: 20px 24px 28px; background: rgba(7, 17, 13, .98); border-bottom: 1px solid var(--line); flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; }

.eyebrow { margin: 0 0 20px; color: var(--emerald-light); font-size: .7rem; line-height: 1.4; font-weight: 700; letter-spacing: .19em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(3.4rem, 7.2vw, 6.8rem); font-weight: 500; }
h2 { font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5.45rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 span, h2 span { color: var(--gold); }
h2 span { font-style: italic; font-weight: 400; }
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--nav-height) + 70px) 0 90px;
  isolation: isolate;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(135deg, #07110d 0%, #07110d 52%, #0b1712 100%); }
.hero-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 780px; margin-bottom: 32px; }
.hero-lede { max-width: 610px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 999px; padding: 0 24px; font-size: .82rem; font-weight: 700; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #122019; box-shadow: 0 12px 40px rgba(242, 206, 106, .12); }
.button-primary:hover { background: #ffe291; }
.button-quiet { border: 1px solid var(--line-strong); color: var(--ink); }
.button-quiet:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }
.button.full { width: 100%; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; color: var(--faint); font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.proof-row span::before { content: "✦"; color: var(--emerald); margin-right: 8px; }

.hero-demo { position: relative; display: grid; place-items: center; min-height: 660px; }
.phone-shell { position: relative; z-index: 4; width: 334px; padding: 8px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 43px; background: #030805; box-shadow: 0 40px 100px rgba(0, 0, 0, .48), 0 0 80px rgba(37, 194, 158, .08); }
.hero-phone { transform: rotate(2.3deg); animation: phone-float 8s ease-in-out infinite; }
@keyframes phone-float { 50% { transform: rotate(1deg) translateY(-10px); } }
.phone-top { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #bac6bf; font-size: .6rem; }
.phone-top i { width: 76px; height: 20px; background: #000; border-radius: 0 0 14px 14px; position: absolute; top: 7px; left: calc(50% - 38px); }
.phone-screen { min-height: 596px; overflow: hidden; position: relative; border-radius: 34px; padding: 19px 16px 57px; background: linear-gradient(180deg, #101b16, #09110d); }
.app-greeting { display: flex; justify-content: space-between; align-items: center; }
.app-greeting small, .ayah-card small { display: block; color: var(--emerald-light); font-size: .53rem; letter-spacing: .14em; margin-bottom: 4px; }
.app-greeting strong { font-size: .93rem; letter-spacing: -.03em; }
.mini-mark { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(242, 206, 106, .4); border-radius: 10px; color: var(--gold); font-size: .5rem; font-weight: 700; }
.mood-pills { display: flex; gap: 6px; overflow: auto; margin: 18px -16px 14px; padding: 0 16px 4px; scrollbar-width: none; }
.mood-pills::-webkit-scrollbar { display: none; }
.mood-pill { flex: 0 0 auto; cursor: pointer; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 7px 10px; background: rgba(255, 255, 255, .035); color: #9aa9a0; font-size: .55rem; }
.mood-pill.active { border-color: rgba(242, 206, 106, .5); background: rgba(242, 206, 106, .11); color: var(--gold); }
.ayah-card { border: 1px solid rgba(242, 206, 106, .23); border-radius: 23px; padding: 18px; background: linear-gradient(145deg, rgba(29, 55, 43, .9), rgba(11, 25, 19, .96)); box-shadow: inset 0 1px rgba(255, 255, 255, .04); }
.card-label { display: flex; align-items: center; justify-content: space-between; color: var(--gold); font-size: .52rem; letter-spacing: .14em; font-weight: 700; }
.card-label i { width: 23px; height: 1px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.arabic { margin: 23px 0 14px; font-family: var(--arabic); font-size: 1.63rem; line-height: 1.55; text-align: center; color: #fff8de; }
.translation { margin-bottom: 8px; font-size: .82rem; line-height: 1.65; color: #edf2ed; }
.reference { color: var(--gold); font-size: .58rem; font-weight: 600; }
.meaning-line { width: 100%; height: 1px; background: var(--line); margin: 18px 0 14px; }
.explanation { min-height: 72px; margin: 0 0 15px; color: #becbc3; font-size: .67rem; line-height: 1.65; }
.listen-button { width: 100%; height: 40px; border: 1px solid rgba(37, 194, 158, .28); border-radius: 12px; background: rgba(37, 194, 158, .08); display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: .62rem; color: #dbe7e0; }
.play-symbol { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald); color: #07110d; font-size: .5rem; }
.waveform { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: 4px; height: 15px; }
.waveform b { width: 2px; height: 5px; background: var(--emerald); border-radius: 2px; }
.waveform b:nth-child(2), .waveform b:nth-child(4) { height: 11px; }
.listen-button.playing .waveform b { animation: wave .6s ease-in-out infinite alternate; }
.listen-button.playing .waveform b:nth-child(2) { animation-delay: -.3s; }
.listen-button.playing .waveform b:nth-child(4) { animation-delay: -.45s; }
@keyframes wave { to { height: 15px; } }
.phone-tabs { position: absolute; inset: auto 0 0; height: 49px; border-top: 1px solid var(--line); background: rgba(5, 12, 9, .94); display: flex; align-items: center; justify-content: space-around; }
.phone-tabs span { color: #64736b; font-size: .47rem; }
.phone-tabs .active { color: var(--gold); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: .55rem; letter-spacing: .16em; }
.scroll-cue i { width: 48px; height: 1px; background: linear-gradient(90deg, var(--emerald), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 50% { transform: scaleX(.55); transform-origin: left; } }

.section-heading { max-width: 760px; margin-bottom: 70px; }
.section-heading.narrow { max-width: 850px; }
.section-heading.center { max-width: 900px; margin-inline: auto; text-align: center; }
.section-heading h2, .split-heading h2, .voices-copy h2, .trust-statement h2, .faq-heading h2 { margin-bottom: 25px; }
.section-heading > p:last-child, .split-heading > p, .voices-copy > p, .trust-statement > p, .faq-heading > p { color: var(--muted); max-width: 600px; }

.problem { background: #dfe4da; color: #132119; border-top: 1px solid rgba(19,33,25,.12); }
.problem .eyebrow { color: #137963; }
.problem h2 span { color: #806516; }
.problem .section-heading > p { color: #56645c; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(19,33,25,.18); border-bottom: 1px solid rgba(19,33,25,.18); }
.problem-card { position: relative; min-height: 390px; padding: 34px; border-right: 1px solid rgba(19,33,25,.16); background: transparent; }
.problem-card:last-child { border-right: 0; }
.problem-card:hover { background: rgba(255,255,255,.28); }
.problem-number { color: #78857d; font-size: .6rem; letter-spacing: .15em; }
.problem-symbol { width: 70px; height: 70px; display: grid; place-items: center; margin: 60px 0 32px; border: 1px solid rgba(128,101,22,.35); color: #806516; font-size: 1.2rem; border-radius: 50%; }
.problem-card h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; margin-bottom: 16px; letter-spacing: -.025em; }
.problem-card p { color: #59665f; font-size: .9rem; }
.problem-card strong { display: block; margin-top: 26px; color: #137963; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

.path { background: linear-gradient(180deg, #07110d, #0b1812); overflow: hidden; }
.path .section-heading { position: relative; z-index: 2; }
.path-steps { position: relative; z-index: 2; margin: 80px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.path-line { position: absolute; z-index: 1; left: max(24px, calc((100% - var(--container)) / 2)); right: max(24px, calc((100% - var(--container)) / 2)); top: 440px; height: 1px; background: linear-gradient(90deg, var(--emerald), rgba(37, 194, 158, .15)); }
.path-steps li { position: relative; padding-right: 35px; }
.step-index { color: var(--gold); font-size: .6rem; letter-spacing: .15em; }
.step-dot { width: 11px; height: 11px; margin: 35px 0 33px; border-radius: 50%; border: 2px solid var(--emerald); background: var(--night); box-shadow: 0 0 18px rgba(37, 194, 158, .65); }
.path-steps h3 { font-size: 1.3rem; font-weight: 600; }
.path-steps p { color: var(--muted); font-size: .85rem; line-height: 1.75; }

.lived-moment { min-height: 760px; display: flex; align-items: center; overflow: hidden; padding: 110px 0; background: #09120e; }
.lived-moment > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lived-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,9,.96) 0%, rgba(5,12,9,.86) 34%, rgba(5,12,9,.23) 68%, rgba(5,12,9,.08) 100%); }
.lived-content { position: relative; z-index: 2; }
.lived-content h2 { max-width: 670px; margin-bottom: 26px; }
.lived-content > p:not(.eyebrow) { max-width: 520px; color: #bac7bf; }
.lived-facts { max-width: 630px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.18); }
.lived-facts span { padding: 20px 18px 0 0; color: #86978d; font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; }
.lived-facts strong { display: block; margin-bottom: 5px; color: var(--gold); font-size: .88rem; text-transform: none; letter-spacing: -.02em; }

.moments { background: #e8eadf; color: #122019; }
.moments .eyebrow { color: #137963; }
.moments h2 span { color: #866711; }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.split-heading > p { margin-bottom: 16px; }
.moments .split-heading > p { color: #53625a; }
.moment-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.moment-chips button { flex: 0 0 auto; border: 1px solid rgba(18, 32, 25, .18); border-radius: 999px; background: transparent; padding: 9px 15px; color: #5d6a63; font-size: .72rem; font-weight: 600; cursor: pointer; }
.moment-chips button.active { background: #143428; color: #f5f3e8; border-color: #143428; }
.moment-gallery { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; margin-top: 26px; }
.moment-card { min-height: 370px; display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(18, 32, 25, .15); background: rgba(255, 255, 255, .32); transition: transform .25s, background .25s; }
.moment-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .58); }
.moment-card.large { background: #133429; color: #eef2e9; }
.moment-top { display: flex; justify-content: space-between; color: #66736c; font-size: .56rem; letter-spacing: .13em; font-weight: 700; }
.large .moment-top { color: #8cccb8; }
.moment-arabic { margin: 62px 0 35px; font-family: var(--arabic); font-size: 2.2rem; line-height: 1.6; color: #f5d878; }
.moment-card h3 { margin-top: auto; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 500; }
.moment-card p { color: #53625a; font-size: .88rem; }
.large > p:not(.moment-arabic) { color: #becbc2; }
.moment-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(18, 32, 25, .13); color: #6a756e; font-size: .65rem; font-weight: 600; }
.large .moment-footer { color: var(--gold); border-color: rgba(255, 255, 255, .12); }
.moment-footer button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #d2ac45; color: #102019; cursor: pointer; font-size: .62rem; }

.anatomy { background: #cdb85f; color: #142119; }
.anatomy .eyebrow { color: #315f50; }
.anatomy h2 span { color: #184d3e; }
.anatomy .split-heading > p { color: #526057; }
.anatomy-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; align-items: start; }
.anatomy-index { position: sticky; top: 118px; border-top: 1px solid rgba(20,33,25,.2); }
.anatomy-tab { width: 100%; min-height: 76px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 13px; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(20,33,25,.16); background: transparent; color: #526057; text-align: left; cursor: pointer; transition: padding .2s, color .2s; }
.anatomy-tab > span { grid-row: 1 / span 2; padding-top: 3px; color: #6a725f; font-size: .58rem; letter-spacing: .1em; }
.anatomy-tab strong { color: #34473d; font-family: var(--serif); font-size: 1.18rem; font-weight: 500; letter-spacing: -.02em; }
.anatomy-tab small { font-size: .62rem; }
.anatomy-tab.active { padding-left: 14px; color: #143d32; border-bottom-color: #143d32; }
.anatomy-tab.active strong, .anatomy-tab.active > span { color: #143d32; }
.moment-manuscript { padding: 48px 54px; background: #f1f0e7; box-shadow: 0 34px 80px rgba(70,56,12,.14); }
.manuscript-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(20,33,25,.14); color: #587269; font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.moment-manuscript > h3 { max-width: 700px; margin: 43px 0 38px; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.anatomy-block { position: relative; padding: 28px 28px 28px 0; border-top: 1px solid rgba(20,33,25,.14); transition: padding .25s, background .25s; }
.anatomy-block.active { margin-left: -22px; margin-right: -22px; padding-left: 22px; background: rgba(205,184,95,.15); }
.block-number { margin-bottom: 14px; color: #2e7964; font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.anatomy-block p { max-width: 680px; margin-bottom: 7px; color: #405149; font-size: .9rem; }
.anatomy-block small { color: #758078; font-size: .58rem; }
.manuscript-arabic { max-width: none !important; font-family: var(--arabic); font-size: clamp(2.1rem, 4vw, 3.4rem) !important; line-height: 1.6; text-align: right; color: #183d32 !important; }
.manuscript-translation, .anatomy-block blockquote { max-width: 690px; margin: 5px 0 10px; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.45; color: #1b2b23; }
.manuscript-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 24px; border-top: 1px solid rgba(20,33,25,.14); color: #68776e; font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.manuscript-foot span::before { content: "✓"; margin-right: 7px; color: #16745f; }

.inside { background: #0a1510; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { min-height: 520px; padding: 40px; display: flex; flex-direction: column; position: relative; overflow: hidden; border: 1px solid var(--line); background: #12261d; }
.feature-copy { position: relative; z-index: 2; max-width: 470px; }
.feature-kicker { color: var(--emerald-light); font-size: .62rem; font-weight: 700; letter-spacing: .16em; }
.feature-copy h3 { margin: 16px 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 400; line-height: 1.02; letter-spacing: -.03em; }
.feature-copy p { color: var(--muted); font-size: .88rem; }
.feature-today { grid-column: span 2; min-height: 560px; flex-direction: row; justify-content: space-between; align-items: center; gap: 60px; }
.feature-today .feature-copy { max-width: 500px; }
.feature-ask { background: #dfe4da; color: #142119; border-color: rgba(20,33,25,.15); }
.feature-ask .feature-kicker { color: #137963; }
.feature-ask .feature-copy p { color: #59675f; }
.feature-ask .ask-answer { border-color: rgba(20,33,25,.13); background: rgba(255,255,255,.38); }
.feature-ask .ask-answer p { color: #3f5148; }
.feature-ask .ask-sample small { color: #6c7871; }
.feature-library { background: #d9c16f; color: #142119; border-color: rgba(20,33,25,.15); }
.feature-library .feature-kicker { color: #2e6c5a; }
.feature-library .feature-copy p { color: #526057; }
.feature-library .library-links { border-color: rgba(20,33,25,.16); }
.feature-library .library-links span { color: #526057; border-color: rgba(20,33,25,.14); }
.feature-library .library-links b { color: #174a3b; }
.ui-sample { position: relative; z-index: 2; }
.mini-today { width: min(410px, 100%); padding: 30px; border-radius: 24px; border: 1px solid rgba(242, 206, 106, .28); background: rgba(5, 15, 10, .65); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.mini-today small { color: var(--emerald-light); font-size: .58rem; letter-spacing: .13em; }
.mini-today strong { display: block; margin-top: 24px; font-size: 2rem; font-weight: 500; }
.mini-today > span { color: var(--gold); font-size: .73rem; }
.mini-today p { margin: 30px 0; color: #eaf0eb; font-size: 1.15rem; }
.mini-today i { display: block; width: 100%; height: 1px; background: var(--line); }
.mini-today b { display: block; margin-top: 22px; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.ask-sample { margin-top: auto; padding-top: 45px; }
.ask-prompt { width: 72%; margin-left: auto; padding: 13px 16px; border-radius: 16px 16px 3px 16px; background: var(--gold); color: #122019; font-size: .73rem; }
.ask-answer { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 8px; padding: 16px; border: 1px solid var(--line); border-radius: 3px 16px 16px; background: rgba(255,255,255,.035); }
.ask-answer span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: rgba(37,194,158,.18); color: var(--emerald-light); font-size: .48rem; font-weight: 700; }
.ask-answer p { margin: 0; color: #d8e2dc; font-size: .69rem; }
.ask-sample small { color: var(--faint); font-size: .55rem; }
.plan-stack { margin-top: auto; padding-top: 42px; }
.plan-stack > div { position: relative; padding: 18px; margin-top: -4px; border: 1px solid var(--line); background: rgba(6,16,11,.78); transform: rotate(var(--tilt, 0deg)); }
.plan-stack > div:nth-child(2) { --tilt: -1.5deg; margin-inline: 12px; }
.plan-stack > div:nth-child(3) { --tilt: 1deg; margin-inline: 24px; }
.plan-stack small { display: block; color: var(--emerald-light); font-size: .52rem; letter-spacing: .12em; }
.plan-stack strong { display: block; margin: 7px 0 15px; font-size: .93rem; }
.plan-stack i { display: block; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold) var(--progress), rgba(255,255,255,.09) var(--progress)); }
.library-links { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: auto; border: 1px solid var(--line); }
.library-links span { min-height: 85px; padding: 17px; display: flex; flex-direction: column; justify-content: center; color: var(--muted); font-size: .62rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.library-links span:nth-child(2n) { border-right: 0; }
.library-links span:nth-child(n+3) { border-bottom: 0; }
.library-links b { color: var(--gold); font-size: 1.25rem; font-weight: 500; }
.feature-journal { grid-column: span 2; min-height: 390px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.journal-note { margin: 0; padding: 32px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.025); font-size: 1.25rem; line-height: 1.65; color: #e2e9e4; }
.journal-note span { display: block; margin-top: 22px; color: var(--faint); font-size: .55rem; font-style: normal; text-transform: uppercase; letter-spacing: .12em; }

.verse-interlude { background: #f0efe6; color: #142119; padding: 120px 0; }
.verse-inner { max-width: 920px; text-align: center; }
.verse-interlude .eyebrow { color: #2d7b65; }
.verse-arabic { margin: 38px 0 24px; font-family: var(--arabic); font-size: clamp(3.4rem, 8vw, 7rem); line-height: 1.35; color: #163d31; }
.verse-interlude blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 4.4rem); line-height: 1.08; letter-spacing: -.035em; }
.verse-meta { display: flex; justify-content: center; gap: 16px 32px; margin-top: 38px; color: #68766e; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.verse-meta span + span { padding-left: 32px; border-left: 1px solid rgba(20,33,25,.2); }

.voices { background: #e8eadf; color: #122019; }
.voices .eyebrow { color: #137963; }
.voices h2 span { color: #866711; }
.voices-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: center; }
.voices-copy > p { color: #53625a; }
.voice-selector { margin-top: 40px; display: grid; gap: 8px; }
.voice-button { width: 100%; padding: 15px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(18,32,25,.15); background: transparent; text-align: left; cursor: pointer; color: #56645c; }
.voice-button i { width: 11px; height: 11px; border-radius: 50%; background: #d8b45a; box-shadow: 0 0 0 5px rgba(216,180,90,.12); }
.voice-button:nth-child(2) i { background: #2fa39a; box-shadow: 0 0 0 5px rgba(47,163,154,.12); }
.voice-button:nth-child(3) i { background: #8e97d6; box-shadow: 0 0 0 5px rgba(142,151,214,.12); }
.voice-button span { display: flex; flex-direction: column; }
.voice-button strong { color: #23342b; font-size: .78rem; }
.voice-button small { font-size: .65rem; }
.voice-button.active { background: rgba(255,255,255,.55); border-color: rgba(18,32,25,.3); }
.voice-player { min-height: 480px; padding: 54px; display: flex; flex-direction: column; justify-content: center; background: #143428; color: #eef2e9; position: relative; overflow: hidden; }
.voice-player::after { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(242,206,106,.2); pointer-events: none; }
.voice-player[data-current-voice="ustadh"] { background: #123b38; }
.voice-player[data-current-voice="sakina"] { background: #282d4c; }
.player-head { display: flex; justify-content: space-between; color: var(--gold); font-size: .62rem; letter-spacing: .13em; }
.voice-player > p:not(.player-note) { max-width: 650px; margin: 62px 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: 1.3; letter-spacing: -.025em; }
.player-controls { display: flex; align-items: center; gap: 15px; }
.player-play { width: 44px; height: 44px; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--gold); color: #122019; cursor: pointer; }
.player-track { height: 2px; flex: 1; background: rgba(255,255,255,.18); }
.player-track i { display: block; width: 0; height: 100%; background: var(--gold); transition: width .2s linear; }
.player-controls > span { color: #aab8b0; font-size: .62rem; }
.player-note { margin: 20px 0 0; color: #7f978a; font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; }

.trust { background: #06100c; overflow: hidden; }
.trust-layout { position: relative; display: grid; grid-template-columns: .76fr 1.24fr; gap: 100px; }
.trust-statement { position: sticky; top: 140px; align-self: start; }
.trust-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 35px 0; border-top: 1px solid var(--line); }
.trust-list article:last-child { border-bottom: 1px solid var(--line); }
.trust-list article > span { color: var(--gold); font-size: .6rem; letter-spacing: .14em; }
.trust-list h3 { font-size: 1.45rem; font-weight: 500; }
.trust-list p { color: var(--muted); font-size: .88rem; margin-bottom: 0; }

.plans { background: #0b1812; }
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.journey-card { min-height: 480px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.journey-card.featured { background: #d9c16f; color: #132219; }
.journey-card > span { color: var(--emerald-light); font-size: .6rem; letter-spacing: .14em; font-weight: 700; }
.journey-card.featured > span { color: #557264; }
.journey-card h3 { margin: 70px 0 18px; font-size: 2.2rem; font-weight: 500; }
.journey-card > p { color: var(--muted); font-size: .87rem; }
.journey-card.featured > p { color: #41544a; }
.journey-card ol { margin: auto 0 0; padding: 0; list-style: none; counter-reset: days; }
.journey-card li { counter-increment: days; padding: 13px 0; border-top: 1px solid var(--line); color: #c0cbc4; font-size: .75rem; }
.journey-card.featured li { color: #34473c; border-color: rgba(19,34,25,.16); }
.journey-card li::before { content: "0" counter(days); margin-right: 12px; color: var(--gold); font-size: .55rem; }
.journey-card.featured li::before { color: #816412; }

.pricing { background: #e8eadf; color: #122019; }
.pricing .eyebrow { color: #137963; }
.pricing h2 span { color: #866711; }
.pricing .section-heading > p { margin-inline: auto; color: #53625a; }
.pricing-grid { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; }
.price-card { position: relative; padding: 42px; border: 1px solid rgba(18,32,25,.17); background: rgba(255,255,255,.38); }
.price-card.annual { background: #143428; color: #edf3ed; border-color: #143428; }
.price-label { color: #2a7f6a; font-size: .62rem; letter-spacing: .15em; font-weight: 700; }
.annual .price-label { color: var(--emerald-light); }
.price { margin: 35px 0 4px; font-size: 3rem; letter-spacing: -.05em; line-height: 1; }
.price sup { font-size: 1.15rem; vertical-align: top; }
.price small { color: #66746d; font-size: .74rem; letter-spacing: 0; }
.annual .price small { color: #a8b9ae; }
.price-card > p:not(.price) { color: #65726a; font-size: .75rem; }
.annual > p:not(.price) { color: #a8b9ae; }
.price-card ul { margin: 35px 0; padding: 0; list-style: none; }
.price-card li { padding: 10px 0; border-top: 1px solid rgba(18,32,25,.12); font-size: .76rem; }
.annual li { border-color: rgba(255,255,255,.1); color: #dbe5de; }
.price-card li::before { content: "✓"; color: #178c74; font-weight: 700; margin-right: 10px; }
.annual li::before { color: var(--gold); }
.annual .button-primary { box-shadow: none; }
.best-value { position: absolute; right: 22px; top: -14px; padding: 7px 12px; background: var(--gold); color: #142119; font-size: .52rem; font-weight: 700; letter-spacing: .1em; }
.pricing-note { max-width: 820px; margin: 24px auto 0; color: #748078; text-align: center; font-size: .63rem; }

.home-library { background: #f0efe6; color: #142119; }
.home-library .eyebrow { color: #137963; }
.library-editorial { display: grid; grid-template-columns: 1.08fr .92fr; gap: 90px; align-items: end; padding-bottom: 52px; border-bottom: 1px solid rgba(20,33,25,.16); }
.library-editorial h2 { max-width: 720px; margin-bottom: 0; color: #142119; }
.library-editorial p { margin-bottom: 12px; color: #546258; }
.library-shelf { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid rgba(20,33,25,.16); }
.library-shelf a { min-height: 220px; display: grid; grid-template-columns: 44px 1fr; gap: 12px 20px; padding: 28px 28px 28px 0; border-top: 1px solid rgba(20,33,25,.16); color: #142119; transition: background .2s, padding .2s; }
.library-shelf a:nth-child(2n) { padding-left: 28px; border-left: 1px solid rgba(20,33,25,.16); }
.library-shelf a:hover { background: rgba(255,255,255,.46); padding-left: 22px; }
.library-shelf a:nth-child(2n):hover { padding-left: 42px; }
.library-shelf span { grid-row: 1 / span 2; color: #987819; font-family: var(--serif); font-size: 1.2rem; }
.library-shelf strong { align-self: end; font-family: var(--serif); font-size: clamp(1.55rem, 2vw, 2.25rem); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.library-shelf p { max-width: 460px; margin-bottom: 0; color: #5a675f; font-size: .86rem; line-height: 1.7; }
.library-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 34px; }
.library-cta p { max-width: 490px; margin-bottom: 0; color: #69766e; font-size: .76rem; }

.faq { background: #0a1510; }
.faq-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 100px; }
.faq-heading { position: sticky; top: 140px; align-self: start; }
.faq-heading a { color: var(--gold); border-bottom: 1px solid rgba(242,206,106,.4); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: 1.05rem; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; padding: 0 55px 28px 0; color: var(--muted); font-size: .87rem; }

.download { min-height: 720px; display: grid; place-items: center; overflow: hidden; text-align: center; background: linear-gradient(180deg, #102a20, #07110d); }
.download-inner { position: relative; z-index: 3; max-width: 820px; }
.download-icon { width: 82px; height: 82px; margin: 0 auto 30px; object-fit: cover; border-radius: 24px; box-shadow: 0 0 45px rgba(242,206,106,.18); }
.download h2 { margin-bottom: 25px; }
.download-inner > p:not(.eyebrow):not(.download-note) { max-width: 580px; margin: 0 auto; color: var(--muted); }
.store-row { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.store-badge { min-width: 176px; padding: 10px 19px; border: 1px solid var(--line-strong); border-radius: 13px; text-align: left; background: rgba(0,0,0,.17); transition: .2s; }
.store-badge:hover { border-color: rgba(242,206,106,.5); transform: translateY(-2px); }
.store-badge small { display: block; color: var(--muted); font-size: .52rem; line-height: 1.2; }
.store-badge strong { font-size: .9rem; }
.download-note { margin-top: 20px; color: var(--faint); font-size: .58rem; }

.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 194, 158, .12), transparent 34%),
    linear-gradient(180deg, #07140f 0%, #040907 100%);
  border-top: 1px solid var(--line);
  padding: 66px 0 30px;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(120px, .72fr));
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
  padding-bottom: 58px;
}
.footer-brand .brand {
  color: #f7f4ea;
  font-family: var(--serif);
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: 0;
}
.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #a9b8ae;
  font-size: .86rem;
  line-height: 1.75;
}
.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-col h4 {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-col a {
  color: #aab8af;
  font-size: .78rem;
  line-height: 1.5;
  transition: color .2s, transform .2s;
}
.footer-col a:hover {
  color: #f7f4ea;
  transform: translateX(3px);
}
.footer-stores {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-stores .app-store-button.compact {
  min-width: 146px;
  justify-content: flex-start;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-verse {
  max-width: 460px;
  text-align: right;
  color: #9ead9f;
  font-family: var(--serif);
  font-size: .92rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.library-body { background: #f0efe6; color: #142119; }
.article-hero, .library-index-hero { padding: 95px 0 78px; background: #f0efe6; border-bottom: 1px solid rgba(20,33,25,.14); }
.article-hero .eyebrow, .library-index-hero:not(.library-home-hero) .eyebrow { color: #53633f; }
.article-layout { display: grid; grid-template-columns: 1fr 310px; gap: 70px; align-items: end; }
.article-hero h1, .library-index-hero h1 { max-width: 980px; margin-bottom: 28px; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6.2rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; color: #142119; }
.article-hero .hero-lede, .library-index-hero .hero-lede { max-width: 760px; color: #53625a; }
.standard-page-hero {
  padding: calc(var(--home-nav-total) + 74px) 0 74px;
  background:
    radial-gradient(circle at 88% 18%, rgba(37, 194, 158, .16), transparent 28%),
    linear-gradient(135deg, #0a1d15 0%, #10281f 46%, #08110d 100%);
  border-bottom: 1px solid var(--line);
}
.standard-page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  max-width: 850px;
  margin-bottom: 24px;
  color: #f7f4ea;
}
.standard-page-hero .hero-lede {
  max-width: 780px;
  color: #bfcec5;
}
.legal-date {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 206, 106, .24);
  border-radius: 999px;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-updated {
  margin: 0 0 26px !important;
  color: #12735f !important;
  font-size: .72rem !important;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.standard-page {
  padding-top: 74px;
  padding-bottom: 96px;
}
.standard-page-intro {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 58px;
  align-items: end;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(20,33,25,.16);
}
.standard-page-intro h2 {
  margin-bottom: 0;
  color: #142119;
  font-size: clamp(2.45rem, 4vw, 4.35rem);
}
.standard-page-intro > .panel-kicker { grid-column: 1 / -1; margin: 0; }
.standard-page-intro p:last-child {
  margin-bottom: 0;
  color: #516158;
  font-size: .98rem;
}
.faq-page .faq-list {
  max-width: 920px;
  margin-left: auto;
}
.faq-page .faq-list details {
  border-color: rgba(20,33,25,.16);
}
.faq-page .faq-list summary {
  color: #142119;
  font-family: var(--serif);
  font-size: clamp(1.14rem, 2vw, 1.48rem);
  font-weight: 500;
}
.faq-page .faq-list details p {
  max-width: 760px;
  color: #53625a;
}
.faq-page .faq-list a,
.legal-page a {
  color: #0f8067;
  border-bottom: 1px solid rgba(15,128,103,.28);
}
.legal-page {
  max-width: 960px;
  min-width: 0;
  overflow-wrap: break-word;
}
.legal-page section {
  margin-bottom: 42px;
}
.legal-page section:not(.article-panel) {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(20,33,25,.14);
}
.legal-page h2 {
  margin-bottom: 16px;
  color: #142119;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}
.legal-page > h2 {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid rgba(20,33,25,.14);
}
.legal-page p {
  margin-bottom: 13px;
  color: #4e5d55;
  font-size: .96rem;
  line-height: 1.82;
  overflow-wrap: break-word;
}
.legal-page p b,
.legal-page strong {
  color: #142119;
}
.legal-page em {
  color: #283a31;
}
.legal-page ul {
  display: grid;
  gap: 11px;
  margin: 16px 0 24px;
  padding-left: 22px;
  color: #4e5d55;
}
.legal-page li {
  padding-left: 6px;
  font-size: .95rem;
  line-height: 1.74;
}
.legal-toc {
  max-width: 100%;
  min-width: 0;
  margin: 40px 0 8px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(20,33,25,.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 0%, rgba(199, 160, 54, .14), transparent 34%),
    linear-gradient(180deg, #fbfaf2 0%, #e9e8dc 100%);
  box-shadow: 0 24px 70px rgba(20,33,25,.08);
}
.legal-toc h2 {
  margin: 0 0 18px;
  color: #866711;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 34px;
  margin: 0;
  padding-left: 20px;
}
.legal-toc li {
  color: #7a6a2b;
  font-size: .82rem;
  line-height: 1.45;
}
.legal-toc a {
  color: #22342b;
  border-bottom-color: rgba(15,128,103,.22);
  overflow-wrap: anywhere;
}
.legal-note {
  margin: 22px 0 24px;
  padding: 24px 26px;
  border: 1px solid rgba(19,121,99,.18);
  border-left: 4px solid #137963;
  border-radius: 22px;
  background: #e8eadf;
}
.legal-note p {
  margin: 0;
  color: #31443a;
}
.article-summary { padding: 24px; border-top: 1px solid rgba(20,33,25,.18); border-bottom: 1px solid rgba(20,33,25,.18); color: #5d6a62; }
.article-summary span, .panel-kicker { display: block; color: #137963; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.article-summary strong { display: block; margin: 18px 0 12px; color: #866711; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.article-summary p { margin: 0 0 9px; font-size: .78rem; line-height: 1.65; }
.article-content { max-width: 900px; padding-top: 78px; padding-bottom: 98px; }
.article-content section { margin-bottom: 58px; }
.article-content h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 3.4vw, 3.4rem); color: #142119; }
.article-content p { color: #435149; font-size: 1rem; line-height: 1.86; }
.article-serif { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.85rem) !important; line-height: 1.55 !important; color: #20332a !important; }
.soul-note { position: relative; padding: 42px; border: 1px solid rgba(20,33,25,.14); background: #15352a; color: #f4f0df; box-shadow: 0 30px 80px rgba(20,33,25,.12); overflow: hidden; }
.soul-note::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(242,206,106,.26), transparent 68%); }
.soul-note .panel-kicker { color: #f2ce6a; }
.soul-note h2 { max-width: 720px; color: #fff7d8; }
.soul-note p { position: relative; z-index: 1; max-width: 760px; color: #d8e0d7; font-size: 1.05rem; }
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(20,33,25,.16); border: 1px solid rgba(20,33,25,.16); }
.source-grid article { min-height: 165px; padding: 24px; background: #f7f5ea; }
.source-grid span { display: block; margin-bottom: 28px; color: #8a6c16; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.source-grid p { margin: 0; font-size: .85rem; }
.source-dua-section { padding: 42px; border: 1px solid rgba(20,33,25,.16); background: #172e25; box-shadow: 0 28px 80px rgba(20,33,25,.14); }
.source-dua-section h2 { color: #fff5d3; }
.source-dua-section > p { color: #cdd9d0; }
.source-dua-section .panel-kicker { color: #f2ce6a; }
.source-dua-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
.source-dua-card { padding: 28px; background: linear-gradient(135deg, rgba(247,245,234,.98), rgba(236,231,204,.98)); border: 1px solid rgba(242,206,106,.24); box-shadow: 0 18px 45px rgba(3,8,6,.18); }
.source-dua-topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
.source-dua-topline span { color: #137963; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.source-dua-topline strong { padding: 7px 10px; background: rgba(19,121,99,.11); color: #245f50; border-radius: 999px; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.arabic { margin: 0 0 18px !important; direction: rtl; text-align: right; color: #16281f !important; font-family: "Noto Naskh Arabic", serif; font-size: clamp(1.7rem, 3.2vw, 2.65rem) !important; line-height: 1.85 !important; }
.transliteration { margin: 0 0 14px !important; color: #826315 !important; font-family: var(--serif); font-size: 1.05rem !important; font-style: italic; line-height: 1.65 !important; }
.dua-reflection { margin-top: 16px !important; padding-top: 16px; border-top: 1px solid rgba(20,33,25,.13); color: #2f4439 !important; }
.dua-list { padding: 40px; border: 1px solid rgba(20,33,25,.16); background: linear-gradient(135deg, #ede8d0 0%, #f7f5ea 54%, #e1eadf 100%); box-shadow: 0 28px 70px rgba(20,33,25,.08); }
.dua-list h2 { margin-bottom: 16px; }
.dua-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 30px; background: rgba(20,33,25,.16); border: 1px solid rgba(20,33,25,.16); }
.dua-card { min-height: 210px; padding: 26px; background: rgba(255,255,255,.58); }
.dua-card span { display: block; margin-bottom: 22px; color: #137963; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dua-card > p { margin: 0; color: #23352d; font-family: var(--serif); font-size: clamp(1.1rem, 1.55vw, 1.42rem); line-height: 1.58; }
.munajat-grid { align-items: stretch; }
.munajat-card { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 420px; padding: 30px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(238,236,219,.78)); }
.munajat-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #137963, #d2ac45); opacity: .85; }
.munajat-card span { margin-bottom: 2px; color: #0f6f5c; }
.munajat-card .dua-card-context,
.munajat-card .dua-card-ask,
.munajat-card .dua-card-after { color: #435149; font-family: var(--sans); font-size: .88rem; line-height: 1.72; }
.munajat-card .dua-card-ask { padding: 14px 16px; border-left: 2px solid rgba(19,121,99,.34); background: rgba(19,121,99,.07); }
.munajat-card .dua-card-ask b,
.munajat-card .dua-card-after b { color: #16271f; }
.munajat-card blockquote { margin: auto 0 0; padding: 20px 0 0; border-top: 1px solid rgba(20,33,25,.16); color: #17291f; font-family: var(--serif); font-size: clamp(1.16rem, 1.75vw, 1.55rem); line-height: 1.58; }
.munajat-card .dua-card-after { margin-top: 0; padding-top: 14px; border-top: 1px solid rgba(20,33,25,.1); color: #59645e; }
.movement-grid, .story-beat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.movement-card, .story-beat-card { min-height: 190px; padding: 26px; border: 1px solid rgba(20,33,25,.14); background: #f7f5ea; box-shadow: 0 20px 50px rgba(20,33,25,.06); }
.movement-card span, .story-beat-card span { display: block; margin-bottom: 24px; color: #8a6c16; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.movement-card h3, .story-beat-card h3 { margin: 0 0 14px; color: #142119; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.08; }
.movement-card p, .story-beat-card p { margin: 0; font-size: .9rem; }
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.fact-row span { padding: 8px 11px; background: rgba(20,33,25,.1); color: #2f4439; border-radius: 999px; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-panel { padding: 34px; border-left: 2px solid #c99b32; background: #e3e1d5; }
.article-panel.highlight { background: #d9c16f; }
.article-panel.guidance-note { border-left-color: #137963; background: #e8eadf; }
.article-panel.prayer-panel { border-left-color: #137963; background: linear-gradient(135deg, #e3e1d5, #f4efd9); }
.article-panel h2 { margin-bottom: 18px; }
.practice-list { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: practice; }
.practice-list li { counter-increment: practice; position: relative; display: block; padding: 16px 0 16px 56px; border-top: 1px solid rgba(20,33,25,.14); color: #435149; font-size: .9rem; line-height: 1.7; }
.practice-list li::before { content: "0" counter(practice); position: absolute; top: 20px; left: 0; width: 40px; color: #137963; font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.practice-list li b { color: #18271f; }
.related-links { display: grid; gap: 8px; padding-top: 10px; }
.related-links h2 { margin-bottom: 16px; }
.related-links a { padding: 14px 0; border-top: 1px solid rgba(20,33,25,.14); color: #245f50; font-weight: 700; }
.related-links a:hover { color: #866711; }
.library-index { padding-top: 70px; padding-bottom: 100px; }
.library-home-hero { background: #10261d; color: var(--ink); }
.library-home-hero h1 { color: var(--ink); }
.library-home-hero .hero-lede { color: #afbeb5; }
.library-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 960px; margin-top: 50px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.library-stats span { min-height: 115px; padding: 22px; background: rgba(7,17,13,.48); color: #9eb0a6; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.library-stats strong { display: block; margin-bottom: 8px; color: var(--gold); font-family: var(--serif); font-size: 2.3rem; font-weight: 500; letter-spacing: -.03em; text-transform: none; }
.library-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(20,33,25,.16); border: 1px solid rgba(20,33,25,.16); }
.library-card-grid.categories { grid-template-columns: repeat(2, 1fr); margin-bottom: 48px; }
.library-topic-card { min-height: 210px; padding: 24px; display: flex; flex-direction: column; background: #f7f5ea; transition: background .2s, transform .2s; }
.library-topic-card:hover { background: #dfe4da; transform: translateY(-2px); }
.library-topic-card span { color: #137963; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.library-topic-card strong { margin: 38px 0 14px; color: #142119; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.library-topic-card p { margin: auto 0 0; color: #5c6961; font-size: .8rem; line-height: 1.65; }
.category-card { min-height: 285px; }
.category-card strong { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.library-group { margin-bottom: 70px; }
.library-group > h2 { margin-bottom: 24px; color: #142119; font-size: clamp(2.1rem, 4vw, 4.2rem); }
.editorial-note { max-width: 900px; margin: 0 auto; }
.library-footer { padding: 52px 0; background: #07110d; color: var(--ink); }
.library-footer .container { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.library-footer p { max-width: 520px; margin: 0; color: var(--muted); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (max-width: 1050px) {
  .hero-layout { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-lede { margin-inline: auto; }
  .hero-actions, .proof-row { justify-content: center; }
  .hero-demo { margin-top: -40px; }
  .problem-card { min-height: 430px; padding: 28px; }
  .path-steps { grid-template-columns: repeat(3, 1fr); gap: 55px 20px; }
  .path-line { display: none; }
  .step-dot { margin: 18px 0 22px; }
  .moment-gallery { grid-template-columns: 1.2fr 1fr; }
  .moment-card:last-child { grid-column: span 2; min-height: 300px; }
  .anatomy-layout { gap: 45px; }
  .voices-layout, .trust-layout, .faq-layout { gap: 55px; }
  .library-card-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 800px) {
  :root { --nav-height: 68px; }
  .container, .nav-shell { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 90px 0; }
  .desktop-links, .nav-cta { display: none; }
  .menu-button { display: block; }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.8rem); }
  .hero { padding-top: calc(var(--nav-height) + 55px); }
  .hero-layout { gap: 35px; }
  .hero-demo { min-height: 610px; transform: scale(.92); margin-inline: -20px; }
  .scroll-cue { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-card:last-child { border-bottom: 0; }
  .problem-symbol { margin: 38px 0 25px; }
  .path-steps { grid-template-columns: 1fr 1fr; }
  .lived-moment { min-height: 680px; align-items: flex-end; }
  .lived-moment > img { object-position: 63% center; }
  .lived-overlay { background: linear-gradient(180deg, rgba(5,12,9,.08) 0%, rgba(5,12,9,.28) 35%, rgba(5,12,9,.96) 74%); }
  .lived-content { padding-top: 240px; }
  .split-heading { grid-template-columns: 1fr; gap: 12px; }
  .moment-gallery { grid-template-columns: 1fr; }
  .moment-card, .moment-card:last-child { grid-column: auto; min-height: 340px; }
  .moment-arabic { margin-top: 45px; }
  .anatomy-layout { grid-template-columns: 1fr; }
  .anatomy-index { position: static; display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(20,33,25,.18); }
  .anatomy-tab { min-width: 120px; display: flex; flex-direction: column; gap: 5px; border-bottom: 0; border-right: 1px solid rgba(20,33,25,.13); }
  .anatomy-tab > span { padding-top: 0; }
  .anatomy-tab.active { padding-left: 12px; background: rgba(255,255,255,.2); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-today, .feature-journal { grid-column: auto; min-height: 500px; display: flex; }
  .feature-today { align-items: stretch; }
  .mini-today { margin-top: auto; }
  .voices-layout, .trust-layout, .faq-layout { grid-template-columns: 1fr; }
  .trust-statement, .faq-heading { position: static; }
  .voice-player { min-height: 430px; padding: 42px; }
  .plan-cards { grid-template-columns: 1fr; }
  .journey-card { min-height: 420px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .library-editorial { grid-template-columns: 1fr; gap: 22px; }
  .standard-page-intro { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .standard-page-hero { padding-top: calc(var(--home-nav-total) + 58px); }
  .legal-toc ol { grid-template-columns: 1fr; }
  .library-shelf { grid-template-columns: 1fr; }
  .library-shelf a, .library-shelf a:nth-child(2n) { padding-left: 0; border-left: 0; }
  .library-shelf a:hover, .library-shelf a:nth-child(2n):hover { padding-left: 14px; }
  .library-cta { flex-direction: column; align-items: stretch; }
  .source-grid, .dua-card-grid, .source-dua-grid, .movement-grid, .story-beat-grid, .library-card-grid, .library-card-grid.categories { grid-template-columns: 1fr; }
  .library-stats { grid-template-columns: repeat(2, 1fr); }
  .library-footer .container { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container, .nav-shell { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 76px 0; }
  .hero { padding-bottom: 50px; }
  .hero-lede { font-size: .93rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .proof-row { gap: 8px 13px; font-size: .58rem; }
  .hero-demo { min-height: 570px; transform: scale(.82); margin: -65px -50px -55px; }
  .section-heading { margin-bottom: 48px; }
  .path-steps { grid-template-columns: 1fr; gap: 36px; }
  .path-steps li { padding-right: 0; }
  .lived-facts { grid-template-columns: 1fr; }
  .lived-facts span { padding-top: 14px; }
  .feature-card { padding: 28px; }
  .moment-manuscript { padding: 34px 24px; }
  .anatomy-block.active { margin-inline: -12px; padding-left: 12px; }
  .manuscript-head { gap: 20px; }
  .verse-meta { flex-direction: column; gap: 8px; }
  .verse-meta span + span { padding-left: 0; border-left: 0; }
  .feature-today { gap: 30px; }
  .journal-note { font-size: 1rem; padding: 24px; }
  .voice-player { padding: 35px 30px; }
  .voice-player::after { inset: 14px; }
  .voice-player > p:not(.player-note) { margin: 48px 0; }
  .trust-list article { grid-template-columns: 38px 1fr; }
  .price-card { padding: 32px 25px; }
  .store-row { flex-direction: column; align-items: stretch; }
  .store-badge { text-align: center; }
  .article-hero, .library-index-hero { padding: 58px 0 54px; }
  .standard-page-hero { padding: calc(var(--home-nav-total) + 44px) 0 52px; }
  .standard-page { padding-top: 52px; padding-bottom: 70px; }
  .article-content { padding-top: 52px; }
  .article-summary, .article-panel, .dua-list, .soul-note, .source-dua-section { padding: 24px; }
  .source-grid article, .dua-card, .source-dua-card, .movement-card, .story-beat-card, .library-topic-card { min-height: auto; padding: 22px; }
  .source-dua-topline { align-items: flex-start; flex-direction: column; }
  .library-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 9px; }
  .footer-verse { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Quran Voice homepage v2
   An editorial product story with a compact rhythm and a broader color system.
   ========================================================================== */

.home-v2 {
  --paper: #f2f0e7;
  --paper-bright: #faf8f0;
  --ink-green: #0d2119;
  --forest: #12382c;
  --blue: #1a2e48;
  --blue-soft: #c9dce1;
  --saffron: #dfbc52;
  --clay: #cf927b;
  background: var(--paper);
  color: var(--ink-green);
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.library-body h1,
.library-body h2,
.library-body h3 {
  letter-spacing: 0;
}

.home-v2 .section { padding: 104px 0; }
.home-v2 h2 { font-size: clamp(3rem, 5.4vw, 5.8rem); line-height: .98; }
.home-v2 h2 em,
.home-v2 h3 em { color: inherit; font-weight: 400; }
.home-v2 .eyebrow,
.home-v2 .chapter-label { letter-spacing: .16em; }

.home-v2 .site-nav {
  height: 134px;
  background: rgba(7, 17, 13, .86);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px);
}
.home-v2 .site-nav.scrolled { background: rgba(7,17,13,.94); }
.home-v2 .nav-shell { height: 88px; }
.home-v2 .site-nav .brand { color: #f6f4ea; }
.home-v2 .nav-library {
  height: 46px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,.1);
}
.home-v2 .nav-library a {
  min-width: 162px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-left: 1px solid rgba(255,255,255,.08);
  color: #9eb0a6;
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.home-v2 .nav-library a:last-child { border-right: 1px solid rgba(255,255,255,.08); }
.home-v2 .nav-library a:hover { background: rgba(255,255,255,.05); color: #fff8dc; }
.home-v2 .nav-library span { color: var(--saffron); font-family: var(--serif); font-size: .78rem; }

.hero-v2 {
  min-height: 920px;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #07140f;
  color: #f6f4ea;
  isolation: isolate;
  padding-top: 126px;
}
.hero-v2::before,
.hero-v2::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 126px;
  bottom: 0;
  width: 1px;
  background: rgba(246, 244, 234, .12);
}
.hero-v2::before { left: max(24px, calc((100vw - var(--container)) / 2)); }
.hero-v2::after { right: max(24px, calc((100vw - var(--container)) / 2)); }
.hero-v2-inner {
  min-height: 794px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero-v2-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0 0;
  text-align: center;
}
.hero-v2 .eyebrow { color: #83d8bf; }
.hero-v2 h1 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: clamp(5rem, 8.2vw, 8.4rem);
  font-weight: 400;
  line-height: .86;
}
.hero-v2-tagline {
  max-width: 790px;
  margin: 22px auto 20px;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4vw, 4.35rem);
  line-height: 1;
}
.hero-v2-tagline em { color: var(--saffron); }
.hero-v2 .hero-lede { max-width: 590px; margin-inline: auto; color: #b9cac0; line-height: 1.7; }
.hero-v2 .hero-actions { align-items: center; justify-content: center; margin-top: 28px; }
.hero-v2 .text-link {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: #f3f4ed;
  font-size: .77rem;
  font-weight: 700;
}
.hero-v2 .text-link span { color: var(--saffron); }
.hero-product {
  position: absolute;
  z-index: 2;
  top: 548px;
  left: calc(50% - 162px);
  display: grid;
  place-items: center;
  padding: 0;
}
.hero-product .phone-shell { width: 324px; }
.hero-product .hero-phone { animation: none; transform: none; }

.proof-ledger { background: var(--paper); border-bottom: 1px solid rgba(13,33,25,.16); }
.proof-ledger-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-ledger-grid div { min-height: 148px; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; border-left: 1px solid rgba(13,33,25,.14); }
.proof-ledger-grid div:last-child { border-right: 1px solid rgba(13,33,25,.14); }
.proof-ledger-grid div:nth-child(2) { background: var(--saffron); }
.proof-ledger-grid div:nth-child(3) { background: var(--blue-soft); }
.proof-ledger-grid div:nth-child(4) { background: var(--clay); }
.proof-ledger-grid div:nth-child(4) strong { color: var(--ink-green); }
.proof-ledger-grid div:nth-child(4) span { color: #3e221b; }
.proof-ledger strong { color: var(--forest); font-family: var(--serif); font-size: 2.15rem; font-weight: 500; line-height: 1; }
.proof-ledger span { margin-top: 10px; color: #30483d; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.chapter-line { display: flex; align-items: center; gap: 18px; margin-bottom: 58px; color: #5f6c64; }
.chapter-line::after { content: ""; height: 1px; flex: 1; background: rgba(13,33,25,.17); }
.chapter-line > span { color: #8b6b12; font-family: var(--serif); font-size: 1.25rem; }
.chapter-line p { margin: 0; font-size: .64rem; font-weight: 700; letter-spacing: .15em; }
.chapter-line.light { color: #aab9b0; }
.chapter-line.light::after { background: rgba(255,255,255,.16); }
.chapter-line.light > span { color: var(--saffron); }

.return-v2 { background: var(--paper); }
.return-v2-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.return-v2-intro h2 { margin-bottom: 0; }
.return-v2-intro h2 em { color: #947216; }
.return-v2-intro > p { margin-bottom: 8px; color: #5a685f; }
.friction-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 74px;
  border-block: 1px solid rgba(13,33,25,.17);
}
.friction-ledger article { min-height: 300px; padding: 28px 34px 32px 0; }
.friction-ledger article + article { padding-left: 34px; border-left: 1px solid rgba(13,33,25,.17); }
.friction-ledger article > span { color: #9b7a1b; font-family: var(--serif); }
.friction-ledger h3 { margin: 70px 0 15px; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.friction-ledger p { margin: 0; color: #5e6b63; font-size: .86rem; }
.return-v2-quote {
  max-width: 980px;
  margin: 84px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  line-height: 1.08;
}
.return-v2-quote em { color: #9a7617; }

.moment-v2 { background: var(--blue); color: #f3f4ee; overflow: hidden; }
.moment-v2-heading { display: grid; grid-template-columns: 1fr 410px; gap: 80px; align-items: end; }
.moment-v2-heading h2 { margin-bottom: 0; }
.moment-v2-heading h2 em { color: #b9d8dc; }
.moment-v2-heading > p { margin-bottom: 10px; color: #aebdc5; }
.moment-v2-stage { display: grid; grid-template-columns: 310px 1fr; gap: 58px; align-items: start; margin-top: 68px; }
.moment-v2 .anatomy-index { position: static; border-color: rgba(255,255,255,.18); }
.moment-v2 .anatomy-tab { border-color: rgba(255,255,255,.12); color: #8ea2ae; }
.moment-v2 .anatomy-tab strong { color: #c8d6db; }
.moment-v2 .anatomy-tab > span { color: var(--saffron); }
.moment-v2 .anatomy-tab.active { color: #fff; border-bottom-color: var(--saffron); }
.moment-v2 .anatomy-tab.active strong,
.moment-v2 .anatomy-tab.active > span { color: #fff3c6; }
.moment-v2 .moment-manuscript { min-height: 655px; background: var(--paper-bright); box-shadow: 0 38px 90px rgba(0,0,0,.28); }
.home-v2 .anatomy-block { display: none; min-height: 280px; }
.home-v2 .anatomy-block.active { display: block; }

.lived-v2 { min-height: 670px; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #f8f5e9; background: #07110d; }
.lived-v2 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lived-v2-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,9,.94), rgba(5,12,9,.56) 52%, rgba(5,12,9,.08)); }
.lived-v2-copy { position: relative; z-index: 2; padding-bottom: 88px; }
.chapter-label { margin: 0 0 24px; color: #315e50; font-size: .65rem; font-weight: 700; }
.lived-v2 .chapter-label { color: #8ce0c7; }
.lived-v2 blockquote { max-width: 800px; margin: 0 0 25px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: 1.02; }
.lived-v2 blockquote em { color: var(--saffron); }
.lived-v2-copy > p:last-child { max-width: 570px; color: #bac6bf; }

.inside-v2 { background: var(--paper); }
.inside-v2-header { padding-top: 104px; padding-bottom: 92px; }
.inside-v2-header h2 { max-width: 1000px; margin-bottom: 0; }
.inside-v2-header h2 em { color: #977416; }
.feature-band { border-top: 1px solid rgba(13,33,25,.16); }
.feature-band-inner { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.feature-band-inner.reverse > :first-child { order: 1; }
.feature-band-copy h3 { max-width: 570px; margin: 0 0 25px; font-family: var(--serif); font-size: clamp(2.8rem, 4.6vw, 5rem); font-weight: 400; line-height: .98; }
.feature-band-copy > p:last-child { max-width: 540px; color: #4f5e55; }
.today-band { background: var(--blue-soft); }
.ask-band { background: var(--paper-bright); }
.plans-band { background: var(--saffron); }
.plans-band .chapter-label,
.plans-band .feature-band-copy > p:last-child,
.plans-band .journey-index span { color: #30483d; }
.today-sheet {
  padding: 46px;
  border: 1px solid rgba(13,33,25,.2);
  background: var(--ink-green);
  color: #f2f4ed;
}
.today-sheet > span { color: #89dec4; font-size: .62rem; letter-spacing: .12em; }
.today-sheet > strong { display: block; margin-top: 62px; font-family: var(--serif); font-size: 4.2rem; font-weight: 400; line-height: 1; }
.today-sheet > small { color: var(--saffron); }
.today-sheet blockquote { margin: 44px 0; font-family: var(--serif); font-size: 1.7rem; line-height: 1.35; }
.today-sheet > p { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: #a7b6ad; font-size: .65rem; letter-spacing: .12em; }
.ask-transcript { padding: 48px 0; }
.ask-question { width: 76%; margin-left: auto; padding: 18px 22px; background: var(--saffron); color: var(--ink-green); font-weight: 600; }
.ask-response { display: flex; gap: 15px; margin: 16px 0 12px; padding: 24px; border: 1px solid rgba(13,33,25,.16); background: #edf1e8; }
.ask-response > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; background: var(--forest); color: white; font-size: .58rem; font-weight: 700; }
.ask-response p { margin: 0; color: #34473d; }
.ask-transcript > small { color: #6b776f; }
.journey-index { border-top: 1px solid rgba(13,33,25,.23); }
.journey-index > div { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 25px 0; border-bottom: 1px solid rgba(13,33,25,.23); }
.journey-index span { color: #496055; font-size: .62rem; font-weight: 700; letter-spacing: .1em; }
.journey-index strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.journey-index i { grid-column: 2; display: block; height: 3px; background: linear-gradient(90deg, var(--forest) var(--progress), rgba(13,33,25,.17) var(--progress)); }

.approach-v2 { background: var(--ink-green); color: #eff2eb; }
.approach-v2-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; }
.approach-v2-statement { position: sticky; top: 160px; align-self: start; }
.approach-v2-statement .verse-arabic { margin-top: 0; color: #f7df8b; text-align: left; }
.approach-v2-statement blockquote { margin: 0 0 25px; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: 1.04; }
.approach-v2-statement > p:last-child { color: #8da097; font-size: .66rem; letter-spacing: .08em; }
.trust-ledger article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 31px 0; border-top: 1px solid rgba(255,255,255,.14); }
.trust-ledger article:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.trust-ledger article > span { color: var(--saffron); font-family: var(--serif); }
.trust-ledger h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.trust-ledger p { margin: 0; color: #aab9b0; font-size: .86rem; }

.voices-v2 { background: #d9a38c; color: var(--ink-green); }
.voices-v2-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: center; }
.voices-v2-copy h2 em { color: #604812; }
.voices-v2-copy > p:not(.chapter-label),
.voices-v2 .chapter-label,
.voices-v2 .voice-button { color: #263b32; }
.voices-v2 .voice-button { border-color: rgba(13,33,25,.16); }
.voices-v2 .voice-button.active { background: rgba(255,255,255,.55); }
.voices-v2 .voice-player { background: var(--blue); }
.voices-v2 .voice-player[data-current-voice="ustadh"] { background: #17423d; }
.voices-v2 .voice-player[data-current-voice="sakina"] { background: #59465e; }

.home-v2 .home-library { background: var(--paper); }
.home-v2 .library-editorial { grid-template-columns: 1.15fr .85fr; }
.home-v2 .library-editorial h2 em { color: #947116; }
.home-v2 .library-shelf { margin: 0; padding: 0; list-style: none; }
.home-v2 .library-shelf li { margin: 0; }
.home-v2 .library-shelf a { min-height: 190px; }

.pricing-v2 { background: var(--blue-soft); }
.pricing-v2-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.pricing-v2-copy h2 em { color: #765d18; }
.pricing-v2-copy > p:last-child { max-width: 550px; color: #536159; }
.price-ledger { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(13,33,25,.2); }
.price-ledger article { min-height: 260px; padding: 32px; background: rgba(255,255,255,.3); }
.price-ledger article + article { border-left: 1px solid rgba(13,33,25,.2); }
.price-ledger article.featured { background: var(--ink-green); color: #eff2eb; }
.price-ledger article > span { color: #276b59; font-size: .62rem; font-weight: 700; letter-spacing: .11em; }
.price-ledger article.featured > span { color: #88dcc4; }
.price-ledger article p { margin: 80px 0 6px; }
.price-ledger article p > span { display: block; font-size: .9rem; }
.price-ledger article strong { font-family: var(--serif); font-size: 3.1rem; font-weight: 500; }
.price-ledger article small { color: #4b5a52; }
.price-ledger article.featured small { color: #aab9b0; }
.price-ledger ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 20px; margin: 0; padding: 24px 32px; list-style: none; background: var(--paper-bright); }
.price-ledger li { padding: 11px 0; color: #4b5a52; font-size: .78rem; }
.price-ledger li::before { content: "✓"; margin-right: 9px; color: #17755f; font-weight: 700; }
.price-ledger .price-disclosure { grid-column: 1 / -1; margin: 0; padding: 0 32px 24px; color: #4b5a52; font-size: .78rem; line-height: 1.7; background: var(--paper-bright); }

.faq-v2 { background: var(--paper-bright); }
.faq-v2-grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: 100px; }
.faq-v2 .faq-heading { position: sticky; top: 160px; }
.faq-v2 .faq-heading h2 em { color: #937018; }
.faq-v2 .faq-heading > p { color: #5b6961; }
.faq-v2 .faq-list details { border-color: rgba(13,33,25,.16); }
.faq-v2 .faq-list summary { color: var(--ink-green); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.faq-v2 .faq-list details p { color: #5b6961; }
.faq-v2 .faq-list summary span { border-color: rgba(13,33,25,.17); color: #8e6e18; }

.download-v2 { min-height: 760px; position: relative; display: grid; place-items: center; overflow: hidden; text-align: center; color: #f6f4ea; background: #07110d; }
.download-v2 > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.download-v2-shade { position: absolute; inset: 0; background: rgba(5,13,9,.82); }
.download-v2-inner { position: relative; z-index: 2; max-width: 860px; }
.download-v2 h2 { margin-bottom: 25px; }
.download-v2 h2 em { color: var(--saffron); }
.download-v2-inner > p:not(.eyebrow) { color: #bec9c2; }
.download-v2 .store-badge { color: #f6f4ea; }

@media (max-width: 1050px) {
  .home-v2 .nav-library a { min-width: 0; flex: 1; padding-inline: 10px; }
  .return-v2-intro,
  .moment-v2-heading,
  .pricing-v2-grid { gap: 55px; }
  .moment-v2-stage { grid-template-columns: 260px 1fr; gap: 35px; }
  .feature-band-inner { gap: 65px; }
  .approach-v2-grid,
  .voices-v2-grid,
  .faq-v2-grid { gap: 55px; }
}

@media (max-width: 800px) {
  .home-v2 .site-nav { height: 68px; }
  .home-v2 .nav-shell { height: 68px; }
  .home-v2 .nav-library { display: none; }
  .home-v2 .section { padding: 80px 0; }
  .hero-v2 { min-height: 790px; padding-top: 68px; align-items: stretch; }
  .hero-v2::before,
  .hero-v2::after { top: 68px; }
  .hero-v2-inner { min-height: 722px; }
  .hero-v2-copy { max-width: 100%; padding: 46px 0 0; text-align: center; }
  .hero-v2 h1 { font-size: clamp(4.25rem, 20vw, 5.4rem); }
  .hero-v2-tagline { max-width: 460px; margin-top: 15px; font-size: clamp(2.2rem, 10vw, 3.05rem); }
  .hero-v2 .hero-lede { max-width: 430px; font-size: .86rem; line-height: 1.6; }
  .hero-v2 .hero-actions { max-width: 430px; margin: 23px auto 0; }
  .hero-v2 .button { width: auto; min-height: 47px; }
  .hero-v2 .text-link { min-height: 47px; }
  .hero-product { top: 535px; }
  .hero-product .hero-phone { transform: scale(.7); transform-origin: top center; }
  .proof-ledger-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-ledger-grid div { min-height: 116px; }
  .proof-ledger-grid div:nth-child(3),
  .proof-ledger-grid div:nth-child(4) { border-top: 1px solid rgba(13,33,25,.14); }
  .return-v2-intro,
  .moment-v2-heading,
  .approach-v2-grid,
  .voices-v2-grid,
  .pricing-v2-grid,
  .faq-v2-grid { grid-template-columns: 1fr; gap: 28px; }
  .chapter-line { margin-bottom: 42px; }
  .friction-ledger { grid-template-columns: 1fr; }
  .friction-ledger article { min-height: auto; padding: 26px 0; }
  .friction-ledger article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(13,33,25,.17); }
  .friction-ledger h3 { margin-top: 22px; }
  .return-v2-quote { margin-top: 58px; text-align: left; }
  .moment-v2-stage { grid-template-columns: 1fr; margin-top: 45px; }
  .moment-v2 .anatomy-index { display: grid; grid-template-columns: repeat(5, minmax(128px, 1fr)); overflow-x: auto; }
  .moment-v2 .anatomy-tab { min-width: 128px; }
  .moment-v2 .moment-manuscript { min-height: 550px; }
  .lived-v2 { min-height: 610px; }
  .lived-v2-shade { background: linear-gradient(180deg, rgba(5,12,9,.12), rgba(5,12,9,.9) 68%); }
  .lived-v2-copy { padding-bottom: 54px; }
  .inside-v2-header { padding-top: 80px; padding-bottom: 66px; }
  .feature-band-inner,
  .feature-band-inner.reverse { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-top: 70px; padding-bottom: 70px; }
  .feature-band-inner.reverse > :first-child { order: 2; }
  .today-sheet,
  .ask-transcript { width: 100%; }
  .approach-v2-statement,
  .faq-v2 .faq-heading { position: static; }
  .approach-v2-statement .verse-arabic { text-align: right; }
  .voices-v2 .voice-player { min-height: 390px; }
  .home-v2 .library-editorial { grid-template-columns: 1fr; }
  .home-v2 .library-shelf { grid-template-columns: 1fr; }
  .home-v2 .library-shelf a,
  .home-v2 .library-shelf a:nth-child(2n) { padding-left: 0; border-left: 0; }
  .price-ledger { grid-template-columns: 1fr; }
  .price-ledger article + article { border-left: 0; border-top: 1px solid rgba(13,33,25,.2); }
  .price-ledger ul { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home-v2 .section { padding: 68px 0; }
  .home-v2 h2 { font-size: clamp(2.75rem, 13vw, 3.55rem); }
  .home-v2 .nav-shell { width: calc(100% - 24px); }
  .hero-v2 { min-height: 790px; }
  .hero-v2-copy { padding-top: 32px; }
  .hero-v2 h1 { font-size: 4.1rem; }
  .hero-v2-tagline { max-width: 350px; font-size: 2.35rem; }
  .hero-v2 .hero-actions { flex-direction: row; }
  .hero-v2 .button { padding-inline: 17px; font-size: .74rem; }
  .hero-v2 .text-link { font-size: .7rem; }
  .hero-product { top: 524px; }
  .hero-product .hero-phone { transform: scale(.63); }
  .proof-ledger-grid div { padding: 20px 16px; }
  .proof-ledger strong { font-size: 1.8rem; }
  .chapter-line { gap: 12px; }
  .chapter-line p { letter-spacing: .1em; }
  .moment-v2 .moment-manuscript { padding: 30px 22px; min-height: 530px; }
  .moment-v2 .moment-manuscript > h3 { margin-top: 30px; font-size: 2.25rem; }
  .home-v2 .anatomy-block { min-height: 250px; }
  .lived-v2 blockquote { font-size: 3rem; }
  .feature-band-copy h3 { font-size: 3.2rem; }
  .today-sheet { padding: 30px 24px; }
  .today-sheet > strong { margin-top: 40px; font-size: 3.2rem; }
  .ask-question { width: 90%; }
  .approach-v2-statement blockquote { font-size: 2.8rem; }
  .voices-v2 .voice-player { padding: 32px 25px; }
  .home-v2 .library-shelf a { min-height: 168px; grid-template-columns: 36px 1fr; }
  .price-ledger article { min-height: 220px; padding: 25px; }
  .price-ledger article p { margin-top: 55px; }
  .faq-v2 .faq-list summary { font-size: 1.15rem; }
  .download-v2 { min-height: 680px; }
}

/* ==========================================================================
   Quran Voice homepage v3
   Product-first, asymmetrical, and intentionally distinct from Bible Voice.
   ========================================================================== */

.home-v2 .site-nav {
  height: 76px;
  background: rgba(7, 20, 15, .94);
}

.home-v2 .site-nav.scrolled { background: rgba(7, 20, 15, .98); }

.hero-v3 {
  height: min(860px, 100svh);
  min-height: 720px;
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  background: #07140f;
  color: #f7f4e9;
}

.hero-v3-grid {
  height: 100%;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.hero-v3-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 18px;
}

.hero-v3 .eyebrow {
  margin-bottom: 26px;
  color: #82d9bd;
}

.hero-v3 h1 {
  max-width: 650px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: .89;
}

.hero-v3 h1 em {
  color: var(--saffron);
  font-weight: 400;
}

.hero-v3 .hero-lede {
  max-width: 545px;
  color: #b7c8bf;
  font-size: .98rem;
  line-height: 1.75;
}

.hero-v3 .hero-actions {
  align-items: center;
  margin-top: 30px;
}

.hero-v3 .text-link {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: #f3f4ed;
  font-size: .77rem;
  font-weight: 700;
}

.hero-v3 .text-link span { color: var(--saffron); }

.hero-includes {
  max-width: 545px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  padding-top: 19px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-includes span {
  color: #8fa399;
  font-size: .61rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-includes span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--saffron);
}

.hero-product-stage {
  height: min(630px, calc(100svh - 110px));
  min-height: 590px;
  position: relative;
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: var(--blue);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.hero-stage-head {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: #b8cbd3;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.hero-stage-head span:last-child { color: var(--saffron); }

.hero-product-stage .phone-shell {
  position: absolute;
  top: 76px;
  left: 34px;
  width: 294px;
}

.hero-product-stage .hero-phone {
  animation: none;
  transform: none;
}

.hero-product-rail {
  width: 150px;
  position: absolute;
  top: 94px;
  right: 28px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.hero-product-rail div {
  min-height: 102px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: center;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.hero-product-rail span {
  grid-row: 1 / 3;
  color: var(--saffron);
  font-family: var(--serif);
  font-size: .9rem;
}

.hero-product-rail strong {
  color: #f4f5ee;
  font-size: .62rem;
  letter-spacing: .09em;
}

.hero-product-rail small {
  margin-top: 4px;
  color: #91a5af;
  font-size: .58rem;
}

.source-strip {
  min-height: 178px;
  display: flex;
  align-items: stretch;
  background: var(--saffron);
  color: var(--ink-green);
}

.source-strip-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
}

.source-strip-lead {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 25px 0;
}

.source-strip-lead strong {
  font-family: var(--serif);
  font-size: clamp(4.4rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: .8;
}

.source-strip-lead span {
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.source-strip-points {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.source-strip-points p {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.source-strip-points p + p::before {
  content: "•";
  margin-right: 22px;
  color: rgba(13,33,25,.42);
}

.source-strip-points strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.source-strip-points span {
  margin-top: 0;
  color: #4e4d34;
  font-size: .59rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Tighter pacing through the product story. */
.return-v2.section { padding-block: 88px; }
.return-v2 .chapter-line { margin-bottom: 46px; }
.friction-ledger { margin-top: 58px; }
.friction-ledger article { min-height: 240px; }
.friction-ledger h3 { margin-top: 40px; }
.return-v2-quote { margin-top: 62px; }
.moment-v2.section { padding-block: 92px; }
.moment-v2-stage { margin-top: 56px; }
.moment-v2 .moment-manuscript { min-height: 610px; }
.moment-v2 .moment-manuscript > h3 { color: var(--ink-green); }
.inside-v2-header { padding-top: 88px; padding-bottom: 70px; }
.feature-band-inner { min-height: 560px; }
.voices-v2.section { padding-block: 88px; }
.home-v2 .library-shelf a { min-height: 170px; }

.library-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(13,33,25,.18);
}

.library-map-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid rgba(13,33,25,.18);
  border-bottom: 1px solid rgba(13,33,25,.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.library-map-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(13,33,25,.15);
}

.library-map-card span {
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.library-map-card strong {
  max-width: 330px;
  margin-top: 35px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.02;
}

.library-map-card p {
  max-width: 360px;
  margin: 16px 0 0;
  font-size: .75rem;
  line-height: 1.55;
}

.library-map-card em {
  margin-top: auto;
  padding-top: 22px;
  font-size: .64rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
}

.library-map-card.tone-forest { background: var(--forest); color: #f4f4ec; }
.library-map-card.tone-saffron { background: var(--saffron); color: var(--ink-green); }
.library-map-card.tone-sky { background: var(--blue-soft); color: var(--ink-green); }
.library-map-card.tone-clay { background: var(--clay); color: #261813; }
.library-map-card.tone-blue { background: var(--blue); color: #f4f4ec; }
.library-map-card.tone-paper { background: var(--paper-bright); color: var(--ink-green); }
.library-map-card.tone-forest span,
.library-map-card.tone-blue span { color: #8bd7c1; }
.library-map-card.tone-forest p,
.library-map-card.tone-blue p { color: #b8c6c0; }
.library-map-card.tone-saffron span { color: #30483d; }
.library-map-card.tone-clay span { color: #442a22; }
.library-map-card.tone-sky span,
.library-map-card.tone-paper span { color: #315e50; }

@media (max-width: 1120px) {
  .hero-v3-grid { grid-template-columns: .86fr 1.14fr; gap: 42px; }
  .hero-product-stage .phone-shell { left: 22px; width: 282px; }
  .hero-product-rail { right: 20px; width: 132px; }
  .hero-v3 h1 { font-size: clamp(4rem, 6.4vw, 5.8rem); }
}

@media (max-width: 800px) {
  .home-v2 .site-nav { height: 68px; }
  .hero-v3 {
    height: auto;
    min-height: 950px;
    padding-top: 68px;
  }
  .hero-v3-grid {
    height: auto;
    display: block;
  }
  .hero-v3-copy { padding: 42px 0 0; }
  .hero-v3 .eyebrow { margin-bottom: 20px; }
  .hero-v3 h1 {
    max-width: 580px;
    margin-bottom: 22px;
    font-size: clamp(3.8rem, 15vw, 5.2rem);
  }
  .hero-v3 .hero-lede { max-width: 560px; font-size: .88rem; line-height: 1.65; }
  .hero-v3 .hero-actions { margin-top: 23px; }
  .hero-includes { margin-top: 22px; padding-top: 15px; }
  .hero-product-stage {
    width: 100%;
    height: 430px;
    min-height: 0;
    margin-top: 34px;
  }
  .hero-product-stage .phone-shell {
    top: 58px;
    left: 50%;
    width: 294px;
    transform: translateX(-50%) scale(.72);
    transform-origin: top center;
  }
  .hero-product-rail { display: none; }
  .source-strip-grid { grid-template-columns: 1fr; }
  .source-strip-lead {
    min-height: 135px;
    padding: 24px;
    border-bottom: 1px solid rgba(13,33,25,.2);
  }
  .source-strip-points {
    min-height: 118px;
    justify-content: flex-start;
    gap: 18px;
    padding-inline: 24px;
  }
  .source-strip-points p { padding: 20px 0; }
  .source-strip-points p + p::before { margin-right: 8px; }
  .source-strip-points strong { font-size: 1.5rem; }
  .return-v2.section,
  .moment-v2.section,
  .voices-v2.section { padding-block: 72px; }
  .friction-ledger { margin-top: 42px; }
  .friction-ledger article { min-height: auto; }
  .return-v2-quote { margin-top: 46px; }
  .inside-v2-header { padding-top: 72px; padding-bottom: 52px; }
  .feature-band-inner,
  .feature-band-inner.reverse { padding-top: 56px; padding-bottom: 56px; }
  .library-map { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .hero-v3 { min-height: 930px; }
  .hero-v3-copy { padding-top: 32px; }
  .hero-v3 h1 { font-size: 3.65rem; }
  .hero-v3 .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-v3 .button,
  .hero-v3 .text-link { width: 100%; }
  .hero-v3 .text-link { justify-content: center; }
  .hero-includes { gap: 7px 15px; }
  .hero-product-stage { height: 388px; margin-top: 27px; }
  .hero-stage-head { height: 48px; padding-inline: 16px; }
  .hero-product-stage .phone-shell {
    top: 54px;
    transform: translateX(-50%) scale(.65);
  }
  .source-strip-lead { gap: 16px; }
  .source-strip-lead strong { font-size: 4.2rem; }
  .source-strip-points {
    min-height: 174px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .source-strip-points p { min-height: 82px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .source-strip-points p + p::before { display: none; }
  .source-strip-points p:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid rgba(13,33,25,.2); }
  .return-v2.section { padding-block: 58px; }
  .return-v2 .chapter-line { margin-bottom: 34px; }
  .friction-ledger article { padding-block: 20px; }
  .friction-ledger h3 { margin-top: 12px; }
  .inside-v2-header { padding-top: 58px; padding-bottom: 42px; }
  .feature-band-inner,
  .feature-band-inner.reverse {
    gap: 28px;
    padding-top: 46px;
    padding-bottom: 46px;
  }
  .feature-band-copy h3 { font-size: 2.65rem; }
  .today-sheet { padding: 26px 22px; }
  .today-sheet > strong { margin-top: 30px; }
  .today-sheet blockquote { margin-block: 28px; }
  .ask-transcript { padding-block: 20px; }
  .journey-index > div { padding-block: 20px; }
  .library-map { grid-template-columns: repeat(2, 1fr); }
  .library-map-card {
    min-height: 270px;
    padding: 18px;
  }
  .library-map-card strong { margin-top: 20px; font-size: 1.48rem; }
  .library-map-card p { font-size: .68rem; }
}

/* ==========================================================================
   Quran Voice mobile-app campaign
   A concrete product gallery: Today, Ask, and Plans shown as real app screens.
   ========================================================================== */

.hero-app {
  min-height: 960px;
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  background: #07140f;
  color: #f8f6ee;
}

.hero-app-copy {
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: clamp(56px, 7vw, 112px);
  align-items: end;
  padding-top: 68px;
  padding-bottom: 42px;
}

.hero-app-statement .eyebrow {
  margin-bottom: 24px;
  color: #85e2c5;
}

.hero-app h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(4.75rem, 6.7vw, 7.15rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.067em;
}

.hero-app h1 span {
  color: var(--saffron);
}

.hero-app-intro {
  padding-bottom: 8px;
}

.hero-app-intro > p:first-child {
  max-width: 460px;
  margin-bottom: 25px;
  color: #baccc2;
  font-size: .94rem;
  line-height: 1.75;
}

.hero-store-row {
  display: flex;
  gap: 10px;
}

.app-store-button {
  min-width: 150px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 13px;
  background: #f7f3e6;
  color: #0b1712;
  transition: transform .2s, background .2s, border-color .2s;
}

.app-store-button:hover {
  transform: translateY(-2px);
  border-color: var(--saffron);
  background: #fffaf0;
}

.app-store-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.app-store-button span {
  display: flex;
  flex-direction: column;
}

.app-store-button small {
  font-size: .48rem;
  line-height: 1.1;
}

.app-store-button strong {
  margin-top: 2px;
  font-size: .76rem;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.hero-availability {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #81958a;
  font-size: .59rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.35;
}

.hero-availability i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(37,194,158,.11);
}

.app-gallery {
  height: 535px;
  position: relative;
}

.app-gallery-labels {
  height: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.app-gallery-labels span {
  color: #7f968b;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
}

.app-gallery-labels span:nth-child(2) {
  color: var(--saffron);
}

.app-phone {
  position: absolute;
  animation: none;
  border-color: rgba(255,255,255,.3);
  background: #030806;
  box-shadow: 0 35px 90px rgba(0,0,0,.48);
}

.app-phone .phone-screen {
  min-height: 620px;
  background: #0e1411;
}

.app-phone-ask,
.app-phone-voices {
  z-index: 1;
  top: 112px;
  width: 298px;
  opacity: .92;
}

.app-phone-ask {
  left: 24px;
  transform: rotate(-2.8deg);
}

.app-phone-voices {
  right: 24px;
  transform: rotate(2.8deg);
}

.app-phone-today {
  z-index: 3;
  top: 63px;
  left: 50%;
  width: 336px;
  transform: translateX(-50%);
  box-shadow: 0 44px 110px rgba(0,0,0,.62), 0 0 0 1px rgba(242,206,106,.08);
}

.app-phone-today .phone-screen {
  background: linear-gradient(180deg, #111b16, #0b120f);
}

.mobile-screen-header {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-screen-header strong {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -.035em;
}

.mobile-screen-header button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(37,194,158,.11);
  color: #76dfc2;
  font-size: .55rem;
  font-weight: 700;
}

.ask-screen-welcome {
  padding: 32px 6px 18px;
  text-align: center;
}

.screen-glyph {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(242,206,106,.36);
  border-radius: 15px;
  background: rgba(242,206,106,.08);
  color: var(--gold);
  font-size: .59rem;
  font-weight: 700;
}

.ask-screen-welcome h2 {
  margin-bottom: 8px;
  color: #f7f4ea;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.ask-screen-welcome p {
  color: #82938a;
  font-size: .64rem;
  line-height: 1.55;
}

.ask-starters {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
}

.ask-starters span,
.plan-needs span {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: #9aaba2;
  font-size: .53rem;
}

.mobile-chat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mobile-question {
  max-width: 88%;
  align-self: flex-end;
  margin: 0 0 15px;
  border-radius: 16px 16px 3px 16px;
  padding: 11px 13px;
  background: #245b4c;
  color: #f0f5f2;
  font-size: .65rem;
  line-height: 1.45;
}

.mobile-answer {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
}

.mobile-answer b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37,194,158,.3);
  border-radius: 10px;
  color: #5de0bd;
  font-size: .47rem;
}

.mobile-answer p {
  margin: 1px 0 7px;
  color: #d4ddd8;
  font-size: .64rem;
  line-height: 1.6;
}

.mobile-chat > small {
  margin-left: 37px;
  color: #d7b95b;
  font-size: .5rem;
}

.mobile-input {
  position: absolute;
  right: 14px;
  bottom: 64px;
  left: 14px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 15px;
  padding: 0 8px 0 13px;
  background: #17221c;
  color: #6d7c74;
  font-size: .58rem;
}

.mobile-input span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--emerald);
  color: #07140f;
  font-weight: 800;
}

.today-greeting {
  display: grid;
  grid-template-columns: 38px 1fr 30px;
  gap: 10px;
  align-items: center;
}

.time-glyph,
.settings-glyph {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(242,206,106,.09);
  color: var(--gold);
}

.time-glyph {
  width: 38px;
  height: 38px;
  font-size: .9rem;
}

.settings-glyph {
  width: 28px;
  height: 28px;
  color: #8e9c94;
  font-size: .5rem;
}

.today-greeting strong,
.today-greeting small {
  display: block;
}

.today-greeting strong {
  color: #f7f7f3;
  font-size: .73rem;
  line-height: 1.25;
}

.today-greeting small {
  margin-top: 3px;
  color: #8c9b93;
  font-family: var(--serif);
  font-size: .64rem;
  font-style: italic;
}

.arrival-label {
  margin: 21px 0 9px;
  color: #9baaa2;
  font-size: .51rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.app-phone-today .mood-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  overflow: visible;
  margin: 0 0 12px;
  padding: 0;
}

.app-phone-today .mood-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 7px 9px;
  text-align: left;
}

.app-phone-today .mood-pill span {
  color: #82a498;
  font-size: .72rem;
}

.app-phone-today .mood-pill.active span {
  color: var(--gold);
}

.app-phone-today .ayah-card {
  border-radius: 20px;
  padding: 16px;
}

.app-phone-today .arabic {
  margin: 16px 0 11px;
  font-size: 1.46rem;
}

.app-phone-today .translation {
  font-size: .74rem;
}

.app-phone-today .meaning-line {
  margin: 13px 0 11px;
}

.app-phone-today .explanation {
  min-height: 58px;
  margin-bottom: 10px;
  font-size: .61rem;
  line-height: 1.55;
}

.app-phone-today .listen-button {
  height: 37px;
}

.plan-needs {
  display: flex;
  gap: 6px;
  margin: 12px -16px 24px;
  padding: 0 16px;
}

.plan-needs span.active {
  border-color: rgba(37,194,158,.42);
  background: rgba(37,194,158,.12);
  color: #68dabb;
}

.plan-eyebrow {
  margin: 0 0 9px;
  color: #82968c;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.mobile-plan-feature {
  border: 1px solid rgba(37,194,158,.25);
  border-radius: 22px;
  padding: 21px 18px 17px;
  background: linear-gradient(145deg, #163b30, #10231c);
}

.mobile-plan-feature > span {
  color: #67d7b8;
  font-size: .49rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.mobile-plan-feature h2 {
  margin: 22px 0 8px;
  color: #f8f6ee;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.mobile-plan-feature p {
  margin-bottom: 18px;
  color: #a9b8b0;
  font-size: .62rem;
  line-height: 1.55;
}

.plan-progress {
  height: 3px;
  overflow: hidden;
  margin-bottom: 17px;
  border-radius: 99px;
  background: rgba(255,255,255,.11);
}

.plan-progress i {
  width: 42%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--gold);
}

.mobile-plan-feature button {
  width: 100%;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 11px;
  padding: 0 12px;
  background: var(--emerald);
  color: #07140f;
  font-size: .6rem;
  font-weight: 750;
}

.plan-list-label {
  margin-top: 22px;
}

.mobile-plan-day {
  min-height: 55px;
  display: grid;
  grid-template-columns: 29px 1fr 10px;
  gap: 9px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
}

.mobile-plan-day > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(242,206,106,.1);
  color: var(--gold);
  font-size: .52rem;
}

.mobile-plan-day strong,
.mobile-plan-day small {
  display: block;
}

.mobile-plan-day strong {
  color: #e6ebe8;
  font-size: .61rem;
}

.mobile-plan-day small {
  margin-top: 2px;
  color: #728078;
  font-size: .49rem;
}

.mobile-plan-day > b {
  color: #6f7e76;
  font-weight: 500;
}

.voice-screen-intro {
  padding: 16px 0 18px;
}

.voice-screen-intro h2 {
  margin: 13px 0 0;
  color: #f7f4ea;
  font-family: var(--serif);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.02;
}

.hero-voice-list {
  display: grid;
  gap: 8px;
}

.hero-voice-card {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr 16px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  padding: 9px 11px;
  background: rgba(255,255,255,.025);
}

.hero-voice-card.active {
  border-color: rgba(216,180,90,.47);
  background: rgba(216,180,90,.09);
}

.voice-orb {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: .56rem;
  font-style: normal;
  font-weight: 800;
}

.voice-orb.rafiq {
  background: rgba(216,180,90,.18);
  color: #f0d47e;
}

.voice-orb.ustadh {
  background: rgba(47,163,154,.18);
  color: #63cfc5;
}

.voice-orb.sakina {
  background: rgba(142,151,214,.18);
  color: #b0b8ef;
}

.hero-voice-card span,
.hero-voice-card strong,
.hero-voice-card small {
  display: block;
}

.hero-voice-card strong {
  color: #f1f4f2;
  font-size: .64rem;
}

.hero-voice-card small {
  margin-top: 2px;
  color: #83928a;
  font-size: .49rem;
  line-height: 1.35;
}

.hero-voice-card > b {
  color: var(--gold);
  font-size: .64rem;
}

.hero-voice-sample {
  position: relative;
  margin-top: 15px;
  border: 1px solid rgba(37,194,158,.22);
  border-radius: 17px;
  padding: 13px;
  background: #13261f;
}

.hero-voice-sample > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 8px;
}

.hero-voice-sample .play-symbol {
  grid-row: 1 / 3;
}

.hero-voice-sample strong,
.hero-voice-sample small {
  display: block;
}

.hero-voice-sample strong {
  color: #e9efeb;
  font-size: .59rem;
}

.hero-voice-sample small {
  margin-top: 1px;
  color: #789087;
  font-size: .47rem;
}

.hero-voice-sample > .waveform {
  position: absolute;
  top: 19px;
  right: 13px;
}

.hero-voice-sample p {
  margin: 11px 0 0;
  color: #b7c6be;
  font-family: var(--serif);
  font-size: .68rem;
  font-style: italic;
  line-height: 1.45;
}

.voice-boundary {
  margin: 10px 0 0;
  color: #65776e;
  font-size: .44rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
}

.app-phone .phone-tabs {
  height: 51px;
  padding-inline: 4px;
}

.app-phone .phone-tabs span {
  position: relative;
  padding-top: 13px;
}

.app-phone .phone-tabs span::before {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  top: 0;
  left: calc(50% - 4.5px);
  border: 1px solid currentColor;
  border-radius: 3px;
}

.app-phone .phone-tabs .active {
  color: #62d9b9;
}

.app-flow-strip {
  background: #f2f0e7;
  color: var(--ink-green);
}

.app-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.app-flow-grid p {
  min-height: 162px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  gap: 2px 12px;
  margin: 0;
  padding: 24px 25px;
  border-left: 1px solid rgba(13,33,25,.15);
}

.app-flow-grid p:last-child {
  border-right: 1px solid rgba(13,33,25,.15);
}

.app-flow-grid p:nth-child(2) {
  background: var(--saffron);
}

.app-flow-grid p:nth-child(3) {
  background: var(--blue-soft);
}

.app-flow-grid p:nth-child(4) {
  background: var(--clay);
}

.app-flow-grid span {
  grid-row: 1 / 3;
  color: #30483d;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.app-flow-grid p:nth-child(4) span {
  color: #4f2b20;
}

.app-flow-grid strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.05;
}

.app-flow-grid small {
  color: #30483d;
  font-size: .6rem;
  line-height: 1.4;
}

.app-flow-grid p:nth-child(4) small {
  color: #442a22;
}

@media (max-width: 1050px) {
  .hero-app-copy {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 42px;
  }

  .hero-app h1 {
    font-size: clamp(4rem, 7.4vw, 5.6rem);
  }

  .app-phone-ask {
    left: -24px;
  }

  .app-phone-voices {
    right: -24px;
  }
}

@media (max-width: 800px) {
  .hero-app {
    min-height: 1060px;
    padding-top: 68px;
  }

  .hero-app-copy {
    min-height: 500px;
    display: block;
    padding-top: 52px;
    padding-bottom: 34px;
  }

  .hero-app h1 {
    max-width: 680px;
    font-size: clamp(4rem, 13vw, 6rem);
  }

  .hero-app-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
    align-items: end;
    margin-top: 28px;
  }

  .hero-app-intro > p:first-child {
    max-width: 560px;
    margin: 0;
  }

  .hero-store-row {
    grid-row: 1 / 3;
    grid-column: 2;
    flex-direction: column;
  }

  .hero-availability {
    margin-top: 0;
  }

  .app-gallery {
    height: 492px;
  }

  .app-gallery-labels {
    grid-template-columns: 1fr;
  }

  .app-gallery-labels span {
    display: none;
  }

  .app-gallery-labels span:nth-child(2) {
    display: block;
  }

  .app-phone-ask,
  .app-phone-voices {
    display: none;
  }

  .app-phone-today {
    top: 62px;
    transform: translateX(-50%) scale(.79);
    transform-origin: top center;
  }

  .app-flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-flow-grid p {
    min-height: 140px;
  }

  .app-flow-grid p:nth-child(2) {
    border-right: 1px solid rgba(13,33,25,.15);
  }

  .app-flow-grid p:nth-child(n+3) {
    border-top: 1px solid rgba(13,33,25,.15);
  }
}

@media (max-width: 560px) {
  .hero-app {
    min-height: 1015px;
  }

  .hero-app-copy {
    min-height: 520px;
    padding-top: 38px;
    padding-bottom: 24px;
  }

  .hero-app-statement .eyebrow {
    margin-bottom: 18px;
  }

  .hero-app h1 {
    font-size: clamp(3.25rem, 15.4vw, 4.15rem);
    line-height: .91;
  }

  .hero-app-intro {
    display: block;
    margin-top: 24px;
  }

  .hero-app-intro > p:first-child {
    font-size: .84rem;
    line-height: 1.65;
  }

  .hero-store-row {
    flex-direction: row;
    margin-top: 20px;
  }

  .app-store-button {
    min-width: 0;
    flex: 1;
    padding-inline: 11px;
  }

  .app-store-button svg {
    width: 20px;
    height: 20px;
  }

  .hero-availability {
    margin-top: 13px;
  }

  .app-gallery {
    height: 427px;
  }

  .app-gallery-labels {
    height: 42px;
  }

  .app-phone-today {
    top: 52px;
    transform: translateX(-50%) scale(.66);
  }

  .app-flow-grid p {
    min-height: 132px;
    grid-template-columns: 30px 1fr;
    padding: 19px 15px;
  }

  .app-flow-grid span {
    font-size: 1rem;
  }

  .app-flow-grid strong {
    font-size: 1.22rem;
  }
}

@media (max-width: 380px) {
  .hero-app h1 {
    font-size: 3.05rem;
  }

  .app-store-button strong {
    font-size: .68rem;
  }

  .app-store-button small {
    font-size: .43rem;
  }
}

/* ==========================================================================
   Two-level app masthead
   Uses the Bible Voice navigation rhythm with Quran Voice's own visual voice.
   ========================================================================== */

.home-v2 {
  --home-nav-main: 88px;
  --home-nav-sub: 46px;
  --home-nav-total: 134px;
}

.home-v2 .site-nav {
  height: var(--home-nav-total);
  background: rgba(7, 20, 15, .93);
  border-bottom: 1px solid rgba(242, 240, 231, .14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-v2 .site-nav.scrolled {
  background: rgba(7, 20, 15, .98);
  border-bottom-color: rgba(242, 240, 231, .2);
}

.home-v2 .nav-shell {
  width: min(1200px, 92%);
  height: var(--home-nav-main);
  gap: 28px;
}

.home-v2 .site-nav .brand {
  gap: 13px;
  color: #f7f4ea;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -.015em;
}

.home-v2 .site-nav .brand-icon {
  width: 80px;
  height: 80px;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(223, 188, 82, .32), 0 8px 24px rgba(0, 0, 0, .22);
}

.nav-store-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.home-v2 .nav-library {
  height: var(--home-nav-sub);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(242, 240, 231, .1);
  background: rgba(255, 255, 255, .018);
}

.home-v2 .nav-library a {
  min-width: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 clamp(16px, 2.1vw, 32px);
  border: 0;
  color: #aebdb4;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}

.home-v2 .nav-library a::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.home-v2 .nav-library a:hover {
  background: rgba(255, 255, 255, .035);
  color: #f7f4ea;
}

.home-v2 .nav-library a:hover::after {
  transform: scaleX(1);
}

.home-v2 .nav-library span {
  color: var(--saffron);
  font-family: var(--serif);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.app-store-button {
  min-width: 170px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 21px;
  border: 1.5px solid rgba(247, 244, 234, .72);
  border-radius: 14px;
  background: transparent;
  color: #f7f4ea;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.app-store-button:hover {
  transform: translateY(-2px);
  border-color: #f7f4ea;
  background: #f7f4ea;
  color: #0d2119;
}

.app-store-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.app-store-button span {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.app-store-button small {
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  opacity: .72;
}

.app-store-button strong {
  margin-top: 3px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.app-store-button.compact {
  min-width: 0;
  min-height: 38px;
  gap: 7px;
  padding: 7px 13px;
  border-color: rgba(247, 244, 234, .32);
  border-radius: 999px;
}

.app-store-button.compact svg {
  width: 17px;
  height: 17px;
}

.app-store-button.compact strong {
  margin: 0;
  font-size: .7rem;
  letter-spacing: .005em;
}

.hero-app {
  min-height: 1010px;
  padding-top: var(--home-nav-total);
}

.home-v2 section[id] {
  scroll-margin-top: calc(var(--home-nav-total) + 10px);
}

.mobile-menu-links {
  display: grid;
}

.mobile-store-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mobile-store-row .app-store-button {
  min-width: 0;
}

.download-store-row {
  justify-content: center;
}

.download-v2 .app-store-button {
  text-align: left;
}

.menu-button {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-button span {
  margin: 0 auto;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .home-v2 .nav-library {
    justify-content: center;
    padding-inline: 0;
  }

  .home-v2 .nav-library a {
    gap: 6px;
    padding-inline: clamp(9px, 1vw, 16px);
    font-size: .6rem;
  }
}

@media (max-width: 980px) {
  .home-v2 {
    --home-nav-main: 88px;
    --home-nav-sub: 0px;
    --home-nav-total: 88px;
  }

  .home-v2 .site-nav,
  .home-v2 .nav-shell {
    height: var(--home-nav-main);
  }

  .home-v2 .nav-shell {
    width: min(1200px, 92%);
  }

  .nav-store-row,
  .home-v2 .nav-library {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu {
    inset: var(--home-nav-main) 0 auto;
    max-height: calc(100dvh - var(--home-nav-main));
    padding: 18px 24px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(7, 20, 15, .99);
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-store-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .mobile-menu a {
    color: #bac9c0;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .mobile-menu .app-store-button {
    border: 1.5px solid rgba(247, 244, 234, .72);
    color: #f7f4ea;
    text-transform: none;
    letter-spacing: 0;
  }

  .hero-app {
    padding-top: var(--home-nav-total);
  }

  .home-v2 section[id] {
    scroll-margin-top: calc(var(--home-nav-total) + 8px);
  }
}

@media (max-width: 760px) {
  .home-v2 {
    --home-nav-main: 72px;
    --home-nav-total: 72px;
  }

  .home-v2 .site-nav .brand {
    font-size: 1.3rem;
  }

  .home-v2 .site-nav .brand-icon {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .home-v2 .nav-shell {
    width: min(1200px, 92%);
  }

  .home-v2 .site-nav .brand {
    gap: 10px;
    font-size: 1.3rem;
  }

  .home-v2 .site-nav .brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 22%;
  }

  .mobile-menu {
    padding-inline: 18px;
  }

  .mobile-menu-links {
    column-gap: 18px;
  }

  .mobile-store-row {
    grid-template-columns: 1fr;
  }

  .mobile-store-row .app-store-button {
    width: 100%;
  }

  .hero-store-row .app-store-button {
    min-width: 0;
    flex: 1;
    min-height: 56px;
    padding-inline: 12px;
  }

  .hero-store-row .app-store-button strong {
    font-size: .74rem;
  }

  .hero-store-row .app-store-button small {
    font-size: .44rem;
  }

  .download-store-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-store-row .app-store-button {
    width: min(260px, 100%);
    margin-inline: auto;
  }
}

/* ==========================================================================
   Shared site chrome and library theme
   One masthead, one app-button system, one palette across static pages.
   ========================================================================== */

:root {
  --paper: #f2f0e7;
  --paper-bright: #faf8f0;
  --ink-green: #0d2119;
  --forest: #12382c;
  --blue: #1a2e48;
  --blue-soft: #c9dce1;
  --saffron: #dfbc52;
  --clay: #cf927b;
  --home-nav-main: 88px;
  --home-nav-sub: 46px;
  --home-nav-total: 134px;
}

.site-chrome-body {
  --nav-height: var(--home-nav-total);
}

.site-chrome-body main [id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.site-chrome-body .site-nav {
  height: var(--home-nav-total);
  background: rgba(7, 20, 15, .94);
  border-bottom: 1px solid rgba(242, 240, 231, .14);
  color: #f7f4ea;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-chrome-body .site-nav.scrolled {
  background: rgba(7, 20, 15, .98);
  border-bottom-color: rgba(242, 240, 231, .22);
}

.site-chrome-body .nav-shell {
  width: min(1200px, 92%);
  height: var(--home-nav-main);
  gap: 28px;
}

.site-chrome-body .site-nav .brand {
  gap: 13px;
  color: #f7f4ea;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: 0;
}

.site-chrome-body .site-nav .brand-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(223, 188, 82, .32), 0 8px 24px rgba(0, 0, 0, .22);
}

.site-chrome-body .nav-library {
  height: var(--home-nav-sub);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid rgba(242, 240, 231, .1);
  background: rgba(255, 255, 255, .018);
  scrollbar-width: none;
}

.site-chrome-body .nav-library::-webkit-scrollbar {
  display: none;
}

.site-chrome-body .nav-library a {
  min-width: max-content;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 clamp(12px, 1.55vw, 24px);
  border: 0;
  color: #aebdb4;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}

.site-chrome-body .nav-library a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-chrome-body .nav-library a:hover {
  background: rgba(255, 255, 255, .035);
  color: #f7f4ea;
}

.site-chrome-body .nav-library a:hover::after {
  transform: scaleX(1);
}

.site-chrome-body .nav-library span {
  color: var(--saffron);
  font-family: var(--serif);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: 0;
}

.site-chrome-body .mobile-menu {
  background: rgba(7, 20, 15, .99);
}

.site-chrome-body .mobile-menu-links {
  display: grid;
}

.site-chrome-body.library-body .article-hero,
.site-chrome-body.library-body .library-index-hero {
  padding-top: calc(var(--home-nav-total) + 70px);
}

.site-chrome-body.library-body .library-home-hero {
  background: var(--forest);
  color: #f7f4ea;
}

.site-chrome-body.library-body .library-home-hero h1 {
  color: #f7f4ea;
}

.site-chrome-body.library-body .library-home-hero .hero-lede {
  color: #c6d4cc;
}

.site-chrome-body.library-body .library-footer {
  background: #07140f;
}

@media (max-width: 1180px) {
  .site-chrome-body .nav-library {
    justify-content: center;
    padding-inline: 0;
  }

  .site-chrome-body .nav-library a {
    gap: 6px;
    padding-inline: clamp(8px, .9vw, 14px);
    font-size: .58rem;
  }
}

@media (max-width: 980px) {
  :root {
    --home-nav-main: 88px;
    --home-nav-sub: 0px;
    --home-nav-total: 88px;
  }

  .site-chrome-body .site-nav,
  .site-chrome-body .nav-shell {
    height: var(--home-nav-main);
  }

  .site-chrome-body .nav-shell {
    width: min(1200px, 92%);
  }

  .site-chrome-body .nav-store-row,
  .site-chrome-body .nav-library {
    display: none;
  }

  .site-chrome-body .menu-button {
    display: flex;
  }

  .site-chrome-body .mobile-menu {
    inset: var(--home-nav-main) 0 auto;
    max-height: calc(100dvh - var(--home-nav-main));
    padding: 18px 24px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-chrome-body .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .site-chrome-body .mobile-store-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .site-chrome-body .mobile-menu a {
    color: #bac9c0;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .site-chrome-body .mobile-menu .app-store-button {
    border: 1.5px solid rgba(247, 244, 234, .72);
    color: #f7f4ea;
    text-transform: none;
    letter-spacing: 0;
  }

  .site-chrome-body.library-body .article-hero,
  .site-chrome-body.library-body .library-index-hero {
    padding-top: calc(var(--home-nav-total) + 54px);
  }
}

@media (max-width: 760px) {
  :root {
    --home-nav-main: 72px;
    --home-nav-total: 72px;
  }

  .site-chrome-body .site-nav .brand {
    font-size: 1.3rem;
  }

  .site-chrome-body .site-nav .brand-icon {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .site-chrome-body .nav-shell {
    width: min(1200px, 92%);
  }

  .site-chrome-body .site-nav .brand {
    gap: 10px;
    font-size: 1.3rem;
  }

  .site-chrome-body .site-nav .brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 22%;
  }

  .site-chrome-body .mobile-menu {
    padding-inline: 18px;
  }

  .site-chrome-body .mobile-menu-links {
    column-gap: 18px;
  }

  .site-chrome-body .mobile-store-row {
    grid-template-columns: 1fr;
  }

  .site-chrome-body .mobile-store-row .app-store-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-chrome-body .nav-shell { gap: 12px; }
  .site-chrome-body .site-nav .brand { gap: 10px; font-size: 1.15rem; white-space: nowrap; }
  .site-chrome-body .menu-button { flex-shrink: 0; }
}
