/* ─── FAITH LOCK SITE ───
   Celestial blue and gold, matching the app's theme (src/constants/theme.js). */

:root {
  --night: #03091c;
  --navy: #071535;
  --royal: #0c2355;
  --royal-2: #163a7a;
  --blue: #2196f3;
  --blue-dark: #1565c0;
  --blue-deep: #0d47a1;
  --gold: #e8c547;
  --gold-light: #f5d76e;
  --gold-warm: #f4a340;
  --gold-ink: #946c0a;
  --cream: #fbf7ee;
  --ink: #0b1b3f;
  --ink-2: #3c4868;
  --text: #f0f8ff;
  --text-2: rgba(240, 248, 255, 0.76);
  --text-3: rgba(240, 248, 255, 0.52);

  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --serif: "Crimson Pro", Georgia, serif;
  --ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;

  --nav-h: 68px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--night);
  font: 800 13px/1 var(--ui); padding: 12px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ─── BUTTONS ─── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 13px/1 var(--ui); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, #f8de7f 0%, var(--gold) 55%, #d6ad33 100%);
  color: #1d1604;
  box-shadow: 0 3px 0 #a8841c, 0 10px 24px -6px rgba(232, 197, 71, 0.45);
}
.btn-blue {
  background: linear-gradient(180deg, #55acf6 0%, var(--blue) 55%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 3px 0 var(--blue-deep), 0 10px 24px -6px rgba(33, 150, 243, 0.5);
}

.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 13px;
  padding: 9px 20px 9px 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store:hover { transform: translateY(-1px); }
.store span { display: flex; flex-direction: column; font: 600 22px/1 var(--ios); letter-spacing: -0.01em; }
.store small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; margin-bottom: 3px; }
.store-gold {
  background: linear-gradient(180deg, #f8de7f 0%, var(--gold) 55%, #d6ad33 100%);
  color: #111; border: 0;
  box-shadow: 0 3px 0 #a8841c, 0 12px 28px -8px rgba(232, 197, 71, 0.5);
}

/* ─── NAV ─── */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(7, 21, 53, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 2px solid rgba(232, 197, 71, 0.55);
  transition: background 0.25s ease;
}
.nav.scrolled { background: rgba(5, 15, 40, 0.92); }
.nav-in {
  height: 100%; display: flex; align-items: center; gap: 12px;
  width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 800 17px/1 var(--ui); letter-spacing: 0.1em; color: #fff; white-space: nowrap;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1.5px rgba(232, 197, 71, 0.7); }
.brand b { color: var(--gold); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font: 800 12px/1 var(--ui); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none; padding: 10px 11px; border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold); background: rgba(232, 197, 71, 0.1); }
.nav-cta { margin-left: 10px; padding: 11px 18px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px;
}
.nav-toggle span { width: 22px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ─── KEY ART ─── */

.keyart { position: relative; background: var(--night); }
.keyart-art {
  position: relative; overflow: hidden;
  height: clamp(580px, calc(100svh - 92px), 900px);
}
.keyart-art img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.keyart-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 9, 28, 0.5) 0%, rgba(3, 9, 28, 0) 26%),
    radial-gradient(ellipse 75% 85% at 50% 55%, transparent 55%, rgba(3, 12, 40, 0.38) 100%),
    linear-gradient(0deg, rgba(3, 9, 28, 0.35) 0%, transparent 18%);
}
.keyart-copy {
  position: absolute; z-index: 2; left: 0; right: 0;
  top: calc(var(--nav-h) + clamp(22px, 5vh, 60px));
  text-align: center; padding: 0 var(--gutter);
}
.kicker {
  font: 800 12px/1 var(--ui); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-light); text-shadow: 0 1px 12px rgba(3, 20, 70, 0.6);
}
.keyart h1 {
  font: 600 clamp(56px, 7.6vw, 112px)/0.95 var(--display);
  letter-spacing: -0.012em; color: #fff; margin: 14px 0 14px;
  text-shadow: 0 2px 34px rgba(3, 25, 80, 0.5), 0 1px 2px rgba(3, 25, 80, 0.25);
}
.keyart-sub {
  font-size: clamp(19px, 1.7vw, 22px); color: rgba(255, 255, 255, 0.94);
  max-width: 34ch; margin: 0 auto; text-shadow: 0 1px 16px rgba(3, 25, 80, 0.7);
}
@media (min-width: 761px) {
  .keyart h1 br { display: none; }
  .keyart-sub { max-width: none; }
}

.cta-bar {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px;
  padding: 18px var(--gutter);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #0c1d52, #091640);
  border-top: 2px solid rgba(232, 197, 71, 0.65);
}
.pill-outline {
  font: 800 12px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border: 1.5px solid rgba(232, 197, 71, 0.6); border-radius: 999px; padding: 10px 16px;
}
.cta-bar .btn { padding: 17px 26px; font-size: 14px; }

/* ─── SECTIONS ─── */

