/* versedove.com: Verse's own look, "Illuminated" (design/ui/verse/system/tokens.css and rules.md).
   A finely printed Bible turned into a website: warm paper, black ink, a deep petrol-teal rubric for scripture's own
   marks, a little gilt, and one flat deep-teal binding for the surface that matters most on a page. Only the call
   itself is dark. EB Garamond for titles, Newsreader for scripture, Schibsted Grotesk for everything you read and use.
   Self-hosted fonts, no third-party requests, no data: URLs, no inline styles, and no scripts except three small inline
   ones (the shared-verse and shared-theme pages, /v/ and /t/, and the home page's), each allowed by its hash in /_headers.
   Layout uses logical properties (inline/block), so a right-to-left language folder only sets dir="rtl".
   Contrast (WCAG 2.2): ink on paper 15.2, ink-2 6.5, ink-3 5.1 (13 px and up only), rubric 6.8, gilt-ink 5.6;
   on the binding on-dark 14.6, on-dark-2 9.9, gilt-light 7.9. Gilt (#A77A2B) is never text: lines, marks, numerals. */

/* ---------------------------------------------------------------- fonts (SIL OFL 1.1, see /fonts/OFL-*.txt)
   Files: tools/fetch_fonts.py. Until they are in /fonts/, every face falls back to the system serif or sans. */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-normal-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: "EB Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-italic-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: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-normal-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: "Newsreader";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-italic-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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-normal-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;
}

/* ---------------------------------------------------------------- tokens (from design/ui/verse/system/tokens.css) */
:root {
  color-scheme: light;
  /* paper and ink */
  --paper: #F6F1E7;
  --paper-2: #EFE8DA;
  --paper-3: #E6DCC8;
  --card: #FFFDF8;
  --card-warm: #FBF6EB;
  --vellum: #F3EBDC;
  --ink: #1F1B16;
  --ink-2: #5E554A;
  --ink-3: #6F6558;
  --hairline: #E3D9C6;
  --rule: #CFC2A9;
  /* gilt and rubric: scripture's own marks */
  --gilt: #A77A2B;
  --gilt-ink: #80591C;
  --gilt-light: #D9B26A;
  --gilt-paper: #F6E7C4;
  --rubric: #005D65;
  --rubric-light: #8BCAD2;
  --frame: rgba(167, 122, 43, .45);
  /* the binding and the night of the call */
  --leather-bg: linear-gradient(160deg, #08272A 0%, #05181B 100%);
  --on-dark: #FBF6EC;
  --on-dark-2: #D8CCBA;
  --on-dark-3: #B5A792;
  --night: #030F11;
  --answer: #2E7D4F;
  --decline: #B3261E;
  /* liturgical cloths for notices */
  --sage: #E6EBDC;
  --sage-ink: #3F5A36;
  --sage-line: #BCC8AE;
  --ochre: #F5E6C2;
  --ochre-ink: #6E4C0E;
  --ochre-line: #DCC48C;

  --font-display: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-scripture: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 24px;           /* the page margin: Verse's 24 px */
  --r-sm: 12px;
  --r-md: 14px;
  --r-card: 18px;
  --r-sheet: 26px;
  --r-pill: 999px;
  --lift-1: 0 1px 0 rgba(120, 92, 50, .10), 0 12px 26px -16px rgba(74, 50, 20, .30);
  --lift-2: 0 2px 0 rgba(0, 0, 0, .06), 0 26px 48px -22px rgba(52, 32, 12, .55);
  --float: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 44px 70px -26px rgba(0, 0, 0, .75), 0 10px 22px -10px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --page-light: radial-gradient(70% 420px at 92% -6%, rgba(255, 222, 160, .5) 0%, rgba(255, 222, 160, 0) 70%),
                radial-gradient(60% 300px at 10% 0%, rgba(255, 240, 210, .45) 0%, rgba(255, 240, 210, 0) 70%);
}
@media (min-width: 760px) { :root { --gutter: 40px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper) url("/assets/grain.svg");
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
p, ul, ol, dl, table, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
a { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--gilt); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--rubric); text-decoration-color: var(--rubric); }
:focus-visible { outline: 2px solid var(--rubric); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
small { font-size: .875rem; }
.icon { width: 24px; height: 24px; flex: none; fill: currentColor; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.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; inset-inline-start: 12px; top: -80px; z-index: 50; padding: 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }
.nw { white-space: nowrap; }

/* ---------------------------------------------------------------- type */
/* the eyebrow: tracked caps in gilt-ink after a short gilt rule, as the call screen's "Incoming call" */
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gilt-ink); font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 22px; border-top: 1px solid var(--gilt); }
.display { font: 400 clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem)/1.02 var(--font-display); letter-spacing: -.012em; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--rubric); }
.h1 { font: 400 clamp(2.25rem, 1.75rem + 2vw, 3rem)/1.04 var(--font-display); letter-spacing: -.01em; }
.h2 { font: 400 clamp(1.85rem, 1.45rem + 1.6vw, 2.6rem)/1.06 var(--font-display); letter-spacing: -.01em; }
.h3 { font: 500 1.6875rem/1.1 var(--font-display); }
.lead { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; max-width: 38rem; }
.muted { color: var(--ink-2); }
.fine { color: var(--ink-2); font-size: .875rem; line-height: 1.55; }
.path { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .path { white-space: normal; overflow-wrap: anywhere; } }

