@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Archivo+Black&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ============================================================
   DTD DESIGN SYSTEM — WEBSITE
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #131313;
  --ink:       #f5f1e8;
  --ink-mute:  rgba(245, 241, 232, 0.62);
  --ink-faint: rgba(245, 241, 232, 0.32);
  --rule:      rgba(245, 241, 232, 0.14);
  --yellow:    #ffe600;
  --pink:      #ff2d6f;
  --blue:      #2bd1ff;
  --display:   "Bungee", system-ui, sans-serif;
  --headline:  "Archivo Black", system-ui, sans-serif;
  --body:      "Space Grotesk", system-ui, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --max-w:     1200px;
  --pad:       clamp(24px, 5vw, 60px);
}

/* ============================================================
   RESET
   ============================================================ */

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

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

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   HALFTONE TEXTURE
   — Applied as background-image on each section individually
   ============================================================ */

.has-halftone {
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.section-headline {
  font-family: var(--headline);
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 52px;
}

/* ============================================================
   GUMROAD BUTTON — OVERRIDE INJECTED STYLES
   ============================================================ */

.gumroad-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: var(--headline) !important;
  font-size: 18px !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
  background: var(--yellow) !important;
  background-image: none !important;
  color: var(--bg) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 18px 36px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
  text-decoration: none !important;
}

.gumroad-button:hover {
  transform: translateY(-2px) !important;
  opacity: 0.92 !important;
  background: var(--yellow) !important;
  color: var(--bg) !important;
}

.gumroad-button:active {
  transform: translateY(0) !important;
}

/* Hide Gumroad logo injected into button */
.gumroad-button-logo,
.gumroad-button img {
  display: none !important;
}

/* Nav button variant — smaller */
.gumroad-button--nav {
  font-size: 13px !important;
  padding: 10px 20px !important;
  letter-spacing: 0em !important;
}

.gumroad-button--nav:hover {
  transform: none !important;
  opacity: 0.88 !important;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}

#nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--display);
  font-size: 22px;
  color: var(--yellow);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-domain {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px var(--pad) 100px;
  position: relative;
  overflow: hidden;
}

/* Corner ticks */
.corner-tick {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(245, 241, 232, 0.18);
  border-style: solid;
  border-width: 0;
}

.corner-tick.tl { top: 80px; left: clamp(16px, 3vw, 40px); border-top-width: 1px; border-left-width: 1px; }
.corner-tick.tr { top: 80px; right: clamp(16px, 3vw, 40px); border-top-width: 1px; border-right-width: 1px; }
.corner-tick.bl { bottom: 100px; left: clamp(16px, 3vw, 40px); border-bottom-width: 1px; border-left-width: 1px; }
.corner-tick.br { bottom: 100px; right: clamp(16px, 3vw, 40px); border-bottom-width: 1px; border-right-width: 1px; }

.hero-inner {
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-top {
  display: block;
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 108px);
  color: var(--ink);
  line-height: 0.88;
  letter-spacing: 0.01em;
}

.hero-title-main {
  display: block;
  font-family: var(--display);
  font-size: clamp(72px, 16vw, 180px);
  color: var(--yellow);
  line-height: 0.82;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}

.hero-sub {
  font-family: var(--body);
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

.pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  background-color: var(--yellow);
  color: var(--bg);
  padding: 8px 18px;
  display: inline-block;
}

.hero-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-footnote {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

/* Yellow rule at bottom of hero */
.hero-rule {
  position: absolute;
  bottom: 72px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--yellow);
  opacity: 0.25;
}

/* Diagonal slash accent above rule */
.hero-slash-bar {
  position: absolute;
  bottom: 75px;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    -60deg,
    transparent 0px,
    transparent 6px,
    rgba(255, 230, 0, 0.3) 6px,
    rgba(255, 230, 0, 0.3) 8px
  );
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scroll-bob 2.2s ease-in-out infinite;
}

