/* =====================================================
   Remote Job Blueprint, landing page
   Palette anchored to the ebook: navy 0a1f44, gold c9a961,
   cream fdfbf6, dark text 1a2332.
   ===================================================== */

:root {
  --navy: #0a1f44;
  --navy-90: #122a5a;
  --navy-darker: #060f24;
  --gold: #c9a961;
  --gold-soft: #d4b876;
  --cream: #fdfbf6;
  --cream-dark: #f6f1e3;
  --ink: #1a2332;
  --ink-soft: #4a5567;
  --line: #e8e0c8;
  --line-dark: #1c2c52;
  --green: #2d7a3a;
  --red: #b3322a;
  --shadow-card: 0 1px 2px rgba(10, 31, 68, 0.04), 0 8px 24px rgba(10, 31, 68, 0.06);
  --shadow-elev: 0 2px 6px rgba(10, 31, 68, 0.08), 0 20px 40px rgba(10, 31, 68, 0.10);
}

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

html { scroll-behavior: smooth; }

/* Prevent ANY child from causing horizontal scroll. Decorative absolute
   elements (hero-glow at 800px, animated ticker, off-screen blurs) would
   otherwise widen the page on phones. */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Safety net: long words/links never bust the layout */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

/* ============== TOPBAR ============== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 246, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(232, 224, 200, 0.6);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.brand-text { letter-spacing: 0.02em; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }

.btn-ghost {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s ease;
}
.btn-ghost:hover { background: rgba(10, 31, 68, 0.06); }

.btn-primary-sm {
  padding: 9px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 31, 68, 0.18); }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--navy-darker) 0%, var(--navy) 60%, var(--navy-90) 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 97, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 140vw);
  height: min(800px, 140vw);
  max-width: 100vw;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.18) 0%, rgba(201, 169, 97, 0) 65%);
  filter: blur(40px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; text-align: center; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(28px, 7vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  /* Allow long words like "company" to break softly rather than overflow */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(253, 251, 246, 0.78);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.btn-primary-lg, .btn-primary-xl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.35);
  border: none;
  cursor: pointer;
}
.btn-primary-lg:hover, .btn-primary-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.45);
}
.btn-primary-xl { padding: 18px 36px; font-size: 17px; }
.btn-arrow { transition: transform 0.18s ease; }
.btn-primary-lg:hover .btn-arrow,
.btn-primary-xl:hover .btn-arrow { transform: translateX(3px); }

.hero-price-strip {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(253, 251, 246, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 10px;
}
.hero-price-old {
  font-size: 16px;
  text-decoration: line-through;
  color: rgba(253, 251, 246, 0.4);
}
.hero-price-now {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--gold);
}
.hero-price-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 13px;
  color: rgba(253, 251, 246, 0.7);
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-icon { color: var(--gold); font-weight: 700; }

/* ============== SECTIONS ============== */
.section { padding: 80px 0; }
.section-soft { background: var(--cream-dark); }
.section-dark {
  background: var(--navy);
  color: var(--cream);
}
.section-pain { background: var(--cream); }

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
.eyebrow-light { color: var(--gold); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: var(--navy);
}
.section-title-light { color: var(--cream); }

.lead-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
}
.lead-text em { font-style: italic; color: var(--navy); }

