:root {
    --ink: #06231c;
    --ink-soft: #0a3026;
    --ink-deep: #041a14;
    --emerald: #0e5a46;
    --jade: #1c8f6c;
    --sand: #f2eadb;
    --paper: #fbf7ee;
    --paper-raised: #fffdf8;
    --brass: #c6a15b;
    --brass-light: #e4c98f;
    --muted: #5c6d63;
    --line: rgba(6, 35, 28, 0.12);
    --line-strong: rgba(6, 35, 28, 0.2);
    --display: "Marcellus", Georgia, "Times New Roman", serif;
    --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --arabic: "Amiri", "Times New Roman", serif;
    --shell: min(1180px, calc(100% - 48px));
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

main section[id] {
    scroll-margin-top: 92px;
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 16px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--brass);
    color: var(--ink);
    font-weight: 700;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 35, 28, 0.92);
    border-bottom: 1px solid rgba(198, 161, 91, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--paper);
}

.brand__mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(2, 15, 11, 0.45));
}

.brand__word {
    font-family: var(--display);
    font-size: 1.32rem;
    letter-spacing: 0.015em;
    line-height: 1;
}

.brand__word span {
    color: var(--brass);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.3vw, 28px);
}

.site-nav > a:not(.btn) {
    position: relative;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(251, 247, 238, 0.74);
    padding: 6px 0;
    transition: color 0.2s ease;
}

