:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --paper-soft: #fbf9f4;
  --ink: #1c2925;
  --muted: #66716c;
  --line: #d9d6cc;
  --forest: #214f42;
  --forest-strong: #173a31;
  --sage: #dce7df;
  --amber: #b76d3b;
  --amber-soft: #f2dfcf;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(31, 47, 41, .09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151b19;
  --paper-soft: #1c2421;
  --ink: #eef1eb;
  --muted: #a8b2ad;
  --line: #34413c;
  --forest: #9ac8b8;
  --forest-strong: #c3e4d8;
  --sage: #263a33;
  --amber: #e1a478;
  --amber-soft: #412f25;
  --white: #202925;
  --shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: fit-content; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--forest); border-radius: 50%; color: var(--forest); font: 700 12px/1 var(--font-sans); letter-spacing: .08em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: .92rem; letter-spacing: .01em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.primary-nav { display: flex; gap: 28px; font-size: .86rem; font-weight: 650; }
.primary-nav a { text-decoration: none; color: var(--muted); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-control select {
  min-height: 42px;
  max-width: 116px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.language-control select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }

.progress-region { width: min(760px, calc(100% - 40px)); margin: 22px auto 0; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.progress-track { height: 3px; margin-top: 9px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--amber); transition: width .45s ease; }

main { min-height: calc(100vh - 190px); }
.screen { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: clamp(58px, 8vw, 110px) 0 88px; animation: arrive .45s ease both; }
.screen.narrow { width: min(760px, calc(100% - 32px)); }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: end; gap: clamp(40px, 8vw, 110px); min-height: 610px; padding-top: clamp(50px, 7vw, 90px); }
.hero-copy { align-self: center; }
.immersive-hero { position: relative; display: grid; align-items: end; width: min(1180px, calc(100% - 32px)); min-height: min(760px, calc(100vh - 110px)); margin-top: 18px; padding: clamp(34px, 7vw, 76px); overflow: hidden; border-radius: clamp(22px, 4vw, 38px); background-position: center; background-size: cover; color: #fff; isolation: isolate; }
.welcome-art { background-image: url("../assets/artwork/life-path.webp"); }
.gospel-turn-art { background-image: url("../assets/artwork/gospel-light.webp"); }
.immersive-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 22, 18, .88) 0%, rgba(12, 22, 18, .56) 46%, rgba(12, 22, 18, .08) 100%); }
.gospel-turn-art .immersive-overlay { background: linear-gradient(90deg, rgba(5, 10, 9, .93) 0%, rgba(10, 18, 15, .62) 45%, rgba(10, 18, 15, .06) 100%); }
.immersive-copy { max-width: 710px; }
.immersive-copy h1 { color: #fff; text-wrap: balance; }
.immersive-copy .lead { color: rgba(255,255,255,.84); font-size: clamp(1.1rem, 2.3vw, 1.42rem); }
.immersive-copy .eyebrow { color: #f0bd91; }
.button-light { background: #f8f4ea; color: #173a31; }
.button-light:hover { background: #fff; }
.privacy-inline { margin: 24px 0 0; color: rgba(255,255,255,.68); font-size: .78rem; letter-spacing: .04em; }
.immersive-continue { display: block; margin-top: 14px; color: #fff; }
.visual-screen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; gap: clamp(34px, 7vw, 88px); min-height: 700px; }
.visual-reverse .journey-art { order: 2; }
.journey-art { position: relative; min-height: 480px; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--sage); box-shadow: var(--shadow); }
.journey-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.visual-copy .scripture-card { margin-top: 28px; }
.short-lines { margin: 28px 0 0; }
.short-lines p { margin: 0; font: 400 clamp(1.35rem, 3vw, 2.15rem)/1.35 var(--font-display); }
.short-lines p + p { margin-top: 7px; }
.gentle-note { margin: 22px 0 0; color: var(--muted); }
.reflection.compact { margin-top: 30px; padding: 24px 26px; }
.reflection.compact h3 { font-size: 1.45rem; }
.law-art { height: 170px; margin: 0 0 16px; overflow: hidden; border-radius: var(--radius-md); }
.law-art img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.eyebrow { margin: 0 0 22px; color: var(--amber); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
h1[tabindex="-1"]:focus { outline: none; }
h1 { max-width: 820px; margin: 0; font-size: clamp(3.35rem, 8vw, 7.35rem); }
h2 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.7rem); }
h3 { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.lead { max-width: 680px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.28rem); line-height: 1.75; }
.hero-card { position: relative; margin-bottom: 24px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft); box-shadow: var(--shadow); }
.hero-card::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 32px; border-radius: 99px; background: var(--amber); }
.hero-card p { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; }
.privacy-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.privacy-list li::before { content: "✓"; margin-right: 10px; color: var(--forest); font-weight: 800; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: var(--paper-soft); font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
[data-theme="dark"] .button { color: #14201c; }
.button:hover { transform: translateY(-2px); background: var(--forest-strong); }
.button-secondary { background: transparent; color: var(--forest); border-color: var(--line); }
.button-secondary:hover { color: var(--paper-soft); border-color: var(--forest-strong); }
.button-small { min-height: 38px; padding: 0 16px; font-size: .78rem; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.microcopy { margin: 15px 0 0; color: var(--muted); font-size: .8rem; }

.question-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(36px, 8vw, 92px); align-items: start; }
.question-number { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: .78rem; }
.question-title { max-width: 780px; font-size: clamp(2.8rem, 6.2vw, 5.8rem); }
.question-intro { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 1.05rem; }
.question-scripture { max-width: 680px; margin: 0 0 34px; }
.question-scripture .scripture-card { background: var(--sage); border-color: transparent; }
.question-scripture .scripture-card blockquote { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
.answer-list { display: grid; gap: 12px; margin-top: 38px; }
.answer-button { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-soft); color: var(--ink); font-weight: 700; text-align: left; cursor: pointer; }
.answer-button::after { content: "→"; color: var(--amber); font-size: 1.2rem; }
.answer-button:hover, .answer-button.selected { border-color: var(--forest); background: var(--sage); }
.question-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.scripture-card, .note-card, .content-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-soft); }
.scripture-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.6; }
.scripture-card cite { display: block; margin-top: 17px; color: var(--amber); font: 800 .7rem/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.note-card strong { display: block; margin-bottom: 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.note-card p { margin: 0; color: var(--muted); font-size: .92rem; }
details { border-top: 1px solid var(--line); }
summary { padding: 18px 0; font-weight: 750; cursor: pointer; }
details p { margin-top: 0; color: var(--muted); }

.section-header { max-width: 850px; margin-bottom: 46px; }
.section-header .lead { max-width: 760px; }
.chapter-label { display: flex; align-items: center; gap: 14px; margin-bottom: 27px; color: var(--amber); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.chapter-label::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-card { min-height: 190px; }
.content-card .card-kicker { display: block; margin-bottom: 24px; color: var(--amber); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.content-card p { color: var(--muted); }
.content-card p:last-child { margin-bottom: 0; }
.content-card.accent { background: var(--forest); color: var(--paper-soft); border-color: var(--forest); }
.content-card.accent p, .content-card.accent .card-kicker { color: var(--paper-soft); opacity: .83; }
.verse-details { margin-top: 18px; }
.verse-details summary { color: var(--forest); }
.reflection { margin: 46px 0 0; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg); background: var(--amber-soft); }
.reflection h3 { margin-bottom: 14px; }
.reflection p { max-width: 760px; color: var(--muted); }

.summary-list { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.summary-list li { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.summary-list span { color: var(--muted); }
.summary-list strong { font-size: .82rem; }
.callout { margin-top: 28px; padding: 26px; border-left: 3px solid var(--amber); background: var(--paper-soft); }
.callout p { margin: 0; }

.self-assessment-screen { padding-top: clamp(54px, 8vw, 92px); }
.verdict-card { padding: clamp(30px, 6vw, 62px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft); box-shadow: var(--shadow); }
.verdict-card.verdict-yes { border-top: 5px solid var(--amber); }
.verdict-card h1 { max-width: 680px; font-size: clamp(2.65rem, 6vw, 5rem); }
.verdict-card .lead { max-width: 640px; }
.not-judging-note { margin: 22px 0; padding: 24px 26px; border-radius: var(--radius-md); background: var(--sage); }
.not-judging-note strong { display: block; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; }
.not-judging-note p { margin: 8px 0 0; color: var(--muted); }
.invitation-screen { padding-top: clamp(70px, 12vw, 140px); }
.secondary-actions { margin-top: 22px; }
.judgment-question { margin-top: 38px; padding: clamp(28px, 6vw, 54px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft); box-shadow: var(--shadow); }
.judgment-question h2 { max-width: 720px; font-size: clamp(2rem, 4.5vw, 3.7rem); }
.judgment-question .answer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.faith-screen { padding-top: clamp(48px, 8vw, 90px); }
.faith-step-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 34px; }
.faith-letter { display: grid; place-items: center; flex: 0 0 auto; width: clamp(82px, 15vw, 132px); height: clamp(82px, 15vw, 132px); border-radius: 50%; background: var(--forest); color: var(--paper-soft); font: 400 clamp(3rem, 8vw, 6rem)/1 var(--font-display); }
[data-theme="dark"] .faith-letter { color: #14201c; }
.faith-step-heading .chapter-label { margin-bottom: 12px; }
.faith-spelling { display: flex; gap: 12px; margin: 0; color: var(--muted); font-size: .85rem; font-weight: 800; letter-spacing: .14em; }
.faith-spelling span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.faith-spelling span.active { background: var(--amber-soft); color: var(--amber); }
.faith-outline { display: grid; gap: 18px; margin-top: 34px; }
.faith-outline-copy { margin: 0; padding: 24px 26px; border-left: 4px solid var(--amber); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--paper-soft); font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.7; }
.faith-outline-heading { margin: 22px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--amber); font: 800 .82rem/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.faith-outline > .scripture-card { background: var(--sage); border-color: transparent; }
.faith-question-card { padding: clamp(26px, 5vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft); }
.faith-question-card .eyebrow { margin-bottom: 12px; }
.faith-question-card p { margin: 0; font: 400 clamp(1.45rem, 3.5vw, 2.35rem)/1.25 var(--font-display); }
.faith-answer { margin: -6px 0 4px; padding: 14px 20px; border-radius: var(--radius-md); background: var(--amber-soft); color: var(--ink); }
.faith-principle { display: grid; grid-template-columns: 100px 1fr; align-items: stretch; gap: 16px; }
.faith-principle > h3 { display: grid; place-items: center; min-height: 100%; padding: 18px; border-radius: var(--radius-md); background: var(--forest); color: var(--paper-soft); font: 800 .82rem/1.4 var(--font-sans); letter-spacing: .12em; }
[data-theme="dark"] .faith-principle > h3 { color: #f6f2e9; }
.faith-principle .scripture-card { min-height: 100%; }
.faith-scripture { margin-bottom: 34px; }
.faith-scripture .scripture-card { background: var(--sage); border-color: transparent; }
.faith-explanation { min-height: 0; padding: clamp(26px, 5vw, 42px); }
.faith-explanation > p { margin-top: 0; font-size: 1.06rem; line-height: 1.8; }
.faith-supporting-verses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.faith-supporting-verses .scripture-card { min-height: 100%; }
.faith-declaration { margin-top: 24px; padding: clamp(30px, 6vw, 54px); border-radius: var(--radius-lg); background: var(--forest); color: var(--paper-soft); text-align: center; }
[data-theme="dark"] .faith-declaration { color: #f6f2e9; }
.faith-declaration span { font-size: .74rem; font-weight: 800; letter-spacing: .26em; }
.faith-declaration h2 { margin-top: 18px; font-size: clamp(2rem, 5vw, 4rem); }
.faith-declaration p { max-width: 600px; margin: 18px auto 0; opacity: .78; }
.gospel-screen { width: min(1040px, calc(100% - 32px)); }
.gospel-layout { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(34px, 7vw, 82px); }
.gospel-art { min-height: 560px; }
.gospel-art img { object-position: 62% center; }
.gospel-copy h1 { font-size: clamp(3rem, 6.8vw, 6.2rem); }
.gospel-points { display: grid; gap: 10px; margin-top: 28px; }
.gospel-points p { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: var(--muted); }
.gospel-points span { color: var(--amber); font-weight: 900; }
.courtroom-card { margin-top: 28px; padding: 24px 26px; border-radius: var(--radius-md); background: var(--forest); color: var(--paper-soft); }
[data-theme="dark"] .courtroom-card { color: #f6f2e9; }
.courtroom-card p { margin: 8px 0 0; opacity: .83; }
.gospel-verses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 34px; }
.gospel-verses .scripture-card { min-height: 100%; }
.response-screen { width: min(1040px, calc(100% - 32px)); }
.response-art img { object-position: center; }
.response-cards { display: grid; gap: 12px; margin-top: 30px; }
.response-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-soft); }
.response-card h2 { margin: 0; font: 700 clamp(1.35rem, 2.3vw, 1.8rem)/1.2 var(--font-display); }
.response-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }
.response-note { margin-top: 18px; padding: 22px 24px; border-radius: var(--radius-md); background: var(--forest); color: var(--paper-soft); }
[data-theme="dark"] .response-note { color: #f6f2e9; }
.response-note p { margin: 8px 0 0; opacity: .84; }
.response-verses { margin-top: clamp(34px, 6vw, 58px); }
.invitation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 38px; }
.invitation-grid .content-card { min-height: 0; }
.private-prayer { margin-top: 38px; padding: clamp(30px, 6vw, 54px); border-radius: var(--radius-lg); background: var(--sage); }
.private-prayer .eyebrow { margin-bottom: 14px; }
.private-prayer h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
.private-prayer > p:not(.eyebrow) { color: var(--muted); }

.search-bar { display: flex; gap: 10px; margin: 32px 0; }
.search-input, .journal-textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-soft); color: var(--ink); }
.search-input { height: 52px; padding: 0 18px; }
.verse-list { display: grid; gap: 14px; }
.verse-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-soft); }
.verse-row h3 { font: 800 .8rem/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
.verse-row p { margin: 12px 0 0; color: var(--muted); }
.bookmark-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.bookmark-button.saved { background: var(--amber-soft); border-color: var(--amber); }
.journal-textarea { min-height: 290px; padding: 20px; resize: vertical; line-height: 1.7; }
.journal-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; color: var(--muted); font-size: .78rem; }

