/* ═══════════════════════════════════════════════
   BASE RESET & TOKENS — v2 "sarafanka" style
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:       #fafafa;
  --clr-text:     #222222;
  --clr-muted:    #666666;
  --clr-light:    #767676; /* WCAG AA compliant on white */
  --clr-border:   #e0e0e0;
  --clr-accent:   #2563eb;
  --clr-accent-h: #1d4ed8;
  --clr-danger:   #b91c1c;
  --clr-success:  #15803d;

  --font:         'PT Serif', Georgia, 'Times New Roman', serif;
  --font-ui:      'Inter', Arial, sans-serif;
  --content-w:    680px;
  --side-pad:     20px;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
}

html { font-size: 16px; overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--clr-accent-h); }

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ═══════════════════════════════════════════════
   SITE HEADER — blog-style, minimal
═══════════════════════════════════════════════ */
.site-header {
  width: 100%;
  background: #f5f5f5;
  border-bottom: 1px solid var(--clr-border);
}
.site-header__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-header__tag {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #888;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
}
.site-header__divider {
  width: 1px;
  height: 14px;
  background: #ccc;
  flex-shrink: 0;
}
.site-header__author {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}
.site-header__author strong {
  color: #333;
  font-weight: 600;
}
.site-header__read {
  margin-left: auto;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .site-header__inner { padding: 10px 16px; gap: 10px; }
  .site-header__divider { display: none; }
  .site-header__read { display: none; }
  .site-header__author { font-size: 13px; }
}

/* ═══════════════════════════════════════════════
   INDEX COVER PAGE — blog article preview style
═══════════════════════════════════════════════ */
.cover {
  min-height: auto;
  display: block;
  background: var(--clr-bg);
  padding: 40px var(--side-pad);
}
.cover__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  width: 100%;
  display: block;
}
.cover__image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}
.cover__image img { width: 100%; height: auto; object-fit: cover; }
.cover__meta {
  font-size: 13px;
  color: var(--clr-light);
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.cover__tag {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #888;
  margin-bottom: 8px;
}
.cover__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 12px;
  font-family: var(--font);
}
.cover__sub {
  font-size: 17px;
  font-weight: 400;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}
/* CTA as a simple text link, not a gradient button */
.btn {
  display: inline-block;
  background: none;
  color: var(--clr-accent) !important;
  font-size: 17px;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  box-shadow: none;
  transition: color .2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: none;
  color: var(--clr-accent-h) !important;
  transform: none;
  box-shadow: none;
  text-decoration: underline !important;
}
.btn--large { font-size: 18px; padding: 0; border-radius: 0; }
.btn--block { display: inline-block; width: auto; text-align: left; }

@media (max-width: 800px) {
  .cover { padding: 24px var(--side-pad); }
  .cover__title { font-size: 24px; }
  .cover__sub { font-size: 16px; }
}

/* ═══════════════════════════════════════════════
   ARTICLE LAYOUT
═══════════════════════════════════════════════ */
.article-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--side-pad) 60px;
}

/* ARTICLE HEADER — editorial blog style */
.article-header { padding: 32px 0 0; margin-bottom: 24px; }
.article-header__tag {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #888;
  margin-bottom: 8px;
}
.article-header__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 10px;
  font-family: var(--font);
}
.article-header__sub {
  font-size: 17px;
  color: #555;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 14px;
}
.article-header__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--clr-light);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
}
.article-header__meta strong { color: #444; font-weight: 600; }
.article-header__hero {
  margin: 20px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.article-header__hero img { width: 100%; }

/* ARTICLE BODY — readable, editorial */
.article-body { font-size: 18px; line-height: 1.8; color: var(--clr-text); }

.article-body p { margin-bottom: 20px; }
.article-body p:last-child { margin-bottom: 0; }

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: #111;
  line-height: 1.35;
  font-family: var(--font);
}
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #111;
  font-family: var(--font);
}

.article-body .img-block {
  margin: 28px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.article-body .img-block img { width: 100%; }
.article-body .img-caption {
  font-size: 14px;
  color: var(--clr-light);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* PULL QUOTE — simple blockquote */
.pull-quote {
  background: none;
  border-left: 3px solid #ccc;
  border-radius: 0;
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  font-size: 18px;
  font-weight: 400;
  color: #555;
  line-height: 1.7;
  font-style: italic;
}

/* CALLOUT / HOOK — subtle, not designed */
.callout {
  background: #fff8e1;
  border: none;
  border-left: 3px solid #e6c200;
  border-radius: 0;
  padding: 4px 0 4px 20px;
  margin: 28px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  color: #5a4200;
}

/* PROBLEM CARDS — simplified, no grid, inline list */
.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}
.problem-card {
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: block;
}
.problem-card img { display: none; /* hide designed illustrations */ }
.problem-card__body { padding: 0; }
.problem-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-danger);
  margin-bottom: 4px;
  font-family: var(--font);
}
.problem-card__text {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
}

