﻿:root {
  --ink: #101826;
  --ink-soft: #29323d;
  --slate: #4b5768;
  --slate-soft: #7c8797;
  --line: #dde3ea;
  --paper: #ffffff;
  --paper-alt: #f1f4f8;
  --brass: #a9791f;
  --brass-deep: #7d5a17;
  --brass-wash: rgba(169, 121, 31, 0.1);
  --radius: 4px;
  --max-width: 1160px;
  --font-display: 'Newsreader', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }
img, svg { max-width: 100%; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.icon { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-brass { stroke: var(--brass-deep); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brass-wash);
  margin-bottom: 18px;
}

.icon-badge .icon { margin-bottom: 0; }

/* Header */
header.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.brand svg { width: 30px; height: 30px; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:focus-visible,
nav.main-nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 35%, transparent 85%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 35%, transparent 85%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  opacity: 0.16;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 17ch;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.14rem;
  color: var(--slate);
  max-width: 58ch;
  margin: 0 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.at-a-glance {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper-alt);
}

.at-a-glance h3 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin: 0 0 18px;
}

.fact-list { display: grid; gap: 16px; margin: 0; padding: 0; }
.fact-list dt { font-size: 0.78rem; color: var(--slate-soft); margin: 0 0 2px; }
.fact-list dd { font-size: 0.98rem; margin: 0; color: var(--ink); font-weight: 500; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(16, 24, 38, 0.4); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: 12px;
}

.btn-secondary:hover { border-color: var(--slate-soft); }

/* Sections */
section { padding: 76px 0; }

section.alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 62ch;
  margin: 0 0 44px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin: 0 0 14px;
  text-wrap: balance;
  letter-spacing: -0.005em;
}

.section-head p { color: var(--slate); margin: 0; font-size: 1.02rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--paper);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--brass);
  box-shadow: 0 16px 32px -18px rgba(16, 24, 38, 0.28);
  transform: translateY(-3px);
}

.card .icon { margin-bottom: 16px; }

.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; margin: 0 0 10px; }
.card p { color: var(--slate); font-size: 0.95rem; margin: 0; }

.step-list {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding: 30px 0 30px 76px;
  border-bottom: 1px solid var(--line);
}

.step-list li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 30px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--brass);
  line-height: 1;
}

.step-list h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 8px; font-size: 1.18rem; }
.step-list p { margin: 0 0 10px; color: var(--slate); font-size: 0.97rem; max-width: 68ch; }
.step-list ul { margin: 10px 0 0; padding-left: 20px; color: var(--slate); font-size: 0.92rem; display: grid; gap: 6px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

ul.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

ul.checklist li {
  padding-left: 28px;
  position: relative;
  color: var(--slate);
  font-size: 0.96rem;
}

ul.checklist li strong { color: var(--ink); font-weight: 600; }

ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 1px;
  background: var(--brass);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}

.link-arrow:hover { color: var(--brass-deep); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--slate);
  background: var(--paper);
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-strip .stat {
  flex: 1 1 0;
  min-width: 160px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.stat-strip .stat:last-child { border-right: none; }

.stat .stat-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}

.stat .stat-label {
  font-size: 0.86rem;
  color: var(--slate);
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  max-width: 28ch;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

.pull-quote::before { content: "\201C"; color: var(--brass); }
.pull-quote::after { content: "\201D"; color: var(--brass); }

.pull-quote-attribution {
  margin-top: 22px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--slate-soft);
}

/* CTA banner */
section.cta-banner {
  background: #101826;
  color: #f5f7fa;
  text-align: center;
}

