/* Design ported from a mockup (LumiBible-site-5.html) provided by the site
   owner: same CSS variables/typography/components, re-split across our
   server-rendered pages (src/lib/site-view.js, src/lib/reader-view.js) --
   the mockup itself was a client-side single-page demo, we keep real,
   separate, indexable URLs per page/chapter (SEO). Trimmed: no profil (not
   built this pass), no search/compare panel styling (placeholder content
   only), no store badges (app not published yet), no language switcher
   (site is French-only, no i18n system).
*/
:root {
  --night: #0f172a;
  --night2: #17223f;
  --blue: #2f6fed;
  --gold: #ffc53d;
  --gold-ink: #b77e00;
  --ivory: #fff9ed;
  --paper: #ffffff;
  --card: #ffffff;
  --page2: #ffffff;
  --ink: #0f172a;
  --mute: #5e6679;
  --line: #efe5cf;
  --soft: #fcf1d8;
  --bd: #e9edf5;
  --fill: #f4f6fb;
  --fill2: #f7f9fe;
  --sel: #eaf1ff;
  --track: #e3e7f0;
  --pill: #fff3d6;
  --pill-ink: #b77e00;
  --ui: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --scripture: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --night: #233052;
    --ivory: #0c1222;
    --paper: #141c31;
    --card: #141c31;
    --page2: #0f1629;
    --ink: #eef1f8;
    --mute: #9aa3ba;
    --line: #243049;
    --soft: #1b2438;
    --bd: #253150;
    --fill: #1b2540;
    --fill2: #1f2a48;
    --sel: rgba(47, 111, 237, 0.26);
    --track: #33405f;
    --pill: rgba(255, 197, 61, 0.16);
    --pill-ink: #ffd36e;
    --gold-ink: #ffc53d;
    --blue: #7fa5ff;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --night: #233052;
  --ivory: #0c1222;
  --paper: #141c31;
  --card: #141c31;
  --page2: #0f1629;
  --ink: #eef1f8;
  --mute: #9aa3ba;
  --line: #243049;
  --soft: #1b2438;
  --bd: #253150;
  --fill: #1b2540;
  --fill2: #1f2a48;
  --sel: rgba(47, 111, 237, 0.26);
  --track: #33405f;
  --pill: rgba(255, 197, 61, 0.16);
  --pill-ink: #ffd36e;
  --gold-ink: #ffc53d;
  --blue: #7fa5ff;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--ivory);
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: var(--blue);
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
p {
  margin: 0 0 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
/* An element's own `display: flex`/`inline-flex` (.pk-tools, .rbtn, etc.)
   otherwise wins over the browser's default `[hidden] { display: none }`
   -- an author rule always outranks the user-agent one regardless of
   source order. Without this, src/public/app.js's `el.hidden = true`
   (the picker's back button, its AT/NT segment) silently does nothing on
   exactly those elements. */
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 12px 30px -12px rgba(255, 197, 61, 0.9);
}
.btn-gold:hover {
  background: #ffd266;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn-dark {
  background: var(--night);
  color: #fff;
}
.btn-dark:hover {
  background: var(--blue);
}
.word {
  font-weight: 700;
  letter-spacing: -0.03em;
}
.word b {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ivory) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.3s,
    border-color 0.3s;
}
body.on-hero .nav {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.on-hero .nav .links a,
body.on-hero .nav .home {
  color: #fff;
}
body.on-hero .menu-btn span {
  background: var(--card);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.home {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 23px;
}
.home img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.links {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
  position: relative;
  padding: 6px 0;
}
.links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.links .legal {
  display: none;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}
.navr {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-btn svg {
  width: 18px;
  height: 18px;
}
.theme-btn .moon {
  display: none;
}
.is-dark .theme-btn .sun {
  display: none;
}
.is-dark .theme-btn .moon {
  display: block;
}
body.on-hero .theme-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
/* Not wired up yet (no i18n system, no accounts) -- present visually,
   inert: real <button disabled>/<a> without href, so nothing to click,
   just a title tooltip on hover. */
.lang-sw {
  display: inline-flex;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border-radius: 999px;
  padding: 3px;
}
.lang-sw button {
  border: 0;
  background: none;
  color: var(--mute);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: default;
}
.lang-sw button[aria-pressed='true'] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 6px -3px rgba(15, 23, 42, 0.35);
}
body.on-hero .lang-sw {
  background: rgba(255, 255, 255, 0.14);
}
body.on-hero .lang-sw button {
  color: rgba(255, 255, 255, 0.7);
}
body.on-hero .lang-sw button[aria-pressed='true'] {
  background: #fff;
  color: #0f172a;
}
.nav .me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
  cursor: default;
}
.nav .me .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav .me .av svg {
  width: 16px;
  height: 16px;
}
body.on-hero .nav .me {
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: -73px;
  padding: 110px 0 160px;
  min-height: 100svh;
  background:
    radial-gradient(120% 60% at 50% 115%, rgba(255, 197, 61, 0.35), transparent 60%),
    linear-gradient(180deg, #0b1122 0%, var(--night) 55%, #1b2440 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Hides the real cursor only once app.js confirms it's driving the .lamp
   in its place (progressive enhancement -- never hide the cursor with
   nothing to replace it if JS fails or is off, hover:none/touch, or
   prefers-reduced-motion). */
.js-lamp .hero {
  cursor: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--ivory));
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.flies {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.flies i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 3px rgba(255, 197, 61, 0.7);
  opacity: 0;
  animation: drift var(--d, 9s) ease-in-out var(--dl, 0s) infinite;
}
@keyframes drift {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  20% {
    opacity: 0.9;
  }
  50% {
    transform: translate(var(--tx, 30px), var(--ty, -40px));
  }
  80% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--tx, 30px) * 1.6), calc(var(--ty, -40px) * 1.8));
  }
}
.ref {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 249, 237, 0.55);
  font-weight: 500;
}
.verse {
  position: relative;
  margin: 22px auto 0;
  max-width: 15em;
  font-family: var(--scripture);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.verse .base {
  color: rgba(255, 249, 237, 0.09);
}
.verse .lit {
  position: absolute;
  inset: 0;
  color: #fff3d1;
  text-shadow: 0 0 28px rgba(255, 197, 61, 0.55);
  -webkit-mask-image: radial-gradient(
    circle var(--r, 190px) at var(--mx, 50%) var(--my, 50%),
    #000 25%,
    transparent 75%
  );
  mask-image: radial-gradient(
    circle var(--r, 190px) at var(--mx, 50%) var(--my, 50%),
    #000 25%,
    transparent 75%
  );
}
.verse .lit em {
  font-style: normal;
  color: var(--gold);
}
.lamp {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #ffe7a3;
  box-shadow:
    0 0 18px 6px rgba(255, 197, 61, 0.85),
    0 0 90px 40px rgba(255, 197, 61, 0.18);
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
}
.js-lamp .lamp {
  opacity: 1;
}
.hint {
  margin-top: 26px;
  font-size: 14px;
  color: rgba(255, 249, 237, 0.5);
  transition: opacity 0.6s;
}
.hint.gone {
  opacity: 0;
}
.brand {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 20px 50px -10px rgba(47, 111, 237, 0.6);
}
.brand .word {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
}
.brand .tag {
  color: rgba(255, 249, 237, 0.75);
  font-size: 19px;
}
.hero .cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
/* No explicit cursor on .hero links/buttons: while the lamp is active
   (.js-lamp), it's the only cursor indicator in the hero, buttons
   included -- their own hover lift/shadow already signals clickability.
   Without JS (or reduced-motion/touch, where .js-lamp never gets added),
   this is simply unset and the browser's normal pointer/hand shows as
   usual. */
/* Not published on either store yet -- badges shown (real <a>, no href, so
   nothing to click), with a "bientôt disponible" note instead of a working
   download link. */
.stores {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
  position: relative;
}
.stores::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -14px;
  width: 120px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 197, 61, 0.55), transparent);
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  padding: 11px 22px 11px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0.7;
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}
.store small {
  white-space: nowrap;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 249, 237, 0.65);
}
.store b {
  white-space: nowrap;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.store-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: rgba(255, 249, 237, 0.55);
  letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .stores {
    gap: 8px;
  }
  .store {
    min-width: 0;
    flex: 1 1 0;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .store svg {
    width: 22px;
    height: 22px;
  }
  .store b {
    font-size: 16px;
  }
  .store small {
    font-size: 10px;
  }
}

/* ---------- sections ---------- */
.sec {
  padding: clamp(80px, 11vw, 140px) 0;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.sec h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  margin-top: 12px;
}
.sec .lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--mute);
  margin-top: 18px;
  max-width: 42em;
}
.intro {
  text-align: center;
}
.intro .lead {
  margin-left: auto;
  margin-right: auto;
}
.promise {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.promise span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 15px;
}
.promise span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: 1px;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 70px);
  align-items: start;
}
.shot {
  text-align: center;
}
.shot:nth-child(2) {
  margin-top: 60px;
}
.frame {
  width: min(300px, 100%);
  margin: 0 auto;
  border-radius: 44px;
  padding: 10px;
  background: var(--night);
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.55);
}
.frame img {
  border-radius: 34px;
  width: 100%;
  height: auto;
  aspect-ratio: 564 / 1002;
  object-fit: cover;
}
.shot h3 {
  font-size: 24px;
  margin-top: 26px;
}
.shot p {
  color: var(--mute);
  font-size: 16px;
  margin: 8px auto 0;
  max-width: 24em;
}