.site-nav > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--brass);
    transition: right 0.25s ease;
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn):focus-visible {
    color: var(--brass-light);
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a:not(.btn):focus-visible::after {
    right: 0;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(251, 247, 238, 0.25);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.site-header.is-open .nav-toggle span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

.header__end {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Language dropdown */

.lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-switch__trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px 6px 8px;
    border: 1px solid rgba(198, 161, 91, 0.35);
    border-radius: 999px;
    background: rgba(251, 247, 238, 0.05);
    color: var(--paper);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-switch__trigger:hover,
.lang-switch__trigger:focus-visible {
    border-color: rgba(198, 161, 91, 0.7);
    background: rgba(251, 247, 238, 0.09);
}

.lang-switch.is-open .lang-switch__trigger {
    border-color: var(--brass);
    background: rgba(198, 161, 91, 0.16);
}

.lang-switch__flag {
    display: block;
    width: 21px;
    height: 15px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-switch__flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lang-switch__code {
    line-height: 1;
}

.lang-switch__caret {
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid rgba(251, 247, 238, 0.7);
    transition: transform 0.2s ease;
}

.lang-switch.is-open .lang-switch__caret {
    transform: rotate(180deg);
}

.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 196px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid rgba(198, 161, 91, 0.28);
    border-radius: 14px;
    background: #08251d;
    box-shadow: 0 18px 40px rgba(2, 15, 11, 0.55);
}

.lang-switch__menu[hidden] {
    display: none;
}

.lang-switch__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    color: rgba(251, 247, 238, 0.82);
    font-size: 0.84rem;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-switch__option:hover,
.lang-switch__option:focus-visible {
    background: rgba(251, 247, 238, 0.08);
    color: var(--brass-light);
}

.lang-switch__option.is-active {
    background: rgba(198, 161, 91, 0.16);
    color: var(--brass-light);
}

.site-nav__lang {
    display: none;
}

@media (max-width: 860px) {
    .header__end {
        gap: 12px;
    }

    .header__end > .lang-switch {
        display: none;
    }

    .site-nav__lang {
        display: grid;
        gap: 10px;
        padding: 18px 2px 4px;
    }

    .site-nav__lang-label {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(251, 247, 238, 0.55);
    }

    .site-nav__lang-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .site-nav__lang-option {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 11px 12px;
        border: 1px solid rgba(198, 161, 91, 0.3);
        border-radius: 999px;
        color: rgba(251, 247, 238, 0.82);
        font-size: 0.9rem;
        font-weight: 600;
        transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    }

    .site-nav__lang-option:hover,
    .site-nav__lang-option:focus-visible {
        border-color: rgba(198, 161, 91, 0.7);
        color: var(--brass-light);
    }

    .site-nav__lang-option.is-active {
        border-color: var(--brass);
        background: rgba(198, 161, 91, 0.16);
        color: var(--brass-light);
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.9rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--sm {
    padding: 0.62rem 1rem;
    font-size: 0.8rem;
}

.btn--gold {
    background: var(--brass);
    color: #17251e;
}

.btn--gold:hover,
.btn--gold:focus-visible {
    background: var(--brass-light);
}

.btn--ghost {
    border-color: rgba(251, 247, 238, 0.32);
    color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--brass);
    color: var(--brass-light);
}

.btn--ink {
    background: var(--ink);
    color: var(--paper);
}

.btn--ink:hover,
.btn--ink:focus-visible {
    background: var(--emerald);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 78% 10%, rgba(28, 143, 108, 0.22) 0%, transparent 55%),
        linear-gradient(160deg, var(--ink) 0%, #082a21 58%, #0a3328 100%);
    color: var(--paper);
    padding-top: clamp(52px, 7vw, 96px);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.14;
    -webkit-mask-image: radial-gradient(ellipse at 72% 32%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at 72% 32%, #000 0%, transparent 72%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
    padding-bottom: clamp(52px, 7vw, 92px);
}

.hero__copy {
    max-width: 640px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--jade);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    line-height: 1.4;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.eyebrow--light {
    color: var(--brass-light);
}

.eyebrow__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.hero .eyebrow {
    letter-spacing: 0.15em;
}

.hero h1 {
    margin: 22px 0 24px;
    font-family: var(--display);
    font-size: clamp(2.65rem, 5.1vw, 4.55rem);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.018em;
    color: var(--paper);
}

.hero__accent {
    display: block;
    margin-top: 8px;
    color: var(--brass);
}

.hero__lede {
    max-width: 35rem;
    color: rgba(251, 247, 238, 0.72);
    font-size: clamp(0.98rem, 1.2vw, 1.06rem);
    line-height: 1.78;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 28px;
    color: rgba(251, 247, 238, 0.64);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.hero__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__meta li::before {
    content: "";
    width: 4px;
    height: 4px;
    transform: rotate(45deg);
    background: var(--brass);
}

.hero__visual {
    position: relative;
    width: min(440px, 100%);
    justify-self: end;
}

.hero__image {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 30px 50px rgba(2, 15, 11, 0.45));
}

.mihrab {
    position: relative;
    z-index: 1;
    padding: clamp(34px, 4vw, 46px) clamp(24px, 3vw, 36px) 30px;
    border: 1px solid rgba(198, 161, 91, 0.55);
    border-radius: 230px 230px 18px 18px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
        linear-gradient(180deg, var(--paper) 0%, #f4ecdc 100%);
    color: var(--ink);
    text-align: center;
    box-shadow: 0 34px 80px rgba(2, 15, 11, 0.38);
    overflow: hidden;
}

.mihrab::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(198, 161, 91, 0.32);
    border-radius: 218px 218px 12px 12px;
    pointer-events: none;
}

.mihrab__ornament {
    width: 64px;
    margin: 0 auto 14px;
    color: var(--brass);
}

.mihrab__bismillah {
    margin-bottom: 18px;
    font-family: var(--arabic);
    font-size: 1.35rem;
    color: var(--emerald);
}

.verse-card {
    padding: 22px 0 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.verse-card figcaption {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--muted);
}

.verse-card__arabic {
    margin: 14px 0 12px;
    font-family: var(--arabic);
    font-size: clamp(1.9rem, 3.2vw, 2.55rem);
    line-height: 1.9;
    color: var(--ink);
}

.verse-card__translation {
    max-width: 21rem;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.mihrab__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
    text-align: center;
}

.mihrab__facts div + div {
    border-left: 1px solid var(--line);
}

.mihrab__facts dt {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
}

.mihrab__facts dd {
    margin-top: 4px;
    font-family: var(--display);
    font-size: 1.35rem;
    color: var(--emerald);
}

.visual-note {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    text-align: center;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(251, 247, 238, 0.45);
}

/* Proof strip */

.proof {
    background: var(--ink-soft);
    border-top: 1px solid rgba(198, 161, 91, 0.18);
    border-bottom: 1px solid rgba(198, 161, 91, 0.18);
}

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

.proof__item {
    padding: 26px 10px;
    text-align: center;
}

.proof__item + .proof__item {
    border-left: 1px solid rgba(251, 247, 238, 0.1);
}

.proof__item strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    font-weight: 400;
    color: var(--brass-light);
    line-height: 1.1;
}

.proof__item span {
    display: block;
    margin-top: 6px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(251, 247, 238, 0.64);
}

/* Social proof toast */

.proof-toast {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 45;
    width: min(344px, calc(100vw - 28px));
    pointer-events: none;
}

.proof-toast__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 36px 15px 14px;
    overflow: hidden;
    border: 1px solid rgba(251, 247, 238, 0.16);
    border-radius: 18px;
    background: rgba(6, 35, 28, 0.95);
    box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.36s linear;
    pointer-events: auto;
}

.proof-toast__card.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.proof-toast__avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, hsl(var(--proof-hue, 40) 70% 82%), hsl(var(--proof-hue, 40) 55% 60%));
    box-shadow: inset 0 0 0 2px rgba(251, 247, 238, 0.28);
    color: #06231c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.proof-toast__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proof-toast__initials {
    line-height: 1;
}

.proof-toast__body {
    min-width: 0;
}

.proof-toast__name {
    overflow: hidden;
    color: var(--paper);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proof-toast__meta {
    margin-top: 2px;
    overflow: hidden;
    color: rgba(251, 247, 238, 0.6);
    font-size: 0.76rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proof-toast__check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(198, 161, 91, 0.18);
    color: var(--brass-light);
}

.proof-toast__check svg {
    width: 13px;
    height: 13px;
}

.proof-toast__close {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(251, 247, 238, 0.45);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.proof-toast__close:hover,
.proof-toast__close:focus-visible {
    background: rgba(251, 247, 238, 0.08);
    color: var(--paper);
}

.proof-toast__close svg {
    width: 13px;
    height: 13px;
}

.proof-toast__track {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: rgba(251, 247, 238, 0.08);
}

.proof-toast__bar {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--brass-light), var(--brass));
}

.proof-toast__card.is-visible .proof-toast__bar {
    animation: proof-fill 5.6s linear forwards;
}

.proof-toast__card.is-paused .proof-toast__bar {
    animation-play-state: paused;
}

@keyframes proof-fill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (max-width: 640px) {
    .proof-toast {
        left: 12px;
        bottom: 12px;
        width: min(344px, calc(100vw - 24px));
    }

    .proof-toast__card {
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proof-toast__bar {
        display: none;
    }
}

/* Sections */

.section {
    padding: clamp(64px, 8.5vw, 112px) 0;
    background: var(--paper);
}

.section__head {
    max-width: 700px;
    margin-bottom: clamp(38px, 5vw, 58px);
}

.section__head h2,
.affiliate h2,
.faq h2 {
    margin: 16px 0 18px;
    font-family: var(--display);
    font-size: clamp(1.95rem, 3.5vw, 3.05rem);
    font-weight: 400;
    line-height: 1.09;
    letter-spacing: -0.012em;
    color: var(--ink);
}

.section__lede {
    max-width: 58ch;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.78;
}

.section__head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    max-width: none;
}

.section__head--split > div {
    max-width: 620px;
}

.section__head--split .section__lede {
    max-width: 340px;
    padding-bottom: 8px;
}

/* Features */

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.feature {
    padding: 30px 30px 36px 0;
    border-bottom: 1px solid var(--line);
}

.feature:not(:nth-child(3n)) {
    border-right: 1px solid var(--line);
    padding-right: 30px;
}

.feature:nth-child(3n + 1),
.feature:nth-child(3n + 2) {
    padding-left: 0;
}

.feature:nth-child(3n + 2),
.feature:nth-child(3n + 3) {
    padding-left: 30px;
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border: 1px solid rgba(198, 161, 91, 0.5);
    color: var(--emerald);
}

.feature__icon svg {
    width: 24px;
    height: 24px;
}

.feature h3 {
    margin-bottom: 10px;
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.005em;
    color: var(--ink);
}

.feature p {
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.72;
}

/* Daily rhythm */

.rhythm {
    padding: clamp(60px, 8vw, 96px) 0;
    background: var(--sand);
    border-top: 1px solid rgba(6, 35, 28, 0.08);
    border-bottom: 1px solid rgba(6, 35, 28, 0.08);
}

.rhythm__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 52px;
}

