/* =====================================================
   BLANK INK AMAZON — Global Styles
   Fonts: Inter + JetBrains Mono (pictiax.com pattern)
   Colors: #0A0A0A / #F6F4EF / #1FBF6B
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── Reset & Root ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #0A0A0A;
  --bone:    #F6F4EF;
  --profit:  #1FBF6B;
  --profit-dim: rgba(31,191,107,0.12);
  --profit-glow: rgba(31,191,107,0.35);
  --bone-dim: rgba(246,244,239,0.55);
  --bone-faint: rgba(246,244,239,0.08);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.18s ease;
}

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

body {
  background-color: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── Grain Overlay ── */
.grain {
  position: fixed;
  inset: -200%;
  width: 400%;
  height: 400%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
  animation: grain-shift 8s steps(1) infinite;
}

@keyframes grain-shift {
  0%,100%  { transform: translate(0, 0); }
  10%  { transform: translate(-3%, -2%); }
  20%  { transform: translate(2%, 3%); }
  30%  { transform: translate(-1%, 1%); }
  40%  { transform: translate(3%, -3%); }
  50%  { transform: translate(-2%, 2%); }
  60%  { transform: translate(1%, -1%); }
  70%  { transform: translate(-3%, 3%); }
  80%  { transform: translate(2%, -2%); }
  90%  { transform: translate(-1%, 1%); }
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--profit);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(31,191,107,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hovering { width: 18px; height: 18px; }
.cursor-ring.hovering { width: 60px; height: 60px; border-color: var(--profit); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(31,191,107,0.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--profit); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.75);
  border-bottom: 1px solid rgba(246,244,239,0.06);
  transition: padding var(--transition);
}

.nav.scrolled { padding: 16px 40px; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--profit);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.nav-logo-mark::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 4px;
  height: 4px;
  background: var(--ink);
  animation: cursor-blink 1.2s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-logo-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bone);
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--profit);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--profit);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink) !important;
  background: var(--profit);
  padding: 8px 20px;
  text-transform: uppercase;
  transition: all var(--transition-fast) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #24d97a !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--bone);
  display: block;
  transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,191,107,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,191,107,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,191,107,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1.2; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--profit);
}

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--profit);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 40px;
  overflow: hidden;
}

.hero-title .line { overflow: hidden; display: block; }
.hero-title .word { display: inline-block; }

.hero-title .accent {
  color: var(--profit);
  display: block;
  font-style: italic;
}

.hero-sub {
  max-width: 560px;
  font-size: 17px;
  font-weight: 400;
  color: var(--bone-dim);
  line-height: 1.65;
  margin-bottom: 56px;
  opacity: 0;
}

.hero-sub strong { color: var(--bone); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--profit);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--profit-glow); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--bone-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 24px;
  border: 1px solid rgba(246,244,239,0.15);
  transition: all var(--transition);
}

.btn-ghost:hover { color: var(--bone); border-color: rgba(246,244,239,0.35); }

.hero-stats {
  position: absolute;
  right: 40px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
}

.hero-stat {}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--bone);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hero-stat-num span { color: var(--profit); font-size: 22px; }
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(246,244,239,0.2);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--profit);
  animation: scroll-line 2s ease infinite;
}

@keyframes scroll-line {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--bone-dim);
  text-transform: uppercase;
}

/* ── Section Generic ── */
.section {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 72px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--profit);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--profit-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.section-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--profit);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--bone);
}

.section-title .em { font-style: italic; color: var(--profit); }

.section-desc {
  font-size: 17px;
  color: var(--bone-dim);
  line-height: 1.65;
  max-width: 640px;
  margin-top: 20px;
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(246,244,239,0.08);
  margin: 0;
}

