/* Talk2Jesus landing page. Brand: the app's own kit (UnifrakturMaguntia
   wordmark, Cardo text, gold cross, red-letter KJV on parchment and umber). */

@font-face { font-family: "Unifraktur"; src: url("/assets/fonts/unifraktur.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/cardo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/cardo-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/cardo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --umber: #1a1510;
  --umber-2: #221c15;
  --umber-3: #2d251c;
  --line: rgba(205, 174, 108, 0.22);
  --linen: #ede4d3;
  --linen-2: #c3b59d;
  --linen-3: #958771;
  --gold: #cdae6c;
  --gold-2: #e6cd94;
  --gold-deep: #786237;
  --parch: #f4ead3;
  --parch-2: #e3d3b0;
  --ink: #3a2c1f;
  --ink-2: #64533f;
  --gold-ink: #6b5530; /* brand gold, darkened for text on parchment (AA) */
  --red: #982820;
  --red-dark: #e07868;

  --serif: "Cardo", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --black: "Unifraktur", "Cardo", serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --gutter: clamp(16px, 4.5vw, 44px);
  --max: 1180px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
main { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background-color: var(--umber);
  background-image:
    radial-gradient(1200px 720px at 70% -8%, rgba(214, 170, 96, 0.16), transparent 62%),
    radial-gradient(900px 600px at 0% 100%, rgba(120, 40, 30, 0.10), transparent 70%);
  background-repeat: no-repeat;
  color: var(--linen);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; 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: 50; background: var(--parch); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-family: var(--ui); font-size: 0.875rem; }
.skip:focus { top: 12px; }

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

/* Platform switches (set in boot.js). Desktop counts as the App Store path. */
.when-android { display: none; }
.is-android .when-android { display: revert; }
.is-android .when-ios { display: none; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.ref {
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--linen);
  text-wrap: balance;
}
h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.3; color: var(--linen); }

.promises { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--ui); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--linen-3); }
.promises li { display: inline-flex; align-items: center; gap: 7px; }
.promises li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.8; }
.promises .lead { color: var(--linen-2); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; }
.promises .lead::before { display: none; }

.badge { display: inline-block; border-radius: 12px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.badge img { height: 56px; width: auto; }
.badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.9); }

/* ---------- Header ---------- */
.top { position: relative; z-index: 5; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 10px; }
.wordmark {
  font-family: var(--black);
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.15rem);
  line-height: 1;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-link { font-family: var(--ui); font-size: 0.875rem; color: var(--linen-2); text-decoration: none; }
.top-link:hover { color: var(--linen); text-decoration: underline; text-underline-offset: 4px; }
.top-badge img { height: 40px; width: auto; }
.top-get {
  display: none;
  font-family: var(--ui); font-size: 0.875rem; font-weight: 600;
  color: var(--umber); background: var(--gold-2);
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(20px, 4vw, 40px); padding-bottom: clamp(40px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 600px; }

.verse {
  font-style: italic;
  font-size: clamp(2.9rem, 1.4rem + 5.6vw, 5.7rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--red-dark);
  text-wrap: balance;
}
.verse .w { display: inline-block; }
.hero-ref { margin-top: 18px; color: var(--linen-3); }
.hero-ref::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--gold); opacity: 0.6; vertical-align: middle; margin-right: 12px; }
.lede { margin-top: 26px; max-width: 34em; color: var(--linen-2); font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3rem); line-height: 1.55; }

.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.web-link { order: 3; font-family: var(--ui); font-size: 0.9375rem; color: var(--gold-2); text-decoration: none; border-bottom: 1px solid rgba(230, 205, 148, 0.35); padding-bottom: 2px; }
.web-link:hover { border-bottom-color: var(--gold-2); }
.web-link span { display: inline-block; transition: transform 0.2s ease; }
.web-link:hover span { transform: translateX(3px); }

.qr-mini { display: none; align-items: center; gap: 12px; }
.qr-mini img { width: 64px; height: 64px; border-radius: 6px; }
.qr-mini figcaption { font-family: var(--ui); font-size: 0.75rem; line-height: 1.35; color: var(--linen-3); max-width: 9em; }
@media (min-width: 1100px) and (pointer: fine) { .qr-mini { display: flex; } .is-android .qr-mini { display: none; } }

