:root {
  --ink: #173b3a;
  --muted: #5e7473;
  --brand: #0b6b69;
  --brand-2: #0f8b84;
  --accent: #f0a94b;
  --paper: #fffdfa;
  --soft: #eef8f6;
  --line: #dce9e7;
  --warning: #fff5d8;
  --shadow: 0 18px 48px rgba(23,59,58,.10);
  --radius: 22px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,253,250,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-row { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand img { width: 220px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .94rem; }
.nav a:hover { color: var(--brand); }
.nav-toggle { display:none; border:0; background:var(--soft); padding:10px 12px; border-radius:12px; font-size:1.2rem; }
.hero { padding: 78px 0 58px; }
.hero-grid { display:grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items:center; }
.eyebrow {
  display:inline-flex; gap:8px; align-items:center; padding:7px 12px;
  border-radius:999px; background:var(--soft); color:var(--brand);
  font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em;
}
h1,h2,h3 { line-height:1.12; letter-spacing:-.025em; margin-top:0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); margin-bottom:22px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom:18px; }
h3 { font-size: 1.35rem; margin-bottom:10px; }
.lead { font-size:1.2rem; color:var(--muted); max-width:700px; }
.actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:50px; padding:12px 20px; border-radius:14px;
  text-decoration:none; font-weight:850; border:1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(11,107,105,.15); }
