/* johnmombay.com public design system
   Tokens from design doc section 12. Light is the base; dark applies via prefers-color-scheme
   (when no explicit choice) or html[data-theme="dark"]. Contrast pairs verified to WCAG 2.2 AA. */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --surface-2: #F4F0E8;
  --warm: #FBF7EE;
  --band: #0F1E3D;
  --band-line: #24365A;
  --text: #1A2233;
  --text-muted: #4A5568;
  --on-band: #FFFFFF;
  --on-band-muted: #C9D1E0;
  --primary: #1E3A8A;
  --primary-hover: #172E6E;
  --on-primary: #FFFFFF;
  --link: #1E3A8A;
  --gold: #D4AF37;
  --gold-hover: #E6C65C;
  --gold-text: #7D6000;
  --on-gold: #0B1426;
  --border: #E5E1D8;
  --focus: #1E3A8A;
  --danger: #A12A2A;
  --success: #2F7D4F;

  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-read: "Source Serif 4", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1280px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1426; --surface: #14213D; --surface-2: #101B33; --warm: #1A2438;
    --band: #0F1E3D; --band-line: #24365A;
    --text: #E6E9F0; --text-muted: #A3ADC2;
    --primary: #2F55C8; --primary-hover: #3B63D6; --link: #7FA2F5;
    --gold-text: #D4AF37; --border: #24365A; --focus: #D4AF37;
    --danger: #F0A8A8; --success: #5FBF8F;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0B1426; --surface: #14213D; --surface-2: #101B33; --warm: #1A2438;
  --band: #0F1E3D; --band-line: #24365A;
  --text: #E6E9F0; --text-muted: #A3ADC2;
  --primary: #2F55C8; --primary-hover: #3B63D6; --link: #7FA2F5;
  --gold-text: #D4AF37; --border: #24365A; --focus: #D4AF37;
  --danger: #F0A8A8; --success: #5FBF8F;
  color-scheme: dark;
}