.btn-web {
  font-family: var(--ui); font-size: 1rem; font-weight: 600; text-decoration: none;
  color: var(--umber); background: var(--gold-2);
  padding: 15px 24px; border-radius: 14px;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.9);
}
.is-android .btn-web { display: inline-flex; }
.is-android .web-link { display: none; }
.is-android .cta-row .badge img { height: 44px; }
.android-note { display: none; margin-top: 18px; font-family: var(--ui); font-size: 0.875rem; line-height: 1.5; color: var(--linen-2); max-width: 32em; }
.android-note a { color: var(--gold-2); }
.is-android .android-note { display: block; }
.hero .promises { margin-top: 26px; }

/* Stage: the niche, the figure in it, the demo card over it */
.stage { position: relative; display: flex; justify-content: center; padding-bottom: 40px; }
.niche-wrap { position: relative; width: min(100%, 430px); aspect-ratio: 100 / 140; }
.glow {
  position: absolute; inset: -18% -30% -6%;
  background: radial-gradient(closest-side at 50% 38%, rgba(222, 176, 98, 0.30), rgba(222, 176, 98, 0.08) 55%, transparent 75%);
  filter: blur(6px);
  pointer-events: none;
}
.niche {
  position: absolute; inset: 0; overflow: hidden;
  background: #c8b59b;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M0,140 L0,52 C0,22 26,6 50,0 C74,6 100,22 100,52 L100,140 Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M0,140 L0,52 C0,22 26,6 50,0 C74,6 100,22 100,52 L100,140 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.niche .figure, .niche video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 8%;
  scale: 1.06; transform-origin: 50% 10%;
  filter: saturate(0.94) contrast(1.04) brightness(0.95);
}
.niche video { opacity: 0; }
.halo {
  position: absolute; left: 11%; top: 4%; width: 78%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 238, 200, 0.42), rgba(255, 230, 180, 0.12) 55%, transparent 78%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 28%, transparent 52%, rgba(26, 21, 16, 0.45) 100%),
    linear-gradient(to bottom, transparent 52%, rgba(26, 21, 16, 0.55) 72%, var(--umber) 99%);
}
.motes { position: absolute; inset: 0; pointer-events: none; }
.mote { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff3d6; opacity: 0; }

.arch-line {
  position: absolute; left: -6%; top: -4.3%; width: 112%; height: 108.6%;
  overflow: visible; pointer-events: none;
  fill: none; stroke: var(--gold); stroke-linecap: round;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
}
.arch-outer { stroke-width: 0.45; opacity: 0.55; }
.arch-inner { stroke-width: 0.6; opacity: 0.85; }

