:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #516056;
  --line: #d8dfd9;
  --paper: #fbfcf8;
  --soft: #edf4ed;
  --accent: #0b6b57;
  --accent-2: #2457a6;
  --warn: #9b5c00;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 248, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex: 1;
  gap: 16px;
  overflow-x: auto;
}

nav a,
.language {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(120deg, rgba(11, 107, 87, 0.92), rgba(36, 87, 166, 0.84)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='720' viewBox='0 0 1200 720'%3E%3Crect width='1200' height='720' fill='%23eaf1e8'/%3E%3Cg fill='none' stroke='%2317211b' stroke-opacity='.16' stroke-width='3'%3E%3Cpath d='M140 140h220v112H140zM430 140h220v112H430zM720 140h220v112H720zM260 332h220v112H260zM550 332h220v112H550zM840 332h220v112H840z'/%3E%3Cpath d='M250 252v80M540 252v80M830 252v80M370 444v80M660 444v80M950 444v80'/%3E%3C/g%3E%3C/svg%3E") center/cover;
  color: white;
}

.hero > div,
.band,
footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero > div {
  margin: 0;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.lead {
  max-width: 760px;
  font-size: clamp(18px, 2.4vw, 24px);
}

.trust {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.hero .button.primary {
  border-color: white;
  background: white;
  color: var(--accent);
}

.band {
  padding: clamp(44px, 7vw, 84px) 0;
}

.band.muted {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1120px) / 2));
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head p,
.split p,
.article p {
  color: var(--muted);
  font-size: 18px;
}

.diagnostic-grid,
.split,
.monetization {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: start;
}

.check-panel,
.score-panel,
.template-box,
.card,
.ad-slot,
.affiliate-slot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.check-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.check-panel label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.score-panel {
  position: sticky;
  top: 82px;
  padding: 22px;
}

.score-panel p {
  margin: 0;
  color: var(--muted);
}

.score-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 52px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6f8f4;
  font-size: 13px;
  text-transform: uppercase;
}

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

.card {
  padding: 20px;
}

.card ul,
.check-list {
  margin: 0;
  padding-left: 20px;
}

.link-card {
  color: inherit;
  text-decoration: none;
}

.check-list {
  display: grid;
  gap: 10px;
}

.template-box {
  padding: 20px;
}

.template-box p {
  margin-top: 0;
}

.monetization {
  border-top: 1px solid var(--line);
}

.ad-slot,
.affiliate-slot {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
}

.article {
  max-width: 920px;
}

footer {
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(420px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 60px rgba(23, 33, 27, 0.18);
}

.consent p {
  margin: 0 0 12px;
}

.consent div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .diagnostic-grid,
  .split,
  .monetization,
  .cards {
    grid-template-columns: 1fr;
  }

  .score-panel {
    position: static;
  }
}
