/* =========================================================
   Muslim Lighthouse v2 · tokens
   Palette drawn from the logo gradient (#06C1EF to #177E91)
   set against a night sea, where a lighthouse does its work.
   ========================================================= */
:root {
  --night: #07131c;
  --night-2: #0d1f2b;
  --night-line: rgba(255, 255, 255, 0.10);
  --paper: #ffffff;
  --mist: #f2f5f7;
  --ink: #0b1720;
  --ink-2: #4a5864;          /* 7.3:1 on white, 6.7:1 on mist */
  --line: rgba(11, 23, 32, 0.10);
  --on-night: #f4f8fa;
  --on-night-2: #a6b6c2;     /* 9.0:1 on --night */
  --sea: #087893;            /* accent text on white, 5.1:1; on mist 4.7:1 */
  --beam: #2ccbf0;           /* accent on night, 9.8:1 */
  --grad: linear-gradient(135deg, #06c1ef 0%, #0f9fc4 45%, #177e91 100%);
  --btn: #087893;            /* white text on it, 5.1:1 */
  --btn-hover: #066178;
  --gold: #f4b63f;
  --radius-lg: 28px;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button { font: inherit; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--beam); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.br-md { display: none; }
@media (min-width: 760px) { .br-md { display: inline; } }

/* ---------- type scale ---------- */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--sea); margin-bottom: 14px; }
.eyebrow--light, .section--night .eyebrow { color: var(--beam); }
.display { font-size: clamp(36px, 5.4vw, 64px); text-wrap: balance; }
.title { font-size: clamp(26px, 3.2vw, 40px); }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); margin-top: 20px; max-width: 52ch; }
.section--night .lede { color: var(--on-night-2); }

/* ---------- buttons ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 36px; padding: 0 16px; font-size: 15px; }
.btn--lg { --h: 56px; padding: 0 30px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { color: var(--on-night); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1d2b36; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e6eef2; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " ›"; font-weight: 700; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- nav: the only translucent layer, floating over content ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(7, 19, 28, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--night-line); }
.nav__inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: 56px; display: flex; align-items: center; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav__brand span, .nav__login { white-space: nowrap; }
.nav__links { display: none; gap: 24px; margin: 0 auto; }
.nav__links a, .nav__login { color: var(--on-night-2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav__links a:hover, .nav__login:hover { color: var(--on-night); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
@media (min-width: 1020px) { .nav__links { display: flex; } .nav__actions { margin-left: 0; } }
@media (max-width: 440px) { .nav__brand span { display: none; } }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- hero ----------
   Thesis: the three things people actually get, shown with real photos.
   Copy stays left-aligned for reading; the background stays quiet. */
.hero { position: relative; overflow: hidden; isolation: isolate; color: var(--on-night);
  background: linear-gradient(180deg, #0c1d29 0%, var(--night) 70%);
  padding: clamp(112px, 12vw, 150px) 0 clamp(64px, 8vw, 104px); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.02fr 1fr; gap: 48px; } }
.hero__copy { text-align: center; }
@media (min-width: 1000px) { .hero__copy { text-align: left; } }

.hero__eyebrow { display: inline-block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px;
  color: var(--on-night-2); }
.hero__title { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.036em; line-height: 1.03; text-wrap: balance; }
.hero__title { color: var(--on-night); }
/* Signature: the audience glows like the lighthouse beam. Darkest stop #0fa3c9 on night is 6.3:1. */
.hero__accent { white-space: nowrap; color: var(--beam);
  filter: drop-shadow(0 0 28px rgba(44, 203, 240, .35)); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero__accent { background: linear-gradient(100deg, #9becfc 0%, #2ccbf0 48%, #0fa3c9 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@media (forced-colors: active) { .hero__accent { background: none; color: CanvasText; filter: none; } }
.hero__sub { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--on-night-2); max-width: 46ch; margin: 22px auto 0; text-wrap: pretty; }
@media (min-width: 1000px) { .hero__sub { margin-left: 0; } }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
@media (min-width: 1000px) { .hero__ctas { justify-content: flex-start; } }
.rating { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 28px; font-size: 15px; color: var(--on-night-2); }
@media (min-width: 1000px) { .rating { justify-content: flex-start; } }
.rating b { color: var(--on-night); font-weight: 600; }
.rating__item { display: inline-flex; align-items: center; gap: 8px; }
.rating__item + .rating__item { padding-left: 24px; border-left: 1px solid var(--night-line); }
.stars { color: var(--gold); letter-spacing: 1px; }

/* visual: three photo cards */
.hero__visual { position: relative; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pillar { position: relative; }
.pillar__media { overflow: hidden; border-radius: 18px; aspect-ratio: 1 / 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 24px 50px -24px rgba(0, 0, 0, .9); background: var(--night-2); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; }
.pillar--live .pillar__media img { object-position: 30% 50%; }
.pillar--live .pillar__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, rgba(7,19,28,.55), transparent 45%); pointer-events: none; }
.pillar__media { position: relative; }
.pillar--community .pillar__media img { object-position: 8% 45%; }
.pillar__label { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: -22px; position: relative; text-align: center; }
.pillar__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 0 0 3px var(--night); }
.pillar__icon svg { width: 22px; height: 22px; fill: #fff; }
.pillar__text b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--on-night); }
.pillar__text small { display: none; }

