:root {
  --ink: #171717;
  --muted: #525252;
  --surface: #ffffff;
  --soft: #f4f7f4;
  --line: #d9e2dc;
  --brand: #0f766e;
  --brand-dark: #064e3b;
  --gold: #c99a35;
  --shadow: 0 18px 48px rgba(15, 42, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(244, 247, 244, 0.92);
  border-bottom: 1px solid rgba(217, 226, 220, 0.82);
  backdrop-filter: blur(14px);
}

.site-header.compact {
  position: static;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.2);
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-size: 20px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100dvh - 82px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 88px);
  background: var(--brand-dark);
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 78, 59, 0.95), rgba(6, 78, 59, 0.72) 45%, rgba(6, 78, 59, 0.2)),
    linear-gradient(0deg, rgba(6, 78, 59, 0.78), rgba(6, 78, 59, 0.1));
}

.hero-art {
  position: absolute;
  inset: auto -8vw 0 auto;
  z-index: -2;
  width: min(900px, 92vw);
  height: auto;
  opacity: 0.9;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(48px, 9vw, 112px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.2;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2.4vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: #ffffff;
  color: var(--brand-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #ffffff;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) 0;
}

.intro,
.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro > p,
.privacy-band > p {
  color: var(--muted);
  font-size: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
}

.feature-grid article {
  min-height: 270px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-grid p {
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #e7f2ed;
  color: var(--brand-dark);
}

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

.privacy-band {
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 72px);
  background: #101614;
  color: #ffffff;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.78);
}

.legal-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 0;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(40px, 7vw, 68px);
}

.legal h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 24px;
}

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

.legal a {
  color: var(--brand-dark);
  font-weight: 800;
}

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

@media (max-width: 780px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 12px;
  }

  .hero {
    min-height: 720px;
    padding-top: 72px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 78, 59, 0.96), rgba(6, 78, 59, 0.82) 58%, rgba(6, 78, 59, 0.35)),
      linear-gradient(0deg, rgba(6, 78, 59, 0.82), rgba(6, 78, 59, 0.12));
  }

  .hero-art {
    right: 50%;
    bottom: 0;
    width: 620px;
    max-width: none;
    transform: translateX(50%);
  }

  .intro,
  .privacy-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }
}
