:root { --ink: #18342a; --muted: #69776f; --paper: #f8f4e9; --surface: #fffbf2; --line: #e2dac8; --green: #03472d; --green2: #002f1d; --gold: #c99a2e; --gold-light: #efd37a; --shadow: 0 24px 70px rgba(0,47,29,.11); }
.topbar { min-height: 80px; height: auto; background: rgba(255,251,242,.92); backdrop-filter: blur(16px); }
.brand { font-family: Georgia,"Times New Roman",serif; letter-spacing: .06em; text-transform: uppercase; }
.brand b { color: var(--gold); }
.brand-logo { width: 50px; height: 50px; padding: 4px; object-fit: contain; background: transparent; border: 1px solid rgba(201,154,46,.45); border-radius: 15px; box-shadow: 0 8px 20px rgba(1,58,35,.13); }
nav a[aria-current="page"] { color: var(--green); }
.hero { isolation: isolate; min-height: auto; grid-template-columns: minmax(0,1.08fr) minmax(320px,.64fr); gap: 48px; padding: 52px 48px; }
.hero::before { z-index: -1; width: 600px; height: 600px; right: -210px; top: -245px; border-color: rgba(1,58,35,.08); box-shadow: 0 0 0 72px rgba(1,58,35,.025),0 0 0 144px rgba(212,166,59,.025); }
.hero-copy { min-width: 0; }
.home-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 7px 14px 7px 10px; color: var(--green); background: color-mix(in srgb,var(--gold) 9%,var(--surface)); border: 1px solid color-mix(in srgb,var(--gold) 40%,var(--line)); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.home-kicker span { display: grid; width: 20px; height: 20px; place-items: center; color: #fffbf2; background: var(--green); border-radius: 50%; font-size: 10px; }
.home-brand-lockup { display: flex; align-items: center; gap: 26px; }
.home-brand-lockup > div { display: grid; gap: 8px; min-width: 0; }
.home-brand-seal { position: relative; display: grid; flex: 0 0 auto; width: 96px; height: 96px; padding: 9px; place-items: center; background: radial-gradient(circle at 35% 25%,rgba(241,204,106,.22),transparent 36%),linear-gradient(145deg,#03472d,#002f1d); border: 1px solid rgba(212,166,59,.62); border-radius: 28px; box-shadow: 0 20px 40px rgba(1,58,35,.22),inset 0 1px 0 rgba(255,251,242,.12); }
.home-brand-seal::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(201,154,46,.28); border-radius: 34px; pointer-events: none; }
.home-brand-seal img { width: 100%; height: 100%; object-fit: contain; }
.home-brand-lockup .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.home-brand-lockup .eyebrow::after { content: ""; width: 36px; height: 1px; background: color-mix(in srgb,var(--gold) 60%,transparent); }
.hero h1 { margin: 0; color: var(--green2); font: 500 80px/1 Fraunces,Georgia,serif; letter-spacing: -.01em; }
.hero h1 em { color: var(--gold); font-style: normal; background: linear-gradient(135deg,#d9ad45,#b8861f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-brand-meaning { margin: 2px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.home-brand-meaning span { color: var(--green); font-family: "Amiri","Scheherazade New",serif; font-size: 18px; }
.lead { max-width: 680px; margin: 22px 0; font-size: 17px; line-height: 1.75; }
.button-row { flex-wrap: wrap; }
.button { border-radius: 10px; }
.primary { background: var(--green); box-shadow: 0 10px 24px rgba(1,58,35,.16); }
.ghost { background: rgba(255,255,255,.66); border-color: rgba(1,58,35,.14); }
.trust { flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.trust span::before { content: "\2713"; color: var(--gold); }
.verse-card { display: grid; gap: 16px; padding: 28px; text-align: left; background: rgba(255,251,242,.88); border-color: rgba(212,166,59,.38); border-radius: 24px; }
.verse-card-heading { display: grid; gap: 5px; }
.verse-card-heading span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.verse-card-heading strong { color: var(--green); }
.verse-feature { padding: 26px 20px; color: #fffbf2; text-align: center; background: radial-gradient(circle at top right,rgba(239,211,122,.12),transparent 36%),linear-gradient(135deg,#03472d,#002f1d); border: 1px solid rgba(212,166,59,.34); border-radius: 15px; }
.verse-feature .verse-label { color: var(--gold-light); }
.verse-feature .arabic { margin: 8px 0; color: #fffbf2 !important; font-size: 36px !important; }
.verse-feature > p:not(.arabic) { margin: 4px 0 2px; color: rgba(255,249,237,.84); }
.verse-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.verse-facts span { display: grid; gap: 5px; padding: 13px 10px; color: var(--muted); background: rgba(1,58,35,.035); border: 1px solid rgba(1,58,35,.1); border-radius: 10px; font-size: 10px; font-weight: 800; }
.verse-facts strong { color: var(--green2); font: 700 1.5rem Fraunces,Georgia,serif; }
.verse-card-link { justify-self: end; color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; padding-block: 8px; }
.home-pathways { padding: 40px 48px 48px; color: #fffbf2; background: radial-gradient(circle at 84% 12%,rgba(241,204,106,.14),transparent 24%),linear-gradient(135deg,#03472d,#002f1d); border-block: 1px solid rgba(212,166,59,.34); }
.home-pathways-heading { display: grid; grid-template-columns: minmax(0,.9fr) minmax(260px,.52fr); align-items: end; gap: 28px; max-width: 1240px; margin: 0 auto 26px; }
.home-pathways .eyebrow { color: var(--gold-light); }
.home-pathways h2,.home-section h2,.home-cta h2 { margin: 8px 0 0; font: 400 36px/1.15 Fraunces,Georgia,serif; letter-spacing: 0; }
.home-pathways h2 { color: #fffbf2; }
.home-pathways-heading > p { margin: 0; color: rgba(255,249,237,.75); line-height: 1.7; }
.home-pathway-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; max-width: 1240px; margin: auto; }
.home-pathway-card { display: flex; flex-direction: column; gap: 12px; min-height: 230px; padding: 22px; color: #31473d; background: rgba(255,251,242,.98); border: 1px solid rgba(212,166,59,.36); border-radius: 14px; text-decoration: none; }
.home-pathway-card:hover { border-color: var(--gold-light); box-shadow: 0 18px 38px rgba(0,43,27,.3); transform: translateY(-3px); }
.home-pathway-card > span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.home-pathway-card strong { color: #002f1d; font: 400 1.45rem/1.1 Fraunces,Georgia,serif; }
.home-pathway-card p { margin: 0; color: #69776f; font-size: .9rem; line-height: 1.65; }
.home-pathway-card small { margin-top: auto; color: #03472d; font-weight: 800; padding-top: 8px; }
.home-section { max-width: 1336px; margin: auto; padding: 64px 48px; }
.home-purpose { display: grid; grid-template-columns: .86fr 1fr; align-items: center; gap: 48px; }
.home-purpose .section-intro { padding: 8px 0 8px 22px; border-left: 3px solid var(--gold); }
.home-purpose .section-intro .eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: 0; }
.home-purpose .section-intro h2 { margin: 0; max-width: 440px; font-size: 32px; line-height: 1.3; }
.home-purpose .section-intro h2 em { display: inline-block; margin-top: 6px; }
.section-intro h2 { color: var(--green2); }
.section-intro h2 em { color: var(--gold); font-weight: 400; }
.purpose-lead { max-width: 440px; margin: 20px 0 0; color: var(--muted); font: 400 16px/1.75 Inter,"Segoe UI",sans-serif; }
.purpose-points article { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: start; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.purpose-points article > span { display: grid; place-items: center; width: 36px; height: 36px; color: var(--green); background: color-mix(in srgb,var(--gold) 10%,var(--surface)); border: 1px solid color-mix(in srgb,var(--gold) 30%,var(--line)); border-radius: 6px; font: 700 12px Inter,"Segoe UI",sans-serif; }
.purpose-points h3 { margin: 2px 0 7px; color: var(--green2); font: 500 1.15rem/1.4 Fraunces,Georgia,serif; }
.purpose-points p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.study-rhythm { position: relative; isolation: isolate; overflow: hidden; max-width: none; margin: 0; padding: 64px 48px; color: #fffbf2; background: radial-gradient(circle at 8% 90%,rgba(241,204,106,.12),transparent 26%),linear-gradient(135deg,#03472d,#002f1d); border-block: 1px solid rgba(212,166,59,.34); }
.study-rhythm::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -160px; top: -200px; border: 1px solid rgba(239,211,122,.12); border-radius: 50%; box-shadow: 0 0 0 64px rgba(239,211,122,.03),0 0 0 128px rgba(239,211,122,.02); }
.rhythm-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); align-items: center; gap: 64px; max-width: 1240px; margin: auto; }
.rhythm-copy { display: grid; justify-items: start; }
.rhythm-copy .eyebrow { margin: 0 0 12px; color: var(--gold-light); font-size: 11px; letter-spacing: 0; }
.study-rhythm .rhythm-copy h2 { margin: 0; max-width: 440px; color: #fffbf2; font-size: 36px; line-height: 1.2; }
.rhythm-copy h2 em { color: var(--gold-light); font-style: normal; }
.rhythm-copy > p:not(.eyebrow) { max-width: 460px; margin: 16px 0 0; color: rgba(255,249,237,.75); font-size: 15px; line-height: 1.75; }
.rhythm-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; }
.rhythm-meta span { display: flex; align-items: baseline; gap: 7px; padding: 9px 14px; color: rgba(255,249,237,.78); background: rgba(255,251,242,.06); border: 1px solid rgba(212,166,59,.34); border-radius: 999px; font-size: 12px; font-weight: 700; }
.rhythm-meta strong { color: var(--gold-light); font: 700 1.05rem Fraunces,Georgia,serif; }
.rhythm-action { min-height: 46px; }
.text-link { display: inline-block; margin-top: 12px; color: var(--green); font-weight: 800; text-decoration: none; }
.rhythm-steps { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rhythm-steps::before { content: ""; position: absolute; top: 40px; bottom: 40px; left: 43px; width: 1px; background: rgba(239,211,122,.55); }
.rhythm-steps a { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 18px 20px; color: #31473d; background: rgba(255,251,242,.98); border: 1px solid rgba(212,166,59,.36); border-radius: 14px; text-decoration: none; transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.rhythm-steps a:hover { border-color: var(--gold-light); box-shadow: 0 18px 38px rgba(0,43,27,.3); transform: translateX(4px); }
.rhythm-num { display: grid; width: 48px; height: 48px; place-items: center; color: #03472d; background: #f6ecd2; border: 1px solid rgba(201,154,46,.55); border-radius: 50%; font: 700 16px Fraunces,Georgia,serif; }
.rhythm-steps a:hover .rhythm-num { color: #fffbf2; background: #03472d; border-color: #03472d; }
.rhythm-steps div { display: grid; gap: 3px; }
.rhythm-steps strong { color: #002f1d; font: 500 1.15rem/1.4 Fraunces,Georgia,serif; }
.rhythm-steps small { color: #69776f; font-size: 13px; line-height: 1.6; }
.rhythm-time { padding: 5px 10px; color: #03472d; background: rgba(3,71,45,.07); border-radius: 999px; font: 700 11px Inter,"Segoe UI",sans-serif; font-style: normal; white-space: nowrap; }
.home-faq { display: grid; grid-template-columns: .7fr 1fr; gap: 64px; padding-top: 10px; }
.home-faq > div:first-child > p:last-child { color: var(--muted); line-height: 1.7; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 40px 22px 0; color: var(--green2); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; color: var(--gold); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { margin: -4px 0 22px; color: var(--muted); line-height: 1.7; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px 48px; color: #fffbf2; background: radial-gradient(circle at 90% 10%,rgba(239,211,122,.14),transparent 30%),#002f1d; }
.home-cta h2 { color: #fffbf2; }
.home-cta p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.home-cta .eyebrow { color: var(--gold-light); }
.light { color: #002f1d; background: #fffbf2; }
.outline-light { color: #fffbf2; background: transparent; border: 1px solid rgba(255,255,255,.3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.home-ask { display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 22px 0 12px; padding: 7px 7px 7px 18px; background: var(--surface); border: 1px solid color-mix(in srgb,var(--gold) 45%,var(--line)); border-radius: 18px; box-shadow: 0 16px 40px rgba(0,47,29,.1); }
.home-ask:focus-within { border-color: var(--green); box-shadow: 0 16px 40px rgba(0,47,29,.14),0 0 0 4px color-mix(in srgb,var(--green) 12%,transparent); }
.home-ask-icon { color: var(--gold); font-size: 18px; }
.home-ask input { flex: 1; min-width: 0; height: 48px; padding: 0 4px; color: var(--ink); background: transparent; border: 0; outline: 0; font: 400 16px Inter,"Segoe UI",sans-serif; }
.home-ask input::placeholder { color: var(--muted); }
.home-ask button { flex: 0 0 auto; height: 48px; padding: 0 22px; color: #fff; background: #03472d; border: 0; border-radius: 13px; font: 600 15px Inter,"Segoe UI",sans-serif; cursor: pointer; }
.home-ask button:hover { background: #002f1d; }
.home-ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.home-ask-chips a { padding: 8px 13px; color: var(--green); background: color-mix(in srgb,var(--green) 6%,transparent); border: 1px solid color-mix(in srgb,var(--green) 14%,transparent); border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; }
.home-ask-chips a:hover { background: color-mix(in srgb,var(--green) 12%,transparent); }
main a:focus-visible,main button:focus-visible,main summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[data-theme="night"] .topbar { background: rgba(16,36,27,.94); }
[data-theme="night"] .brand-logo,[data-theme="night"] .home-brand-seal { background: #071711; }
[data-theme="night"] .home-kicker { color: var(--gold-light); background: rgba(239,211,122,.06); border-color: var(--line); }
[data-theme="night"] .home-kicker span { color: #002f1d; background: var(--gold-light); }
[data-theme="night"] .home-brand-meaning span { color: var(--gold-light); }
[data-theme="night"] .hero { background: radial-gradient(circle at 82% 22%,rgba(241,204,106,.1),transparent 28%),linear-gradient(180deg,#10241b,#071711); }
[data-theme="night"] .verse-card,[data-theme="night"] .home-ask { background: #10241b; }
[data-theme="night"] .verse-facts span { background: #132b21; }
[data-theme="night"] .home-ask-chips a { color: var(--gold-light); border-color: var(--line); }
[data-theme="night"] .ghost { background: #13271f; border-color: var(--line); }
@media(max-width:1050px) { .hero { gap: 28px; padding: 40px 28px; grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); } .hero h1 { font-size: 64px; } .home-brand-seal { width: 76px; height: 76px; border-radius: 23px; } .home-brand-seal::after { border-radius: 29px; } .home-brand-lockup { gap: 22px; } .home-pathway-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-pathways,.home-section,.home-cta { padding-inline: 28px; } .study-rhythm { padding-block: 52px; } .rhythm-card { gap: 36px; } }
@media(max-width:760px) { .hero { grid-template-columns: 1fr; } .verse-card { width: 100%; max-width: 720px; } .home-pathways-heading,.home-purpose,.rhythm-card,.home-faq { grid-template-columns: 1fr; } .home-purpose,.home-faq { gap: 28px; } .home-cta { align-items: flex-start; flex-direction: column; } }
@media(max-width:600px) {
  .hero { gap: 24px; padding: 28px 16px; } .home-kicker { margin-bottom: 20px; padding: 6px 12px 6px 7px; font-size: 11px; }
  .home-brand-seal { width: 64px; height: 64px; padding: 6px; border-radius: 19px; } .home-brand-seal::after { inset: -6px; border-radius: 24px; } .home-brand-lockup { gap: 18px; } .home-brand-lockup > div { gap: 5px; }
  .home-brand-lockup .eyebrow { font-size: 9px; letter-spacing: .1em; } .home-brand-lockup .eyebrow::after { display: none; } .hero h1 { font-size: 52px; }
  .home-brand-meaning { font-size: 11px; } .home-brand-meaning span { font-size: 15px; }
  .lead { margin: 18px 0; font-size: 15px; line-height: 1.65; }
  .hero .button-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8px; } .hero .button-row .button { min-width: 0; min-height: 48px; padding-inline: 10px; font-size: 12px; gap: 8px; }
  .home-ask { margin-top: 18px; padding: 5px 5px 5px 12px; border-radius: 16px; } .home-ask button { padding-inline: 14px; }
  .home-ask-chips { gap: 6px; } .home-ask-chips a { font-size: 11px; padding: 8px 10px; }
  .trust { gap: 8px 14px; margin-top: 18px; font-size: 10px; }
  .verse-card { gap: 12px; padding: 18px; border-radius: 19px; } .verse-feature { padding: 18px 12px; } .verse-feature .arabic { font-size: 30px !important; }
  .verse-facts { gap: 6px; } .verse-facts span { padding: 10px 7px; font-size: 9px; } .verse-facts strong { font-size: 1.25rem; }
  .home-pathways { padding: 32px 16px; } .home-pathways-heading { gap: 12px; margin-bottom: 20px; }
  .home-pathways h2,.home-section h2,.home-cta h2 { font-size: 30px; } .home-pathways-heading > p { font-size: 14px; }
  .home-pathway-grid { gap: 10px; } .home-pathway-card { min-height: 240px; padding: 16px; } .home-pathway-card strong { font-size: 20px; } .home-pathway-card p { font-size: 13px; } .home-pathway-card small { font-size: 11px; }
  .home-section { padding: 40px 18px; }
  .home-purpose { gap: 24px; }
  .home-purpose .section-intro { padding-left: 16px; }
  .home-purpose .section-intro h2 { font-size: 27px; }
  .purpose-lead { font-size: 15px; }
  .purpose-points article { grid-template-columns: 32px minmax(0,1fr); gap: 12px; padding: 18px 0; }
  .purpose-points article > span { width: 32px; height: 32px; }
  .study-rhythm { padding: 36px 16px; }
  .rhythm-card { gap: 26px; }
  .study-rhythm .rhythm-copy h2 { font-size: 28px; }
  .rhythm-meta { margin: 20px 0 22px; }
  .rhythm-steps { gap: 10px; }
  .rhythm-steps::before { left: 35px; }
  .rhythm-steps a { grid-template-columns: 40px minmax(0,1fr); gap: 14px; padding: 14px 14px; }
  .rhythm-num { width: 40px; height: 40px; font-size: 14px; }
  .rhythm-time { grid-column: 2; justify-self: start; margin-top: -6px; }
  .rhythm-steps a:hover { transform: none; }
  .home-faq { padding-top: 10px; } .faq-list summary { min-height: 56px; padding-block: 18px; } .home-cta { padding: 36px 18px; gap: 22px; }
}
@media(max-width:370px) { .hero h1 { font-size: 46px; } .home-brand-seal { width: 56px; height: 56px; } .home-pathway-grid { grid-template-columns: 1fr; } .home-pathway-card { min-height: 0; } }
@media(prefers-reduced-motion:reduce) { main a,main button { transition: none; } .home-pathway-card:hover,.rhythm-steps a:hover { transform: none; } .rhythm-steps a { transition: none; } }
