*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --background: hsl(220 20% 97%);
  --foreground: hsl(212 100% 15%);
  --card: hsl(0 0% 100%);
  --primary: hsl(215 100% 45%);
  --muted: hsl(220 14% 92%);
  --muted-foreground: hsl(215 20% 45%);
  --accent: hsl(47 100% 48%);
  --accent-foreground: hsl(212 100% 12%);
  --destructive: hsl(0 84% 60%);
  --border: hsl(215 25% 88%);
  --navy: hsl(212 100% 23%);
  --navy-soft: hsl(215 100% 35%);
  --navy-deep: hsl(212 100% 18%);
  --navy-foreground: hsl(0 0% 98%);
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --shadow-card: 0 1px 3px 0 hsl(212 100% 23% / 0.06), 0 1px 2px -1px hsl(212 100% 23% / 0.06);
  --shadow-card-hover: 0 10px 25px -5px hsl(212 100% 23% / 0.12), 0 8px 10px -6px hsl(212 100% 23% / 0.06);
  --shadow-featured: 0 0 0 2px hsl(47 100% 48% / 0.4), 0 10px 30px -5px hsl(47 100% 48% / 0.2);
  --hero-gradient: linear-gradient(135deg, var(--navy), var(--navy-soft), var(--navy-deep));
  --gold-gradient: linear-gradient(135deg, hsl(47 100% 48%), hsl(40 100% 42%));
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.6 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--foreground); }

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.1; color: var(--navy-foreground); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.3; }

section[id] { scroll-margin-top: 6rem; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 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;
}

.container { width: min(100% - 2rem, 1400px); margin: 0 auto; }
.container-reading { max-width: 52rem; }
.container-medium { max-width: 68rem; }
.container-offer { max-width: 44rem; }
.container-faq { max-width: 48rem; }
.text-center { text-align: center; }
.center-copy { margin-inline: auto; }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.surface-card { background: var(--card); }
.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.section-dark { background: var(--hero-gradient); color: var(--navy-foreground); }
.section-dark-cta { padding: 4rem 0 6rem; }
.section-dark-cta .section-support { margin-bottom: 2rem; }
.section-intro { margin-bottom: 3rem; }

.section-headline {
  margin-bottom: 0.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
}

.section-subhead {
  margin-bottom: 2.5rem;
  color: var(--muted-foreground);
  font-size: 1.25rem;
}

.section-support { max-width: 42rem; color: var(--muted-foreground); font-size: 1.0625rem; }
.section-support.large { font-size: 1.125rem; }
.section-gap-sm { margin-bottom: 2.5rem; }
.dark-title { color: var(--navy-foreground); }
.dark-title.large { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; }
.dark-support { color: hsl(0 0% 98% / 0.78); margin-inline: auto; }

.text-gradient-gold {
  display: inline-block;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-accent { margin-bottom: 1.5rem; background: hsl(47 100% 48% / 0.2); color: var(--accent); }
.eyebrow-danger { margin-bottom: 1.5rem; background: hsl(0 84% 60% / 0.1); color: var(--destructive); }
.eyebrow-primary { margin-bottom: 1.5rem; background: hsl(215 100% 45% / 0.1); color: var(--primary); }
.eyebrow-gold { margin-bottom: 1.5rem; background: var(--gold-gradient); color: var(--accent-foreground); }
.eyebrow-dark { margin-bottom: 1.5rem; background: hsl(0 0% 98% / 0.1); color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn:focus-visible, .mobile-toggle:focus-visible, .faq-trigger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-sm { min-height: 2.25rem; padding-inline: 0.875rem; }
.btn-lg { min-height: 3rem; padding-inline: 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold, .btn-hero { background: var(--gold-gradient); color: var(--accent-foreground); box-shadow: 0 6px 18px hsl(47 100% 48% / 0.16); }
.btn-gold:hover, .btn-gold:focus-visible, .btn-hero:hover, .btn-hero:focus-visible { filter: brightness(1.08); box-shadow: 0 10px 24px hsl(47 100% 48% / 0.24); }
.btn-hero, .btn-hero-secondary { min-height: 3.25rem; padding: 0.95rem 2rem; font-size: 1rem; }
.btn-hero-secondary { border: 2px solid hsl(0 0% 98% / 0.3); background: transparent; color: var(--navy-foreground); }
.btn-hero-secondary:hover, .btn-hero-secondary:focus-visible { background: hsl(0 0% 98% / 0.1); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(0 0% 98% / 0.1);
  background: var(--hero-gradient);
  backdrop-filter: blur(12px);
}

.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; }
.brand-logo { width: auto; height: 3.5rem; }
.desktop-nav { display: none; align-items: center; gap: 2rem; }
.nav-link, .mobile-nav-link { color: hsl(0 0% 98% / 0.8); font-size: 0.9375rem; font-weight: 500; transition: color 0.3s ease; }
.nav-link:hover, .nav-link:focus-visible, .mobile-nav-link:hover, .mobile-nav-link:focus-visible { color: var(--accent); }

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--navy-foreground);
  cursor: pointer;
}

