/* Mindoxa Official Reference Store & Verified Ledger - Design System
   Architecture: Authority Ledger (Prompt 18)
   Color Palette: Warm Paper, Wax, Dark Ink, Amber/Cognition Accent, Sage Verification
*/

:root {
  --ink: #1F1710;
  --ink-2: #4A3D2E;
  --ink-3: #7A6A56;
  --ink-muted: #968572;
  --paper: #FBF8F3;
  --paper-card: #FFFFFF;
  --wax: #F3EADA;
  --wax-2: #E8DAC2;
  --wax-3: #DFCEB2;
  --accent: #D9822B;
  --accent-deep: #B56717;
  --accent-light: #FDF3E7;
  --contrast-sec: #7A4A12;
  --sage-tint: #E6EFE9;
  --sage-border: #3F6B52;
  --sage-dark: #274B37;
  --white: #FFFFFF;
  --danger: #A33A1F;
  --danger-bg: #FBECE8;
  --border-light: rgba(74, 61, 46, 0.14);
  --shadow-sm: 0 2px 6px rgba(31, 23, 16, 0.05);
  --shadow-md: 0 6px 18px rgba(31, 23, 16, 0.08);
  --shadow-lg: 0 14px 32px rgba(31, 23, 16, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}

/* 1. Global Viewport Containment & Box Sizing (Strict Zero Horizontal Scroll) */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

header, nav, main, section, footer, article, aside, .hero, .ribbon, .trustrow, .wrap, .narrow {
  max-width: 100%;
  box-sizing: border-box;
}

section {
  overflow-x: clip;
  padding: 4.5rem 1.25rem;
}

@supports not (overflow-x: clip) {
  section { overflow-x: hidden; }
}

/* 2. Universal Typography & Word Break */
h1, h2, h3, h4, h5, h6, p, span, a, li, dt, dd, th, td, blockquote {
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, .heading-display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }

p {
  margin: 0 0 1.2rem;
  color: var(--ink-2);
}

a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--contrast-sec);
  background: var(--wax);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--wax-2);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.sublead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 2rem;
}

/* 0. Ribbon */
.ribbon {
  background-color: var(--ink);
  color: var(--wax);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(232, 218, 194, 0.2);
}

.ribbon strong {
  color: var(--accent);
}

/* 0b. Header & Masthead */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--wax-2);
  position: sticky;
  top: 0;
  z-index: 990;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.masthead.scrolled {
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.logo-brand__text {
  display: flex;
  flex-direction: column;
}

.logo-brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.logo-brand__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.nav-desk {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desk a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-desk a:hover,
.nav-desk a.active {
  color: var(--accent-deep);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(217, 130, 43, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: var(--accent-deep);
  color: var(--white);
  transform: translateY(-1px);
}

/* Mobile Hamburger */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--wax-2);
  padding: 0.45rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink);
}

.burger svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 23, 16, 0.65);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav.open {
  display: block;
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--wax-2);
}

.mobile-nav__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  color: var(--ink);
}

.mobile-nav__links {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(217, 130, 43, 0.3);
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(181, 103, 23, 0.4);
}

.btn--secondary {
  background: var(--wax);
  color: var(--ink);
  border: 1px solid var(--wax-2);
}

.btn--secondary:hover {
  background: var(--wax-2);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-2);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--sm {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* 1. Hero Section */
.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--wax) 100%);
  border-bottom: 1px solid var(--wax-2);
  padding: 3.5rem 1.25rem 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__content h1 em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--accent-deep);
  font-weight: 600;
}

.hero__lead {
  font-size: 1.12rem;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero__media {
  position: relative;
  text-align: center;
}

.hero__img {
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(0 14px 28px rgba(31, 23, 16, 0.15));
}

.hero__stamp {
  position: absolute;
  top: 10px;
  right: 15px;
  background: var(--white);
  border: 1px solid var(--wax-2);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink);
  text-align: left;
}

.hero__stamp strong {
  display: block;
  color: var(--accent-deep);
  font-size: 0.82rem;
}

/* Qualification Grid (Who it is built for / Skip it / Will not do) */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.qual-card {
  background: var(--paper-card);
  border: 1px solid var(--wax-2);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.qual-card--positive {
  border-top: 4px solid var(--sage-border);
}

.qual-card--warning {
  border-top: 4px solid var(--accent-deep);
}

.qual-card--limits {
  border-top: 4px solid var(--danger);
}

.qual-card__badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.qual-card--positive .qual-card__badge { color: var(--sage-border); }
.qual-card--warning .qual-card__badge { color: var(--accent-deep); }
.qual-card--limits .qual-card__badge { color: var(--danger); }

.qual-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.qual-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 0;
}

/* Trust Badges Row */
.trustrow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wax-2);
}

.trustitem {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-2);
}

.trustitem svg {
  flex-shrink: 0;
  color: var(--accent-deep);
}

/* 2. Short Answer (id="what") */
.section--what {
  background: var(--paper);
}

