:root {
  --teal: #004D62;
  --teal-soft: #9BCBCB;
  --teal-bg: #F4FAFB;
  --yellow: #FFD04A;
  --yellow-hover: #E8B83A;
  --green: #198754;
  --green-bg: #ECFAF2;
  --red: #B91C1C;
  --red-bg: #FEF2F2;

  --text: #1A1D21;
  --text-soft: #444B54;
  --text-mute: #6B7280;
  --line: #E3E6EA;
  --line-soft: #F0F2F4;
  --bg: #FFFFFF;
  --bg-page: #F6F5F2;

  --r-sm: 6px;
  --r: 12px;
  --shadow: 0 1px 3px rgba(0, 30, 40, .06), 0 8px 24px rgba(0, 30, 40, .06);

  --col: 700px;
  --serif: Georgia, "Times New Roman", "Droid Serif", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: var(--teal); }

/* ---------- article shell ---------- */

.wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 20px 80px;
}

.article {
  background: var(--bg);
  margin: 0 -20px;
  padding: 40px 20px 48px;
}

@media (min-width: 760px) {
  .wrap { padding: 0 0 80px; }
  .article { margin: 0; padding: 44px 56px 56px; border-radius: 0 0 var(--r) var(--r); }
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .01em;
  color: var(--teal);
  margin: 0 0 16px;
}

.eyebrow-sep { color: var(--teal-soft); font-weight: 400; padding: 0 2px; }

h1 {
  font-family: var(--serif);
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 18px;
  font-weight: 700;
}

@media (min-width: 760px) { h1 { font-size: 42px; } }

.standfirst {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 14px;
  color: var(--text-mute);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 0 0 28px;
}

.byline b { color: var(--text); font-weight: 600; }
.byline-dot { color: var(--line); }

h2 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 44px 0 14px;
  font-weight: 700;
}

h3 {
  font-size: 19px;
  line-height: 1.4;
  margin: 30px 0 8px;
  font-weight: 700;
}

p { margin: 0 0 18px; }

.article ul, .article ol { margin: 0 0 20px; padding-left: 22px; }
.article li { margin-bottom: 8px; }

/* ---------- video ---------- */

.videoblock { margin: 30px 0 34px; }

.videoblock video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--r);
  background: #000;
  box-shadow: var(--shadow);
}



/* ---------- figures ---------- */

.figure { margin: 28px 0 30px; }

.figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #FEFDF9;
}


/* ---------- pull line ---------- */

.pull {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.4;
  color: var(--teal);
  border-left: 4px solid var(--yellow);
  padding-left: 18px;
  margin: 28px 0 30px;
}

@media (min-width: 760px) { .pull { font-size: 26px; } }

/* ---------- tables ---------- */

.tablewrap {
  overflow-x: auto;
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: var(--bg);
}

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

thead th {
  background: #FAFBFC;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

tbody tr:last-child td { border-bottom: 0; }

tr.is-us td { background: #FFFBEC; font-weight: 600; }
tr.is-us td:first-child { box-shadow: inset 3px 0 0 var(--yellow); }

td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag-pass { background: var(--green-bg); color: var(--green); }
.tag-fail { background: var(--red-bg); color: var(--red); }

.tablenote {
  font-size: 14px;
  color: var(--text-mute);
  margin: 0 0 26px;
}

/* ---------- split: с/без забележка ---------- */

.split { display: grid; gap: 14px; margin: 24px 0 10px; }

@media (min-width: 700px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }

.split-col {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 18px 14px;
  background: var(--bg);
}

.split-good { border-color: #BFE3CE; background: #F6FCF8; }
.split-bad { background: #FCFCFB; }

.split-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--green);
}

.split-bad .split-head { color: var(--text-mute); }

.split-head span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(25, 135, 84, .12);
  letter-spacing: .02em;
}

.split-bad .split-head span { background: var(--line-soft); }

.split-col ul { list-style: none; margin: 0; padding: 0; }

.split-col li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 16px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.split-col li:last-child { border-bottom: 0; }

.split-good li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.split-bad li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 17px;
  width: 11px;
  border-top: 2px solid #C9A0A0;
}

.split-good li.is-us {
  font-weight: 700;
  color: var(--teal);
  background: #FFFBEC;
  margin: 0 -18px;
  padding-left: 44px;
  padding-right: 18px;
  box-shadow: inset 3px 0 0 var(--yellow);
}

.split-good li.is-us::before { left: 20px; border-color: var(--teal); }

.split-bad li b { font-weight: 700; }
.split-bad li { color: var(--text-soft); }

/* ---------- podium ---------- */

