:root {
  color-scheme: light;
  --ink: #13231d;
  --muted: #5d6d66;
  --green: #0f6848;
  --mint: #b7f2da;
  --cream: #f7f4ed;
  --line: #d8dfdb;
  --white: #fff;
  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; overflow-x: hidden; color: var(--ink); background: var(--cream); }
a { color: inherit; }

.nav, footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav { min-height: 78px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.nav nav { display: flex; gap: 22px; }
.nav nav a, footer a { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav nav a:hover, footer a:hover, .text-link:hover { color: var(--green); }

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: 630px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 76px;
  align-items: center;
  padding: 72px 0 96px;
}
.hero > * { min-width: 0; }

.eyebrow { margin: 0 0 18px; color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
h1 { margin: 0; overflow-wrap: anywhere; font-size: clamp(3.25rem, 7.5vw, 6.6rem); line-height: .92; letter-spacing: -.065em; }
h1 span { color: var(--green); }
.lead { max-width: 650px; margin: 30px 0; color: var(--muted); font-size: 1.22rem; line-height: 1.6; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { display: inline-flex; padding: 14px 20px; border-radius: 999px; color: var(--white); background: var(--green); font-weight: 800; }
.text-link { color: var(--green); font-weight: 800; }
.fine { color: var(--muted); font-size: .82rem; }

.preview { transform: rotate(1.5deg); padding: 24px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: 0 28px 70px rgb(19 35 29 / .12); }
.preview-head, .month { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; }
.preview-head { padding: 4px 8px 22px; font-weight: 800; }
.preview-head strong { grid-column: 2 / 4; color: var(--green); text-align: right; }
.month { min-height: 66px; padding: 0 8px; border-top: 1px solid var(--line); color: var(--muted); }
.month span:first-child, .month strong { color: var(--ink); }
.month strong { text-align: right; }
.month.muted { opacity: .62; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--white); }
.features article { min-height: 330px; padding: 56px max(32px, 6vw); border-right: 1px solid rgb(255 255 255 / .14); }
.features h2, .local h2, .document h2 { margin: 28px 0 14px; font-size: 1.55rem; }
.features p, .local p, .document p, .document li { color: #bbc7c2; line-height: 1.65; }
.number { color: var(--mint); font-weight: 850; }

.local { padding: 100px max(20px, calc((100vw - 1160px) / 2)); background: var(--mint); }
.local h2 { max-width: 750px; margin: 0 0 20px; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.05em; }
.local p:not(.eyebrow) { max-width: 720px; color: #315348; font-size: 1.15rem; }

.document { width: min(760px, calc(100% - 40px)); min-height: 70vh; margin: 0 auto; padding: 72px 0 110px; }
.document h1 { margin-bottom: 42px; font-size: clamp(3rem, 8vw, 5.6rem); }
.document h2 { margin-top: 42px; }
.document p, .document li { color: var(--muted); font-size: 1.05rem; }
.document li + li { margin-top: 8px; }

footer { min-height: 110px; border-top: 1px solid var(--line); color: var(--muted); }
footer span:nth-child(2) { margin-right: auto; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .hero h1 span { display: block; }
  .actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .features { grid-template-columns: 1fr; }
  .features article { min-height: 0; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .14); }
  .preview { overflow: hidden; transform: none; padding: 16px; }
  .month { grid-template-columns: 1fr auto; }
  .month span:nth-child(2) { display: none; }
  footer { align-items: flex-start; flex-wrap: wrap; padding: 28px 0; }
  footer span:nth-child(2) { width: 100%; order: 4; }
}

@media (max-width: 460px) {
  .nav { min-height: 68px; }
  .brand { gap: 7px; font-size: 1rem; }
  .brand img { width: 34px; height: 34px; }
  .nav nav { gap: 10px; font-size: .78rem; }
  h1 { font-size: 2.95rem; }
  .hero, .nav, footer { width: calc(100% - 28px); }
  .preview-head { grid-template-columns: minmax(0, 1fr) auto; }
  .preview-head strong { grid-column: auto; }
}
