/* Bible Presenter — marketing site. One palette: the stage itself.
   Black, off-white serif scripture, a single hand-drawn orange. */

:root {
  --bg: #0a0a0c;
  --bg-soft: #101014;
  --panel: #131318;
  --border: #232329;
  --text: #ece9e2;
  --muted: #9b978e;
  --ink: #f0a030;
  --serif: 'Iowan Old Style', Palatino, 'Palatino Linotype', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Caveat', 'Marker Felt', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.2px; }

a { color: inherit; }

/* ---------- reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  text-decoration: none;
  font-weight: 600;
}

.nav-brand em { color: var(--ink); font-style: normal; }

.nav-logo { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}

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

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s;
}

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

.btn-primary {
  background: var(--ink);
  color: #181004;
}

.btn-primary:hover { background: #f7b14a; }

.btn-quiet {
  background: none;
  color: var(--muted);
  border-color: var(--border);
}

.btn-quiet:hover { color: var(--text); border-color: #3a3a42; }

.btn-outline {
  background: none;
  color: var(--ink);
  border-color: var(--ink);
  text-align: center;
}

.btn-outline:hover { background: rgba(240, 160, 48, 0.08); }

.btn-small { padding: 9px 16px; font-size: 13px; }

/* ---------- hero ---------- */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 40px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  margin: 0 0 20px;
}

.accent-ink { color: var(--ink); }

.hero-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 44ch;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-trust {
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
  opacity: 0.8;
}

/* the demo panel — fixed 960x540 coordinate space, scaled to fit */

body { overflow-x: hidden; }

/* grid/flex items may not force the page wider than the viewport */
.hero > *,
.present > *,
.how-grid > *,
.price-grid > * {
  min-width: 0;
}

.demo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  background: #000;
}

.demo-panel {
  position: absolute;
  width: 960px;
  height: 540px;
  transform-origin: top left;
  background: #000;
}

.demo-ref {
  position: absolute;
  top: 38px;
  left: 56px;
  font: 700 15px var(--sans);
  letter-spacing: 3px;
  color: #8e96a0;
}

.demo-text {
  position: absolute;
  top: 84px;
  left: 56px;
  width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.8;
  color: #fff;
}

.demo-text sup {
  color: #7c8590;
  font-size: 0.5em;
  font-family: var(--sans);
  padding: 0 0.35em 0 0.2em;
}

.demo-note {
  position: absolute;
  font-family: var(--hand);
  font-size: 34px;
  line-height: 1.05;
  color: var(--ink);
  transform: rotate(-3deg);
  right: 48px;
  top: 200px;
  opacity: 0;
}

.demo-note.shown {
  opacity: 1;
  transition: opacity 0.9s ease;
}

.demo-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* ---------- strip ---------- */

.strip {
  max-width: 760px;
  margin: 56px auto;
  padding: 0 32px;
  text-align: center;
}

.strip p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* ---------- how it works ---------- */

.how { padding: 48px 32px 24px; }

.how-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.how-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
}

.how-card:nth-child(2) { transition-delay: 0.1s; }
.how-card:nth-child(3) { transition-delay: 0.2s; }

.how-step {
  font: 700 12px var(--sans);
  letter-spacing: 2px;
  color: var(--ink);
}

.how-card h2 { font-size: 26px; margin: 8px 0 10px; }

.how-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }

/* mini study panel */

.mini-study {
  margin-top: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
}

.ms-word { font-family: var(--serif); font-size: 17px; font-weight: 700; }

.ms-count { font-family: var(--sans); font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 6px; }

.ms-lemma { font-family: var(--serif); font-size: 21px; margin-top: 8px; }

.ms-translit { font-style: italic; color: var(--muted); font-size: 13px; margin: 0 6px; }

.ms-num {
  font: 700 10px var(--sans);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 1px 7px;
  vertical-align: 2px;
  opacity: 0.85;
}

.ms-def { color: var(--text); margin-top: 6px; }