.rhythm__track::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(6, 35, 28, 0.22);
}

.rhythm__step {
    position: relative;
    padding-right: 22px;
}

.rhythm__marker {
    position: relative;
    z-index: 1;
    display: block;
    width: 13px;
    height: 13px;
    margin-bottom: 26px;
    border: 1px solid var(--emerald);
    background: var(--sand);
    transform: rotate(45deg);
}

.rhythm__step:first-child .rhythm__marker {
    background: var(--emerald);
}

.rhythm__step h3 {
    font-family: var(--display);
    font-size: 1.28rem;
    font-weight: 400;
    color: var(--ink);
}

.rhythm__step p {
    margin-top: 8px;
    max-width: 24ch;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

/* Verse band */

.verse-band {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 9vw, 108px) 0;
    background:
        radial-gradient(90% 70% at 50% 0%, rgba(28, 143, 108, 0.22) 0%, transparent 60%),
        var(--ink);
    color: var(--paper);
    text-align: center;
}

.verse-band__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
    pointer-events: none;
}

.verse-band__inner {
    position: relative;
    max-width: 820px;
}

.verse-band__ornament {
    width: 80px;
    margin: 0 auto 24px;
    color: var(--brass);
}

.verse-band__arabic {
    font-family: var(--arabic);
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    line-height: 1.95;
    color: var(--paper);
}

