/* MM Editing — same look as the Editing Evolution LP: dark premium,
   blue + light-blue tints, subtle glows. Tokens are copied from
   ~/Developer/Editing-Evolution-LP/styles.css. */

:root {
  --bg: #060a14;
  --bg-alt: #0a1122;
  --panel: #0d1528;
  --panel-hi: #111b33;
  --border: rgba(120, 170, 255, 0.14);
  --border-hi: rgba(124, 196, 255, 0.4);
  --text: #e8eefc;
  --text-dim: #9aa8c7;
  --text-faint: #6b7a9c;
  --blue: #3b82f6;
  --blue-light: #7cc4ff;
  --green: #4ade80;
  --glow: rgba(80, 150, 255, 0.45);
  --radius: 16px;
  --mono: "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  /* transparent so the galaxy.js fixed starfield canvas shows through */
  background: transparent;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue-light); }
strong { font-weight: 700; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Icons ----------
   Inline SVG sprite in index.html; every icon is a stroked line icon that
   takes its colour from currentColor. */
.i {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Square glowing tile that holds one icon (steps, offer items). */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  border: 1px solid rgba(124, 196, 255, 0.28);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.05));
  color: var(--blue-light);
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 18px rgba(59, 130, 246, 0.15);
}
.icon-tile .i { filter: drop-shadow(0 0 6px rgba(124, 196, 255, 0.5)); }

/* ---------- Type ---------- */
/* Small uppercase label with an icon above every section title. */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-light);
}
.eyebrow .i { font-size: 15px; filter: drop-shadow(0 0 6px var(--glow)); }
.eyebrow-hero {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid rgba(124, 196, 255, 0.3);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  color: #dbeaff;
  letter-spacing: 0.16em;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
}
.eyebrow-hero .i { color: var(--blue-light); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 16px;
  text-wrap: balance;
}
/* Sections without a subline still need air between title and content. */
.section-title + :not(.section-sub) { margin-top: 44px; }
.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 52px;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 14px;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.btn .i { font-size: 0.9em; stroke-width: 2.5; transition: transform 0.2s ease; }
.btn:hover .i { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  box-shadow: 0 0 24px rgba(80, 150, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55) 50%, transparent);
  transform: translateX(-130%) skewX(-20deg);
  animation: btn-sheen 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-sheen {
  0% { transform: translateX(-130%) skewX(-20deg); }
  45%, 100% { transform: translateX(320%) skewX(-20deg); }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(110, 180, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.btn-lg { padding: 19px 40px; font-size: 1.25rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 64px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.18), transparent 70%);
}
.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 920px;
  margin: 28px auto 0;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 620px;
  margin: 26px auto 40px;
  text-wrap: balance;
}
.hero-sub strong { color: var(--text); }
.glow-text {
  color: var(--blue-light);
  text-shadow: 0 0 24px var(--glow);
}
.hero-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.hero-note strong { color: var(--text); }
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: dot-pulse 1.6s ease-in-out infinite;
}
@keyframes dot-pulse { 50% { opacity: 0.35; } }

/* ---------- Proof bar ---------- */
.stats { padding: 8px 0 20px; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
}
.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 20px 22px;
  background: rgba(13, 21, 40, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat-icon {
  grid-row: span 2;
  font-size: 26px;
  color: var(--blue-light);
  filter: drop-shadow(0 0 8px var(--glow));
}
.stat strong {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--text-dim); font-size: 0.86rem; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }

/* ---------- Examples (silent client-work loops) ---------- */
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.example {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.example:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 196, 255, 0.45);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}
.example video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.example figcaption { padding: 14px 16px 16px; }
.example strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.example span { display: block; margin-top: 2px; color: var(--text-dim); font-size: 0.9rem; line-height: 1.45; }
/* One group per use case: podcasts, Shorts, talking heads, motion graphics.
   The title runs into a thin rule so each group reads as its own chapter. */