.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line);
}
.feat {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line);
}
.feat:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.feat h3 {
  font-size: 21px;
}
.feat p {
  color: var(--mute);
  font-size: 16px;
  margin: 8px 0 0;
}

.bibles {
  background: var(--paper);
}
.langs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.lang {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  background: var(--ivory);
}
.lang b {
  display: block;
  font-size: 17px;
}
.lang span {
  color: var(--mute);
  font-size: 15px;
}
.note-src {
  margin-top: 26px;
  color: var(--mute);
  font-size: 16px;
}

.band {
  background: var(--night);
  color: #fff;
  border-radius: 34px;
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 197, 61, 0.35), transparent);
}
.band h2 {
  color: #fff;
}
.band .lead {
  color: rgba(255, 249, 237, 0.75);
}
.band .btn {
  margin-top: 26px;
}
.sample {
  position: relative;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 24px;
  padding: 26px 28px;
  font-family: var(--scripture);
  font-size: 21px;
  line-height: 1.45;
}
.sample small {
  display: block;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--gold-ink);
  margin-bottom: 8px;
}
.sample sup {
  font-family: var(--ui);
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  margin-right: 4px;
}
.is-dark .sample {
  background: #1b2540;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
}
.card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}
.card p {
  color: var(--mute);
  font-size: 17px;
}
.card.support {
  background: var(--soft);
  border-color: var(--line);
}
.card.support .btn {
  margin-top: 10px;
}

