:root {
  --ink: #17201c;
  --ink-soft: #33413a;
  --muted: #647069;
  --green: #176c50;
  --green-dark: #0d4d39;
  --mint: #e9f5ef;
  --blue: #eaf2f7;
  --blue-ink: #284b60;
  --red: #b52e35;
  --amber: #9a6718;
  --amber-soft: #fff6e5;
  --paper: #f6f7f4;
  --white: #ffffff;
  --rule: #dfe4df;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --content: 1080px;
  --radius: 8px;
}

*, *::before, *::after {
  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.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(var(--content), calc(100% - 112px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.brand em {
  color: var(--green);
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
}

.btn,
button.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 500 15px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.btn-primary {
  color: var(--white) !important;
  background: var(--green);
}

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

.btn-secondary {
  color: var(--ink) !important;
  background: var(--white);
  border-color: #bcc8c0;
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green-dark) !important;
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero-grid {
  width: 100%;
  padding-top: 112px;
  padding-bottom: 120px;
}

.hero-copy-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 64px;
  line-height: 1.05;
}

.hero h1 em {
  color: var(--green);
  font-style: italic;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-line span::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.section {
  padding: 112px 0;
}

.section-white {
  background: var(--white);
}

.section-mint {
  background: var(--mint);
}

.section-blue {
  background: var(--blue);
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head h2,
.split-copy h2,
.cta-band h2,
.page-hero h1 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.12;
}

.section-head p,
.split-copy > p,
.page-hero .lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.steps-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.step-block,
.principle {
  min-height: 100%;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 7px;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.step-block h3,
.principle h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.3;
}

.feature-card p,
.step-block p,
.principle p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.steps-grid {
  counter-reset: process;
}

.step-block {
  counter-increment: process;
  background: transparent;
  border-top: 3px solid var(--green);
}

.step-block::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 30px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 26px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  align-items: center;
}

.privacy-panel {
  padding: 36px;
  background: var(--white);
  border: 1px solid #cbd9d1;
  border-radius: var(--radius);
}

.privacy-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.privacy-row:first-child {
  padding-top: 0;
}

.privacy-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-row strong,
.privacy-row span {
  display: block;
}

.privacy-row strong {
  margin-bottom: 2px;
}

.privacy-row span {
  color: var(--muted);
  font-size: 14px;
}

.privacy-check {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 600;
}

.boundary-note {
  margin-top: 24px;
  padding: 18px 20px;
  color: #624713;
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: var(--radius);
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  margin-bottom: 0;
  color: #cfe2d9;
}

.cta-band .btn-primary {
  color: var(--green-dark) !important;
  background: var(--white);
  flex-shrink: 0;
}

.page-hero {
  padding: 112px 0 88px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.page-hero .lead {
  max-width: 720px;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
}

.story-aside {
  padding-top: 6px;
}

.story-aside p {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.story-aside .founder-name {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #0a66c2;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.founder-link:hover {
  text-decoration: underline;
}

.founder-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.story-copy h2 {
  margin-bottom: 18px;
  font-size: 38px;
}

.story-copy p {
  color: var(--ink-soft);
  font-size: 17px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 14px;
  font-size: 38px;
}

.contact-copy p {
  color: var(--muted);
}

.contact-form {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bac5bd;
  border-radius: 6px;
  font: 16px/1.4 var(--sans);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(23, 108, 80, 0.14);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hidden-field {
  display: none;
}

.site-footer {
  padding: 42px 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
}

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

.footer-note {
  max-width: 610px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-grid {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .hero-copy-wrap {
    max-width: 720px;
  }

  .feature-grid,
  .steps-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .nav-shell,
  .section-inner,
  .footer-inner {
    width: min(100% - 40px, var(--content));
  }

  .nav-shell {
    min-height: 62px;
  }

  .site-nav a:not(.btn):not(.mobile-link) {
    display: none;
  }

  .site-nav .mobile-link {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head h2,
  .split-copy h2,
  .cta-band h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero {
    padding: 76px 0 62px;
  }

  .cta-band {
    padding: 30px 24px;
  }

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

  .form-field.full {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

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