.btn-primary { background:var(--brand); color:white; }
.btn-secondary { background:white; color:var(--brand); border-color:var(--line); }
.hero-art { border-radius:32px; box-shadow:var(--shadow); overflow:hidden; }
.trust-row { display:flex; flex-wrap:wrap; gap:12px 20px; margin-top:26px; color:var(--muted); font-weight:650; font-size:.92rem; }
.section { padding: 68px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width:760px; margin-bottom:30px; }
.grid-2,.grid-3 { display:grid; gap:22px; }
.grid-2 { grid-template-columns:repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns:repeat(3, minmax(0,1fr)); }
.card {
  background:white; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:0 12px 34px rgba(23,59,58,.06);
}
.card p { color:var(--muted); }
.card-link { color:inherit; text-decoration:none; }
.card-link:hover .card { border-color:#a6d5d0; transform:translateY(-2px); }
.product-badge {
  display:inline-block; padding:6px 10px; border-radius:999px; background:#e8f7f4;
  color:var(--brand); font-size:.78rem; font-weight:850; margin-bottom:14px;
}
.product-badge.draft { background:var(--warning); color:#805400; }
.score {
  display:flex; align-items:baseline; gap:7px; margin:15px 0;
  font-weight:900; color:var(--brand);
}
.score strong { font-size:2.1rem; }
.disclosure {
  background:#f8f4e9; border:1px solid #e9dfc3; border-radius:14px;
  padding:14px 16px; font-size:.88rem; color:#5b513a; margin:22px 0;
}
.notice {
  background:var(--warning); border:1px solid #ecd897; border-radius:16px;
  padding:18px; margin:22px 0; color:#6b5313;
}
.prose { max-width:820px; }
.prose p,.prose li { color:#425b5a; }
.prose h2 { margin-top:52px; }
.prose h3 { margin-top:30px; }
.prose ul { padding-left:22px; }
.quick-verdict {
  padding:28px; border-left:6px solid var(--brand); background:var(--soft);
  border-radius:0 var(--radius) var(--radius) 0; margin:30px 0;
}
.check-list { list-style:none; padding:0; margin:0; }
.check-list li { position:relative; padding-left:30px; margin:11px 0; }
.check-list li::before {
  content:"✓"; position:absolute; left:0; top:0; width:21px; height:21px;
  display:grid; place-items:center; border-radius:50%; background:#dff3ef; color:var(--brand); font-weight:900;
}
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:18px; }
table { width:100%; border-collapse:collapse; background:white; }
th,td { padding:16px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
th { background:var(--soft); }
.article-meta { color:var(--muted); font-size:.9rem; margin:16px 0 28px; }
.breadcrumbs { font-size:.88rem; color:var(--muted); margin-top:28px; }
.breadcrumbs a { color:inherit; }
.cta-box {
  margin:42px 0; padding:30px; border-radius:24px;
  background:linear-gradient(135deg,#0b6b69,#0f8b84); color:white;
}
.cta-box p { color:#e8ffff; }
.cta-box .btn { background:white; color:var(--brand); }
.site-footer { background:#123b3a; color:#dff1ef; padding:54px 0 28px; margin-top:70px; }
.footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:30px; }
.site-footer a { color:#e6f8f6; text-decoration:none; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li { margin:8px 0; }
.footer-note { border-top:1px solid rgba(255,255,255,.18); margin-top:34px; padding-top:20px; color:#b7d1cf; font-size:.85rem; }
.form { display:grid; gap:14px; max-width:680px; }
.form label { font-weight:750; }
.form input,.form textarea {
  width:100%; border:1px solid var(--line); border-radius:13px; padding:13px 14px; font:inherit; background:white;
}
.form textarea { min-height:170px; }
.kicker { color:var(--brand); font-weight:850; }
.small { font-size:.86rem; color:var(--muted); }
@media (max-width: 860px) {
  .hero-grid,.grid-3,.footer-grid { grid-template-columns:1fr; }
  .grid-2 { grid-template-columns:1fr; }
  .nav-toggle { display:block; margin-left:auto; }
  .nav {
    display:none; position:absolute; left:18px; right:18px; top:72px;
    background:white; border:1px solid var(--line); border-radius:18px;
    padding:18px; box-shadow:var(--shadow); flex-direction:column; align-items:flex-start;
  }
  .nav.open { display:flex; }
  .brand img { width:190px; }
  .hero { padding-top:48px; }
}



/* ProvaDent conversion-focused review */
.review-hero {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:38px;
  align-items:center;
  margin-top:24px;
}
.review-product-visual {
  position:relative;
  min-height:420px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:30px;
  background:radial-gradient(circle at 70% 15%,rgba(255,255,255,.95),transparent 38%),
             linear-gradient(145deg,#e8f5ff 0%,#d9f1f0 52%,#fff7e7 100%);
  box-shadow:var(--shadow);
}
.review-product-visual img { width:100%; max-height:430px; object-fit:contain; }
.review-product-visual figcaption {
  position:absolute; right:16px; bottom:14px;
  padding:6px 10px; border-radius:999px;
  background:rgba(255,255,255,.9); color:var(--muted);
  font-size:.72rem; font-weight:800;
}
.benefit-strip {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:28px 0 34px;
}
.benefit-chip {
  display:flex; gap:10px; align-items:center;
  min-height:76px; padding:14px;
  border:1px solid #bee1dd; border-radius:16px;
  background:#f1fbf9; color:var(--ink);
  font-size:.88rem; font-weight:800; line-height:1.35;
}
.benefit-chip::before {
  content:"✓"; flex:0 0 auto;
  display:grid; place-items:center;
  width:26px; height:26px; border-radius:50%;
  background:var(--brand); color:#fff; font-weight:950;
}
.warm-verdict {
  margin:30px 0; padding:28px;
  border:1px solid #b9dfda; border-radius:24px;
  background:linear-gradient(140deg,#eefaf8,#fffdf7);
  box-shadow:0 12px 32px rgba(23,59,58,.07);
}
.warm-verdict .verdict-lead {
  font-size:1.12rem; font-weight:750; color:var(--ink);
}
.fit-table td { width:50%; }
.fit-table td:first-child { background:#f1fbf7; }
.fit-table td:last-child { background:#fffaf0; }
.fit-table td strong { display:block; color:var(--brand); margin-bottom:5px; }
.guarantee-box {
  position:relative; margin:38px 0;
  padding:34px 34px 30px 92px;
  overflow:hidden; border:2px solid #a9d9d2;
  border-radius:26px;
  background:linear-gradient(135deg,#eafaf6,#fff9e9);
  box-shadow:0 14px 36px rgba(23,59,58,.08);
}
.guarantee-icon {
  position:absolute; left:28px; top:31px;
  display:grid; place-items:center;
  width:48px; height:56px; border-radius:24px 24px 30px 30px;
  background:var(--brand); color:#fff; font-size:1.5rem;
}
.guarantee-box .guarantee-lead {
  font-size:1.08rem; font-weight:760; color:var(--ink);
}
.price-section-grid {
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  gap:28px; align-items:stretch;
}
.package-visual {
  display:grid; place-items:center;
  padding:20px; border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(145deg,#e4f3ff,#f7fbff);
}
.package-visual img { width:100%; max-height:510px; object-fit:contain; }
.price-cards { display:grid; gap:14px; }
.price-card {
  position:relative;
  display:grid; grid-template-columns:1fr auto;
  gap:10px 20px; align-items:center;
  padding:20px; border:1px solid var(--line);
  border-radius:18px; background:#fff;
}
.price-card.best-value {
  border:2px solid var(--brand);
  background:#f1fbf9;
  box-shadow:0 12px 30px rgba(11,107,105,.12);
}
.value-badge {
  position:absolute; top:-12px; right:18px;
  padding:5px 10px; border-radius:999px;
  background:var(--brand); color:#fff;
  font-size:.72rem; font-weight:900; text-transform:uppercase;
}
.package-price { text-align:right; color:var(--brand); }
.package-price strong { display:block; font-size:1.65rem; line-height:1; }
.science-details {
  margin:26px 0; border:1px solid var(--line);
  border-radius:18px; background:#fff;
}
.science-details summary {
  cursor:pointer; padding:20px 22px;
  font-weight:850; color:var(--brand);
}
.science-details > div { padding:0 22px 22px; }
@media (max-width:920px) {
  .review-hero,.price-section-grid { grid-template-columns:1fr; }
  .benefit-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .review-product-visual { min-height:330px; }
}
@media (max-width:560px) {
  .benefit-strip { grid-template-columns:1fr; }
  .fit-table td { min-width:260px; }
  .guarantee-box { padding:86px 22px 24px; }
  .guarantee-icon { left:22px; top:20px; }
  .price-card { grid-template-columns:1fr; }
  .package-price { text-align:left; }
}


/* V7 responsive review layout polish */
.review-hero {
  width: min(1120px, calc(100vw - 40px));
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  gap: 54px;
  align-items: center;
}

.review-hero h1 {
  max-width: 690px;
  font-size: clamp(3rem, 4.15vw, 4.55rem);
  line-height: 1.01;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.review-hero .lead {
  max-width: 690px;
  font-size: 1.16rem;
}

.review-product-visual {
  min-height: 0;
  aspect-ratio: 5 / 4;
  padding: 0;
  border-radius: 28px;
}

.review-product-visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.benefit-strip {
  width: min(1060px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.price-section-grid {
  width: min(1040px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1400px) {
  .review-hero {
    width: min(1180px, calc(100vw - 56px));
    grid-template-columns: minmax(0, 1.24fr) minmax(430px, .76fr);
  }

  .review-hero h1 {
    max-width: 720px;
    font-size: 4.65rem;
  }

  .review-product-visual {
    aspect-ratio: 6 / 5;
  }
}

@media (max-width: 920px) {
  .review-hero,
  .benefit-strip,
  .price-section-grid {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .review-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .review-hero h1 {
    max-width: none;
    font-size: clamp(2.55rem, 10vw, 4rem);
    line-height: 1.03;
  }

  .review-product-visual {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .review-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.3rem);
    letter-spacing: -.035em;
  }

  .review-hero .lead {
    font-size: 1.06rem;
  }

  .review-product-visual {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .review-product-visual figcaption {
    right: 10px;
    bottom: 10px;
    font-size: .66rem;
  }
}


.bonus-line {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff3cb;
  color: #755000;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .015em;
}


/* V8 editorial trust and mobile fit-table cards */
.review-byline {
  display:flex; align-items:center; gap:13px;
  margin:20px 0; padding:14px 16px;
  border:1px solid var(--line); border-radius:16px; background:#fff;
}
.byline-mark {
  flex:0 0 auto; display:grid; place-items:center;
  width:44px; height:44px; border-radius:50%;
  background:var(--brand); color:#fff;
  font-size:.8rem; font-weight:900; letter-spacing:.04em;
}
.review-byline strong,.review-byline span { display:block; }
.review-byline span { margin-top:2px; color:var(--muted); font-size:.86rem; }
.research-method,.original-analysis {
  margin:30px 0; padding:27px;
  border:1px solid #b9dfda; border-radius:22px;
  background:linear-gradient(140deg,#f3fbf9,#fffdf8);
  box-shadow:0 10px 28px rgba(23,59,58,.055);
}
.method-kicker {
  display:inline-block; margin-bottom:9px;
  color:var(--brand); font-size:.77rem; font-weight:900;
  letter-spacing:.08em; text-transform:uppercase;
}
.original-analysis h3 { font-size:1.65rem; }

@media (max-width:700px) {
  .fit-table { overflow:visible; border:0; border-radius:0; }
  .fit-table table,.fit-table tbody,.fit-table tr,.fit-table td {
    display:block; width:100%;
  }
  .fit-table thead { display:none; }
  .fit-table tr {
    margin-bottom:18px; overflow:hidden;
    border:1px solid var(--line); border-radius:18px;
    background:#fff; box-shadow:0 8px 22px rgba(23,59,58,.055);
  }
  .fit-table td { min-width:0 !important; padding:18px; border:0; }
  .fit-table td:first-child { border-bottom:1px solid var(--line); }
  .fit-table td::before {
    display:block; margin-bottom:8px;
    font-size:.73rem; font-weight:900;
    letter-spacing:.07em; text-transform:uppercase;
  }
  .fit-table td:first-child::before {
    content:"A strong fit when"; color:var(--brand);
  }
  .fit-table td:last-child::before {
    content:"Consider another route when"; color:#8a5b00;
  }
  .review-byline { align-items:flex-start; }
  .research-method,.original-analysis { padding:21px; }
}


/* V9 mobile cards for all remaining three-column tables */
@media (max-width:700px) {
  .ingredients-table,
  .analysis-table {
    overflow:visible;
    border:0;
    border-radius:0;
  }

  .ingredients-table table,
  .ingredients-table tbody,
  .ingredients-table tr,
  .ingredients-table td,
  .analysis-table table,
  .analysis-table tbody,
  .analysis-table tr,
  .analysis-table td {
    display:block;
    width:100%;
  }

  .ingredients-table thead,
  .analysis-table thead {
    display:none;
  }

  .ingredients-table tr,
  .analysis-table tr {
    margin-bottom:16px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 22px rgba(23,59,58,.055);
  }

  .ingredients-table td,
  .analysis-table td {
    min-width:0 !important;
    padding:16px 18px;
    border:0;
    overflow-wrap:anywhere;
  }

  .ingredients-table td + td,
  .analysis-table td + td {
    border-top:1px solid var(--line);
  }

  .ingredients-table td::before,
  .analysis-table td::before {
    display:block;
    margin-bottom:6px;
    color:var(--brand);
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
  }

  .ingredients-table td:nth-child(1)::before { content:"Ingredient"; }
  .ingredients-table td:nth-child(2)::before { content:"Amount per serving"; }
  .ingredients-table td:nth-child(3)::before { content:"Why it may matter"; }

  .analysis-table td:nth-child(1)::before { content:"Package"; }
  .analysis-table td:nth-child(2)::before { content:"Approx. cost per day"; }
  .analysis-table td:nth-child(3)::before { content:"Savings"; }

  .ingredients-table td:nth-child(1),
  .analysis-table td:nth-child(1) {
    background:#f1fbf7;
  }
}
