/* Credo Translation website */
/* Font: Figtree for everything (a clean, friendly sans; free, SIL OFL, licence beside the files), served from
   this site: nothing loaded from Google. latin-ext = ă â î ș ț. */
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url("/assets/fonts/figtree-latin-wght-normal.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: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url("/assets/fonts/figtree-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --bg: #fdfaf4; /* warm cream, not pure white */
  --bg-alt: #f3ebdb;
  --surface: #fffdf8;
  --ink: #25211c;
  --muted: #6a6256;
  --line: #e8e0d0;
  --line-strong: #cfc4ad;
  --brand: #3567d6;
  --brand-ink: #ffffff;
  --brand-soft: #eaf0fc;
  --hover: #d8e4fa; /* light blue behind a header link under the mouse */
  --accent: #c98a2b;
  --accent-ink: #99621a; /* gold for icons and text on light backgrounds */
  --accent-soft: #f7ead2;
  --gold: #d9a548; /* logo lines, header button rims, the motto */
  --link: #2c5cc8;
  --logo: #3567d6;
  --check: #3567d6;
  --rim: #3a3f4d; /* the edge of the phone in the hero picture */
  --deep: #1c2f66;
  --deep-2: #3b6ddb; /* the lighter end of the dark bands */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 61, 0.06), 0 8px 24px rgba(20, 33, 61, 0.08);
  --sans: "Figtree", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --display: var(--sans);
  color-scheme: light;
}
/* Dark only when the visitor chooses it (moon button); the page is white by default. */
/* The light / dark button in the header (saved per visitor) */
:root[data-theme="dark"] {
  --bg: #1e2228;
  --bg-alt: #262b33;
  --surface: #2d333c;
  --ink: #eceff3;
  --muted: #aab2bd;
  --line: #3b424d;
  --line-strong: #566070;
  --brand: #3f6ae0;
  --brand-ink: #ffffff;
  --brand-soft: #2a3550;
  --hover: rgba(169, 188, 245, 0.2);
  --accent: #e0aa4a;
  --accent-ink: #e8b65a;
  --accent-soft: rgba(224, 170, 74, 0.14);
  --gold: #e6b45c;
  --link: #b3c5f7;
  --logo: #b3c5f7;
  --check: #e0aa4a;
  --rim: #111418;
  --deep: #141c33;
  --deep-2: #263f86;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
em.name { font-style: italic; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75em 1.3em;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--brand);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.button.small { padding: 0.45em 1em; font-size: 0.92rem; }
.button.ghost { background: transparent; color: var(--link); border-color: var(--link); }
.button.light { background: #ffffff; color: var(--deep); border-color: #ffffff; }
.button.ghost.light { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }
.actions.center { justify-content: center; }

/* Header: a big, bold name; every link a rounded button, easy to see and click */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 80px; max-width: 1560px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.logo em { font-style: normal; font-weight: 500; color: var(--muted); }
.logo-mark { width: 32px; height: 32px; }
.logo-big { gap: 12px; }
.logo-big { flex: none; }
.logo-big .logo-mark { width: 46px; height: 46px; flex: none; }
.wordmark { font-family: var(--serif); font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark strong { font-weight: 700; color: var(--logo); }
.wordmark em { font-style: normal; font-weight: 600; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  border: 3px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.pill:hover { color: var(--link); background: var(--hover); }
.pill[aria-current="page"] { color: var(--link); background: var(--brand-soft); }
.pill.pill-cta { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); padding: 0.55rem 1rem; font-size: 1.1rem; font-weight: 700; }
.pill.pill-cta:hover { color: var(--brand-ink); box-shadow: var(--shadow); }
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.lang-switch a { padding: 0.34rem 0.58rem; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 1.02rem; text-decoration: none; white-space: nowrap; }
.lang-switch a:hover { color: var(--link); background: var(--hover); }
.lang-switch a[aria-current="true"]:hover { color: var(--brand-ink); background: var(--brand); }
.lang-switch a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); }
.menu-toggle { display: none; }
.site-nav { margin-left: auto; }
.theme-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--link); background: var(--hover); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