/* scripture: Newsreader, italic on a printed page; the reference after a short gilt rule in rubric caps */
.ref { display: flex; align-items: center; gap: 10px; color: var(--rubric); font: 600 .75rem/1.3 var(--font-scripture); letter-spacing: .14em; text-transform: uppercase; }
.ref::before { content: ""; flex: none; width: 18px; border-top: 1px solid var(--gilt); }
.ref__ed { color: var(--ink-2); letter-spacing: .1em; }
.scripture { font: italic 400 clamp(1.3rem, 1.15rem + .6vw, 1.55rem)/1.36 var(--font-scripture); color: var(--ink); }
/* the gilt quote mark hung outside the text, as on Verse's printed pages */
.scripture--quoted { position: relative; }
.scripture--quoted::before { content: "\201C"; position: absolute; inset-inline-start: -.62em; top: -.08em; color: var(--gilt); font: 400 1.5em/1 var(--font-display); }
/* LORD and GOD set as the KJV prints them: a capital, then small capitals */
.sc { font-variant-caps: all-small-caps; letter-spacing: .05em; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 20; background: rgba(246, 241, 231, .92); border-bottom: 1px solid var(--hairline); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(246, 241, 231, .78); -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%); }
}
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink); text-decoration: none; font: 500 1.625rem/1 var(--font-display); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(167, 122, 43, .35); }
.nav ul { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 -12px; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--ink-2); font-weight: 500; font-size: .9375rem; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gilt); text-decoration-thickness: 2px; text-underline-offset: .5em; }
@media (min-width: 760px) {
  .site-header { position: sticky; top: 0; }
  .site-header__bar { flex-wrap: nowrap; min-height: 72px; padding-block: 0; }
  .nav ul { margin: 0; gap: 6px; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
/* a gilt hairline with a printer's lozenge between sections */
.section + .section { position: relative; border-top: 1px solid var(--hairline); }
.section + .section::before { content: ""; position: absolute; top: -5px; inset-inline-start: 50%; width: 9px; height: 9px; margin-inline-start: -4.5px; background: var(--paper); border: 1px solid var(--gilt); transform: rotate(45deg); }
.section__head { display: grid; gap: 14px; max-width: 44rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.mt-24 { margin-top: 24px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid { gap: 20px; } }

/* ---------------------------------------------------------------- hero, with morning light from the top right */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 104px); background: var(--page-light); }
.hero__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 920px) { .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.trust { display: flex; align-items: flex-start; gap: 10px; max-width: 34rem; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.trust .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--gilt); }

