:root {
  --forest-950: #0b1c14;
  --forest-900: #10261b;
  --forest-800: #173526;
  --forest-700: #214b35;
  --sage-200: #c7d1c8;
  --sage-100: #e7ece7;
  --paper: #f4f1e9;
  --paper-light: #faf8f2;
  --white: #ffffff;
  --ink: #172019;
  --muted: #59635c;
  --line: #d8d6cd;
  --copper: #b58455;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --shadow: 0 24px 70px rgba(11, 28, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

strong {
  font-weight: 600;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 28, 20, 0.96);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-wordmark {
  display: grid;
  line-height: 1;
}

.brand-wordmark .top {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.brand-wordmark .bottom {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.39em;
  color: var(--sage-200);
}

.desktop-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
}

.desktop-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.desktop-links a:hover {
  color: var(--white);
}

.btn-primary,
.btn-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn-primary {
  color: var(--forest-950);
  background: var(--paper-light);
  border-color: var(--paper-light);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-secondary {
  color: var(--forest-900);
  background: transparent;
  border-color: rgba(16, 38, 27, 0.28);
}

.btn-secondary:hover {
  border-color: var(--forest-900);
  background: rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%),
    var(--forest-950);
  background-size: 56px 56px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 88px rgba(255, 255, 255, 0.018), 0 0 0 176px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, 0.68fr);
  gap: 76px;
  align-items: center;
}

.eyebrow,
.section-num,
.card-kicker,
.step-num,
.market-status,
.hero-card-kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--sage-200);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 5px rgba(181, 132, 85, 0.14);
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 5.65rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-subhead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}

.hero-logo-card {
  margin: 0;
  padding: 18px;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  transform: translateY(12px);
}

.hero-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-card-kicker {
  color: var(--forest-700);
}