.next-step-list { counter-reset: steps; display: grid; gap: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.next-step { counter-increment: steps; display: grid; grid-template-columns: 60px 1fr auto; align-items: start; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.next-step::before { content: "0" counter(steps); color: var(--amber); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.next-step p { margin: 6px 0 0; color: var(--muted); }
.step-arrow { color: var(--muted); }
.share-panel { text-align: center; padding: clamp(42px, 8vw, 88px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft); }
.share-panel h1 { max-width: 760px; margin: 0 auto; font-size: clamp(2.7rem, 6vw, 5rem); }
.share-panel .lead { margin-left: auto; margin-right: auto; }
.share-panel .actions { justify-content: center; }

.site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 22px; color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .8rem; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading-state { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 100px 0; }
.loading-state h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.noscript { margin: 20px; padding: 20px; border: 2px solid var(--amber); }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 76px; }
  .brand-copy, .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-card { margin-bottom: 0; }
  .question-wrap { grid-template-columns: 1fr; }
  .question-aside { position: static; }
  .card-grid.three { grid-template-columns: 1fr; }
  .visual-screen, .gospel-layout { grid-template-columns: 1fr; min-height: auto; }
  .visual-reverse .journey-art { order: 0; }
  .journey-art, .gospel-art { min-height: min(62vw, 470px); }
}
@media (max-width: 620px) {
  .language-control select { max-width: 98px; min-height: 40px; padding-left: 10px; }
  .screen { width: min(100% - 24px, 1100px); padding-top: 48px; }
  .hero { gap: 38px; }
  .card-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .next-step { grid-template-columns: 38px 1fr; }
  .step-arrow { display: none; }
  .search-bar { flex-direction: column; }
  .search-bar .button { width: 100%; }
  .verdict-card { padding: 26px 22px; }
  .judgment-question .answer-list { grid-template-columns: 1fr; }
  .faith-step-heading { align-items: flex-start; }
  .faith-step-heading .chapter-label::before { display: none; }
  .faith-supporting-verses { grid-template-columns: 1fr; }
  .faith-principle { grid-template-columns: 1fr; }
  .faith-principle > h3 { min-height: auto; place-items: start; }
  .immersive-hero { width: calc(100% - 20px); min-height: calc(100svh - 98px); margin-top: 10px; padding: 28px 22px; background-position: 58% center; }
  .immersive-overlay { background: linear-gradient(0deg, rgba(10, 18, 15, .92) 0%, rgba(10, 18, 15, .6) 56%, rgba(10, 18, 15, .12) 100%); }
  .immersive-copy h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .visual-screen { padding-top: 30px; }
  .journey-art, .gospel-art { min-height: 56vw; border-radius: 20px; }
  .invitation-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .progress-region, .actions, .bookmark-button, .search-bar, .toast { display: none !important; }
  :root { --paper: #fff; --paper-soft: #fff; --ink: #111; --muted: #333; --line: #ccc; }
  .screen { width: 100%; padding: 0; }
  .content-card, .scripture-card, .note-card { break-inside: avoid; box-shadow: none; }
  h1 { font-size: 38pt; }
}
