/* ==========================================================================
   Horsewood — com-horsewood.com — style.css
   Palette values are used EXACTLY as specified in the brief. The CTA gradient,
   the dark-section gradient, and the hero crosshatch appear verbatim below.
   ========================================================================== */

:root {
  /* Exact gradients from the brief — used verbatim, no substitutions */
  --grad-cta: linear-gradient(180deg, #ff7a00 0%, #c2410c 100%);
  --grad-dark: radial-gradient(ellipse at 50% 110%, rgba(255, 122, 0, .15) 0%, transparent 60%),
               linear-gradient(180deg, #1a0a02 0%, #2d1408 50%, #1a0a02 100%);

  /* Derived solid tokens (borders, chips, hovers) — inside the same family */
  --accent:      #FF7A00;
  --accent-deep: #C2410C;
  --ink-black:   #1A0A02;   /* darkest brown-black */
  --brown:       #2D1408;   /* mid brown */
  --paper:       #FFFFFF;
  --soft:        #FBF8F5;   /* soft off-white section bg */
  --tint:        #FFEBD9;   /* light orange chip/badge tint */

  /* Text — black on light, white on dark. Nothing else for body copy. */
  --ink:         #111111;   /* body text on light — 18.9:1 on white */
  --on-dark:     #FFFFFF;   /* body text on dark */
  --label:       #7A2E0A;   /* small labels/eyebrows on light — 6.4:1, AA */

  --border:      #EAE4DE;                 /* light */
  --border-dark: rgba(255, 122, 0, .18);  /* on dark */

  --r:      14px;
  --r-sm:   10px;
  --r-pill: 999px;

  --shadow:    0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .18);

  --gap:    24px;
  --sect:   92px;
  --shell:  1200px;

  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0; font-family: var(--font);
  font-size: 18px; font-weight: 400; line-height: 1.75;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .5em; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink-black); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
.lead { font-size: 20px; line-height: 1.7; }
.fine { font-size: 17px; }

.eyebrow {
  font-size: 17px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--label); margin: 0 0 16px; line-height: 1.4; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow { color: var(--accent); }

/* ---------- Shell / sections ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.sect { padding: var(--sect) 0; }
.sect--soft { background: var(--soft); }
.sect--tight { padding: 56px 0; }
.dark-band {
  background: var(--grad-dark);
  color: var(--on-dark); position: relative; overflow: hidden;
}
.dark-band h1, .dark-band h2, .dark-band h3, .dark-band p, .dark-band li { color: var(--on-dark); }
.head { max-width: 760px; margin: 0 0 52px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Skip / focus ---------- */
.skip {
  position: absolute; left: 18px; top: -80px; z-index: 300;
  background: var(--ink-black); color: #fff; padding: 14px 22px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none; transition: top .15s ease;
}
.skip:focus { top: 16px; color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ---------- Announcement ---------- */
.announce { background: var(--ink-black); color: var(--on-dark); font-size: 17px; padding: 10px 0; }
.announce ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 32px; }
.announce li { margin: 0; display: flex; align-items: center; gap: 9px; }
.announce svg { color: var(--accent); flex: none; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--ink-black); text-decoration: none; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: var(--r-sm); }
.brand i { font-style: normal; color: var(--accent-deep); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 13px;
  font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--r-sm);
}
.nav-links a:hover { background: var(--soft); color: var(--ink-black); }
.nav-links a.active { color: var(--accent-deep); }
.nav .btn { flex: none; margin-left: 10px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--ink-black); cursor: pointer; }
@media (max-width: 1060px) {
  .burger { display: inline-flex; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--border); padding: 8px 24px 20px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 6px; font-size: 18px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3;
  padding: 18px 32px; min-height: 60px; border: 2px solid transparent; border-radius: var(--r);
  text-decoration: none; cursor: pointer; transition: filter .15s ease, transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
/* CTA gradient — text is near-black for contrast on the light top of the gradient */
.btn--cta { background: var(--grad-cta); color: #1A0A02; }
.btn--cta:hover { filter: brightness(1.06); color: #1A0A02; }
.btn--dark { background: var(--ink-black); color: #FFFFFF; }
.btn--dark:hover { background: var(--brown); color: #FFFFFF; }
.btn--line { background: var(--paper); color: var(--ink-black); border-color: var(--ink-black); }
.btn--line:hover { background: var(--ink-black); color: #FFFFFF; }
.btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #FFFFFF; }
.btn--sm { min-height: 48px; padding: 12px 22px; font-size: 17px; }
.btn--lg { min-height: 66px; padding: 20px 42px; font-size: 19px; }
.btn--wide { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero-block { position: relative; overflow: hidden; padding: 76px 0 84px; }
.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255, 122, 0, .04) 60px 62px),
              repeating-linear-gradient(-115deg, transparent 0 60px, rgba(255, 122, 0, .04) 60px 62px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-block h1 { margin-bottom: 20px; }
.hero-block h1 span { color: var(--accent); }
.hero-block .lead { max-width: 38ch; color: #FFFFFF; }
.proof { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.proof li { margin: 0; display: flex; align-items: flex-start; gap: 12px; font-size: 18px; font-weight: 500; }
.proof svg { color: var(--accent); flex: none; margin-top: 4px; }
.rating { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 17px; font-weight: 500; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 20px; font-size: 17px; display: flex; align-items: center; gap: 9px; color: #FFFFFF; }
.hero-trust svg { color: var(--accent); flex: none; }
.hero-media { position: relative; text-align: center; }
.hero-media img { margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
@media (max-width: 900px) {
  .hero-block { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 360px; width: auto; }
}

/* ---------- Trust row ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--border); padding: 30px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.trust li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; font-size: 16px; font-weight: 600; line-height: 1.35; }
.trust svg { color: var(--accent-deep); flex: none; }
@media (max-width: 940px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; color: var(--ink-black); }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--tint); color: var(--accent-deep); margin-bottom: 16px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--flip .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--flip .split-media { order: 0; } }
.split-media img { border-radius: var(--r); border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; }

/* ---------- Ingredients ---------- */
.ing-list { display: grid; gap: 16px; }
.ing {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: baseline;
  border: 1px solid var(--border); border-left: 5px solid var(--accent);
  border-radius: var(--r); padding: 22px 24px; background: var(--paper);
}
.ing h3 { grid-column: 1; margin: 0; font-size: 1.3rem; }
.ing .dose { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 18px; color: var(--accent-deep); white-space: nowrap; }
.ing p { grid-column: 1 / -1; margin: 0; }
.ing .latin { font-weight: 400; color: var(--ink); font-style: normal; font-size: 17px; }

/* ---------- Steps / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.pillar { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); }
.pillar .n { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--ink-black); color: var(--accent); font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.pillar h3 { font-size: 1.25rem; margin-bottom: 8px; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Lists ---------- */
.ticks, .crosses { list-style: none; padding: 0; margin: 0; }
.ticks li, .crosses li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.ticks svg { color: #1E7A3D; flex: none; margin-top: 5px; }
.crosses svg { color: var(--accent-deep); flex: none; margin-top: 5px; }
.dark-band .ticks svg { color: var(--accent); }

/* ---------- Safety / callout ---------- */
.callout { border: 1px solid var(--border); border-left: 6px solid var(--accent); background: var(--soft); border-radius: var(--r); padding: 28px 30px; }
.callout--warn { border-left-color: #B42318; background: #FEF3F2; border-color: #FCD9D4; }
.callout h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.callout--warn h3 { color: #912018; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

/* ---------- Two-column suitability ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.duo-box { border: 1px solid var(--border); border-radius: var(--r); padding: 30px 28px; background: var(--paper); }
.duo-box h3 { display: flex; align-items: center; gap: 11px; }
.duo-box--yes h3 { color: #1A6334; }
.duo-box--no h3 { color: var(--accent-deep); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 18px; }
table.cmp th, table.cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); line-height: 1.6; vertical-align: top; }
table.cmp thead th { background: var(--ink-black); color: #FFFFFF; font-weight: 700; border-bottom: 0; }
table.cmp thead th.hl { background: var(--brown); }
table.cmp tbody th { font-weight: 600; background: var(--soft); width: 26%; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp .col-hl { background: #FFF7F0; font-weight: 500; }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 940px) { .tiers { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; } }
.tier { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); padding: 34px 28px 30px; box-shadow: var(--shadow); }
.tier--pick { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.tier-flag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--grad-cta); color: #1A0A02; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 20px; border-radius: var(--r-pill); white-space: nowrap; }
.tier-tag { font-size: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 6px; }
.tier h3 { font-size: 1.7rem; margin-bottom: 2px; }
.tier-sup { font-size: 17px; color: var(--ink); margin: 0 0 18px; font-weight: 500; }
.tier img { margin: 0 auto 18px; max-height: 180px; width: auto; }
.tier-reg { font-size: 17px; color: var(--ink); text-decoration: line-through; margin: 0; }
.tier-now { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 2px; }
.tier-now b { font-size: 2.6rem; font-weight: 700; color: var(--ink-black); line-height: 1; letter-spacing: -.03em; }
.tier-now span { font-size: 18px; font-weight: 600; }
.tier-total { font-size: 18px; margin: 0 0 20px; font-weight: 500; }
.tier ul { list-style: none; padding: 0; margin: 0 0 26px; }
.tier ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 18px; margin-bottom: 11px; }
.tier ul svg { color: #1E7A3D; flex: none; margin-top: 5px; }
.tier .btn { margin-top: auto; }
.pay { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.pay li { margin: 0; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 16px; font-size: 16px; font-weight: 600; background: var(--paper); }
.dark-band .pay li { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #FFFFFF; }

/* ---------- Bonuses ---------- */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 780px) { .bonus-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.bonus { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.bonus img { border-radius: var(--r-sm); margin: 0 auto 18px; width: 100%; max-width: 220px; }
.bonus .tag { display: inline-block; background: var(--tint); color: var(--accent-deep); font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 12px; }
.bonus h3 { font-size: 1.2rem; }

/* ---------- Guarantee ---------- */
.promise { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; gap: 28px; text-align: center; } }
.promise img { border-radius: var(--r); width: 100%; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 780px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 28px 24px; box-shadow: var(--shadow); }
.review .stars { margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; }
.review-by { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--grad-cta); color: #1A0A02; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 21px; }
.review-by b { display: block; font-size: 17px; }
.review-by span { font-size: 16px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.review-by span svg { color: #1E7A3D; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 4px; font-size: 20px; font-weight: 600; color: var(--ink-black); line-height: 1.45; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-deep); }
.faq .sign { flex: none; width: 28px; height: 28px; position: relative; margin-top: 5px; }
.faq .sign::before, .faq .sign::after { content: ""; position: absolute; background: var(--accent-deep); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq .sign::before { left: 3px; right: 3px; top: 12px; height: 4px; }
.faq .sign::after { top: 3px; bottom: 3px; left: 12px; width: 4px; }
.faq details[open] .sign::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 4px 26px; max-width: 62ch; }

/* ---------- Article cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow); }
.post-card .kicker { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { color: var(--ink-black); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-deep); text-decoration: underline; }
.post-card p { margin-bottom: 18px; }
.post-card .more { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.post-card .more:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 88px 0; }
.final .final-in { position: relative; z-index: 1; }
.final img { margin: 0 auto 28px; max-height: 300px; width: auto; filter: drop-shadow(0 18px 36px rgba(0,0,0,.5)); }
.final h2 { font-size: clamp(2rem, 4.5vw, 3rem); max-width: 20ch; margin: 0 auto .45em; }
.final .lead { max-width: 56ch; margin: 0 auto 32px; color: #FFFFFF; }
.final-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; list-style: none; padding: 0; margin: 30px 0 0; }
.final-marks li { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 500; }
.final-marks svg { color: var(--accent); flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-black); color: #FFFFFF; padding: 62px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h3 { font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #FFFFFF; text-decoration: none; display: inline-block; padding: 5px 0; min-height: 30px; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer p { color: #FFFFFF; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; color: #FFFFFF; text-decoration: none; margin-bottom: 16px; }
.footer-brand img { width: 42px; height: 42px; border-radius: var(--r-sm); }
.footer-contact a { color: var(--accent); }
.footer-legal { border-top: 1px solid var(--border-dark); margin-top: 44px; padding-top: 28px; }
.footer-legal p { font-size: 17px; line-height: 1.7; margin-bottom: 15px; }
.fda { border: 1px solid var(--border-dark); border-radius: var(--r); padding: 20px 22px; background: rgba(255,255,255,.05); margin-bottom: 20px; }
.fda b { color: var(--accent); }

/* ---------- Floating UI ---------- */
.top-btn { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: var(--ink-black); color: #FFFFFF; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; box-shadow: var(--shadow-lg); }
.top-btn.on { opacity: 1; visibility: visible; }
@media (max-width: 900px) { .top-btn { bottom: 94px; right: 16px; } }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; background: var(--paper); border-top: 1px solid var(--border); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
.bar .btn { width: 100%; }
@media (max-width: 900px) { .bar { display: block; } body { padding-bottom: 86px; } }

/* ---------- Exit popup ---------- */
.veil { position: fixed; inset: 0; z-index: 200; background: rgba(26,10,2,.78); display: none; align-items: center; justify-content: center; padding: 20px; }
.veil.on { display: flex; }
.sheet { background: var(--paper); border-radius: var(--r); max-width: 560px; width: 100%; padding: 40px 34px 34px; position: relative; box-shadow: var(--shadow-lg); text-align: center; max-height: 92vh; overflow-y: auto; }
.sheet h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); color: var(--ink-black); }
.sheet p { font-size: 19px; }
.countdown { display: inline-flex; align-items: center; gap: 10px; background: var(--ink-black); color: #FFFFFF; font-size: 22px; font-weight: 700; padding: 12px 22px; border-radius: var(--r); margin: 6px 0 20px; letter-spacing: .04em; }
.countdown svg { color: var(--accent); }
.countdown b { font-variant-numeric: tabular-nums; }
.x-btn { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--soft); border: 1px solid var(--border); color: var(--ink-black); font-size: 26px; line-height: 1; cursor: pointer; }
.x-btn:hover { background: var(--border); }
.sheet ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: inline-block; }
.sheet ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; margin-bottom: 12px; }
.sheet ul svg { color: #1E7A3D; flex: none; margin-top: 6px; }
.pass { background: none; border: 0; font-family: inherit; font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: underline; cursor: pointer; margin-top: 16px; padding: 12px; min-height: 44px; }

/* ---------- Utility ---------- */
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.center { text-align: center; } .mb-0 { margin-bottom: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 620px) { :root { --sect: 60px; --gap: 20px; } .card, .tier, .pillar { padding: 24px 22px; } }
