/* BibleFolio sales page (v5, from Bryan's mockup): navy and gold over warm cream.
   Tokens, type, buttons, icons, the eyebrow label, the mobile buy bar, the toast and the zoom view. */
:root {
  --navy-950: #001B35;
  --navy-900: #022B4F;
  --navy-700: #0C3A66;
  --ink: #0F2747;
  --text: #3C4859;
  --muted: #5F6B7B;
  --gold: #FFCB4F;
  --gold-light: #FFDA78;
  --gold-deep: #E7A93A;
  --gold-line: #E2B75A;
  --gold-text: #F4C04C;
  --cream: #FFFBF4;
  --cream-2: #FEF6EA;
  --cream-3: #FEF1DA;
  --card: #FFFDF8;
  --line: #EBDDBB;
  --paper: #FFFFFF;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1120px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* Line icons from the sprite; filled ones set their own fill */
svg use { pointer-events: none; }
.plan__icon svg, .perks__icon svg, .moment__icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.logo { font: 700 1.3rem/1 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.logo--light { color: #fff; }

/* Section titles */
.band { padding: clamp(36px, 6vw, 64px) var(--gutter); }
.band > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.title {
  font: 700 clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem)/1.12 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}

/* Eyebrow: small capitals between two short rules */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font: 700 0.78rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}
.eyebrow::before, .eyebrow::after { content: ""; flex: 0 0 clamp(22px, 5vw, 46px); height: 1px; background: currentColor; opacity: 0.8; }
.eyebrow--gold { color: var(--gold-text); }
@media (max-width: 480px) { .eyebrow--gold { gap: 10px; font-size: 0.7rem; letter-spacing: 0.1em; } .eyebrow--gold::before, .eyebrow--gold::after { flex-basis: 18px; } }
.eyebrow--navy { color: var(--ink); font-size: 0.7rem; }
.eyebrow--navy::before, .eyebrow--navy::after { background: var(--gold-line); opacity: 1; }

/* Buttons: gold, navy lettering */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #D99B2C;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), 0 2px 6px -2px rgb(120 80 10 / 0.45);
  color: var(--ink);
  font: 700 1.05rem/1.1 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 160ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn--caps { text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.02rem; }
.btn--small { width: auto; min-height: 44px; padding: 0 14px; font-size: 0.98rem; white-space: nowrap; }

/* Card brand marks */
.cards { display: flex; align-items: center; justify-content: center; gap: 10px; }
.card { height: 24px; }
.card--visa { width: 48px; }
.card--mc { width: 36px; }
.card--amex { width: 48px; }
.card--discover { width: 69px; }

/* Buy bar: phones only, shown while no buy button is on screen */
.buybar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 10px 30px -8px rgb(0 27 53 / 0.45);
  translate: 0 160%;
  visibility: hidden;
  transition: translate 260ms var(--ease), visibility 0s linear 260ms;
}
.buybar.is-on { translate: 0 0; visibility: visible; transition: translate 260ms var(--ease); }
.buybar__what { min-width: 0; line-height: 1.25; }
.buybar__what b { display: block; font: 700 1rem/1.2 var(--serif); color: var(--ink); white-space: nowrap; }
.buybar__what span { display: block; font-size: 0.82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .buybar { display: none; } }


/* Zoom view of the Genesis page */
.zoom { width: min(1400px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 8px; background: #fff; overflow: auto; }
.zoom::backdrop { background: rgb(0 20 40 / 0.78); }
.zoom__img { width: max(100%, 960px); max-width: none; }
.zoom__close {
  position: sticky;
  top: 8px;
  left: calc(100% - 52px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 8px 8px -52px auto;
  border: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
