/* ============================================================
   D4 DENT — validation storefront
   Clinical-premium-systematic aesthetic. Archivo + Work Sans.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,500;0,600;0,700;0,800;0,900;1,600&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --cream: #f7f2e6;
  --cream-deep: #efe6d2;
  --paper: #fffdf8;
  --ink: #211d16;
  --ink-soft: #5a5346;
  --ink-faint: #8a8375;
  --line: rgba(33, 29, 22, 0.12);
  --line-soft: rgba(33, 29, 22, 0.07);

  --black: #1c1c1c;
  --gold: #c9973f;
  --gold-deep: #a97c2c;
  --gold-pale: #f1e2c3;
  --blue: #2f5773;
  --blue-pale: #dde6eb;
  --mint: #6fb894;
  --mint-pale: #e2f0e8;

  --shadow-soft: 0 1px 2px rgba(33,29,22,.06), 0 8px 24px -8px rgba(33,29,22,.12);
  --shadow-lift: 0 4px 8px rgba(33,29,22,.08), 0 20px 40px -12px rgba(33,29,22,.22);

  --display: 'Archivo', -apple-system, sans-serif;
  --sans: 'Work Sans', -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--gold-deep);
}

/* ---------- Stripe motif (brand signature) ---------- */
.stripe {
  display: flex;
  height: 5px;
  width: 100%;
}
.stripe span { flex: 1; }
.stripe .s1 { background: var(--black); }
.stripe .s2 { background: var(--gold); }
.stripe .s3 { background: var(--blue); }
.stripe .s4 { background: var(--mint); }

.stripe-mini { display: inline-flex; height: 3px; width: 46px; border-radius: 2px; overflow: hidden; }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.16,.8,.24,1), transform .8s cubic-bezier(.16,.8,.24,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="1"].is-visible { transition-delay: .05s; }
[data-reveal="2"].is-visible { transition-delay: .15s; }
[data-reveal="3"].is-visible { transition-delay: .25s; }
[data-reveal="4"].is-visible { transition-delay: .35s; }

/* ============ Announcement bar ============ */
.announce {
  background: var(--black);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: .01em;
}
.announce strong { color: var(--gold); font-weight: 600; }

/* ============ Header ============ */
header.site {
  position: sticky; top: 0; z-index: 200;
  background: rgba(247,242,230,.86);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--container); margin: 0 auto;
}
.logo {
  font-family: var(--display); font-size: 21px; font-weight: 800;
  letter-spacing: -.01em; text-transform: uppercase;
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap; flex-shrink: 0;
}
.logo img { height: 26px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--gold-deep); transition: right .25s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-burger {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--ink);
}

.mobile-nav {
  display: none; flex-direction: column;
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  border-top: 1px solid var(--line-soft);
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav a {
  padding: 15px 20px; font-size: 15px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; font-size: 12.5px; font-weight: 600;
}
.lang-switch button {
  background: none; border: none; padding: 7px 13px;
  color: var(--ink-soft); transition: background .25s, color .25s;
}
.lang-switch button.active { background: var(--black); color: var(--cream); }

.cart-btn {
  position: relative; background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: border-color .25s, transform .2s;
}
.cart-btn:hover { border-color: var(--ink); }
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump { 0%,100% { transform: scale(1); } 35% { transform: scale(1.12); } }
.cart-count {
  background: var(--gold); color: var(--black); font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 4px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 76px 28px 100px;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px 7px 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 26px; box-shadow: var(--shadow-soft);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-pale); }

.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal; font-weight: 800; color: var(--gold-deep);
}
.hero p.lede {
  font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 34px;
  line-height: 1.55;
}
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .25s cubic-bezier(.2,.9,.3,1.3), box-shadow .25s, background .25s;
}
.btn-primary { background: var(--black); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: var(--shadow-soft); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: var(--gold-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.scroll-cue { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.scroll-cue svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0);} 50% { transform: translateY(5px);} }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lift);
  transform: rotate(1.6deg);
  border: 1px solid var(--line-soft);
}
.hero-visual img { width: 100%; }
.hero-price-float {
  position: absolute; left: -26px; bottom: -22px;
  background: var(--paper); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-soft);
  transform: rotate(-2deg);
  min-width: 170px;
}
.hero-price-float .old { font-size: 12.5px; color: var(--ink-faint); text-decoration: line-through; }
.hero-price-float .new { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.hero-price-float .unit { font-size: 12px; color: var(--ink-soft); }

.hero-decor {
  position: absolute; top: -60px; right: -120px; width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--gold-pale), transparent 70%);
  opacity: .7; z-index: -1;
}