@media (max-width: 1400px) {
  .site-nav { gap: 0; }
  .pill { padding: 0.45rem 0.38rem; font-size: 0.98rem; }
  .pill.pill-cta { padding: 0.5rem 0.8rem; font-size: 1.04rem; }
  .lang-switch a { padding: 0.3rem 0.48rem; font-size: 0.96rem; }
  .wordmark { font-size: 1.55rem; }
  .logo-big .logo-mark { width: 42px; height: 42px; }
}
@media (max-width: 1300px) {
  .wordmark { font-size: 1.45rem; }
  .logo-big .logo-mark { width: 38px; height: 38px; }
}
@media (max-width: 1220px) {
  .theme-toggle { margin-left: auto; }
  .menu-toggle {
    display: inline-flex;
    padding: 0.5rem 1.1rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 20px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav .pill { justify-content: center; padding: 0.7rem 1rem; font-size: 1.05rem; }
  .lang-switch { align-self: center; }
}
/* Same as above when the header's links don't fit on one line (site.js adds .compact),
   e.g. longer Romanian names on a laptop. */
.site-header.compact .theme-toggle { margin-left: auto; }
.site-header.compact .menu-toggle {
  display: inline-flex;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}
.site-header.compact .site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 80px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 20px 22px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header.compact .site-nav.open { display: flex; }
.site-header.compact .site-nav .pill { justify-content: center; padding: 0.7rem 1rem; font-size: 1.05rem; }
.site-header.compact .lang-switch { align-self: center; }
@media (max-width: 480px) {
  .header-row { gap: 8px; }
  .site-header .wrap { padding: 0 14px; }
  .wordmark { font-size: 1.22rem; }
  .logo-big { gap: 8px; }
  .logo-big .logo-mark { width: 34px; height: 34px; }
  .theme-toggle { width: 38px; height: 38px; }
  .menu-toggle { padding: 0.45rem 0.85rem; }
}
/* The smallest phones (320 px wide): the header row fits without sideways scrolling */
@media (max-width: 359px) {
  .wordmark { font-size: 1.05rem; }
  .logo-big { gap: 6px; }
  .logo-big .logo-mark { width: 28px; height: 28px; }
  .menu-toggle { padding: 0.4rem 0.7rem; }
}

/* Hero */
.hero { padding: 26px 0 28px; background: radial-gradient(1200px 500px at 85% -10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 0.5em; }
.hero .actions { margin: 1.1em 0 0.7em; }
.hero-note { font-size: 1.15rem; color: var(--muted); margin: 0; }
.motto {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--gold);
  margin: 0 auto 26px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
/* Home intro: one sentence, three ways (bold names), then the promise in bold */
.hero-lead { font-size: 1.25rem; color: var(--ink); margin-bottom: 0.6em; }
.ways-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.4em; }
.ways { margin: 0 0 0.6em; padding-left: 1.4em; font-size: 1.15rem; }
.ways li { margin-bottom: 0.4em; padding-left: 0.2em; }
.ways li::marker { color: var(--accent); }
.ways strong { color: var(--ink); }
.promise {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-wrap: balance;
  line-height: 1.3;
  color: var(--logo);
  margin: 22px auto 0;
}
.languages-line { margin-top: 28px; text-align: center; color: var(--muted); letter-spacing: 0.04em; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .demo { margin-left: 0; } }
@media (max-width: 520px) { .promise { font-size: 1.2rem; } .motto { font-size: 1.35rem; letter-spacing: 0.03em; margin-bottom: 18px; } }

/* Hero picture: the church screen and a phone, side by side, each with a label */
.demo { display: grid; grid-template-columns: 1.9fr 1fr; gap: 24px; align-items: stretch; margin: 0 0 0 8px; }
.demo-item { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.demo-item-screen .tv { margin: auto 0; } /* level with the middle of the phone */
/* The church screen as a TV: thin black frame and a stand */
.tv { position: relative; background: #0f1115; border-radius: 12px; padding: 8px; box-shadow: 0 0 0 1px #2c313b, var(--shadow); margin-bottom: 14px; }
.tv::after { content: ""; position: absolute; left: 40%; right: 40%; bottom: -12px; height: 12px; background: linear-gradient(#2c313b, #15181e); border-radius: 0 0 6px 6px; }
.demo-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 10px;
}
.demo-screen {
  position: relative;
  background: linear-gradient(160deg, #1d2a4d, #0f1629);
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  padding: 44px 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  color: #fff;
}
.demo-original { font-size: 1rem; color: rgba(255, 255, 255, 0.68); margin: 0 0 0.5em; }
.demo-translated { font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.35; margin: 0; }
.live-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3fcf7a; display: inline-block; box-shadow: 0 0 0 3px rgba(63, 207, 122, 0.25); }
/* The listener's phone: black frame, side button, camera island, status bar; the screen stays white
   like the real phone page. The verse is centred and grows with the phone, filling most of its screen. */
.demo-phone { position: relative; background: #0d0f13; border-radius: 32px; padding: 7px; aspect-ratio: 9 / 17; display: flex; box-shadow: 0 0 0 1.5px #3a3f4a, var(--shadow); }
.demo-phone::before { content: ""; position: absolute; right: -3px; top: 24%; width: 3px; height: 13%; background: #2a2e36; border-radius: 0 2px 2px 0; }
.demo-phone::after { content: ""; position: absolute; left: -3px; top: 20%; width: 3px; height: 9%; background: #2a2e36; border-radius: 2px 0 0 2px; }
.phone-glass { flex: 1; min-width: 0; border-radius: 26px; background: #ffffff; color: #14161c; overflow: hidden; display: flex; flex-direction: column; }
.phone-status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 0 20px; height: 27px; font-size: 11px; font-weight: 700; }
.phone-status svg { width: 38px; height: 10px; }
.island { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 34%; height: 17px; background: #0d0f13; border-radius: 10px; }
.phone-app { flex: 1; display: flex; flex-direction: column; padding: 4px 12px 16px; text-align: center; line-height: 1.45; container-type: inline-size; }
.demo-phone-top { display: flex; justify-content: flex-end; align-items: center; height: 10px; }
.demo-phone p { margin: 0 0 0.7em; color: #5a6070; font-size: 9.6cqi; line-height: 1.33; }
.demo-phone-top + p { margin-top: auto; }
.demo-phone p:last-child { margin: 0 0 auto; font-weight: 700; color: #14161c; font-size: 13cqi; line-height: 1.28; }
/* Phones: the headline, the picture (screen and phone side by side, small) and the trial button fill
   the first screen; the explanation follows. The text column's pieces join the grid to be reordered. */
@media (max-width: 560px) {
  .hero-grid { gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero h1 { order: 1; margin-bottom: 0.6em; }
  .demo { order: 2; grid-template-columns: 1.65fr 1fr; gap: 14px; align-items: end; margin: 0; }
  .hero .actions { order: 3; margin: 22px 0 0.6em; }
  .hero .actions .button { flex: 1 1 100%; justify-content: center; text-align: center; }
  .hero-note { order: 4; font-size: 1.02rem; margin-bottom: 1.6em; }
  .hero-lead { order: 5; }
  .ways-title { order: 6; }
  .ways { order: 7; }
  .demo-label { font-size: 0.62rem; letter-spacing: 0.05em; margin-bottom: 6px; text-wrap: balance; }
  .demo-item-screen .tv { margin: auto 0 22px; padding: 5px; border-radius: 8px; }
  .tv::after { bottom: -9px; height: 9px; }
  .demo-screen { padding: 24px 8px 10px; }
  .live-pill { top: 6px; left: 6px; font-size: 0.5rem; padding: 2px 6px; gap: 4px; }
  .live-pill .dot { width: 5px; height: 5px; box-shadow: 0 0 0 2px rgba(63, 207, 122, 0.25); }
  .demo-original { font-size: 0.56rem; margin-bottom: 0.4em; }
  .demo-translated { font-size: 0.8rem; line-height: 1.3; }
  .demo .demo-phone { aspect-ratio: 9 / 16; border-radius: 22px; padding: 5px; }
  .demo .demo-phone .phone-glass { border-radius: 18px; }
  .demo .demo-phone .phone-status { padding: 5px 10px 0 12px; height: 20px; font-size: 8px; }
  .demo .demo-phone .phone-status svg { width: 26px; height: 7px; }
  .demo .demo-phone .island { top: 4px; height: 12px; }
  .demo .demo-phone .phone-app { padding: 2px 8px 10px; }
  .demo .demo-phone .dot { width: 5px; height: 5px; box-shadow: 0 0 0 2px rgba(63, 207, 122, 0.25); }
}

/* Read or listen: the phone below the hero loops every 15 s through reading (0–5 s),
   listening with earphones (5–10 s) and the locked phone still playing (10–15 s); the
   matching line on the left is outlined at the same time. Still picture with reduced motion. */
.listen-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.listen h2 { margin-bottom: 0.4em; }
.listen .lead { margin-bottom: 1.3em; }
.modes { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.mode { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid transparent; border-radius: var(--radius); animation: mode-on 15s infinite; }
.mode .icon { flex: none; width: 46px; height: 46px; padding: 11px; margin: 0; animation: mode-icon 15s infinite; }
.mode-2, .mode-2 .icon { animation-delay: 5s; }
.mode-3, .mode-3 .icon { animation-delay: 10s; }
.mode h3 { font-size: 1.15rem; margin: 0.2em 0 0.25em; }
.mode p { color: var(--muted); margin: 0; }
.listen-note { color: var(--muted); font-size: 0.95rem; margin: 0; padding-left: 18px; }
@keyframes mode-on {
  0%, 31% { background: var(--surface); border-color: var(--brand); box-shadow: var(--shadow); }
  34%, 100% { background: transparent; border-color: transparent; box-shadow: none; }
}
@keyframes mode-icon {
  0%, 31% { background: var(--brand); color: #ffffff; }
  34%, 100% { background: var(--accent-soft); color: var(--accent-ink); }
}

.listen-demo { display: flex; justify-content: center; align-items: center; gap: 16px; }
.listen-phone { flex: 0 1 270px; aspect-ratio: 9 / 18.5; }
.listen-phone .phone-glass { position: relative; container-type: inline-size; }
.lp-app { flex: 1; display: flex; flex-direction: column; padding: 6px 14px 18px; }
.lp-bar { display: flex; align-items: center; gap: 2.6cqi; padding-bottom: 2.6cqi; border-bottom: 1px solid #e6e8ee; font-size: 4.8cqi; font-weight: 700; color: #14161c; }
.lp-church { flex: 1; }
.lp-sound { display: grid; place-items: center; width: 10cqi; height: 10cqi; border-radius: 50%; color: #8a90a0; animation: lp-sound 15s infinite both; }
.lp-sound svg { width: 62%; height: 62%; }
.lp-text { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.lp-line { display: block; animation: 15s infinite both; }
.lp-line-1 { font-size: 7.4cqi; line-height: 1.35; color: #5a6070; margin-bottom: 0.9em; animation-name: lp-line-1; }
.lp-line-2 { font-size: 10.5cqi; line-height: 1.28; font-weight: 700; color: #14161c; animation-name: lp-line-2; }
.lp-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; color: #ffffff; opacity: 0; pointer-events: none;
  background: linear-gradient(165deg, #2c4290 0%, #151d3b 55%, #0b0f1d 100%); animation: lp-lock 15s infinite both; }
.lp-lock .phone-status { align-self: stretch; }
.lp-lock .island { background: #000000; }
.lock-day { margin-top: 9cqi; font-size: 5.6cqi; font-weight: 600; opacity: 0.85; }
.lock-time { font-size: 25cqi; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.lock-player { align-self: stretch; margin: auto 6cqi 12cqi; display: flex; align-items: center; gap: 4cqi; padding: 4.5cqi 5cqi; border-radius: 6cqi; background: rgba(255, 255, 255, 0.16); }
.lock-player div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lock-player strong { font-size: 5cqi; line-height: 1.25; }
.lock-player span { font-size: 4.3cqi; opacity: 0.75; }
.bars { display: flex; align-items: center; gap: 1.4cqi; height: 7cqi; }
.bars i, .waves i { height: 100%; animation: bar 1.1s ease-in-out infinite; }
.bars i { width: 1.4cqi; border-radius: 1cqi; background: #ffffff; }
.bars i:nth-child(2), .waves i:nth-child(2) { animation-delay: -0.35s; }
.bars i:nth-child(3), .waves i:nth-child(3) { animation-delay: -0.7s; }
.bars i:nth-child(4) { animation-delay: -0.2s; }
.buds { flex: 0 0 auto; width: 124px; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: buds 15s infinite both; }
.buds-svg { width: 100%; height: auto; filter: drop-shadow(0 4px 8px rgba(20, 33, 61, 0.18)); }
.waves { display: flex; gap: 6px; align-items: center; height: 36px; }
.waves i { width: 5px; border-radius: 3px; background: var(--link); }
@keyframes bar { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes lp-line-1 { 0%, 3% { opacity: 0; transform: translateY(8px); } 6%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes lp-line-2 { 0%, 14% { opacity: 0; transform: translateY(8px); } 17%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes lp-sound { 0%, 33% { background: transparent; color: #8a90a0; } 35%, 96% { background: var(--brand); color: #ffffff; } 99%, 100% { background: transparent; color: #8a90a0; } }
@keyframes lp-lock { 0%, 66% { opacity: 0; } 69%, 95% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes buds { 0%, 33% { opacity: 0; transform: translateY(8px); } 36%, 96% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .mode, .mode .icon, .lp-sound, .lp-line, .lp-lock, .buds, .bars i, .waves i { animation: none; }
}
@media (max-width: 900px) { .listen-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .listen-phone { flex-basis: 230px; } .buds { width: 84px; } .mode { padding: 14px 12px; gap: 12px; } }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 1.4em; }
.page-head { padding: 64px 0 24px; text-align: center; background: radial-gradient(900px 360px at 50% -20%, var(--brand-soft), transparent 70%); }
.page-head .lead { margin: 0 auto; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature.top { grid-column: 1 / -1; border-color: var(--brand); border-width: 2px; }
.feature.top h3 { font-size: 1.3em; }
.feature.top p { max-width: 62ch; }
.feature.wide { grid-column: 1 / -1; }
.feature.wide p { max-width: 70ch; }
.page-video { display: block; width: 100%; max-width: 720px; height: auto; margin-top: 20px; border-radius: 10px; border: 1px solid var(--line); background: #111827; }
.feature p, .steps p, .card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.feature.top .icon { background: var(--brand); color: #ffffff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 28px; }
.panel h2 { font-size: 1.4rem; }
.panel p { color: var(--muted); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.center-lead { text-align: center; margin: -0.6em auto 1.6em; }
/* Help videos (How it works) */
.help-videos .section-lead { color: var(--muted); margin: -1em 0 32px; text-align: center; }
.video-main, .video-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-main { max-width: 960px; margin: 0 auto 32px; }
.video-main video, .video-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111827; }
.video-main figcaption, .video-card figcaption { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 20px; }
.video-main figcaption { padding: 22px 26px 24px; }
.video-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: .95rem; margin-top: 2px; }
.video-main .video-num { width: 40px; height: 40px; font-size: 1.1rem; }
.video-main h3, .video-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.video-main h3 { font-size: 1.35rem; }
.video-main p, .video-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.video-meta { margin-top: 8px !important; font-size: .85rem !important; }
.video-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; }
.video-tag.sound { border-color: var(--brand); color: var(--brand); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-grid > :last-child:nth-child(3n + 1) { grid-column: 2; } /* a card alone in the last row sits in the middle */
@media (max-width: 1000px) { .video-grid { grid-template-columns: repeat(2, 1fr); } .video-grid > :last-child:nth-child(3n + 1) { grid-column: auto; } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
@media (max-width: 900px) {
  .steps, .features, .cards3, .cards2, .two-col { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding: 0 0 0.8em 32px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--check) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
:root[data-theme="dark"] .checklist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2228' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
}
.numbered { padding-left: 1.3em; }
.numbered li { padding-bottom: 0.7em; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 700; }
.flow p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -20px; transform: none; } }

/* FAQ */
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq-list summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-ink); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0.8em 0 0; color: var(--muted); }

/* Call to action */
.cta-band { background: linear-gradient(135deg, var(--deep), var(--deep-2, #263f86)); color: #fff; padding: 72px 0; text-align: center; }

/* Home: who we are and the help that comes with it */
.support { background: linear-gradient(135deg, var(--deep), var(--deep-2, #263f86)); color: #fff; padding: 72px 0; }
.support .section-title { color: #fff; margin-bottom: 0.5em; text-wrap: balance; }
.support-lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.84); text-align: center; max-width: 44em; margin: 0 auto 48px; }
.timeline { list-style: none; padding: 0; margin: 0 auto 52px; max-width: 920px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 137px; height: 2px; background: var(--gold); opacity: 0.55; }
.t-art { display: block; width: 176px; max-width: 100%; height: 110px; margin: 0 auto 18px; color: rgba(255, 255, 255, 0.92); }
.t-art .dim { opacity: 0.45; }
.t-art .g { stroke: var(--gold); }
.t-art .gf { fill: var(--gold); stroke: none; }
.timeline li { text-align: center; padding: 0 12px; }
.t-dot { display: block; position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); margin: 0 auto 16px; box-shadow: 0 0 0 6px rgba(217, 165, 72, 0.22); }
.t-year { display: block; font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; line-height: 1.1; color: var(--gold); }
.t-what { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.92); }
.support-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-point { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 28px; }
.support-point h3 { color: #fff; }
.support-point p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.support-point .icon { background: rgba(217, 165, 72, 0.18); color: var(--gold); }
.support-note { text-align: center; font-weight: 700; margin: 34px auto 0; }
.support .actions { margin-top: 22px; }
@media (max-width: 900px) { .support-points { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .support { padding: 56px 0; } .timeline { grid-template-columns: 1fr; gap: 34px; margin-bottom: 40px; } .timeline::before { display: none; } .t-dot { display: none; } .t-art { margin-bottom: 10px; } }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 38em; margin: 0 auto; }

/* Pricing */
.trial { text-align: center; background: var(--brand-soft); border-radius: var(--radius); padding: 22px; margin: 0 auto 32px; max-width: 784px; }
.trial h2 { font-size: 1.3rem; margin-bottom: 0.3em; }
.trial p { margin: 0; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .checklist { flex: 1; }
.plan .button { text-align: center; }
.badge { position: absolute; top: -12px; left: 32px; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price { margin: 0.8em 0 1.2em; }
.price { white-space: nowrap; }
.plan h2 { font-size: 1.45rem; white-space: nowrap; }
.plan .for { min-height: 4.8em; margin-bottom: 0; }
.plan .plan-cta { text-align: center; margin: 0 0 1.4em; padding-left: 0.8rem; padding-right: 0.8rem; white-space: nowrap; }
.amount { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.payg { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 8px 0 24px; }
.payg h2 { font-size: 1.45rem; margin-bottom: 0.3em; }
.payg-packs { list-style: none; padding: 0; margin: 0 0 1.2em; }
.payg-packs li { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.payg-packs .amount { font-size: 1.6rem; }
.payg .button { display: block; text-align: center; }
@media (max-width: 760px) { .payg { grid-template-columns: 1fr; } }

/* Guide */
.guide-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 88px; display: grid; gap: 6px; font-size: 0.93rem; }
.toc-title { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--muted); margin: 0 0 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--link); }
.prose section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose code { background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; }
.prose .tip { background: var(--brand-soft); border-radius: 10px; padding: 12px 16px; }
.prose dl.faq dt { font-weight: 700; margin-top: 1em; }
.prose dl.faq dd { margin: 0.2em 0 0; color: var(--muted); }
.help-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
/* Help page: who to call, then the topics as cards. */
.help-top { padding: 8px 0 8px; }
.help-call { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 24px 28px; }
.help-call h2 { margin: 0 0 4px; font-size: 1.35rem; }
.help-call p { margin: 0; color: var(--muted); max-width: 46ch; }
.help-call-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.help-topics-title { margin: 44px 0 18px; font-size: 1.5rem; text-align: center; }
.help-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.help-topic { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.help-topic:hover { border-color: var(--link); transform: translateY(-2px); }
.help-topic .icon { flex: none; width: 44px; height: 44px; padding: 10px; margin: 0; }
.help-topic strong { display: block; font-size: 1.02rem; line-height: 1.3; }
.help-topic small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.help-topic.urgent { border-color: var(--gold); border-width: 2px; }
.help-topic.urgent .icon { background: rgba(217, 165, 72, 0.2); color: var(--gold); }
.help-steps { padding-top: 40px; }
.help-steps-title { margin: 0 0 28px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 700; color: var(--muted); }
@media (max-width: 900px) { .help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .help-topics { grid-template-columns: 1fr; } .help-call { padding: 20px; } .help-call-actions .button { width: 100%; text-align: center; } }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* Contact */
.contact-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; margin-bottom: 40px; }
.contact-card p { margin: 0; }
.contact-card .contact-phone-label { margin-top: 1.6em; }
.email { display: inline-block; font-family: var(--serif); font-size: clamp(1.3rem, 3.5vw, 2rem); margin: 0.2em 0 0.4em; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.4fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.8em; }
.footer-grid a:not(.logo) { display: block; color: var(--ink); text-decoration: none; margin-bottom: 0.4em; font-size: 0.95rem; }
.footer-grid a:not(.logo):hover { color: var(--link); }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-base a { color: inherit; text-underline-offset: 2px; }
.footer-base a:hover { color: var(--link); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } .footer-grid a:not(.logo) { overflow-wrap: anywhere; } }
.promo { margin: 0 0 18px; color: var(--link); }
.referral { display: flex; flex-direction: column; gap: 4px; max-width: 640px; margin: 28px auto 0; padding: 16px 20px;
  border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); text-align: center; }
.referral strong { color: var(--accent-ink); font-size: 1.05rem; }

/* "Other languages" button in the header and its popup */
.pill.pill-other { cursor: pointer; font-family: inherit; }
.other-langs { max-width: min(480px, calc(100vw - 32px)); padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.other-langs::backdrop { background: rgba(20, 33, 61, 0.45); }
.other-langs h2 { margin: 0 0 10px; font-size: 1.5rem; }
.other-langs p { margin: 0 0 14px; line-height: 1.5; }
.other-langs p.muted { margin: 16px 0 2px; }
.other-langs .email { font-size: 1.2rem; font-weight: 700; color: var(--link); }
.other-langs form { margin-top: 22px; text-align: right; }

/* Front page: the short church video under the gold title (silent, plays on a loop) */
/* Home: the church video goes edge to edge and stays still under the menu while
   the rest of the page slides up over it. --header-h is set by site.js. */
.hero-stage { position: relative; padding-top: 26px; }
.hero-video { position: sticky; top: var(--header-h, 80px); z-index: 0; width: 100%;
  height: min(56.25vw, calc(100vh - var(--header-h, 80px) - 40px)); min-height: 200px; background: #111827; }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-over { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18); }
@media (prefers-reduced-motion: reduce) { .hero-video { position: relative; top: auto; } }
/* The blue "help" band stays in place the same way, and the rest of the page slides up over it.
   A band taller than the window stays once its bottom edge is in view (--support-h is set by
   site.js), so none of it is cut off. */
.support { position: sticky; z-index: 0; top: var(--header-h, 80px); top: min(var(--header-h, 80px), calc(100vh - var(--support-h, 0px))); top: min(var(--header-h, 80px), calc(100svh - var(--support-h, 0px))); }
.support-over { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18); }
/* Further down the home page the same again, every other section: a .pin section stays in place
   under the menu (or once all of it is in view, if it is taller than the window; --pin-h is set by
   site.js) and the .pin-over that follows slides up over it. */
.pin { position: sticky; z-index: 0; background: var(--bg); top: var(--header-h, 80px); top: min(var(--header-h, 80px), calc(100vh - var(--pin-h, 0px))); top: min(var(--header-h, 80px), calc(100svh - var(--pin-h, 0px))); }
.pin-over { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18); }
@media (prefers-reduced-motion: reduce) { .pin { position: relative; top: auto; } }
/* On a laptop the band is drawn shorter, in two steps by window height, so that all of it fits
   between the menu and the bottom of the window and it stops right under the menu. */
@media (min-width: 901px) and (max-height: 1140px) {
  .support { padding: 40px 0; }
  .support-lead { font-size: 1.05rem; margin-bottom: 28px; }
  .timeline { margin-bottom: 30px; }
  .timeline::before { top: 101px; }
  .t-art { width: 128px; height: 80px; margin-bottom: 12px; }
  .t-dot { margin-bottom: 10px; }
  .t-year { font-size: 2.1rem; }
  .support-point { padding: 20px; }
  .support-point .icon { width: 40px; height: 40px; padding: 9px; margin-bottom: 10px; }
  .support-note { margin-top: 22px; }
  .support .actions { margin: 14px 0 0; }
}
@media (min-width: 901px) and (max-height: 890px) {
  .support { padding: 26px 0; }
  .support .section-title { font-size: 1.5rem; margin-bottom: 0.3em; }
  .support-lead { font-size: 1rem; margin-bottom: 16px; }
  .timeline { margin-bottom: 18px; }
  .timeline::before { top: 73px; }
  .t-art { width: 90px; height: 56px; margin-bottom: 8px; }
  .t-dot { margin-bottom: 8px; }
  .t-year { font-size: 1.7rem; }
  .t-what { margin-top: 2px; font-size: 0.92rem; }
  .support-points { gap: 16px; }
  .support-point { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; }
  .support-point .icon { width: 34px; height: 34px; padding: 7px; margin: 0; }
  .support-point h3 { margin: 0; font-size: 1rem; }
  .support-point p { grid-column: 1 / -1; margin-top: 8px; font-size: 0.9rem; line-height: 1.4; }
  .support-note { margin-top: 14px; font-size: 0.95rem; }
  .support .actions { margin: 10px 0 0; }
  .support .actions .button { padding: 0.55em 1.1em; }
}
@media (prefers-reduced-motion: reduce) { .support { position: relative; top: auto; } }