.mobile-toggle .icon-close { display: none; }
.mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid hsl(0 0% 98% / 0.1);
  background: var(--hero-gradient);
}

.mobile-menu.is-open { display: flex; }

.hero { position: relative; overflow: hidden; background: var(--hero-gradient); }
.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner { position: relative; padding: 5rem 0 6rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { max-width: 38rem; }
.hero-lead { max-width: 34rem; margin: 0 0 2rem; color: hsl(0 0% 98% / 0.8); font-size: 1.125rem; }
.hero-bullets { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.hero-bullets li { display: flex; align-items: flex-start; gap: 0.75rem; color: hsl(0 0% 98% / 0.8); }
.hero-bullets .icon { margin-top: 0.125rem; color: var(--accent); }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 0.75rem; }
.center-actions { justify-content: center; }
.hero-meta { color: hsl(0 0% 98% / 0.5); font-size: 0.875rem; }
.hero-visual, .chip { opacity: 0; }
.mockup-wrap { position: relative; width: min(100%, 33rem); margin: 0 auto; }
.hero-mockup { width: 100%; border-radius: 1rem; box-shadow: 0 24px 45px hsl(212 100% 7% / 0.3); }
.chip-cloud { position: absolute; top: -0.75rem; left: -0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 15rem; }
.chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.9);
  box-shadow: var(--shadow-card);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.clarity-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; }
.clarity-item { display: inline-flex; align-items: center; gap: 0.75rem; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; }

.icon-pill, .check-badge, .round-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon-pill { width: 2.5rem; height: 2.5rem; border-radius: calc(var(--radius) - 2px); }
.icon-pill.small { width: 2rem; height: 2rem; }
.icon-pill-primary { background: hsl(215 100% 45% / 0.1); color: var(--primary); }
.icon-pill-gold { background: hsl(47 100% 48% / 0.15); color: var(--accent-foreground); }
.icon-accent { color: var(--accent); }
.icon-primary { color: var(--primary); }

.problem-list { max-width: 38rem; margin: 0 auto 2.5rem; }
.stack-list { display: grid; gap: 1rem; }
.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--card);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.problem-emphasis {
  color: var(--primary);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.benefits-shell { max-width: 38rem; margin: 0 auto; text-align: left; }
.label-title {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-line { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-badge {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--accent-foreground);
}

.ebook-grid, .split-panel-grid, .dual-card-grid, .outcomes-grid { display: grid; gap: 1.5rem; }
.ebook-grid { max-width: 70rem; margin: 0 auto 2.5rem; }

.feature-card, .info-card, .glass-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 23.75rem;
  padding: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-card h3 { margin-bottom: 0.75rem; }
.bullet-list { display: grid; gap: 0.6rem; margin-top: 0.25rem; color: var(--muted-foreground); }
.bullet-list li { position: relative; padding-left: 1rem; }
.bullet-list li::before { content: "\2022"; position: absolute; left: 0; color: var(--muted-foreground); }
.section-cta { text-align: center; }

.glass-card {
  padding: 2rem;
  background: hsl(0 0% 98% / 0.05);
  border-color: hsl(0 0% 98% / 0.1);
  backdrop-filter: blur(8px);
}

.glass-card h3 { margin-bottom: 1rem; color: var(--navy-foreground); }
.audience-list { display: grid; gap: 0.75rem; }
.audience-list li, .use-case-item { display: flex; align-items: center; gap: 0.75rem; color: hsl(0 0% 98% / 0.8); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--accent); flex: 0 0 auto; }
.use-case-grid { display: grid; gap: 1rem; }
.section-tagline {
  margin-top: 2.5rem;
  color: hsl(0 0% 98% / 0.92);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

.info-card { padding: 2rem; background: var(--card); box-shadow: var(--shadow-card); }
.card-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.round-badge { width: 2rem; height: 2rem; border-radius: 999px; }
.round-badge-gold { background: var(--gold-gradient); color: var(--accent-foreground); }
.round-badge-muted { background: var(--muted); color: var(--muted-foreground); }
.verdict-list { display: grid; gap: 0.9rem; }
.verdict-list li, .outcome-item, .offer-item, .trust-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.verdict-list-muted { color: var(--muted-foreground); }
.verdict-list-muted .icon { color: hsl(215 20% 45% / 0.6); }

.outcomes-grid h3 { margin-bottom: 1.5rem; }
.outcome-list, .offer-list, .trust-grid, .faq-list { display: grid; gap: 1rem; }

.offer-card {
  padding: 2rem;
  border: 1px solid hsl(47 100% 48% / 0.2);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow-featured);
  text-align: center;
}

.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--accent-foreground);
  font-size: 0.75rem;
  font-weight: 700;
}