/* ── Modules Grid ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2px;
  background: rgba(246,244,239,0.06);
}

.module-card {
  background: var(--ink);
  padding: 40px;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--profit-dim);
  opacity: 0;
  transition: opacity var(--transition);
}

.module-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--profit);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.module-card:hover::before { opacity: 1; }
.module-card:hover::after { width: 100%; }

.module-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--profit);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-card-num-line {
  width: 24px;
  height: 1px;
  background: var(--profit);
}

.module-card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bone);
  line-height: 1.2;
  margin-bottom: 14px;
  transition: color var(--transition-fast);
}

.module-card:hover .module-card-title { color: #fff; }

.module-card-desc {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.6;
  margin-bottom: 28px;
}

.module-card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.module-card-lessons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.08em;
}

.module-card-lessons span { color: var(--profit); font-weight: 700; }

.module-card-arrow {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(246,244,239,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.module-card:hover .module-card-arrow {
  border-color: var(--profit);
  background: var(--profit);
}

.module-card-arrow svg { transition: transform var(--transition); }
.module-card:hover .module-card-arrow svg { transform: translate(2px, -2px); }

/* ── Method Section ── */
.method-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.method-phases {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.method-phase {
  padding: 32px 0;
  border-bottom: 1px solid rgba(246,244,239,0.08);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  opacity: 0;
  transform: translateX(-20px);
  cursor: default;
  transition: background var(--transition);
}

.method-phase:first-child { border-top: 1px solid rgba(246,244,239,0.08); }

.method-phase:hover .method-phase-num { color: var(--profit); }

.method-phase-num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: rgba(246,244,239,0.12);
  line-height: 1;
  transition: color var(--transition);
}

.method-phase-content {}

.method-phase-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--profit);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.method-phase-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 10px;
}

.method-phase-desc {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.65;
}

.method-visual {
  position: sticky;
  top: 120px;
  opacity: 0;
}

.method-flywheel {
  aspect-ratio: 1;
  position: relative;
  max-width: 480px;
}

.flywheel-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ring-spin linear infinite;
}

.flywheel-ring-1 {
  inset: 0;
  border-color: rgba(31,191,107,0.15);
  animation-duration: 30s;
}

.flywheel-ring-2 {
  inset: 15%;
  border-color: rgba(31,191,107,0.25);
  animation-duration: 20s;
  animation-direction: reverse;
}

.flywheel-ring-3 {
  inset: 30%;
  border-color: rgba(31,191,107,0.4);
  animation-duration: 12s;
}

.flywheel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--profit);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px var(--profit);
}

.flywheel-center {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: var(--profit);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px var(--profit-glow);
}

.flywheel-center-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
}

.flywheel-labels {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flywheel-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Stats Bar ── */
.stats-bar {
  background: rgba(246,244,239,0.03);
  border-top: 1px solid rgba(246,244,239,0.06);
  border-bottom: 1px solid rgba(246,244,239,0.06);
  padding: 64px 40px;
}

.stats-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.stats-bar-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(25% - 1px),
    rgba(246,244,239,0.06) calc(25% - 1px),
    rgba(246,244,239,0.06) 25%
  );
  pointer-events: none;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  opacity: 0;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 700;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-num .suf { font-size: 28px; color: var(--profit); }
.stat-num .pre { font-size: 24px; color: var(--profit); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--bone-dim);
  text-transform: uppercase;
}

/* ── Tools Section ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--bone-faint);
  border: 1px solid rgba(246,244,239,0.08);
  padding: 28px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.tool-card:hover {
  border-color: rgba(31,191,107,0.3);
  background: var(--profit-dim);
  transform: translateY(-3px);
}

.tool-card-icon {
  width: 40px;
  height: 40px;
  background: var(--profit-dim);
  border: 1px solid rgba(31,191,107,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--profit);
  margin-bottom: 16px;
}

.tool-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 6px;
}

.tool-card-desc {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.5;
}

/* ── CTA Section ── */
.cta-section {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(31,191,107,0.06) 0%, transparent 70%);
}

.cta-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}

.cta-title .em { color: var(--profit); font-style: italic; }

.cta-desc {
  font-size: 17px;
  color: var(--bone-dim);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

/* ── Footer ── */
footer {
  padding: 48px 40px;
  border-top: 1px solid rgba(246,244,239,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bone);
  text-transform: uppercase;
}

.footer-logo span { color: var(--profit); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-dim);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--profit); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(246,244,239,0.3);
  letter-spacing: 0.05em;
}

/* ──────────────────────────────
   MODULE PAGE STYLES
────────────────────────────── */

.module-page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 40px 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(246,244,239,0.08);
}

.module-page-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(31,191,107,0.05) 0%, transparent 70%);
}