.answer-box {
  background: var(--wax);
  border: 2px solid var(--wax-2);
  border-left: 6px solid var(--accent-deep);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
}

.answer-box p:last-child {
  margin-bottom: 0;
}

/* 3. Supplement Facts Panel (id="label") */
.section--label {
  background: var(--wax);
  border-top: 1px solid var(--wax-2);
  border-bottom: 1px solid var(--wax-2);
}

.label-panel {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 2px;
  padding: 1.5rem 1.75rem;
  font-family: var(--font-body);
  box-shadow: var(--shadow-md);
}

.label-panel__header {
  border-bottom: 10px solid var(--ink);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.label-panel__title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}

.label-panel__servings {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  color: var(--ink-2);
  margin-top: 0.35rem;
}

/* Tables & Tablewrap */
.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
  display: block;
  box-sizing: border-box;
  touch-action: pan-x pan-y;
  margin-bottom: 1rem;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.facts-table th, .facts-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--wax-2);
  text-align: left;
}

.facts-table th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 4px solid var(--ink);
}

.facts-table td.amount, .facts-table td.dv {
  text-align: right;
  font-family: var(--font-mono);
}

.facts-table tr.blend-header td {
  font-weight: 700;
  border-top: 4px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--wax);
}

.facts-table .flag-undisclosed {
  color: var(--danger);
  font-size: 0.78rem;
  font-style: italic;
  display: block;
}

.label-panel__footer {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.45;
  border-top: 6px solid var(--ink);
  padding-top: 0.65rem;
  margin-top: 0.5rem;
}

.label-commentary {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--wax-2);
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* 4. Evidence Comb (id="evidence") */
.section--evidence {
  background: var(--paper);
}

.comb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.comb-cell {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.meter {
  width: 100%;
  height: 8px;
  background: var(--wax);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.meter__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--sage-border) 100%);
  border-radius: 4px;
}

.comb-cell__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.comb-cell__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 700;
}

.comb-cell__pct {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sage-border);
}

.comb-cell h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.comb-cell__form {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}

.comb-cell__dose {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--wax);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  color: var(--ink-2);
}

.comb-cell__evidence {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.comb-cell__verdict {
  font-size: 0.82rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 0.6rem 0.75rem;
  color: var(--ink);
  line-height: 1.45;
  border-radius: 0 4px 4px 0;
}

/* 5. Mechanisms (Ink background) */
.section--mechanisms {
  background: var(--ink);
  color: var(--paper);
}

.section--mechanisms h2,
.section--mechanisms h3 {
  color: var(--paper);
}

.section--mechanisms .kicker {
  background: rgba(232, 218, 194, 0.15);
  color: var(--accent);
  border-color: rgba(232, 218, 194, 0.25);
}

.section--mechanisms .sublead {
  color: var(--wax-2);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 218, 194, 0.18);
  border-radius: 8px;
  padding: 1.75rem;
}

.pillar-card__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--wax);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 6. Transparency Scorecard (id="compare", Sage tint) */
.section--compare {
  background: var(--sage-tint);
  border-top: 1px solid var(--sage-border);
  border-bottom: 1px solid var(--sage-border);
}

.table--compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
}

.table--compare th,
.table--compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--wax-2);
  text-align: left;
}

.table--compare th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table--compare th.col-verified,
.table--compare td.col-verified {
  background: rgba(63, 107, 82, 0.08);
  font-weight: 600;
  color: var(--sage-dark);
}

.table--compare td.col-promo {
  color: var(--ink-3);
}

/* 7. Realistic Outcomes (id="benefits") */
.section--benefits {
  background: var(--paper);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.timeline-card__weeks {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 0;
}

/* 8. Customer Feedback (id="reviews", Wax style) */
.section--reviews {
  background: var(--wax);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 8px;
}

.reviews-summary__score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.reviews-summary__stars {
  color: var(--accent-deep);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.review-card__author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.review-card__verified {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--sage-border);
  background: var(--sage-tint);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.review-card__pkg {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.review-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
  flex-grow: 1;
}

.review-card__caveat {
  font-size: 0.8rem;
  color: var(--contrast-sec);
  border-top: 1px dashed var(--wax-2);
  padding-top: 0.5rem;
  margin-top: 0.75rem;
  font-style: italic;
}

/* 9. Package Options & Pricing (id="pricing") */
.section--pricing {
  background: var(--paper);
}

.packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2rem;
}

.pack {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.pack--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  background: #FFFDF9;
}

.pack__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.1rem;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(217, 130, 43, 0.4);
}

.pack__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0.5rem 0 0.25rem;
}

.pack__sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}

.pack__img {
  max-width: 190px;
  margin: 0 auto 1.25rem;
  height: 140px;
  object-fit: contain;
}

.pack__price {
  margin-bottom: 0.5rem;
}

.pack__price .currency {
  font-size: 1.5rem;
  vertical-align: top;
  font-weight: 700;
}

.pack__price .amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.pack__price .unit {
  font-size: 0.95rem;
  color: var(--ink-3);
  font-weight: 600;
}

