/* UmahLink site. One light system: Poppins for text, Newsreader for quotes, the app's greens.
   Layout patterns follow the Mindset site: a big tight headline beside a phone, a moving rail of
   what people just posted, day-by-day feature rows with two tilted phones, a serif quote band
   and a rounded download panel. */
:root {
  --brand: #25D366;          /* the app's Crisp Lime */
  --deep: #075E54;           /* the app's Verdant Green */
  --ink: #0C1F1A;
  --mist: #EFF7F3;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --primary: #0A7A52;        /* lime darkened for AA text on white */
  --primary-soft: #DDF4E7;
  --muted: #4B5F57;
  --border: #D8E7DF;
  --hdr-bg: rgb(255 255 255 / .82);
  --glass: rgb(255 255 255 / .85);
  --phone-frame: #FFFFFF;
  --band-bg: #F5FAF7;
  --ftr-bg: #F7FBF9;
  --prose: #1F332D;
  --btn-bg: #0C1F1A;
  --btn-ink: #FFFFFF;
  --btn-hover: #075E54;
  --quote-bg: #075E54;
  --ar: #0A7A52;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7A52' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --shadow-soft: 0 12px 32px -16px rgb(7 60 45 / .22);
  --shadow-phone: 0 0 0 1px #D8E7DF, 0 40px 80px -30px rgb(7 50 38 / .45);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --wrap: 72rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; overflow-x: clip; background: var(--bg); transition: background-color .3s, color .3s; color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; text-wrap: balance; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: .5rem; z-index: 99; }
.skip:focus { left: .5rem; }
.muted { color: var(--muted); }
.eyebrow { font-size: .875rem; font-weight: 600; color: var(--primary); }
.h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.link { font-weight: 600; color: var(--primary); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--hdr-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.is-scrolled { border-bottom-color: var(--border); }
.hdr__bar { position: relative; display: flex; align-items: center; gap: 1.5rem; height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.hdr__nav { display: flex; gap: .25rem; margin-left: auto; }
.hdr__nav a { padding: .5rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s, background-color .2s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.hdr__cta { display: inline-flex; align-items: center; height: 2.6rem; padding: 0 1.1rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background-color .2s; }
.hdr__cta:hover { background: var(--btn-hover); }
.hdr__menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--ink); cursor: pointer; }
@media (max-width: 820px) {
  .hdr__menu { display: grid; place-items: center; }
  .hdr__cta { display: none; }
  .hdr__nav { position: absolute; left: -1.25rem; right: -1.25rem; top: 100%; flex-direction: column; padding: .75rem 1.25rem 1.25rem; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-soft); display: none; }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr__nav a { padding: .85rem 1rem; font-size: 1.05rem; }
}

/* ---------- Play button ---------- */
.play { display: inline-flex; align-items: center; gap: .75rem; height: 3.5rem; padding: 0 1.5rem; border-radius: 1rem; background: var(--btn-bg); color: var(--btn-ink); text-decoration: none; font-weight: 600; transition: background-color .2s; }
.play:hover { background: var(--btn-hover); }
.play svg { width: 22px; height: 22px; flex: none; }
.play span { display: flex; flex-direction: column; line-height: 1.15; }
.play small { font-size: 11px; font-weight: 500; opacity: .8; }

/* ---------- phone frame for app screens (720x1600 captures) ---------- */
.phone { background: var(--phone-frame); border-radius: 2.6rem; padding: .55rem; box-shadow: var(--shadow-phone); }
.phone > img, .phone > video { width: 100%; height: auto; aspect-ratio: 720 / 1600; object-fit: cover; border-radius: 2.1rem; background: #121212; }
.phone--video > video { aspect-ratio: 9 / 16; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.orb { position: absolute; z-index: -1; border-radius: 999px; filter: blur(70px); opacity: .55; pointer-events: none; animation: orb 18s ease-in-out infinite alternate; }
@keyframes orb { to { transform: translate(40px, -30px) scale(1.15); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; padding-block: 2.5rem 4rem; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 2rem; padding-block: 4rem 6rem; } }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .45rem; border: 1px solid var(--border); border-radius: 999px; background: var(--glass); font-size: .875rem; color: var(--muted); text-decoration: none; backdrop-filter: blur(8px); }
.pill b { padding: .15rem .55rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: .78rem; }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.6rem, 6.4vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { margin-top: 1.25rem; max-width: 36rem; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; max-width: 30rem; margin-top: 2rem; }
.tab { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .8rem .25rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--glass); color: var(--muted); font: 600 .8rem/1.2 var(--font); cursor: pointer; transition: border-color .3s, background-color .3s, box-shadow .3s, color .3s; }
.tab svg { width: 26px; height: 26px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.tab:hover svg { transform: translateY(-3px) scale(1.06); }
.tab[aria-selected="true"] { border-color: var(--primary); background: color-mix(in oklab, var(--brand) 12%, var(--bg)); color: var(--primary); box-shadow: 0 10px 24px -12px var(--primary); }
.tab-note { min-height: 6.5rem; margin-top: 1.5rem; }
.tab-note > div { border-left: 4px solid var(--brand); padding-left: 1rem; }
.tab-note strong { display: block; font-size: 1.1rem; }
.tab-note p { margin-top: .25rem; color: var(--muted); max-width: 32rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1rem; }
.hero__phone { position: relative; width: 100%; max-width: 16rem; margin: 0 auto; }
@media (min-width: 640px) { .hero__phone { max-width: 20rem; } }
.hero__halo { position: absolute; left: 50%; top: 50%; z-index: -1; width: 150%; aspect-ratio: 1; border-radius: 999px; transform: translate(-50%, -50%); background: color-mix(in oklab, var(--brand) 16%, transparent); }
.hero__tag { position: absolute; left: -1.75rem; bottom: 4rem; display: none; align-items: center; gap: .5rem; padding: .55rem .85rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--card); box-shadow: var(--shadow-soft); font-size: .875rem; font-weight: 600; }
.hero__tag i { width: .6rem; height: .6rem; border-radius: 999px; background: var(--brand); }
@media (min-width: 640px) { .hero__tag { display: flex; } }

/* ---------- live rail ---------- */
.rail { padding: 5rem 0; }
.rail__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.rail__head .h2 { margin-top: .5rem; }
.rail__head > p { max-width: 22rem; }
.live { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--primary); }
.live i { width: .5rem; height: .5rem; border-radius: 999px; background: var(--brand); animation: live 1.8s ease-out infinite; }
@keyframes live { from { box-shadow: 0 0 0 0 rgb(37 211 102 / .55); } to { box-shadow: 0 0 0 9px rgb(37 211 102 / 0); } }
.rail__view { margin-top: 2.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { display: flex; width: max-content; padding-left: 1.25rem; animation: marquee var(--dur, 80s) linear infinite; }
.rail__view:hover .marquee, .rail__view:focus-within .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.reel { position: relative; display: block; width: 11rem; margin-right: 1rem; flex: none; aspect-ratio: 9 / 14; overflow: hidden; border-radius: 1rem; background: #1b1f1d; color: #fff; text-decoration: none; }
@media (min-width: 640px) { .reel { width: 13rem; } }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.reel:hover img { transform: scale(1.05); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .78), transparent 55%); }
.reel__badge { position: absolute; z-index: 1; left: .6rem; top: .6rem; padding: .2rem .6rem; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 11px; font-weight: 600; }
.reel__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: .75rem; }
.reel__text p { font-size: .85rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel__text small { display: block; margin-top: .25rem; font-size: .75rem; opacity: .8; }

/* ---------- day-by-day feature rows ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--border); background: var(--band-bg); padding: 5rem 0; }
@media (min-width: 640px) { .band { padding: 7rem 0; } }
.band .lead { margin-top: 1rem; max-width: 40rem; }
.rows { list-style: none; margin: 4rem 0 0; padding: 0; display: grid; gap: 6rem; }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .row { grid-template-columns: 1fr 1fr; gap: 4rem; } .row:nth-child(even) .row__copy { order: 2; } }
.row h3 { margin-top: .5rem; font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; }
.row__copy > p.muted { margin-top: 1rem; max-width: 28rem; font-size: 1.05rem; line-height: 1.7; }
.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.checks li { display: flex; align-items: center; gap: .75rem; }
.checks li::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--primary-soft) var(--check) center / .8rem no-repeat; }
.row .link { display: inline-block; margin-top: 1.75rem; }
.pair { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; max-width: 28rem; margin: 0 auto; }
.pair .phone:first-child { width: 46%; transform: rotate(-3deg) translate(1.5rem, 1.5rem); opacity: .95; }
.pair .phone:last-child { position: relative; width: 54%; transform: rotate(2deg) translateX(-1.5rem); transition: transform .5s var(--ease); }
.pair .phone:last-child:hover { transform: rotate(0) translate(-1.5rem, -.5rem); }

/* ---------- watch: three reels playing ---------- */
.watch { position: relative; isolation: isolate; overflow: hidden; padding: 5rem 0; text-align: center; }
@media (min-width: 640px) { .watch { padding: 7rem 0; } }
.watch .lead { margin: 1rem auto 0; max-width: 34rem; }
.watch__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 46rem; margin: 3.5rem auto 0; align-items: center; }
@media (min-width: 640px) { .watch__grid { gap: 2rem; } }
.watch__grid figure { margin: 0; }
.watch__grid .phone { border-radius: 1.6rem; padding: .35rem; }
.watch__grid .phone > video { border-radius: 1.3rem; }
.watch__grid figure:nth-child(2) { transform: translateY(-1.5rem); }
.watch__grid figcaption { margin-top: .9rem; font-size: .85rem; color: var(--muted); }