/* ---------------------------------------------------------------- buttons and the Google Play badge */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font: 600 1rem/1.15 var(--font-ui); text-decoration: none; transition: transform 120ms var(--ease), background-color 200ms var(--ease); }
.btn:active { transform: scale(.98); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #000000; color: var(--paper); }
.btn--secondary { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn--secondary:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--gilt); }
.play { display: inline-flex; flex: none; border-radius: 10px; transition: transform 120ms var(--ease), box-shadow 200ms var(--ease); }
.play img { width: auto; height: 56px; }
.play:hover { box-shadow: 0 0 0 2px var(--gilt-light), 0 10px 24px -12px rgba(52, 32, 12, .5); }
.play:active { transform: scale(.98); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-weight: 600; text-decoration: none; }
.text-link .icon { width: 20px; height: 20px; color: var(--gilt); transition: transform 200ms var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
[dir="rtl"] .text-link .icon { transform: scaleX(-1); }
[dir="rtl"] .text-link:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------------------------------------------------------------- tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--card); color: var(--ink-2); font-size: .8125rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--hairline); }
.tag--gilt { background: var(--gilt-paper); color: var(--gilt-ink); box-shadow: inset 0 0 0 1px rgba(167, 122, 43, .35); }

/* ---------------------------------------------------------------- cards: a raised page, a printed page, the binding */
.card { position: relative; display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--lift-1); }
.card p, .card li { color: var(--ink-2); }
.card__title { font: 500 1.6875rem/1.1 var(--font-display); color: var(--ink); }
.card__title--ui { font: 600 1.0625rem/1.35 var(--font-ui); }
/* a printed page: warm card, its grain, and a gilt frame ruled 8 px inside */
.printed { background: var(--card-warm) url("/assets/grain.svg"); }
.printed::after { content: ""; position: absolute; inset: 8px; border: 1px solid var(--frame); border-radius: 12px; pointer-events: none; }
.card--tint { background: var(--vellum); box-shadow: none; }
.card--sage { background: var(--sage); border-color: var(--sage-line); box-shadow: none; }
.card--sage .card__title { color: var(--sage-ink); }
.card--gold { background: var(--gilt-paper); border-color: rgba(167, 122, 43, .35); }
/* the binding: flat deep teal with one gilt fillet; one per page */
.bound { background: var(--leather-bg); border-color: transparent; box-shadow: var(--lift-2); color: var(--on-dark); }
.bound::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217, 178, 106, .5); border-radius: 12px; pointer-events: none; }
.bound .card__title, .bound strong { color: var(--on-dark); }
.bound p, .bound li { color: var(--on-dark-2); }
.bound .eyebrow { color: var(--gilt-light); }
.bound .eyebrow::before { border-color: var(--gilt-light); }
.bound .list li::before { border-color: var(--gilt-light); }
.bound a { color: var(--on-dark); text-decoration-color: var(--gilt-light); }

/* the lead medallion: a gilt icon in a vellum disc ringed in gilt */
.medal { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--vellum); box-shadow: inset 0 0 0 1px rgba(167, 122, 43, .55); color: var(--gilt); }
.medal .icon { width: 24px; height: 24px; }
.feature { gap: 14px; }
.feature p { font-size: 1rem; }
.feature__more { margin-top: 4px; font-size: .875rem; color: var(--ink-2); }

/* lists set with printer's lozenges */
.list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding-inline-start: 22px; }
.list li::before { content: ""; position: absolute; inset-inline-start: 3px; top: .62em; width: 6px; height: 6px; border: 1px solid var(--gilt); transform: rotate(45deg); }
.list strong { color: var(--ink); }
@media (min-width: 760px) { .list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }

/* steps: a rubricated numeral in the display serif */
.step { gap: 10px; }
.step__num { color: var(--gilt); font: 400 2.75rem/1 var(--font-display); }

/* ---------------------------------------------------------------- the phone: a Verse call, drawn with type and light */
.phone-wrap { display: grid; place-items: center; }
.phone { position: relative; width: min(80vw, 316px); aspect-ratio: 9 / 19; padding: 9px; border-radius: 46px; background: #15120E;
  box-shadow: 0 0 0 1px rgba(31, 27, 22, .5), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 70px -30px rgba(52, 32, 12, .65), 0 18px 30px -18px rgba(52, 32, 12, .5); }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 38px; background: var(--night); isolation: isolate;
  display: flex; flex-direction: column; padding: 44px 18px 26px; color: var(--on-dark); }