.verse-band__translation {
    max-width: 38rem;
    margin: 18px auto 0;
    color: rgba(251, 247, 238, 0.76);
    font-size: 1rem;
    line-height: 1.78;
}

.verse-band__ref {
    margin-top: 20px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
}

/* Plans */

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper-raised);
}

.plan h3 {
    font-family: var(--display);
    font-size: 1.42rem;
    font-weight: 400;
    color: var(--ink);
}

.plan__price {
    margin-top: 12px;
    font-family: var(--display);
    font-size: clamp(1.9rem, 2.7vw, 2.5rem);
    line-height: 1.1;
    color: var(--emerald);
}

.plan__term {
    margin-top: 2px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.plan__list {
    margin: 24px 0 28px;
    display: grid;
    gap: 10px;
}

.plan__list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.plan__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.52em;
    width: 7px;
    height: 7px;
    border: 1px solid var(--jade);
    transform: rotate(45deg);
}

.plan .btn {
    margin-top: auto;
    width: 100%;
}

.plan--featured {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    box-shadow: 0 24px 50px rgba(6, 35, 28, 0.18);
}

.plan--featured h3 {
    color: var(--paper);
}

.plan--featured .plan__price {
    color: var(--brass-light);
}

.plan--featured .plan__term,
.plan--featured .plan__list li {
    color: rgba(251, 247, 238, 0.7);
}

.plan--featured .plan__list li::before {
    border-color: var(--brass);
}

.plan__flag {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 5px 10px;
    border-radius: 3px;
    background: var(--brass);
    color: #17251e;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plans__note {
    max-width: 62ch;
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.65;
}

/* Affiliate */

.affiliate {
    padding: clamp(64px, 8.5vw, 108px) 0;
    background: var(--sand);
    border-top: 1px solid rgba(6, 35, 28, 0.08);
    border-bottom: 1px solid rgba(6, 35, 28, 0.08);
}

