:root {
  --ink: #102a24;
  --muted: #526761;
  --line: #d8e1dd;
  --soft: #eef5f1;
  --paper: #ffffff;
  --wash: #f7faf8;
  --accent: #0b6847;
  --accent-dark: #084d36;
  --warning: #9d2f2f;
  --max: 1180px;
  --content: 760px;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(19, 64, 50, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button, input, textarea, select { font: inherit; }
button, .button { touch-action: manipulation; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 7px;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 10px;
  color: var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); background: var(--soft); }

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  width: 20px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; padding-block: 56px; }
.hero-copy { max-width: 610px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
h1, h2, h3 { margin-top: 0; line-height: 1.15; letter-spacing: 0; text-wrap: balance; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 5.4vw, 72px); }
h2 { margin-bottom: 18px; font-size: clamp(30px, 3.2vw, 46px); }
h3 { margin-bottom: 10px; font-size: 22px; }
p { margin-top: 0; }
.lead { max-width: 60ch; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero .lead { max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}
.button:hover { color: #fff; background: var(--accent-dark); }
.button:active { transform: translateY(1px); }
.button-secondary { color: var(--accent); background: transparent; }
.button-secondary:hover { color: var(--accent-dark); background: var(--soft); }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-note {
  width: min(330px, calc(100% - 32px));
  position: absolute;
  left: -28px;
  bottom: 28px;
  padding: 20px;
  background: #fff;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 14px;
}
.hero-note strong { display: block; margin-bottom: 4px; font-size: 16px; }

.trust-bar { padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.trust-list li { padding-left: 15px; border-left: 3px solid var(--accent); }
.trust-list strong { display: block; font-size: 16px; }
.trust-list span { color: var(--muted); font-size: 13px; }

.section { padding-block: 88px; }
.section-soft { background: var(--wash); }
.section-title { max-width: 720px; margin-bottom: 38px; }
.section-title p { color: var(--muted); font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.feature {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}
.feature:first-child { color: #fff; background: var(--accent); border-color: var(--accent); }
.feature:first-child p, .feature:first-child a { color: #fff; }
.feature p { color: var(--muted); }
.feature a { display: inline-block; margin-top: 12px; font-weight: 800; }
.feature-number { display: block; margin-bottom: 50px; color: inherit; font-size: 13px; font-weight: 800; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.split img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.check-list { display: grid; gap: 14px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 15px 0 15px 34px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process article { min-height: 250px; padding: 26px; border-right: 1px solid var(--line); background: #fff; }
.process article:last-child { border-right: 0; }
.process strong { display: block; margin-bottom: 38px; color: var(--accent); font-size: 30px; }
.process p { color: var(--muted); font-size: 15px; }

.cta-band { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 720px; margin: 0; font-size: clamp(28px, 4vw, 46px); }

.page-hero { padding: 74px 0 58px; background: var(--wash); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(38px, 5vw, 64px); }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--muted); }
.article-meta { margin-top: 26px; color: var(--muted); font-size: 14px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 70px; align-items: start; }
.prose { font-size: 17px; }
.prose h2 { margin-top: 52px; padding-top: 12px; font-size: 34px; }
.prose h3 { margin-top: 34px; font-size: 23px; }
.prose p, .prose li { color: #334b45; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose img { width: 100%; margin: 38px 0; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.prose blockquote {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  font-size: 18px;
}
.prose blockquote p { margin: 0; color: var(--ink); }

.toc { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.toc strong { display: block; margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--accent); }

.notice { margin: 28px 0; padding: 22px 24px; border-left: 5px solid var(--warning); background: #fff7f7; border-radius: var(--radius); }
.notice strong { display: block; margin-bottom: 6px; color: #721c1c; }
.info-box { margin: 28px 0; padding: 24px; border-left: 5px solid var(--accent); background: var(--soft); border-radius: var(--radius); }

.comparison-table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 15px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table th { color: var(--ink); background: var(--soft); }

.faq { margin-top: 44px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 30px 20px 0; position: relative; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--accent); font-size: 24px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 36px 20px 0; }

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.legal-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; text-decoration: none; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.contact-list { display: grid; gap: 18px; }
.contact-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item strong { display: block; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #9caca6;
  border-radius: 6px;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(11, 104, 71, 0.2); border-color: var(--accent); }
textarea { min-height: 170px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }
.form-status { margin-top: 16px; padding: 12px; background: var(--soft); border-radius: 6px; }

.site-footer { padding: 56px 0 28px; background: #f3f7f5; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr; gap: 38px; }
.footer-brand p { max-width: 44ch; margin-top: 16px; color: var(--muted); font-size: 14px; }
.footer-column strong { display: block; margin-bottom: 12px; }
.footer-column a { display: block; margin: 7px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-column a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.cookie-banner {
  width: min(480px, calc(100% - 32px));
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: none;
  gap: 20px;
  align-items: flex-start;
  flex-direction: column;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 14px; }
.cookie-actions { display: flex; gap: 8px; align-self: flex-end; flex-shrink: 0; }
.cookie-actions button { padding: 9px 12px; border: 1px solid var(--accent); border-radius: 6px; font-weight: 700; cursor: pointer; }
.cookie-accept { color: #fff; background: var(--accent); }
.cookie-decline { color: var(--accent); background: #fff; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { margin: 0; color: var(--accent); font-size: clamp(84px, 18vw, 180px); line-height: 0.9; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 11px 10px; }
  .hero { min-height: auto; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .hero-copy { max-width: 720px; }
  .hero-media { max-width: 680px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:first-child { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr 1fr; }
  .process article:nth-child(2) { border-right: 0; }
  .process article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container, .nav-wrap { width: min(100% - 28px, var(--max)); }
  .narrow { width: min(100% - 28px, var(--content)); }
  .nav-wrap { min-height: 64px; }
  .site-nav { top: 64px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero-grid { padding-block: 42px; }
  h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-note { left: 14px; bottom: 14px; }
  .trust-list, .feature-grid, .process, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature:first-child { grid-column: auto; }
  .process article, .process article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .process article:last-child { border-bottom: 0; }
  .section { padding-block: 64px; }
  .page-hero { padding: 54px 0 44px; }
  .cta-inner, .footer-bottom, .cookie-banner { align-items: stretch; flex-direction: column; }
  .cta-inner .button { align-self: flex-start; }
  .footer-brand { grid-column: auto; }
  .comparison-table { display: block; overflow-x: auto; }
  .field-full { grid-column: auto; }
  .cookie-actions button { flex: 1; }
}

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

@media print {
  .site-header, .site-footer, .cookie-banner, .toc, .hero-actions { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .page-hero, .section-soft { background: #fff; }
  .article-layout { display: block; }
  a { color: #000; text-decoration: none; }
}
