/* Lampverse — site. Palette from docs/04: parchment #F6F1E7, ink #1F1B16, lamp amber #C9842B, olive #5B6B3A;
   dark base #15120E. Light first, dark via prefers-color-scheme. System fonts only: serif for Scripture, sans for UI.
   No JavaScript. Amber is decorative (buttons carry ink text); link text uses the darker --amber-ink (>= 4.5:1). */
:root {
  color-scheme: light dark;
  --bg: #F6F1E7; --bg-2: #EFE7D8; --card: #FFFDF8; --line: #E2D8C4;
  --ink: #1F1B16; --ink-2: #5C5347; --ink-3: #6B6153;
  --amber: #C9842B; --amber-ink: #8A5415; --amber-soft: rgba(201,132,43,0.14);
  --olive: #5B6B3A; --olive-soft: rgba(91,107,58,0.14);
  --max: 1040px; --gutter: 20px; --radius: 20px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15120E; --bg-2: #1C1813; --card: #201B15; --line: #352D23;
    --ink: #F6F1E7; --ink-2: #C9BFAE; --ink-3: #9C9282;
    --amber-ink: #E0A050; --amber-soft: rgba(201,132,43,0.18);
    --olive: #8FA463; --olive-soft: rgba(143,164,99,0.18);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--amber-ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .get:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* Top bar */
header.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav { display: flex; gap: 20px; align-items: center; }
nav a { color: var(--ink-2); font-size: 15px; text-decoration: none; }
nav a:hover { color: var(--ink); text-decoration: underline; }
.get { display: inline-block; color: #1F1B16; background: var(--amber); border-radius: 999px; padding: 8px 16px; font-weight: 600; text-decoration: none; }
.get:hover { background: #D8923A; text-decoration: none; }
@media (max-width: 640px) { nav a:not(.get) { display: none; } }

/* Hero */
.hero { padding: 56px 0 32px; background: radial-gradient(70% 60% at 80% 0%, var(--amber-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--amber-ink); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5.6vw, 58px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; max-width: 520px; }
.cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 10px 16px; text-decoration: none; line-height: 1.15; }
.badge:hover { text-decoration: none; opacity: 0.92; }
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; }
.badge b { display: block; font-size: 19px; font-weight: 600; }
.soon { color: var(--ink-3); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 12px; }

/* Lock Screen mock (CSS only) */
.mock { margin: 0; justify-self: center; width: 100%; max-width: 320px; }
.phone { background: linear-gradient(170deg, #2B2520, #15120E 70%); border-radius: 40px; padding: 34px 22px 44px; color: #F6F1E7; box-shadow: 0 30px 60px rgba(31,27,22,0.25); border: 6px solid #0C0A08; }
.phone .time { font-size: 64px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; margin: 0 0 4px; text-align: center; }
.phone .date { margin: 0 0 20px; text-align: center; font-size: 15px; color: #C9BFAE; }
.w { background: rgba(246,241,231,0.14); border-radius: 18px; padding: 12px 14px; }
.w-ref { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #E0A050; margin-bottom: 4px; }
.w-text { display: block; font-family: var(--serif); font-size: 16px; line-height: 1.35; }
.w-row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; margin-top: 10px; align-items: stretch; }
.w.circ { display: grid; place-items: center; padding: 8px; }
.ring { width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(#8FA463 0 13%, rgba(246,241,231,0.18) 13% 100%); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.ring span { background: #1C1813; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.mock figcaption { color: var(--ink-3); font-size: 13px; text-align: center; margin-top: 12px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .mock { max-width: 280px; } .phone .time { font-size: 54px; } }

/* Sections */
section { padding: 60px 0; }
section.tight { padding: 32px 0; }
section.alt { background: var(--bg-2); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.8vw, 40px); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 12px; }
.sub { color: var(--ink-2); font-size: 18px; max-width: 620px; margin: 0 0 30px; }

/* Verse showcase */
.verse { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; max-width: 760px; margin: 0 auto; }
.verse blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.4; }
.verse .ref { margin: 12px 0 0; color: var(--amber-ink); font-weight: 600; font-size: 14px; }
.verse .src { margin: 2px 0 0; color: var(--ink-3); font-size: 13px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--amber-soft); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ic svg { width: 22px; height: 22px; stroke: var(--amber-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.feature ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.feature li { margin: 4px 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan.plus { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber-soft); }
.plan .name { color: var(--ink-2); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 14px; line-height: 1.1; }
.plan .price small { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.plan .or { color: var(--ink-2); font-size: 15px; margin: -8px 0 14px; }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 6px 0; }
.plan .fine { color: var(--ink-3); font-size: 13px; margin: 16px 0 0; }
.promise { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 15px; }
.promise li::before { content: "— "; color: var(--amber-ink); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Privacy teaser, footer */
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; margin-bottom: 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--ink-3); font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
footer .links a { color: var(--ink-2); }
footer p { margin: 6px 0; }

/* Legal and support pages */
main.legal { max-width: 740px; margin: 0 auto; padding: 44px 0 72px; }
main.legal h1 { font-size: clamp(30px, 4.6vw, 42px); margin: 0 0 6px; }
main.legal .meta { color: var(--ink-3); margin: 0 0 22px; font-size: 14px; }
main.legal .summary { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 0 0 26px; }
main.legal .summary p { margin: 0; }
main.legal h2 { font-size: 22px; margin: 30px 0 8px; font-family: var(--sans); font-weight: 700; }
main.legal p, main.legal li { color: var(--ink-2); }
main.legal strong { color: var(--ink); }
main.legal ol, main.legal ul { padding-left: 22px; }
main.legal li { margin: 4px 0; }