.pack__total {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-bottom: 0.5rem;
}

.pack__savings {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sage-border);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pack__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  font-size: 0.88rem;
  border-top: 1px solid var(--wax-2);
  padding-top: 1rem;
  flex-grow: 1;
}

.pack__features li {
  padding: 0.35rem 0;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pack__features li svg {
  color: var(--accent-deep);
  flex-shrink: 0;
}

/* 10. Guarantee Decoded (id="guarantee", Ink background) */
.section--guarantee {
  background: var(--ink);
  color: var(--paper);
}

.section--guarantee h2,
.section--guarantee h3 {
  color: var(--paper);
}

.section--guarantee .kicker {
  background: rgba(232, 218, 194, 0.15);
  color: var(--accent);
}

.section--guarantee .sublead {
  color: var(--wax);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 218, 194, 0.2);
  border-radius: 6px;
  padding: 1.25rem 1rem;
}

.step-card__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--wax);
  margin-bottom: 0;
}

/* Subscription Warning Box */
.warning-box {
  margin-top: 2.5rem;
  background: rgba(163, 58, 31, 0.15);
  border: 1px solid rgba(163, 58, 31, 0.4);
  border-left: 5px solid var(--danger);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  color: var(--wax);
}

.warning-box strong {
  color: #FFA590;
  display: block;
  margin-bottom: 0.35rem;
}

.warning-box p {
  color: var(--wax);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* 11. FAQ Section (id="faq") */
.section--faq {
  background: var(--paper);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.faq-item p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 0;
}

/* 12. Final Decision Banner (Wax style) */
.section--decision {
  background: linear-gradient(180deg, var(--wax) 0%, var(--wax-2) 100%);
  border-top: 1px solid var(--wax-3);
  text-align: center;
  padding: 4rem 1.25rem;
}

/* 13. Footer (3 Columns + Legal Disclaimers) */
.footer {
  background: var(--ink);
  color: var(--wax-2);
  padding: 4rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(232, 218, 194, 0.2);
  font-size: 0.88rem;
}

.footer a {
  color: var(--wax);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0;
  margin-bottom: 1.1rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__legal-box {
  border-top: 1px solid rgba(232, 218, 194, 0.15);
  padding-top: 2rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(232, 218, 194, 0.15);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Sticky Buy Bar (.buybar) */
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(31, 23, 16, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 980;
  transform: translateY(120%);
  transition: transform 0.25s ease;
}

.buybar.visible {
  transform: translateY(0);
}

.buybar__txt {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
}

.buybar b, .buybar span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

.buybar b {
  font-size: 0.88rem;
  color: var(--paper);
}

.buybar span {
  font-size: 0.75rem;
  color: var(--wax-2);
}

.buybar .btn {
  flex-shrink: 0;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Subpage & Blog Article Styles */
.article-header {
  padding: 3rem 1.25rem 2.5rem;
  background: var(--wax);
  border-bottom: 1px solid var(--wax-2);
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 1rem;
  color: var(--ink-3);
}

.breadcrumbs a {
  color: var(--ink-2);
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 0.35rem;
}

.article-body {
  padding: 3.5rem 1.25rem;
  background: var(--paper);
}

.key-takeaways {
  background: var(--wax);
  border: 1px solid var(--wax-2);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2.25rem;
}

.key-takeaways h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.key-takeaways ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink-2);
}

.key-takeaways li {
  margin-bottom: 0.4rem;
}

.toc {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.toc h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.65rem;
  color: var(--ink-3);
}

.toc ul {
  margin: 0;
  padding-left: 1.25rem;
}

.toc li {
  margin-bottom: 0.35rem;
}

.article-content h2 {
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--wax-2);
}

.article-content h3 {
  margin-top: 1.75rem;
}

.callout-box {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--wax-2);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card__cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.blog-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-2);
  flex-grow: 1;
}

/* RESPONSIVE BREAKPOINTS (Mobile-First, Strict Zero Horizontal Scroll) */

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__cta-group {
    justify-content: center;
  }
  .qual-grid {
    grid-template-columns: 1fr;
  }
  .comb-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .packs {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 2rem auto 0;
  }
  .pack--featured {
    transform: none;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desk, .header-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .trustrow {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3.25rem 1rem;
  }
  .hero h1 em {
    white-space: normal;
  }
  table.table--compare {
    min-width: 460px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero__stamp, .pack__flag {
    max-width: 90%;
    white-space: normal;
    text-align: center;
  }
  .trustrow {
    grid-template-columns: 1fr;
  }
  .label-panel {
    padding: 1.1rem 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .label-panel table {
    min-width: 320px;
  }
  .facts-table td.amount, .facts-table td.dv {
    white-space: normal;
  }
  .packs, .comb-grid, .blog-grid, .reviews-grid, .qual-grid, .steps-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 380px) {
  table.table--compare {
    min-width: 390px;
    font-size: 0.76rem;
  }
}