section { position: relative; }
.sky, .night { padding: clamp(76px, 10vw, 128px) 0; }

.sky {
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -6%, rgba(244, 163, 64, 0.13), transparent 70%),
    radial-gradient(800px 420px at -6% 104%, rgba(33, 150, 243, 0.08), transparent 70%),
    linear-gradient(180deg, #fdfaf3 0%, #f5efe1 100%);
}
.night {
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 82% -4%, rgba(33, 150, 243, 0.2), transparent 65%),
    radial-gradient(800px 520px at -4% 104%, rgba(232, 197, 71, 0.08), transparent 70%),
    var(--navy);
  overflow: hidden;
}
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 140px 90px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.4px 1.4px at 260px 160px, rgba(245, 215, 110, 0.9), transparent),
    radial-gradient(1px 1px at 80px 210px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 330px 40px, rgba(255, 255, 255, 0.7), transparent);
  background-size: 380px 260px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.night > .wrap { position: relative; }

.chip {
  display: inline-flex; align-items: center;
  font: 800 11.5px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 999px;
  color: var(--royal-2); background: rgba(22, 58, 122, 0.07); border: 1.5px solid rgba(22, 58, 122, 0.22);
}
.chip-gold { color: var(--gold); background: rgba(232, 197, 71, 0.08); border-color: rgba(232, 197, 71, 0.42); }

.display {
  font: 600 clamp(44px, 5.6vw, 74px)/0.98 var(--display);
  letter-spacing: -0.012em; margin: 18px 0 20px;
}
.display em { display: block; font-style: italic; font-weight: 500; color: var(--gold-ink); }
.night .display em, .final .display em { color: var(--gold); }