/* ---------- text pages ---------- */
.phead {
  background: var(--ivory);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.phead::after {
  content: '';
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 197, 61, 0.28), transparent);
  pointer-events: none;
}
.phead .wrap {
  position: relative;
  z-index: 1;
}
.phead h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  margin-top: 10px;
}
.phead .lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--mute);
  margin-top: 18px;
  max-width: 40em;
}
.pbody {
  background: var(--page2);
  padding: clamp(40px, 6vw, 70px) 0 clamp(80px, 10vw, 120px);
}
body.page-white {
  background: var(--card);
}

.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 48px) 90px;
}
.doc h1 {
  font-size: clamp(40px, 6vw, 64px);
}
.doc h2 {
  font-size: 24px;
  margin: 40px 0 10px;
}
.doc p,
.doc li {
  color: var(--ink);
}
.doc ul {
  padding-left: 20px;
}
.doc li {
  margin-bottom: 10px;
}
.doc code {
  background: var(--soft);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}
.tw {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  margin: 26px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 15.5px;
}
th,
td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--soft);
  font-weight: 600;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  font-weight: 600;
  white-space: nowrap;
}
.form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
}
.form label {
  font-weight: 600;
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
}
.form textarea,
.form input {
  width: 100%;
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 13px 15px;
  background: var(--ivory);
  color: var(--ink);
}
.form textarea {
  min-height: 170px;
  resize: vertical;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.success {
  display: block;
  background: #eaf6ee;
  border-radius: 14px;
  padding: 14px 16px;
  color: #1b5e36;
  font-size: 15px;
}
.is-dark .success {
  background: #113322;
  color: #7fd9a3;
}

/* ---------- reader ---------- */
body.page-lire {
  background: var(--page2);
}
.rd {
  --fs: 21px;
  background: var(--page2);
  min-height: calc(100svh - 73px);
}
.rd-head {
  padding: 40px 0 24px;
  background: var(--ivory);
}
.rd-head h1 {
  font-size: clamp(34px, 4.4vw, 48px);
}
.rd-head p {
  color: var(--mute);
  margin: 6px 0 0;
  font-size: 16px;
}
.tabsbar {
  position: sticky;
  top: 73px;
  z-index: 20;
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.tabsbar .wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}
.tabs {
  display: inline-flex;
  gap: 4px;
  background: rgba(15, 23, 42, 0.055);
  border-radius: 18px;
  padding: 5px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: var(--mute);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.tab svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.tab:hover {
  color: var(--ink);
}
.tab.cur {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, 0.25);
}
.tab .short {
  display: none;
}
.tab .cnt {
  background: var(--gold);
  color: var(--night);
  border-radius: 999px;
  font-size: 11px;
  padding: 1px 7px;
}
.panel {
  padding: 26px 0 150px;
}

.tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto 18px;
}
.refbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--bd);
  background: var(--card);
  border-radius: 16px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 1px 0 var(--bd);
}
.refbtn:hover {
  border-color: #c9d6f6;
}
.refbtn svg {
  width: 18px;
  height: 18px;
  color: var(--mute);
}
.vsel {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--bd);
  background: var(--card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235E6679' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  border-radius: 14px;
  padding: 10px 34px 10px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.spacer {
  flex: 1;
}
.rbtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 0;
  background: var(--fill);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.rbtn:hover {
  background: var(--fill2);
}
.rbtn[aria-disabled='true'] {
  opacity: 0.35;
  pointer-events: none;
}
.rbtn svg {
  width: 18px;
  height: 18px;
}

.sheet {
  max-width: 780px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 28px;
  padding: 26px 18px 18px;
  box-shadow: 0 20px 50px -34px rgba(15, 23, 42, 0.35);
}
.sheet-h {
  padding: 0 14px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--bd);
  margin-bottom: 10px;
}
.sheet-h h2 {
  font-size: 28px;
}
.sheet-h span {
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
}
.vr {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.vr:hover {
  background: var(--fill2);
}
.vr.sel {
  background: var(--sel);
}
.vr .n {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--blue);
  padding-top: 0.45em;
  line-height: 1;
}
.vr .n i {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: 12px;
  margin-top: 6px;
}
.vr .t {
  font-family: var(--scripture);
  font-size: var(--fs);
  line-height: 1.5;
}