@media (min-width: 1000px) {
  .pillars { display: block; position: relative; height: 580px; }
  .pillar { position: absolute; animation: drift 7s ease-in-out infinite alternate; }
  .pillar__media { aspect-ratio: auto; height: 100%; border-radius: 24px; }
  .pillar--live { left: 0; top: 0; width: 92%; height: auto; z-index: 1; }
  .pillar--live .pillar__media { height: auto; aspect-ratio: 1000 / 625; }
  .pillar--meet { right: -6%; top: 280px; width: 60%; height: 262px; z-index: 2; animation-delay: -4s; }
  .pillar--community { left: 0; top: 330px; width: 50%; height: 220px; z-index: 3; animation-delay: -2s; }
  .pillar__label { position: absolute; left: 14px; bottom: 14px; right: auto; margin: 0; flex-direction: row; align-items: center; gap: 12px; text-align: left;
    padding: 8px 16px 8px 8px; border-radius: 16px; background: rgba(7, 19, 28, .94); white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 30px -10px rgba(0, 0, 0, .8); }
  .pillar__icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: none; }
  .pillar__icon svg { width: 21px; height: 21px; }
  .pillar__text b { font-size: 15px; }
  .pillar__text small { display: block; font-size: 13px; color: var(--on-night-2); margin-top: 1px; }
  .pillar--live .pillar__label { top: auto; bottom: 14px; }
  .pillar--meet .pillar__label { left: auto; right: 14px; }
  .pillar--community .pillar__label { left: 10px; bottom: 10px; }
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@media (max-width: 600px) {
  .hero__ctas .btn { width: 100%; }
  .rating { flex-direction: column; align-items: center; gap: 6px; }
  .rating__item + .rating__item { padding-left: 0; border-left: 0; }
  .pillar__text b { font-size: 13px; }
  .pillar__icon { width: 40px; height: 40px; }
}

/* ---------- notice ---------- */
.notice { background: var(--night-2); border-top: 1px solid var(--night-line); }
.notice__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; padding-top: 18px; padding-bottom: 18px; text-align: center; font-size: 16px; }
.notice p { color: var(--on-night-2); }
.notice strong { color: var(--on-night); }
.notice a { color: var(--beam); font-weight: 600; text-underline-offset: 3px; }
.notice a:hover { text-decoration-thickness: 2px; }

