/* =========================================================
   Salmos de Davi — marketing site
   Paper, ink and amber. Mobile first.
   ========================================================= */

:root {
  --paper: #f7f1e5;
  --paper-2: #fbf7ee;
  --paper-3: #efe6d5;
  --ink: #1e1b16;
  --muted: #6b6257;
  --faint: #8a7d6c;
  --line: #ded2bf;
  --line-strong: #cbbba2;
  --amber: #c58b3a;
  --amber-ink: #84531a;
  --amber-soft: rgba(197, 139, 58, 0.14);
  --olive: #5e6b4f;
  --night: #151a20;
  --night-2: #1e252d;
  --display: "Cinzel", "Frank Ruhl Libre", Georgia, serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hebrew: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
  --shadow: 0 22px 55px rgba(30, 27, 22, 0.14);
  --radius: 22px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}

/* A quiet paper grain over the whole page. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--amber-soft);
  color: var(--ink);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -70px;
  z-index: 10000;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}

.skip-link:focus {
  top: max(12px, env(safe-area-inset-top));
}

section[id],
#experimente {
  scroll-margin-top: 86px;
}

[hidden] {
  display: none !important;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: rgba(247, 241, 229, 0.86);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 241, 229, 0.94);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  flex: none;
}

.brand-mark .brand-logo {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand-text small {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 8px 20px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: 0 18px 35px rgba(30, 27, 22, 0.08);
}

.site-header.menu-open .main-nav {
  display: flex;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--ink);
}

.main-nav .nav-cta {
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}

.nav-cta .icon {
  width: 16px;
  height: 16px;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button .icon {
  width: 20px;
  height: 20px;
}

.menu-button .icon-close {
  display: none;
}

.site-header.menu-open .menu-button .icon-menu {
  display: none;
}

.site-header.menu-open .menu-button .icon-close {
  display: block;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 46px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -24vw;
  right: -20vw;
  width: 70vw;
  height: 70vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(197, 139, 58, 0.15), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 38px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-ink);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.6;
}

.hero h1 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(34px, 11vw, 76px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--amber-ink);
  font-style: normal;
}

.lead {
  max-width: 480px;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(17px, 4.8vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.15;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button .icon {
  width: 16px;
  height: 16px;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: #0f0d0a;
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  border-color: var(--line-strong);
  background: var(--paper-2);
}

.button:active {
  transform: translateY(1px);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

/* Hero reader demo */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 4px 0 8px;
}