.actbar {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 160%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--bd);
  border-radius: 22px;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 24px 50px -16px rgba(15, 23, 42, 0.45);
  transition: transform 0.3s;
  max-width: calc(100vw - 20px);
}
.actbar.show {
  transform: translate(-50%, 0);
}
.actbar .ref {
  font-weight: 700;
  font-size: 15px;
  margin-right: 6px;
  white-space: nowrap;
  color: var(--ink);
}
.actbar button {
  border: 0;
  border-radius: 14px;
  padding: 10px 13px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: var(--fill);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.actbar button:hover {
  background: var(--fill2);
}
.actbar button.on {
  background: var(--pill);
  color: var(--pill-ink);
}
.actbar button svg {
  width: 16px;
  height: 16px;
}
.is-dark .actbar {
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.8);
}

/* comparer */
.linkcard {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 22px;
  padding: 14px 18px;
  margin: 0 0 14px;
}
.linkcard b {
  display: block;
  font-size: 17px;
}
.linkcard small {
  color: var(--mute);
  font-size: 14px;
}
.switch {
  position: relative;
  width: 62px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  border: 0;
  background: var(--track);
  cursor: pointer;
  transition: background 0.2s;
}
.switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s;
}
.switch[aria-checked='true'] {
  background: #f2a900;
}
.switch[aria-checked='true']::after {
  transform: translateX(26px);
}
.cmp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pane {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.pane-h {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--bd);
}
.pane-h h3 {
  font-size: 22px;
}
.pane-h .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.pane-h .row span {
  font-weight: 700;
  font-size: 17px;
}
.pane-h .vsel {
  padding: 6px 28px 6px 10px;
  font-size: 14px;
  border-radius: 10px;
  background-position: right 8px center;
}
.pane-b {
  height: calc(100svh - 330px);
  min-height: 360px;
  overflow-y: auto;
  padding: 8px 6px 30px;
  overscroll-behavior: contain;
}
.pane .vr {
  grid-template-columns: 24px 1fr;
  padding: 8px 10px;
}
.pane .vr .t {
  font-size: calc(var(--fs) * 0.9);
}

