@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0b0d0c;
  --paper: #ffffff;
  --muted: #565d59;
  --line: #e2e6e3;
  --green: #26823a;
  --green-deep: #17602a;
  --green-dark: #0e4120;
  --tint: #e8f3e6;
  --night: #17602a;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "Post Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.mark { font-weight: 700; font-size: 1.125rem; letter-spacing: 0.42em; text-transform: uppercase; text-decoration: none; color: var(--ink); margin-right: auto; padding-right: 0.42em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: #fff; }
.nav a.btn:hover { color: #fff; }

/* buttons */
.btn { display: inline-block; padding: 13px 22px; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 3px; font: 500 0.9375rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn.quiet { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn.quiet:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn.on-dark { background: #fff; color: var(--night); border-color: #fff; }
.btn.on-dark:hover { background: var(--tint); border-color: var(--tint); }
.btn.on-dark { color: var(--green-deep); }
.btn.small { padding: 10px 16px; }

/* type */
h1 { font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.lede { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { background: var(--tint); }
.facts .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-block: 18px; font-size: 0.9375rem; color: var(--muted); }
.facts b { color: var(--green-deep); font-weight: 700; }
.facts .wrap { color: #44593f; }

/* board illustration */
.board { position: relative; background: var(--green); border-radius: 6px; padding: 18px; }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-height: 300px; }
.col h4 { margin: 0 0 12px; font: 500 0.8125rem/1 var(--font); color: #d4ebd0; display: flex; justify-content: space-between; }
.chip { background: #fff; border: 1px solid transparent; border-radius: 4px; padding: 11px 12px; font-size: 0.8125rem; line-height: 1.35; margin-bottom: 10px; min-height: 58px; }
.chip i { display: block; height: 5px; width: 55%; background: #dfe8e2; border-radius: 3px; margin-top: 9px; font-style: normal; }
.chip.done { color: var(--muted); }
.chip.done::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--green); vertical-align: -1px; }
.mover { position: absolute; top: 184px; left: 18px; width: calc((100% - 36px - 24px) / 3); background: #fff; border: 2px solid var(--green-dark); border-radius: 4px; padding: 11px 12px; font-size: 0.8125rem; line-height: 1.35; min-height: 58px; box-shadow: 0 8px 18px rgba(14, 65, 32, .35); animation: travel 10s ease-in-out infinite; }
.mover i { display: block; height: 5px; width: 70%; background: var(--green); opacity: .35; border-radius: 3px; margin-top: 9px; }
@keyframes travel {
  0%, 12%  { transform: translate(0, 0); }
  38%, 54% { transform: translate(calc(100% + 12px), -68px); }
  80%, 94% { transform: translate(calc(200% + 24px), 0); }
  100%     { transform: translate(0, 0); }
}

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 36em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--green); }
.group { padding: 24px 24px 8px 0; }
.group + .group { padding-left: 24px; border-left: 1px solid var(--line); }
.group h3 { margin-bottom: 18px; color: var(--green-deep); }
.group li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9688rem; line-height: 1.4; }
.group li:first-of-type { border-top: 0; padding-top: 0; }
.group li span { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 2px; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.rows { border-top: 3px solid var(--green); }
.rows > div { display: grid; grid-template-columns: 11em 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; color: var(--green-deep); }
.rows dd { color: var(--muted); }

.steps { counter-reset: s; border-top: 3px solid var(--green); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5em 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-weight: 700; color: var(--green); font-size: 1.25rem; line-height: 1.3; }
.steps b { display: block; font-weight: 700; }
.steps span { color: var(--muted); }

.cta { background: var(--night); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { color: #d4ebd0; margin-top: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9375rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; }
.site-footer .mark { font-size: 0.9375rem; display: inline-block; margin: 0 0 10px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* inner pages */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
a:not(.btn):not(.mark):hover { color: var(--green-deep); }
.page-head h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 20px; }
.feature-block { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); padding: 40px 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 3px solid var(--green); }
.feature-block h2 { font-size: 1.5rem; }
.feature-block p.intro { color: var(--muted); margin-top: 10px; }
.feature-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 13em 1fr; gap: 24px; }
.feature-list li:first-child { padding-top: 0; }
.feature-list b { font-weight: 700; }
.feature-list span { color: var(--muted); }
.contact-rows { max-width: 40em; }

@media (max-width: 900px) {
  .hero .wrap, .split, .feature-block { grid-template-columns: 1fr; }
  .groups { grid-template-columns: repeat(2, 1fr); }
  .group:nth-child(3) { padding-left: 0; border-left: 0; }
  .group:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
}
@media (max-width: 640px) {
  .nav a:not(.btn):not(.keep) { display: none; }
  .nav { gap: 16px; }
  .groups { grid-template-columns: 1fr; }
  .group + .group { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
  .rows > div, .feature-list li { grid-template-columns: 1fr; gap: 4px; }
  .mark { letter-spacing: 0.34em; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mover { animation: none; opacity: 0; }
}

.tinted { background: var(--tint); }
.tinted + .section { border-top: 0; }
.section.tinted { border-top: 0; }

/* pricing */
.price { background: var(--tint); border-top: 3px solid var(--green); padding: 28px 28px 24px; margin-bottom: 32px; }
.price-amount { font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--green-deep); }
.price-amount [data-price-amount] { font-size: inherit; }
.price-note { margin-top: 10px; font-size: 1.125rem; }

/* area pages */
.group h3 a { text-decoration: none; }
.group h3 a:hover { text-decoration: underline; }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--green); }
.area-grid li { border-bottom: 1px solid var(--line); }
.area-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.area-grid a { display: block; padding: 32px 32px 32px 0; text-decoration: none; height: 100%; }
.area-grid li:nth-child(even) a { padding-left: 32px; }
.area-grid b { display: block; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--green-deep); margin-bottom: 8px; }
.area-grid span { color: var(--muted); }
.area-grid a:hover b { text-decoration: underline; }
.area-links { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.area-links a { color: var(--green-deep); font-weight: 500; }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } .area-grid li:nth-child(odd) { border-right: 0; } .area-grid li:nth-child(even) a { padding-left: 0; } }

/* long-form pages */
.prose > * { max-width: 46em; }
.prose h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul:not(.area-links) { margin: 0 0 14px 1.2em; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green-deep); }
.prose .big { font-size: 1.5rem; font-weight: 700; }