.hero-watermark {
  position: absolute;
  top: -24px;
  right: -16px;
  z-index: 0;
  color: rgba(197, 139, 58, 0.08);
  font-family: var(--hebrew);
  font-size: clamp(120px, 32vw, 210px);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: clamp(270px, 78vw, 390px);
  height: clamp(270px, 78vw, 390px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(197, 139, 58, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(197, 139, 58, 0.035);
  pointer-events: none;
}

.reader-card {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.reader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reader-back {
  color: var(--amber-ink);
}

.reader-title {
  white-space: nowrap;
}

.reader-count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.reader-body {
  padding: 16px 18px 0;
}

.reader-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.verse-hebrew {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 24px 0 0;
  padding: 0;
  direction: rtl;
  font-family: var(--hebrew);
  font-size: clamp(23px, 6.2vw, 27px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.word {
  position: relative;
  overflow: visible;
  min-width: 38px;
  min-height: 48px;
  padding: 0 3px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.word:hover {
  background: var(--paper-3);
  transform: translateY(-1px) scale(1.12);
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
  .word-hover-label {
    position: absolute; left: 50%; bottom: calc(100% + 8px); top: auto;
    transform: translateX(-50%);
    display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
    min-width: 86px; max-width: 150px;
    padding: 6px 9px 7px;
    border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line));
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(30, 27, 22, .14);
    pointer-events: none; white-space: nowrap;
    opacity: 0; visibility: hidden;
    transition: opacity 120ms ease, visibility 120ms ease;
    z-index: 20;
  }
  .word-hover-label::before {
    content: ""; position: absolute; bottom: -4px; left: 50%;
    width: 7px; height: 7px; background: var(--paper);
    transform: translateX(-50%) rotate(45deg);
    border-right: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line));
    border-bottom: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line));
  }
  .word:hover .word-hover-label,
  .word:focus-visible .word-hover-label { opacity: 1; visibility: visible; }
  .landing-hover-translit { font-size: 12px; line-height: 1.15; font-weight: 700; color: var(--amber-ink); }
  .landing-hover-gloss { font-size: 10px; line-height: 1.25; color: var(--muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
}

.word.is-active,
.word[aria-current="true"] {
  background: var(--amber-soft);
  box-shadow: inset 0 -2px 0 var(--amber);
}

.word:focus-visible {
  outline-offset: 0;
}

.verse-translation {
  margin: 12px 0 0;
  padding: 10px 12px 11px;
  border: 1px solid color-mix(in srgb, var(--amber) 34%, var(--line));
  border-radius: 11px;
  background: color-mix(in srgb, var(--paper-2) 78%, transparent);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
}
.verse-translation-label {
  display: block;
  margin-bottom: 3px;
  color: var(--amber-ink);
  font-family: var(--ui);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.word-panel {
  margin-top: 14px;
  padding: 11px 13px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.word-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.word-panel-top > span:last-child {
  color: var(--amber-ink);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 8.5px;
}

#word-root {
  font-family: var(--hebrew);
  font-size: 10px;
  letter-spacing: 0;
}

.word-panel-body {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 4px;
}

.word-hebrew {
  min-width: 62px;
  color: var(--ink);
  font-family: var(--hebrew);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.word-panel-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.word-translit {
  color: var(--amber-ink);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.2;
}

.word-gloss {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.3;
}

.word-context {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.reader-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 18px 0;
  border-top: 1px solid var(--line);
}

.round-play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.round-play .icon {
  width: 17px;
  height: 17px;
}

.reader-card .icon-pause {
  display: none;
}

.reader-card.is-playing .icon-play {
  display: none;
}

.reader-card.is-playing .icon-pause {
  display: block;
}

.reader-track {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-3);
}

.reader-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
  transition: width 80ms linear;
}

.reader-time {
  min-width: 46px;
  color: var(--faint);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.reader-caption {
  padding: 9px 18px 13px;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.4;
}

.floating-card {
  display: none;
}

/* =========================================================
   Shared section language
   ========================================================= */

.section {
  padding: 64px 0;
}

.section-head h2 {
  margin-top: 13px;
  font-family: var(--display);
  font-size: clamp(28px, 7.4vw, 50px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-head h2 em {
  color: var(--amber-ink);
  font-style: normal;
}

.section-intro {
  max-width: 440px;
  margin-top: 17px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(16px, 4.2vw, 19px);
  line-height: 1.55;
}

/* =========================================================
   Statement
   ========================================================= */

.statement-lead {
  max-width: 690px;
  margin-top: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1.42;
}

.pillars {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.pillar {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  transition: border-color 180ms ease, transform 180ms ease;
}

.pillar::after {
  content: attr(data-index);
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--faint);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

.pillar:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.pillar-icon,
.audience-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.pillar-icon .icon,
.audience-icon .icon {
  width: 18px;
  height: 18px;
}

.pillar h3 {
  margin: 16px 0 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pillar p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
}

/* =========================================================
   Lesson
   ========================================================= */

.lesson {
  border-block: 1px solid var(--line);
  background: var(--paper-3);
}

.lesson-shell {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-2);
  box-shadow: 0 18px 45px rgba(30, 27, 22, 0.06);
}

.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.tab:hover {
  color: var(--ink);
}

.tab .tab-num {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--faint);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.tab[aria-selected="true"] .tab-num {
  border-color: transparent;
  background: rgba(247, 241, 229, 0.14);
  color: var(--paper);
}

.lesson-panel {
  display: grid;
}

.lesson-copy {
  padding: 24px 20px;
}

.lesson-kicker {
  color: var(--amber-ink);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lesson-copy h3 {
  margin: 9px 0 8px;
  font-family: var(--display);
  font-size: clamp(25px, 6.5vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.lesson-copy > p {
  max-width: 380px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.5;
}

.lesson-points {
  display: grid;
  gap: 8px;
  max-width: 380px;
  margin-top: 18px;
  list-style: none;
}

.lesson-points li {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.lesson-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.lesson-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.preview {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper-2);
  box-shadow: 0 12px 30px rgba(30, 27, 22, 0.07);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-instruction {
  margin-top: 11px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}

.preview-hebrew {
  margin: 16px 0;
  color: var(--ink);
  font-family: var(--hebrew);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
}

.preview-locked {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 2px;
  border-top: 1px solid var(--line);
}

.preview-lock-line {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  opacity: 0.7;
}

.preview-lock-line.short {
  width: 62%;
}

.preview-lock-tag {
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.preview-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  margin-top: 16px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 600;
}

.preview-button .icon {
  width: 14px;
  height: 14px;
}

.preview-card-hebrew {
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--hebrew);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.preview-card-label {
  margin-top: 12px;
  color: var(--faint);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.preview-card-translit {
  margin-top: 2px;
  color: var(--amber-ink);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
}

.preview-divider {
  height: 1px;
  margin: 13px 0 0;
  background: var(--line);
}

.preview-card-gloss {
  margin-top: 3px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.3;
  text-align: center;
}

.preview-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
}

.preview-pills > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.preview-pills .is-on {
  border-color: rgba(197, 139, 58, 0.45);
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.preview-pills .icon {
  width: 12px;
  height: 12px;
}

.preview-question {
  margin-top: 13px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.3;
}

.preview-options {
  display: grid;
  gap: 6px;
  margin-top: 11px;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 37px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
}

.option .icon {
  width: 13px;
  height: 13px;
}

.option.is-correct {
  border-color: rgba(94, 107, 79, 0.55);
  background: rgba(94, 107, 79, 0.1);
  color: var(--olive);
}

.option.is-wrong {
  border-color: rgba(166, 64, 47, 0.4);
  background: rgba(166, 64, 47, 0.07);
  color: #8c3d30;
}

.preview-feedback {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.preview-feedback strong {
  color: var(--ink);
  font-weight: 600;
}

.preview-word-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 18px 0 14px;
  direction: rtl;
}

.preview-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.preview-word b {
  color: var(--ink);
  font-family: var(--hebrew);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
}

.preview-word i {
  color: var(--amber-ink);
  font-family: var(--serif);
  font-size: 10.5px;
  font-style: italic;
  line-height: 1.2;
}

.preview-translation {
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.4;
}

.preview-check {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 2px auto 8px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.preview-close-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

.preview-close-text {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.preview-recap {
  margin-top: 10px;
  list-style: none;
}

.preview-recap li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: baseline;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.preview-recap b {
  color: var(--ink);
  font-family: var(--hebrew);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.preview-recap span {
  color: var(--amber-ink);
  font-family: var(--serif);
  font-size: 10.5px;
  font-style: italic;
}

.preview-recap em {
  color: var(--muted);
  font-size: 9.5px;
  font-style: normal;
  text-align: right;
}

.preview-next {
  margin-top: 9px;
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.4;
  text-align: center;
}

/* =========================================================
   Verse break
   ========================================================= */

.verse-break {
  padding: 48px 0;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  text-align: center;
}

.verse-break-hebrew {
  color: color-mix(in srgb, var(--ink) 68%, var(--muted));
  font-family: var(--hebrew);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 500;
  line-height: 1.45;
  margin-top: 12px;
}

.verse-break-translit {
  margin-top: 4px;
  color: var(--amber-ink);
  font-family: var(--serif);
  font-size: clamp(14px, 3.6vw, 18px);
  font-style: italic;
  line-height: 1.4;
}

.verse-break-translation {
  max-width: 700px;
  margin: 0 auto;
  padding: 16px 20px 18px;
  border: 1px solid color-mix(in srgb, var(--amber) 34%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper-2) 78%, transparent);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.45;
}

.verse-break cite {
  display: block;
  margin-top: 12px;
  color: var(--faint);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =========================================================
   Path
   ========================================================= */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-block: 1px solid var(--line);
}

.stat {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stat:nth-child(odd) {
  padding-right: 14px;
}

.stat:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(25px, 6.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.path-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  list-style: none;
}

.path-card {
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  transition: border-color 160ms ease;
}

.path-card:hover {
  border-color: var(--line-strong);
}

.path-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.path-day {
  color: var(--amber-ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.path-meta {
  color: var(--faint);
  font-size: 8.5px;
  text-align: right;
}

.path-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.path-title strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.path-title span {
  color: var(--amber-ink);
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}

.path-card p {
  margin: 2px 0 10px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.4;
}

.coverage {
  height: 3px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-3);
}

.coverage i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}

.path-note {
  max-width: 640px;
  margin-top: 15px;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.55;
}

/* =========================================================
   Audiences
   ========================================================= */

.audience-grid {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.audience-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}

.audience-icon {
  margin-bottom: 14px;
}

.audience-card h3 {
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.audience-card p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

/* =========================================================
   Sources
   ========================================================= */

.sources {
  border-top: 1px solid var(--line);
}

.sources-grid {
  display: grid;
  gap: 28px;
}

.sources-intro h2 {
  margin-top: 13px;
  font-family: var(--display);
  font-size: clamp(28px, 7.4vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.sources-intro h2 em {
  color: var(--amber-ink);
  font-style: normal;
}

.sources-intro > p:last-child {
  max-width: 400px;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
}

.origin-list {
  border-top: 1px solid var(--line);
}

.origin-item {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.origin-label {
  color: var(--amber-ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.origin-copy {
  display: grid;
  gap: 6px;
}

.origin-item h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.origin-item p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.55;
}

.origin-item p em {
  color: var(--amber-ink);
}

.origin-summary {
  max-width: 780px;
  margin-top: 26px;
  padding-left: 16px;
  border-left: 2px solid var(--amber);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
}

.origin-summary strong {
  color: var(--ink);
  font-weight: 600;
}

.source-note {
  max-width: 780px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
}

.source-note + .source-note {
  margin-top: 10px;
}

.source-note strong {
  color: var(--ink);
  font-weight: 600;
}

/* =========================================================
   Final CTA
   ========================================================= */

.final-cta {
  padding: 20px 0 64px;
}

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 22px;
  border-radius: 26px;
  background: var(--night);
  color: var(--paper);
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -25%;
  z-index: 0;
  width: 90%;
  height: 140%;
  background: radial-gradient(circle, rgba(217, 167, 91, 0.2), transparent 65%);
  pointer-events: none;
}

.cta-panel::after {
  content: "תהילים";
  position: absolute;
  right: -22px;
  bottom: -46px;
  z-index: 0;
  color: rgba(217, 167, 91, 0.08);
  font-family: var(--hebrew);
  font-size: clamp(150px, 34vw, 270px);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel .eyebrow {
  color: #e5bd77;
}

.cta-panel h2 {
  margin-top: 13px;
  color: #fff8eb;
  font-family: var(--display);
  font-size: clamp(30px, 7.6vw, 50px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cta-panel h2 em {
  color: #e5bd77;
  font-style: normal;
}

.cta-panel > p:not(.eyebrow, .trust) {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(247, 241, 229, 0.74);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-panel .button-primary {
  background: #fff8eb;
  color: var(--ink);
}

.cta-panel .button-primary:hover {
  background: #ffffff;
}

.cta-panel .button-ghost {
  border-color: rgba(247, 241, 229, 0.35);
  color: #fff8eb;
}

.cta-panel .button-ghost:hover {
  border-color: rgba(247, 241, 229, 0.55);
  background: rgba(247, 241, 229, 0.06);
}

.trust-light {
  color: rgba(247, 241, 229, 0.55);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  width: 37px;
  height: 37px;
}

.footer-brand strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 17px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-note {
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
}

/* =========================================================
   Reveal
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Breakpoints
   ========================================================= */

@media (min-width: 560px) {
  .wrap {
    width: min(100% - 56px, 1120px);
  }

  .header-inner {
    min-height: 76px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(48px, 9.6vw, 76px);
  }

  .reader-card {
    width: min(100%, 410px);
  }

  .verse-hebrew {
    font-size: 34px;
  }

  .word-hebrew {
    font-size: 34px;
  }

  .lesson-copy {
    padding: 28px 26px;
  }

  .lesson-preview {
    padding: 26px;
  }

  .preview {
    max-width: 360px;
    padding: 17px;
  }

  .stat {
    padding: 20px 0;
  }

  .origin-item {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .origin-label {
    padding-top: 5px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer-note {
    grid-column: 1 / -1;
    padding-top: 8px;
  }
}

@media (min-width: 760px) {
  .section {
    padding: 82px 0;
  }

  .hero {
    padding: 62px 0 66px;
  }

  .hero-grid {
    gap: 46px;
  }

  .lead {
    margin-top: 22px;
  }

  .trust {
    font-size: 11px;
  }

  .section-head.split {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 40px;
    align-items: end;
  }

  .section-intro {
    margin-top: 0;
    padding-bottom: 3px;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .pillar {
    padding: 22px;
  }

  .tabs {
    padding: 10px;
  }

  .tab {
    flex: 1;
    justify-content: center;
    font-size: 11.5px;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat,
  .stat:nth-child(odd),
  .stat:nth-child(even) {
    padding: 22px 16px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .path-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .audience-card {
    padding: 22px;
  }

  .sources-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 44px;
    align-items: start;
  }

  .cta-panel {
    padding: 44px 36px;
  }

  .final-cta {
    padding: 26px 0 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) {
  .header-inner {
    min-height: 84px;
  }

  .brand-mark {
    width: 47px;
    height: 47px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav a {
    min-height: 44px;
    border: 0;
    font-size: 11.5px;
  }

  .main-nav .nav-cta {
    min-height: 38px;
    margin-top: 0;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 11px;
  }

  .menu-button {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 56px;
  }

  .hero {
    padding: 76px 0 86px;
  }

  .hero h1 {
    font-size: clamp(54px, 6.4vw, 76px);
  }

  .lead {
    max-width: 470px;
    font-size: 21px;
  }

  .hero-visual {
    padding: 18px 0;
  }

  .reader-card {
    transform: rotate(-1.2deg);
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .reader-card:hover,
  .reader-card:focus-within {
    transform: rotate(0deg);
  }

  .floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: var(--paper-2);
    box-shadow: 0 10px 26px rgba(30, 27, 22, 0.1);
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
  }

  .floating-card-top {
    top: 6px;
    right: -4px;
  }

  .floating-card-bottom {
    bottom: 8px;
    left: -10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .floating-card-bottom strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .floating-card-bottom span {
    color: var(--faint);
    font-size: 8.5px;
  }

  .lesson-panel {
    grid-template-columns: 1.04fr 0.96fr;
  }

  .lesson-copy {
    padding: 34px 32px;
  }

  .lesson-preview {
    padding: 30px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .preview {
    max-width: 340px;
  }

  .statement-lead {
    margin-top: 28px;
  }

  .cta-panel {
    padding: 56px 48px;
  }

  .cta-panel h2 {
    max-width: 700px;
  }
}

@media (min-width: 1120px) {
  .hero {
    padding-top: 88px;
  }

  .hero h1 {
    font-size: 76px;
  }

  .reader-card {
    width: 400px;
  }

  .floating-card-top {
    right: -10px;
  }

  .floating-card-bottom {
    left: -20px;
  }
}

/* =========================================================
   Motion preferences
   ========================================================= */

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

  .js .reveal,
  .js .reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reader-card {
    transform: none;
    transition: none;
  }

  .reader-fill {
    transition: none;
  }

  .pillar:hover {
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.path-card[data-psalm]{cursor:pointer}.path-card[data-psalm]:focus-visible{outline:3px solid var(--amber);outline-offset:3px}

.verse-break cite, .footer-note { color: var(--muted); }
.path-card-link { display:block; color:inherit; text-decoration:none; }
.path-card-link:focus-visible { outline:3px solid var(--amber); outline-offset:3px; border-radius:inherit; }


/* Landing: Portuguese-first hierarchy */
.verse-break-translation .verse-translation-label {
  color: var(--amber-ink);
  text-align: center;
}
@media (max-width: 699px) {
  .verse-translation { font-size: 16px; }
  .verse-hebrew { margin-top: 16px; }
}


.hero-benefits {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px;
  margin: 16px 0 0; color: var(--amber-ink);
  font-family: var(--ui); font-size: 11px; font-weight: 600;
  letter-spacing: .015em;
}
.hero-benefits span[aria-hidden] { color: var(--line); }
@media (hover: hover) and (pointer: fine) {
  .verse-hebrew { margin-top: 54px; }
}
