:root {
  --ink: #1c2428;
  --muted: #5b656c;
  --paper: #f4efe6;
  --header: #1b4f66;
  --header-2: #163f52;
  --cta: #2f8f4e;
  --cta-2: #267a41;
  --line: #d9d0c3;
  --card: #fff;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  padding-bottom: 72px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--header); }
p { margin: 0 0 1.05em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.25; color: #12181c; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--header); color: #fff; padding: .7rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; }

.ad-label {
  background: #ece7dc;
  color: #6a6258;
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
  padding: 7px 14px;
}

.masthead {
  background: linear-gradient(180deg, var(--header) 0%, var(--header-2) 100%);
  color: #fff;
  text-align: center;
  padding: 18px 16px 16px;
  border-bottom: 3px solid #c4a574;
}
.masthead a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .18em;
  font-size: 22px;
  font-family: var(--font);
}
.masthead small {
  display: block;
  margin-top: 4px;
  letter-spacing: .28em;
  font-size: 10px;
  opacity: .75;
  text-transform: uppercase;
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.legal-nav a { color: #445058; text-decoration: none; }
.legal-nav a[aria-current="page"] { color: var(--header); }

.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  padding: 28px 0 48px;
  align-items: start;
}

.article {
  background: var(--card);
  padding: 28px 36px 40px;
  border: 1px solid #e6ddd0;
  box-shadow: 0 1px 0 rgba(27, 79, 102, .04);
}

.crumbs {
  font-size: 13px;
  font-style: italic;
  color: #7a7368;
  margin: 0 0 14px;
}
.crumbs span { color: #a39888; }

.article h1 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  margin: 0 0 12px;
}

.byline {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.lead-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.lead-list li {
  position: relative;
  padding: 0 0 8px 22px;
}
.lead-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--header);
  font-weight: 700;
}

.hero-img, .article figure {
  margin: 0 0 22px;
}
.hero-img img, .article figure img {
  width: 100%;
  border-radius: 2px;
}
.article figcaption {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding-top: 8px;
}
.article figure.portrait img {
  max-width: min(420px, 100%);
  margin-inline: auto;
}

.article ul.features {
  padding-left: 1.1em;
  margin: 0 0 1.2em;
}
.article ul.features li { margin: 0 0 .45em; }

.steps {
  counter-reset: krok;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
}
.steps li {
  counter-increment: krok;
  margin: 0 0 12px;
  padding-left: 2.4em;
  position: relative;
}
.steps li::before {
  content: counter(krok);
  position: absolute;
  left: 0; top: 2px;
  width: 1.6em; height: 1.6em;
  border-radius: 50%;
  background: var(--header);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cta-box {
  background: #f7faf7;
  border: 1px solid #cfe3d4;
  padding: 22px 20px;
  text-align: center;
  margin: 28px 0 20px;
}
.cta-box p { margin: 0 0 12px; }

.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 36px;
  border-radius: 40px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--cta-2); }
.btn-ghost {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid #ccc;
}

.health-note, .affiliate-note {
  font-size: 14px;
  color: #4d565c;
  background: #faf8f3;
  border-left: 3px solid #c4a574;
  padding: 12px 14px;
  margin: 18px 0 0;
}

.sidebar {
  position: sticky;
  top: 16px;
  background: #fff;
  border: 1px solid #cfc6b8;
  text-align: center;
  padding: 0 0 18px;
}
.sidebar h2 {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  padding: 14px 12px 12px;
  background: #f3f7f8;
  border-bottom: 1px solid #e4ddd2;
  overflow-wrap: break-word;
}
.sidebar img {
  width: 86%;
  margin: 16px auto 14px;
}
.sidebar .btn { margin: 0 12px; font-size: 15px; padding: 12px 18px; }

.site-footer {
  background: #142830;
  color: #c5d0d4;
  padding: 36px 0 22px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}
.footer-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 8px;
}
.site-footer h2 {
  color: #fff;
  font-family: var(--font);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 10px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: #e8eef0; text-decoration: none; }
.footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #2a3f48;
  font-size: 12px;
  color: #9aadb4;
}

.legal-page {
  background: #fff;
  padding: 28px 32px 48px;
  margin: 24px auto 40px;
  border: 1px solid #e6ddd0;
  width: min(820px, calc(100% - 28px));
}
.legal-page h1 { margin-top: 0; }
.legal-page h2 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.entity-block {
  background: #f7f4ee;
  border: 1px solid var(--line);
  padding: 16px;
  margin: 16px 0;
  font-size: 16px;
  line-height: 1.6;
}
.operator-note { font-size: 15px; color: var(--muted); }

.cookie-banner {
  position: fixed;
  left: 16px; right: auto; bottom: 80px;
  z-index: 80;
  max-width: 420px;
  margin: 0;
  background: #fff;
  border: 1px solid #d7cfc3;
  box-shadow: 0 10px 28px rgba(20, 40, 48, .16);
  padding: 14px;
  display: none;
  font-size: 14px;
}
.cookie-banner.is-visible { display: block; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--cta);
}
.sticky-cta a {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 15px 12px;
  font-size: 16px;
}
.sticky-cta a:hover { background: var(--cta-2); }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; max-width: 360px; margin: 0 auto; }
  .article { padding: 20px 18px 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-page { padding: 22px 18px 36px; }
  .cookie-banner { left: 16px; right: 16px; max-width: none; }
}
