/* Quiet Rosary website. Brand: company/03-design/BRAND.md, DESIGN-SYSTEM.md, STORE-SCREENSHOTS.md §8.
   Self-hosted fonts only (Legal); no remote resources of any kind. */

@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "QR Sans";
  src: url("/assets/fonts/qr-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "QR Sans";
  src: url("/assets/fonts/qr-sans-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* Colour tokens generated by web/build.py from company/03-design/tokens/tokens.json. */
:root{--bg:#F6F1E7;--surface:#FFFCF6;--surface-2:#EEE6D6;--ink:#221D17;--ink-2:#5B5145;--line-strong:#877A69;--line:#E0D6C4;--link:#2C4A7E;--on-link:#FFFFFF;--gold:#806008;--error:#B3261E;--violet:#5A3D8C;--rose:#9C4466}
@media (prefers-color-scheme:dark){:root{--bg:#101219;--surface:#181B24;--surface-2:#222633;--ink:#F1ECE2;--ink-2:#B0A99C;--line-strong:#7D7870;--line:#2C303D;--link:#A9C0EC;--on-link:#0F1E38;--gold:#E2C26C;--error:#FFB4A8;--violet:#C5AFEF;--rose:#EFADC4}}

:root {
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "QR Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --focus: var(--link);
  --wash: #EAE2E3;
  --wash-line: rgba(90, 61, 140, .22);
  /* The night field: the app icon's own gradient (icon/concept-a-decade.svg). Fixed in both themes. */
  --night-1: #1E2648;
  --night-2: #10142A;
  --night-ink: #F4EFE6;
  --night-ink-2: #C3BCAF;
  --night-link: #A9C0EC;
  --night-on-link: #0F1E38;
  --night-gold: #E2C26C;
  --bead: #E7C46A;
  --bead-lit: #FFF3D2;
  --bead-dim: #5C5338;
  --cord: #6B5D3B;
  /* The small decade mark beside the name, on parchment. */
  --m-bead: #8A6A12;
  --m-lit: #D9A21B;
  --m-dim: #D3C5A8;
  --m-cord: #8A6A12;
  --gap: 2rem;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  :root {
    --wash: color-mix(in srgb, var(--violet) 9%, var(--bg));
    --wash-line: color-mix(in srgb, var(--violet) 28%, transparent);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --wash: #1A1726;
    --m-bead: var(--bead);
    --m-lit: var(--bead-lit);
    --m-dim: var(--bead-dim);
    --m-cord: var(--cord);
  }
  @supports (color: color-mix(in srgb, red 50%, blue)) {
    :root { --wash: color-mix(in srgb, var(--violet) 9%, var(--bg)); }
  }
}

/* Base ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-kerning: normal;
  caret-color: var(--link);
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
svg { display: block; }
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
::selection { background: rgba(44, 74, 126, .22); color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.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-link {
  position: absolute; left: 1rem; top: -6rem; z-index: 10;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 20px -6px rgba(16, 20, 42, .45);
}
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: 65rem; margin-inline: auto; padding-inline: 1.25rem; }
.wrap--text { max-width: 47.5rem; }
.wrap--doc { max-width: 47rem; }
.wrap--form { max-width: 44rem; }
.overline {
  font: 600 .8125rem/1.25 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}
mark.ph {
  background: #FFF1C2; color: #4A3200;
  border: 1px dashed #A06F00; border-radius: 4px;
  padding: 0 .25em;
  font: 600 .82em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

/* Header and footer -------------------------------------------------------------------------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header--night { background: var(--night-1); border-bottom-color: transparent; color: var(--night-ink); --focus: var(--night-link); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand__name { font: 500 1.375rem/1 var(--serif); letter-spacing: 0; }
.site-header--night .brand { color: var(--night-ink); }
.mark { width: auto; height: 1.75rem; flex: none; }
.m-bead { fill: var(--m-bead); }
.m-lit { fill: var(--m-lit); }
.m-dim { fill: var(--m-dim); }
.m-cord { stroke: var(--m-cord); }
.site-header--night .m-bead { fill: var(--bead); }
.site-header--night .m-lit { fill: var(--bead-lit); }
.site-header--night .m-dim { fill: var(--bead-dim); }
.site-header--night .m-cord { stroke: var(--cord); }
.langs ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.langs li { display: flex; align-items: center; }
.langs li + li::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: currentColor; opacity: .55; margin: 0 .125rem;
}
.langs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 .375rem; border-radius: 8px;
  font: 600 .9375rem/1 var(--sans); letter-spacing: .06em;
  color: var(--ink-2); text-decoration: none;
}
.langs a:hover { color: var(--ink); }
.langs a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: .5em;
}
.site-header--night .langs li { color: var(--night-ink-2); }
.site-header--night .langs a { color: var(--night-ink-2); }
.site-header--night .langs a:hover,
.site-header--night .langs a[aria-current="page"] { color: var(--night-ink); }
.site-header--night .langs a[aria-current="page"] { text-decoration-color: var(--night-gold); }

.site-footer { background: var(--surface-2); color: var(--ink-2); padding-block: 3rem 3.5rem; font-size: 1rem; line-height: 1.55; }
.site-footer__inner { display: grid; gap: 1.25rem; }
.brand--small .brand__name { font-size: 1.1875rem; }
.brand--small .mark { height: 1.5rem; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; }
.site-footer__independent { max-width: 46rem; margin: 0; }
.site-footer__trader { font-style: normal; font-size: .9375rem; margin: 0; }
.site-footer__credit { max-width: 46rem; margin: 0; font-size: .875rem; }

/* Buttons, pills ------------------------------------------------------------------------------ */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: .75rem 1.875rem; border: 0; border-radius: 999px;
  background: var(--link); color: var(--on-link);
  font: 600 1.125rem/1.2 var(--sans); text-align: center; text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 20, 42, .18), 0 8px 20px -10px rgba(16, 20, 42, .45);
  transition: background-color 150ms cubic-bezier(.22, 1, .36, 1), transform 150ms cubic-bezier(.22, 1, .36, 1);
}
.button:hover { background: #24406E; text-decoration: none; }
.button:active { transform: translateY(1px); }
.button--night { background: var(--night-link); color: var(--night-on-link); }
.button--night:hover { background: #C2D3F3; }
.button--block { width: 100%; }
.pill {
  display: inline-flex; align-items: center; gap: .625rem;
  min-height: 3rem; margin: 0; padding: .5rem 1.375rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); font: 600 1.0625rem/1.2 var(--sans); letter-spacing: .01em;
}
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); flex: none; }
.pill--night { border-color: rgba(244, 239, 230, .42); color: var(--night-ink); }
.pill--night::before { background: var(--bead); }
/* Apple's "Download on the App Store" badge, unmodified (src/assets/badges/SOURCE.md). 3.25rem (52 px) tall, above
   Apple's 40 px onscreen minimum; the margin keeps Apple's clear space (a quarter of the height) above and below. */
.store-badge { display: inline-block; margin-block: .8125rem; border-radius: .75rem; line-height: 0; vertical-align: top; }
.store-badge img { display: block; width: auto; height: 3.25rem; }
.store-badge:focus-visible { border-radius: .75rem; }

/* Hero: the night field with the decade ornament (Design §8, stage 1) ------------------------- */
.page-home .site-header { background: var(--night-1); }
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 100%);
  color: var(--night-ink);
  padding-block: 2.5rem 4rem;
  --focus: var(--night-link);
  -webkit-font-smoothing: antialiased;
}
.hero ::selection { background: rgba(169, 192, 236, .32); }
.hero__grid { display: grid; gap: 2.75rem; align-items: center; }
.hero__eyebrow { color: var(--night-gold); margin-bottom: 1rem; }
.hero__title {
  font-size: clamp(2.5rem, 1.75rem + 3.2vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--night-ink);
  max-width: 12em;
}
.hero__lede {
  margin: 1.5rem 0 0;
  font-size: 1.1875rem; line-height: 1.6;
  color: #E7E1D6; max-width: 34rem;
}
.hero__action { margin-top: 2rem; }
.hero__free { margin: 1rem 0 0; font-size: 1rem; color: var(--night-ink-2); }
.hero__visual { position: relative; text-align: center; }
.hero__visual::before {
  content: ""; position: absolute; inset: -12% -20%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 243, 210, .075), rgba(255, 243, 210, 0) 72%);
}
.ornament { position: relative; width: min(64vw, 17.5rem); height: auto; margin-inline: auto; }
.o-bead { fill: var(--bead); }
.o-lit { fill: var(--bead-lit); }
.o-dim { fill: var(--bead-dim); }
.o-cord { stroke: var(--cord); }
.hero__capture {
  position: relative; display: block; width: min(68vw, 17.5rem); height: auto; margin-inline: auto;
  border-radius: 2rem; box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 28px 60px -24px rgba(0, 0, 0, .7);
}
.hero__small {
  position: relative; max-width: 26rem; margin: 1.75rem auto 0;
  font-size: .9375rem; line-height: 1.47; color: var(--night-ink-2);
}
/* The brand's signature motion, once: the halo moves to the next bead (BRAND §7, "Bead advance").
   The resting state (bead 8 lit) is the default, so reduced motion and print show it as is. */
