/* Divya Katha marketing site — one hand-written stylesheet.
   Two grounds: night (near-black temple dark, warm cream copy, gold accent, as in the app) and
   day (parchment, dark-brown copy, saffron accent). Mobile first. */

/* Plus Jakarta Sans, self-hosted: the variable latin subset Google Fonts serves
   (v12), one file for weights 400-800. Devanagari falls to the system font.
   "PJS Fallback" is Arial scaled to the same metrics so the swap does not jump. */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/pjs-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PJS Fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
  size-adjust: 103.6%; ascent-override: 100.4%; descent-override: 21.2%; line-gap-override: 0%;
}
@font-face {
  font-family: "PJS Fallback"; font-weight: 550 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
  size-adjust: 101.5%; ascent-override: 102.5%; descent-override: 21.7%; line-gap-override: 0%;
}

:root {
  --night: #17130F;
  --night-deep: #0B1018;
  --night-text: #D6CCBE;
  --yellow: #F2C667;
  --indigo: #A0520F;
  --indigo-soft: #D9A441;
  --lip: #7A3D0A;
  --day: #FBF4E8;
  --surface: #FFFFFF;
  --ink: #241A0E;
  --muted: #6A5B4C;
  --muted-raw: #85776A;
  --green: #1C9900;
  --star: #F2C667;
  --user-ink: #8A430B;
  --border: #E8DCC6;
  --error: #D93A40;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(36, 26, 14, .06), 0 8px 24px rgba(36, 26, 14, .07);
  --font: "Plus Jakarta Sans", "PJS Fallback", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gut: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--night-deep); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.day :focus-visible { outline-color: var(--indigo); }
code, pre, kbd { font-family: var(--mono); font-size: .9em; }
ul.clean, ol.clean { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 640px) { :root { --gut: 24px; } }

/* ------------------------------------------------------------------ grounds */
.night {
  position: relative; isolation: isolate; color: var(--night-text);
  background: linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
}
.night h1, .night h2, .night h3, .night strong { color: #fff; }
.night a:not(.btn) { color: var(--yellow); }
.stars::before, .stars::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.3px 1.3px at 37px 61px, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 211px 173px, rgba(255,255,255,.8) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 389px 97px, rgba(255,255,255,.7) 50%, transparent 52%);
  background-size: 317px 317px, 491px 491px, 613px 613px;
  background-position: 0 0, 83px 149px, 251px 29px; opacity: .45;
}
/* (.glow sections reuse ::before for the glow, so only ::after carries stars there) */
.stars:not(.glow)::before, .stars::after { -webkit-mask-image: var(--star-mask); mask-image: var(--star-mask); }
.stars::after { background-size: 491px 491px, 613px 613px, 317px 317px; background-position: 173px 263px, 401px 71px, 59px 211px; opacity: .3; }
/* the copy keeps its stars faint: phones dim them everywhere (the text spans
   the width); wider screens clear the centred copy or the left text column */