.hero-card-statement {
  margin: 30px 0 26px;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.hero-logo-caption {
  margin: 0;
  padding: 20px 12px 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.hero-card-rule {
  height: 1px;
  margin: 28px 0 8px;
  background: var(--line);
}

.hero-card-detail {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.hero-card-detail span {
  color: var(--muted);
}

.hero-card-detail strong {
  color: var(--forest-900);
  text-align: right;
}

.band {
  padding: 112px 0;
  scroll-margin-top: 76px;
}

.white-bg {
  background: var(--paper-light);
}

.section-header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.4fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.section-num {
  padding-top: 9px;
  color: var(--forest-700);
}

.section-title {
  margin: 0;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.section-lead {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.prose p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.prose strong {
  color: var(--forest-900);
}

.record-box {
  border: 1px solid var(--line);
  background: var(--white);
}

.record-box-title {
  padding: 16px 20px;
  color: var(--white);
  background: var(--forest-900);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.record-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.record-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.record-list li:last-child {
  border-bottom: 0;
}

.doc-type {
  color: var(--forest-900);
  font-size: 13px;
  font-weight: 600;
}

.doc-note {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  min-height: 265px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.card-kicker,
.step-num {
  color: var(--forest-700);
}

.card h3,
.step-card h3,
.stack-col h4,
.audience-card h3,
.market-box h3 {
  color: var(--forest-900);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.14;
}

.card h3 {
  margin: 24px 0 14px;
  font-size: 27px;
}

.card p,
.step-card p,
.stack-col p,
.audience-card p,
.market-box p,
.diff-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.card-wide {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
}

.diff-item {
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.diff-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.diff-item h4 {
  margin: 0 0 12px;
  color: var(--forest-900);
  font-size: 13px;
}

.steps-grid,
.stack-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-right: 0;
  background: var(--white);
}

.step-card:last-child {
  border-right: 1px solid var(--line);
}

.step-card h3 {
  margin: 52px 0 14px;
  font-size: 24px;
}

.stack-panel {
  margin-top: 32px;
  color: var(--white);
  background: var(--forest-900);
}

.stack-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 26px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.stack-header strong {
  color: var(--white) !important;
}

.stack-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.stack-col {
  padding: 34px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stack-col:last-child {
  border-right: 0;
}

.stack-col h4 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 22px;
}

.stack-col p {
  color: rgba(255, 255, 255, 0.62);
}

.audience-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-card {
  min-height: 235px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-card h3 {
  margin: 0 0 32px;
  font-size: 22px;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.market-box {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  border: 1px solid var(--line);
}

.market-box.featured {
  color: var(--white);
  background: var(--forest-900);
  border-color: var(--forest-900);
}

.market-status {
  color: var(--forest-700);
}

.featured .market-status {
  color: var(--sage-200);
}

.market-box h3 {
  margin: 26px 0 18px;
  font-size: 34px;
}

.featured h3 {
  color: var(--white);
}

.featured p {
  color: rgba(255, 255, 255, 0.68);
}

.county-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.county-pill {
  padding: 7px 10px;
  border: 1px solid var(--line);
  font-size: 10px;
}

.featured .county-pill {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.75);
}

#sample-request {
  color: var(--white);
  background: var(--forest-950);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.72fr);
  gap: 90px;
  align-items: start;
}

.cta-box h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.cta-box > div:first-child > p {
  max-width: 590px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}

.cta-checklist {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.cta-checklist li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.cta-checklist li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--copper);
}

.form-card {
  padding: 30px;
  color: var(--ink);
  background: var(--paper-light);
}

.form-group {
  margin-bottom: 17px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--forest-900);
  font-size: 11px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 13px;
}

.form-group input:focus,
.form-group select:focus {
  outline: 2px solid rgba(33, 75, 53, 0.2);
  outline-offset: 1px;
  border-color: var(--forest-700);
}

.form-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 1px solid var(--forest-900);
  border-radius: 0;
  color: var(--white);
  background: var(--forest-900);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--forest-700);
}

.form-submit:disabled {
  opacity: 0.62;
  cursor: wait;
}

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #8a2f2f;
  font-size: 11px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.confirmation-box {
  display: none;
  padding: 26px;
  border: 1px solid var(--sage-200);
  background: var(--white);
}

.confirmation-box h4 {
  margin: 0 0 8px;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.confirmation-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 44px 0;
  color: var(--white);
  background: var(--forest-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}

.footer-brand {
  color: var(--white);
}

.footer-meta {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  text-align: right;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .desktop-links {
    display: none;
  }

  .nav-inner > .btn-primary {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    max-width: 560px;
    transform: none;
  }

  .section-header {
    grid-template-columns: 150px 1fr;
  }

  .section-lead {
    grid-column: 2;
    max-width: 700px;
  }

  .two-col,
  .cta-box {
    gap: 48px;
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .steps-grid,
  .stack-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card:last-child,
  .stack-col:last-child {
    grid-column: 1 / -1;
  }

  .step-card:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .stack-col:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .nav-inner {
    min-height: 68px;
  }

  .nav-inner > .btn-primary {
    min-height: 38px;
    padding: 0 13px;
    font-size: 10px;
  }

  .brand-wordmark .top {
    font-size: 14px;
  }

  .hero {
    padding: 76px 0 64px;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero-title {
    font-size: clamp(2.85rem, 14vw, 4.5rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-card-statement {
    font-size: 3.4rem;
  }

  .band {
    padding: 76px 0;
    scroll-margin-top: 68px;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 42px;
  }

  .section-lead {
    grid-column: 1;
  }

  .two-col,
  .grid-2,
  .steps-grid,
  .stack-grid,
  .audience-grid,
  .markets-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .two-col,
  .cta-box {
    gap: 42px;
  }

  .card-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
  }

  .diff-item,
  .diff-item:first-child {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step-card,
  .step-card:nth-child(2),
  .step-card:last-child {
    grid-column: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .step-card:last-child {
    border-bottom: 1px solid var(--line);
  }

  .stack-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-col,
  .stack-col:nth-child(2),
  .stack-col:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .audience-card,
  .market-box {
    min-height: 0;
  }

  .cta-box {
    gap: 56px;
  }

  .form-card {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