@media (prefers-reduced-motion: no-preference) {
  .ornament .o-b7 { transform-box: fill-box; transform-origin: center; animation: qr-b7 320ms cubic-bezier(.22, 1, .36, 1) 1100ms both; }
  .ornament .o-b8 { transform-box: fill-box; transform-origin: center; animation: qr-b8 320ms cubic-bezier(.22, 1, .36, 1) 1100ms both; }
  .ornament .o-halo { animation: qr-halo 420ms cubic-bezier(.22, 1, .36, 1) 1100ms both; }
}
@keyframes qr-b7 { from { fill: var(--bead-lit); transform: scale(1.19); } to { fill: var(--bead); transform: none; } }
@keyframes qr-b8 { from { fill: var(--bead-dim); transform: scale(.84); } to { fill: var(--bead-lit); transform: none; } }
@keyframes qr-halo { from { transform: translate(-55.2px, -120.9px); } to { transform: none; } }

/* Sections ---------------------------------------------------------------------------------- */
.section { padding-block: 4.5rem; }
.section__title { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem); line-height: 1.2; margin-bottom: 2rem; }

/* How it works: three beads on one cord. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; }
.step { position: relative; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.25rem; align-items: start; }
.step__bead {
  grid-row: span 2; position: relative; z-index: 1;
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--gold); color: var(--surface);
  font: 500 1.375rem/1 var(--serif);
  box-shadow: 0 0 0 5px var(--bg);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.5rem - 1px); top: 3rem; bottom: -2.25rem;
  width: 2px; background: var(--gold); opacity: .45;
}
.step__title { font-size: 1.5rem; line-height: 1.3; margin: .5rem 0 .5rem; }
.step__text { margin: 0; color: var(--ink-2); }

/* Free and Plus. */
.offer { padding-top: 0; }
.offer__grid { display: grid; gap: 1.5rem; }
.card { border-radius: 20px; padding: 2rem 1.5rem; }
.card--free { background: var(--surface); border: 1px solid var(--line); }
.card--plus {
  background: linear-gradient(180deg, #1B2244 0%, #11152B 100%);
  color: var(--night-ink); border: 1px solid rgba(226, 194, 108, .32);
  --focus: var(--night-link);
  box-shadow: 0 1px 2px rgba(16, 20, 42, .2), 0 18px 40px -22px rgba(16, 20, 42, .7);
}
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__title { font-size: 1.875rem; line-height: 1.2; }
.tag {
  flex: none; padding: .4375rem .625rem .375rem; border-radius: 6px;
  background: var(--night-gold); color: #2C2104;
  font: 700 .75rem/1 var(--sans); letter-spacing: .14em;
}
.offer__note { margin: .875rem 0 0; font-size: 1rem; color: var(--night-ink-2); }
.beads { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .875rem; }
.beads li { position: relative; padding-left: 1.625rem; }
.beads li::before {
  content: ""; position: absolute; left: .25rem; top: .62em;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold);
}
.beads--gold li::before { background: var(--bead); }
.card--plus strong { color: var(--bead-lit); font-weight: 600; }
.platform {
  display: inline-block; margin-right: .25rem; padding: .125rem .4375rem;
  border: 1px solid rgba(226, 194, 108, .55); border-radius: 5px;
  font: 600 .75rem/1.4 var(--sans); letter-spacing: .06em; color: var(--night-gold);
  vertical-align: .08em;
}

