/* Adventist Life — the website. The app's own colours: deep navy, amber. */
:root {
  --navy: #0A1628;
  --navy-2: #0F223D;
  --navy-3: #102E50;
  --line: #1E3A5F;
  --text: #E9ECEF;
  --muted: #A9BCD0;
  --faint: #7C90A8;
  --amber: #F4A261;
  --gold: #E8C66B;
  --on-amber: #0A1628;
  --radius: 18px;
  --wrap: 1120px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--navy); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #FFC98F; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--on-amber); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(10, 22, 40, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: 0.2px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--navy-2); }
.nav .cta { color: var(--on-amber); background: var(--amber); margin-left: 6px; }
.nav .cta:hover { background: #FFB87D; color: var(--on-amber); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-weight: 700; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .nav { position: absolute; right: 20px; top: 62px; flex-direction: column; align-items: stretch; min-width: 220px; padding: 10px; background: var(--navy-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
@media (max-width: 820px) {
  .site-header .wrap > .nav { display: none; }
  .menu { display: block; }
}

/* ── Type ───────────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.2px; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.2vw, 46px); }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0 0 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

/* ── Sections ───────────────────────────────────────────────────── */
section { padding: 88px 0; }
section + section { border-top: 1px solid rgba(30, 58, 95, 0.6); }
.hero { padding: 96px 0 88px; background: radial-gradient(80% 90% at 85% 10%, rgba(244, 162, 97, 0.16), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(16, 46, 80, 0.9), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: #FFB87D; color: var(--on-amber); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--navy-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--amber); }
.btn[aria-disabled="true"] { opacity: 0.75; cursor: default; }
.hero-card { position: relative; border-radius: 28px; padding: 3px; background: linear-gradient(145deg, #F4DE9B, #C99A2E 40%, #8C6A1A 70%, #E7C871); }
.hero-card .inner { border-radius: 25px; background: linear-gradient(180deg, #13294A, #0A1628); padding: 34px 28px; display: flex; flex-direction: column; gap: 18px; }
.hero-card img { width: 76px; height: 76px; }
.verse { font-family: var(--serif); font-size: 26px; line-height: 1.3; font-style: italic; color: var(--text); margin: 0; }
.verse cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: 1.2px; color: var(--gold); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 700; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(16, 46, 80, 0.5); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14.5px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(244, 162, 97, 0.12); color: var(--amber); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 46, 80, 0.55), rgba(10, 22, 40, 0.2)); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--on-amber); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; color: var(--muted); }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: rgba(244, 162, 97, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4A261' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ticks strong { color: var(--text); }

.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--navy-2); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--amber); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

.band { text-align: center; background: radial-gradient(70% 120% at 50% 0%, rgba(244, 162, 97, 0.14), transparent 70%); }
.band .lead { margin: 0 auto; }
.band .actions { justify-content: center; }

/* ── Long pages (guide, legal) ─────────────────────────────────── */
.page-head { padding: 64px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 100% 0%, rgba(244, 162, 97, 0.10), transparent 70%); }
.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 44px 0 80px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; gap: 24px; } }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--navy-2); }
@media (max-width: 900px) { .toc { position: static; max-height: none; } }
.toc p { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); font-weight: 800; margin: 4px 6px 8px; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 7px 8px; border-radius: 8px; }
.toc a:hover { color: var(--text); background: rgba(16, 46, 80, 0.8); }
.prose { max-width: 760px; }
.prose section { padding: 0 0 34px; border: 0; scroll-margin-top: 90px; }
.prose h2 { font-size: 34px; }
.prose ul { padding-left: 22px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose p { color: var(--muted); }
.prose .note { border: 1px solid var(--line); border-left-width: 1px; background: var(--navy-2); border-radius: 14px; padding: 16px 18px; color: var(--muted); }
.lang { font-size: 14px; font-weight: 700; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--faint); font-size: 14.5px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--text); font-size: 14px; margin: 0 0 10px; letter-spacing: 0.4px; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--amber); }
.legal-line { grid-column: 1 / -1; border-top: 1px solid rgba(30, 58, 95, 0.6); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
