/* Adhan Connect — adhanconnect.com
   Light and airy, in the Maksums family: white and soft lavender-grey grounds,
   a violet→cyan brand gradient, warm amber only for prayer-time moments.
   One deliberate light theme. Self-hosted fonts: Sora (display), Figtree
   (text), Reem Kufi subset (Arabic prayer names). */
@font-face { font-family: "Sora"; src: url("fonts/Sora.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Reem Kufi"; src: url("fonts/ReemKufi-subset.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #ffffff;
  --soft: #f6f7fb;
  --lilac: #f1efff;
  --aqua: #e6fafd;
  --ink: #0d1024;
  --ink-soft: #4f546d;
  --muted: #767b93;
  --line: #e7e8f2;
  --violet: #6d5efc;
  --violet-dark: #5340f2;
  --cyan: #22d3ee;
  --cyan-ink: #0e7f93;
  --amber: #f5a524;
  --amber-ink: #a35a00;
  --amber-tint: #fff4e0;
  --live: #ff4d5e;
  --grad: linear-gradient(100deg, #6d5efc 0%, #22d3ee 100%);
  --shadow-sm: 0 1px 2px rgba(13, 16, 36, 0.06);
  --shadow: 0 1px 2px rgba(13, 16, 36, 0.05), 0 14px 36px -12px rgba(13, 16, 36, 0.12);
  --shadow-brand: 0 24px 60px -18px rgba(93, 78, 255, 0.35);
  --display: "Sora", "Avenir Next", -apple-system, "Segoe UI", sans-serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --arabic: "Reem Kufi", "Geeza Pro", "Noto Kufi Arabic", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--violet-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.24rem); color: var(--ink-soft); max-width: 34em; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 70px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand svg { width: 36px; height: 36px; flex: none; border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(93, 78, 255, 0.5); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 8px 13px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.site-nav .nav-cta { color: #fff; background: var(--grad); margin-left: 6px; box-shadow: 0 8px 20px -10px rgba(93, 78, 255, 0.8); }
.site-nav .nav-cta:hover { color: #fff; background: var(--grad); filter: brightness(1.05); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--violet); }
.btn-white { background: #fff; color: var(--violet-dark); }
.btn-glass { border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 20px 9px 15px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 0.72rem; opacity: 0.75; line-height: 1.1; }
.store b { display: block; font-size: 1.08rem; line-height: 1.2; }
.store[aria-disabled="true"] { cursor: default; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 96px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(42% 55% at 88% 22%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(45% 60% at 70% 75%, rgba(109, 94, 252, 0.20), transparent 70%),
    radial-gradient(35% 45% at 8% 0%, rgba(245, 165, 36, 0.12), transparent 70%),
    var(--paper); }
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.02fr 0.98fr; } }
.hero h1 { max-width: 17ch; font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.hero .lede { margin-top: 22px; }
.hero .actions { margin-top: 32px; }
.kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.kicker .arabic { font-family: var(--arabic); font-weight: 500; font-size: 1.6rem; line-height: 1; color: var(--violet); }
.soon-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-dark); background: var(--lilac); border: 1px solid #ddd8ff; padding: 6px 13px; border-radius: 999px; }
.soon-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.soon-note { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.soon-note a { font-weight: 700; }
.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); }
.hero-points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }

/* Real app screens, fanned */
.phones { position: relative; height: clamp(440px, 52vw, 600px); }
.shot { position: absolute; width: clamp(180px, 22vw, 260px); border-radius: 34px; padding: 7px; background: #0d1024; box-shadow: 0 40px 80px -30px rgba(13, 16, 36, 0.45); }
.shot img { border-radius: 28px; width: 100%; aspect-ratio: 1170 / 2392; object-fit: cover; object-position: bottom; }
.shot.front { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.shot.left { left: 4%; top: 12%; transform: rotate(-7deg); z-index: 2; }
.shot.right { right: 4%; top: 12%; transform: rotate(7deg); z-index: 1; }
.float { position: absolute; z-index: 4; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.float b { display: block; font-size: 0.98rem; }
.float small { color: var(--muted); }
.float .dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float .dot svg { width: 19px; height: 19px; }
.float.live { left: 0; bottom: 14%; }
.float.live .dot { background: #ffe8ea; color: var(--live); }
.float.next { right: 0; bottom: 3%; }
.float.next .dot { background: var(--amber-tint); color: var(--amber-ink); }
.shots-caption { margin-top: 10px; text-align: center; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 640px) {
  .phones { height: 470px; }
  .shot { width: 190px; }
  .shot.left { left: -6%; }
  .shot.right { right: -6%; }
  .float.live { left: -4px; bottom: 6%; }
  .float.next { right: -4px; bottom: -2%; }
}

/* ---------- Prayer strip ---------- */
.prayer-strip { background: var(--soft); border-block: 1px solid var(--line); }
.prayer-strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.prayer-strip li { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.prayer-strip li span[lang] { font-family: var(--arabic); font-weight: 500; font-size: 1.15rem; color: var(--violet); }
@media (max-width: 720px) { .prayer-strip ul { justify-content: center; } }

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 9vw, 116px); }
.tinted { background: var(--soft); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 50px); max-width: 46em; }

/* How it works */
.signal { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sig { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px 26px; display: grid; gap: 10px; align-content: start; }
.sig .ill { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; background: var(--grad); box-shadow: 0 12px 24px -12px rgba(93, 78, 255, 0.7); }
.sig .ill svg { width: 28px; height: 28px; }
.sig .step { position: absolute; top: 22px; right: 26px; font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--lilac); }
.sig p { color: var(--ink-soft); }
.backup { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 26px; border-radius: 24px; background: var(--amber-tint); border: 1px solid #ffe2b3; }
.backup .badge { width: 50px; height: 50px; border-radius: 15px; background: var(--amber); color: #fff; display: grid; place-items: center; }
.backup .badge svg { width: 25px; height: 25px; }
.backup b { display: block; font-size: 1.08rem; }
.backup span { color: #6a4a1c; }

/* Day card: prayer times to scale */
.day { margin: 0; background: var(--paper); border-radius: 28px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.day-head h3 { font-size: 1.15rem; }
.band { position: relative; margin: 50px 0; height: 16px; border-radius: 999px;
  background: linear-gradient(90deg, #1d2a4a 0%, #3b4778 5%, #c98a8c 9%, #f2c48d 13%, #bfe0f4 20%, #a9d6f2 50%, #c3e3f4 70%, #f1c27e 79%, #e17f5f 83%, #5d4a7c 88%, #1d2a4a 95%); }
.mark { position: absolute; top: 50%; left: var(--at); }
.mark::before { content: ""; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.mark span { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: 0.92rem; }
.mark.up span { bottom: 16px; }
.mark.down span { top: 16px; }
.mark.sunrise::before { width: 9px; height: 9px; left: -4.5px; top: -4.5px; border-width: 2px; border-color: var(--muted); }
.mark.sunrise span { font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.now { position: absolute; left: var(--at); top: -12px; bottom: -12px; width: 3px; border-radius: 2px; background: var(--violet); }
.times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; }
.time { border-radius: 16px; padding: 12px 8px; text-align: center; background: var(--soft); }
.time.next { background: var(--lilac); outline: 2px solid var(--violet); }
.time.past { opacity: 0.55; }
.time dt { font-weight: 700; font-size: 0.92rem; }
.time dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; }
.time .adhan { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.25; }
.time .jamaat { font-size: 0.82rem; color: var(--muted); }
.day-foot { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 0.92rem; background: var(--grad); color: #fff; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
@media (max-width: 560px) {
  .times { gap: 6px; }
  .time { padding: 9px 2px; }
  .time .adhan { font-size: 1.02rem; }
  .time .jamaat { font-size: 0.72rem; }
}

/* ---------- Features: tabs + bento ---------- */
.tablist { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 30px; flex-wrap: wrap; }
.tablist button { font: inherit; font-weight: 700; border: 0; background: transparent; color: var(--ink-soft); padding: 11px 22px; border-radius: 999px; cursor: pointer; min-height: 46px; }
.tablist button[aria-selected="true"] { background: var(--paper); color: var(--violet-dark); box-shadow: var(--shadow-sm), 0 4px 12px -6px rgba(13, 16, 36, 0.2); }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.tile { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 8px; align-content: start; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile.wide { grid-column: span 2; }
@media (max-width: 560px) { .tile.wide { grid-column: auto; } }
.tile .icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--lilac); color: var(--violet-dark); margin-bottom: 6px; }
.tile .icon svg { width: 22px; height: 22px; }
.tile.c-aqua .icon { background: var(--aqua); color: var(--cyan-ink); }
.tile.c-amber .icon { background: var(--amber-tint); color: var(--amber-ink); }
.tile h3 { font-size: 1.06rem; }
.tile p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; }
.tile.wide h3 { font-size: 1.5rem; }
.tile.brand { background: var(--grad); border: 0; color: #fff; }
.tile.brand p { color: rgba(255, 255, 255, 0.92); }
.tile.brand .icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.tile.lilac { background: linear-gradient(140deg, #f4f2ff, #e9e5ff); border-color: #e2ddff; }
.tile.aqua { background: linear-gradient(140deg, #ecfcff, #d7f6fb); border-color: #cdeff5; }
.tile.aqua .icon { background: #fff; color: var(--cyan-ink); }
.tile.amber { background: linear-gradient(140deg, #fff8ea, #ffecc8); border-color: #ffe2b3; }
.tile.amber .icon { background: #fff; color: var(--amber-ink); }
.tile.amber p { color: #6a4a1c; }
.soon-tag { position: absolute; top: 18px; right: 18px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: #fff; }
.wave { display: flex; align-items: center; gap: 4px; height: 40px; margin-top: 10px; }
.wave span { width: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.9); height: calc(var(--h) * 1%); }
.mini-times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; text-align: center; font-size: 0.78rem; color: #6a4a1c; }
.mini-times span { background: rgba(255, 255, 255, 0.75); border-radius: 10px; padding: 6px 2px; }
.mini-times b { display: block; font-family: var(--display); font-size: 1rem; color: var(--ink); }

/* ---------- Promise: a brand gradient band ---------- */
.promise { background: var(--grad); color: #fff; }
.promise .eyebrow { color: rgba(255, 255, 255, 0.85); }
.promise h2 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 16ch; margin-top: 14px; }
.promise-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.promise-list li { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 22px; padding: 22px; }
.promise-list b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.promise-list span { color: rgba(255, 255, 255, 0.92); }
.promise a { color: #fff; font-weight: 700; }

/* ---------- What makes it different ---------- */
.diff { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.diff div { padding: 26px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.diff i { width: 36px; height: 6px; border-radius: 6px; background: var(--c, var(--grad)); }
.diff b { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.diff p { color: var(--ink-soft); }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding: 26px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; background: var(--grad); color: #fff; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }

/* ---------- Spotlight (coming soon: classes & students) ---------- */
.spotlight { display: grid; gap: 32px; align-items: center; border-radius: 32px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, #f4f2ff 0%, #ecfcff 100%); border: 1px solid #e2ddff; }
@media (min-width: 940px) { .spotlight { grid-template-columns: 1fr 1fr; } }
.spotlight h2 { max-width: 16ch; margin-top: 12px; }
.spotlight .lede { margin-top: 14px; }
.spotlight ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.spotlight li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; }
.spotlight li::before { content: "\2713"; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.75rem; font-weight: 900; display: grid; place-items: center; }
.spotlight .actions { margin-top: 26px; }
.dash { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-top b { font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.02em; }
.dash-tabs { display: inline-flex; gap: 4px; background: var(--soft); border-radius: 999px; padding: 3px; font-size: 0.8rem; font-weight: 700; }
.dash-tabs span { padding: 5px 11px; border-radius: 999px; color: var(--muted); }
.dash-tabs .on { background: #fff; color: var(--violet-dark); box-shadow: var(--shadow-sm); }
.student { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.student .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; color: #fff; background: var(--grad); }
.student b { display: block; font-size: 0.95rem; }
.student small { color: var(--muted); }
.bar { height: 7px; border-radius: 7px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: var(--p); border-radius: 7px; background: var(--grad); }
.student .pct { font-family: var(--display); font-weight: 700; font-size: 0.95rem; }
.report { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--amber-tint); font-size: 0.9rem; }
.report svg { width: 22px; height: 22px; color: var(--amber-ink); flex: none; }
.dash-caption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; gap: 28px; align-items: center; color: #fff; background: var(--grad); box-shadow: var(--shadow-brand); }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr auto; } }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.12); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 18ch; margin-top: 12px; }
.cta p { color: rgba(255, 255, 255, 0.92); margin-top: 14px; max-width: 36em; }
.cta .eyebrow { color: rgba(255, 255, 255, 0.85); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 28px 64px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; } .faq-wrap .section-head { position: sticky; top: 100px; align-self: start; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 22px; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--violet-dark); font-size: 1.3rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); max-width: 42em; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px);
  background: radial-gradient(40% 70% at 90% 10%, rgba(34, 211, 238, 0.18), transparent 70%), radial-gradient(40% 70% at 70% 100%, rgba(109, 94, 252, 0.16), transparent 70%), var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 17ch; }
.page-hero .lede { margin-top: 16px; }
.page-hero .actions { margin-top: 28px; }
.page-hero .eyebrow { display: block; margin-bottom: 14px; }
.page-hero .note { margin-top: 14px; }
.path { font-weight: 700; background: var(--lilac); color: var(--violet-dark); padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.card h2 { font-size: 1.4rem; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: var(--violet-dark); }
.card .icon svg { width: 24px; height: 24px; }
.card.c-aqua .icon { background: var(--aqua); color: var(--cyan-ink); }
.card.c-amber .icon { background: var(--amber-tint); color: var(--amber-ink); }
.contact { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.prose { max-width: 44em; display: grid; gap: 16px; }
.prose h2 { font-size: 1.7rem; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); color: var(--ink-soft); padding-block: 56px 40px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.site-footer h2 { font-family: var(--body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--violet-dark); text-decoration: underline; }
.site-footer .brand { margin-bottom: 12px; }
.legal-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }

/* ---------- Motion (only when welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 6s ease-in-out infinite; }
  .float.next { animation-delay: -3s; }
  .wave span { animation: eq 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.13s); transform-origin: center; }
  .now { animation: blink 2.4s ease-in-out infinite; }
  .float.live .dot { animation: blink 1.6s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
  @keyframes blink { 50% { opacity: 0.45; } }
  @keyframes eq { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* A real app card, shown beside text */
.app-card { max-width: 440px; margin-inline: auto; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #f6f7fb; }
.app-card img { width: 100%; }
.app-card-caption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- Legal documents ---------- */
.legal-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .legal-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; } }
.legal-toc { align-self: start; }
@media (min-width: 980px) { .legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
.legal-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; line-height: 1.35; }
.legal-toc a:hover { color: var(--violet-dark); border-left-color: var(--violet); }
.legal { max-width: 46em; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; scroll-margin-top: 96px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 26px 0 8px; scroll-margin-top: 96px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.3em; display: grid; gap: 7px; }
.legal strong { color: var(--ink); }
.legal em { color: var(--muted); }
.legal #the-short-version + ul { background: var(--lilac); border-radius: 18px; padding: 18px 22px 18px 40px; }
.table-wrap { overflow-x: auto; margin: 6px 0 20px; border: 1px solid var(--line); border-radius: 16px; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.94rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--soft); color: var(--ink); font-weight: 700; }
.table-wrap td { color: var(--ink-soft); }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- Mosque admin guides: a hub, and one page per task ---------- */
:root { --hdr: 87px; }
.guide-hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .guide-hero .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.guide-hero .phones { height: clamp(380px, 40vw, 480px); }
.guide-hero .shot { width: clamp(150px, 16vw, 210px); }
.guide-hero .shot img { aspect-ratio: 390 / 844; object-position: top; }
.guide-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.guide-facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); }
.guide-facts li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }

.guide-map { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); counter-reset: part; }
.guide-map a { counter-increment: part; position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 56px 22px 22px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.guide-map a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9d4ff; }
.guide-map .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: var(--violet-dark); margin-bottom: 6px; }
.guide-map .icon svg { width: 24px; height: 24px; }
.guide-map b { font-family: var(--display); font-size: 1.14rem; letter-spacing: -0.02em; }
.guide-map small { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.guide-map span.what { color: var(--ink-soft); font-size: 0.96rem; }
.guide-map a::after { content: "\2192"; position: absolute; right: 20px; top: 22px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--violet-dark); font-weight: 800; transition: transform .18s ease; }
.guide-map a:hover::after { transform: translateX(3px); }

/* The hub: the setup order (ticks stay in the browser), then every guide by topic. */
.gsection { padding-block: clamp(40px, 6vw, 72px) 0; scroll-margin-top: calc(var(--hdr) + 16px); }
.gcount { margin-bottom: 12px; font-weight: 700; color: var(--violet-dark); }
.gcount:empty { display: none; }
.gsetup { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 880px; }
.gtask { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); transition: border-color .25s ease, background .25s ease; }
.gtask.is-done { background: linear-gradient(135deg, #fbfaff 0%, #f5feff 100%); border-color: #d9d4ff; }
.gtask .num { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--grad); color: #fff; }
.gtask a { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.gtask a:hover { color: var(--violet-dark); text-decoration: underline; }
.gtask small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.gtask .gcheck { margin-top: 0; }
@media (max-width: 560px) {
  .gtask { grid-template-columns: 32px minmax(0, 1fr); }
  .gtask .num { width: 32px; height: 32px; }
  .gtask .gcheck { grid-column: 2; justify-self: start; }
}
.ggroup { padding-block: 0; }
.ggroup + .ggroup { margin-top: clamp(32px, 4vw, 48px); }
.ggroup-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.ggroup-head .icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: var(--violet-dark); }
.ggroup-head .icon svg { width: 24px; height: 24px; }
.ggroup-head h3 { font-size: 1.35rem; }
.ggroup-head p { margin-top: 2px; color: var(--ink-soft); font-size: 0.98rem; }

/* One guide on its own page */
.gtopic-hero h1 { margin-top: 10px; max-width: 16em; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.gtopic-hero .lede { margin-top: 14px; }
.gcrumb { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.gcrumb a { font-weight: 700; }
.gtopic { display: grid; gap: 20px; padding-block: clamp(8px, 2vw, 24px) clamp(32px, 5vw, 56px); }
.gtopic > * { min-width: 0; max-width: 1020px; }
.gnext { display: grid; gap: 12px; margin-top: clamp(16px, 3vw, 32px); }

/* Other situations: a question that opens to a short answer */
.gsits { display: grid; gap: 10px; padding-block: clamp(16px, 3vw, 32px) 0; scroll-margin-top: calc(var(--hdr) + 16px); }
.gsits > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gsits > p { margin-bottom: 6px; color: var(--ink-soft); }
.gsit { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .18s ease; }
.gsit[open] { border-color: #d9d4ff; background: linear-gradient(135deg, #fbfaff 0%, #f5feff 100%); }
.gsit summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 52px; padding: 12px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.gsit summary::-webkit-details-marker { display: none; }
.gsit summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--violet-dark); font-weight: 800; }
.gsit[open] summary::after { content: "\2212"; }
.gsit summary:hover { color: var(--violet-dark); }
.gsit .ans { display: grid; gap: 10px; padding: 0 18px 18px; color: var(--ink-soft); }
.gsit .ans .gdo { margin-top: 0; }
.guide-facts a { color: inherit; }

.gstep { scroll-margin-top: calc(var(--hdr) + 70px); display: grid; gap: 24px; padding: clamp(20px, 3vw, 30px); border-radius: 26px; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s ease, background .25s ease; }
@media (min-width: 760px) { .gstep { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 32px; } }
.gstep.is-done { background: linear-gradient(135deg, #fbfaff 0%, #f5feff 100%); border-color: #d9d4ff; }
.gstep-head { display: flex; gap: 12px; align-items: flex-start; }
.gstep-head .num { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--grad); color: #fff; }
.gstep-head h2 { font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1.2; padding-top: 5px; }
.gstep .why { margin-top: 12px; color: var(--ink-soft); }
.gdo { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: d; }
.gdo li { counter-increment: d; display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.gdo li::before { content: counter(d); width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.78rem; background: var(--lilac); color: var(--violet-dark); }
.gwhere { margin-top: 14px; font-size: 0.95rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gwhere .path { white-space: normal; }
.gtip { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--amber-tint); font-size: 0.95rem; }
.gtip b { color: var(--amber-ink); }
.js .gcheck { display: inline-flex; }
.gcheck { display: none; margin-top: 16px; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: border-color .18s ease; user-select: none; }
.gcheck:hover { border-color: var(--violet); }
.gcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gcheck i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: transparent; font-style: normal; font-weight: 900; font-size: 0.8rem; transition: background .18s ease, transform .18s ease; }
.gcheck input:checked + i { background: var(--grad); color: #fff; transform: scale(1.08); }
.gcheck input:focus-visible + i { outline: 2px solid var(--violet); outline-offset: 2px; }

.gphone { margin: 0; justify-self: center; width: min(100%, 320px); }
.gframe { position: relative; display: block; padding: 7px; border-radius: 32px; background: #0d1024; box-shadow: 0 30px 60px -28px rgba(13, 16, 36, 0.5); }
.gframe img { display: block; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 26px; background: var(--soft); }
.gphone figcaption { margin-top: 10px; text-align: center; font-size: 0.82rem; color: var(--muted); }
.gdot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(109, 94, 252, 0.28); border: 2px solid var(--violet); pointer-events: none; }
.gdot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--violet); }

.gmail { display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); }
.gmail .row { display: flex; gap: 12px; align-items: center; }
.gmail .av { width: 40px; height: 40px; flex: none; }
.gmail .av svg { width: 40px; height: 40px; border-radius: 12px; }
.gmail b { display: block; font-size: 0.95rem; }
.gmail small { color: var(--muted); }
.gmail p { font-size: 0.92rem; color: var(--ink-soft); }
.gmail .go { display: block; text-align: center; padding: 10px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.92rem; }

.gtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.gtabs button { min-height: 44px; padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-soft); font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.gtabs button:hover { border-color: var(--violet); }
.gtabs button[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.gstep.gstep-tour { display: block; }
.gpanel { display: grid; gap: 20px; margin-top: 18px; }
.gpanel[hidden] { display: none; }
@media (min-width: 760px) { .gpanel { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; } }
.gpanel h3 { font-size: 1.1rem; }
.gpanel p { margin-top: 8px; color: var(--ink-soft); }

.gmore { margin-top: 16px; display: grid; gap: 10px; }
.gdone-card { text-align: center; display: grid; justify-items: center; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .gdot::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--violet); animation: gping 1.8s ease-out infinite; }
  @keyframes gping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.3); opacity: 0; } }
  .gpanel-img { animation: gfade .35s ease; }
  @keyframes gfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .gmail .go { animation: blink 2.4s ease-in-out infinite; }
}

/* Guide: what you do, beside what followers see */
.gstep.gstep-wide { display: block; }
.gf-wrap { margin-top: 20px; padding: clamp(16px, 2.4vw, 24px); border-radius: 22px; background: linear-gradient(135deg, #f4f2ff 0%, #ecfcff 100%); border: 1px solid #e2ddff; }
.gf-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.gf-wrap .gtabs { margin-top: 10px; }
.gflow { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; scrollbar-width: thin; }
.gflow:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 12px; }
.gf-side { margin: 0; flex: 0 0 250px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.gf-side figcaption { min-height: 64px; font-size: 0.88rem; font-weight: 600; line-height: 1.32; color: var(--ink-soft); }
.gf-tag { display: table; margin-bottom: 5px; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em; }
.gf-tag.you { background: var(--ink); color: #fff; }
.gf-tag.them { background: var(--grad); color: #fff; }
.gf-side .gframe { padding: 5px; border-radius: 26px; box-shadow: 0 20px 40px -22px rgba(13, 16, 36, 0.5); }
.gf-side .gframe img { border-radius: 21px; }
.gf-link { position: relative; flex: 0 0 44px; align-self: center; height: 2px; margin-top: 64px; border-radius: 2px; background: repeating-linear-gradient(90deg, #c9c2ff 0 6px, transparent 6px 11px); }
.gf-link::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 9px solid var(--violet); border-block: 6px solid transparent; }
.gf-link i { position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.gf-when { margin-top: 8px; font-size: 0.95rem; color: var(--ink-soft); }
.gf-hint { display: none; margin-top: 8px; font-size: 0.84rem; font-weight: 700; color: var(--violet-dark); }
.gflow[data-count="2"] { justify-content: center; gap: 22px; }
.gflow[data-count="2"] .gf-side { flex-basis: 300px; }
.gflow[data-count="2"] .gf-link { flex-basis: 76px; }
@media (max-width: 560px) {
  .gf-side, .gflow[data-count="2"] .gf-side { flex-basis: 62vw; max-width: 260px; }
  .gflow[data-count="2"] { justify-content: flex-start; gap: 10px; }
  .gflow[data-count="2"] .gf-link, .gf-link { flex-basis: 26px; }
  .gf-side figcaption { min-height: 84px; font-size: 0.84rem; }
  .gf-link { margin-top: 84px; }
  .gf-hint { display: block; }
}
@media (prefers-reduced-motion: no-preference) {
  .gf-link i { animation: gtravel 2.2s ease-in-out infinite; }
  @keyframes gtravel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
}

/* Laptops and desktops: read from further away, so bigger text and screens
   at about a real phone's size (owner, 7 Nov 2026: "I need to zoom in"). */
@media (min-width: 1100px) {
  .gtopic > * { max-width: 1100px; }
  .gstep { grid-template-columns: minmax(0, 1fr) 400px; padding: 34px; }
  .gpanel { grid-template-columns: minmax(0, 1fr) 400px; }
  .gphone { width: min(100%, 400px); }
  .gstep-head h2 { font-size: 1.55rem; }
  .gstep .why, .gdo li, .gpanel p { font-size: 1.1875rem; }
  .gtip, .gwhere, .gf-when { font-size: 1.0625rem; }
  .gf-side { flex-basis: 280px; }
  .gf-side figcaption { font-size: 0.98rem; }
  .gflow[data-count="2"] .gf-side { flex-basis: 380px; }
  .gsit summary { font-size: 1.15rem; min-height: 60px; padding: 14px 22px; }
  .gsit .ans { padding: 0 22px 22px; font-size: 1.1rem; }
  .gtask a { font-size: 1.2rem; }
  .gtask small, .guide-map span.what { font-size: 1.02rem; }
  .guide-map b { font-size: 1.25rem; }
}

/* Click or tap a screen to see it full size */
.js .gframe img { cursor: zoom-in; }
.gzoom { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.gzoom::backdrop { background: rgba(13, 16, 36, 0.78); }
.gzoom img { display: block; height: min(92vh, 1298px); width: auto; max-width: 92vw; object-fit: contain; border-radius: 28px; border: 7px solid #0d1024; background: #0d1024; }
.gzoom button { position: absolute; top: -6px; right: -54px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 700 1.4rem/1 var(--body); cursor: pointer; }
@media (max-width: 700px) { .gzoom button { top: 8px; right: 8px; } }