/* Morning light: a dawn sky over a dark hill, the sun rising behind it, slow drift */
.phone__art { position: absolute; inset: -12%; z-index: -1;
  background:
    radial-gradient(120% 34% at 50% 102%, #0B1D1C 0%, #0B1D1C 58%, rgba(11, 29, 28, 0) 60%),
    radial-gradient(26% 13% at 62% 64%, rgba(255, 236, 196, .95) 0%, rgba(255, 214, 150, .55) 40%, rgba(255, 214, 150, 0) 100%),
    radial-gradient(90% 40% at 60% 66%, rgba(233, 168, 92, .7) 0%, rgba(233, 168, 92, 0) 70%),
    linear-gradient(180deg, #071A1D 0%, #0E3236 30%, #3F5B57 50%, #B98A5A 64%, #E7B877 70%, #0B1D1C 71%);
  animation: drift 20s ease-in-out infinite alternate; }
.phone__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 15, 17, .55) 0%, rgba(3, 15, 17, 0) 26%, rgba(3, 15, 17, 0) 62%, rgba(3, 15, 17, .78) 100%); }
.phone__over { display: flex; align-items: center; gap: 8px; color: var(--on-dark-2); font: 600 .6875rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; }
.phone__over::after { content: ""; flex: 1; border-top: 1px solid rgba(217, 178, 106, .7); }
.phone__name { margin-top: 10px; font: 400 3.4rem/.9 var(--font-display); letter-spacing: -.015em; color: var(--on-dark); text-shadow: 0 1px 16px rgba(8, 5, 3, .6); }
.phone__sub { margin-top: 6px; color: var(--on-dark-2); font-size: .8125rem; font-weight: 500; }
/* the printed verse card floating on the art */
.phone__card { position: relative; margin-top: 22px; padding: 18px 18px 16px; border-radius: 16px; background: var(--card-warm) url("/assets/grain.svg"); color: var(--ink); box-shadow: var(--float); }
.phone__card::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--frame); border-radius: 11px; pointer-events: none; }
.phone__verse { font: italic 400 1.1875rem/1.36 var(--font-scripture); color: var(--ink); }
.phone__ini { float: inline-start; margin: .04em .08em 0 0; color: var(--rubric); font: normal 400 2.7em/.8 var(--font-display); }
.phone__card .ref { margin-top: 12px; font-size: .625rem; }
/* Answer comes first in the DOM (TalkBack reads it first) and is drawn on the right, Decline on the left */
.phone__btns { display: flex; flex-direction: row-reverse; justify-content: space-between; margin-top: auto; padding: 0 6px; }
.callbtn { display: grid; justify-items: center; gap: 8px; color: var(--on-dark); font-size: .75rem; font-weight: 600; }
.callbtn__disc { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #FFFFFF; background: var(--decline); }
.callbtn--answer .callbtn__disc { background: var(--answer); }
.callbtn__disc .icon { width: 28px; height: 28px; }
.callbtn--answer .callbtn__disc::before, .callbtn--answer .callbtn__disc::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(46, 125, 79, .55); animation: breathe 1.6s ease-out infinite; }
.callbtn--answer .callbtn__disc::after { animation-delay: .8s; }
@keyframes breathe { 0% { transform: scale(.86); opacity: .9; } 100% { transform: scale(1.28); opacity: 0; } }
@keyframes drift { 0% { transform: translate3d(-2%, -1%, 0) scale(1); } 100% { transform: translate3d(2%, 1%, 0) scale(1.05); } }

