/*
Theme Name: 17c Formula
Theme URI: https://17cformula.com/
Author: Tony Rached
Author URI: https://diminishedvalueofgeorgia.com/
Description: A focused, conversion-first theme for 17cformula.com. Explains the 17c diminished value formula, runs an interactive calculator, and routes leads to DVGA (Georgia DV claims) and Appraisal Engine (everything else). Lightweight, no page builder dependency.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: c17formula
*/

/* ==========================================================================
   Design Tokens — Corporate Financial Services
   ========================================================================== */
:root {
  /* Colors */
  --navy-900: #0B1E3F;
  --navy-800: #142A52;
  --navy-700: #1E3A6B;
  --navy-50:  #F4F6FA;

  --ink:      #1A202C;
  --ink-soft: #4A5568;
  --ink-mute: #718096;

  --bg:       #FFFFFF;
  --bg-soft:  #F7F9FC;
  --line:     #E2E8F0;
  --line-strong: #CBD5E0;

  --accent:   #B91C2C;
  --accent-deep: #8B1520;
  --accent-soft: #FEF2F3;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Type scale */
  --step--1: 0.875rem;
  --step-0:  1rem;
  --step-1:  1.125rem;
  --step-2:  1.375rem;
  --step-3:  1.75rem;
  --step-4:  2.25rem;
  --step-5:  2.875rem;
  --step-6:  3.5rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(11, 30, 63, 0.05);
  --shadow:    0 4px 12px rgba(11, 30, 63, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 30, 63, 0.12);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "kern", "liga", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
a {
  color: var(--navy-800);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.15s;
}
a:hover { color: var(--navy-700); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 0.6em;
}
h1 { font-size: var(--step-6); letter-spacing: -0.025em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); font-weight: 600; }

@media (max-width: 720px) {
  h1 { font-size: var(--step-5); }
  h2 { font-size: var(--step-3); }
}

p { margin: 0 0 1em; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-2xl) 0; }
.section--tight { padding: var(--space-xl) 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #E2E8F0; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #FFFFFF; }
.section--brand { background: var(--navy-800); color: #FFFFFF; }
.section--brand h1, .section--brand h2, .section--brand h3 { color: #FFFFFF; }

@media (max-width: 720px) {
  .section { padding: var(--space-xl) 0; }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.site-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}
.site-logo__rest {
  font-weight: 400;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}
.site-nav__list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav__list a:hover { color: var(--navy-800); }
.site-nav__list a.current { color: var(--navy-800); font-weight: 600; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1.25rem var(--space-md);
    border-bottom: 1px solid var(--line);
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open .site-nav__list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav__cta { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy-800);
  color: #FFFFFF;
  border-color: var(--navy-800);
}
.btn--primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #FFFFFF;
}
.btn--accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #FFFFFF;
}
.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--navy-50);
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn--ghost-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.btn--lg { padding: 0.95rem 1.75rem; font-size: 1rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-800);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero__eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 2rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual — formula breakdown card */
.hero__visual {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}
.hero__visual__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.hero__visual__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 500;
}
.hero__visual__badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.hero__visual__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.hero__visual__row:last-of-type { border-bottom: 0; }
.hero__visual__row__label { color: var(--ink-soft); }
.hero__visual__row__val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.hero__visual__row--total {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 2px solid var(--navy-900);
  font-size: 1rem;
}
.hero__visual__row--total .hero__visual__row__label {
  color: var(--navy-900);
  font-weight: 600;
}
.hero__visual__row--total .hero__visual__row__val {
  color: var(--accent);
  font-size: 1.0625rem;
}
.hero__visual__caption {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ==========================================================================
   Pull quotes & callouts
   ========================================================================== */
.pullquote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 0;
  max-width: 64ch;
}
.pullquote__text {
  font-size: var(--step-2);
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
}
.pullquote cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.75rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Waterfall chart — used on What is 17c page */
.c17f-waterfall {
  margin: 2rem 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem;
  overflow: hidden;
}

/* Pullquote with seal — used on homepage commissioner quote */
.pullquote-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}
.pullquote-seal {
  flex-shrink: 0;
}
.pullquote-seal img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .pullquote-wrap {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }
  .pullquote-seal img { width: 80px; height: 80px; }
}

.callout {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-800);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
}
.callout--warn {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}
.callout__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
  display: block;
  font-weight: 600;
}
.callout--warn .callout__label { color: var(--accent); }
.callout p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Stat / problem cards
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: var(--space-lg);
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.problem-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.problem-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--navy-50);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.problem-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
  font-weight: 600;
}
.problem-card p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

.problem-card--highlight {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.problem-card--highlight .problem-card__num {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.problem-card--highlight h3 { color: #fff; }
.problem-card--highlight p { color: rgba(255, 255, 255, 0.8); }
.problem-card--highlight strong { color: #fff; }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) { .calc { padding: 1.75rem 1.25rem; } }

.calc__header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.calc__header__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}
.calc__header h2 {
  font-size: 1.375rem;
  margin: 0;
}
.calc__header p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
}

.calc__step { display: none; animation: fadeIn 0.25s ease both; }
.calc__step.is-active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.field__hint {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  margin-top: 0.4rem;
  line-height: 1.45;
}
.field input,
.field select {
  width: 100%;
  padding: 0.7rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(20, 42, 82, 0.1);
}

.calc__footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.calc__footer .btn { flex: 1; }

/* Result display */
.calc__result { padding: 0.5rem 0; }
.calc__result__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
}
.calc__result__num {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.calc__result__caveat {
  font-size: 0.875rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 auto 1.5rem;
  text-align: center;
  line-height: 1.5;
}
.calc__breakdown {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}
.calc__breakdown__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.calc__breakdown__row:first-child { padding-top: 0; }
.calc__breakdown__row:last-child {
  border-bottom: 0;
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--navy-900);
  font-weight: 700;
  color: var(--navy-900);
}
.calc__breakdown__row span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   FAQ / accordion
   ========================================================================== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq summary {
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--navy-800);
  transition: transform 0.2s;
  font-weight: 400;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   Routing cards
   ========================================================================== */
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: var(--space-lg);
}
@media (max-width: 720px) { .route-grid { grid-template-columns: 1fr; } }

.route-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.route-card:hover {
  border-color: var(--navy-800);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.route-card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.route-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}
.route-card p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
}
.site-footer h4 {
  color: #FFFFFF;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.site-footer a:hover { color: #FFFFFF; }

.site-footer .site-logo {
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer .site-logo__rest { color: rgba(255, 255, 255, 0.5); }
.site-footer__about p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Misc / utility
   ========================================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-800);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

.text-center { text-align: center; }

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}
.section__head .eyebrow { justify-content: center; display: inline-flex; }
.section__head h2 { margin-bottom: 0.85rem; }
.section__head p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Lead form wrap */
.lead-form-wrap {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.lead-form-wrap h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Page header */
.page-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: var(--space-xl) 0;
}
.page-header h1 {
  margin-bottom: 0.85rem;
  font-size: var(--step-5);
}
.page-header p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Article / long-form content */
.prose {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: var(--step-4);
}
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: var(--step-2);
}
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--navy-900); font-weight: 600; }

/* Skip link a11y */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
