:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef2f7;
  --ink: #151b28;
  --text: #374152;
  --muted: #6b7484;
  --line: rgba(21, 27, 40, 0.12);
  --green: #1e8e5a;
  --teal: #117777;
  --orange: #d96a1d;
}

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 251, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand,
.site-nav a,
.text-link {
  text-decoration: none;
}

.brand {
  font-weight: 800;
  color: var(--ink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  font-weight: 700;
  color: var(--muted);
}

.site-nav a.active {
  color: var(--ink);
}

.hero,
.page-hero {
  padding: 72px 0 48px;
}

.hero {
  background:
    linear-gradient(135deg, rgba(30, 142, 90, 0.12), rgba(17, 119, 119, 0.08)),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  max-width: 11ch;
}

.lead {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: 18px;
}

.hero-actions {
  margin-top: 24px;
}

.section {
  padding: 56px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary-inline {
  background: var(--surface-alt);
  color: var(--ink);
  border: 1px solid var(--line);
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 16px;
  }

  h1 {
    max-width: 12ch;
  }
}
.adsterra-link-wrap {
  padding: 0 0 1.25rem;
  text-align: center;
}

.adsterra-link {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}