/* ============== FEATURES ============== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: rgba(253, 251, 246, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.18);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 169, 97, 0.45);
}
.feature-card-highlight {
  background: rgba(201, 169, 97, 0.08);
  border-color: rgba(201, 169, 97, 0.4);
}
.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
}
.feature-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 12px;
}
.feature-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(253, 251, 246, 0.72);
}

/* ============== STEPS ============== */
.steps {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
}
.step-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--navy);
}
.step-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============== WHO IT IS FOR ============== */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.who-col {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
.who-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.who-tag-yes { background: #e8f5e1; color: var(--green); }
.who-tag-no { background: #fbeae8; color: var(--red); }
.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.who-list li {
  font-size: 15px;
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}
.who-list-yes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.who-list-no li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ============== DIFF GRID ============== */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 720px) { .diff-grid { grid-template-columns: 1fr; } }

.diff-card {
  border-radius: 12px;
  padding: 28px 26px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.diff-card-good {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(10, 31, 68, 0.18);
}
.diff-bad, .diff-good {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.diff-bad { background: #f3e8e8; color: var(--red); }
.diff-good { background: rgba(201, 169, 97, 0.18); color: var(--gold); }
.diff-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.diff-card ul li {
  font-size: 14.5px;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
  color: inherit;
}
.diff-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
.diff-card-good ul li { color: rgba(253, 251, 246, 0.92); }
.diff-card-good ul li::before { background: var(--gold); opacity: 1; }

/* ============== PROOF CARD ============== */
.proof-card {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 36px 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}
.proof-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.proof-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--ink);
}
.proof-signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--navy);
  margin-top: 8px;
}

/* ============== PRICING ============== */
.section-pricing {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}
.pricing-card {
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: var(--shadow-elev);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
}
.pricing-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 20px;
}
.pricing-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 12px;
}
.pricing-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 28px;
}
.pricing-amount-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.pricing-old {
  font-size: 22px;
  text-decoration: line-through;
  color: var(--ink-soft);
  opacity: 0.6;
}
.pricing-now {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.pricing-region-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.pricing-list {
  list-style: none;
  text-align: left;
  max-width: 460px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-list li {
  font-size: 14.5px;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.pricing-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-soft);
}
.pricing-trust-item { display: inline-flex; align-items: center; gap: 6px; }

/* ============== FAQ ============== */
.faq {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============== FINAL CTA ============== */
.section-final {
  background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
  color: var(--cream);
  text-align: center;
}
.final-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.final-sub {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.78;
  margin-bottom: 36px;
}
.final-price {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(253, 251, 246, 0.7);
}
.final-price-old { text-decoration: line-through; opacity: 0.5; margin-left: 6px; }

/* ============== FOOTER ============== */
.footer {
  padding: 40px 0;
  background: var(--navy-darker);
  color: rgba(253, 251, 246, 0.65);
  font-size: 14px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(253, 251, 246, 0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-fineprint { padding-top: 24px; font-size: 12px; opacity: 0.6; }

/* ============== RESPONSIVE ============== */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0; }
  .topbar-inner { padding: 12px 14px; gap: 10px; }
  .topbar-brand .brand-text { display: none; }      /* keep just the SA mark on tight screens */
  .topbar-actions { gap: 8px; }
  .topbar-actions .btn-ghost { padding: 7px 12px; font-size: 12.5px; }
  .topbar-actions .btn-primary-sm { padding: 8px 12px; font-size: 12.5px; }
  .hero-cta-row { flex-direction: column; }
  .hero-price-strip { width: 100%; justify-content: center; }
  .pricing-card { padding: 32px 22px; }
  .pricing-now { font-size: 44px; }
}

@media (max-width: 380px) {
  .topbar-actions .btn-ghost { padding: 6px 10px; font-size: 12px; }
  .topbar-actions .btn-primary-sm { padding: 7px 10px; font-size: 12px; }
}

/* ============== STATS BAND ============== */
.section-stats {
  padding: 56px 0;
  background: var(--navy);
  color: var(--cream);
}
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.stat-item {
  text-align: center;
  padding: 16px 12px;
  border-right: 1px solid rgba(201, 169, 97, 0.18);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.stat-lbl {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(253, 251, 246, 0.78);
  letter-spacing: 0.01em;
}

@media (max-width: 820px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(201, 169, 97, 0.14); padding-bottom: 24px; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 12px; }
}
@media (max-width: 480px) {
  .stat-num { font-size: 36px; }
}

/* ============== LEAD TEXT extra styling ============== */
.lead-text strong { color: var(--navy); font-weight: 700; }


/* ============================================================================
   MOBILE FIT — comprehensive responsiveness for narrow phones
   ----------------------------------------------------------------------------
   Targets the failure modes seen on 360-420px Android viewports:
     - hero title overflowing the viewport
     - sections becoming wider than the screen via decorative absolute children
     - container padding too aggressive once the hero shrinks
     - tables, blockquotes, pricing cards needing tighter padding
     - newsletter form input + button stacking properly
   Built additive on top of the existing 640/480/380 queries; nothing here
   conflicts with desktop sizing (we're tightening, not loosening).
   ============================================================================ */

/* Phones up to ~520px */
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .container-narrow { padding: 0 16px; }

  .section { padding: 44px 0; }
  .section-final { padding: 56px 0; }

  /* Hero */
  .hero { padding: 44px 0 52px; }
  .hero-title {
    font-size: clamp(26px, 8.5vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.015em;
  }
  .hero-sub {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .hero-tag {
    font-size: 12px;
    padding: 6px 12px;
  }
  .hero-cta-row { gap: 14px; margin-bottom: 32px; }
  .hero-trust { font-size: 12.5px; }

  /* Buttons */
  .btn-primary-xl {
    padding: 14px 22px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
  .btn-primary-lg {
    padding: 13px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  /* Hero price strip — wrap nicely at narrow widths */
  .hero-price-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    padding: 10px 14px;
    width: 100%;
    max-width: 320px;
  }
  .hero-price-old { font-size: 14px; }
  .hero-price-now { font-size: 22px; }
  .hero-price-tag { font-size: 11px; }

  /* Section headings */
  .section h2,
  .section-pain h2,
  .section-final .final-title {
    font-size: clamp(22px, 6.5vw, 30px) !important;
    line-height: 1.22;
  }

  /* Pricing card — was using 32px padding even at 640px */
  .pricing-card {
    padding: 24px 18px !important;
    border-radius: 14px;
  }
  .pricing-now { font-size: 36px !important; }
  .pricing-old { font-size: 17px; }
  .pricing-list li { font-size: 13.5px; padding-left: 24px; }

  /* Section-dark "Get the Blueprint" inline CTA */
  .section-dark { padding: 48px 0; }

  /* Stats band */
  .stats-band { gap: 22px 12px; }
  .stat-num { font-size: 30px !important; }
  .stat-lbl { font-size: 12px; }

  /* Testimonials */
  .section-testimonials .testimonial-card {
    padding: 18px 16px !important;
  }

  /* Newsletter signup section */
  .section-newsletter form {
    flex-direction: column;
    gap: 10px;
  }
  .section-newsletter input[type="email"],
  .section-newsletter button[type="submit"] {
    width: 100%;
    flex: 1 1 100% !important;
  }

  /* Footer */
  .footer { padding: 32px 0 24px; }
  .footer-row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
  }
  .footer-fineprint { font-size: 12px; line-height: 1.55; }

  /* Topbar — already had a 640px rule; tighten further on tiny phones */
  .topbar-inner { padding: 10px 12px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .btn-ghost { padding: 6px 10px; font-size: 12px; }
  .topbar-actions .btn-primary-sm { padding: 7px 12px; font-size: 12px; }
}

/* Very narrow phones (Galaxy Fold, older Androids) */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: clamp(24px, 8vw, 32px); }
  .hero-sub { font-size: 14.5px; }
  .pricing-now { font-size: 32px !important; }
  .stat-num { font-size: 26px !important; }
  .topbar-inner { padding: 9px 10px; gap: 8px; }
}

/* Final safety net — defense in depth against ANY child causing overflow.
   If a future image, embed, or inline element forgets a max-width, the
   page still won't horizontally scroll. */
section, header, footer, main, article, aside {
  max-width: 100vw;
  overflow-x: clip;  /* clip is like hidden but doesn't create a scrolling box */
}
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}