/* ---------- sections ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0; }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: var(--on-night); }
.section__head { margin-bottom: clamp(44px, 6vw, 72px); max-width: 860px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .lede { margin-left: auto; margin-right: auto; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--split > div { max-width: 760px; }
.more { text-align: center; margin-top: 40px; font-size: 18px; }

/* Shared line-icon tile for light sections */
.ov__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.ov__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- testimonial pull quote, placed at the end of each section ---------- */
.voice { max-width: 860px; margin: clamp(56px, 7vw, 88px) auto 0; text-align: center; }
.voice blockquote { font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.018em; line-height: 1.35; }
.voice blockquote::before { content: ""; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--grad); margin: 0 auto 24px; }
.voice figcaption { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.voice figcaption b { color: var(--ink); }
.voice--light figcaption, .voice--light figcaption b { color: var(--on-night-2); }
.voice--light figcaption b { color: var(--on-night); }

/* Heading highlights: one phrase per section heading carries colour, like the hero's "Busy Muslims" and the community's warm "A family."
   On light sections the blue starts at #0a9fc6 (3.1:1 on white, above the 3:1 needed for large text) and deepens to #0a5f78. */
.hl { background: linear-gradient(100deg, #0a9fc6 0%, #087893 55%, #0a5f78 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--night { background-image: linear-gradient(100deg, #9becfc 0%, #2ccbf0 50%, #0fa3c9 100%); }
@media (forced-colors: active) { .hl, .warm { background: none; color: CanvasText; } }

/* Studying section: a light touch of colour. A faint aqua glow behind the heading and soft sky-tinted cards, so the photos stay the focus. */
#studying { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #f4fafc 100%); }
#studying::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 600px; left: 50%; top: -220px; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(44, 203, 240, .16), rgba(44, 203, 240, 0)); }

/* ---------- 2. overview: a look inside ----------
   Thesis: show the real thing. Four real moments, text above each photo, photos run to the card edge. */
.glimpse { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .glimpse { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .glimpse { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .glimpse__card--slides { grid-column: span 7; }
  .glimpse__card--live { grid-column: span 5; }
  .glimpse__card--questions, .glimpse__card--ijaza { grid-column: span 6; }
}
.glimpse__card { margin: 0; display: flex; flex-direction: column; background: linear-gradient(170deg, #f0f8fb 0%, #e3f2f7 100%); border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(10, 111, 138, .06); }
.glimpse__card figcaption { padding: 32px 32px 24px; }
.glimpse__card h3 { font-size: clamp(21px, 2vw, 24px); letter-spacing: -0.018em; line-height: 1.2; }
.glimpse__card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 46ch; }
.glimpse__media { position: relative; flex: 1; margin: 0 16px 16px; border-radius: calc(var(--radius-lg) - 12px); overflow: hidden; background: #dfe6ea; aspect-ratio: 16 / 10; }
.glimpse__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glimpse__card--live .glimpse__media img { object-position: 28% 50%; }
.glimpse__card--questions .glimpse__media img { object-position: 50% 0; }
@media (min-width: 1000px) {
  .glimpse__card--live .glimpse__media { aspect-ratio: auto; min-height: 260px; }
  .glimpse__card--questions .glimpse__media, .glimpse__card--ijaza .glimpse__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 999px) { .glimpse__card--ijaza .glimpse__media { aspect-ratio: 4 / 3; } }

/* ---------- in their own words: screenshot wall ----------
   Thesis: the evidence speaks. Real screenshots float on night like cards on a desk; no captions, no chrome.
   Desktop: masonry columns, capped with a soft fade and a "See more" button. Phone: a swipeable row. */
.wall-wrap { position: relative; }
.wall { columns: 3 300px; column-gap: 20px; }
.wall__item { break-inside: avoid; margin-bottom: 20px; }
.wall img { display: block; width: 100%; height: auto; border-radius: 16px; background: #1a2733;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 28px 50px -28px rgba(0, 0, 0, .8); }
@media (min-width: 700px) {
  .wall-wrap:not(.is-open) { max-height: 1180px; overflow: hidden; }
  .wall-wrap:not(.is-open)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 260px; pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 19, 28, 0) 0%, var(--night) 88%); }
  .wall__hint { display: none; }
}
.wall__item img { cursor: zoom-in; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .wall__item img:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(44, 203, 240, .35), 0 34px 60px -28px rgba(0, 0, 0, .9); } }
.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.viewer::backdrop { background: rgba(4, 10, 15, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.viewer img { display: block; max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.viewer__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .16); }
.viewer__close:hover { background: rgba(255, 255, 255, .26); }
@media (prefers-reduced-motion: reduce) { .wall__item img { transition: none; } }
.wall__more { display: flex; justify-content: center; margin-top: 28px; }
.wall__note { order: 9; text-align: center; font-size: 13px; color: var(--on-night-2); margin-top: 18px; }
/* JS masonry: items placed row by row into the shortest column, so the strongest messages sit along the top. */
.wall.is-masonry { columns: auto; display: flex; gap: 20px; align-items: flex-start; }
.wall__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.wall.is-masonry .wall__item { margin: 0; }
.wall-wrap.is-open ~ .wall__more { display: none; }
@media (max-width: 699px) {
  .wall { columns: auto; display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .wall::-webkit-scrollbar { display: none; }
  .wall__item { flex: 0 0 84%; margin: 0; scroll-snap-align: center; }
  .wall__hint { text-align: center; font-size: 14px; color: var(--on-night-2); margin-top: 14px; }
  .wall__more { display: none; }
}

/* Pace section: calm neutral with one faint aqua glow behind the tier card.
   The community section then rises over its bottom edge like a warm sheet with rounded top corners and a soft shadow:
   a clear boundary that reads as a change of mood, not a hard cut. */
#pace.section--mist { position: relative; overflow: hidden; isolation: isolate; padding-bottom: calc(clamp(84px, 11vw, 140px) + 48px); }
#pace::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(44, 203, 240, .14), rgba(44, 203, 240, 0)); }
#pace + .community { margin-top: -48px; z-index: 1; border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  box-shadow: 0 -1px 0 rgba(180, 100, 30, .08), 0 -28px 60px -36px rgba(120, 70, 20, .28); }

/* ---------- 3. your pace, your plan ----------
   Thesis: the student chooses, the teacher plans. Steps on the left, the live tier switcher on the right. */
.pace-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .pace-split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.plan-steps { display: grid; gap: 24px; margin-top: 40px; }
.plan-steps li { display: flex; gap: 18px; align-items: flex-start; }
.plan-steps .system__n { flex: none; margin: 0; }
.plan-steps h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; margin-top: 4px; }
.plan-steps p { color: var(--ink-2); font-size: 16px; margin-top: 4px; max-width: 46ch; }
/* The framework: the one elevated surface in this section, so it reads as the thing you're given. */
.framework { position: relative; margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 36px; align-items: center;
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px);
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(7, 19, 28, .04), 0 48px 90px -40px rgba(7, 19, 28, .35); overflow: hidden; }
.framework::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
@media (min-width: 1000px) { .framework { grid-template-columns: 1fr 1fr; gap: 64px; } }
.framework__badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--sea); background: #e2f2f6; padding: 6px 12px; border-radius: 999px; }
.framework__title { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.028em; line-height: 1.1; margin-top: 18px; text-wrap: balance; }
.framework__lede { margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.framework__flow { position: relative; display: grid; gap: 28px; }
.framework__flow::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 52px; width: 2px; background: linear-gradient(180deg, #06c1ef, #177e91); opacity: .35; }
.framework__flow li { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.framework__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(8, 120, 147, .7); }
.framework__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.framework__flow h4 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; margin-top: 3px; }
.framework__flow p { margin-top: 4px; font-size: 16px; color: var(--ink-2); max-width: 40ch; }

.pace-voices { margin-top: clamp(40px, 5vw, 56px); }
.pace-voices__title { font-size: 15px; font-weight: 600; color: var(--sea); margin-bottom: 16px; }
.pace-voices__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pace-voices__grid { grid-template-columns: repeat(3, 1fr); } }
.pace-voices .quote { margin: 0; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; }

/* ---------- community ----------
   Thesis: warmth. The section is lit like the sunset photo it opens with: a dawn wash from warm sand into soft aqua.
   Each card carries its own colour, so the week reads as many different moments; "Worship together" is the one bold, saturated card.
   Text stays dark ink on light tints (all body text 4.5:1 or better). */
.community { position: relative; overflow: hidden; isolation: isolate; color: var(--ink);
  background: linear-gradient(180deg, #fff5ea 0%, #fff9f3 30%, #f1f9fc 70%, #e9f6fb 100%); }
.community::before, .community::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.community::before { width: 760px; height: 760px; left: -240px; top: -260px; background: radial-gradient(closest-side, rgba(255, 181, 112, .35), rgba(255, 181, 112, 0)); }
.community::after { width: 820px; height: 820px; right: -280px; top: 34%; background: radial-gradient(closest-side, rgba(44, 203, 240, .2), rgba(44, 203, 240, 0)); }
.community .eyebrow { color: #b4560f; }
.community .lede { color: var(--ink-2); }
.warm { background: linear-gradient(100deg, #cf6a0a 0%, #e0503a 55%, #c03f6e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.chead { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .chead { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.chead__copy .lede { max-width: 50ch; }
.chead__photo { margin: 0; position: relative; }
.chead__photo img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 2px 6px rgba(120, 60, 10, .08), 0 40px 80px -40px rgba(120, 60, 10, .45); }
.chead__photo::before { content: ""; position: absolute; inset: 10% -6% -6% 10%; z-index: -1; border-radius: 32px; background: linear-gradient(135deg, #ffd39b, #ffb3a0 55%, #a8e6f5); opacity: .55; }
@media (max-width: 999px) { .chead__photo { max-width: 460px; } }

.csub { margin-top: clamp(80px, 10vw, 128px); }
.csub__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 40px); }
.csub__label { display: inline-block; font-size: 14px; font-weight: 700; color: #0a6f8a; padding: 6px 12px; border-radius: 999px; background: rgba(44, 203, 240, .14); }
.csub__title { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1.08; margin-top: 14px; text-wrap: balance; }
.csub__head p:not(.csub__label) { margin-top: 12px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }

/* Bento of the week */
.cbento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cbento { grid-template-columns: 1fr 1fr; } .ccard--worship { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
  .cbento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .ccard--chat { grid-column: span 5; } .ccard--share { grid-column: span 7; }
  .ccard--circle { grid-column: span 5; } .ccard--worship { grid-column: span 7; }
}
.ccard { --tone: #0a6f8a; position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(26px, 3.2vw, 36px);
  box-shadow: 0 1px 2px rgba(11, 23, 32, .04), 0 24px 50px -36px rgba(11, 23, 32, .35); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) { .ccard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(11, 23, 32, .04), 0 34px 60px -34px rgba(11, 23, 32, .4); } }
.ccard--sky { --tone: #0a6f8a; background: linear-gradient(160deg, #eaf9fd 0%, #cfeff9 100%); }
.ccard--sun .chips li { background: #ffe1b8; color: #8a4b00; box-shadow: none; }
.ccard--sun { --tone: #985700; background: linear-gradient(160deg, #fff6e2 0%, #ffe7b8 100%); }
.ccard--lilac { --tone: #5442c4; background: linear-gradient(160deg, #f2f0ff 0%, #ded8ff 100%); }
.ccard__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--tone); box-shadow: 0 10px 22px -10px var(--tone); }
.ccard__icon svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard h4 { font-size: clamp(21px, 2.1vw, 25px); letter-spacing: -0.018em; line-height: 1.2; }
.ccard p { margin-top: 8px; color: #33434e; max-width: 46ch; }

.bubbles { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.bubble { align-self: flex-start; max-width: 90%; font-size: 14px; line-height: 1.35; padding: 9px 14px; border-radius: 18px 18px 18px 6px; background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(10, 111, 138, .5); }
.bubble--me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: #0a6f8a; color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 23, 32, .06); }


.ccard--worship { color: #fff; background: linear-gradient(135deg, #05495b 0%, #08687f 50%, #0b7f9b 100%); }
.ccard--worship::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 190, 120, .55), rgba(255, 190, 120, 0)); }
.ccard--worship::after { content: ""; position: absolute; width: 360px; height: 360px; left: -140px; bottom: -200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(44, 203, 240, .45), rgba(44, 203, 240, 0)); }
.ccard--worship > * { position: relative; z-index: 1; }
.ccard--worship .ccard__icon { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.ccard--worship p { color: rgba(255, 255, 255, .86); }
.days { display: grid; gap: 10px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .days { grid-template-columns: repeat(3, 1fr); } }
.days li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.days span { font-size: 13px; font-weight: 700; color: #9fe6f7; }
.days b { font-size: 21px; letter-spacing: -0.015em; }
.days em { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .85); line-height: 1.4; }

/* Sisters & brothers */
.spaces { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .spaces { grid-template-columns: 1fr 1fr; gap: 20px; } }
.space { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 1px 2px rgba(11, 23, 32, .04), 0 24px 50px -36px rgba(11, 23, 32, .35); }
.space::after { content: ""; position: absolute; right: -70px; top: -70px; width: 230px; height: 230px; border-radius: 50%; pointer-events: none; opacity: .7; }
.space--sisters { --tone: #a23c22; background: linear-gradient(160deg, #fff1ea 0%, #ffdccd 100%); }
.space--sisters::after { background: radial-gradient(closest-side, rgba(255, 150, 110, .55), transparent); }
.space--brothers { --tone: #0a6b58; background: linear-gradient(160deg, #ecfaf5 0%, #cdf0e4 100%); }
.space--brothers::after { background: radial-gradient(closest-side, rgba(60, 200, 160, .45), transparent); }
.space > * { position: relative; z-index: 1; }
.space__tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tone); margin-bottom: 14px; }
.space h4 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; margin-bottom: 10px; }
.space p { color: #33434e; max-width: 44ch; }
.space .chips { margin-top: auto; padding-top: 20px; }
.space .chips li { color: var(--tone); background: rgba(255, 255, 255, .8); }

/* In their words */
.reflections { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 760px) { .reflections { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1040px) { .reflections { grid-template-columns: repeat(3, 1fr); } }
.reflection { position: relative; margin: 0; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: var(--radius-lg); background: #fff;
  box-shadow: 0 1px 2px rgba(11, 23, 32, .04), 0 24px 50px -36px rgba(11, 23, 32, .35); }
.reflection blockquote { margin-top: 0; font-size: clamp(21px, 2vw, 25px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.25; text-wrap: balance; }
.reflection blockquote span { background: linear-gradient(100deg, #0b95b8 0%, #0a6f8a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reflection figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.reflection__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: var(--ink); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.reflection figcaption { margin-bottom: 22px; }
.reflection__btn:hover { background: #1d2b36; }
.reflection__btn:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.reflection__btn span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.reflection__btn svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) { .ccard { transition: none; } }

/* ---------- 4. in person ---------- */
.event { display: grid; gap: 32px; }
.event + .event { margin-top: clamp(72px, 9vw, 112px); }
.event__text { max-width: 640px; }
.event__tag { font-size: 14px; font-weight: 600; color: var(--sea); margin-bottom: 10px; }
.event__text p:not(.event__tag) { color: var(--ink-2); font-size: 19px; margin-top: 14px; }
/* Umrah gallery: every photo at its true shape, never cropped.
   Desktop: justified rows. Each item grows in proportion to its aspect ratio (--ar), so a row shares one height and fills the width exactly.
   Phone: two natural-height columns. */
.gallery { display: grid; gap: 12px; }
.gallery__row { display: flex; gap: 12px; align-items: flex-start; }
.gallery__item { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); margin: 0; border-radius: var(--radius); overflow: hidden; background: #e7edf0;
  box-shadow: 0 1px 2px rgba(7, 19, 28, .06), 0 24px 48px -32px rgba(7, 19, 28, .45); }
.gallery__item img { display: block; width: 100%; height: 100%; }
@media (max-width: 599px) {
  .gallery { display: block; columns: 2; column-gap: 8px; }
  .gallery__row { display: contents; }
  .gallery__item { display: block; width: 100%; break-inside: avoid; margin-bottom: 8px; border-radius: 14px; }
}
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mosaic figure { overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic .m1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaic--umrah .m2, .mosaic--umrah .m3, .mosaic--umrah .m4, .mosaic--umrah .m5 { aspect-ratio: 1 / 1; }
.mosaic--umrah .m6 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaic--umrah .m6 img { object-position: 45% 40%; }
.mosaic--uk .m2, .mosaic--uk .m3 { aspect-ratio: 1 / 1; }
@media (min-width: 900px) {
  .mosaic--umrah { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px 420px; }
  .mosaic--umrah .m6 { grid-column: 1 / -1; grid-row: 3; aspect-ratio: auto; }
  .mosaic--umrah .m1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .mosaic--umrah .m2, .mosaic--umrah .m3, .mosaic--umrah .m4, .mosaic--umrah .m5 { aspect-ratio: auto; }
  .mosaic--uk { grid-template-columns: 2fr 1fr; grid-template-rows: 260px 260px; }
  .mosaic--uk .m1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .mosaic--uk .m2, .mosaic--uk .m3 { aspect-ratio: auto; }
  .event--uk { grid-template-columns: 1fr; }
}
.mosaic--umrah .m2 img { object-position: 50% 30%; }
.mosaic--uk .m3 img { object-position: 50% 40%; }

/* ---------- 5. in depth ---------- */
.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 clamp(48px, 6vw, 72px); }
.chapters a { padding: 10px 18px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s; }
.chapters a:hover { background: #e6eef2; }
.chapter { padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.chapter + .chapter { margin-top: clamp(64px, 8vw, 96px); }
.chapter__head { max-width: 640px; margin-bottom: 32px; }
.chapter__head--wide { max-width: 760px; }
.chapter__head p { color: var(--ink-2); font-size: 18px; margin-top: 14px; }
@media (min-width: 900px) {
  .chapter--split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .chapter--split .chapter__head { margin-bottom: 0; }
  .chapter--flip .chapter__head { order: 2; }
}

.curriculum { display: grid; gap: 10px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .curriculum { grid-template-columns: 1fr 1fr; } }
.disc { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.disc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 20px; grid-template-areas: "name count chev" "en count chev"; align-items: center; column-gap: 12px; padding: 18px 22px; min-height: 64px; }
.disc summary::-webkit-details-marker { display: none; }
.disc summary::after { content: ""; grid-area: chev; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); justify-self: end; }
.disc[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.disc__name { grid-area: name; font-weight: 700; font-size: 19px; letter-spacing: -0.015em; }
.disc__en { grid-area: en; color: var(--ink-2); font-size: 15px; }
.disc__count { grid-area: count; font-size: 14px; color: var(--sea); font-weight: 600; white-space: nowrap; }
.disc ul { padding: 0 22px 18px; display: grid; gap: 14px; }
.disc .ul--compact { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.disc li b { font-weight: 600; }
.disc li p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.src { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; font-style: italic; }
.src::before { content: "Source: "; font-style: normal; }
.disc__src { padding: 0 22px 20px; font-size: 14px; color: var(--ink-2); }
.disc__src .src { display: inline; }
.disc__src .src::before { content: ""; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #dcecf1; color: #0b5a6e; vertical-align: 2px; margin-left: 4px; }
.tag--soon { background: #fdf0d5; color: #7a4b00; }

/* Tier switcher: a dark card on mist, segmented control per HIG */
.pace { background: var(--night); color: var(--on-night); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); margin-bottom: 32px; }
.segmented button { min-height: 40px; min-width: 88px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--on-night-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.segmented button[aria-selected="true"] { background: var(--on-night); color: var(--ink); }
.tier__label { color: var(--beam); font-weight: 600; font-size: 15px; }
.tier__figure { font-size: clamp(72px, 10vw, 120px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-top: 8px; }
.tier__figure span { font-size: .32em; letter-spacing: -0.01em; margin-left: 8px; color: var(--on-night-2); }
.tier__figure--word { font-size: clamp(52px, 7vw, 84px); }
.tier__detail { font-size: 19px; color: var(--on-night-2); margin-top: 6px; }
.tier__detail b { color: var(--on-night); font-weight: 600; }
/* Weekly total + flexibility: the daily figure is an average, not a schedule. */
.flex-week { margin: 26px 0 24px; padding: 18px 20px; border-radius: var(--radius); background: rgba(44, 203, 240, .08); box-shadow: inset 0 0 0 1px rgba(44, 203, 240, .22); }
.flex-week__total { font-size: 17px; color: var(--on-night); }
.flex-week__total b { color: var(--beam); font-weight: 700; }
.flex-week__how { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--on-night-2); }
.tier__note { color: var(--on-night-2); }
.tier[hidden] { display: none; }
.tier:not([hidden]) { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ticks { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.ticks li { font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ticks li::before { content: "✓ "; color: var(--sea); font-weight: 700; }
.ticks--stack { flex-direction: column; align-items: flex-start; gap: 10px; }
.ticks--stack li { background: none; box-shadow: none; padding: 0 0 0 28px; position: relative; font-size: 18px; }
.ticks--stack li::before { position: absolute; left: 0; top: 0; }
.shot img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(7, 19, 28, .5); }
.shot figcaption { font-size: 14px; color: var(--ink-2); margin-top: 12px; }

.system { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .system { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .system { grid-template-columns: repeat(4, 1fr); } }
.system li { background: var(--paper); border-radius: var(--radius-lg); padding: 28px; }
.system__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.system h4 { font-size: 20px; margin-bottom: 8px; line-height: 1.2; }
.system p { color: var(--ink-2); font-size: 16px; }
/* Muslim Lighthouse AI: a dark stage inside the mist section, the one place on the page that glows.
   Left: the promise. Right: an example chat that shows both behaviours, answering from the course and declining outside it. */
.ai { position: relative; display: grid; gap: 48px; align-items: center; background: var(--night); color: var(--on-night);
  border-radius: calc(var(--radius-lg) + 4px); padding: clamp(28px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.ai::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(44, 203, 240, .28), rgba(44, 203, 240, 0)); }
@media (min-width: 1000px) { .ai { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.ai__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--beam); padding: 6px 12px; border-radius: 999px; background: rgba(44, 203, 240, .1); box-shadow: inset 0 0 0 1px rgba(44, 203, 240, .25); }
.ai__title { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.032em; line-height: 1.05; margin-top: 20px; text-wrap: balance; }
.ai__title span { display: inline-block; background: linear-gradient(100deg, #9becfc 0%, #2ccbf0 50%, #0fa3c9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai__lede { margin-top: 18px; font-size: 18px; line-height: 1.5; color: var(--on-night-2); max-width: 46ch; }
.ai__points { display: grid; gap: 22px; margin-top: 32px; }
.ai__points li { display: flex; gap: 16px; align-items: flex-start; }
.ai__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ai__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--beam); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai__points h4 { font-size: 18px; letter-spacing: -0.012em; margin-top: 2px; }
.ai__points p { margin-top: 3px; font-size: 15px; color: var(--on-night-2); max-width: 42ch; }

.ai__demo { margin: 0; }
.chat { border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .8); overflow: hidden; }
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.chat__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--grad); color: #fff; }
.chat__status { margin-left: auto; font-size: 13px; color: #5fe0a0; }
.chat__status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fe0a0; margin-right: 6px; vertical-align: 1px; }
.chat__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px 22px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.45; }
.msg--me { align-self: flex-end; background: var(--btn); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { align-self: flex-start; background: rgba(255, 255, 255, .08); color: var(--on-night); border-bottom-left-radius: 6px; }
.msg--ai ol { margin: 10px 0 0; padding-left: 20px; list-style: decimal; display: grid; gap: 6px; color: var(--on-night-2); }
.msg__src { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--beam); padding: 4px 10px; border-radius: 999px; background: rgba(44, 203, 240, .12); }
.msg__src::before { content: "✓"; }
.ai__demo figcaption { margin-top: 12px; font-size: 13px; color: var(--on-night-2); text-align: center; }

.ai__quote { max-width: 760px; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center; }
.ai__quote blockquote { font-size: clamp(19px, 2vw, 23px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.4; }
.ai__quote figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.ai__quote figcaption b { color: var(--ink); }

.ai-strip { display: flex; gap: 18px; align-items: center; margin-top: 16px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--paper); }
.ai-strip p { color: var(--ink-2); }
.ai-strip b { color: var(--ink); }

.ustadh { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .ustadh { grid-template-columns: 5fr 7fr; gap: 64px; } .ustadh__photo { position: sticky; top: 88px; } }
.ustadh__photo img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 899px) { .ustadh__photo img { aspect-ratio: 1 / 1; object-position: 45% 25%; } }
.ustadh__intro { color: var(--ink-2); font-size: 19px; margin-top: 18px; }
.bio { margin-top: 36px; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); }
.bio h4 { font-size: 22px; }
.bio h4 span { display: block; font-size: 15px; font-weight: 500; color: var(--ink-2); margin-top: 4px; letter-spacing: 0; }
.bio dl { margin: 20px 0 0; display: grid; gap: 0; }
.bio dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.bio dt { font-size: 14px; font-weight: 600; color: var(--sea); }
.bio dd { margin: 0; font-size: 16px; color: var(--ink); }
@media (max-width: 520px) { .bio dl div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- 6. reviews ---------- */
.tp { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); padding: 16px 20px; border-radius: var(--radius); background: var(--mist); }
.tp__stars { color: #00b67a; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.tp__text { font-size: 15px; color: var(--ink-2); }
.tp__text b { color: var(--ink); }
.quotes { columns: 1; column-gap: 16px; }
@media (min-width: 680px) { .quotes { columns: 2; } }
@media (min-width: 1040px) { .quotes { columns: 3; } }
.quote { break-inside: avoid; margin: 0 0 16px; background: var(--mist); border-radius: var(--radius); padding: 24px; }
.quote p { font-size: 17px; line-height: 1.5; }
.quote p mark { background: none; color: var(--sea); font-weight: 600; }
.quote footer { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.quote footer b { color: var(--ink); font-weight: 600; }
.quote__src { font-size: 12px; white-space: nowrap; }
.quote--feature { background: var(--night); color: var(--on-night); }
.quote--feature p { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.quote--feature p mark { color: var(--beam); }
.quote--feature footer { color: var(--on-night-2); }
.quote--feature footer b { color: var(--on-night); }
.quotes-more { display: flex; justify-content: center; margin-top: 20px; }
.quotes.is-collapsed .quote:nth-child(n+10) { display: none; }

/* ---------- 7. pricing ---------- */
.plans { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; grid-template-columns: 1fr; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: 36px 32px 32px; display: flex; flex-direction: column; }
.plan--best { box-shadow: 0 0 0 2px var(--btn), 0 30px 60px -30px rgba(8, 120, 147, .5); }
.plan__badge { position: absolute; top: -14px; left: 32px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; }
.plan__name { font-size: 22px; }
.plan__price { font-size: clamp(48px, 6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 16px; }
.plan__price .cur { font-size: .5em; vertical-align: .55em; margin-right: 2px; letter-spacing: 0; }
.plan__price .per { font-size: 17px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; margin-left: 4px; }
.plan__day { font-weight: 600; color: var(--sea); margin-top: 10px; }
.plan__desc { color: var(--ink-2); margin: 8px 0 28px; flex: 1; }
.included { max-width: 880px; margin: 16px auto 0; background: var(--paper); border-radius: var(--radius-lg); padding: 32px; }
.included h3 { font-size: 19px; margin-bottom: 18px; }
.included ul { display: grid; gap: 12px 28px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .included ul { grid-template-columns: 1fr 1fr; } }
.included li { position: relative; padding-left: 30px; color: var(--ink-2); }
.included li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.included li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.assure { text-align: center; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.voice--center { margin-top: clamp(56px, 7vw, 80px); }

.faq { max-width: 820px; margin: clamp(64px, 8vw, 96px) auto 0; }
.faq .title { margin-bottom: 12px; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--ink-2); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; }

.capture { position: relative; overflow: hidden; margin: clamp(64px, 8vw, 96px) auto 0; max-width: 720px; padding: 40px clamp(20px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); text-align: center; }
.capture h3 { font-size: 26px; }
.capture > p { color: var(--on-night-2); margin-top: 8px; }
.capture__form { display: grid; gap: 10px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .capture__form { grid-template-columns: 1fr 1.4fr; } .capture__form .btn { grid-column: span 2; } }
.capture__form input { min-height: 50px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: var(--on-night); font: inherit; font-size: 17px; }
.capture__form input::placeholder { color: #8fa1ae; }
.capture__form input:focus { outline: none; border-color: var(--beam); box-shadow: 0 0 0 3px rgba(44, 203, 240, .25); }
.capture__form input[aria-invalid="true"] { border-color: #ff8a80; }
.capture__msg { min-height: 1.5em; margin-top: 12px; font-size: 15px; }
.capture__msg.is-error { color: #ffb4ab; }
.capture__fine { font-size: 13px; color: var(--on-night-2); }
.capture.is-done .capture__form { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--on-night-2); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { color: var(--on-night-2); text-decoration: none; padding: 6px 0; }
.footer nav a:hover { color: var(--on-night); }


/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pillar { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tier:not([hidden]) { animation: none; }
  .offers__icon, .mosaic img { transition: none; }
}

@media (min-width: 1000px) and (max-width: 1199px) { .pillar__text small { display: none; } }

/* Mobile and tablet: hero cards stacked, full-width, uncropped photos */
@media (max-width: 999px) {
  .pillars { grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
  .pillar__media { aspect-ratio: 16 / 10; border-radius: 20px; }
  .pillar__media img { height: 100%; object-fit: cover; }
  .pillar--community .pillar__media img { object-position: 30% 55%; }
  .pillar--meet .pillar__media img { object-position: 50% 45%; }
  .pillar__label { position: absolute; left: 12px; bottom: 12px; margin: 0; flex-direction: row; gap: 10px; text-align: left; white-space: nowrap;
    padding: 6px 14px 6px 6px; border-radius: 14px; background: rgba(7, 19, 28, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
  .pillar__icon { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; }
  .pillar__icon svg { width: 18px; height: 18px; }
  .pillar__text b { font-size: 15px; }
}
