:root {
  --ink: #13201c;
  --muted: #50635d;
  --line: #d8e2de;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --green: #176a4d;
  --green-soft: #dff1e7;
  --blue: #245b78;
  --blue-soft: #ddebf0;
  --coral: #b8573e;
  --shadow: 0 18px 48px rgba(19, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 226, 222, 0.85);
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 6vw, 80px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.24rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.route-visual {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 241, 231, 0.86), rgba(221, 235, 240, 0.82)),
    var(--surface);
  box-shadow: var(--shadow);
}

.route-line {
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: 38px;
  width: 2px;
  background: rgba(19, 32, 28, 0.18);
}

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: start;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.route-step strong,
.route-step span:last-child {
  grid-column: 2;
}

.step-kicker {
  grid-row: 1 / span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.route-step span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 80px);
  max-width: 1040px;
  color: var(--muted);
  font-size: 1.08rem;
}

.comparison-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-panel,
.policy-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tool-panel:nth-child(2) {
  background: var(--green-soft);
}

.tool-panel:nth-child(3) {
  background: var(--blue-soft);
}

.tool-panel p,
.policy-grid p {
  color: var(--muted);
}

.tool-panel span {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.asset-list {
  display: grid;
  max-width: 920px;
  gap: 12px;
  margin: 0;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.asset-list li::marker {
  color: var(--coral);
  font-weight: 800;
}

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

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.inline-code {
  color: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 6vw, 80px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: clamp(32px, 8vw, 88px);
}

.not-found h1 {
  margin: 18px 0 0;
}

.not-found p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.12rem;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    white-space: nowrap;
  }

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

  .split,
  .comparison-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .route-step {
    min-height: 84px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.45rem, 15vw, 4.4rem);
  }

  .actions,
  .button {
    width: 100%;
  }

  .route-visual {
    padding: 14px;
  }

  .route-step {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 14px;
  }

  .step-kicker {
    width: 38px;
    height: 38px;
  }
}
