/* ==========================================================================
   GearGlobes — Presell page
   Presells keep their own cloned visual identity; this file only styles
   the small "editorial strip" GearGlobes adds on top (sticky CTA,
   link back to the full Review). Never import layout.css/components.css
   nav or footer styles here — presells are visually independent.

   2026-07-23: Modo D (identical clone via scripts/mirror_presell.py) is
   now the standard way to build a presell — see
   site-new-product/SKILL.md §0/§5. The .presell-story/.presell-hero/
   .presell-callout/.presell-feature-grid/.presell-steps/.presell-cta-wrap/
   .presell-sticky-cta/.presell-alert component set below is LEGACY: it's
   what Modo B used to rebuild as the presell body itself. Kept only
   because AquaTrail, Clima Heat Mini, Qinux BreezaMax and Qinux HauSafe
   Cam HD's already-published presells still use it — do not remove until
   those 4 are migrated to Modo D. New products never use these classes;
   this content now lives at /overview/{slug}/ via page-overview.css
   instead (same component set, .overview-* prefix).
   ========================================================================== */

.presell-strip {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  flex-wrap: wrap;
  background: #14161a; color: #fff; font-size: 0.85rem; padding: var(--space-2) var(--space-4);
  text-align: center;
}
.presell-strip a { color: #fff; font-weight: 700; }
.presell-strip__updated { color: rgba(255,255,255,0.65); font-size: 0.78rem; }
@media (max-width: 640px) {
  .presell-strip__updated { flex-basis: 100%; }
}

/* LEGACY — Advertorial-story layout (used only by the 4 pre-Modo-D presells) */
.presell-story { max-width: 700px; margin-inline: auto; padding: 0 var(--space-4) var(--space-10); font-size: 1.05rem; line-height: 1.7; }
.presell-story__logo { display: block; margin: var(--space-6) auto var(--space-5); max-width: 220px; }

/* Hero block: logo + h1 + byline + intro + hero image, set off from the
   rest of the page so it reads as a header instead of floating text. */
.presell-hero { text-align: center; padding-bottom: var(--space-2); }
.presell-story h1 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.25rem); text-align: center; line-height: 1.2; margin-bottom: var(--space-2); }
.presell-story__byline {
  display: inline-block; text-align: center; color: var(--color-text-muted);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.presell-hero__intro { max-width: 540px; margin-inline: auto; }

.presell-story img.presell-story__banner {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  margin: var(--space-6) 0;
}

.presell-story h2 { margin-top: var(--space-8); font-size: 1.3rem; }
.presell-story h3 { margin-top: var(--space-8); }

/* Callout: a short differentiator/reassurance section (e.g. "why a pump
   beats a gravity bag"), set apart from ordinary explainer paragraphs. */
.presell-callout {
  background: color-mix(in srgb, var(--color-primary) 6%, var(--color-surface));
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin: var(--space-6) 0;
}
.presell-callout h2 { margin-top: 0; }
.presell-callout p:last-child { margin-bottom: 0; }

/* Feature grid: replaces a flat "✅ text<br>" list with a real card grid. */
.presell-feature-grid {
  list-style: none; margin: var(--space-5) 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3);
}
@media (max-width: 600px) {
  .presell-feature-grid { grid-template-columns: 1fr; }
}
.presell-feature-grid li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  background: var(--color-surface-raised); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
  margin: 0; font-size: 0.95rem; line-height: 1.5;
}
.presell-feature-grid li::before {
  content: "✓"; flex: 0 0 auto; margin-top: 0.15em;
  display: flex; align-items: center; justify-content: center;
  width: 1.4em; height: 1.4em; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-size: 0.75rem; font-weight: 700;
}

/* Steps: replaces a "1. 2. 3.<br>" paragraph with numbered step cards. */
.presell-steps {
  list-style: none; margin: var(--space-5) 0; padding: 0; counter-reset: presell-step;
  display: flex; flex-direction: column; gap: var(--space-4);
}
@media (min-width: 640px) {
  .presell-steps { flex-direction: row; }
}
.presell-steps li {
  flex: 1; margin: 0; counter-increment: presell-step;
  background: var(--color-surface); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4); text-align: center;
}
.presell-steps li::before {
  content: counter(presell-step);
  display: flex; align-items: center; justify-content: center;
  width: 2em; height: 2em; margin: 0 auto var(--space-3);
  border-radius: 50%; background: var(--color-accent); color: #fff; font-weight: 700;
}

.presell-alert {
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); border: 1px solid var(--color-accent);
  border-radius: var(--radius-md); padding: var(--space-4); text-align: center; font-weight: 700; margin: var(--space-6) 0;
}

.presell-cta-wrap { text-align: center; margin: var(--space-8) 0; }
.presell-cta-wrap .btn { font-size: 1.1rem; padding: 0.9em 2em; box-shadow: var(--shadow-md); }
.presell-cta-wrap__trust { display: block; margin-top: var(--space-3); font-size: 0.8rem; color: var(--color-text-muted); }

/* Compact CTA that follows scroll on mobile so the offer stays reachable
   while reading through the features/steps sections, without any JS. */
.presell-sticky-cta { display: none; }
@media (max-width: 640px) {
  .presell-sticky-cta {
    display: block; position: sticky; bottom: var(--space-3); z-index: 50;
    margin: var(--space-6) 0;
  }
  .presell-sticky-cta a {
    display: block; text-align: center; background: var(--color-accent); color: #fff;
    font-weight: 700; font-size: 0.95rem; padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md); box-shadow: var(--shadow-md); text-decoration: none;
  }
}