/* ---------- quote band ---------- */
.quote { position: relative; isolation: isolate; overflow: hidden; background: var(--quote-bg); color: #fff; }
.quote figure { max-width: 56rem; margin: 0 auto; padding: 5rem 1.25rem; text-align: center; }
@media (min-width: 640px) { .quote figure { padding: 7rem 1.5rem; } }
.quote blockquote { margin: 0; font: italic 400 clamp(1.9rem, 4.6vw, 3rem)/1.22 var(--serif); }
.quote figcaption { margin-top: 2rem; font-size: .9rem; font-weight: 500; color: rgb(255 255 255 / .75); }

/* ---------- FAQs ---------- */
.faq { padding: 5rem 0; }
@media (min-width: 640px) { .faq { padding: 7rem 0; } }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.faq__grid > div > p { margin-top: 1rem; }
.qa { border-bottom: 1px solid var(--border); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 999px; display: grid; place-items: center; background: var(--mist); color: var(--primary); font-weight: 500; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 1.25rem; color: var(--muted); max-width: 40rem; }

/* ---------- download panel ---------- */
.cta { padding: 0 0 5rem; }
@media (min-width: 640px) { .cta { padding-bottom: 7rem; } }
.cta__box { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; padding: 3rem 1.75rem; border-radius: 2rem; background: var(--primary-soft); }
@media (min-width: 768px) { .cta__box { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem; } }
.cta__box > div { display: flex; align-items: center; gap: 1.25rem; }
.cta__box img { width: 5rem; height: 5rem; border-radius: 1.4rem; background: #fff; box-shadow: var(--shadow-soft); }
.cta__box h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.cta__box p { margin-top: .5rem; color: var(--muted); max-width: 28rem; }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding: 4rem 0 2rem; }
@media (min-width: 640px) { .phero { padding: 5.5rem 0 3rem; } }
.phero h1 { margin-top: .75rem; font-size: clamp(2.3rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; max-width: 46rem; }
.phero .lead { margin-top: 1.25rem; max-width: 40rem; }

/* ---------- feature cards ---------- */
.cards { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card__ic { width: 2.75rem; height: 2.75rem; border-radius: .9rem; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.card__ic svg { width: 22px; height: 22px; }
.card h3 { margin-top: 1rem; font-size: 1.15rem; font-weight: 700; }
.card p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

/* ---------- reading pages ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: 3.5rem 6rem; }
@media (min-width: 1024px) { .doc { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; } }
.doc--solo { min-height: 50svh; }
@media (min-width: 1024px) { .doc--solo { grid-template-columns: minmax(0, 1fr); } }
.toc { align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: 6rem; } }
.toc p { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .15rem; }
.toc a { display: block; padding: .35rem .75rem; margin-left: -.75rem; border-radius: .6rem; color: var(--muted); text-decoration: none; font-size: .925rem; }
.toc a:hover { color: var(--ink); background: var(--mist); }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.prose .meta { margin-top: 1rem; color: var(--muted); }
.prose section { padding-top: 2.5rem; }
.prose section + section { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.75rem 0 .5rem; }
.prose p, .prose li { line-height: 1.75; color: var(--prose); }
.prose p { margin-top: .85rem; }
.prose ul, .prose ol { margin: .85rem 0 0; padding-left: 1.3em; display: grid; gap: .5rem; }
.prose li::marker { color: var(--primary); font-weight: 600; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose code { font-size: .9em; padding: .1em .4em; border-radius: .4rem; background: var(--mist); }
.legal__table { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--border); border-radius: 1rem; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--border); line-height: 1.5; }
.legal__table th { font-weight: 600; color: var(--muted); background: var(--mist); }
.legal__table tr:last-child td { border-bottom: 0; }
.btn { display: inline-flex; align-items: center; height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink) !important; text-decoration: none !important; font-weight: 600; }
.btn:hover { background: var(--btn-hover); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--border); background: var(--ftr-bg); }
.ftr__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }
.ftr__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr__brand { grid-column: auto; } }
.ftr__brand p { margin-top: 1rem; max-width: 18rem; color: var(--muted); }
.ftr h3 { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ftr ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .25rem; }
.ftr ul a { display: inline-flex; min-height: 2.25rem; align-items: center; text-decoration: none; font-weight: 500; }
.ftr ul a:hover { color: var(--primary); }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-block: 1.5rem 2.5rem; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted); }
.ftr__legal a { color: inherit; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .8s var(--ease) both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.screen-in { animation: screen-in .5s var(--ease) both; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none !important; }
  .rail__view { overflow-x: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1023px) { .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; } }

/* ---------- dark theme (follows the system until the visitor picks one) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #E6F1EC;
  --bg: #07130F;
  --card: #0D1C17;
  --mist: #11241D;
  --primary: #3DDC84;
  --primary-soft: #12352A;
  --muted: #9BB3A8;
  --border: #1D3A2F;
  --hdr-bg: rgb(7 19 15 / .78);
  --glass: rgb(13 28 23 / .85);
  --phone-frame: #1A2E27;
  --band-bg: #0A1914;
  --ftr-bg: #091712;
  --prose: #CFE0D8;
  --btn-bg: #E6F1EC;
  --btn-ink: #07130F;
  --btn-hover: #BFEBD3;
  --quote-bg: #0A3A31;
  --ar: #3DDC84;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --shadow-soft: 0 12px 32px -16px rgb(0 0 0 / .6);
  --shadow-phone: 0 0 0 1px #24453A, 0 40px 80px -30px rgb(0 0 0 / .75);
}
:root[data-theme="dark"] .orb { opacity: .35; }
:root[data-theme="dark"] .hero__halo { background: color-mix(in oklab, var(--brand) 10%, transparent); }
:root[data-theme="dark"] .cta__box img { background: #fff; }

/* theme switch in the header */
.theme { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s; }
.theme:hover { background: var(--mist); }
.theme svg { width: 20px; height: 20px; }
.theme .moon, :root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (max-width: 820px) { .theme { margin-left: auto; } .hdr__menu { margin-left: 0; } }

/* ---------- Arabic calligraphy: one big dhikr phrase behind a section ---------- */
.ar { position: absolute; z-index: -1; margin: 0; left: 50%; top: 50%; translate: -50% -50%;
  pointer-events: none; user-select: none; white-space: nowrap; direction: rtl; text-align: center;
  font: 700 var(--ar-size, clamp(6rem, 17vw, 19rem))/1.6 "Amiri", "Traditional Arabic", serif;
  color: var(--ar); opacity: var(--ar-o, .075);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); }
:root[data-theme="dark"] .ar { opacity: calc(var(--ar-o, .06) * 1.15); }
.quote .ar { color: #fff; --ar-o: .09; }
.ar--hero { --ar-size: clamp(7rem, 17vw, 19rem); --ar-o: .08; top: 55%; left: 32%; }
@media (max-width: 1023px) { .ar--hero { left: 50%; top: 22%; } }
.ar--band { top: 10rem; --ar-o: .065; }
.ar--page { --ar-o: .055; top: 40%; }
@media (max-width: 640px) { .ar { --ar-size: 34vw; } .ar--hero { top: 30%; } }