/* ---------------------------------------------------------------- screenshots (placeholders until the store set is rendered) */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 20px; overflow-x: auto; padding-block-end: 12px; scroll-snap-type: inline mandatory; }
.shot { display: grid; gap: 12px; justify-items: center; scroll-snap-align: start; }
.shot__frame { position: relative; width: 100%; max-width: 240px; aspect-ratio: 9 / 19; padding: 7px; border-radius: 34px; background: #15120E; box-shadow: 0 30px 50px -28px rgba(52, 32, 12, .6); }
.shot__screen { position: relative; display: grid; align-content: center; justify-items: center; gap: 14px; height: 100%; padding: 28px 18px; overflow: hidden; border-radius: 28px; text-align: center;
  background: var(--page-light), var(--paper) url("/assets/grain.svg"); }
.shot__screen--dark { background: radial-gradient(70% 40% at 60% 70%, rgba(233, 168, 92, .45), transparent 70%), linear-gradient(180deg, #071A1D 0%, #0E3236 50%, #3F5B57 100%); color: var(--on-dark); }
.shot__title { font: 400 1.6rem/1.05 var(--font-display); }
.shot__line { width: 64%; border-top: 1px solid var(--gilt); }
.shot__note { color: var(--ink-2); font-size: .8125rem; line-height: 1.4; }
.shot__screen--dark .shot__note { color: var(--on-dark-2); }
.shot__screen--dark .shot__line { border-color: var(--gilt-light); }
.shot figcaption { max-width: 15rem; color: var(--ink); font-weight: 600; font-size: .9375rem; text-align: center; }
@media (min-width: 1000px) { .shots { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }

/* ---------------------------------------------------------------- free and Premium */
.plans { display: grid; gap: 20px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.plans .card { padding: clamp(24px, 3vw, 34px); gap: 16px; }

/* ---------------------------------------------------------------- FAQ: questions you open */
.faq { display: grid; max-width: 46rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none; font: 500 1.375rem/1.25 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-inline-end: 6px; border-inline-end: 1.5px solid var(--gilt); border-block-end: 1.5px solid var(--gilt); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { display: grid; gap: 10px; padding-block-end: 20px; color: var(--ink-2); }

/* ---------------------------------------------------------------- the closing band */
.band { position: relative; text-align: center; background: var(--page-light); }
.band .wrap { display: grid; justify-items: center; gap: 22px; }

/* ---------------------------------------------------------------- legal and help pages */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--hairline); background: var(--page-light); }
.page-head > .wrap { display: grid; gap: 14px; justify-items: start; }
.page-head .lead { max-width: 44rem; }
.updated { color: var(--ink-2); font-size: .9375rem; }
.page-body { display: grid; gap: 32px; padding-block: clamp(28px, 4vw, 48px) clamp(56px, 8vw, 96px); }
@media (min-width: 1000px) {
  .page-body { grid-template-columns: 15.5rem minmax(0, 1fr); gap: 56px; align-items: start; }
  .toc { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; }
}
.toc { padding: 18px 20px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-card); }
.toc h2 { margin-bottom: 10px; color: var(--gilt-ink); font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.35; text-decoration: none; }
.toc a::before { content: counter(toc); flex: none; min-width: 1.4em; color: var(--gilt-ink); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); }

.prose { display: grid; gap: 18px; max-width: 46rem; font-size: 1.0625rem; line-height: 1.68; }
.prose > section { display: grid; gap: 16px; scroll-margin-top: 96px; }
.prose > section + section { padding-top: 34px; border-top: 1px solid var(--hairline); margin-top: 14px; }
.prose h2 { font: 400 clamp(1.6rem, 1.35rem + .9vw, 2rem)/1.12 var(--font-display); letter-spacing: -.01em; }
.prose h3 { margin-top: 8px; font: 600 1.125rem/1.35 var(--font-ui); color: var(--ink); }
.prose p, .prose li, .prose dd { color: var(--ink-2); }
.prose p strong, .prose li strong { color: var(--ink); }
.prose ul, .prose ol { display: grid; gap: 8px; padding-inline-start: 1.3em; }
.prose ul { list-style: none; padding-inline-start: 0; }
.prose ul > li { position: relative; padding-inline-start: 24px; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .72em; width: 6px; height: 6px; border: 1px solid var(--gilt); transform: rotate(45deg); }
.prose ol > li { padding-inline-start: 4px; }
.prose ol > li::marker { color: var(--gilt-ink); font-weight: 600; }
.prose .card { margin-block: 4px; }
.summary { padding: 26px 28px; }
.summary h2 { font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt-ink); }
.facts { display: grid; gap: 4px 20px; margin: 0; }
.facts dt { color: var(--ink-2); font-size: .9375rem; font-weight: 600; }
.facts dd { margin: 0 0 10px; color: var(--ink); }
@media (min-width: 640px) { .facts { grid-template-columns: 12rem minmax(0, 1fr); } .facts dd { margin: 0; } }
/* the company's details on the legal pages: glyph outlines, never text (tools/company_svg.py). The SVG carries its
   natural size (body text, 17 px) and only shrinks in a narrower column. */
.company-details { display: grid; gap: 10px; justify-items: start; }
.company-svg { display: block; max-width: 100%; height: auto; color: var(--ink); }
.small, .small p { color: var(--ink-2); font-size: .875rem; line-height: 1.6; }
.small summary { cursor: pointer; color: var(--ink); font-weight: 600; }

.table-wrap { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; border-radius: 10px; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .96875rem; line-height: 1.5; }
th, td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--hairline); text-align: start; vertical-align: top; }
thead th { color: var(--gilt-ink); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom-color: var(--rule); }
tbody th { color: var(--ink); font-weight: 600; }
td { color: var(--ink-2); }
td a, th a { overflow-wrap: anywhere; }