/* search */
.sbox {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.sbox svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--mute);
}
.sbox input {
  width: 100%;
  border: 1px solid var(--bd);
  background: var(--fill);
  border-radius: 18px;
  padding: 16px 18px 16px 50px;
  font-size: 18px;
  color: var(--ink);
}
.sbox input:focus {
  background: var(--card);
  border-color: #c9d6f6;
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12);
}
.chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 14px auto 0;
}
.chip {
  border: 1px solid var(--bd);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--mute);
  cursor: pointer;
}
.chip[aria-pressed='true'] {
  background: var(--night);
  color: #fff;
  border-color: var(--night);
}
.results {
  max-width: 780px;
  margin: 18px auto 0;
}
.results .count {
  color: var(--mute);
  font-size: 15px;
  margin: 0 4px 10px;
}
.hit {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.hit:hover {
  border-color: #c9d6f6;
  background: var(--fill2);
}
.hit b {
  display: block;
  font-size: 14px;
  color: var(--blue);
}
.hit span {
  font-family: var(--scripture);
  font-size: 19px;
  line-height: 1.45;
}
.hit mark {
  background: rgba(255, 197, 61, 0.45);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 780px;
  margin: 22px auto 0;
  font-family: var(--ui);
}
.pager a {
  border: 1px solid var(--bd);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}
.pager a:hover {
  border-color: #c9d6f6;
}
.pager a[aria-disabled='true'] {
  opacity: 0.35;
  pointer-events: none;
}

.soon {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
  color: var(--mute);
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: 40px 30px;
}
.soon b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  margin-bottom: 6px;
}

.fav-item {
  display: flex;
  align-items: start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 14px 18px;
  margin: 0 auto 10px;
  max-width: 780px;
}
.fav-item a {
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.fav-item b {
  display: block;
  font-size: 14px;
  color: var(--blue);
}
.fav-item span {
  font-family: var(--scripture);
  font-size: 19px;
  line-height: 1.45;
}
.fav-item button {
  border: 0;
  background: var(--fill);
  border-radius: 12px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--mute);
  flex: none;
}
.empty-st {
  max-width: 520px;
  margin: 30px auto;
  text-align: center;
  color: var(--mute);
}
.empty-st img {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  margin: 0 auto 18px;
  object-fit: cover;
}
.empty-st b {
  display: block;
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 6px;
}

/* picker dialog */
dialog.picker {
  border: 0;
  padding: 0;
  background: var(--card);
  border-radius: 28px;
  width: min(720px, calc(100vw - 24px));
  max-height: min(760px, calc(100svh - 40px));
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.45);
  color: var(--ink);
}
dialog.picker::backdrop {
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
}
.pk {
  display: flex;
  flex-direction: column;
  max-height: min(760px, calc(100svh - 40px));
}
.pk-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--bd);
}
.pk-h h2 {
  font-size: 22px;
  flex: 1;
}
.pk-tools {
  display: flex;
  gap: 10px;
  padding: 14px 20px 4px;
  flex-wrap: wrap;
}
.pk-tools input {
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--bd);
  background: var(--fill);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 16px;
}
.seg {
  display: inline-flex;
  background: var(--fill);
  border-radius: 14px;
  padding: 4px;
}
.seg button {
  border: 0;
  background: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--mute);
  cursor: pointer;
}
.seg button[aria-pressed='true'] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.3);
}
.pk-b {
  overflow-y: auto;
  padding: 14px 20px 22px;
}
.books {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.books a {
  display: block;
  border: 1px solid var(--bd);
  background: var(--card);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}
.books a:hover {
  border-color: #c9d6f6;
  background: var(--fill2);
}
.books a.cur {
  background: var(--sel);
  border-color: #c9d6f6;
}
.books a small {
  display: block;
  color: var(--mute);
  font-weight: 500;
  font-size: 12px;
}
.chaps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 8px;
}
.chaps a {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bd);
  background: var(--card);
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}
.chaps a:hover {
  border-color: #c9d6f6;
  background: var(--fill2);
}
.chaps a.cur {
  background: var(--sel);
  border-color: #c9d6f6;
}