/* ============ Section shells ============ */
section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin-top: 14px; max-width: 52ch; }
.section-alt { background: var(--cream-deep); }

/* ============ Program (4 weeks) ============ */
.weeks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.week-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 22px; position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2), box-shadow .35s;
}
.week-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.week-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
}
.week-card.w1::before { background: var(--black); }
.week-card.w2::before { background: var(--gold); }
.week-card.w3::before { background: var(--blue); }
.week-card.w4::before { background: var(--mint); }

.week-num {
  font-family: var(--display); font-size: 34px; font-weight: 900; font-style: normal;
  color: var(--ink-faint); margin-bottom: 14px; line-height: 1;
}
.week-card.w1 .week-num { color: var(--black); }
.week-card.w2 .week-num { color: var(--gold-deep); }
.week-card.w3 .week-num { color: var(--blue); }
.week-card.w4 .week-num { color: var(--mint); }
.week-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.week-card h3 { font-size: 19px; margin-bottom: 8px; }
.week-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ============ Why section ============ */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px;
}
.why-item { display: flex; gap: 18px; }
.why-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale); color: var(--gold-deep);
}
.why-item h4 { font-size: 17px; margin-bottom: 6px; }
.why-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ============ Product / purchase ============ */
.product {
  display: grid; grid-template-columns: .9fr 1fr; gap: 64px; align-items: start;
}
.product-media { position: sticky; top: 110px; }
.product-media .frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-soft);
}
.product-swatch { display: flex; gap: 8px; margin-top: 18px; }
.product-swatch span { flex: 1; height: 34px; border-radius: 8px; }
.product-swatch .s1 { background: var(--black); }
.product-swatch .s2 { background: var(--gold); }
.product-swatch .s3 { background: var(--blue); }
.product-swatch .s4 { background: var(--mint); }

.product-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 40px; box-shadow: var(--shadow-soft);
}
.badge-founder {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint-pale); color: #2c5b41; font-size: 12.5px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.product-card h2 { font-size: 30px; margin-bottom: 6px; }
.product-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }

.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.price-new { font-family: var(--display); font-size: 42px; font-weight: 800; }
.price-old { font-size: 18px; color: var(--ink-faint); text-decoration: line-through; }
.price-unit { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }

.qty-row { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 42px; height: 42px; background: none; border: none; font-size: 18px; font-weight: 600; }
.qty-stepper button:hover { background: var(--cream-deep); }
.qty-stepper .qty-val { width: 40px; text-align: center; font-weight: 600; font-size: 15px; }

.reassure { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.reassure li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.reassure li svg { flex: none; margin-top: 2px; color: var(--mint); }

.price-anchor { font-size: 13px; color: var(--gold-deep); font-weight: 600; margin-top: 4px; }

/* ---------- Sticky purchase bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(33,29,22,.1);
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sticky-bar-info img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
.sticky-bar-text { min-width: 0; }
.sticky-bar-text .name { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar-text .price { font-size: 12.5px; color: var(--ink-soft); }
.sticky-bar .btn { flex: none; padding: 11px 22px; font-size: 13.5px; white-space: nowrap; }

.disclaimer-mini {
  margin-top: 22px; font-size: 12.5px; color: var(--ink-faint);
  border-top: 1px solid var(--line-soft); padding-top: 16px; line-height: 1.6;
}

/* ============ Detail / trust section ============ */
.trust {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center;
}
.trust-media img { border-radius: var(--radius); box-shadow: var(--shadow-lift); border: 1px solid var(--line-soft); }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.trust-list li { display: flex; gap: 16px; }
.trust-num { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold-deep); flex: none; }
.trust-list h4 { font-size: 16.5px; margin-bottom: 5px; }
.trust-list p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ============ Reviews ============ */
.reviews-empty {
  max-width: 480px; text-align: center; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 48px 36px; box-shadow: var(--shadow-soft);
}
.reviews-stars { display: flex; justify-content: center; gap: 6px; color: var(--ink-faint); margin-bottom: 18px; }
.reviews-empty h3 { font-family: var(--display); font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.reviews-empty p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.review-card .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.review-card blockquote {
  font-size: 14.5px; line-height: 1.6; color: var(--ink); margin: 0 0 18px;
  flex: 1;
}
.review-card .author { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.review-card .author span { font-weight: 500; color: var(--ink-faint); }
.reviews-more { text-align: center; margin-top: 28px; }

@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq-q svg { transition: transform .3s; flex: none; color: var(--ink-faint); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  font-size: 15px; color: var(--ink-soft); line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 22px; }

/* ============ Legal docs ============ */
.legal-doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 100px; }
.legal-doc h1 { font-size: 32px; margin-bottom: 8px; }
.legal-doc .legal-updated { font-size: 13px; color: var(--ink-faint); margin-bottom: 40px; }
.legal-doc h2 { font-size: 19px; margin: 36px 0 12px; }
.legal-doc h3 { font-size: 15.5px; margin: 20px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin-bottom: 16px; }
.legal-doc strong { color: var(--ink); }
.legal-doc .placeholder { background: var(--gold-pale); padding: 1px 6px; border-radius: 4px; color: var(--gold-deep); font-weight: 600; }
.legal-note {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold-deep); border-radius: 6px;
  padding: 14px 18px; margin-bottom: 32px; font-size: 13.5px; color: var(--ink);
}

