/* Verse16 marketing site.
   Tokens mirror the app's Selah palette (design-system/index.html, app/lib/core/theme/selah_palette.dart)
   so the site and the app read as one thing. Dark is the brand surface; "light" sections use the
   app's parchment theme for rhythm. No build step - plain CSS. */

:root {
  --bg-deep: #0f0e14;
  --bg-primary: #1a1a2e;
  --bg-elevated: #222238;
  --bg-card: #1e1e32;
  --bg-warm: #2a2035;

  --gold: #d4a574;
  --gold-light: #e8c9a0;
  --gold-dark: #b8895a;
  --cream: #f5f0e8;
  --cream-soft: #ede5d8;
  --burgundy: #8b2252;
  --forest-light: #4a7a2e;

  --parchment: #faf6ef;
  --parchment-2: #f0ebe2;
  --parchment-card: #ffffff;
  --ink: #1a1510;
  --ink-2: #5a5048;
  --ink-muted: #8a8078;
  --parchment-border: rgba(140, 110, 70, 0.18);

  --text: #f5f0e8;
  --text-2: #a09890;
  --text-muted: #6a6260;
  --border: rgba(212, 165, 116, 0.14);
  --border-strong: rgba(212, 165, 116, 0.28);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: 16px;
  --measure: 1120px;
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 60ch;
}

.section--light .lede {
  color: var(--ink-2);
}

.verse {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg-deep), 0 0 0 5px var(--gold);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #1a1510;
  box-shadow: 0 8px 28px rgba(212, 165, 116, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 165, 116, 0.36);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: rgba(212, 165, 116, 0.08);
}

.section--light .btn--ghost {
  color: var(--ink);
  border-color: rgba(140, 110, 70, 0.4);
}

.section--light .btn--ghost:hover {
  background: rgba(140, 110, 70, 0.08);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 14, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--cream);
  font-variant-numeric: lining-nums;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: none;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--cream);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
  position: relative;
}

@media (max-width: 719px) {
  .section {
    padding: 64px 0;
  }
}

.section--light {
  background: var(--parchment);
  color: var(--ink);
}

.section--light .eyebrow {
  color: var(--gold-dark);
}

.section--warm {
  background: radial-gradient(ellipse at top, #2a2035 0%, var(--bg-deep) 60%);
}

.section__head {
  max-width: 62ch;
  margin-bottom: 44px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(212, 165, 116, 0.16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(42, 32, 53, 0.9), transparent 65%),
    var(--bg-deep);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 96px 0 120px;
  }

  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__quote {
  margin-top: 40px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--text-2);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  max-width: 48ch;
}

.hero__quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Phone mock ---------- */

.phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(closest-side, rgba(212, 165, 116, 0.22), transparent);
  filter: blur(30px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  background: #101019;
  border-radius: 44px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), inset 0 0 0 6px #17161f;
  padding: 18px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--cream);
  overflow: hidden;
  transform: rotate(-2deg);
}

@media (min-width: 900px) {
  .phone {
    width: 320px;
  }
}

.phone__notch {
  width: 96px;
  height: 22px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #050508;
}

.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* the notch (22px) and its margin (12px) sit above the screen */
  height: calc(100% - 34px);
}

.p-greet {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-greet strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.p-greet span {
  color: var(--text-2);
  font-size: 11px;
}

.p-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.p-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
}

.p-card--gold {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(184, 137, 90, 0.08));
  border-color: var(--border-strong);
}

.p-card .eyebrow {
  font-size: 9px;
  margin-bottom: 4px;
  letter-spacing: 0.14em;
}