@media (max-width: 760px) {
  .tabsbar .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
  .tabs {
    display: flex;
    width: 100%;
  }
  .tab {
    flex: 1;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    padding: 8px 4px;
    position: relative;
  }
  .tab .cnt {
    position: absolute;
    margin: -6px 0 0 22px;
  }
  .tab .long {
    display: none;
  }
  .tab .short {
    display: inline;
  }
  .refbtn {
    font-size: 19px;
    padding: 9px 14px;
  }
  .tools .spacer {
    display: none;
  }
  .sheet {
    border: 0;
    box-shadow: none;
    padding: 6px 0 0;
    border-radius: 0;
  }
  .sheet-h {
    padding: 0 8px 12px;
  }
  .vr {
    padding: 8px 8px;
    grid-template-columns: 26px 1fr;
  }
  .pane-h .vsel {
    width: 100%;
    min-width: 0;
  }
  .cmp {
    gap: 8px;
  }
  .pane {
    border-radius: 18px;
  }
  .pane-h {
    padding: 12px 12px 10px;
  }
  .pane-h h3 {
    font-size: 18px;
  }
  .pane-h .row {
    flex-wrap: wrap;
  }
  .pane-h .row span {
    font-size: 15px;
  }
  .pane .vr {
    grid-template-columns: 18px 1fr;
    padding: 6px 6px;
    gap: 4px;
  }
  .pane .vr .t {
    font-size: 16px;
  }
  .pane-b {
    height: calc(100svh - 360px);
  }
  .actbar {
    padding: 6px 6px 6px 12px;
    gap: 4px;
  }
  .actbar button {
    padding: 9px 10px;
  }
  .actbar button .lbl {
    display: none;
  }
}

