@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #f5f7f0;
  --surface: #ffffff;
  --subtle: #e8f1da;
  --ink: #143024;
  --muted: #4a6556;
  --line: #d6e1cb;
  --accent: #1b7a42;
  --accent-ink: #11552d;
  --lime: #c6e04a;
  --dark: #123524;
  --on-dark: #f4f8ee;
  --on-dark-muted: #bfd0b6;
  --max: 1140px;
  --radius: 14px;
  --sans: Inter, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --section: clamp(4rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 50;
  background: var(--ink); color: #fff; padding: 0.5rem 0.8rem; border-radius: 8px;
}
.skip:focus { top: 0.75rem; }

.wrap { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 46rem; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.028em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 0 0 1.25rem; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.125rem; margin: 0 0 0.5rem; letter-spacing: -0.015em; font-weight: 620; }
h4 { font-size: 1rem; margin: 0 0 0.4rem; letter-spacing: -0.01em; font-weight: 620; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol { padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 40rem; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; }
.brand img { height: 3.4rem; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.925rem; font-weight: 520; padding: 0.35rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav .nav-cta {
  color: var(--on-dark); background: var(--dark); padding: 0.55rem 1rem; border-radius: 999px; box-shadow: none !important;
}
.nav .nav-cta:hover { color: #fff; background: #0b2418; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 550 0.85rem/1 var(--sans); padding: 0.55rem 0.9rem; border-radius: 999px; cursor: pointer;
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.button {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button.primary { background: var(--dark); color: var(--on-dark); }
.button.primary:hover { background: #0b2418; color: #fff; }
.button.secondary { background: transparent; color: var(--ink); border-color: #b9ccb0; }
.button.secondary:hover { border-color: var(--ink); }
.button.light { background: var(--lime); color: var(--dark); }
.button.light:hover { background: #d4ea68; color: var(--dark); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(245,247,240,0.97) 0%, rgba(245,247,240,0.9) 38%, rgba(245,247,240,0.35) 68%, rgba(245,247,240,0) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4rem, 9vw, 7rem); }
.hero-copy { max-width: 38rem; }

.facts {
  position: relative; z-index: 1; margin-block: 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  background: var(--surface);
}
.facts div { padding: 1.1rem 1.5rem; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts div:first-child { padding-left: 0; }
.facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0.2rem 0 0; font-weight: 600; font-size: 0.95rem; }
.facts-wrap { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Page header (interior) */
.page-head { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--subtle) 0%, var(--bg) 100%); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }

/* Sections */
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: var(--surface); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem; display: flex; flex-direction: column;
}
.section.alt .card { background: var(--bg); }
.card p { color: var(--muted); font-size: 0.96rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--subtle); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card .icon svg { width: 1.3rem; height: 1.3rem; }
.card .more { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.9rem; }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
.figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem; width: 0.9rem; height: 0.5rem;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.1rem; margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--accent); margin-bottom: 0.6rem; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.band { background: var(--dark); color: var(--on-dark); }
.band h2, .band h3 { color: var(--on-dark); }
.band p { color: var(--on-dark-muted); }
.band .kicker { color: var(--lime); }
.band a:not(.button) { color: var(--on-dark); }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }

.note {
  border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface);
  border-radius: 10px; padding: 1.1rem 1.25rem; margin: 1.5rem 0;
}
.note p:last-child { margin: 0; }

/* Details list */
.details { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.details div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--line); }
.details div:last-child { border-bottom: 0; }
.details dt { color: var(--muted); font-size: 0.9rem; }
.details dd { margin: 0; font-weight: 550; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 1.5rem 4rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 5.5rem; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.service .body p { color: var(--ink); }
.service h3 { font-size: 0.95rem; margin-top: 1.5rem; }
.service ul { color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tags li { margin: 0; padding: 0.35rem 0.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; }
.section.alt .tags li { background: var(--bg); }

.toc { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.5rem; font-size: 0.925rem; }
.toc a { font-weight: 550; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0.75rem 0 0; max-width: 46rem; }

/* Prose (legal) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: #28453a; }
.legal-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 4rem; align-items: start; }
.legal-nav { position: sticky; top: 6rem; font-size: 0.9rem; }
.legal-nav p { font-weight: 600; margin-bottom: 0.5rem; }
.legal-nav ul { list-style: none; padding: 0; margin: 0; }
.legal-nav a { color: var(--muted); text-decoration: none; display: block; padding: 0.25rem 0; }
.legal-nav a:hover { color: var(--ink); }

/* Forms */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid #c3d2b9; border-radius: 10px; padding: 0.7rem 0.85rem; width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-hint { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-status { font-size: 0.9rem; margin: 0; min-height: 1.4em; color: var(--accent-ink); }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-card + .contact-card { margin-top: 1rem; }
.contact-card h3 { margin-bottom: 0.35rem; }
.contact-card p { color: var(--muted); margin-bottom: 0.5rem; }
.contact-card .big { font-size: 1.05rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.copy-btn { margin-left: 0.5rem; font: 600 0.8rem/1 var(--sans); padding: 0.4rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 3.5rem 0 2rem; font-size: 0.9rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark); margin: 0 0 0.9rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-name { color: var(--on-dark); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.825rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-nav { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(3) { padding-left: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 4.5rem; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem 1.5rem 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent-ink); }
  .nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .section-head, .split, .service { grid-template-columns: 1fr; }
  .hero-media::after { background: linear-gradient(180deg, rgba(245,247,240,0.95) 0%, rgba(245,247,240,0.88) 60%, rgba(245,247,240,0.55) 100%); }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 2.5rem); }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 1fr; gap: 0.15rem; }
  .brand img { height: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { background: #fff; }
}

.nav .nav-cta[aria-current="page"], .nav .nav-cta:hover { color: #fff; }
.site-footer { background: #0b2217; border-top: 1px solid rgba(255,255,255,0.08); }
.email-big { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 650; letter-spacing: -0.02em; margin: 1.5rem 0 0; word-break: break-word; }
.email-big .copy-btn { vertical-align: middle; }
