/* ==========================================================================
   Boostaro affiliate site — design system
   Headings: Urbanist · Body: Hind
   Palette derived from the Boostaro bottle label (burgundy band, rose gradient)
   ========================================================================== */
/* Self-hosted fonts (SIL Open Font License, see /assets/fonts/OFL-*.txt) */
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-italic-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hind"; src: url("/assets/fonts/hind-latin-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind"; src: url("/assets/fonts/hind-latin-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind"; src: url("/assets/fonts/hind-latin-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --c-primary: #7b1e2e;        /* label burgundy */
  --c-primary-dark: #5e1622;
  --c-secondary: #a8455c;      /* label rose gradient */
  --c-accent: #c79a52;         /* warm gold accent */
  --c-bg: #fbf8f6;             /* page background */
  --c-bg-alt: #f5ecec;         /* tinted section background */
  --c-surface: #ffffff;        /* cards */
  --c-heading: #1f1418;
  --c-text: #4a4246;
  --c-muted: #7a7074;
  --c-line: #ebdfe0;
  --c-success: #2f8f5b;

  --f-head: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(31, 20, 24, .06), 0 2px 8px rgba(31, 20, 24, .05);
  --shadow: 0 6px 24px rgba(63, 20, 30, .09), 0 2px 6px rgba(31, 20, 24, .05);
  --shadow-lg: 0 24px 60px rgba(63, 20, 30, .16), 0 6px 16px rgba(31, 20, 24, .07);

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-heading); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.06; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); line-height: 1.12; font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; color: var(--c-primary); font-weight: 800; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.22rem); line-height: 1.65; color: var(--c-text); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.small { font-size: .9rem; color: var(--c-muted); line-height: 1.55; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-heading); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--white { background: var(--c-surface); }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--c-text); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--c-primary); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; line-height: 1;
  padding: 17px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none;
  background: var(--b-bg); color: var(--b-fg);
  box-shadow: 0 10px 22px -8px rgba(123, 30, 46, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: translateY(0); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { color: var(--b-fg); background: var(--c-primary-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(123, 30, 46, .6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: 0 6px 14px -8px rgba(123, 30, 46, .6); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--c-primary); border-color: rgba(123, 30, 46, .28); box-shadow: none; }
.btn--ghost:hover { background: rgba(123, 30, 46, .06); color: var(--c-primary); box-shadow: none; }
.btn--light { --b-bg: #fff; --b-fg: var(--c-primary); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn--light:hover { background: #fff3f4; color: var(--c-primary-dark); }
.btn--sm { padding: 12px 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-family: var(--f-head); font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }
.disclosure-note { font-size: .82rem; color: var(--c-muted); margin: 12px 0 0; line-height: 1.5; }
.disclosure-note a { color: inherit; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-heading); font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; flex-shrink: 0; }
.brand:hover { color: var(--c-heading); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-family: var(--f-head); font-weight: 600; font-size: .98rem; color: var(--c-heading); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
.main-nav a[aria-current="page"] { color: var(--c-primary); background: var(--c-bg-alt); }
.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--c-heading); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .main-nav a { padding: 8px 9px; font-size: .93rem; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow); padding: 12px var(--gutter) 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s var(--ease), visibility .22s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 12px; font-size: 1.08rem; }
  .main-nav .mobile-cta { display: block; margin-top: 12px; }
}
.main-nav .mobile-cta { display: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; font-size: .9rem; color: var(--c-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #c9bcbf; }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -180px; background: radial-gradient(closest-side, rgba(168, 69, 92, .16), rgba(168, 69, 92, 0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(closest-side, rgba(199, 154, 82, .13), rgba(199, 154, 82, 0)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 26px 0; padding: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-list div { padding: 12px 18px; border-bottom: 1px solid var(--c-line); }
.spec-list div:nth-child(odd) { border-right: 1px solid var(--c-line); }
.spec-list div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-list dt { font-family: var(--f-head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.spec-list dd { margin: 2px 0 0; font-weight: 500; color: var(--c-heading); line-height: 1.45; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; line-height: 1.55; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.stat-row { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.stat strong { display: block; font-family: var(--f-head); font-size: 1.7rem; font-weight: 800; color: var(--c-heading); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--c-muted); }

/* 3D product stage */
.product-stage { position: relative; perspective: 1100px; display: grid; place-items: center; min-height: 420px; }
.product-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, #f6e6e8 55%, rgba(246, 230, 232, 0) 72%); }
.product-stage .ring { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(123, 30, 46, .18); }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.tilt img { filter: drop-shadow(0 30px 34px rgba(63, 20, 30, .22)); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotateZ(-.6deg); } 50% { transform: translateY(-14px) rotateZ(.6deg); } }
.stage-badge { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-family: var(--f-head); font-weight: 700; font-size: .9rem; color: var(--c-heading); line-height: 1.25; }
.stage-badge small { display: block; font-family: var(--f-body); font-weight: 400; color: var(--c-muted); font-size: .8rem; }
.stage-badge--a { left: 0; top: 6%; } .stage-badge--b { right: 0; top: 6%; }
@media (max-width: 1100px) { .stage-badge { display: none; } }

.page-hero { position: relative; padding: clamp(28px, 4vw, 52px) 0 clamp(48px, 7vw, 84px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -240px; background: radial-gradient(closest-side, rgba(168, 69, 92, .14), rgba(168, 69, 92, 0)); pointer-events: none; }
.page-hero .hero-grid { grid-template-columns: 1.25fr .75fr; }
.page-hero .product-stage { min-height: 320px; }
.page-hero--text .hero-grid { grid-template-columns: 1fr; max-width: 860px; }
.step-indicators { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; padding: 0; }
.step-indicators li { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 8px 16px 8px 8px; font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--c-heading); }
.step-indicators b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-size: .9rem; }

@media (max-width: 900px) {
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero .product-stage { order: -1; min-height: 340px; }
  .page-hero .product-stage { min-height: 260px; }
  .product-stage img { max-height: 380px; width: auto; }
}
@media (max-width: 520px) {
  .spec-list { grid-template-columns: 1fr; }
  .spec-list div:nth-child(odd) { border-right: 0; }
  .spec-list div:nth-last-child(2) { border-bottom: 1px solid var(--c-line); }
  .stage-badge { font-size: .8rem; padding: 8px 10px; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--wide-text { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .split, .split--wide-text { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm);
  transform: perspective(900px) translateY(0) rotateX(0); transform-origin: 50% 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
@media (hover: hover) and (pointer: fine) { .card--lift:hover { transform: perspective(900px) translateY(-6px) rotateX(2.5deg); box-shadow: var(--shadow-lg); border-color: #e2cfd2; } }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .num { font-family: var(--f-head); font-weight: 800; font-size: 1rem; color: var(--c-primary); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-bg-alt); margin-bottom: 16px; }
.card .tag { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-secondary); margin-bottom: 6px; }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, var(--c-primary), var(--c-secondary)); color: #fff; margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(123, 30, 46, .7); }
.icon-badge svg { width: 26px; height: 26px; }
.card--feature { padding-top: clamp(26px, 3vw, 34px); }

.info-box { background: var(--c-surface); border: 1px solid var(--c-line); border-left: 4px solid var(--c-primary); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.info-box p:last-child { margin: 0; }
.info-box--gold { border-left-color: var(--c-accent); }
.figure-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow); }
.figure-card figcaption { font-size: .88rem; color: var(--c-muted); margin-top: 12px; text-align: center; }

/* ---------- Supplement facts ---------- */
.facts { border: 2px solid var(--c-heading); border-radius: 6px; background: #fff; padding: 16px 18px; font-size: .98rem; max-width: 480px; }
.facts h3 { font-size: 1.7rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -.02em; }
.facts table { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 7px 0; border-top: 1px solid #cfc4c6; vertical-align: top; }
.facts td:last-child, .facts th:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.facts thead th { border-top: 8px solid var(--c-heading); font-family: var(--f-head); font-size: .9rem; }
.facts .blend td { font-size: .93rem; color: var(--c-text); white-space: normal; text-align: left; padding-left: 0; }
.facts .serving { line-height: 1.45; margin-bottom: 8px; font-size: .95rem; }
.facts .foot { border-top: 4px solid var(--c-heading); padding-top: 8px; font-size: .85rem; color: var(--c-muted); margin-top: 4px; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.data-table th { font-family: var(--f-head); font-weight: 700; color: var(--c-heading); background: #fcf7f7; width: 34%; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.ingredient { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.ingredient .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-primary); display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: step; }
.step .step-num { font-family: var(--f-head); font-size: 3rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c-primary); margin-bottom: 14px; display: block; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--c-primary), rgba(123, 30, 46, .1)); }
.timeline > li { position: relative; padding: 0 0 34px 72px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline .t-num { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--c-primary); color: var(--c-primary); display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; box-shadow: 0 0 0 6px var(--c-bg); }
.section--alt .timeline .t-num { box-shadow: 0 0 0 6px var(--c-bg-alt); }
.day-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.day-flow > div { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; position: relative; }
.day-flow b { display: block; font-family: var(--f-head); color: var(--c-primary); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 800px) { .day-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); align-items: stretch; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.price-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 30px 26px 26px; box-shadow: var(--shadow-sm); position: relative; transform: perspective(1000px) translateY(0); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; scroll-margin-top: calc(var(--header-h) + 20px); }
@media (hover: hover) and (pointer: fine) { .price-card:hover { transform: perspective(1000px) translateY(-8px) rotateX(2deg); box-shadow: var(--shadow-lg); } .price-card:hover .pc-img img { transform: translateY(-4px) scale(1.03); } }
.price-card--featured { border: 2px solid var(--c-primary); box-shadow: var(--shadow); background: linear-gradient(180deg, #fff 0%, #fff 70%, #fdf4f5 100%); }
@media (min-width: 961px) { .price-card--featured { transform: perspective(1000px) translateY(-12px); } }
@media (min-width: 961px) and (hover: hover) and (pointer: fine) { .price-card--featured:hover { transform: perspective(1000px) translateY(-18px) rotateX(2deg); } }
.price-card.is-selected { outline: 3px solid var(--c-accent); outline-offset: 4px; }
.price-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.price-tag--muted { background: var(--c-heading); }
.price-card h3 { text-align: center; font-size: 1.5rem; margin: 4px 0 2px; }
.price-card .supply { text-align: center; color: var(--c-muted); font-size: .95rem; margin: 0 0 12px; }
.price-card .pc-img { height: 190px; display: grid; place-items: center; margin: 4px 0 14px; }
.price-card .pc-img img { max-height: 190px; width: auto; transition: transform .45s var(--ease); }

.price-main { text-align: center; margin-bottom: 4px; }
.price-main .amount { font-family: var(--f-head); font-weight: 800; font-size: 3.1rem; color: var(--c-heading); line-height: 1; letter-spacing: -.03em; }
.price-main .amount sup { font-size: 1.4rem; vertical-align: top; position: relative; top: .35em; margin-right: 2px; }
.price-main .per { font-weight: 500; color: var(--c-muted); font-size: .95rem; margin-left: 4px; }
.price-total { text-align: center; color: var(--c-heading); font-weight: 500; margin: 6px 0 16px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .97rem; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.price-card li::before { content: "✓"; color: var(--c-success); font-weight: 700; flex-shrink: 0; }
.price-card li.is-muted { color: var(--c-muted); }
.price-card li.is-muted::before { content: "•"; color: var(--c-muted); }
.price-card .btn { margin-top: auto; }
.pricing-foot { text-align: center; margin-top: 30px; }

/* ---------- Guarantee ---------- */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.seal { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #d9b06b, var(--c-accent) 45%, #9c7434); color: #fff; box-shadow: 0 18px 40px -16px rgba(156, 116, 52, .8), inset 0 0 0 6px rgba(255,255,255,.25); font-family: var(--f-head); }
.seal b { display: block; font-size: 3rem; line-height: 1; font-weight: 800; }
.seal span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; text-align: center; } .seal { margin: 0 auto; } }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)); color: rgba(255,255,255,.95); position: relative; overflow: hidden; }
.post-thumb::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -20%; top: -30%; background: rgba(255, 255, 255, .1); }
.post-thumb svg { width: 64px; height: 64px; position: relative; z-index: 1; }
.post-thumb--gold { background: linear-gradient(135deg, #8a6430, var(--c-accent)); }
.post-thumb--dark { background: linear-gradient(135deg, #2b1a1f, #5e1622); }
.post-thumb--rose { background: linear-gradient(135deg, var(--c-secondary), #c97b8c); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--c-muted); margin-bottom: 8px; font-family: var(--f-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.post-body h3 a { color: var(--c-heading); text-decoration: none; }
.post-body h3 a:hover { color: var(--c-primary); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article-meta { color: var(--c-muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.toc { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 22px; margin: 26px 0; }
.toc ol { margin: 0; padding-left: 1.2em; }
.related { border-top: 1px solid var(--c-line); margin-top: 48px; padding-top: 28px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: #e2cfd2; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; color: var(--c-heading); line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--c-bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b1e2e' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-search { display: flex; gap: 10px; margin-bottom: 22px; }
.faq-search input { flex: 1; font: inherit; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; min-width: 0; }
.faq-search input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(123, 30, 46, .12); }
.faq-empty { display: none; }
.faq-group + .faq-group { margin-top: 44px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(130deg, #4c111c 0%, var(--c-primary) 48%, var(--c-secondary) 100%); color: #f8e9ec; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255,255,255,0)); }
.cta-band h2 { color: #fff; }
.cta-band .check-list li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b1e2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cta-band .disclosure-note, .cta-band .small { color: rgba(255, 235, 239, .8); }
.cta-band .cta-img { position: relative; z-index: 1; }
.cta-band .cta-img img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.cta-band > div { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .cta-img { order: -1; max-width: 420px; margin: 0 auto; } }

/* ---------- Footer ---------- */
.site-footer { background: #1d1216; color: #cdbfc3; padding: clamp(52px, 7vw, 80px) 0 32px; margin-top: 0; font-size: .97rem; }
.site-footer a { color: #e9dde0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-top .brand { color: #fff; margin-bottom: 14px; }
.footer-top h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-legal { padding-top: 28px; font-size: .86rem; line-height: 1.65; color: #a8989d; display: grid; gap: 10px; }
.footer-legal p { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: .86rem; color: #8f7f84; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 8px 15px; font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--c-heading); }
.pill svg { width: 16px; height: 16px; color: var(--c-primary); }
.habit + .habit { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--c-line); }
.callout-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.callout-list li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 14px 18px; }
.callout-list b { color: var(--c-heading); font-family: var(--f-head); }
.notfound { text-align: center; padding: 120px 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.reveal.is-visible { opacity: 1; translate: none; }
.reveal-delay-1 { transition-delay: .08s, .08s, 0s, 0s, 0s; } .reveal-delay-2 { transition-delay: .16s, .16s, 0s, 0s, 0s; } .reveal-delay-3 { transition-delay: .24s, .24s, 0s, 0s, 0s; }
.no-js .reveal { opacity: 1; translate: none; }

/* ==========================================================================
   Reusable component: floating notification (toast)
   ========================================================================== */
.toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(360px, calc(100vw - 32px));
  display: grid; grid-template-columns: 44px 1fr 24px; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 14px 14px 14px 14px;
  box-shadow: 0 18px 44px -12px rgba(31, 20, 24, .28), 0 3px 10px rgba(31, 20, 24, .06);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; visibility: hidden;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.toast.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }
.toast-icon { width: 44px; height: 44px; border-radius: 50%; background: #e8f5ee; color: var(--c-success); display: grid; place-items: center; }
.toast-icon svg { width: 22px; height: 22px; }
.toast-title { font-family: var(--f-head); font-weight: 700; color: var(--c-heading); font-size: .97rem; line-height: 1.3; margin: 0; }
.toast-text { font-size: .88rem; color: var(--c-muted); line-height: 1.4; margin: 2px 0 0; }
.toast-text a { color: var(--c-primary); font-weight: 600; }
.toast-close { align-self: start; width: 24px; height: 24px; border: 0; background: transparent; color: var(--c-muted); cursor: pointer; border-radius: 6px; font-size: 20px; line-height: 1; padding: 0; }
.toast-close:hover { background: var(--c-bg-alt); color: var(--c-heading); }
.toast::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c-primary); }
@media (max-width: 520px) { .toast { left: 12px; bottom: 12px; width: calc(100vw - 24px); } }

/* ==========================================================================
   Reusable component: centered promotional modal
   ========================================================================== */
.promo { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.promo.is-open { visibility: visible; pointer-events: auto; }
.promo-overlay { position: absolute; inset: 0; background: rgba(18, 9, 12, .62); opacity: 0; transition: opacity .35s ease; }
.promo.is-open .promo-overlay { opacity: 1; }
.promo-dialog {
  position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: #fff; border-radius: 22px; padding: 30px 28px 26px; text-align: center;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .35s var(--ease), transform .4s var(--ease);
}
.promo.is-open .promo-dialog { opacity: 1; transform: none; }
.promo-close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--c-bg-alt); color: var(--c-heading); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.promo-close:hover { background: #ead8db; transform: rotate(90deg); }
.promo-img { margin: 0 auto 8px; width: 100%; max-width: 330px; }
.promo-kicker { font-family: var(--f-head); font-weight: 700; color: var(--c-primary); letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; margin: 0 0 4px; }
.promo h2 { font-size: 1.65rem; margin: 0 0 8px; }
.promo-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 10px 0 2px; }
.promo-price strong { font-family: var(--f-head); font-weight: 800; font-size: 2.6rem; color: var(--c-heading); letter-spacing: -.03em; line-height: 1; }
.promo-price span { color: var(--c-muted); }
.promo-sub { color: var(--c-text); font-size: .98rem; margin: 6px 0 18px; }
.promo-alt { display: inline-block; margin-top: 14px; font-size: .95rem; }
@media (max-height: 640px) { .promo-img { max-width: 220px; } .promo-dialog { padding: 24px 20px 20px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; translate: none; }
  .float { animation: none; }
  .card--lift:hover, .price-card:hover, .btn:hover { transform: none; }
}

/* Prevent grid children from expanding past the viewport (tables, long words) */
.split > *, .hero-grid > *, .grid > *, .cta-band > *, .pricing > *, .guarantee > * { min-width: 0; }
.facts, .data-table { overflow-wrap: anywhere; }