/* Faith pages: warmer ground, serif headings, gold used more. */
body[data-section="faith"] { --bg: var(--warm); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Honeypot: off-screen rather than display:none, which some bots check for. */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-alt { background: var(--surface-2); }

/* ---- Typography -------------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0; color: inherit; }
h1 { font-size: clamp(36px, 5vw, 62px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.3; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.band .eyebrow { color: var(--gold); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--text-muted); max-width: 64ch; }
.band .lead { color: var(--on-band-muted); }
.muted { color: var(--text-muted); }
.serif { font-family: var(--font-read); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin-top: 8px; }
.section-link { font-weight: 700; color: var(--link); }

/* ---- Header ------------------------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--band); border-bottom: 1px solid var(--band-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-band); }
.brand:hover { text-decoration: none; }
.monogram { width: 36px; height: 36px; border: 1.5px solid var(--gold); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; color: var(--gold); flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav a { color: #E6E9F0; font-weight: 500; font-size: 15px; padding: 6px 0; }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom: 2px solid var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--band-line); background: transparent; color: #E6E9F0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.06); }
.menu-toggle { display: none; }
.theme-icon-auto, .theme-icon-light, .theme-icon-dark { display: none; }
:root:not([data-theme]) .theme-icon-auto,
:root[data-theme="light"] .theme-icon-light,
:root[data-theme="dark"] .theme-icon-dark { display: inline; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--band); border-bottom: 1px solid var(--band-line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { display: block; padding: 12px 0; font-size: 17px; }
  .header-actions .btn-subscribe { display: none; }
}

/* ---- Buttons ---------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-family: var(--font-ui); font-size: 16px; font-weight: 700; border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s ease, border-color .15s ease; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--link); border-color: var(--primary); }
.band .btn-outline, .btn-outline-gold { color: var(--on-band); border-color: var(--gold); background: transparent; }
.btn-ghost { background: transparent; color: var(--link); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Band (navy hero areas) ------------------------------------------------------------------ */
.band { background: var(--band); color: var(--on-band); }
.band h1, .band h2 { color: var(--on-band); }

.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-photo { position: relative; justify-self: end; width: min(100%, 440px); aspect-ratio: 416 / 516; }
.hero-photo::before { content: ""; position: absolute; inset: 24px -0px -24px 24px; border: 1.5px solid var(--gold); border-radius: 20px; }
.hero-photo img { position: relative; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; object-position: center 30%; border-radius: 20px; }
.hero-photo.arch::before, .hero-photo.arch img { border-radius: 200px 200px 20px 20px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--band-line); padding-top: 32px; margin-top: clamp(36px, 5vw, 56px); }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 40px); color: var(--gold); line-height: 1.1; }
.stat-label { font-size: 15px; color: var(--on-band-muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; justify-self: start; width: min(100%, 360px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Cards and grids ------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--text); }
a.card:hover { text-decoration: none; border-color: var(--gold); }
.card-warm { background: var(--warm); }
.card-meta { font-size: 13px; font-weight: 700; color: var(--gold-text); }
.card-title { font-family: var(--font-display); font-size: 24px; line-height: 1.3; color: var(--text); }
.card-text { color: var(--text-muted); font-size: 16px; margin: 0; }
.card-foot { margin-top: auto; font-size: 14px; color: var(--text-muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--link); }
.entry-card { padding: 40px; gap: 18px; }
.entry-card .card-title { font-size: 34px; }
.shot { height: 180px; border-radius: 12px; background: var(--band); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 14px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; color: var(--text-muted); background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { min-height: 44px; padding: 10px 20px; font-size: 16px; font-weight: 600; background: var(--surface); color: var(--text); }
.chip-link:hover { border-color: var(--gold); text-decoration: none; }
.chip-link[aria-current="true"], .chip-button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.chip-button { min-height: 44px; padding: 0 18px; font: 600 15px var(--font-ui); cursor: pointer; background: transparent; color: var(--text); }
.chip-book { font-family: var(--font-read); font-size: 17px; border-color: var(--gold); color: var(--text); min-height: 44px; padding: 10px 20px; }
.pill { display: inline-flex; padding: 3px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.pill-gold { background: var(--gold); color: var(--on-gold); }
.pill-outline { border: 1px solid var(--border); color: var(--text-muted); }

/* ---- Career timeline ------------------------------------------------------------------------- */
.timeline-h { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--gold); }
.timeline-h li { list-style: none; position: relative; padding: 24px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.timeline-h li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline-h { padding: 0; margin: 0; }
@media (max-width: 960px) { .timeline-h { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .timeline-h { grid-template-columns: 1fr; } }
.tl-date { font-size: 14px; font-weight: 700; color: var(--gold-text); }
.tl-company { font-size: 17px; font-weight: 700; }
.tl-text { font-size: 15px; line-height: 1.5; color: var(--text-muted); }

.timeline-v { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--gold); }
.timeline-v > li { position: relative; padding: 0 0 40px 40px; display: flex; flex-direction: column; gap: 8px; }
.timeline-v > li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }
.timeline-v > li.hollow::before { background: var(--bg); border: 2px solid var(--gold); }
.timeline-v h3 { font-size: 26px; }
.timeline-v ul { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ---- Faith band / scripture ------------------------------------------------------------------ */
.faith-band { border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.faith-band img { width: 100%; aspect-ratio: 360 / 440; object-fit: cover; border-radius: 20px; }
@media (max-width: 860px) { .faith-band { grid-template-columns: 1fr; } .faith-band img { max-width: 360px; } }
.verse { margin: 0; font-family: var(--font-read); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.45; color: var(--on-band); }
.verse-ref { font-size: 15px; font-weight: 600; color: var(--gold); }
.scripture-band { border-radius: 28px; padding: clamp(32px, 5vw, 56px) clamp(24px, 6vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.scripture-band .verse { max-width: 900px; }

/* ---- Forms ------------------------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.input, .textarea, .select { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 400 16px var(--font-ui); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input-pill { border-radius: 999px; padding: 0 20px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; color: var(--text); cursor: pointer; font-weight: 400; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }
.form-errors { color: var(--danger); font-size: 15px; margin: 0; padding-left: 18px; }
.form-success { color: var(--success); font-weight: 600; }
.notice { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }

/* ---- Subscribe strip ------------------------------------------------------------------------ */
.subscribe { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.subscribe form { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.subscribe .row { display: flex; gap: 12px; width: min(100%, 520px); }
.subscribe .row .input { flex: 1; }
@media (max-width: 560px) { .subscribe .row { flex-direction: column; } }

/* ---- Article ---------------------------------------------------------------------------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: clamp(32px, 6vw, 96px); justify-content: center; padding: clamp(32px, 5vw, 56px) 0 80px; }
@media (max-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 760px); } .article-aside { order: 2; } }
.breadcrumb { font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: 15px; color: var(--text-muted); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.tldr, aside.tldr { padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: block; }
.tldr-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; font-family: var(--font-ui); }
.tldr ul { margin: 0; padding-left: 22px; }
.prose { font-family: var(--font-read); font-size: 20px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 32px; margin-top: 1.6em; }
.prose h3 { font-size: 25px; margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 0; padding: 24px 28px; border: 1px solid var(--gold); border-radius: var(--radius); font-family: var(--font-display); font-size: 25px; line-height: 1.4; }
.prose figure { margin: 0; }
.prose figcaption { font-family: var(--font-ui); font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.prose figure img { border-radius: 12px; }
.prose pre { font-family: var(--font-mono); font-size: 15px; background: var(--band); color: #E6E9F0; padding: 18px 20px; border-radius: 12px; overflow-x: auto; }
.prose code { font-family: var(--font-mono); font-size: .85em; }
.prose .table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--font-ui); font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose .video { position: relative; aspect-ratio: 16/9; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.prose figure.scripture { padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--gold); }
.prose figure.scripture blockquote { border: 0; padding: 0; font-family: var(--font-read); font-style: italic; font-size: 22px; }
.prose figure.scripture figcaption { color: var(--gold-text); font-weight: 600; font-size: 15px; }
.prose aside.tldr { font-family: var(--font-ui); font-size: 17px; }
.linkedin-box { padding: 28px 32px; border-radius: var(--radius); background: var(--band); color: var(--on-band); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.aside-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.toc { display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.toc a { color: var(--text); }
.article-aside { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1101px) { .article-aside .sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; } }
.series-nav { padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.series-nav ol { margin: 8px 0 0; padding-left: 22px; }

/* ---- Comments --------------------------------------------------------------------------------- */
.comments { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid var(--border); }
.comment { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.comment p { margin: 0; line-height: 1.6; }
.comment-reply { margin-left: clamp(12px, 5vw, 48px); background: var(--surface-2); border-color: transparent; }
.comment-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--band-line); color: #E6E9F0; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.comment-author { font-weight: 700; }
.comment-date { font-size: 14px; color: var(--text-muted); }
.badge-author { padding: 2px 10px; border-radius: 10px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 700; }
.comment-form { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.comment-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .comment-form .two { grid-template-columns: 1fr; } }

/* ---- Callouts ----------------------------------------------------------------------------------- */
.crisis { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 40px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--primary); flex-wrap: wrap; }
.crisis strong { color: var(--text); }
.cta-band { border-radius: 28px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.story-card { display: flex; align-items: center; gap: 40px; padding: 36px 44px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.story-card img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; object-position: center 25%; flex-shrink: 0; }
@media (max-width: 680px) { .story-card { flex-direction: column; align-items: flex-start; padding: 28px; } .story-card img { width: 120px; height: 120px; } }
a.story-card:hover { text-decoration: none; border-color: var(--gold); }

/* ---- Pagination, empty states ------------------------------------------------------------------- */
.pagination { display: flex; gap: 12px; justify-content: center; margin-top: 40px; }
.empty { padding: 40px; border-radius: var(--radius); border: 1px dashed var(--border); text-align: center; color: var(--text-muted); }

/* ---- Ask the site -------------------------------------------------------------------------------- */
.ask { display: flex; flex-direction: column; gap: 12px; }
.ask-answer { white-space: pre-wrap; }

/* ---- Footer ---------------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 40px; font-size: 15px; color: var(--text-muted); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--link); font-weight: 600; }

/* ---- Auth pages ------------------------------------------------------------------------------------ */
.auth-wrap { min-height: calc(100vh - 160px); display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.auth-card { width: min(100%, 440px); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.qr { background: #fff; padding: 12px; border-radius: 12px; width: 220px; }
.codes { font-family: var(--font-mono); display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; padding: 16px; border-radius: 12px; background: var(--surface-2); }