.scroll-cue-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.scroll-cue-arrow {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, var(--ink-faint), transparent);
  position: relative;
}

.scroll-cue-arrow::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  transform: rotate(45deg);
}

@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

/* ============================================================
   SECTION 2 — THE HONEST NUMBERS
   ============================================================ */

#numbers {
  background-color: var(--bg-2);
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 64px;
}

.stat-card {
  background-color: var(--bg);
  padding: 52px 48px;
  border-left: 3px solid var(--pink);
  position: relative;
  overflow: hidden;
}

/* Subtle inner halftone on stat cards */
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.03) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  pointer-events: none;
}

.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 120px);
  color: var(--yellow);
  line-height: 0.88;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-mute);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.pull-quote {
  font-family: var(--headline);
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -0.01em;
  color: var(--yellow);
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
  line-height: 1.2;
}

.pull-quote::before { content: '"'; }
.pull-quote::after  { content: '"'; }

.body-copy {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

.body-copy + .body-copy {
  margin-top: 20px;
}

/* ============================================================
   SECTION 3 — THE THREE LEVERS
   ============================================================ */

#levers {
  background-color: var(--bg);
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
}

.levers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 64px;
}

.lever-card {
  padding: 52px 44px;
}

.lever-card.card-yellow {
  background-color: var(--yellow);
}

.lever-card.card-dark {
  background-color: var(--bg);
  border: 1px solid var(--yellow);
}

.lever-card.card-pink {
  background-color: var(--pink);
}

.lever-num-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}

.card-yellow .lever-num-label { color: rgba(10, 10, 10, 0.45); }
.card-dark  .lever-num-label  { color: var(--ink-faint); }
.card-pink  .lever-num-label  { color: rgba(10, 10, 10, 0.45); }

.lever-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 0.95;
  margin-bottom: 20px;
}

.card-yellow .lever-title { color: var(--bg); }
.card-dark   .lever-title { color: var(--yellow); }
.card-pink   .lever-title { color: var(--bg); }