.example-group { margin-top: 44px; }
.example-group:first-child { margin-top: 0; }
.example-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.example-group-title .i {
  font-size: 20px;
  color: var(--blue-light);
  filter: drop-shadow(0 0 6px var(--glow));
}
.example-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-hi), transparent);
}
.examples-2 { grid-template-columns: repeat(2, 1fr); }
.examples-shorts { grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; }
.example-vertical video { aspect-ratio: 9 / 16; }

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: none;
}
.steps li {
  position: relative;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.steps li:hover {
  border-color: var(--border-hi);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.14);
}
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.steps h3 { font-size: 1.12rem; letter-spacing: -0.01em; margin: 18px 0 6px; }
.steps p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }

/* ---------- Who it's for ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.fit-card {
  padding: 28px 28px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fit-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.fit-card h3 .i { font-size: 22px; }
.fit-card ul { list-style: none; }
.fit-card li { display: flex; gap: 12px; padding: 7px 0; }
.fit-card li .i { margin-top: 4px; font-size: 17px; }
.fit-yes { border-color: rgba(124, 196, 255, 0.35); box-shadow: 0 0 30px rgba(59, 130, 246, 0.12); }
.fit-yes .i { color: var(--blue-light); filter: drop-shadow(0 0 6px var(--glow)); }
.fit-yes li .i { stroke-width: 3; }
.fit-no { background: rgba(13, 21, 40, 0.55); }
.fit-no h3 { color: var(--text-dim); }
.fit-no .i { color: var(--text-faint); }
.fit-no li { color: var(--text-dim); }

/* ---------- Offer ---------- */
.offer-card {
  max-width: 740px;
  margin: 0 auto;
  padding: 36px;
  text-align: center;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  border: 1px solid rgba(124, 196, 255, 0.35);
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.18);
}
.stack-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-light);
}
.stack-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-hi), transparent);
}
.offer-list { list-style: none; margin: 10px 0 28px; text-align: left; }
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.offer-list li:last-child { border-bottom: none; }
.offer-list strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.offer-list span { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }
.offer-bonuses .icon-tile {
  border-color: rgba(74, 222, 128, 0.3);
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.18), rgba(74, 222, 128, 0.04));
  color: var(--green);
}
.offer-bonuses .icon-tile .i { filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.5)); }
.stack-tag {
  margin-left: 10px;
  padding: 2px 10px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 2px;
  white-space: nowrap;
}
.spots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.spots p { margin-left: 8px; }
.spots strong { color: var(--text); }
.spot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* ---------- FAQ ---------- */
.faq { max-width: 740px; margin: 0 auto; }
.faq details {
  margin-bottom: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--border-hi); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i {
  font-size: 20px;
  color: var(--blue-light);
  transition: transform 0.25s ease;
}
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-dim); line-height: 1.6; }

/* ---------- Book ---------- */
.book-inner { max-width: 760px; }
.book-embed {
  overflow: hidden;
  border: 1px solid rgba(124, 196, 255, 0.35);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}
.book-embed iframe { display: block; width: 100%; height: 720px; border: 0; }
.book-fallback { margin-top: 14px; text-align: center; color: var(--text-dim); font-size: 0.95rem; }
@media (max-width: 620px) {
  .book-embed iframe { height: 900px; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
}
.footer-social-link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--blue-light);
  border-color: rgba(124, 196, 255, 0.48);
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 18px rgba(110, 180, 255, 0.18);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: 1fr; }
  .examples { grid-template-columns: repeat(2, 1fr); }
  .examples-shorts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 40px; }
  .eyebrow-hero { font-size: 0.68rem; letter-spacing: 0.1em; }
  .hero-note { font-size: 0.85rem; text-align: left; }
  .stats-inner { gap: 8px; }
  .stat { grid-template-columns: 1fr; text-align: center; padding: 14px 6px; justify-items: center; }
  .stat-icon { grid-row: auto; font-size: 20px; margin-bottom: 6px; }
  .stat strong { font-size: 1.3rem; }
  .stat span { font-size: 0.72rem; }
  .examples, .examples-2, .steps { grid-template-columns: 1fr; }
  .examples-shorts { grid-template-columns: repeat(2, 1fr); }
  .offer-card { padding: 26px 18px; }
  .stack-tag { display: inline-block; margin: 4px 0 0; }
  .btn-lg { padding: 17px 32px; font-size: 1.12rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .i, .example { transition: none; }
  .btn-primary::after { animation: none; opacity: 0; }
  .pulse-dot { animation: none; }
}