/* COMPARISON TABLE — simpler, blog-like */
.compare {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare__col {
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  border: 1px solid var(--clr-border);
}
.compare__col--bad {
  background: #fef2f2;
  border-color: #e8c4c4;
}
.compare__col--good {
  background: #f0fdf4;
  border-color: #b0dcc0;
}
.compare__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-family: var(--font);
}
.compare__col--bad .compare__title { color: var(--clr-danger); }
.compare__col--good .compare__title { color: var(--clr-success); }
.compare__rows { display: flex; flex-direction: column; gap: 10px; }
.compare__row {}
.compare__row-label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}
.compare__row-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .compare { grid-template-columns: 1fr; }
}

/* DOCTOR PROFILE — simple inline, like a person would describe */
.doctor-profile {
  background: #f7f7f7;
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 28px 0;
  color: var(--clr-text);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--clr-border);
}
.doctor-profile__photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.doctor-profile__photo img { width: 100%; display: block; }
.doctor-profile__badge {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #888;
  margin-bottom: 4px;
}
.doctor-profile__name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
  font-family: var(--font);
}
.doctor-profile__rows { display: flex; flex-direction: column; gap: 6px; }
.doctor-profile__row-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #888;
  margin-bottom: 1px;
}
.doctor-profile__row-val {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-profile__photo { max-width: 100px; }
}

/* BONUS CARDS — simple list, no cards */
.bonus-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  padding-left: 20px;
}
.bonus-card {
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: block;
  position: relative;
  padding-left: 8px;
}
.bonus-card::before {
  content: '✓';
  position: absolute;
  left: -20px;
  color: var(--clr-success);
  font-weight: 700;
}
.bonus-card img { display: none; }
.bonus-card__body { padding: 0; }
.bonus-card__label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--clr-success);
  margin-bottom: 0;
  display: inline;
}
.bonus-card__label::after { content: ' — '; }
.bonus-card__title { font-size: 17px; font-weight: 400; color: var(--clr-text); display: inline; }

/* GUARANTEE BLOCK — inline text style, not a dark card */
.guarantee {
  background: #f7f7f7;
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 24px 0;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}
.guarantee__title {
  font-size: 16px;
  font-weight: 700;
  color: #888;
  margin-bottom: 16px;
  text-align: left;
  font-family: var(--font);
}
.guarantee__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.guarantee__item { text-align: left; }
.guarantee__num {
  font-size: 36px;
  font-weight: 700;
  color: var(--clr-success);
  line-height: 1;
  margin-bottom: 2px;
  font-family: var(--font);
}
.guarantee__unit {
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--clr-success);
  margin-bottom: 4px;
}
.guarantee__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.guarantee__note {
  font-size: 15px;
  color: #555;
  text-align: left;
  padding-top: 12px;
  border-top: 1px solid var(--clr-border);
  line-height: 1.6;
}
@media (max-width: 480px) {
  .guarantee__num { font-size: 30px; }
}

/* PHOTO GALLERY */
.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.photo-gallery img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 200px;
  object-fit: cover;
}
@media (max-width: 480px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery img { height: 220px; }
}

/* CTA SECTION — P.S. from author, not a marketing block */
.cta-section {
  background: none;
  border-radius: 0;
  padding: 0;
  margin: 32px 0 0;
  text-align: left;
  color: var(--clr-text);
  border: none;
  box-shadow: none;
  border-top: 1px solid var(--clr-border);
  padding-top: 24px;
}
.cta-section__eyebrow {
  display: none; /* hide marketing eyebrow */
}
.cta-section__title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
  margin-bottom: 8px;
  font-family: var(--font);
}
.cta-section__title::before {
  content: 'P.S. ';
  font-weight: 700;
}
.cta-section__sub {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}
.cta-section .btn {
  min-width: auto;
  font-size: 17px;
  color: var(--clr-accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* FOOTER — minimal */
.page-footer {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 20px var(--side-pad) 32px;
  border-top: 1px solid var(--clr-border);
  text-align: center;
}
.page-footer p {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 6px;
  line-height: 1.5;
}
.page-footer a {
  color: #aaa;
  font-size: 12px;
  margin: 0 6px;
}
.page-footer a:hover { color: #666; }

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin: 36px 0;
}

/* RESPONSIVE TYPOGRAPHY — keep 18px for 55+ audience */
@media (max-width: 640px) {
  .article-header__title { font-size: 22px; }
  .article-header__sub { font-size: 16px; }
  .article-body { font-size: 18px; line-height: 1.85; }
  .article-body h2 { font-size: 20px; }
  .article-body p { margin-bottom: 22px; }
  .cta-section__title { font-size: 17px; }
  .cta-section .btn { width: auto; min-width: unset; }
}

/* AUTHOR BAR — blog-style byline */
.author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  margin-bottom: 20px;
}
.author-bar__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.author-bar__name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  font-family: var(--font);
}
.author-bar__meta {
  font-size: 13px;
  color: #999;
}

/* Section dividers — blog style */
.article-body hr {
  border: none;
  text-align: center;
  margin: 32px 0;
}
.article-body hr::after {
  content: '***';
  color: #ccc;
  letter-spacing: 8px;
  font-size: 14px;
}