.lever-body {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.card-yellow .lever-body { color: rgba(10, 10, 10, 0.70); }
.card-dark   .lever-body { color: var(--ink-mute); }
.card-pink   .lever-body { color: rgba(10, 10, 10, 0.70); }

.levers-kicker {
  font-family: var(--headline);
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.2;
}

/* ============================================================
   SECTION 4 — WHAT'S INSIDE
   ============================================================ */

#inside {
  background-color: var(--bg-2);
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.guide-card {
  background-color: var(--bg);
  padding: 36px 40px;
  border-left: 3px solid var(--yellow);
  transition: border-color 0.2s ease;
}

.guide-card:hover {
  border-color: var(--pink);
}

.guide-num {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.guide-title {
  font-family: var(--headline);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.guide-desc {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.65;
}

/* ============================================================
   SECTION 5 — RESOURCE TOOLKIT
   ============================================================ */

#toolkit {
  background-color: var(--bg);
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
}

.toolkit-sub {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-mute);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 56px;
  /* Pull it up, sits just below section headline which already has margin */
  margin-top: -24px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

/* Last 2 cards: center them in a 3-col grid */
.tool-card:nth-child(4) {
  grid-column: 1;
}
.tool-card:nth-child(5) {
  grid-column: 2;
}

.tool-card {
  background-color: var(--bg-2);
  padding: 40px 36px;
  border-top: 3px solid var(--yellow);
}

.tool-icon {
  width: 42px;
  height: 42px;
  background-color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg);
}

.tool-name {
  font-family: var(--headline);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.tool-desc {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.65;
}

/* ============================================================
   SECTION 6 — WHO THIS IS FOR
   ============================================================ */

#for-who {
  background-color: var(--bg-2);
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
}

.for-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.for-who-col {
  background-color: var(--bg);
  padding: 52px 48px;
}

.col-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.col-yes .col-label { color: var(--yellow); }
.col-no  .col-label { color: var(--pink); }

.for-who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.for-who-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fw-marker {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 15px;
  font-weight: 700;
}

.col-yes .fw-marker { color: var(--yellow); }
.col-no  .fw-marker { color: var(--pink); }

.fw-text {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* ============================================================
   SECTION 7 — PRICING & CTA
   ============================================================ */

#pricing {
  background-color: var(--bg);
  background-image: radial-gradient(
    circle,
    rgba(245, 241, 232, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
  text-align: center;
  padding: 120px 0;
}

.pricing-logo {
  display: block;
  font-family: var(--display);
  font-size: 52px;
  color: var(--yellow);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.price-figure {
  display: block;
  font-family: var(--display);
  font-size: clamp(100px, 18vw, 200px);
  color: var(--yellow);
  line-height: 0.82;
  margin-bottom: 28px;
}

.price-caption {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 56px;
}

/* Diagonal slash separator */
.slash-rule {
  width: 200px;
  height: 2px;
  background: repeating-linear-gradient(
    -60deg,
    var(--yellow) 0px,
    var(--yellow) 4px,
    transparent 4px,
    transparent 10px
  );
  margin: 0 auto 52px;
  opacity: 0.5;
}

.includes-list {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 56px;
  text-align: left;
}

.includes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.10em;
  color: var(--ink-mute);
}

.includes-list li::before {
  content: '→';
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.pricing-contact {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.pricing-contact a {
  color: var(--ink-mute);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pricing-contact a:hover {
  color: var(--ink);
  border-color: var(--ink-mute);
}

/* ============================================================
   FOOTER
   ============================================================ */

#footer {
  background-color: var(--yellow);
  padding: 28px 0;
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    -60deg,
    rgba(10, 10, 10, 0.12) 0px,
    rgba(10, 10, 10, 0.12) 4px,
    transparent 4px,
    transparent 10px
  );
}

#footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  font-family: var(--display);
  font-size: 20px;
  color: var(--bg);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.footer-meta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(10, 10, 10, 0.50);
  text-transform: uppercase;
  text-align: center;
}

.footer-url {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(10, 10, 10, 0.55);
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .levers-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset tool card manual positioning */
  .tool-card:nth-child(4),
  .tool-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  /* Nav */
  .nav-domain { display: none; }

  /* Hero */
  #hero { padding: 90px var(--pad) 90px; }
  .hero-title-top { font-size: clamp(44px, 12vw, 72px); }
  .hero-title-main { font-size: clamp(64px, 18vw, 110px); }

  /* Stats */
  .stat-grid {
    grid-template-columns: 1fr;
  }

  /* Levers */
  .levers-grid {
    grid-template-columns: 1fr;
  }

  /* Inside guide */
  .sections-grid {
    grid-template-columns: 1fr;
  }

  /* Tools */
  .tools-grid {
    grid-template-columns: 1fr;
  }

  /* Who for */
  .for-who-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  #footer .container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-meta { font-size: 9px; letter-spacing: 0.10em; }
}

@media (max-width: 480px) {
  :root { --pad: 20px; }

  .hero-title-top  { font-size: clamp(36px, 11vw, 56px); }
  .hero-title-main { font-size: clamp(56px, 17vw, 80px); }
  .hero-sub        { font-size: 16px; }

  .pill { font-size: 10px; padding: 7px 14px; }

  .gumroad-button {
    font-size: 16px !important;
    padding: 15px 28px !important;
  }

  .stat-card    { padding: 36px 28px; }
  .stat-num     { font-size: 80px; }

  .lever-card   { padding: 40px 28px; }
  .guide-card   { padding: 28px 24px; }
  .for-who-col  { padding: 36px 28px; }

  .price-figure { font-size: clamp(80px, 20vw, 120px); }

  .includes-list li { font-size: 12px; }
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-center { text-align: center; }
.relative { position: relative; }