section.cta-banner .eyebrow { color: #cc9a3e; }
section.cta-banner .eyebrow::before { background: #cc9a3e; }
section.cta-banner h2 { color: #fdfdfd; }
section.cta-banner .lede { color: rgba(245, 247, 250, 0.72); margin-left: auto; margin-right: auto; }
section.cta-banner .btn-primary { background: #fdfdfd; color: #101826; }
section.cta-banner .btn-primary:hover { background: #dfe4ea; }
section.cta-banner .btn-secondary { color: #fdfdfd; border-color: rgba(245, 247, 250, 0.3); }
section.cta-banner .btn-secondary:hover { border-color: #fdfdfd; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; margin: 0 0 10px; }
.faq-item p { margin: 0; color: var(--slate); font-size: 0.96rem; max-width: 68ch; }

/* Category groups */
.category-group { margin-bottom: 48px; }
.category-group:last-child { margin-bottom: 0; }
.category-group h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.category-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  margin: 0 0 8px;
}

.category-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
}

.info-block { display: grid; gap: 26px; }

.info-item h3 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-soft);
  margin: 0 0 7px;
  font-weight: 700;
}

.info-item p, .info-item a {
  margin: 0;
  font-size: 1.03rem;
  text-decoration: none;
  color: var(--ink);
}

.info-item a:hover { color: var(--brass-deep); }

form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--paper-alt);
}

label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 7px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

textarea { resize: vertical; min-height: 130px; }

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.hp-field { position: absolute; left: -9999px; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 0;
  background: var(--paper-alt);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { margin: 0; color: var(--slate); font-size: 0.9rem; max-width: 34ch; }

.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin: 0 0 16px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { text-decoration: none; color: var(--slate); font-size: 0.92rem; }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--slate-soft);
  font-size: 0.84rem;
}

.legal-content h2 { margin-top: 40px; font-size: 1.25rem; }
.legal-content p, .legal-content li { color: var(--slate); }

@media (max-width: 820px) {
  .hero-grid, .two-col, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-inner { position: relative; }
  .nav-toggle { display: inline-flex; }
  nav.main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  nav.main-nav.is-open { max-height: 320px; }
  nav.main-nav ul { flex-direction: column; gap: 0; padding: 4px 28px 18px; }
  nav.main-nav li { border-bottom: 1px solid var(--line); }
  nav.main-nav li:last-child { border-bottom: none; }
  nav.main-nav a { display: block; padding: 14px 0; border-bottom: none; }
  section { padding: 56px 0; }
  .btn-secondary { margin-left: 0; margin-top: 12px; display: inline-block; }
  .footer-columns { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .stat-strip { flex-direction: column; }
  .stat-strip .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-strip .stat:last-child { border-bottom: none; }
  .hero::after { width: 260px; height: 260px; top: -80px; right: -100px; }
}

:root[data-theme="dark"] {
  --ink: #eef1f6; --ink-soft: #cfd6e2; --slate: #a3aebd; --slate-soft: #7c8797;
  --line: #232d3d; --paper: #0b1220; --paper-alt: #0e1626;
  --brass: #cc9a3e; --brass-deep: #e0b45f; --brass-wash: rgba(204, 154, 62, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1f6; --ink-soft: #cfd6e2; --slate: #a3aebd; --slate-soft: #7c8797;
    --line: #232d3d; --paper: #0b1220; --paper-alt: #0e1626;
    --brass: #cc9a3e; --brass-deep: #e0b45f; --brass-wash: rgba(204, 154, 62, 0.14);
  }
}

:root[data-theme="dark"] header.site-header { background: rgba(11, 18, 32, 0.94); }
:root[data-theme="dark"] .btn-primary { background: #eef1f6; color: #0b1220; }
:root[data-theme="dark"] .btn-primary:hover { background: #cfd6e2; }
:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select { background: #0b1220; color: #eef1f6; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) header.site-header { background: rgba(11, 18, 32, 0.94); }
  :root:not([data-theme="light"]) .btn-primary { background: #eef1f6; color: #0b1220; }
  :root:not([data-theme="light"]) .btn-primary:hover { background: #cfd6e2; }
  :root:not([data-theme="light"]) input,
  :root:not([data-theme="light"]) textarea,
  :root:not([data-theme="light"]) select { background: #0b1220; color: #eef1f6; }
}