.module-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--bone-dim);
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 48px;
  transition: color var(--transition-fast);
  position: relative;
  z-index: 1;
}

.module-back:hover { color: var(--profit); }

.module-page-num {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 700;
  color: rgba(246,244,239,0.04);
  line-height: 1;
  position: absolute;
  right: 40px;
  bottom: -20px;
  pointer-events: none;
  user-select: none;
}

.module-page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--profit);
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.module-page-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.module-page-desc {
  font-size: 17px;
  color: var(--bone-dim);
  line-height: 1.65;
  max-width: 620px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

/* ── Lessons List ── */
.lessons-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.lessons-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lesson-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(246,244,239,0.08);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-16px);
  transition: background var(--transition);
  position: relative;
  cursor: default;
}

.lesson-item:first-child { border-top: 1px solid rgba(246,244,239,0.08); }

.lesson-item::before {
  content: '';
  position: absolute;
  left: -40px;
  right: -40px;
  top: 0;
  bottom: 0;
  background: var(--profit-dim);
  opacity: 0;
  transition: opacity var(--transition);
}

.lesson-item:hover::before { opacity: 1; }

.lesson-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: rgba(246,244,239,0.12);
  transition: color var(--transition);
  position: relative;
  z-index: 1;
}

.lesson-item:hover .lesson-num { color: var(--profit); }

.lesson-content { position: relative; z-index: 1; }

.lesson-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-bottom: 6px;
}

.lesson-desc {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.5;
}

.lesson-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid;
  text-transform: uppercase;
}

.badge-pdf {
  color: var(--bone-dim);
  border-color: rgba(246,244,239,0.2);
}

.badge-resource {
  color: var(--profit);
  border-color: rgba(31,191,107,0.3);
  background: var(--profit-dim);
}

.badge-tool {
  color: #7eb8ff;
  border-color: rgba(126,184,255,0.3);
  background: rgba(126,184,255,0.08);
}

.lesson-status {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ── Key Concepts ── */
.concepts-section {
  padding: 0 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.concept-card {
  background: var(--bone-faint);
  border: 1px solid rgba(246,244,239,0.08);
  padding: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.concept-card:hover {
  border-color: rgba(31,191,107,0.25);
  transform: translateY(-2px);
}

.concept-icon {
  font-size: 20px;
  margin-bottom: 14px;
  display: block;
}

.concept-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.concept-text {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.6;
}

/* ── Module Nav ── */
.module-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 40px;
  border-top: 1px solid rgba(246,244,239,0.08);
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

.module-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 20px 28px;
  border: 1px solid rgba(246,244,239,0.1);
  transition: all var(--transition);
  flex: 1;
  max-width: 320px;
}

.module-nav-btn:hover { border-color: rgba(31,191,107,0.4); }

.module-nav-btn.next { flex-direction: row-reverse; margin-left: auto; }

.module-nav-btn-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--bone-dim);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.module-nav-btn-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--bone);
  display: block;
}

.module-nav-btn-arrow {
  font-size: 20px;
  color: var(--profit);
  flex-shrink: 0;
}

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.in-view { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }

/* ── Loading Screen ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.loader-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--bone);
  text-transform: uppercase;
  opacity: 0;
  animation: loader-fade 0.5s 0.2s forwards;
}

.loader-logo span { color: var(--profit); }

.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(246,244,239,0.1);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--profit);
  animation: loader-progress 1.2s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loader-fade {
  to { opacity: 1; }
}

@keyframes loader-progress {
  to { left: 100%; }
}

.loader-percent {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: loader-fade 0.5s 0.3s forwards;
}

/* ──────────────────────────────
   MOBILE MENU OVERLAY
────────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 48px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  flex: 1;
}

.mobile-menu-links li {
  border-bottom: 1px solid rgba(246,244,239,0.08);
  overflow: hidden;
}

.mobile-menu-links a {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bone);
  text-decoration: none;
  padding: 20px 0;
  text-transform: uppercase;
  transition: color var(--transition-fast), padding-left var(--transition);
}

.mobile-menu-links a:hover,
.mobile-menu-links a:active { color: var(--profit); padding-left: 12px; }

.mobile-menu-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(246,244,239,0.08);
}

.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--profit);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 32px;
  width: 100%;
  justify-content: center;
}

.mobile-menu-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-top: 20px;
}

/* hamburger open state */
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ──────────────────────────────
   TOUCH / MOBILE CORE
