.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 30;
  padding: 10px 14px; border-radius: 8px; background: var(--shell-green);
  color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:root {
  --shell-bg: var(--page-bg, #f3f7f4);
  --shell-surface: var(--surface, #fff);
  --shell-text: var(--text, #172b20);
  --shell-muted: var(--muted, #637369);
  --shell-line: var(--line, #dce7df);
  --shell-green: var(--green, #176b3a);
  --shell-green-dark: var(--green-dark, #10532c);
}
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  margin: 0 0 26px; padding: 14px 18px; border: 1px solid var(--shell-line);
  border-radius: 18px; background: var(--shell-surface);
  box-shadow: 0 8px 24px rgb(24 51 33 / 4%);
}
.site-brand { display: flex; align-items: center; gap: 11px; min-width: max-content; color: inherit; text-decoration: none; }
.site-brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 14px; background: #e0f1e5; color: var(--shell-green);
  font-size: 1.2rem; font-weight: 800;
}
.site-brand-name { display: block; font-size: .98rem; font-weight: 800; }
.site-brand-caption { display: block; margin-top: 3px; color: var(--shell-muted); font-size: .76rem; }
.site-header-main { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px;
  border-radius: 9px; color: var(--shell-muted); font-size: .88rem; font-weight: 700;
  text-decoration: none; transition: background .15s, color .15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: #eaf4ed; color: var(--shell-green-dark);
}
.site-header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site-header-actions button { min-height: 40px; padding: 8px 12px; font-size: .82rem; }
.site-header-actions button[hidden] { display: none; }
.site-breadcrumbs { margin: 0 0 14px; color: var(--shell-muted); font-size: .82rem; }
.site-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; color: #9aa99e; }
.site-breadcrumbs a { color: var(--shell-muted); text-decoration: none; }
.site-breadcrumbs a:hover { color: var(--shell-green); text-decoration: underline; }
.site-hero {
  margin: 0 0 24px; padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--shell-line); border-radius: 20px;
  background: linear-gradient(135deg, #edf7ef 0%, #f8fbf8 72%);
}
.site-hero .eyebrow { margin: 0 0 8px; color: var(--shell-green); font-size: .84rem; font-weight: 800; }
.site-hero h1 { margin: 0 0 9px; color: var(--shell-text); font-size: clamp(1.65rem, 4vw, 2.3rem); line-height: 1.4; }
.site-hero p:last-child { max-width: 720px; margin: 0; color: var(--shell-muted); line-height: 1.9; }
.site-footer {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 28px;
  margin-top: 34px; padding: 28px; border: 1px solid var(--shell-line);
  border-radius: 18px; background: var(--shell-surface); color: var(--shell-muted);
  text-align: start; font-size: .88rem;
}
.site-footer h2 { margin: 0 0 12px; color: var(--shell-text); font-size: 1rem; }
.site-footer p { margin: 0; color: var(--shell-muted); line-height: 1.9; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--shell-green-dark); text-decoration: none; text-underline-offset: 3px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer-bottom {
  grid-column: 1 / -1; margin-top: 2px; padding-top: 16px;
  border-top: 1px solid var(--shell-line); color: var(--shell-muted);
  font-size: .78rem; text-align: center;
}
.legal-page {
  width: min(100%, 900px); margin: 0 auto; padding: clamp(20px, 5vw, 38px);
  border: 1px solid var(--shell-line); border-radius: 18px;
  background: var(--shell-surface); box-shadow: 0 10px 28px rgb(24 51 33 / 4%);
}
.legal-page h2 { margin: 25px 0 8px; color: var(--shell-green-dark); font-size: 1.12rem; line-height: 1.6; }
.legal-page p, .legal-page li { color: var(--shell-muted); line-height: 1.95; }
.legal-page ul { padding-inline-start: 22px; }
.legal-page a { color: var(--shell-green-dark); }
body[data-theme="dark"] .site-hero { background: linear-gradient(135deg, #1b3022 0%, #19271e 72%); }
body[data-theme="dark"] .site-brand-mark { background: #243d2b; color: #a0dfb2; }
body[data-theme="dark"] .site-nav a:hover,
body[data-theme="dark"] .site-nav a[aria-current="page"] { background: #263e2d; color: #c4ebce; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; padding: 14px; }
  .site-header-main { width: 100%; align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-nav { width: 100%; gap: 4px; }
  .site-nav a { min-height: 42px; padding-inline: 10px; }
  .site-header-actions { width: 100%; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; }
}
@media (max-width: 480px) {
  .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav a { justify-content: center; text-align: center; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }
  .site-footer-bottom { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav a { transition: none; }
}
.ad-slot {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 24px auto;
  overflow: hidden;
  text-align: center;
}
.ad-slot ins.adsbygoogle {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}
.ad-slot[data-ad-empty="true"] { display: none; }
@media (max-width: 480px) {
  .ad-slot { margin-block: 18px; }
}