.p-big {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.p-big small {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  margin-left: 6px;
}

.p-btn {
  margin-top: 10px;
  text-align: center;
  padding: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1510;
  font-weight: 700;
  font-size: 11px;
}

.p-streak {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-streak .flame {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(212, 165, 116, 0.14);
  font-size: 18px;
}

.p-streak b {
  display: block;
  font-size: 13px;
}

.p-streak span {
  color: var(--text-2);
  font-size: 10px;
}

.p-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  overflow: hidden;
}

.p-bar i {
  display: block;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

.p-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.p-row .emblem {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 15px;
  background: rgba(212, 165, 116, 0.12);
}

.p-row b {
  display: block;
  font-size: 12px;
}

.p-row span {
  color: var(--text-2);
  font-size: 10px;
}

.p-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.p-tabs span.on {
  color: var(--gold);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 28px 26px 26px;
  background: var(--parchment-card);
  border: 1px solid var(--parchment-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(60, 40, 20, 0.06);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-2);
  margin: 0;
}

.step .example {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--parchment-2);
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 0.98rem;
}

.step .example small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

/* ---------- Practice ladder ---------- */

.ladder {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .ladder {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .ladder {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rung {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.rung:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.rung__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.rung__label span:last-child {
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.rung__text {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--cream);
  min-height: 7.5em;
}

.rung__text .gap {
  display: inline-block;
  min-width: 2.2em;
  border-bottom: 2px solid var(--gold);
  margin: 0 0.1em;
  color: transparent;
}

.rung__text .cue {
  display: inline-block;
  padding: 0 0.32em;
  margin: 0 0.05em;
  border-radius: 5px;
  background: rgba(212, 165, 116, 0.12);
  color: var(--gold-light);
  font-weight: 600;
}

.rung__text .cell {
  display: inline-block;
  min-width: 1.6em;
  height: 1.05em;
  vertical-align: text-bottom;
  margin: 0 0.12em 0.35em 0;
  border-bottom: 2px solid rgba(212, 165, 116, 0.28);
}

.rung__text .cell--wide {
  min-width: 2.6em;
}

.rung__text .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--gold);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.rung p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.rung--final {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(212, 165, 116, 0.12), var(--bg-card) 55%);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  width: fit-content;
}

.ladder-note {
  margin: 28px auto 0;
  max-width: 64ch;
  text-align: center;
  color: var(--text-2);
}

/* ---------- Features ---------- */

.features {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 26px 24px;
  background: var(--parchment-card);
  border: 1px solid var(--parchment-border);
  border-radius: var(--radius-lg);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.28), rgba(184, 137, 90, 0.12));
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* ---------- Community ---------- */

.community {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .community {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.board {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow);
}

.board__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.board__title h3 {
  margin: 0;
}

.board__title span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.board ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.board li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid transparent;
}

.board li.me {
  border-color: var(--border-strong);
  background: rgba(212, 165, 116, 0.08);
}

.board li .rank {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

.board li .who b {
  display: block;
  font-size: 0.95rem;
}

.board li .who span {
  color: var(--text-2);
  font-size: 0.8rem;
}

.board li .pts {
  font-weight: 600;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.collections {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.collections span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--cream-soft);
}

/* ---------- Science ---------- */

.science {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .science {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
  }
}

.stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.stages li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: var(--parchment-card);
  border: 1px solid var(--parchment-border);
  border-radius: var(--radius-md);
}

.stages .dot {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.2);
}

.stages li:nth-child(1) .dot {
  background: var(--ink-muted);
  box-shadow: 0 0 0 4px rgba(138, 128, 120, 0.2);
}

.stages li:nth-child(2) .dot {
  background: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(139, 34, 82, 0.18);
}

.stages li:nth-child(4) .dot {
  background: var(--forest-light);
  box-shadow: 0 0 0 4px rgba(74, 122, 46, 0.2);
}

.stages b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.stages span {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- Get the app ---------- */

.get {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .get {
    grid-template-columns: repeat(3, 1fr);
  }
}

.get__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  align-items: center;
}

.get__card--live {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(212, 165, 116, 0.14), var(--bg-card) 60%);
}

.get__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(212, 165, 116, 0.12);
  color: var(--gold-light);
}

.get__icon svg {
  width: 28px;
  height: 28px;
}

.get__card h3 {
  margin: 4px 0 0;
}

.get__card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.get__card .btn {
  margin-top: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  font-family: var(--font-sans);
  text-align: left;
  line-height: 1.1;
  margin-top: auto;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.badge small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

.badge:hover {
  transform: translateY(-2px);
}

.badge.is-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.badge.is-soon strong::after {
  content: " · soon";
  font-weight: 400;
  opacity: 0.8;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--parchment-card);
  border: 1px solid var(--parchment-border);
  border-radius: var(--radius-md);
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

/* ---------- CTA band ---------- */

.band {
  text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(212, 165, 116, 0.2), transparent 70%),
    var(--bg-primary);
}

.band h2 {
  margin-bottom: 14px;
}

.band .lede {
  margin: 0 auto 30px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  color: var(--text-2);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .site-footer .wrap {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer .brand {
  margin-bottom: 12px;
}

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cream);
}

.site-footer .verse {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-2);
  max-width: 40ch;
}

.site-footer .legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Legal pages ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px var(--gutter) 96px;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.doc h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.doc p,
.doc li {
  color: var(--text-2);
}

.doc .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rung__text .cell {
  display: inline-block;
  min-width: 1.6em;
  height: 1.05em;
  vertical-align: text-bottom;
  margin: 0 0.12em 0.35em 0;
  border-bottom: 2px solid rgba(212, 165, 116, 0.28);
}

.rung__text .cell--wide {
  min-width: 2.6em;
}

.rung__text .cursor {
    animation: none;
  }

  .btn,
  .rung,
  .badge {
    transition: none;
  }
}