────────────────────────────── */

/* Hide cursor on touch-primary devices */
@media (hover: none) and (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
  a, button, [role="button"] { cursor: pointer; }
}

/* Prevent horizontal overflow */
* { max-width: 100%; }
img, video, svg { max-width: 100%; height: auto; }

/* iOS safe areas */
@supports (padding: env(safe-area-inset-bottom)) {
  footer {
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
  }
  .nav {
    padding-top: max(24px, env(safe-area-inset-top));
  }
}

/* Touch tap targets min 44px */
.nav-links a,
.nav-cta,
.btn-primary,
.btn-ghost,
.module-card,
.module-nav-btn { min-height: 44px; }

/* ──────────────────────────────
   RESPONSIVE — 1200px
────────────────────────────── */
@media (max-width: 1200px) {
  .hero { padding: 140px 32px 80px; }
  .hero-stats { right: 32px; }
  .section { padding: 100px 32px; }
  .stats-bar { padding: 60px 32px; }
  .lessons-section { padding: 72px 32px; }
  .concepts-section { padding: 0 32px 72px; }
  .module-page-hero { padding: 120px 32px 56px; }
  .module-nav { padding: 44px 32px; max-width: 100%; }
  footer { padding: 44px 32px; }
}

/* ──────────────────────────────
   RESPONSIVE — 1024px
────────────────────────────── */
@media (max-width: 1024px) {
  .method-layout { grid-template-columns: 1fr; gap: 56px; }
  .method-visual {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero-stats {
    position: static;
    flex-direction: row;
    gap: 40px;
    margin-top: 48px;
    opacity: 1;
    flex-wrap: wrap;
  }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module-page-num { font-size: 80px; }
}

/* ──────────────────────────────
   RESPONSIVE — 768px (Tablet)
────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    z-index: 101;
    position: relative;
  }
  .nav-hamburger span { transition: all 0.35s ease; }

  /* Hero */
  .hero {
    padding: 100px 24px 80px;
    min-height: auto;
  }
  .hero-title { font-size: clamp(44px, 11vw, 80px); }
  .hero-sub { font-size: 15px; margin-bottom: 40px; }
  .hero-actions { gap: 14px; }
  .btn-primary, .btn-ghost { padding: 14px 24px; font-size: 11px; }

  .hero-stats {
    position: static;
    flex-direction: row;
    gap: 24px;
    margin-top: 48px;
    opacity: 1;
    flex-wrap: wrap;
  }
  .hero-stat-num { font-size: 28px; }
  .hero-scroll { display: none; }

  /* Sections */
  .section { padding: 72px 24px; }
  .section-header { margin-bottom: 48px; }
  .section-title { font-size: clamp(26px, 6vw, 44px); }

  /* Stats bar */
  .stats-bar { padding: 48px 24px; }
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-num { font-size: 38px; }
  .stat-num .suf { font-size: 22px; }

  /* Modules grid */
  .modules-grid { grid-template-columns: 1fr; }
  .module-card { padding: 28px 24px; }
  .module-card-title { font-size: 19px; }

  /* Method */
  .method-flywheel { max-width: 320px; margin: 0 auto; }
  .flywheel-label { font-size: 9px; }

  /* Tools */
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tool-card { padding: 20px; }

  /* CTA */
  .cta-section { padding: 80px 24px; }
  .cta-title { font-size: clamp(32px, 8vw, 56px); }
  .cta-desc { font-size: 15px; }

  /* Module pages */
  .module-page-hero { padding: 96px 24px 44px; min-height: auto; }
  .module-page-title { font-size: clamp(30px, 8vw, 56px); }
  .module-page-desc { font-size: 15px; }
  .module-page-num { font-size: 64px; right: 24px; }
  .module-back { margin-bottom: 32px; }

  /* Lessons */
  .lessons-section { padding: 56px 24px; }
  .lesson-item {
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding: 24px 0;
    align-items: flex-start;
  }
  .lesson-item::before { left: -24px; right: -24px; }
  .lesson-status { display: none; }
  .lesson-num { font-size: 20px; padding-top: 2px; }
  .lesson-title { font-size: 16px; }
  .lesson-desc { font-size: 13px; }

  /* Concepts */
  .concepts-section { padding: 0 24px 56px; }
  .concepts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .concept-card { padding: 20px; }
  .concept-title { font-size: 14px; }
  .concept-text { font-size: 12px; }

  /* Module nav */
  .module-nav {
    flex-direction: column;
    padding: 36px 24px;
    gap: 12px;
  }
  .module-nav-btn { max-width: 100%; width: 100%; }
  .module-nav-btn.next { margin-left: 0; }

  /* Footer */
  footer {
    padding: 36px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* ──────────────────────────────
   RESPONSIVE — 480px (Mobile S)
────────────────────────────── */
@media (max-width: 480px) {

  /* Nav */
  .nav { padding: 16px 20px; }
  .nav-logo-text { display: none; }

  /* Hero */
  .hero { padding: 88px 20px 72px; }
  .hero-title { font-size: clamp(38px, 13vw, 60px); letter-spacing: -0.025em; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; margin-top: 40px; }
  .hero-stat-num { font-size: 24px; }

  /* Sections */
  .section { padding: 60px 20px; }
  .section-header { margin-bottom: 36px; }

  /* Stats bar */
  .stats-bar { padding: 40px 20px; }
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stat-num { font-size: 32px; }
  .stat-num .suf { font-size: 18px; }
  .stat-label { font-size: 9px; letter-spacing: 0.1em; }

  /* Modules */
  .module-card { padding: 24px 20px; }
  .module-card-title { font-size: 17px; }
  .module-card-desc { font-size: 13px; }

  /* Tools */
  .tools-grid { grid-template-columns: 1fr; gap: 10px; }
  .tool-card { padding: 18px; }

  /* CTA */
  .cta-section { padding: 64px 20px; }

  /* Module pages */
  .module-page-hero { padding: 88px 20px 40px; }
  .module-page-title { font-size: clamp(28px, 10vw, 48px); }
  .module-page-num { display: none; }
  .module-back { font-size: 10px; margin-bottom: 28px; }

  /* Lessons */
  .lessons-section { padding: 48px 20px; }
  .lesson-item {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 20px 0;
  }
  .lesson-item::before { left: -20px; right: -20px; }
  .lesson-num { font-size: 16px; }
  .lesson-title { font-size: 15px; }

  /* Lists in lessons */
  .lesson-content ul { padding-left: 16px; }
  .lesson-content ul li { font-size: 13px !important; }

  /* Concepts */
  .concepts-grid { grid-template-columns: 1fr; gap: 10px; }
  .concepts-section { padding: 0 20px 48px; }

  /* Module nav */
  .module-nav { padding: 28px 20px; }
  .module-nav-btn { padding: 16px 20px; }
  .module-nav-btn-title { font-size: 13px; }

  /* Footer */
  footer { padding: 32px 20px; }
  .footer-links { gap: 12px; }
}

/* ──────────────────────────────
   RESPONSIVE — 360px (Small)
────────────────────────────── */
@media (max-width: 360px) {
  .hero-title { font-size: 34px; }
  .hero { padding: 80px 16px 60px; }
  .section { padding: 52px 16px; }
  .module-page-hero { padding: 80px 16px 36px; }
  .lessons-section { padding: 40px 16px; }
  .concepts-section { padding: 0 16px 40px; }
  .module-nav { padding: 24px 16px; }
  footer { padding: 28px 16px; }
  .stats-bar { padding: 36px 16px; }
}

/* ──────────────────────────────
   PRINT STYLES
────────────────────────────── */
@media print {
  .grain, .cursor, .cursor-ring, .loader,
  .nav-hamburger, .mobile-menu,
  .hero-glow, .hero-grid-bg,
  .hero-scroll, .flywheel-ring { display: none !important; }

  body { background: white; color: black; }
  .hero-title, .section-title, .module-page-title { color: black; }
  .lesson-num { color: #999; }
  .lesson-title { color: black; }
  .lesson-desc, .lesson-content li { color: #444; }
  .concept-title { color: black; }
  .concept-text { color: #444; }
  a { color: inherit; text-decoration: none; }
  .module-nav, footer { border-top: 1px solid #eee; }
}