/* ---------- remerciements ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 22px;
}
.stat b {
  display: block;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat span {
  color: var(--mute);
  font-size: 14px;
}
.frise {
  margin-top: 8px;
  position: relative;
  height: 74px;
}
.frise .axis {
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
.frise .dot {
  position: absolute;
  top: 28px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px #e7c46a;
}
.frise .yr {
  position: absolute;
  top: 50px;
  font-size: 12px;
  color: var(--mute);
  transform: translateX(-50%);
}
.frise-l {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 40px;
}
.frise-l h2 {
  font-size: 26px;
}
.frise-l span {
  color: var(--mute);
  font-size: 14px;
}
.lgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.lcard {
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: 22px 22px 18px;
  background: var(--card);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.lcard:hover {
  border-color: #e7c46a;
  box-shadow: 0 18px 40px -26px rgba(15, 23, 42, 0.35);
  transform: translateY(-2px);
}
.lcard .lg {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.tr {
  padding: 14px 0;
  border-bottom: 1px solid var(--bd);
}
.tr:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.tr .top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.tr b {
  font-size: 17px;
}
.tr .y {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  background: var(--pill);
  color: var(--pill-ink);
  border-radius: 999px;
  padding: 2px 10px;
}
.tr p {
  color: var(--mute);
  font-size: 14.5px;
  margin: 6px 0 0;
}
.tr a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.tr a:hover {
  text-decoration: underline;
}
.merci {
  margin-top: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  background: var(--night);
  color: #fff;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.merci::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 197, 61, 0.35), transparent);
}
.merci img {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  object-fit: cover;
}
.merci h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}
.merci p {
  color: rgba(255, 249, 237, 0.78);
  margin: 10px 0 0;
  position: relative;
  z-index: 1;
}
.merci a {
  color: var(--gold);
}
.team-h {
  margin-top: 56px;
}
.team-h h2 {
  font-size: clamp(28px, 3.2vw, 38px);
}
.team-h p {
  color: var(--mute);
  margin-top: 8px;
}
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.mate {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: 22px;
}
.mate .mono {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: #0f172a;
  background: linear-gradient(140deg, var(--gold), #ffa928);
}
.mate:nth-child(2) .mono {
  background: linear-gradient(140deg, #6e9bff, var(--blue));
  color: #fff;
}
.mate b {
  display: block;
  font-size: 20px;
}
.mate span {
  color: var(--mute);
  font-size: 15px;
}
@media (max-width: 900px) {
  .team {
    grid-template-columns: 1fr;
  }
}
.is-dark .merci,
.is-dark .band {
  background: #101830;
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .merci {
    grid-template-columns: 1fr;
  }
}

/* ---------- contact ---------- */
.cgrid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.icards {
  display: grid;
  gap: 14px;
}
.icard {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}
.icard .ic {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-ink);
}
.icard .ic svg {
  width: 22px;
  height: 22px;
}
.icard b {
  display: block;
  font-size: 17px;
}
.icard p {
  color: var(--mute);
  font-size: 15px;
  margin: 4px 0 0;
}
.fcard {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 30px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 30px 60px -44px rgba(15, 23, 42, 0.45);
}
.fcard h2 {
  font-size: 28px;
}
.fcard .sub {
  color: var(--mute);
  font-size: 15px;
  margin-top: 6px;
}
.cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 4px;
}
.cats label {
  position: relative;
  cursor: pointer;
}
.cats input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--mute);
  transition: all 0.2s;
}
.cats input:checked + span {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}
.is-dark .cats input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: #0f172a;
}
.cats input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.fld {
  margin-top: 18px;
}
.fld label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}
.fld label small {
  color: var(--mute);
  font-weight: 500;
}
.fld textarea,
.fld input {
  width: 100%;
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--fill);
  color: var(--ink);
  font-size: 16px;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.fld textarea {
  min-height: 170px;
  resize: vertical;
}
.fld textarea:focus,
.fld input:focus {
  outline: none;
  background: var(--card);
  border-color: #e7c46a;
  box-shadow: 0 0 0 4px rgba(255, 197, 61, 0.18);
}
.fsend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.fsend small {
  color: var(--mute);
  font-size: 14px;
  max-width: 26em;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
  font-size: 15px;
  color: var(--mute);
  background: var(--ivory);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer a {
  color: var(--mute);
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cgrid {
    grid-template-columns: 1fr;
  }
  .ctrls {
    margin-left: auto;
  }
  .links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 6px 0;
  }
  .links.open {
    display: flex;
  }
  .links li {
    padding: 0 clamp(20px, 5vw, 48px);
  }
  .links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .links a.active::after {
    display: none;
  }
  .links .legal {
    display: block;
  }
  body.on-hero .links a {
    color: var(--ink);
  }
  .menu-btn {
    display: block;
  }
  .phones {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin-left: calc(-1 * clamp(20px, 5vw, 48px));
    margin-right: calc(-1 * clamp(20px, 5vw, 48px));
    padding-left: clamp(20px, 5vw, 48px);
    padding-right: clamp(20px, 5vw, 48px);
  }
  .shot {
    scroll-snap-align: center;
  }
  .shot:nth-child(2) {
    margin-top: 0;
  }
  .feats {
    grid-template-columns: 1fr;
  }
  .feat,
  .feat:not(:nth-child(3n + 1)) {
    padding: 22px 0;
    border-left: 0;
  }
  .band,
  .two {
    grid-template-columns: 1fr;
  }
}
@media (hover: none) {
  .js-lamp .hero {
    cursor: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .verse .lit {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .lamp,
  .hint {
    display: none;
  }
  .js-lamp .hero {
    cursor: auto;
  }
}
@media (max-width: 420px) {
  .home .word {
    font-size: 20px;
  }
  .lang-sw button {
    padding: 6px 8px;
  }
}

body,
.nav,
.tabsbar,
.phead,
.pbody,
.card,
.lcard,
.fcard,
.sheet,
footer {
  transition:
    background-color 0.35s,
    border-color 0.35s,
    color 0.35s;
}
.is-dark .frame {
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
