:root {
  --ink: #10231f;
  --text: #24342f;
  --muted: #65746e;
  --line: #d9e1dc;
  --paper: #fbfaf5;
  --mist: #eef4ef;
  --leaf: #2d7d5f;
  --aqua: #2a8a92;
  --sun: #e4b84b;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(16, 35, 31, .13);
}

* { box-sizing: border-box; }

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--sun);
  color: var(--ink);
  padding: .6rem .8rem;
}

.skip-link:focus { top: 1rem; }

.shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
}

.site-header.compact {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(251, 250, 245, .96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.notice {
  background: #10231f;
  color: #f7f3df;
  text-align: center;
  font-size: .86rem;
  padding: .48rem 1rem;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--sun), #84d26b 58%, #55b7ae);
  border-radius: 12px;
  font-weight: 800;
}

.brand strong,
.brand small { display: block; }
.brand small { color: currentColor; opacity: .75; font-size: .78rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: .94rem;
}

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

.nav-links a[aria-current="page"] {
  color: var(--leaf);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: .5rem .7rem;
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.05rem;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(16, 35, 31, .16);
}

.button-small {
  min-height: 38px;
  padding: .52rem .8rem;
}

.button-ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 19, 17, .86) 0%, rgba(7, 19, 17, .54) 42%, rgba(7, 19, 17, .16) 78%),
    linear-gradient(0deg, rgba(7, 19, 17, .72) 0%, rgba(7, 19, 17, 0) 38%);
}

.hero-content {
  position: relative;
  padding: 11rem 0 7rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 .8rem;
  color: var(--sun);
  font-size: .79rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

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

h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .96;
  letter-spacing: 0;
  margin-bottom: 1.1rem;
}

h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 620px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.section {
  padding: 5rem 0;
}

.intro-band {
  background: var(--ink);
  color: #edf5ee;
}

.intro-band h2 { color: var(--white); }
.intro-band p { color: #d9e5dd; }

.split,
.feature-row,
.two-col,
.content-grid,
.planner {
  display: grid;
  gap: 2rem;
}

.split,
.feature-row {
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

.two-col,
.content-grid,
.planner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.decision-grid,
.habitat-grid,
.link-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.decision-card,
.panel,
.callout,
.habitat-grid article,
.stack article,
.resource-card,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(16, 35, 31, .06);
}

.decision-card {
  padding: 1.2rem;
  min-height: 250px;
}

.decision-card span {
  display: inline-flex;
  margin-bottom: 2.4rem;
  color: var(--aqua);
  font-weight: 900;
}

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

.feature-row .button {
  justify-self: end;
}

.page-hero {
  padding: 5.5rem 0 3rem;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.12rem;
}

.panel,
.callout {
  padding: 1.6rem;
}

.callout {
  background: #17342f;
  color: #eef7ef;
}

.callout h2 { color: var(--white); }
.callout .button { background: var(--sun); color: var(--ink); border-color: var(--sun); }

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 1.7rem;
  margin: .9rem 0;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--leaf);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline div {
  background: var(--white);
  padding: 1.3rem;
}

.planner .stack {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  margin: 1rem 0 .35rem;
  font-weight: 750;
}

select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .6rem .7rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

output {
  display: block;
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 850;
}

.habitat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.habitat-grid article,
.stack article {
  padding: 1.4rem;
}

.faq-list {
  display: grid;
  gap: .8rem;
  max-width: 860px;
}

.faq-list details {
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p { margin: .8rem 0 0; }

.link-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  min-height: 180px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.resource-card span { color: var(--muted); }
.resource-card strong { color: var(--ink); font-size: 1.25rem; }

.legal-copy {
  max-width: 850px;
}

.footer {
  padding: 2.4rem 0;
  background: #0b1715;
  color: #dbe6df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
}

.footer p {
  margin: .6rem 0 0;
  max-width: 660px;
  color: #acbbb4;
}

.footer a {
  display: inline-block;
  margin: 0 0 .6rem 1rem;
  color: #f7f3df;
}

@media (max-width: 860px) {
  .site-header { position: relative; color: var(--ink); background: var(--paper); }
  .hero { min-height: 640px; }
  .nav { min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% - 6px);
    padding: 1rem;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.is-open { display: flex; }
  .split,
  .feature-row,
  .two-col,
  .content-grid,
  .planner,
  .footer-grid { grid-template-columns: 1fr; }
  .decision-grid,
  .timeline,
  .habitat-grid,
  .link-cards { grid-template-columns: 1fr; }
  .feature-row .button { justify-self: start; }
  .hero-content { padding: 5rem 0; }
  .section { padding: 3.4rem 0; }
  .footer a { margin-left: 0; margin-right: 1rem; }
}

@media (max-width: 520px) {
  .brand strong { font-size: .95rem; }
  .brand small { display: none; }
  .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
  .hero { min-height: 590px; }
  h1 { font-size: 2.55rem; }
  .hero-actions .button { width: 100%; }
}