.affiliate__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(36px, 6vw, 84px);
    align-items: center;
}

.affiliate__copy > p:not(.eyebrow) {
    max-width: 46ch;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.78;
}

.affiliate__numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(6, 35, 28, 0.16);
}

.affiliate__numbers dt {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.affiliate__numbers dd {
    margin-top: 6px;
    font-family: var(--display);
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: 1.2;
    color: var(--emerald);
}

.steps {
    padding: 8px 28px;
    border: 1px solid rgba(6, 35, 28, 0.14);
    border-radius: 14px;
    background: var(--paper);
}

.step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
}

.step + .step {
    border-top: 1px solid var(--line);
}

.step__num {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    font-family: var(--display);
    font-size: 0.95rem;
    color: var(--emerald);
}

.step h3 {
    margin-bottom: 6px;
    font-family: var(--display);
    font-size: 1.08rem;
    font-weight: 400;
    color: var(--ink);
}

.step p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.68;
}

/* FAQ */

.faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: start;
}

.faq__head {
    position: sticky;
    top: 104px;
}

.faq__head h2 {
    font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.faq__list details {
    border-bottom: 1px solid var(--line);
}

.faq__list details:first-child {
    border-top: 1px solid var(--line);
}

.faq__list summary {
    position: relative;
    padding: 19px 36px 19px 0;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.faq__list summary::-webkit-details-marker {
    display: none;
}

.faq__list summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-52%);
    font-family: var(--display);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--jade);
}

.faq__list details[open] summary::after {
    content: "−";
}

.faq__list details p {
    max-width: 62ch;
    padding: 0 34px 22px 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.76;
}

.faq__list details a {
    color: var(--emerald);
    text-decoration: underline;
    text-decoration-color: rgba(14, 90, 70, 0.35);
    text-underline-offset: 3px;
}

.faq__list details a:hover {
    text-decoration-color: var(--emerald);
}

/* Closing */

.closing {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 10vw, 118px) 0;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
}

.closing__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%);
    pointer-events: none;
}

.closing__inner {
    position: relative;
    max-width: 640px;
}

.closing__inner .eyebrow {
    justify-content: center;
}

.closing h2 {
    margin: 16px 0 16px;
    font-family: var(--display);
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.08;
}

.closing p:not(.eyebrow) {
    max-width: 36rem;
    margin: 0 auto 30px;
    color: rgba(251, 247, 238, 0.72);
    font-size: 0.98rem;
    line-height: 1.75;
}

/* Footer */

.site-footer {
    padding: 64px 0 26px;
    background: var(--ink-deep);
    color: rgba(251, 247, 238, 0.62);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__brand .brand {
    color: var(--paper);
}

.footer__brand p {
    max-width: 28ch;
    margin-top: 18px;
    font-size: 0.84rem;
    line-height: 1.7;
}

.footer__col h2 {
    margin-bottom: 16px;
    font-family: var(--body);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(251, 247, 238, 0.56);
}

.footer__col a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    font-size: 0.86rem;
    transition: color 0.2s ease;
}

.footer__col a:hover,
.footer__col a:focus-visible {
    color: var(--brass-light);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(251, 247, 238, 0.1);
    font-size: 0.72rem;
    color: rgba(251, 247, 238, 0.52);
}

.footer__note {
    max-width: 40ch;
    text-align: right;
}