/* ============ Blog ============ */
.blog-section { margin-bottom: 56px; }
.blog-section-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--line);
}
.blog-num {
  font-family: var(--display); font-weight: 900; font-size: 26px;
  color: white; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.blog-section-head h2 { font-size: 24px; }
.blog-black .blog-num { background: var(--black); }
.blog-gold .blog-num { background: var(--gold); color: var(--black); }
.blog-blue .blog-num { background: var(--blue); }
.blog-mint .blog-num { background: var(--mint); color: var(--black); }

.article-list { display: flex; flex-direction: column; gap: 2px; }
.article-item { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.article-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink);
}
.article-q svg { transition: transform .3s; flex: none; color: var(--ink-faint); }
.article-item.open .article-q svg { transform: rotate(45deg); }
.article-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease;
  padding: 0 20px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65;
}
.article-item.open .article-a { max-height: 900px; padding: 0 20px 22px; }
.article-a p { margin-bottom: 12px; }
.article-a p:last-child { margin-bottom: 0; }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.article-card { display: block; padding: 20px 22px; text-decoration: none; transition: border-color .2s, transform .2s; }
.article-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.article-card .q { display: block; font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.article-card .excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }
@media (max-width: 700px) { .article-grid { grid-template-columns: 1fr; } }

/* ============ Single article page ============ */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-faint); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-hidden] { color: var(--ink-faint); }
.article-page-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  color: white; padding: 7px 14px 7px 8px; border-radius: 999px; margin-bottom: 18px;
}
.article-page-tag .num {
  font-family: var(--display); font-weight: 900; font-size: 13px;
  background: rgba(255,255,255,.28); width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.article-page-tag.blog-black { background: var(--black); }
.article-page-tag.blog-gold { background: var(--gold); color: var(--black); }
.article-page-tag.blog-gold .num { background: rgba(28,28,28,.18); }
.article-page-tag.blog-blue { background: var(--blue); }
.article-page-tag.blog-mint { background: var(--mint); color: var(--black); }
.article-page-tag.blog-mint .num { background: rgba(28,28,28,.18); }
.article-body { max-width: 68ch; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.article-body p { margin-bottom: 18px; }
.article-cta {
  max-width: 68ch; margin-top: 40px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--cream-deep); border: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.article-cta p { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.article-nav { max-width: 68ch; display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.article-nav a { font-size: 14px; font-weight: 600; color: var(--ink-soft); max-width: 46%; }
.article-nav a:hover { color: var(--ink); }
.article-nav .lbl { display: block; font-size: 11.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.related-articles { max-width: 68ch; margin-top: 40px; }
.related-articles h3 { font-size: 16px; margin-bottom: 14px; }
.related-articles ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.related-articles a { display: block; padding: 10px 0; font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.related-articles a:hover { color: var(--gold-deep); }

/* ============ Footer ============ */
footer.site {
  background: var(--black); color: var(--cream-deep);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-family: var(--display); font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--cream); margin-bottom: 12px; }
.footer-tag { font-size: 14px; color: #b8b2a2; max-width: 34ch; line-height: 1.6; }
.footer-col h5 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #8a8371; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: #d7d2c3; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  font-size: 12px; color: #8a8371; line-height: 1.7;
}

/* ============ Cart drawer ============ */
.scrim {
  position: fixed; inset: 0; background: rgba(20,17,12,.45);
  opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 300;
  backdrop-filter: blur(2px);
}
.scrim.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 100vw);
  background: var(--cream); z-index: 301; box-shadow: -20px 0 60px rgba(0,0,0,.25);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.9,.2,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px; border-bottom: 1px solid var(--line-soft);
}
.drawer-head h3 { font-size: 20px; }
.drawer-close { background: none; border: none; font-size: 22px; color: var(--ink-soft); line-height: 1; padding: 4px; }

.drawer-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart-empty { text-align: center; color: var(--ink-faint); padding: 60px 0; font-size: 14.5px; }

.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.cart-line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-soft); }
.cart-line-info { flex: 1; }
.cart-line-info .name { font-weight: 600; font-size: 14.5px; margin-bottom: 2px; }
.cart-line-info .unit { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 8px; }
.cart-line-controls { display: flex; align-items: center; justify-content: space-between; }
.mini-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.mini-stepper button { width: 26px; height: 26px; background: none; border: none; font-size: 14px; }
.mini-stepper .v { width: 22px; text-align: center; font-size: 12.5px; font-weight: 600; }
.cart-line-price { font-weight: 600; font-size: 14px; }

.drawer-foot { border-top: 1px solid var(--line-soft); padding: 22px 26px 28px; }
.subtotal-row { display: flex; justify-content: space-between; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.drawer-foot .note { font-size: 12px; color: var(--ink-faint); margin-bottom: 18px; }

/* ============ Checkout modal ============ */
.modal-scrim {
  position: fixed; inset: 0; background: rgba(20,17,12,.55);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 400;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper); border-radius: 20px; width: 100%; max-width: 460px;
  padding: 38px; box-shadow: var(--shadow-lift);
  transform: scale(.94) translateY(10px); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.2,1), opacity .35s;
  max-height: 88vh; overflow-y: auto;
}
.modal-scrim.open .modal { transform: scale(1) translateY(0); opacity: 1; }
.modal h3 { font-size: 23px; margin-bottom: 8px; }
.modal .lede-sm { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.55; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--cream); font-family: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color .2s;
}
.field input:focus { outline: none; border-color: var(--gold-deep); }

