/* ============================================================================
   NETLIFY CSS GUARD - DO NOT DELETE THIS COMMENT BLOCK
   Netlify's pipeline pretty-prints CSS in place (comments stripped, one
   property per line), then rewrites the original over it WITHOUT truncating.
   If the raw file is shorter than its pretty-printed form, a corrupted tail
   of unscoped rules is left appended and can break layout (sales.css
   2026-07-09, sales-3/4/5.css 2026-07-11). This block keeps the raw file
   longer than the pretty-printed version. After every deploy that touches
   CSS: curl the live file and diff against dist - they must be identical.
   Cache rule still applies: any change to this file requires renaming it
   (assets are cached immutable for 1 year).
   ========================================================================= */
/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* === DARK THEME (default - Dracula) === */
:root {
  --bg: #1a1a1a;
  --bg2: #222222;
  --bg3: #2a2a2a;
  --text: #f8f8f2;
  --text2: #b0b0b0;
  --muted: #6272a4;
  --accent: #bd93f9;
  --accent-hover: #cdb4fc;
  --accent-dim: rgba(189,147,249,0.15);
  --cta: #50fa7b;
  --cta-hover: #3de06a;
  --cta-text: #1a1a1a;
  --error: #ff5555;
  --secondary: #ff79c6;
  --tertiary: #8be9fd;
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(189,147,249,0.25);
  --input-bg: #222222;
  --input-border: rgba(255,255,255,0.12);
  --input-focus: #bd93f9;
  --glass: rgba(255,255,255,0.03);
}

/* === LIGHT THEME === */
html:not(.dark) {
  --bg: #fafafa;
  --bg2: #f0f0f0;
  --bg3: #e8e8e8;
  --text: #1a1a1a;
  --text2: #444444;
  --muted: #888888;
  --accent: #7c5cbf;
  --accent-hover: #6a3fa0;
  --accent-dim: rgba(124,92,191,0.1);
  --cta: #2ecc71;
  --cta-hover: #27ae60;
  --cta-text: #ffffff;
  --error: #e74c3c;
  --secondary: #d63384;
  --tertiary: #0891b2;
  --border: #e0e0e0;
  --border-accent: rgba(124,92,191,0.3);
  --input-bg: #ffffff;
  --input-border: #cccccc;
  --input-focus: #7c5cbf;
  --glass: rgba(0,0,0,0.02);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

/* === THEME TOGGLE === */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-accent); }

/* === BRAND === */
.brand {
  position: fixed;
  top: 18px;
  left: 20px;
  z-index: 100;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  opacity: 0.6;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.pre-headline {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 800;
  opacity: 0.8;
}

.headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.without-block {
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* === CTA FORM === */
.cta-form {
  width: 100%;
  max-width: 420px;
  margin-bottom: 24px;
}

.cta-form input[type="email"] {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text);
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input[type="email"]::placeholder { color: var(--muted); }
.cta-form input[type="email"]:focus { border-color: var(--input-focus); }

.cta-btn {
  width: 100%;
  padding: 18px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cta-text);
  background: var(--cta);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.cta-btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); }

.cta-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* === DIVIDER === */
.divider { width: 48px; height: 1px; background: var(--border-accent); margin: 0 auto 36px; }

/* === BULLETS === */
.bullets-section { text-align: left; width: 100%; max-width: 560px; }
.bullets-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.02em;
}
.bullet { display: flex; align-items: flex-start; margin-bottom: 18px; gap: 14px; }
.bullet-check {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 700;
}
.bullet-text { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }


/* === BONUS STACK === */
.bonus-stack {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.bonus-heading {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 18px;
  line-height: 1.6;
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
/* block, not flex: a flex column collapses the cover's width:100% before the
   image loads, so the card would jump on slow connections */
.bonus-card {
  display: block;
  transition: transform 0.2s;
  text-align: center;
}
.bonus-card:hover { transform: translateY(-2px); }
.bonus-card:hover .bonus-cover { border-color: var(--accent); }
/* Covers are dark-on-dark by design (pre-reveal art, no sleep imagery). They keep
   their own background in both themes - only the frame reacts to hover. */
.bonus-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.bonus-name {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}


/* === FOOTER === */
.footer { text-align: center; padding: 40px 24px; border-top: 1px solid var(--border); }
.footer p { font-size: 0.7rem; color: var(--muted); line-height: 2; }
.footer a { color: var(--muted); text-decoration: underline; }

/* === DISCLAIMER === */
.disclaimer {
  font-size: 0.65rem; color: var(--muted); text-align: center;
  max-width: 560px; margin: 36px auto 0; line-height: 1.6; opacity: 0.7;
}

/* === DESKTOP - WIDER HERO FOR 2-LINE HEADLINE === */
@media (min-width: 768px) {
  .hero { max-width: 920px; }
}

/* === MOBILE === */
@media (max-width: 640px) {
  .hero { padding: 50px 20px 32px; justify-content: flex-start; }
  .without-block { font-size: 0.85rem; }
  .cta-btn { font-size: 0.9rem; padding: 16px 20px; }
  .bullet-text { font-size: 0.85rem; }
  .brand { display: none; }
  /* covers stay 3-up on phones - stacking them would make each one huge */
  .bonus-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bonus-name { font-size: 0.68rem; }
}
