/* ==========================================================================
   PressureCalmX — Editorial Wellness Design System
   ========================================================================== */

:root {
  --navy: #10202f;
  --navy-2: #16293a;
  --charcoal: #212b33;
  --ink: #1b2530;
  --ink-soft: #4a5762;
  --paper: #faf7f1;
  --paper-2: #f2ede3;
  --card: #ffffff;
  --line: #e4ddce;
  --teal: #1f7a6c;
  --teal-dark: #175f54;
  --teal-tint: #e6f2ef;
  --gold: #b98a3d;
  --amber-bg: #fbf1de;
  --amber-line: #e7cd9a;
  --red-bg: #fbeceb;
  --red-line: #e6b8b4;
  --red-ink: #8a3a33;
  --green-bg: #eaf5ef;
  --green-line: #bfe0cf;

  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1140px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 32, 47, 0.08);
  --shadow-md: 0 8px 28px rgba(16, 32, 47, 0.10);
  --shadow-lg: 0 20px 48px rgba(16, 32, 47, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--teal-dark); }
.nav-links {
  display: flex; gap: 26px; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none; color: var(--ink); font-size: 0.94rem; font-weight: 500;
}
.nav-links a:hover { color: var(--teal-dark); }
.nav-cta-wrap { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13.5px 28px;
}
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { display: block; width: 100%; }
.btn-sub { display: block; font-weight: 400; font-size: 0.78rem; opacity: 0.85; margin-top: 3px; }

/* ---------- Disclosure strip ---------- */
.disclosure-strip {
  background: var(--navy);
  color: #cfd9e0;
  font-size: 0.82rem;
  text-align: center;
  padding: 9px 16px;
}
.disclosure-strip a { color: #cfe9e2; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.84rem; color: var(--ink-soft); padding: 18px 0 0;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-dark); }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.6; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #eef2f4;
  padding: 56px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.12rem; color: #c9d4da; max-width: 54ch; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e4ecef;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-limitation {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: #d9e2e6;
  border-radius: 6px;
  margin-bottom: 26px;
}
.hero-media {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.hero-media img { border-radius: var(--radius-sm); margin: 0 auto; }
.hero-media .cap { font-size: 0.8rem; color: #aebbc2; margin-top: 12px; }

/* ---------- Verdict box ---------- */
.verdict-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin: 18px 0 22px;
}
.verdict-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
}
.verdict-row dt { color: var(--ink-soft); }
.verdict-row dd { margin: 0; font-weight: 600; text-align: right; }
.verdict-score {
  display: flex; align-items: center; gap: 14px;
  background: var(--teal-tint);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.verdict-score .num { font-family: var(--font-head); font-size: 2.1rem; color: var(--teal-dark); font-weight: 700; }

/* ---------- Audience / Steps ---------- */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.audience-card, .plain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.audience-card h3 { font-size: 1.08rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--teal-dark);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Ingredient cards ---------- */
.ingredient-note {
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.94rem;
  margin: 8px 0 32px;
}
.ingredient-note strong { color: var(--navy); }
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 28px;
}
.ingredient-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.ingredient-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.ingredient-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #d8d0bd;
}
.ingredient-card:hover::before { transform: scaleX(1); }
.ingredient-photo-wrap {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  background: var(--paper-2);
}
.ingredient-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(55%) saturate(85%) contrast(1.02);
  transform: scale(1.01);
  transition: filter 0.5s ease, transform 0.6s ease;
}
.ingredient-card:hover .ingredient-photo { filter: grayscale(0%); transform: scale(1.05); }
.ingredient-photo-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--teal-tint), var(--paper-2));
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  font-size: 2.6rem;
  transition: transform 0.6s ease;
}
.ingredient-card:hover .ingredient-photo-fallback { transform: scale(1.05); }
.ingredient-index {
  position: absolute; bottom: 6px; right: 14px; z-index: 2;
  font-family: var(--font-head); font-weight: 600; font-size: 2.8rem; line-height: 1;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 12px rgba(16,32,47,0.6);
  pointer-events: none;
}
.ingredient-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.ingredient-badge {
  display: block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.ingredient-body h3 { margin-bottom: 8px; font-size: 1.12rem; }
.ingredient-body p { font-size: 0.9rem; margin-bottom: 10px; color: var(--ink-soft); }
.ingredient-evidence {
  font-size: 0.82rem; color: var(--ink-soft); border-top: 1px solid var(--line);
  padding-top: 12px; margin-top: auto;
}
.ingredient-evidence strong {
  display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 4px;
}

/* ---------- Evidence table ---------- */
.evidence-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.evidence-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--card); }
table.evidence-table th, table.evidence-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top;
}
table.evidence-table th { background: var(--paper-2); font-family: var(--font-head); color: var(--navy); }
table.evidence-table tr:last-child td { border-bottom: none; }