/* Advent: a violet-washed band (Design §8). */
.advent { background: var(--wash); }
.advent__head { display: flex; align-items: flex-end; gap: 1.125rem; margin-bottom: 2rem; }
.advent__head .section__title { margin: 0; }
.candles { flex: none; width: 3.25rem; height: auto; margin-bottom: .3125rem; }
.c-violet { fill: var(--violet); }
.c-rose { fill: var(--rose); }
.c-flame { fill: #C98F1A; }
.c-wick { stroke: var(--ink-2); stroke-width: 1.5; }
.advent__intro { max-width: 42rem; margin-bottom: 2rem; }
.novenas { margin: 0; border-top: 1px solid var(--wash-line); }
.novena { display: grid; gap: .25rem; padding-block: 1.25rem; border-bottom: 1px solid var(--wash-line); }
.novena__date {
  font: 600 1rem/1.45 var(--sans); color: var(--violet);
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.novena__name { margin: 0; font: 500 1.375rem/1.4 var(--serif); color: var(--ink); }
.advent__note { margin: 1.75rem 0 0; color: var(--ink-2); }
.advent__cta { margin: 1.25rem 0 0; font-weight: 600; }

/* Privacy, in plain words. */
.privacy__inner { text-align: center; }
.privacy__statement {
  max-width: 34rem; margin: 0 auto 2rem; padding-block: 1.5rem;
  border-block: 3px double var(--line-strong);
  font: 500 clamp(1.75rem, 1.45rem + 1.3vw, 2.25rem)/1.3 var(--serif);
  text-wrap: balance;
}
.privacy__lines p { max-width: 36rem; margin: 0 auto .875rem; color: var(--ink-2); }
.privacy__link { margin-top: 1.75rem; font-weight: 600; }
.privacy__sources { max-width: 36rem; margin: 3rem auto 0; }
.privacy__sources h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.privacy__sources p { color: var(--ink-2); }

/* FAQ: native <details>. */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 3rem; padding-block: 1.25rem; cursor: pointer; list-style: none;
  font: 500 1.375rem/1.35 var(--serif);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; width: .625rem; height: .625rem; margin-right: .375rem;
  border-right: 2px solid var(--link); border-bottom: 2px solid var(--link);
  transform: translateY(-.15rem) rotate(45deg);
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
}
.faq__item[open] > .faq__q::after { transform: translateY(.15rem) rotate(-135deg); }
.faq__q:hover > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq__a { padding-bottom: 1.5rem; max-width: 40rem; }

/* Waitlist and form. */
.waitlist { scroll-margin-top: 1rem; padding-bottom: 6rem; }
.faq + .waitlist { padding-top: 1rem; }
.waitlist__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 2.25rem 1.375rem;
  box-shadow: 0 1px 2px rgba(34, 29, 23, .05), 0 22px 44px -28px rgba(34, 29, 23, .35);
}
.waitlist__card .section__title { margin-bottom: 1rem; }
.waitlist__text { color: var(--ink-2); margin-bottom: 2rem; }
.wl-form { display: grid; gap: 1.75rem; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { display: block; margin-bottom: .625rem; padding: 0; font: 600 1rem/1.4 var(--sans); color: var(--ink); }
.field__input {
  width: 100%; min-height: 3.5rem; padding: .875rem 1rem;
  border: 1.5px solid var(--line-strong); border-radius: 14px;
  background: var(--bg); color: var(--ink);
  font: 400 1.1875rem/1.3 var(--sans);
}
.field__input:focus-visible { border-color: var(--link); outline-offset: 2px; }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.choices { display: flex; flex-wrap: wrap; gap: .625rem; }
.choice {
  display: inline-flex; align-items: center; gap: .625rem; min-height: 3rem;
  padding: .5rem 1.125rem .5rem .875rem; border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--bg); cursor: pointer; font-weight: 500;
}
.choice input {
  appearance: none; -webkit-appearance: none; flex: none; display: grid; place-content: center;
  width: 1.25rem; height: 1.25rem; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 50%;
  background: var(--surface); cursor: pointer;
}
.choice input::before {
  content: ""; width: .625rem; height: .625rem; border-radius: 50%; background: var(--link);
  transform: scale(0); transition: transform 150ms cubic-bezier(.22, 1, .36, 1);
}
.choice input:checked { border-color: var(--link); }
.choice input:checked::before { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--link); background: var(--surface); box-shadow: inset 0 0 0 1px var(--link); }
.check { display: grid; grid-template-columns: 1.5rem 1fr; column-gap: .875rem; align-items: start; }
.check__box {
  appearance: none; -webkit-appearance: none; display: grid; place-content: center;
  width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; border: 1.5px solid var(--line-strong); border-radius: 6px;
  background: var(--surface); cursor: pointer;
}
.check__box::before {
  content: ""; width: .375rem; height: .75rem; margin-top: -.1875rem;
  border-right: 2.5px solid var(--on-link); border-bottom: 2.5px solid var(--on-link);
  transform: rotate(45deg) scale(0); transition: transform 150ms cubic-bezier(.22, 1, .36, 1);
}
.check__box:checked { background: var(--link); border-color: var(--link); }
.check__box:checked::before { transform: rotate(45deg) scale(1); }
.check__box[aria-invalid="true"] { border-color: var(--error); }
.check__label { cursor: pointer; font-size: 1.0625rem; line-height: 1.55; }
.check--consent .check__label { font-size: 1rem; line-height: 1.6; }
.check__body { min-width: 0; }
.check__link { display: inline-block; margin-top: .5rem; font-weight: 600; }
.field__error { display: flex; gap: .5rem; align-items: flex-start; margin: .625rem 0 0; color: var(--error); font-size: 1rem; font-weight: 600; line-height: 1.45; }
.icon-error { flex: none; margin-top: .05rem; }
.form-alert { color: var(--error); font-weight: 600; }
.form-alert:not(:empty) { padding: .875rem 1rem; border: 1.5px solid var(--error); border-radius: 12px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Legal documents (Legal's texts, word for word) ---------------------------------------------- */
.doc { padding-block: 3rem 5rem; overflow-wrap: break-word; }
.doc h1 { font-size: clamp(2.25rem, 1.8rem + 1.9vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.doc h2 { font-size: 1.75rem; line-height: 1.25; margin: 3.5rem 0 1rem; scroll-margin-top: 1.5rem; }
.doc h3 { font: 600 1.1875rem/1.4 var(--sans); letter-spacing: 0; margin: 2.25rem 0 .75rem; scroll-margin-top: 1.5rem; }
.doc .h-num { color: var(--gold); font-variant-numeric: tabular-nums; }
.doc p, .doc li { line-height: 1.65; }
.doc ul, .doc ol { margin: 0 0 1.25rem; padding-left: 1.375rem; }
.doc li { margin: .375rem 0; padding-left: .125rem; }
.doc li::marker { color: var(--gold); }
.doc li > ul, .doc li > ol { margin: .375rem 0 .5rem; }
.doc li > p { margin: .5rem 0; }
.doc__meta { color: var(--ink-2); font-size: 1rem; margin-bottom: 2rem; }
.doc__summary, .doc__contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.5rem 1.5rem .75rem; margin: 2rem 0;
}
.doc__summary > p { font: 500 1.5rem/1.3 var(--serif); margin-bottom: .75rem; }
.doc__contact { padding-bottom: 1.5rem; font-size: 1.125rem; }
.doc__note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; }
.toc { margin: 2.5rem 0 1rem; padding-block: 1.5rem; border-block: 1px solid var(--line); }
.toc .overline { color: var(--ink-2); }
.toc ol { list-style: none; margin: 1rem 0 0; padding: 0; columns: 2 17rem; column-gap: 2.5rem; }
.toc li { break-inside: avoid; margin: 0 0 .25rem; padding: 0; }
.toc a { display: grid; grid-template-columns: 2.125rem 1fr; padding-block: .3125rem; color: var(--ink); text-decoration: none; line-height: 1.4; }
.toc a:hover { text-decoration: underline; }
.toc .h-num { display: block; }
.table-wrap { margin: 1.5rem 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.55; }
.doc th, .doc td { padding: .875rem 1rem .875rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc thead th { border-bottom: 1.5px solid var(--line-strong); font-weight: 600; }
.doc tbody th { width: 30%; font-weight: 600; }
.doc .faq { padding: 0; margin-top: 4rem; }
.doc .faq .wrap { padding-inline: 0; max-width: none; }
.doc .faq .section__title { font-size: 1.75rem; margin-bottom: 1rem; }
.doc .faq__q { font-size: 1.25rem; }

/* Thanks, 404 ------------------------------------------------------------------------------- */
.hero--thanks { padding-block: 3.5rem 5.5rem; text-align: center; }
.thanks .ornament { width: 9.5rem; margin-bottom: 2rem; }
.thanks__title { font-size: clamp(2.25rem, 1.8rem + 1.9vw, 3rem); line-height: 1.15; color: var(--night-ink); }
.thanks__text { max-width: 32rem; margin: 1.25rem auto 0; font-size: 1.25rem; color: #E7E1D6; }
.nf__inner { padding-block: 1rem 2rem; }
.nf__lang + .nf__lang { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.nf__title { font-size: 2.25rem; margin-bottom: .75rem; }

/* Wider screens ------------------------------------------------------------------------------ */
@media (min-width: 45em) {
  .wrap { padding-inline: 2rem; }
  .section { padding-block: 6rem; }
  .offer { padding-top: 0; }
  .card { padding: 2.5rem 2.25rem; }
  .offer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .step { display: block; text-align: center; }
  .step__bead { margin: 0 auto 1.25rem; }
  .step:not(:last-child)::after {
    left: calc(50% + 1.5rem); top: calc(1.5rem - 1px); bottom: auto;
    width: calc(100% + var(--gap) - 3rem); height: 2px;
  }
  .step__text { max-width: 19rem; margin-inline: auto; }
  .novena { grid-template-columns: 17rem 1fr; gap: 2rem; align-items: baseline; }
  .waitlist__card { padding: 3rem 3.25rem; }
  .doc { padding-block: 4rem 6rem; }
  .doc__summary, .doc__contact { padding: 1.75rem 2rem 1rem; }
  .doc__contact { padding-bottom: 1.75rem; }
}
@media (min-width: 60em) {
  .hero { padding-block: 4rem 6.5rem; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .hero__title { line-height: 1.143; }
  .hero__lede { font-size: 1.3125rem; line-height: 1.52; }
  .ornament { width: min(100%, 23.5rem); }
  .hero__capture { width: min(100%, 19rem); }
  .site-footer__inner { grid-template-columns: auto 1fr; column-gap: 3rem; align-items: start; }
  .site-footer__inner > .brand { grid-row: span 3; }
  .site-footer__credit { grid-column: 2; }
}
@media (max-width: 40em) {
  .doc table.kv, .doc table.kv tbody, .doc table.kv tr, .doc table.kv th, .doc table.kv td { display: block; width: auto; }
  .doc table.kv th { padding-bottom: .125rem; border-bottom: 0; }
  .doc table.kv td { padding-top: .125rem; }
}

/* Preferences --------------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  .button:hover { background: #C2D3F3; }
  .step__bead { color: #2C2104; }
  .c-flame { fill: var(--night-gold); }
  ::selection { background: rgba(169, 192, 236, .3); }
  .card--plus { border-color: rgba(226, 194, 108, .4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (forced-colors: active) {
  .button, .pill, .choice, .check__box, .choice input { border: 1px solid ButtonText; }
  .check__box:checked, .choice input:checked::before { background: Highlight; }
  .step__bead { border: 1px solid CanvasText; }
}
@media print {
  .site-header .langs, .skip-link, .site-footer__nav, .hero__visual { display: none; }
  .hero, .card--plus { background: none; color: #000; }
  body { background: #fff; color: #000; }
}