/* Motion */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__copy > .eyebrow,
    .hero__copy > h1,
    .hero__copy > .hero__lede,
    .hero__copy > .hero__actions,
    .hero__copy > .hero__meta,
    .hero__visual {
        animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .hero__copy > h1 {
        animation-delay: 0.08s;
    }

    .hero__copy > .hero__lede {
        animation-delay: 0.16s;
    }

    .hero__copy > .hero__actions {
        animation-delay: 0.24s;
    }

    .hero__copy > .hero__meta {
        animation-delay: 0.32s;
    }

    .hero__visual {
        animation-delay: 0.2s;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive */

@media (max-width: 1080px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature,
    .feature:not(:nth-child(3n)) {
        padding: 28px 26px 32px 0;
        border-right: 0;
    }

    .feature:nth-child(2n) {
        padding-right: 0;
        padding-left: 28px;
        border-left: 1px solid var(--line);
    }

    .feature:nth-child(2n + 1) {
        padding-left: 0;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
        gap: 40px;
    }

    .hero__visual {
        width: min(380px, 100%);
    }

    .mihrab {
        padding-inline: 24px;
    }
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
    }

    .hero__copy {
        max-width: 660px;
    }

    .hero__visual {
        justify-self: center;
        width: min(420px, 100%);
    }

    .section__head--split {
        display: block;
    }

    .section__head--split .section__lede {
        margin-top: 18px;
        max-width: 58ch;
    }

    .affiliate__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq__head {
        position: static;
    }

    .plans {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan--featured {
        transform: none;
    }

    .footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .header__inner {
        min-height: 70px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 10px 24px 24px;
        background: var(--ink);
        border-top: 1px solid rgba(198, 161, 91, 0.2);
        border-bottom: 1px solid rgba(198, 161, 91, 0.2);
        box-shadow: 0 24px 40px rgba(2, 15, 11, 0.35);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-header.is-open .site-nav {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav > a:not(.btn) {
        padding: 14px 2px;
        font-size: 0.98rem;
        border-bottom: 1px solid rgba(251, 247, 238, 0.09);
    }

    .site-nav > a:not(.btn)::after {
        display: none;
    }

    .site-nav .btn {
        margin-top: 16px;
    }

    .rhythm__track {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 40px;
    }

    .rhythm__track::before {
        top: 0;
        bottom: 0;
        left: 6px;
        right: auto;
        width: 1px;
        height: auto;
    }

    .rhythm__step {
        position: relative;
        padding: 0 0 28px 34px;
    }

    .rhythm__step:last-child {
        padding-bottom: 0;
    }

    .rhythm__marker {
        position: absolute;
        left: 0;
        top: 7px;
        margin: 0;
    }

    .rhythm__step p {
        max-width: 46ch;
    }

    .proof__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof__item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(251, 247, 238, 0.1);
    }

    .proof__item:nth-child(4) {
        border-top: 1px solid rgba(251, 247, 238, 0.1);
    }

    .footer__bottom {
        flex-direction: column;
    }

    .footer__note {
        text-align: left;
    }
}

@media (max-width: 640px) {
    :root {
        --shell: calc(100% - 32px);
    }

    .hero {
        padding-top: 44px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 10.5vw, 3.1rem);
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__meta {
        gap: 8px 16px;
    }

    .mihrab {
        border-radius: 190px 190px 16px 16px;
        padding-top: 30px;
    }

    .mihrab::after {
        border-radius: 180px 180px 10px 10px;
    }

    .hero__visual::before {
        inset: 14px -12px -14px 12px;
        border-radius: 200px 200px 18px 18px;
    }

    .features {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature,
    .feature:not(:nth-child(3n)),
    .feature:nth-child(2n),
    .feature:nth-child(2n + 1) {
        padding: 26px 0 30px;
        border-left: 0;
        border-right: 0;
    }

    .feature p {
        max-width: 46ch;
    }

    .section__head h2,
    .affiliate h2 {
        font-size: clamp(1.75rem, 7.2vw, 2.35rem);
    }

    .affiliate__numbers {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 14px;
    }

    .steps {
        padding: 6px 20px;
    }

    .step {
        gap: 16px;
        padding: 22px 0;
    }

    .step__num {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .plan {
        padding: 26px 22px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px 24px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .closing .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hero__meta {
        display: grid;
        gap: 8px;
    }

    .mihrab__facts dd {
        font-size: 1.15rem;
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
}

.footer__quick a {
    color: rgba(251, 247, 238, 0.56);
    font-size: 0.74rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer__quick a:hover,
.footer__quick a:focus-visible {
    color: var(--brass-light);
}