.stars { --star-mask: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)); }
@media (min-width: 768px) {
  .stars { --star-mask: radial-gradient(ellipse 50% 62% at 50% 50%, rgba(0,0,0,.1) 60%, #000 100%); }
  .page-hero.stars { --star-mask: linear-gradient(90deg, rgba(0,0,0,.1) 64%, #000 84%); }
}
.hero.stars { --star-mask: linear-gradient(rgba(0,0,0,.15) 46%, #000 58%); }
@media (min-width: 960px) { .hero.stars { --star-mask: linear-gradient(90deg, rgba(0,0,0,.1) 46%, #000 56%); } }
.hero.stars::after { animation: twinkle 6s ease-in-out infinite alternate; }
/* motion.js marks looping elements .offscreen while they are out of view */
.offscreen, .offscreen::before, .offscreen::after,
.offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .6; } }
.glow { overflow: hidden; }
.glow::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -240px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 138, 63, .45), transparent);
}
.day { background: linear-gradient(180deg, var(--day), #FFFCF6); color: var(--ink); }
/* indigo text links fall to 4.4:1 on the day ground; the user-ink blue passes AA.
   :where() keeps this weaker than component rules (chips, card titles, Shorts). */
:where(.day) a:not(.btn) { color: var(--user-ink); }
.white { background: #fff; color: var(--ink); }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.1rem; }
.day .section-head p, .white .section-head p { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo);
}
.night .eyebrow { color: var(--yellow); }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 36em; }
.accent { color: var(--yellow); }
.day .accent { color: var(--indigo); }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bg: var(--indigo); --fg: #fff; --edge: var(--lip);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  color: var(--fg); background: var(--bg);
  box-shadow: 0 5px 0 var(--edge); transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--edge); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; filter: grayscale(.4) opacity(.65); transform: none; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; box-shadow: 0 3px 0 var(--edge); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); --edge: #C9A04A; }
.btn-light { --bg: #fff; --fg: var(--ink); --edge: #E2D3B8; }
.btn-ghost {
  --bg: transparent; --fg: #fff; box-shadow: none; border: 1.5px solid rgba(242, 198, 103, .5);
}
.btn-ghost:hover { border-color: var(--night-text); background: rgba(255,255,255,.04); }
.day .btn-ghost, .white .btn-ghost { --fg: var(--ink); border-color: var(--border); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
@media (max-width: 479px) { .cta-row > .btn, .cta-row > .play-badge { width: 100%; } .cta-row > .play-badge img { margin: 0 auto; } }

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; color: #fff; background: var(--night);
  padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid rgba(242,198,103,.12);
  transition: transform .25s ease, background-color .25s ease;
}
.site-header.scrolled {
  background: rgba(23, 19, 15, .82); backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}
@media (max-width: 859px) { .site-header.hide { transform: translateY(-100%); } }
html.menu-open { overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 0; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid rgba(242,198,103,.3); color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-menu { display: none; }
.nav-menu.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%; overflow: auto; overscroll-behavior: contain;
  height: calc(100vh - 64px); height: calc(100svh - 64px - env(safe-area-inset-top, 0px));
  padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--night); border-bottom: 1px solid rgba(242,198,103,.15);
}
.nav-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nav-menu a:not(.btn) {
  display: block; padding: 12px 10px; border-radius: 10px; color: var(--night-text);
  text-decoration: none; font-weight: 600;
}
.nav-menu a:not(.btn):hover, .nav-menu a:not(.btn)[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.nav-menu .btn { margin-top: 8px; width: 100%; }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-menu, .nav-menu.open { display: block; position: static; height: auto; overflow: visible; padding: 0; background: none; border: 0; }
  .nav-menu ul { display: flex; align-items: center; gap: 6px; }
  .nav-menu a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; }
  .nav-menu .btn { margin: 0 0 0 10px; width: auto; }
}

/* --------------------------------------------------------------------- hero */
.hero { padding: 48px 0 80px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 112px; } .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: .35em; }
.hero .lede { margin-bottom: 28px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
@media (min-width: 960px) { .hero-visual { min-height: 560px; } }
.orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform, opacity; animation: drift var(--t, 16s) ease-in-out infinite alternate; }
.orb-a { width: 340px; height: 340px; --dx: 36px; --dy: -28px; background: radial-gradient(closest-side, rgba(201,138,63,.55), transparent); }
.orb-b { width: 14px; height: 14px; right: 12%; top: 14%; --t: 12s; --dx: -18px; --dy: 22px; background: var(--yellow); box-shadow: 0 0 24px 6px rgba(242,198,103,.55); }
@keyframes drift { to { transform: translate(var(--dx), var(--dy)); opacity: .7; } }
/* hero copy enters on load: pure CSS, so it never waits for JS */
.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.trust-strip b, .stats b { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- phone frame */
.phone {
  position: relative; width: min(330px, 100%); border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #2B231F, #0B0A0E); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(242,198,103,.25);
}
.phone-screen { border-radius: 31px; overflow: hidden; background: linear-gradient(180deg, var(--day), #FFFDF8); color: var(--ink); }
.phone-screen img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* ------------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--radius); overflow: hidden; background: rgba(242,198,103,.18); }
.stats > div { padding: 22px 18px; background: var(--night-deep); }
.stats b { display: block; font-size: clamp(1.5rem, 4vw, 2.1rem); color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.stats span { font-size: .88rem; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats-band { padding-top: 8px; }

/* ------------------------------------------------------------------- cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
/* a grid-4 with 7 cards: on tablets the odd last card spans the row; on desktop
   the grid is 8 half-columns so the 3-card last row can sit centred (4 + 3) */
@media (min-width: 600px) and (max-width: 1023px) { .grid-4 > :nth-child(odd):last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(8, 1fr); }
  .grid-4 > * { grid-column: span 2; }
  .grid-4 > :nth-child(4n + 1):nth-last-child(3) { grid-column: 2 / span 2; }
}
.card {
  position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); border: 1px solid rgba(232,220,198,.6);
}
.card p { color: var(--muted); margin: 0; }
.card p + p { margin-top: .7em; }
.night .card { background: rgba(255,255,255,.04); border-color: rgba(242,198,103,.16); box-shadow: none; }
.night .card p { color: var(--night-text); }
.icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px;
  background: var(--day); color: var(--indigo);
}
.icon svg { width: 24px; height: 24px; }
.night .icon { background: rgba(201,138,63,.22); color: var(--yellow); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  background: rgba(242,198,103,.18); color: #7A5200; border: 1px solid rgba(201,160,74,.45); vertical-align: middle;
}
.night .badge { color: var(--yellow); border-color: rgba(242,198,103,.4); background: rgba(242,198,103,.1); }
.badge-indigo { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.card .badge { margin-left: 6px; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--day) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23A0520F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.night .tick-list li::before { background-color: rgba(201,138,63,.3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23F2C667' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* split layout */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.rev > :first-child { order: 2; } }

/* steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px;
  margin-bottom: 16px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; box-shadow: 0 4px 0 var(--lip);
}
.step p { color: var(--muted); margin: 0; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--indigo); border-bottom: 2.5px solid var(--indigo); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* cta band */
.cta-band { text-align: center; }
.cta-band .cta-row { justify-content: center; }
.cta-band img { margin: 0 auto 20px; border-radius: 28px; }

.white :focus-visible { outline-color: var(--indigo); }

/* ------------------------------------------------------------------ prose */
.prose { max-width: 72ch; font-size: 1.125rem; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: #3A2F24; }
.crumbs { font-size: .85rem; margin-bottom: 14px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; }
.crumbs li { display: inline; }
.crumbs li + li::before { content: "/\200B"; margin: 0 6px; opacity: .6; }
.page-hero { padding: 56px 0 64px; }
@media (min-width: 900px) { .page-hero { padding: 80px 0 88px; } }

/* ----------------------------------------------------------------- footer */
.site-footer { padding: 56px 0 32px; font-size: .92rem; border-top: 1px solid rgba(242,198,103,.12); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-brand { grid-column: auto; } }
.foot-brand p { max-width: 320px; margin-top: 12px; }
.foot-brand .play-badge { margin-left: -11px; }
@media (min-width: 480px) { .hero .play-badge { margin-left: -11px; } }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; }
.site-footer a:not(.btn):not(.brand) { color: var(--night-text); text-decoration: none; }
.site-footer li a { display: block; padding: 11px 8px; margin: 0 -8px; }
.site-footer a:not(.btn):not(.brand):hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(242,198,103,.12); font-size: .84rem; }

/* reveal on scroll — only when JS marks the page, so no-JS shows everything */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
   .stars::after, .orb { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.stats dd { margin: 0; }
.cta-lede { margin: 0 auto 28px; }
.cta-row.centered { justify-content: center; }

.day .section-head .eyebrow, .white .section-head .eyebrow, .day .eyebrow, .white .eyebrow { color: var(--user-ink); }

/* ------------------------------------------------------------ additions */
/* trust strip under the hero CTA */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .92rem; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 600px) and (max-width: 1023px) { .trust-strip { display: grid; grid-template-columns: repeat(2, max-content); } }
.trust-strip b { color: #fff; font-weight: 700; }
.trust-strip .star { color: var(--star); }
/* Google Play badge */
.play-badge { display: inline-block; position: relative; overflow: hidden; line-height: 0; border-radius: 8px; transition: transform .15s ease; }
.play-badge:hover { transform: translateY(-2px); }
.play-badge img { width: 180px; height: auto; }
/* one shimmer sweep over the first call to action, on load */
.hero .play-badge::after, .page-hero .cta-row > .btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%);
  animation: shimmer 1.4s ease 1s 1 forwards;
}
@keyframes shimmer { to { transform: translateX(120%); } }
.play-badge:focus-visible { outline-offset: 2px; }
/* phone frame holding a real screenshot */
.phone-shot { padding: 8px; }
.phone-shot .phone-screen { border-radius: 30px; }
/* screenshot gallery / feature rows */
.feature-row { display: grid; gap: 32px; align-items: center; padding: 56px 0; border-top: 1px solid var(--border); }
.feature-row:first-of-type { border-top: 0; }
@media (min-width: 860px) { .feature-row { grid-template-columns: 1.1fr .9fr; gap: 64px; } .feature-row.rev > :first-child { order: 2; } }
.feature-row h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.feature-row .shot { width: min(300px, 80%); margin: 0 auto; border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: 0 30px 60px -24px rgba(36,26,14,.45); }
.feature-row .shot img { aspect-ratio: 9 / 16; object-fit: contain; width: 100%; }
.feature-row .tick-list { margin-top: 16px; }
.feature-row p { color: var(--muted); }
.night .feature-row { border-top-color: rgba(242,198,103,.14); }
.night .feature-row p { color: var(--night-text); }

.mini-grid { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 760px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
/* "Jump to" row on /faq/ */
.jump a { display: inline-block; padding: 11px 6px; }
/* FAQ groups on the FAQ page */
.faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 1.5rem; text-align: center; margin-bottom: 18px; }
/* blog */
.posts { display: grid; gap: 18px; }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card h2, .post-card h3 { font-size: 1.25rem; margin: 0; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }
.post-card p:not(.post-meta) { flex: 1; }
.post-card .post-meta { margin-top: auto; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); }
.post-meta time { font-weight: 600; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em auto; }
.prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--indigo); background: var(--day); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.2em 0; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid #EFE6D6; text-align: left; vertical-align: top; }
.prose th { background: var(--day); }
.prose .callout { padding: 16px 20px; border-radius: 14px; background: #FBF1DF; margin: 1.5em 0; }
.post-foot { max-width: 72ch; font-size: 1.125rem; margin: 48px auto 0; }
.post-foot::before { content: ""; display: block; margin-bottom: 28px; border-top: 1px solid var(--border); }
.post-hero + .section { padding-top: 40px; }
@media (min-width: 900px) { .post-hero + .section { padding-top: 56px; } }
.post-foot h2 { font-size: 1.2rem; }
.related { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.related a { font-weight: 700; }
.post-hero .post-meta { color: var(--night-text); margin-top: 8px; }
.white .stats span, .day .stats span { color: var(--night-text); }
/* inline arrows inside text links (not buttons) */
a:not(.btn) > svg { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; margin-left: .15em; }
/* post hero sits on the night ground but uses the prose column */
.post-hero .prose p, .post-hero .prose li { color: var(--night-text); }
.post-hero .crumbs li[aria-current="page"] { color: #fff; }

/* ---- blog posts: tables, FAQ ---- */

.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0;
  background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left / 40px 100%, linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) right / 40px 100%,
    radial-gradient(farthest-side at 0 50%, rgba(36,26,14,.18), transparent) left / 14px 100%, radial-gradient(farthest-side at 100% 50%, rgba(36,26,14,.18), transparent) right / 14px 100%;
  background-repeat: no-repeat; background-attachment: local, local, scroll, scroll;
}
.table-wrap table { margin: 0; }
@media (max-width: 599px) { .prose table { font-size: .8rem; hyphens: auto; } .prose th, .prose td { padding: 8px 6px; } }
.post-faq { margin-top: 2.5em; max-width: none; }
.post-faq details { margin-bottom: 10px; }
.post-faq summary { font-weight: 700; }
.post-faq h2 { margin-top: 0; }

/* blog posts: small portrait story still */
.post-still { width: min(200px, 46%); margin: .4em auto 1.4em; }
.post-still img { display: block; width: 100%; height: auto; margin: 0; border-radius: 14px; }
@media (min-width: 600px) { .post-still { float: right; margin: .3em 0 1em 1.6em; } }

/* home */
.reel{position:relative;aspect-ratio:9/16;background:#0B1018;color:#fff}
.reel video{width:100%;height:100%;object-fit:cover}
.reel-ui{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:16px 14px;background:linear-gradient(transparent 60%,rgba(0,0,0,.75))}
.reel-acts{position:absolute;right:12px;bottom:90px;display:grid;gap:18px}
.reel-acts svg{width:28px;filter:drop-shadow(0 1px 3px #000)}
.reel-cap{max-width:80%;margin:0;font-size:.8rem;color:var(--night-text)}
.reel-cap b{display:block;font-size:.95rem;color:#fff}
.eyes{display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}
@media (min-width:900px){.eyes{grid-template-columns:repeat(4,1fr);gap:20px}}
.eyes figure{margin:0}
.eyes img,.still{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:16px}
.eyes figcaption{margin-top:10px;font-size:.88rem;line-height:1.4}
.still{max-width:340px;margin:auto;box-shadow:var(--shadow)}