.podium {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #FCFCFB;
  padding: 22px 18px 16px;
  margin: 26px 0 10px;
}

.podium-plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
  height: 230px;
}

.podium-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.podium-bar {
  background: #C9D2D6;
  border-radius: 6px 6px 0 0;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.podium-val {
  font-size: 16px;
  font-weight: 700;
  color: #46535A;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.podium-col.is-us .podium-bar { background: var(--teal); }
.podium-col.is-us .podium-val { color: #FFFFFF; }
.podium-col.is-fail .podium-bar { background: #E8B4B4; }
.podium-col.is-fail .podium-val { color: #7F2222; }

.podium-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed var(--text-mute);
  z-index: 2;
  pointer-events: none;
}

.podium-line span {
  position: absolute;
  right: 0;
  top: -9px;
  background: #FCFCFB;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.podium-feet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 2px solid var(--line);
  padding-top: 12px;
}

.podium-foot { text-align: center; }

.podium-foot b {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.podium-foot.is-us b { color: var(--teal); }

/* ---------- callout ---------- */

.callout {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  margin: 30px 0;
  background: #FCFCFB;
}

.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.btn {
  display: block;
  text-align: center;
  background: var(--yellow);
  color: #23262A;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: var(--r-sm);
  transition: background .15s ease;
}

.btn:hover { background: var(--yellow-hover); }

.btn-wide { margin: 26px 0 8px; }


/* ---------- "не купувайте, ако" ---------- */

.notbuy {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #FCFCFB;
  padding: 6px 22px;
  margin: 24px 0 22px;
}

.notbuy ul { list-style: none; margin: 0; padding: 0; }

.notbuy li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
  line-height: 1.55;
}

.notbuy li:last-child { border-bottom: 0; }
.notbuy li b { display: block; color: var(--teal); margin-bottom: 2px; }

/* ---------- proof: доктори, вериги, отзиви ---------- */

.proof { margin: 46px 0 0; }

.proof-video {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  background: #000;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.proof-h {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.3;
  margin: 34px 0 12px;
  font-weight: 700;
}

.chains {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #FCFCFB;
  padding: 20px 18px 14px;
  margin: 26px 0 8px;
}

.chains-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
  margin: 0 0 16px;
}

.chains-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 26px;
}

.chains-logos img {
  height: 28px;
  width: auto;
}

.chains-logos .l-dm { height: 34px; }
.chains-logos .l-ozone { height: 20px; }

.tst {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

@media (min-width: 620px) { .tst { grid-template-columns: 1fr 1fr; } }

.tst-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
}

.tst-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.tst-item figcaption { padding: 16px 18px 18px; }

.tst-stars { display: block; color: var(--yellow-hover); letter-spacing: 2px; font-size: 15px; margin-bottom: 8px; }

.tst-quote {
  display: block;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.tst-name { display: block; font-weight: 700; font-size: 15px; }
.tst-meta { display: block; font-size: 13px; color: var(--text-mute); }

/* ---------- stats + CTA ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0 30px;
  margin: 44px 0 40px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0 0 28px;
}

@media (min-width: 620px) { .stats-row { gap: 80px; } }

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

@media (min-width: 620px) { .stat-num { font-size: 58px; } }

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
}

/* ---------- faq ---------- */

.faq { margin: 10px 0 0; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 28px 14px 0;
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 22px;
  font-weight: 400;
  color: var(--teal);
}

.faq details[open] summary::after { content: "\2212"; }

.faq .faq-a { padding: 0 0 16px; color: var(--text-soft); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- sources ---------- */

.sources {
  margin: 44px 0 0;
  padding: 20px 22px;
  background: #FAFAF8;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mute);
}

.sources h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; color: var(--text-soft); }
.sources ul { margin: 0 0 14px; padding-left: 20px; }
.sources li { margin-bottom: 6px; }
.sources p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.footer {
  max-width: var(--col);
  margin: 0 auto;
  padding: 28px 20px 60px;
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
}

.footer a { color: var(--text-mute); }

/* ---------- narrow screens ---------- */

@media (max-width: 560px) {
  table { font-size: 15px; }
  th, td { padding: 9px 10px; }
  thead th { font-size: 11px; letter-spacing: .03em; }
  .tag { font-size: 11px; padding: 2px 6px; }
}

/* ---------- sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(105%);
  transition: transform .25s ease;
}

.sticky-cta.is-on { transform: translateY(0); }

.sticky-cta .btn {
  max-width: var(--col);
  margin: 0 auto;
  font-size: 17px;
  padding: 15px 20px;
}

body.has-sticky { padding-bottom: 86px; }

@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
