/* ============================================================
   Black & White Bible — landing page
   Distraction-free, monochromatic white-on-black.
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #060606;
  color: #ededeb;
  font-family: "Newsreader", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #ededeb; color: #060606; }

a { color: inherit; text-decoration: none; }
a:hover { color: #ffffff; }

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

/* Ensure the hidden attribute wins over display:flex/block rules below */
[hidden] { display: none !important; }

/* Sans-serif uppercase label */
.lbl {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 500;
}

/* Film grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: .05;
  mix-blend-mode: screen;
  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='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(#060606, #060606f2 70%, #06060600);
  backdrop-filter: blur(2px);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-size: 19px; font-weight: 500; letter-spacing: .01em; }
.amp { opacity: .4; }

.navlinks { display: flex; align-items: center; gap: 34px; }
.navlink { font-size: 11.5px; opacity: .62; }
.nav-cta {
  font-size: 11.5px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 9px 18px;
  opacity: .9;
}
.nav-cta:hover { border-color: #fff; background: #fff; color: #060606; }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 40px;
}
.hero-copy { animation: floatUp .8s ease both; }
.eyebrow { font-size: 12px; opacity: .5; margin-bottom: 26px; }
.hero-title {
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0 0 26px;
}
.em { font-style: italic; font-weight: 300; }
.hero-lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: rgba(237,237,235,.66);
  max-width: 30em;
  margin: 0 0 34px;
  font-weight: 300;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 440px;
}
.waitlist-input {
  flex: 1;
  min-width: 200px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: 18px;
  padding: 12px 2px;
  outline: none;
}
.waitlist-input::placeholder { color: rgba(237,237,235,.4); }
.btn-solid {
  font-size: 12px;
  background: #ededeb;
  color: #060606;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
}
.btn-solid:hover { background: #fff; }
.btn-solid:disabled { opacity: .6; cursor: default; }
.waitlist-success { font-size: 18px; color: #fff; margin: 6px 0; font-style: italic; }
.fineprint { font-size: 10.5px; opacity: .4; margin-top: 14px; }

/* ---------- Phone frames ---------- */
.phone { display: flex; justify-content: center; }
.hero-phone { animation: floatUp 1s .15s ease both; }

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1080 / 2424;
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(150deg, #242424, #000);
  box-shadow: 0 40px 80px -25px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.07);
}
.phone-frame--lg {
  max-width: 300px;
  box-shadow: 0 50px 90px -25px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.07);
}
.phone-frame--sm {
  max-width: none;
  border-radius: 28px;
  padding: 7px;
  background: linear-gradient(150deg, #202020, #000);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
}
.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}
.phone-frame--sm .phone-screen { border-radius: 22px; }
.phone-screen--top { object-position: top; }

/* ---------- PHILOSOPHY / MANIFESTO ---------- */
.band {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.manifesto { margin-top: 40px; }
.manifesto-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 110px 28px;
  text-align: center;
}
.manifesto-eyebrow { opacity: .45; margin-bottom: 40px; }
.manifesto-text {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.32;
  font-weight: 300;
  letter-spacing: -.01em;
  margin: 0;
}
.muted { color: rgba(237,237,235,.42); }

/* ---------- FEATURE ROWS ---------- */
.row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 120px 0;
}
.row--reverse {
  grid-template-columns: 1.1fr .9fr;
  border-top: 1px solid rgba(255,255,255,.08);
}
.row-eyebrow { font-size: 11.5px; opacity: .45; margin-bottom: 22px; }
.row-title {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 0 0 20px;
}
.row-body {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(237,237,235,.6);
  max-width: 34em;
  font-weight: 300;
}

/* ---------- VERSE SHOWCASE ---------- */
.verse-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 130px 28px;
  text-align: center;
}
.verse-text {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.25;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -.01em;
  margin: 0 0 28px;
}
.verse-ref { font-size: 12px; opacity: .45; }

/* ---------- FEATURE TRIO ---------- */
.trio-section { padding: 120px 0 40px; }
.trio-eyebrow { font-size: 11.5px; opacity: .45; margin-bottom: 14px; }
.trio-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 0 0 66px;
  max-width: 16em;
  line-height: 1.08;
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}
.trio-item { display: flex; flex-direction: column; gap: 22px; }
.trio-item-title { font-size: 22px; font-weight: 500; margin: 0 0 8px; }
.trio-item-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(237,237,235,.55);
  font-weight: 300;
  margin: 0;
}

/* ---------- WAITLIST CTA ---------- */
.cta {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 80px;
}
.cta-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 130px 28px;
  text-align: center;
}
.cta-logo { width: 56px; height: 56px; margin: 0 auto 34px; opacity: .95; }
.cta-title {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.02;
  margin: 0 0 22px;
}
.cta-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(237,237,235,.6);
  font-weight: 300;
  margin: 0 auto 40px;
  max-width: 32em;
}
.waitlist-form--center {
  max-width: 460px;
  margin: 0 auto;
  justify-content: center;
}
.waitlist-input--center {
  min-width: 220px;
  font-size: 19px;
  text-align: center;
  border-bottom-color: rgba(255,255,255,.3);
}
.btn-solid--lg { padding: 15px 30px; }
.waitlist-success--lg { font-size: 20px; margin: 0; }

/* Store badges (placeholder — "coming soon" dimmed) */
.badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 12px 22px;
  opacity: .5;
}
.badge:hover { border-color: #fff; opacity: 1; }
.badge-icon { width: 22px; height: 22px; fill: #ededeb; }
.badge-icon--play { width: 20px; height: 20px; }
.badge-text { text-align: left; }
.badge-top { font-size: 8.5px; opacity: .55; display: block; }
.badge-store { font-size: 17px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 26px; height: 26px; opacity: .8; }
.footer-name { font-size: 11px; opacity: .5; }
.footer-meta { font-size: 10.5px; opacity: .35; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 40px;
  }
  .hero .hero-phone { order: -1; }
  .row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 0;
  }
  .row .row-phone { order: -1; }
  .trio {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .navlinks { gap: 18px; }
  .navtext { display: none; }
}

@media (max-width: 520px) {
  .trio {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .hero-phone { animation: none; }
}