.offer-pill .icon { width: 0.875rem; height: 0.875rem; }
.offer-list { margin: 2rem 0; text-align: left; }
.offer-item { align-items: center; padding: 1rem; border-radius: calc(var(--radius) - 2px); background: hsl(220 14% 92% / 0.5); color: var(--muted-foreground); font-weight: 500; }
.offer-item .icon { color: var(--accent); }
.offer-item-featured { border: 1px solid hsl(215 100% 45% / 0.15); background: hsl(215 100% 45% / 0.05); color: var(--foreground); }
.offer-item-featured .icon { color: var(--primary); }
.price-block { margin-bottom: 1.5rem; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.price-current { font-family: "Space Grotesk", system-ui, sans-serif; font-size: 2.5rem; font-weight: 700; }
.price-was { color: var(--muted-foreground); font-size: 1.125rem; text-decoration: line-through; }
.price-note { color: var(--muted-foreground); font-size: 0.875rem; }
.offer-cta { max-width: 22rem; margin: 0 auto; }

.trust-grid { margin-bottom: 3rem; }
.trust-item { align-items: center; padding: 1rem; border-radius: calc(var(--radius) - 2px); background: var(--background); }
.founder-note { padding: 2rem; border-radius: var(--radius-lg); background: var(--hero-gradient); text-align: center; }
.founder-logo { height: 3rem; width: auto; margin: 0 auto 1rem; opacity: 0.8; }
.founder-note p { max-width: 34rem; margin: 0 auto; color: hsl(0 0% 98% / 0.8); }

.faq-item { border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); background: var(--card); overflow: hidden; }
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font: 700 1rem/1.4 "DM Sans", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

.faq-chevron { transition: transform 0.2s ease; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-content { height: 0; overflow: hidden; transition: height 0.2s ease; }
.faq-content-inner { padding: 0 1.5rem 1.25rem; color: var(--muted-foreground); }

.site-footer { border-top: 1px solid hsl(0 0% 98% / 0.1); background: var(--hero-gradient); }
.footer-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 0;
}

.footer-logo { width: auto; height: 3rem; opacity: 0.7; }
.site-footer p { color: hsl(0 0% 98% / 0.4); font-size: 0.875rem; }

.fade-in-up { animation: fade-in-up 0.6s ease-out forwards; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.48s; }
.fade-in-delay-6 { animation-delay: 0.56s; }
.fade-in-delay-7 { animation-delay: 0.64s; }

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-shell { flex-direction: row; }
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .desktop-nav { display: flex; }
  .mobile-toggle, .mobile-menu { display: none !important; }
  .hero-inner { padding: 7rem 0 8rem; }
  .ebook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dual-card-grid, .outcomes-grid, .split-panel-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; }
  .hero-visual { display: flex; justify-content: flex-end; }
  .ebook-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .site-nav .btn-sm { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .hero-visual, .chip { opacity: 1; }
}