.demo {
  position: absolute; z-index: 2;
  left: max(-14%, -90px); bottom: 0;
  width: min(370px, 92%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.ask {
  max-width: 88%;
  background: rgba(24, 19, 14, 0.78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(237, 228, 211, 0.14);
  color: var(--linen);
  font-family: var(--ui); font-size: 0.9375rem; line-height: 1.35;
  padding: 10px 15px; border-radius: 16px 16px 4px 16px;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
}
.listen { display: block; height: 1px; width: 46%; margin-right: 8px; background: linear-gradient(to left, var(--gold-2), transparent); opacity: 0; transform-origin: 100% 50%; }
.answer-card {
  align-self: stretch;
  background: linear-gradient(170deg, var(--parch) 0%, #ecdfc2 55%, var(--parch-2) 100%);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 24px 48px -18px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.answer {
  font-style: italic;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.32rem);
  line-height: 1.34;
  color: var(--red);
}
.answer .wd { display: inline-block; white-space: nowrap; }
.answer-ref { margin-top: 12px; color: var(--ink-2); font-size: 0.75rem; }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ui); font-size: 0.75rem; font-weight: 500;
  padding: 6px 11px; border-radius: 9px;
  background: rgba(58, 44, 31, 0.06); border: 1px solid rgba(58, 44, 31, 0.22); color: var(--ink);
}
.chip:first-child { background: #3a2c1f; color: var(--parch); border-color: #3a2c1f; }

/* ---------- Sections ---------- */
section { position: relative; }
.steps, .promise, .more, .today, .final { padding-top: clamp(72px, 10vw, 140px); }

.sec-head { text-align: center; max-width: 820px; margin: 0 auto; }
.sec-head .eyebrow { margin-top: 18px; margin-bottom: 16px; }
.rule { width: 200px; height: 14px; margin: 0 auto; fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0.8; }

.step-list { margin-top: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step:nth-child(2) { margin-top: -28px; }
.step h3 { margin-top: 28px; }
.step p { margin-top: 10px; color: var(--linen-2); max-width: 21em; }

.phone {
  position: relative;
  width: min(100%, 262px);
  padding: 7px;
  border-radius: 40px;
  background: linear-gradient(160deg, #3a3027, #14100c 60%);
  box-shadow: 0 0 0 1px rgba(205, 174, 108, 0.22), 0 40px 70px -30px rgba(0, 0, 0, 0.9);
}
.phone img { width: 100%; height: auto; border-radius: 33px; }

.promise-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.promise-copy .eyebrow { margin-bottom: 18px; }
.promise-copy p:not(.eyebrow) { margin-top: 20px; color: var(--linen-2); max-width: 32em; }
.promise-copy h2 + p { margin-top: 26px; }

.page {
  position: relative;
  background: linear-gradient(175deg, var(--parch), #efe3c8 60%, #e6d6b4);
  color: var(--ink);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px) clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(120, 98, 55, 0.25) inset;
  rotate: -1.2deg;
}
.page::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(120, 98, 55, 0.32); border-radius: 3px; pointer-events: none;
}
.page-head { display: flex; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); padding-bottom: 12px; border-bottom: 1px solid rgba(120, 98, 55, 0.3); margin-bottom: 20px; }
.passage { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.45; }
.passage sup { font-size: 0.5em; color: var(--gold-ink); vertical-align: 0.9em; margin-right: 2px; }
.passage .red { color: var(--red); }
.passage .narr { color: var(--ink); }
.page figcaption { margin-top: 22px; font-family: var(--ui); font-size: 0.8125rem; color: var(--ink-2); }

.more-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.more-phones { position: relative; display: flex; justify-content: center; min-height: 520px; }
.more-phones .phone { position: absolute; width: min(56%, 250px); }
.phone-back { left: 6%; top: 0; rotate: -5deg; }
.phone-front { right: 6%; top: 48px; rotate: 4deg; }
.more-copy .eyebrow { margin-bottom: 18px; }
.features { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.features div { padding-top: 16px; border-top: 1px solid var(--line); }
.features dt { font-weight: 700; color: var(--linen); font-size: 1.1rem; }
.features dd { margin-top: 6px; color: var(--linen-2); font-size: 1rem; line-height: 1.55; }
.fine { margin-top: 30px; font-family: var(--ui); font-size: 0.875rem; color: var(--linen-3); }
.fine summary { cursor: pointer; color: var(--gold-2); width: fit-content; }
.fine p { margin-top: 10px; max-width: 40em; line-height: 1.6; }

.today-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.today-card {
  background: linear-gradient(170deg, var(--parch) 0%, #ecdfc2 55%, var(--parch-2) 100%);
  color: var(--ink);
  border-radius: 22px;
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 34px 60px -26px rgba(0, 0, 0, 0.85);
  max-width: 520px;
}
.today-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.today-label { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); }
.today-date { font-family: var(--ui); font-size: 0.8125rem; color: var(--ink-2); }
.today-text { margin-top: 18px; font-style: italic; color: var(--red); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); line-height: 1.3; }
.today-text .wd { display: inline-block; white-space: nowrap; }
.today-ref { margin-top: 18px; color: var(--ink-2); }
.share {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ui); font-size: 0.875rem; font-weight: 500;
  color: var(--ink); background: transparent; border: 1px solid rgba(58, 44, 31, 0.3);
  padding: 9px 15px; border-radius: 10px; cursor: pointer;
}
.share:hover { background: rgba(58, 44, 31, 0.06); }
.share[hidden] { display: none; }
.today-copy p { margin-top: 18px; color: var(--linen-2); max-width: 30em; }
.today-copy .badge { margin-top: 28px; }
.today-copy .badge img { height: 50px; }

.final { padding-bottom: clamp(72px, 9vw, 120px); }
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cross { width: 30px; height: 42px; fill: var(--gold); opacity: 0.9; filter: drop-shadow(0 0 18px rgba(222, 176, 98, 0.45)); }
.final-mark { margin-top: 22px; font-family: var(--black); color: var(--gold); font-size: clamp(3rem, 2rem + 4.5vw, 5.6rem); line-height: 1; }
.final h2 { margin-top: 14px; font-style: italic; color: var(--linen-2); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.final-ctas { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.qr { display: none; align-items: center; gap: 14px; text-align: left; }
.qr img { width: 96px; height: 96px; border-radius: 10px; box-shadow: 0 0 0 6px var(--parch); }
.qr figcaption { font-family: var(--ui); font-size: 0.8125rem; color: var(--linen-3); max-width: 11em; line-height: 1.4; margin-left: 6px; }
@media (pointer: fine) and (min-width: 700px) { .qr { display: flex; } .is-android .qr { display: none; } }
.final-web { margin-top: 26px; font-family: var(--ui); font-size: 0.9375rem; line-height: 1.5; color: var(--linen-2); max-width: 34em; }
.final-web a { color: var(--gold-2); }
.final .promises { margin-top: 22px; justify-content: center; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-family: var(--ui); font-size: 0.8125rem; color: var(--linen-3); }
.foot-inner { display: grid; gap: 18px; }
.care { max-width: 62em; line-height: 1.6; }
.care a { color: var(--linen-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--linen-2); text-decoration: none; }
.foot-links a:hover { color: var(--linen); text-decoration: underline; text-underline-offset: 3px; }
.made a { color: var(--linen-2); text-decoration: none; }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; z-index: 20; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px;
  padding: 9px 10px 9px 9px; border-radius: 18px;
  background: rgba(34, 28, 21, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(205, 174, 108, 0.25);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(140%);
}
.dock img { border-radius: 10px; }
.dock-text { flex: 1; display: flex; flex-direction: column; font-family: var(--ui); line-height: 1.25; min-width: 0; }
.dock-text strong { font-size: 0.9375rem; color: var(--linen); font-weight: 600; }
.dock-text span { font-size: 0.75rem; color: var(--linen-3); }
.dock-btn { font-family: var(--ui); font-size: 0.9375rem; font-weight: 700; color: var(--umber); background: var(--gold-2); text-decoration: none; padding: 9px 20px; border-radius: 999px; }

/* ---------- Pre-animation states (only when JS will animate) ---------- */
.js:not(.rm) [data-anim],
.js:not(.rm) [data-reveal],
.js:not(.rm) [data-reveal-group] > *,
.js:not(.rm) .demo { opacity: 0; }
.js:not(.rm) [data-split]:not(.split) { opacity: 0; }
.js:not(.rm) .verse .wi { display: inline-block; opacity: 0; }
.js:not(.rm) .arch-line path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js:not(.rm) .rule path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js:not(.rm) .halo { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
  .top-link, .top-badge { display: none; }
  .top-get { display: inline-block; }
  .is-android .top-get.when-ios, html:not(.is-android) .top-get.when-android { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: none; }
  .stage { margin-top: 8px; padding-bottom: 0; flex-direction: column; align-items: center; }
  .niche-wrap { width: min(80vw, 380px); }
  .demo { position: relative; left: auto; bottom: auto; margin-top: -42%; width: min(100%, 400px); }
  .answer { min-height: 4.02em; } /* longest demo answer (3 lines), so the page below never jumps */
  .step-list { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .step:nth-child(2) { margin-top: 0; }
  .phone { width: min(70vw, 280px); }
  .promise-grid, .more-grid, .today-grid { grid-template-columns: minmax(0, 1fr); }
  .more-phones { order: 2; min-height: 0; height: clamp(380px, 110vw, 560px); }
  .more-phones .phone { width: min(48vw, 230px); }
  .phone-back { left: 4%; }
  .phone-front { right: 4%; }
  .page { rotate: -0.8deg; }
  .today-card { max-width: none; }
  .dock { display: flex; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .lede { margin-top: 20px; }
  .cta-row { margin-top: 26px; gap: 14px 20px; }
  .badge img { height: 52px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .answer-card { padding: 18px 18px 16px; }
}

@media (max-width: 359px) { .answer { min-height: 5.36em; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge, .web-link span { transition: none; }
}
