/* 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; }