.lead { font-size: clamp(19px, 1.55vw, 21px); color: var(--ink-2); max-width: 34em; }
.night .lead { color: var(--text-2); }
.fine { font: 500 13px/1.5 var(--ui); color: var(--ink-2); opacity: 0.85; margin-top: 22px; max-width: 46em; }
.night .fine { color: var(--text-3); opacity: 1; }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 18.5px; color: var(--ink); }
.ticks svg { flex: none; margin-top: 4px; color: #fff; background: var(--royal); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.ticks-dark li { color: var(--text); }
.ticks-dark svg { background: var(--gold); color: var(--night); }

.phone-caption { font: 700 12px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-top: 18px; text-align: center; }
.night .phone-caption { color: var(--text-3); }

/* ─── PHONE MOCKUP ─── */

.phone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 300 / 640; flex: none;
  border-radius: calc(var(--w) * 0.16);
  padding: calc(var(--w) * 0.034);
  background: linear-gradient(145deg, #39425f 0%, #11162a 30%, #0a0d1a 70%, #2a3250 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(160, 175, 215, 0.35),
    inset 0 0 0 4px #05070f,
    0 50px 90px -30px rgba(3, 9, 28, 0.65),
    0 22px 40px -18px rgba(3, 9, 28, 0.5);
}
.screen {
  position: relative; height: 100%; overflow: hidden; container-type: inline-size;
  border-radius: calc(var(--w) * 0.128);
  background: #000; color: #fff; font-family: var(--ios);
}
.island {
  position: absolute; z-index: 30; top: 2.8cqw; left: 50%; transform: translateX(-50%);
  width: 31cqw; height: 9cqw; border-radius: 99px; background: #000;
}
.status {
  position: absolute; z-index: 29; top: 4.2cqw; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7.5cqw 0 10cqw; font-weight: 600; font-size: 5cqw; letter-spacing: -0.01em;
}
.status svg { width: 12.5cqw; height: auto; }

/* shield (Apple Screen Time shield configured by Faith Lock) */
.shield-screen { background: #0e1a3a; }
.shield-blur {
  position: absolute; inset: -10%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8%;
  padding: 18% 12%; filter: blur(14px) saturate(140%);
}
.shield-blur i { border-radius: 22%; aspect-ratio: 1; }
.shield-blur i:nth-child(4n+1) { background: #ff6b6b; }
.shield-blur i:nth-child(4n+2) { background: #4dabf7; }
.shield-blur i:nth-child(4n+3) { background: #ffd43b; }
.shield-blur i:nth-child(4n+4) { background: #b197fc; }
.shield {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30cqw 8cqw 9cqw;
  background: rgba(3, 9, 28, 0.9);
}
.shield-cross { width: 10.5cqw; height: auto; color: var(--gold); filter: drop-shadow(0 0 5cqw rgba(244, 163, 64, 0.65)); }
.shield-title { color: var(--gold); font-weight: 700; font-size: 7.6cqw; letter-spacing: -0.01em; margin: 6cqw 0 3cqw; }
.shield-sub { color: rgba(240, 248, 255, 0.86); font-size: 4.6cqw; line-height: 1.4; }
.shield-verse { color: rgba(240, 248, 255, 0.86); font-size: 4.6cqw; line-height: 1.42; margin-top: 4.5cqw; }
.shield-ref { color: rgba(240, 248, 255, 0.6); font-size: 4.3cqw; margin-top: 1cqw; }
.shield-btn {
  margin-top: auto; width: 100%; padding: 4.4cqw; border: 0; border-radius: 4.4cqw;
  background: var(--gold); color: var(--night); font: 600 5.2cqw/1.1 var(--ios); cursor: default;
}
.shield-link { margin-top: 3.4cqw; padding: 1.5cqw; border: 0; background: none; color: var(--gold); font: 500 4.8cqw/1.1 var(--ios); cursor: default; }

/* ─── INTRO ─── */

.intro { padding-bottom: clamp(60px, 8vw, 100px); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.intro-phone { display: flex; flex-direction: column; align-items: center; position: relative; }
.intro-phone::before {
  content: ""; position: absolute; width: 140%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -56%);
  background: radial-gradient(circle, rgba(244, 163, 64, 0.28) 0%, rgba(33, 150, 243, 0.12) 40%, transparent 68%);
  pointer-events: none;
}
.intro-phone .phone { --w: 310px; }
.punch { font: 500 21px/1.4 var(--serif); font-style: italic; color: var(--ink); margin-top: 18px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 30px 0 30px; }
.stat {
  background: #fff; border: 2px solid var(--royal); border-radius: 16px; padding: 14px 12px 13px;
  text-align: center; box-shadow: 0 4px 0 var(--royal);
}
.stat b { display: block; font: 700 38px/1 var(--display); color: var(--royal); }
.stat span { display: block; font: 700 11.5px/1.3 var(--ui); color: var(--ink-2); margin-top: 6px; }
.store-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.store-note { font: 700 13px/1 var(--ui); color: var(--ink-2); letter-spacing: 0.02em; }

/* steps */
.steps { margin-top: clamp(80px, 10vw, 128px); }
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step {
  background: #fff; border: 1px solid rgba(11, 27, 63, 0.08); border-radius: 24px;
  padding: 12px 12px 24px;
  box-shadow: 0 1px 0 rgba(11, 27, 63, 0.04), 0 24px 44px -28px rgba(11, 27, 63, 0.35);
}
.step-art {
  height: 148px; border-radius: 16px; margin-bottom: 18px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(circle at 50% 40%, rgba(244, 163, 64, 0.32), transparent 62%),
    linear-gradient(160deg, var(--royal-2), var(--navy) 70%);
  color: var(--gold);
}
.step-tag, .step h3, .step p { padding: 0 10px; }
.step-tag { display: block; font: 800 11px/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal-2); }
.step h3 { font: 700 28px/1.05 var(--display); margin: 10px 0 8px; }
.step p { font-size: 17.5px; color: var(--ink-2); line-height: 1.45; }

.art-pick { display: grid; grid-template-columns: repeat(2, 46px); gap: 12px; align-content: center; justify-content: center; }
.pick { position: relative; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85); }
.pick svg { width: 22px; height: 22px; }
.pick.on { background: linear-gradient(140deg, #ff8a65, #e8457a); color: #fff; }
.pick.on:nth-child(2) { background: linear-gradient(140deg, #ff5d5d, #c3161c); }
.pick.on:nth-child(4) { background: linear-gradient(140deg, #3a3f55, #11131d); color: #6ee7f5; }
.pick.on::after {
  content: ""; position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2303091c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
  box-shadow: 0 0 0 2px var(--navy);
}
.art-verse { flex-direction: column; gap: 10px; }
.art-verse svg { filter: drop-shadow(0 0 14px rgba(244, 163, 64, 0.8)); }
.art-verse span { font: 700 17px/1 var(--ios); color: var(--gold); }
.art-pray svg, .art-relock svg { filter: drop-shadow(0 0 16px rgba(244, 163, 64, 0.7)); }
.art-relock::before {
  content: ""; position: absolute; width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(var(--gold) 0 72%, rgba(255, 255, 255, 0.14) 72% 100%);
  -webkit-mask: radial-gradient(circle, transparent 41px, #000 42px);
  mask: radial-gradient(circle, transparent 41px, #000 42px);
}

/* ─── TRY IT ─── */

.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 110px); align-items: center; }
.picker-label { font: 800 12px/1 var(--ui); letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin: 30px 0 12px; }
.picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.opt:hover { background: rgba(255, 255, 255, 0.08); }
.opt[aria-checked="true"] { border-color: var(--gold); background: rgba(232, 197, 71, 0.1); box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.12); }
.opt b { display: block; font: 800 15px/1.1 var(--ui); color: #fff; }
.opt small { display: block; font: 400 16px/1.25 var(--serif); color: var(--text-2); margin-top: 3px; }
.opt-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.ic-a { background: linear-gradient(140deg, #4fb0ff, #1565c0); }
.ic-b { background: linear-gradient(140deg, #4dd4c6, #0f8a8a); }
.ic-c { background: linear-gradient(140deg, #ffcc66, #f08a24); }
.ic-d { background: linear-gradient(140deg, #a78bfa, #5b3fc4); }

.try-phone { display: flex; flex-direction: column; align-items: center; position: relative; }
.try-phone::before {
  content: ""; position: absolute; width: 150%; aspect-ratio: 1; top: 46%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(33, 150, 243, 0.3) 0%, rgba(232, 197, 71, 0.08) 42%, transparent 66%);
  pointer-events: none;
}
.demo { --w: 330px; }
.reset {
  margin-top: 22px; font: 800 12px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px; padding: 11px 18px; cursor: pointer; visibility: hidden; position: relative;
}
.demo.is-open + .reset { visibility: visible; }

/* demo: home screen */
.home {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 9, 28, 0.25), rgba(3, 9, 28, 0.05) 40%, rgba(3, 9, 28, 0.35)), url("assets/keyart-tall.webp") center 60% / cover;
}
.apps { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 6cqw; padding: 21cqw 4.5cqw 0; }
.app {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.6cqw;
  background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.app:active .app-ic { transform: scale(0.92); }
.app-ic {
  width: 15.5cqw; aspect-ratio: 1; border-radius: 3.7cqw; display: grid; place-items: center; overflow: hidden;
  color: #fff; box-shadow: 0 1cqw 2.4cqw rgba(0, 0, 0, 0.22); transition: transform 0.15s ease;
}
.app-ic svg { width: 8cqw; height: 8cqw; }
.app-ic img { width: 100%; height: 100%; object-fit: cover; }
.app-name { font-size: 3.3cqw; font-weight: 500; color: #fff; text-shadow: 0 0.4cqw 1.6cqw rgba(0, 0, 0, 0.5); }
.g-social { background: linear-gradient(140deg, #ff8a65, #e8457a 60%, #a63cc8); }
.g-videos { background: linear-gradient(140deg, #ff5d5d, #c3161c); }
.g-shorts { background: linear-gradient(140deg, #3a3f55, #0e1018); color: #6ee7f5; }
.g-feed { background: linear-gradient(140deg, #5aa8ff, #1d4ed8); }
.g-mail { background: linear-gradient(180deg, #4fc3ff, #1a7fe0); }
.g-photos { background: #fff; color: #f59e0b; }
.g-notes { background: linear-gradient(180deg, #fff6d6, #ffe58a); color: #b7791f; }
.g-weather { background: linear-gradient(180deg, #4aa3ff, #2563eb); }
.g-phone { background: linear-gradient(180deg, #5ee083, #1fae4b); }
.g-chat { background: linear-gradient(180deg, #5ee083, #12a150); }
.g-music { background: linear-gradient(180deg, #ff6f8a, #e11d48); }
.g-fl { background: #1a63c9; }
.lock-badge {
  position: absolute; top: -1.4cqw; right: 1.8cqw; width: 6.4cqw; height: 6.4cqw; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--night);
  box-shadow: 0 0 0 0.6cqw rgba(3, 9, 28, 0.6); transition: transform 0.3s ease, opacity 0.3s ease;
}
.lock-badge svg { width: 3.6cqw; height: 3.6cqw; }
.demo.is-open .lock-badge { transform: scale(0); opacity: 0; }
.home-pill {
  position: absolute; z-index: 3; top: 13.6cqw; left: 50%; transform: translateX(-50%);
  background: rgba(232, 197, 71, 0.96); color: var(--night); white-space: nowrap;
  font-size: 3.5cqw; font-weight: 700; padding: 1.6cqw 3.6cqw; border-radius: 99px;
}
.home-hint {
  position: absolute; left: 50%; bottom: 31cqw; transform: translateX(-50%); white-space: nowrap;
  font-size: 3.6cqw; font-weight: 600; color: #fff; padding: 1.8cqw 3.8cqw; border-radius: 99px;
  background: rgba(3, 9, 28, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: breathe 2.4s ease-in-out infinite;
}
.demo.is-open .home-hint { display: none; }
@keyframes breathe { 50% { opacity: 0.55; } }
.dock {
  position: absolute; left: 3.6cqw; right: 3.6cqw; bottom: 3.6cqw;
  display: flex; justify-content: space-around; padding: 3.6cqw 2cqw; border-radius: 9cqw;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.toast {
  position: absolute; z-index: 4; left: 50%; bottom: 34cqw; transform: translate(-50%, 2cqw);
  background: rgba(3, 9, 28, 0.88); color: #fff; font-size: 3.6cqw; font-weight: 500; white-space: nowrap;
  padding: 2.4cqw 4cqw; border-radius: 99px; opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* demo: layers */
.layer {
  position: absolute; inset: 0; z-index: 10; opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
}
.shield-layer {
  background: rgba(3, 9, 28, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%);
  transform: scale(1.05);
}
.shield-layer .shield { background: transparent; }
.shield-layer .shield-btn, .shield-layer .shield-link { cursor: pointer; }
.shield-wait { display: none; margin-top: 2cqw; }
.demo[data-state="shield"] .shield-layer,
.demo[data-state="waiting"] .shield-layer { opacity: 1; visibility: visible; transform: none; }
.demo[data-state="waiting"] .shield-main,
.demo[data-state="waiting"] .shield-btn { display: none; }
.demo[data-state="waiting"] .shield-wait { display: block; }
.demo[data-state="waiting"] .shield-link { margin-top: auto; }

.banner {
  position: absolute; z-index: 40; top: 13cqw; left: 3cqw; right: 3cqw;
  display: flex; align-items: flex-start; gap: 3cqw; text-align: left; cursor: pointer;
  padding: 3.4cqw; border: 0; border-radius: 6.4cqw;
  background: rgba(245, 246, 250, 0.9); color: #111;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, 0.35);
  transform: translateY(-160%); opacity: 0; visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.1), opacity 0.3s ease, visibility 0.45s;
}
.demo[data-state="waiting"] .banner { transform: none; opacity: 1; visibility: visible; animation: nudge 2.2s ease-in-out 1.4s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(1.4cqw); } 90% { transform: translateY(-0.6cqw); } }
.banner img { width: 10cqw; height: 10cqw; border-radius: 2.4cqw; flex: none; }
.banner-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.banner-top { display: flex; justify-content: space-between; font-size: 3.4cqw; }
.banner-top b { font-weight: 600; }
.banner-top small { font-size: 3.2cqw; color: #6b7280; }
.banner-title { font-size: 3.8cqw; font-weight: 600; margin-top: 0.6cqw; }
.banner-text { font-size: 3.6cqw; color: #333; }

.pray-layer {
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 163, 64, 0.18), transparent 45%),
    linear-gradient(180deg, #0c2355 0%, #071535 40%, #03091c 100%);
  transform: translateY(8%);
}
.demo[data-state="pray"] .pray-layer,
.demo[data-state="done"] .pray-layer { opacity: 1; visibility: visible; transform: none; }
.pray-close {
  position: absolute; z-index: 2; top: 13cqw; left: 5cqw; border: 0; background: none; cursor: pointer;
  font: 400 4.4cqw/1 var(--serif); color: rgba(240, 248, 255, 0.7); padding: 1.5cqw;
}
.pray { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24cqw 7cqw 0; }
.pray-cross { width: 9.5cqw; height: auto; color: var(--gold); filter: drop-shadow(0 0 5cqw rgba(244, 163, 64, 0.7)); }
.pray-eyebrow { font: 800 3cqw/1 var(--ui); letter-spacing: 0.22em; color: var(--gold); margin: 4.5cqw 0 2.4cqw; }
.pray-title { font: 600 8.4cqw/1.04 var(--display); color: var(--text); }
.pray-verse { margin-top: 5cqw; padding: 4cqw 4.4cqw; border-radius: 4cqw; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(232, 197, 71, 0.25); }
.pray-verse p { font: italic 500 5cqw/1.25 var(--display); color: var(--text); }
.pray-verse small { display: block; margin-top: 2cqw; font: 700 3cqw/1 var(--ui); letter-spacing: 0.08em; color: var(--gold); }
.pray-label { margin-top: 4.6cqw; font: 800 2.8cqw/1 var(--ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.pray-text { margin-top: 1.8cqw; font: 400 4.3cqw/1.42 var(--serif); color: var(--text-2); }
.pray-done, .pray-streak { display: none; }
.demo[data-state="done"] .pray-body { display: none; }
.demo[data-state="done"] .pray-done { display: block; margin-top: 4cqw; font: 400 4.6cqw/1.45 var(--serif); color: var(--text-2); }
.demo[data-state="done"] .pray-streak {
  display: inline-flex; align-items: center; gap: 1.6cqw; margin-top: 6cqw;
  font: 800 3.2cqw/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(232, 197, 71, 0.4); border-radius: 99px; padding: 2.4cqw 3.6cqw;
}
.pray-streak svg { width: 4cqw; height: 4cqw; }
.amen {
  position: absolute; left: 7cqw; right: 7cqw; bottom: 7cqw; height: 13.5cqw; border: 0; border-radius: 99px;
  overflow: hidden; background: rgba(255, 255, 255, 0.08); color: var(--text-2);
  font: 700 4.2cqw/1 var(--ui); cursor: pointer;
}
.amen:disabled { cursor: default; }
.amen-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(232, 197, 71, 0.22); }
.amen-label { position: relative; }
.amen.ready { background: linear-gradient(180deg, #f8de7f, var(--gold) 60%, #d6ad33); color: var(--night); }
.amen.ready .amen-fill { display: none; }

/* ─── DAILY ─── */

.daily-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.builder { margin-top: 26px; display: grid; gap: 12px; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row-label { flex: none; width: 98px; font: 800 11px/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal-2); }
.pick-chip {
  font: 700 13.5px/1 var(--ui); padding: 10px 14px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink); border: 1.5px solid rgba(11, 27, 63, 0.14);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pick-chip:hover { border-color: rgba(11, 27, 63, 0.35); }
.pick-chip[aria-checked="true"] { background: var(--royal); color: #fff; border-color: var(--royal); }

.today {
  position: relative; overflow: hidden; justify-self: end; width: 100%; max-width: 450px;
  padding: 30px 26px 24px; border-radius: 34px; color: var(--text);
  background: linear-gradient(180deg, var(--royal) 0%, var(--navy) 50%, var(--night) 100%);
  border: 1px solid rgba(232, 197, 71, 0.22);
  box-shadow: 0 50px 90px -40px rgba(7, 21, 53, 0.7), 0 20px 40px -24px rgba(7, 21, 53, 0.5);
}
.today::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -150px; top: -170px; pointer-events: none;
  background: radial-gradient(circle, rgba(244, 163, 64, 0.32), transparent 65%);
}
.today > * { position: relative; }
.today-date { font: 800 11.5px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.today-title { font: 600 46px/1 var(--display); margin: 6px 0 6px; }
.today-card { margin-top: 14px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.eyebrow-sm { font: 800 11px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.today-verse { font: italic 500 25px/1.2 var(--display); margin-top: 12px; }
.today-ref { font: 700 12px/1 var(--ui); letter-spacing: 0.08em; color: var(--gold-light); margin-top: 10px; }
.today-prayer { font-size: 18px; color: var(--text-2); margin-top: 10px; line-height: 1.5; transition: opacity 0.2s ease; }
.today-prayer.swap { opacity: 0; }
.today-btn {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font: 800 12.5px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #f8de7f, var(--gold) 60%, #d6ad33); color: var(--night);
}
.today-btn.prayed { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1.5px rgba(232, 197, 71, 0.55); }
.today-note { font: 500 12px/1.4 var(--ui); color: var(--text-3); margin-top: 14px; text-align: center; }

/* ─── WIDGETS ─── */

.widget-phones { display: flex; justify-content: center; gap: clamp(16px, 5vw, 64px); }
.phone-sm { --w: 280px; }
.widget-phones .phone { display: block; }
.widget-phones .phone-caption { position: absolute; left: 0; right: 0; bottom: -40px; }
.lock-screen, .home-screen {
  background: linear-gradient(180deg, rgba(3, 9, 28, 0.15), rgba(3, 9, 28, 0.3)), url("assets/keyart-tall.webp") center 62% / cover;
}
.ls-date { text-align: center; padding-top: 19cqw; font-size: 5cqw; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.ls-time { text-align: center; font: 700 25cqw/1 var(--ios); letter-spacing: -0.03em; color: rgba(255, 255, 255, 0.96); margin-top: 0.5cqw; }
.ls-widget {
  margin: 3cqw auto 0; width: 76cqw; padding: 3cqw 4cqw; border-radius: 4.6cqw;
  background: rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ls-widget p { font-size: 3.9cqw; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls-widget p svg { display: inline; width: 2.6cqw; height: auto; vertical-align: -0.2cqw; }
.ls-widget small { display: block; font-size: 3.3cqw; opacity: 0.8; margin-top: 0.6cqw; }
.ls-bottom { position: absolute; left: 10cqw; right: 10cqw; bottom: 9cqw; display: flex; justify-content: space-between; }
.ls-bottom span { width: 14cqw; height: 14cqw; border-radius: 50%; background: rgba(0, 0, 0, 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.w-medium, .w-small {
  position: relative; overflow: hidden; border-radius: 6cqw; color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 40%),
    radial-gradient(circle at 0 0, rgba(250, 214, 110, 0.2), transparent 55%),
    linear-gradient(135deg, #03081a 0%, #08173b 50%, #1a3878 100%);
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.25);
}
.w-medium { margin: 17cqw 5cqw 0; padding: 4.6cqw 5cqw; }
.w-head { display: flex; align-items: center; gap: 2cqw; font-size: 2.9cqw; font-weight: 600; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.72); }
.w-head svg { width: 2.6cqw; height: auto; color: #e8c447; }
.w-verse { font: 600 4.4cqw/1.3 ui-serif, "New York", Georgia, serif; margin-top: 2.2cqw; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.w-ref { font-size: 3.4cqw; font-weight: 500; color: #f0d47a; margin-top: 1.6cqw; }
.w-sub { font-size: 3cqw; color: rgba(255, 255, 255, 0.68); margin-top: 0.8cqw; }
.hs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; margin: 5cqw 5cqw 0; }
.w-small { aspect-ratio: 1; padding: 4cqw; }
.w-small .w-verse { font-size: 3.7cqw; -webkit-line-clamp: 4; margin-top: 1.8cqw; }
.w-small .w-ref { font-size: 3cqw; }
.hs-apps { display: grid; grid-template-columns: 1fr 1fr; place-items: center; }
.hs-apps .app-ic { width: 15cqw; }

.feature-pills { list-style: none; padding: 0; margin: 84px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.feature-pills li {
  font: 800 12px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 999px; color: var(--gold-light); border: 1.5px solid rgba(232, 197, 71, 0.35);
}

/* ─── STREAKS ─── */

.streak-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.streak-card {
  width: 100%; max-width: 450px; justify-self: start;
  background: #fff; border-radius: 30px; padding: 28px;
  border: 1px solid rgba(11, 27, 63, 0.08);
  box-shadow: 0 1px 0 rgba(11, 27, 63, 0.04), 0 40px 70px -40px rgba(11, 27, 63, 0.45);
}
.streak-top { display: flex; align-items: center; gap: 16px; }
.flame {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(160deg, var(--gold-light), var(--gold-warm));
  box-shadow: 0 10px 24px -8px rgba(244, 163, 64, 0.7);
}
.streak-top b { display: block; font: 700 54px/0.9 var(--display); color: var(--royal); }
.streak-top span { font: 800 11.5px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 24px 0 26px; }
.d {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font: 800 12px/1 var(--ui); color: var(--ink-2); background: rgba(11, 27, 63, 0.06);
}
.d.done { background: var(--royal); color: var(--gold); }
.d.today-d { background: transparent; box-shadow: inset 0 0 0 2px var(--gold-ink); color: var(--gold-ink); }
.ms-label { font: 800 11px/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal-2); margin-bottom: 14px; }
.milestones { position: relative; display: flex; justify-content: space-between; }
.milestones::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: 3px; transform: translateY(-50%); background: rgba(11, 27, 63, 0.1); border-radius: 2px; }
.milestones::after { content: ""; position: absolute; left: 20px; width: 22%; top: 50%; height: 3px; transform: translateY(-50%); background: var(--gold); border-radius: 2px; }
.ms {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font: 800 14px/1 var(--ui); color: var(--ink-2); background: #fff; border: 2px solid rgba(11, 27, 63, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ms.reached { background: linear-gradient(160deg, var(--gold-light), var(--gold)); border-color: #c9a22a; color: #1d1604; }
.ms[aria-selected="true"] { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(22, 58, 122, 0.2); }
.ms-msg { margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--cream); border: 1px solid rgba(11, 27, 63, 0.07); min-height: 112px; }
.ms-msg b { display: block; font: 700 25px/1.1 var(--display); color: var(--ink); }
.ms-msg p { font-size: 17px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }
.ms-hint { font: 700 12px/1 var(--ui); color: var(--ink-2); opacity: 0.7; margin-top: 14px; text-align: center; }

.nudge {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; max-width: 420px;
  padding: 14px 16px; border-radius: 22px; font-family: var(--ios); color: #111;
  background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(11, 27, 63, 0.08);
  box-shadow: 0 20px 40px -24px rgba(11, 27, 63, 0.4);
}
.nudge img { border-radius: 9px; flex: none; }
.nudge > div { flex: 1; }
.nudge-top { display: flex; justify-content: space-between; font-size: 13.5px; }
.nudge-top b { font-weight: 600; }
.nudge-top small { color: #6b7280; font-size: 12.5px; }
.nudge-title { font-size: 15px; font-weight: 600; margin-top: 2px; }
.nudge-text { font-size: 15px; color: #333; }

/* ─── GUIDANCE ─── */

.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.chat {
  padding: 24px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.bubble { font-size: 18px; line-height: 1.5; }
.bubble.me {
  margin-left: auto; max-width: 82%; width: fit-content; padding: 12px 16px;
  border-radius: 22px 22px 6px 22px; color: #fff;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}
.bubble.them {
  margin-top: 14px; max-width: 94%; padding: 16px 18px;
  border-radius: 22px 22px 22px 6px; color: var(--text);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(232, 197, 71, 0.22);
}
.bubble.them p + p { margin-top: 10px; }
.try-this { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 10px; }
.try-this b { color: var(--gold); font-weight: 500; }
.chat-saved { display: flex; align-items: center; gap: 7px; margin-top: 16px; font: 800 11.5px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }

/* ─── PRIVACY ─── */

.priv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.priv {
  background: #fff; border-radius: 26px; padding: 30px 28px;
  border: 1px solid rgba(11, 27, 63, 0.08);
  box-shadow: 0 1px 0 rgba(11, 27, 63, 0.04), 0 24px 44px -28px rgba(11, 27, 63, 0.35);
}
.priv-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--royal); color: var(--gold); }
.priv h3 { font: 700 27px/1.1 var(--display); margin: 20px 0 8px; }
.priv p { font-size: 17.5px; color: var(--ink-2); line-height: 1.5; }
.center-link { text-align: center; margin-top: 36px; }
.center-link a {
  font: 800 12.5px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--royal-2); padding-bottom: 6px; border-bottom: 2px solid var(--gold);
}

/* ─── FAQ ─── */

.faq-wrap { max-width: 840px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border-radius: 18px; padding: 0 22px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-list details[open] { border-color: rgba(232, 197, 71, 0.38); background: rgba(255, 255, 255, 0.06); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font: 600 clamp(22px, 2.3vw, 26px)/1.2 var(--display); color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; color: var(--gold); transition: transform 0.2s ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { padding: 0 34px 22px 0; color: var(--text-2); font-size: 18.5px; }
.faq-list details a { color: var(--gold); }

/* ─── FINAL CTA ─── */

.final {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(90px, 12vw, 160px) var(--gutter);
  background: url("assets/keyart-wide.webp") center 30% / cover;
  border-top: 2px solid rgba(232, 197, 71, 0.55);
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 9, 28, 0.7), rgba(7, 21, 53, 0.45) 45%, rgba(3, 9, 28, 0.82));
}
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-icon { border-radius: 22px; border: 2px solid rgba(255, 255, 255, 0.7); box-shadow: 0 14px 44px rgba(244, 163, 64, 0.5); }
.final .display { margin: 26px 0 12px; text-shadow: 0 2px 30px rgba(3, 9, 28, 0.6); }
.final p { font-size: 21px; color: rgba(255, 255, 255, 0.9); margin-bottom: 28px; }

/* ─── FOOTER ─── */

.footer { background: var(--night); border-top: 2px solid rgba(232, 197, 71, 0.4); padding: 40px 0 30px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer .brand img { width: 32px; height: 32px; border-radius: 9px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { font: 800 12.5px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot-fine {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font: 500 12px/1.5 var(--ui); color: var(--text-3);
}

/* ─── REVEAL ─── */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .home-hint, .demo[data-state="waiting"] .banner { animation: none; }
  .layer, .banner { transition-duration: 0.01s; }
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px;
    background: rgba(5, 15, 40, 0.97); border-bottom: 2px solid rgba(232, 197, 71, 0.4);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; padding: 15px 12px; }
}

@media (max-width: 980px) {
  .intro-grid, .try-grid, .daily-grid, .streak-grid, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-copy { order: -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .today { justify-self: center; }
  .streak-card { justify-self: center; }
  .streak-copy { order: -1; }
  .priv-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}

@media (max-width: 760px) {
  :root { --nav-h: 62px; --gutter: 18px; }
  body { font-size: 18px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .nav-cta { padding: 10px 14px; font-size: 12px; }
  .keyart-art { height: clamp(560px, calc(100svh - 150px), 820px); }
  .keyart-art img { object-position: center bottom; }
  .cta-bar { gap: 12px; }
  .cta-bar .pill-outline { width: 100%; text-align: center; max-width: 200px; }
  .step-grid { grid-template-columns: minmax(0, 1fr); }
  .picker { grid-template-columns: minmax(0, 1fr); }
  .demo { --w: min(320px, 84vw); }
  .intro-phone .phone { --w: min(300px, 80vw); }
  .phone-sm { --w: min(250px, 42vw); }
  .widget-phones .phone-caption { bottom: -34px; font-size: 11px; }
  .row-label { width: 100%; margin: 6px 0 2px; }
  .today { padding: 26px 20px 20px; border-radius: 28px; }
  .today-title { font-size: 40px; }
  .streak-card { padding: 22px; }
  .ms { width: 38px; height: 38px; font-size: 13px; }
  .faq-list details { padding: 0 18px; }
  .faq-list details p { padding-right: 0; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .nav-cta svg { display: none; }
  .stat b { font-size: 32px; }
}

/* ─── LEGAL PAGES ─── */

.legal-hero {
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(44px, 6vw, 72px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(3, 9, 28, 0.7), rgba(7, 21, 53, 0.86)),
    url("/assets/keyart-wide.webp") center 30% / cover;
  border-bottom: 2px solid rgba(232, 197, 71, 0.55);
}
.legal-hero .display { color: #fff; margin: 16px 0 8px; text-shadow: 0 2px 24px rgba(3, 9, 28, 0.8); }
.legal-hero .display em { color: var(--gold-light); }
.legal-hero p { font: 700 13px/1 var(--ui); letter-spacing: 0.08em; color: var(--text-2); }
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 112px); }
.legal article {
  width: min(780px, 100% - var(--gutter) * 2); margin-inline: auto;
  background: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(11, 27, 63, 0.08);
  box-shadow: 0 1px 0 rgba(11, 27, 63, 0.04), 0 30px 60px -36px rgba(11, 27, 63, 0.35);
}
.legal h2 { font: 700 30px/1.15 var(--display); color: var(--ink); margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 19px; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.legal li::marker { color: var(--gold-ink); }
.legal a { color: var(--royal-2); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.back-link { display: inline-block; margin-top: 30px; font: 800 12.5px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--royal-2); padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.nav-back { margin-left: auto; font: 800 12px/1 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); text-decoration: none; padding: 10px 6px; }
.nav-back:hover { color: #fff; }
.legal-page .nav-cta { margin-left: 8px; }
@media (max-width: 520px) { .nav-back { display: none; } .legal-page .nav-cta { margin-left: auto; } }