.ms-kjv { color: var(--muted); margin-top: 4px; font-size: 12px; }

.ms-kjv em { color: var(--ink); font-style: normal; font-weight: 600; }

/* mini symbols */

.mini-syms {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.mini-syms span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.mini-syms svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* mini steps demo */

.mini-steps { margin-top: auto; }

.mst-stage {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 18px;
  font-family: var(--serif);
  font-size: 16.5px;
  color: #fff;
}

.mst-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.mst-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.mst-btn {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 34px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
}

.mst-btn:hover { border-color: #3a3a42; }

.mst-count { font-size: 12px; color: var(--muted); min-width: 74px; text-align: center; }

/* ---------- present ---------- */

.present {
  max-width: 1180px;
  margin: 80px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.present h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 16px; }

.present-copy p { color: var(--muted); font-size: 16px; max-width: 46ch; }

.present-copy strong { color: var(--text); }

.present-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.present-list strong { color: var(--ink); font-weight: 600; }

.present-visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pv-screen { flex: 1; min-width: 0; }

.pv-chrome {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.pv-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3a42;
}

.pv-stage {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  padding: 30px 18px 34px;
}

.pv-stage.pv-clean { border-radius: 10px; }

.pv-text {
  font-family: var(--serif);
  color: #fff;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  display: block;
}

.pv-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pv-ink {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: pv-draw 4.5s ease-in-out infinite;
}

.pv-ink-b { animation-delay: 0.22s; }

@keyframes pv-draw {
  0% { stroke-dashoffset: 320; opacity: 1; }
  45% { stroke-dashoffset: 0; opacity: 1; }
  78% { stroke-dashoffset: 0; opacity: 1; }
  92% { opacity: 0; }
  100% { stroke-dashoffset: 320; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pv-ink { animation: none; stroke-dashoffset: 0; }
}

.pv-label {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.pv-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  flex: none;
}

.pv-link svg { width: 44px; }

.pv-link span {
  font: 700 10px var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- ownership ---------- */

.own {
  max-width: 1180px;
  margin: 96px auto 0;
  padding: 0 32px;
}

.own h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 26px; }

.own-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.own-grid h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }

.own-grid p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- pricing ---------- */

.pricing {
  max-width: 980px;
  margin: 100px auto 0;
  padding: 0 32px;
}

.pricing h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 26px; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-soon { border-color: rgba(240, 160, 48, 0.45); transition-delay: 0.1s; }

.price-badge {
  position: absolute;
  top: -11px;
  right: 22px;
  background: var(--ink);
  color: #181004;
  font: 700 11px var(--sans);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 4px 12px;
}

.price-card h3 { font-size: 22px; margin: 0; }

.price-ref { font-size: 13px; color: var(--muted); font-family: var(--sans); }

.price-amount {
  font-family: var(--serif);
  font-size: 46px;
  margin: 10px 0 2px;
}

.price-amount span { font-size: 16px; color: var(--muted); font-family: var(--sans); }

.price-tag { color: var(--muted); font-size: 14px; margin: 0 0 16px; }

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--text);
  font-size: 14.5px;
  flex: 1;
}

.price-card ul li::before {
  content: '—';
  color: var(--ink);
  margin-right: 9px;
}

.price-honest {
  color: var(--muted);
  font-size: 12.5px;
  margin: 12px 0 0;
}

/* ---------- faq ---------- */

.faq {
  max-width: 760px;
  margin: 100px auto 0;
  padding: 0 32px;
}

.faq h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 22px; }

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 0;
  font: 600 16px var(--sans);
  list-style: none;
  position: relative;
  padding-right: 32px;
}

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

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 16px;
  max-width: 64ch;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 110px;
  border-top: 1px solid var(--border);
  padding: 44px 32px 56px;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: #b9b4a9;
  line-height: 1.6;
}

.footer-meta a { color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; }
  .how-grid, .own-grid { grid-template-columns: 1fr; }
  .present { grid-template-columns: 1fr; gap: 32px; }
  .price-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
