/* Luminverse website: a dark page in the logo's colours. Charcoal and near-black, warm cream text,
   gold for accents; Outfit for headings like the logo, EB Garamond for Scripture. */
:root {
  --bg: #121211;
  --bg-2: #1b1b19;
  --card: #1f1f1d;
  --ink: #f1efe8;
  --muted: #a9a69c;
  --faint: #6f6c64;
  --line: #2f2e2b;
  --gold: #ba7517;
  --rays: #ef9f27;
  --glow: rgba(239, 159, 39, 0.16);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 'Outfit', -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rays); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.logo-light { display: none; }

/* Top bar: hidden at first, it takes the logo once the opening animation hands it over. */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: 68px;
  background: rgba(18, 18, 17, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.topbar.solid { border-bottom-color: var(--line); }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .brand { display: block; opacity: 0; transition: opacity .25s; }
.topbar.has-logo .brand { opacity: 1; }
.topbar .brand img { height: 44px; width: auto; }
.topbar nav { display: flex; align-items: center; gap: 24px; font-size: 15px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
.topbar.has-logo nav { opacity: 1; transform: none; }
.topbar nav a { color: var(--ink); text-decoration: none; }
.topbar nav a:hover { color: var(--rays); }
@media (max-width: 680px) { .topbar nav .hide-small { display: none; } .topbar .brand img { height: 36px; } }

.button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: #161514 !important;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 30px var(--glow); }
.button.gold { background: linear-gradient(180deg, #f2ad3e, #d48a1f); color: #2a1a05 !important; }
.button.small { padding: 8px 16px; font-size: 14px; }
.button.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }

/* The opening: a tall section whose height is the length of the scroll that plays the animation. */
.intro { position: relative; height: 320vh; }
.stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(60% 50% at 50% 55%, #22201c 0%, var(--bg) 70%);
}
.stage::after {
  /* A warm light that grows as the rays appear */
  content: ''; position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  opacity: var(--light, 0); pointer-events: none;
}
#logo-anim { width: min(86vw, 760px); aspect-ratio: 2 / 1; transform-origin: 0 0; will-change: transform; position: relative; z-index: 1; }
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  transition: opacity .3s;
}
.scroll-hint .line { width: 1px; height: 46px; background: linear-gradient(var(--rays), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Content, which fades in as it comes into view */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.shown { opacity: 1; transform: none; }

.hero { padding: 40px 0 30px; text-align: center; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--rays); margin: 0 0 14px; }
.hero h1 { font-weight: 300; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; margin: 0 auto; max-width: 14ch; letter-spacing: -1px; }
.hero h1 strong { font-weight: 600; background: linear-gradient(90deg, #f2ad3e, #ba7517); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 42ch; margin: 22px auto 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.note { font-size: 14px; color: var(--faint); margin-top: 16px; }

.phones { display: flex; justify-content: center; align-items: center; gap: 26px; padding: 60px 0 30px; }
.phone {
  width: 250px; aspect-ratio: 1206 / 2622; border-radius: 42px; padding: 9px;
  background: linear-gradient(145deg, #3a3935, #0c0c0b);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px #2c2b28 inset;
}
.phone:nth-child(2) { width: 290px; box-shadow: 0 30px 90px rgba(0,0,0,.65), 0 0 60px var(--glow); }
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #161514; display: flex; flex-direction: column; }
.phone .status { position: relative; flex: none; height: 9%; display: flex; align-items: center; justify-content: space-between; padding: 0 10% 0 12%; color: #f1efe8; font-size: 12px; font-weight: 600; }
.phone .status i { position: absolute; left: 50%; top: 22%; width: 32%; height: 52%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.phone .status b { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid #f1efe8; position: relative; }
.phone .status b::after { content: ''; position: absolute; inset: 1.5px 3px 1.5px 1.5px; background: #f1efe8; border-radius: 1px; }
.phone .screen img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.phone .placeholder { text-align: center; color: var(--faint); font-size: 14px; }
.phone .placeholder img { width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 16px; object-fit: contain; }
@media (max-width: 760px) { .phone { width: 200px; } .phone:nth-child(2) { width: 230px; } .phone:nth-child(1), .phone:nth-child(3) { display: none; } }

section { padding: 100px 0; }
h2 { font-weight: 300; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.5px; }
h2 strong { font-weight: 600; }
.section-lede { color: var(--muted); max-width: 54ch; margin: 0 0 44px; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feature {
  background: linear-gradient(180deg, var(--card), #191917); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px; transition: border-color .3s, transform .3s;
}
.feature:hover { border-color: #4a3b22; transform: translateY(-2px); }
.feature .icon { width: 46px; height: 46px; border-radius: 14px; background: #2a2418; color: var(--rays); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { border-radius: 20px; padding: 30px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.plan::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; }
.plan:nth-child(1) { background: #1f1d18; } .plan:nth-child(1)::before { background: #c9a86a; }
.plan:nth-child(2) { background: #241a18; } .plan:nth-child(2)::before { background: #d9826f; }
.plan:nth-child(3) { background: #182024; } .plan:nth-child(3)::before { background: #7fa3b5; }
.plan .meta { font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--faint); }
.plan h3 { font-family: 'EB Garamond', Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.12; margin: 16px 0 12px; }
.plan p { margin: 0; color: var(--muted); font-size: 16px; }

.verse { padding: 130px 0; text-align: center; background: radial-gradient(50% 60% at 50% 50%, #1f1c16, var(--bg)); }
.verse blockquote { font-family: 'EB Garamond', Georgia, serif; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.22; margin: 0 auto; max-width: 20ch; }
.verse cite { display: block; font-style: normal; color: var(--rays); margin-top: 22px; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; }

.join { text-align: center; }
.join .section-lede { margin: 0 auto 32px; }

/* Plain pages (support) */
.page { max-width: 740px; margin: 0 auto; padding: 120px 22px 90px; }
.page h1 { font-weight: 300; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.5px; }
.page h2 { font-size: 24px; font-weight: 600; margin: 46px 0 6px; }
.page .lede { color: var(--muted); font-size: 18px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; color: var(--rays); font-weight: 300; font-size: 24px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p, details ul { color: var(--muted); margin: 12px 0 0; }
.contact { margin-top: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.topbar.static .brand, .topbar.static nav { opacity: 1; transform: none; }

.site-foot { border-top: 1px solid var(--line); padding: 40px 0 52px; font-size: 14px; color: var(--faint); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-foot nav { display: flex; gap: 22px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--rays); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint .line { animation: none; }
}

/* Bible and Spirit of Prophecy, side by side */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.together .section-lede { margin-bottom: 18px; }
.pair { display: grid; gap: 14px; }
.pair-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; }
.pair-card.ellen { margin-left: 34px; border-color: #3d321f; background: linear-gradient(180deg, #221e17, #1b1a17); }
.pair-card .meta { font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--faint); }
.pair-card p { font-family: 'EB Garamond', Georgia, serif; font-size: 22px; line-height: 1.45; margin: 12px 0 10px; }
.pair-card .red { color: #e0796f; }
.pair-card .ref { font-size: 14px; color: var(--rays); }

/* Make it yours */
.yours .phone.single { width: 300px; justify-self: center; box-shadow: 0 30px 90px rgba(0,0,0,.65), 0 0 60px var(--glow); }
@media (max-width: 860px) { .yours .phone.single { width: 240px; display: block; order: 2; } }
.specs { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.specs li { display: grid; gap: 2px; padding-left: 22px; position: relative; }
.specs li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--rays); box-shadow: 0 0 12px var(--rays); }
.specs strong { font-weight: 600; font-size: 18px; }
.specs span { color: var(--muted); font-size: 16px; }

.plan.coming { background: transparent; border-style: dashed; border-color: #4a3b22; }
.plan.coming::before { background: linear-gradient(90deg, #f2ad3e, #ba7517); }
.plan.coming h3 { color: var(--rays); }