/* ---------- Benefit cards ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: left;
}
.benefit-icon { font-size: 1.5rem; margin-bottom: 10px; }

/* ---------- Pros / Cons ---------- */
.proscons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.proscons-box { border-radius: var(--radius); padding: 26px; border: 1px solid; }
.proscons-box.pros { background: var(--green-bg); border-color: var(--green-line); }
.proscons-box.cons { background: var(--amber-bg); border-color: var(--amber-line); }
.proscons-box h3 { margin-bottom: 14px; }
.proscons-box ul { margin: 0; padding-left: 20px; }
.proscons-box li { margin-bottom: 10px; font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial-source-note {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: 0.92rem; margin-bottom: 26px;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; font-size: 0.92rem;
}
.testimonial-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.testimonial-meta { margin-top: 12px; font-size: 0.82rem; color: var(--ink-soft); }
.testimonial-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--teal-dark); background: var(--teal-tint);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Complaints ---------- */
.finding-list { list-style: none; margin: 0; padding: 0; }
.finding-list li {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.finding-list li:last-child { border-bottom: none; }
.finding-mark { font-weight: 700; color: var(--teal-dark); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border: 2px solid var(--teal); box-shadow: var(--shadow-lg); transform: translateY(-8px);
}
.price-tag {
  align-self: center; background: var(--gold); color: #fff; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.price-card .supply { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 6px; }
.price-card .amount { font-family: var(--font-head); font-size: 2.4rem; color: var(--navy); font-weight: 700; }
.price-card .amount span { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.price-card .total-line { font-size: 0.85rem; color: var(--ink-soft); margin: 8px 0 18px; }
.price-card .total-line del { opacity: 0.6; margin-right: 6px; }
.price-card .btn { margin-top: auto; }

/* ---------- Guarantee ---------- */
.guarantee-box {
  background: var(--teal-tint); border: 1px solid #cbe4dd; border-radius: var(--radius);
  padding: 32px; display: flex; gap: 22px; align-items: flex-start;
}
.guarantee-badge {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--teal-dark);
  background: #fff; border: 2px solid var(--teal); border-radius: 50%;
  width: 92px; height: 92px; min-width: 92px; display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.1; font-size: 0.95rem; padding: 6px;
}

/* ---------- Safety callouts ---------- */
.callout {
  border-radius: var(--radius); padding: 22px 24px; border: 1px solid; margin-bottom: 18px;
}
.callout-amber { background: var(--amber-bg); border-color: var(--amber-line); }
.callout-red { background: var(--red-bg); border-color: var(--red-line); color: var(--red-ink); }
.callout-red h3, .callout-red strong { color: var(--red-ink); }
.callout h3 { margin-bottom: 8px; font-size: 1rem; }
.callout ul { margin: 8px 0 0; padding-left: 20px; }
.callout li { margin-bottom: 6px; font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; font-family: var(--font-head); font-size: 1.05rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .icon { font-size: 1.3rem; color: var(--teal-dark); transition: transform 0.2s ease; flex: none; }
.faq-item[data-open="true"] .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  font-size: 0.96rem; color: var(--ink-soft);
}
.faq-a-inner { padding: 0 4px 20px; }
.faq-item[data-open="true"] .faq-a { max-height: 500px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; text-align: center; border-radius: var(--radius); padding: 48px 32px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d4da; max-width: 56ch; margin: 0 auto 26px; }
.cta-band-inline { background: none; padding: 0; }

/* ---------- Related / links ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; text-decoration: none; display: block;
}
.related-card .eyebrow { margin-bottom: 6px; }
.related-card h4 { color: var(--navy); font-family: var(--font-head); font-size: 1rem; margin: 0 0 6px; }
.related-card p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }

/* ---------- Article / blog prose ---------- */
.article-hero-img {
  max-width: 760px; margin: 0 auto 8px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
}
.article-hero-img img { width: 100%; height: 320px; object-fit: cover; }
.article-hero-img .cap { padding: 10px 4px 0; font-size: 0.78rem; color: var(--ink-soft); }
.ingredient-thumb {
  width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm);
  float: left; margin: 4px 16px 8px 0; border: 1px solid var(--line);
}
.ingredient-thumb-fallback {
  width: 84px; height: 84px; border-radius: var(--radius-sm);
  float: left; margin: 4px 16px 8px 0; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--teal-tint), var(--paper-2));
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.clearfix::after { content: ""; display: table; clear: both; }
.article-head { max-width: 760px; margin: 0 auto; text-align: left; padding-top: 8px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-soft); margin: 14px 0 24px; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin-top: 2em; }
.article-body h3 { margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 24px 0; padding: 4px 22px; border-left: 3px solid var(--teal); color: var(--ink-soft); font-style: italic;
}
.sources-list { font-size: 0.88rem; }
.sources-list li { margin-bottom: 8px; }
.inline-cta {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin: 32px 0; text-align: center;
}
.inline-cta p { margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #c7cfd5; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #c7cfd5; text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-logo { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin-bottom: 12px; display: block; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 0.8rem; color: #97a2a9; line-height: 1.7;
}
.footer-disclaimer p { margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 20px; font-size: 0.78rem; color: #7c868c; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .verdict-grid { grid-template-columns: 1fr; }
  .card-grid-3, .card-grid-2, .steps-grid, .benefit-grid, .pricing-grid, .testimonial-grid, .related-grid { grid-template-columns: 1fr; }
  .proscons-grid { grid-template-columns: 1fr; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section { padding: 44px 0; }
  .guarantee-box { flex-direction: column; align-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .ingredient-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav open state ---------- */
.site-header.nav-open .nav-links {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 14px;
}