.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; }
.check-row input { margin-top: 3px; }
.check-row label { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.modal-order-summary {
  background: var(--cream-deep); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px;
  font-size: 13.5px; display: flex; justify-content: space-between; font-weight: 600;
}

.modal-success { text-align: center; padding: 10px 0 4px; }
.modal-success .icon-ok {
  width: 60px; height: 60px; border-radius: 50%; background: var(--mint-pale); color: #2c5b41;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.modal-success h3 { margin-bottom: 10px; }
.modal-success p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 22px; }

/* ============ Checkout: processing & out-of-stock ============ */
.modal-steps { position: relative; }
.modal-step { display: none; }
.modal-step.active { display: block; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

.pay-spinner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 50px 0 40px; gap: 18px;
}
.pay-spinner .ring {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--gold-deep);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-spinner p { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }

.oos-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--gold-pale); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}

/* ============ Responsive ============ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: min(420px, 100%); margin: 0 auto; }
  .weeks { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-burger { display: flex; }
  .mobile-nav { display: flex; }
}

@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .header-row { padding: 13px 20px; }
  .logo { font-size: 20px; }
  .header-actions { gap: 10px; }
  .cart-btn span.label { display: none; }
  .cart-btn { padding: 10px 12px; }
  .lang-switch button { padding: 7px 10px; }

  .hero { padding: 44px 20px 64px; }
  .hero-badge { font-size: 11.5px; margin-bottom: 18px; }
  .hero p.lede { font-size: 16px; }
  .hero-ctas { gap: 14px; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .scroll-cue { justify-content: center; }
  .hero-visual .frame { transform: none; }
  .hero-price-float { position: relative; z-index: 2; transform: none; margin-top: -34px; margin-left: 16px; width: fit-content; }
  .hero-decor { display: none; }

  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 15px; }

  .weeks { grid-template-columns: 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }

  .product { gap: 36px; }
  .product-card { padding: 26px 20px; border-radius: 16px; }
  .product-card h2 { font-size: 25px; }
  .price-new { font-size: 34px; }
  .qty-row { flex-wrap: wrap; }

  .trust { gap: 32px; }
  .trust-list { gap: 20px; }

  .drawer { width: 100vw; }
  .modal { padding: 26px 22px; border-radius: 16px; max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  footer.site { padding: 48px 0 24px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .price-new { font-size: 30px; }
}

.lang-switch-mobile { display: none; margin: 14px 20px; align-self: flex-start; }

@media (max-width: 480px) {
  .header-row { padding: 12px 14px; }
  .logo { font-size: 17px; gap: 6px; }
  .logo img { height: 22px; }
  .header-actions { gap: 8px; }
  .header-actions .lang-switch { display: none; }
  .lang-switch-mobile { display: flex; }
  .cart-btn { padding: 9px 11px; }
  .nav-burger { width: 38px; height: 38px; }
}

/* Touch target comfort */
@media (hover: none) {
  .btn, .qty-stepper button, .mini-stepper button, .faq-q, .cart-btn { min-height: 44px; }
}
