:root {
  color-scheme: light;
  --ink: #10231f;
  --ink-soft: #43524e;
  --paper: #ffffff;
  --mist: #f4f8f5;
  --line: #d7e3dc;
  --green: #1f6b57;
  --green-deep: #0f3f35;
  --coral: #d85b4a;
  --gold: #f0c958;
  --shadow: 0 18px 50px rgba(16, 35, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 24px clamp(20px, 5vw, 72px);
}

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

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  text-decoration: none;
  color: var(--paper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--green-deep);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 30, 26, 0.82), rgba(8, 30, 26, 0.48) 48%, rgba(8, 30, 26, 0.1)),
    linear-gradient(0deg, rgba(8, 30, 26, 0.7), rgba(8, 30, 26, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 140px clamp(20px, 5vw, 72px) 80px;
  animation: rise-in 700ms ease-out both;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 72px;
}

h2 {
  margin: 0;
  font-size: 44px;
}

h3 {
  margin: 0;
  font-size: 28px;
}

p {
  margin: 0;
}

.lead {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

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

.button {
  background: var(--paper);
  color: var(--green-deep);
}

.button-muted {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--paper);
}

.policy-page .button,
.utility-page .button {
  background: var(--green-deep);
  color: var(--paper);
}

.policy-page .button-muted,
.utility-page .button-muted {
  border-color: var(--green);
  color: var(--green-deep);
}

.main {
  background: var(--paper);
}

.band {
  padding: 88px clamp(20px, 5vw, 72px);
}

.band.mist {
  background: var(--mist);
}

.section-head {
  max-width: 760px;
}

.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.feature {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.feature p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.media-row.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.media-copy p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
}

.media-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--mist);
}

.media-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.policy-page,
.utility-page {
  background: var(--mist);
}

.page-shell {
  min-height: 100svh;
  padding: 32px clamp(20px, 5vw, 72px) 72px;
}

.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}

.page-nav .brand {
  color: var(--ink);
}

.page-nav a {
  text-decoration: none;
}

.content {
  max-width: 820px;
}

.content h1 {
  color: var(--ink);
  font-size: 54px;
}

.content h2 {
  margin-top: 42px;
  font-size: 30px;
}

.content p,
.content li {
  color: var(--ink-soft);
}

.content p {
  margin-top: 16px;
}

.content ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.utility-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.utility-panel h1 {
  color: var(--ink);
  font-size: 48px;
}

.utility-panel p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.safe-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.code-state {
  min-height: 24px;
  margin-top: 18px;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer a {
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .site-nav,
  .page-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding: 124px 20px 56px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .lead,
  .section-head p,
  .media-copy p {
    font-size: 17px;
  }

  .band {
    padding: 64px 20px;
  }

  .feature-list,
  .media-row,
  .media-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
    padding: 24px;
  }

  .utility-panel {
    padding: 28px;
  }

  .utility-panel h1,
  .content h1 {
    font-size: 38px;
  }
}
