:root {
  --site-background: #f8fafc;
  --site-surface: #ffffff;
  --site-muted: #f1f5f9;
  --site-ink: #0f172a;
  --site-secondary: #475569;
  --site-brand: #2563eb;
  --site-brand-dark: #1d4ed8;
  --site-success: #15803d;
  --site-error: #dc2626;
  --site-border: #cbd5e1;
  --site-max: 72rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--site-background);
  color: var(--site-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
a { color: var(--site-brand-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--site-brand);
  outline-offset: 3px;
}
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 10; background: white; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; }
.shell { width: min(calc(100% - 2rem), var(--site-max)); margin-inline: auto; }
.narrow, .prose { max-width: 48rem; }
.site-header { background: white; color: var(--site-ink); border-bottom: 4px solid var(--site-brand); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; color: var(--site-ink); text-decoration: none; }
.brand img { display: block; width: auto; height: 4rem; max-width: min(32rem, 52vw); }
nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; padding: 0; margin: 0; list-style: none; }
nav a { color: var(--site-ink); font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { padding: clamp(4rem, 9vw, 8rem) 0; background: linear-gradient(135deg, #fff 0 63%, #eff6ff 63%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { margin: 0 0 .7rem; color: var(--site-brand-dark); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 0 0 1.4rem; font-size: clamp(2.6rem, 6vw, 5rem); max-width: 12ch; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.lede { max-width: 42rem; color: var(--site-secondary); font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.button { display: inline-block; border: 1px solid var(--site-brand); border-radius: .35rem; background: var(--site-brand); color: white; padding: .7rem 1.1rem; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--site-brand-dark); }
.text-link { font-weight: 750; }
.signal-card { background: var(--site-ink); color: white; border-radius: .7rem; padding: 2rem; box-shadow: 0 1.5rem 3.5rem rgb(15 23 42 / .16); }
.signal-card .card-label { color: #93c5fd; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.signal-card ol { list-style: none; counter-reset: approach; margin: 1.5rem 0 0; padding: 0; }
.signal-card li { counter-increment: approach; display: grid; grid-template-columns: 2rem 1fr; margin-top: 1.3rem; }
.signal-card li::before { content: "0" counter(approach); color: #93c5fd; font-weight: 800; }
.signal-card strong, .signal-card span { display: block; grid-column: 2; }
.signal-card span { color: #cbd5e1; font-size: .95rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-muted { background: var(--site-muted); border-block: 1px solid var(--site-border); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.card-grid article { background: var(--site-surface); border: 1px solid var(--site-border); border-top: 4px solid var(--site-brand); border-radius: .4rem; padding: 1.5rem; }
.card-grid h3 { margin-top: 0; }
.card-grid p, .prose p, .prose li { color: var(--site-secondary); }
.prose { padding-block: clamp(3rem, 7vw, 6rem); }
.prose h1 { max-width: 16ch; font-size: clamp(2.4rem, 5vw, 4rem); }
.prose h2 { margin-top: 2.5rem; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--site-brand); background: var(--site-muted); }
.portrait { margin: 2.5rem 0; max-width: 24rem; }
.portrait img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.portrait figcaption { margin-top: .5rem; color: var(--site-secondary); font-size: .85rem; }
.holy-value {
  margin: 2rem auto;
  border-block: 1px solid var(--site-border);
  color: var(--site-brand-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1;
  padding: 1.5rem;
  text-align: center;
}
.contact-form { margin-top: 2rem; }
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.contact-form label { display: block; margin-bottom: .3rem; color: var(--site-ink); font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #94a3b8;
  border-radius: .3rem;
  background: var(--site-surface);
  color: var(--site-ink);
  font: inherit;
  padding: .65rem .75rem;
}
.contact-form textarea { resize: vertical; }
.contact-form button { cursor: pointer; font: inherit; }
.byline, .tags { font-size: .95rem; }
.post-list article { border-top: 1px solid var(--site-border); padding: 2rem 0; }
.post-list h2 { margin: .2rem 0; font-size: 1.65rem; }
.pagination { display: flex; justify-content: space-between; color: var(--site-secondary); }
.pagination a { color: var(--site-brand-dark); }
.site-footer { padding: 2.5rem 0; background: var(--site-ink); color: #cbd5e1; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.site-footer a { color: white; }
@media (max-width: 50rem) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .hero-grid, .card-grid { grid-template-columns: 1fr; }
  .hero { background: linear-gradient(160deg, #fff 0 72%, #eff6ff 72%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