/* help: topics in a grid of raised pages, then each topic's questions */
.topics { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.topic { display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 18px 20px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--lift-1); text-decoration: none; }
.topic:hover { border-color: var(--rule); color: var(--ink); }
.topic strong { display: block; font: 500 1.375rem/1.15 var(--font-display); }
.topic span span { color: var(--ink-2); font-size: .875rem; }
.help-section { display: grid; gap: 18px; scroll-margin-top: 96px; }
.help-section + .help-section { margin-top: clamp(40px, 5vw, 64px); }
.help-section__head { display: flex; align-items: center; gap: 14px; }

/* ---------------------------------------------------------------- the shared verse (/v/) */
.shared { padding-block: clamp(40px, 8vw, 104px); text-align: center; background: var(--page-light); }
.shared > .wrap { display: grid; justify-items: center; gap: 24px; }
.shared .lead { margin-inline: auto; }
.shared .actions { justify-content: center; }
.shared .eyebrow { justify-content: center; }
.shared .eyebrow::after { content: ""; flex: none; width: 22px; border-top: 1px solid var(--gilt); }
.verse-card { width: min(100%, 34rem); padding: clamp(28px, 5vw, 44px) clamp(28px, 6vw, 52px); text-align: start; }
.verse-card .scripture { padding-inline-start: .2em; }
.verse-card .ref { margin-top: 18px; }
.shared__facts { width: min(100%, 40rem); text-align: start; }

/* ---------------------------------------------------------------- 404 */
.lost { display: grid; justify-items: start; gap: 22px; padding-block: clamp(56px, 10vw, 128px); }
.lost__code { color: var(--gilt); font: 400 clamp(5rem, 3.5rem + 8vw, 9rem)/.9 var(--font-display); }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: auto; padding-block: 48px 36px; border-top: 1px solid var(--rule); background: var(--paper-2); color: var(--ink-2); font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } }
.footer-grid h2 { margin-bottom: 10px; color: var(--gilt-ink); font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.footer-grid ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-grid ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.footer-grid ul a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gilt); }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand p { max-width: 22rem; }
.footer-legal { display: grid; gap: 6px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .8125rem; line-height: 1.55; }

/* ---------------------------------------------------------------- motion, contrast, print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .card, .toc, .topic { border: 1px solid CanvasText; }
  .btn--primary, .btn--secondary { border: 1px solid ButtonText; }
  .eyebrow::before, .ref::before, .list li::before, .prose ul > li::before { border-color: CanvasText; }
}
@media print {
  body { background: #FFFFFF; color: #000000; font-size: 11pt; }
  .site-header, .site-footer nav, .toc, .skip, .actions, .phone-wrap, .shots { display: none !important; }
  .prose p, .prose li, .prose dd, td, .lead, .muted, .updated { color: #000000; }
  a { color: #000000; }
  .card, .summary { background: #FFFFFF; border-color: #999999; box-shadow: none; }
  .printed::after, .bound::after { display: none; }
  .bound { background: #FFFFFF; color: #000000; }
  .page-body { display: block; }
}
