/* ========================================
   SHIPKIT V2 — Two Packages Design System
   ======================================== */

/* ===========================================
   ROUNDED MODE — Delete this block to revert
   =========================================== */
.package-card { border-radius: 12px; }
.pricing-card { border-radius: 12px; }
.founder-card { border-radius: 12px; }
.marquee-card { border-radius: 10px; }
.hero-video { border-radius: 12px; }
.video-frame { border-radius: 12px; }
/* =========== END ROUNDED MODE ============ */

/* Slightly rounded buttons */
.btn { border-radius: 6px; }

/* Consistent subtle shadows */
.how-it-works-card,
.pricing-card,
.package-card,
.founder-card,
.hero-video,
.video-frame,
.marquee-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

:root.light .how-it-works-card,
:root.light .pricing-card,
:root.light .package-card,
:root.light .founder-card,
:root.light .hero-video,
:root.light .video-frame,
:root.light .marquee-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

html {
  font-size: 90%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========================================
   Dashed Grid Background
   ======================================== */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image:
    repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px),
    repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px),
    radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
  mask-image:
    repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px),
    repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px),
    radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

:root.light .grid-bg {
  background-image:
    linear-gradient(to right, #e7e5e4 1px, transparent 1px),
    linear-gradient(to bottom, #e7e5e4 1px, transparent 1px);
}

/* ========================================
   Custom Properties
   ======================================== */
:root {
  --color-bg: #0d1117;
  --color-text: #f0f0f0;
  --color-body: rgba(255,255,255,0.55);
  --color-label: rgba(255,255,255,0.35);
  --color-border: rgba(255,255,255,0.1);
  --color-white: #f0f0f0;
  --color-card-bg: rgba(255,255,255,0.03);
  --color-nav-scrolled: rgba(13, 17, 23, 0.9);
  --color-dot: rgba(255,255,255,0.2);

  /* Black brand */
  --color-brand: #f0f0f0;
  --color-brand-btn-bg: #f0f0f0;
  --color-brand-btn-text: #0d1117;

  /* Package colors */
  --color-build: #1451AA;
  --color-build-subtle: rgba(20, 81, 170, 0.15);
  --color-build-border: rgba(20, 81, 170, 0.35);
  --color-grow: #0f7a3f;
  --color-grow-subtle: rgba(15, 122, 63, 0.15);
  --color-grow-border: rgba(15, 122, 63, 0.35);
  --color-bundle-bg: #f0f0f0;
  --color-bundle-text: #0d1117;

  --font-sans: 'Geist', -apple-system, sans-serif;
  --font-heading: 'Geist', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1440px;
  --section-padding: 120px 0;
  --border: 1px solid var(--color-border);
}

:root.light {
  --color-bg: #F7F7F3;
  --color-text: #141414;
  --color-body: #444343;
  --color-label: #7A7A7A;
  --color-border: #C7C7C7;
  --color-white: #FAFAF8;
  --color-card-bg: rgba(0,0,0,0.03);
  --color-nav-scrolled: rgba(227, 226, 222, 0.9);
  --color-dot: #C7C7C7;

  --color-brand: #141414;
  --color-brand-btn-bg: #141414;
  --color-brand-btn-text: #FAFAF8;

  --color-build: #1451AA;
  --color-build-subtle: rgba(20, 81, 170, 0.08);
  --color-build-border: rgba(20, 81, 170, 0.2);
  --color-grow: #0f7a3f;
  --color-grow-subtle: rgba(15, 122, 63, 0.08);
  --color-grow-border: rgba(15, 122, 63, 0.2);
  --color-bundle-bg: #141414;
  --color-bundle-text: #FAFAF8;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

main {
  position: relative;
  z-index: 1;
}

/* ========================================
   Typography
   ======================================== */
.label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-label);
}

.label--build {
  color: var(--color-build);
}

.label--grow {
  color: var(--color-grow);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-body) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-line {
  display: block;
}

.rotating-word-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  height: 1em;
  transition: width 0.4s ease;
}

.rotating-word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  -webkit-text-fill-color: var(--color-text);
}

.rotating-word.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-body) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 8px;
}

.section-headline span {
  display: block;
}

.section-body {
  margin-top: 40px;
  max-width: 640px;
}

.section-body p {
  color: var(--color-body);
  margin-bottom: 20px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.solution-list {
  list-style: none;
  margin-bottom: 20px;
}

.solution-list li {
  color: var(--color-body);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.solution-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-label);
}

code {
  font-family: var(--font-mono);
  font-size: 0.95em;
  background: var(--color-card-bg);
  padding: 2px 6px;
}

code.build {
  background: var(--color-build);
  color: #f0f0f0;
}

code.grow {
  background: var(--color-grow);
  color: #f0f0f0;
}

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.section-meta {
  margin-bottom: 8px;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  background: var(--color-bg);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--color-nav-scrolled);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-brand--command {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 6px 14px;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-label);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link--build:hover {
  color: var(--color-build);
}

.nav-link--grow:hover {
  color: var(--color-grow);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-label);
  transition: color 0.3s ease;
}

.theme-toggle:hover {
  color: var(--color-text);
}

.theme-icon--sun { display: flex; }
.theme-icon--moon { display: none; }
:root.light .theme-icon--sun { display: none; }
:root.light .theme-icon--moon { display: flex; }

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  transition: opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  opacity: 0.85;
}

/* Brand button — black/white */
.btn-brand {
  background: var(--color-brand-btn-bg);
  color: var(--color-brand-btn-text);
}

.btn-brand::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0) 70%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

:root.light .btn-brand::after {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
}

/* Build button — blue */
.btn-build {
  background: var(--color-build);
  color: #f0f0f0;
}

.btn-build::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

/* Grow button — green */
.btn-grow {
  background: var(--color-grow);
  color: #f0f0f0;
}

.btn-grow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

.btn-lg {
  font-size: 1rem;
  padding: 18px 40px;
}

.text-link {
  color: var(--color-brand);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: opacity 0.3s ease;
}

.text-link:hover {
  opacity: 0.7;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding: 80px 0 40px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Centered hero layout */
.hero--centered {
  text-align: center;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--centered .label {
  display: block;
  margin-bottom: 24px;
}

.hero-headline {
  margin-bottom: 32px;
}

.hero-content {
  max-width: 680px;
}

.hero-sub {
  margin-bottom: 32px;
  color: var(--color-body);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* Hero Video */
.hero-video-wrap {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: var(--border);
  border-radius: 12px;
  background: var(--color-card-bg);
  overflow: hidden;
}

.hero-video {
  position: relative;
  cursor: pointer;
}

.hero-video video {
  width: 100%;
  display: block;
}

/* Play button overlay */
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.hero-play-btn svg {
  margin-left: 3px;
}

.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.8);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  z-index: 1;
}

.video-modal-content video {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.video-modal-close:hover {
  color: #fff;
}

/* ========================================
   Works With
   ======================================== */
.works-with {
  padding: 0 0 80px;
  text-align: center;
}

.works-with-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-label);
  margin-bottom: 40px;
}

.works-with-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.works-with-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-label);
  transition: color 0.3s ease;
}

.works-with-logo:hover {
  color: var(--color-text);
}

.works-with-logo span {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ========================================
   Story / Problem section
   ======================================== */
.story {
  padding: var(--section-padding);
}

.story > .container > .label {
  display: block;
}

/* ========================================
   Split Section
   ======================================== */
.split-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-section--reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
  min-width: 0;
}

.split-image {
  flex: 1;
  min-width: 0;
}

.image-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: var(--border);
  background: var(--color-card-bg);
  overflow: hidden;
}

.image-frame img,
.image-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-player {
  width: 100%;
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  position: relative;
}

.video-frame .solution-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.video-frame .solution-vid.active {
  opacity: 1;
  pointer-events: auto;
}

/* Video tabs / progress indicators */
.video-tabs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.video-tab {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0 4px;
  text-align: left;
}

.video-tab-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--color-label);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.video-tab.active .video-tab-label {
  color: var(--color-text);
}

.video-tab.done .video-tab-label {
  color: var(--color-label);
}

.video-tab-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

:root.light .video-tab-track {
  background: rgba(0, 0, 0, 0.1);
}

.video-tab-progress {
  height: 100%;
  width: 0%;
  background: var(--color-text);
  border-radius: 2px;
  transition: none;
}

.video-tab.done .video-tab-progress {
  width: 100%;
}

/* ========================================
   Packages Overview
   ======================================== */
.packages-overview {
  padding: 0 0 120px;
}

.packages-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 0;
}

.package-card {
  border: var(--border);
  padding: 48px;
  background: var(--color-card-bg);
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.package-card--build {
  border-color: var(--color-build-border);
  background: linear-gradient(160deg, var(--color-build-subtle) 0%, transparent 60%), var(--color-bg);
}

.package-card--build:hover {
  border-color: var(--color-build);
}

.package-card--grow {
  border-color: var(--color-grow-border);
  background: linear-gradient(160deg, var(--color-grow-subtle) 0%, transparent 60%), var(--color-bg);
}

.package-card--grow:hover {
  border-color: var(--color-grow);
}

.package-card-label {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  margin-bottom: 24px;
}

.package-card--build .package-card-label {
  background: var(--color-build-subtle);
  color: var(--color-build);
}

.package-card--grow .package-card-label {
  background: var(--color-grow-subtle);
  color: var(--color-grow);
}

.package-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.package-card-desc {
  color: var(--color-body);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.package-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.package-card-skill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  color: var(--color-label);
}

.package-card--build .package-card-skill {
  background: var(--color-build);
  border-color: var(--color-build);
  color: #f0f0f0;
}

.package-card--grow .package-card-skill {
  background: var(--color-grow);
  border-color: var(--color-grow);
  color: #f0f0f0;
}

.package-card-count {
  font-size: 0.875rem;
  color: var(--color-label);
  font-weight: 600;
  flex: 1;
}

.package-card .btn {
  align-self: flex-end;
}

/* ========================================
   Big Numbers
   ======================================== */
.big-numbers {
  padding: var(--section-padding);
}

.big-numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border);
  border-bottom: var(--border);
}

.big-number-block {
  padding: 48px 40px;
  text-align: center;
  border-right: var(--border);
}

.big-number-block:last-child {
  border-right: none;
}

.big-number-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 12px;
}

.big-number-label {
  display: block;
  font-size: 1rem;
  color: var(--color-label);
  font-weight: 600;
}

@media (max-width: 768px) {
  .big-numbers-grid {
    grid-template-columns: 1fr;
  }

  .big-number-block {
    padding: 32px 24px;
    border-right: none;
    border-bottom: var(--border);
  }

  .big-number-block:last-child {
    border-bottom: none;
  }
}

/* ========================================
   Gold Rush / Tweet Cards
   ======================================== */
.gold-rush {
  padding: var(--section-padding);
  overflow: hidden;
}

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

.tweet-embeds blockquote {
  margin: 0 !important;
}

.tweet-embeds .twitter-tweet-rendered {
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .tweet-embeds {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tweet-embeds {
    grid-template-columns: 1fr;
  }
}

.tweet-card {
  flex: 0 0 320px;
  border: var(--border);
  border-radius: 12px;
  padding: 20px;
  background: linear-gradient(160deg, rgba(240, 240, 240, 0.08) 0%, transparent 60%), var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

:root.light .tweet-card {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.06) 0%, transparent 60%), var(--color-bg);
}

.tweet-card:hover {
  border-color: var(--color-label);
}

.tweet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tweet-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tweet-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-label);
  flex-shrink: 0;
}

.tweet-card-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.tweet-card-verified {
  width: 16px;
  height: 16px;
  fill: #1d9bf0;
  flex-shrink: 0;
}

.tweet-card-handle {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-label);
  margin-top: 1px;
}

.tweet-card-x {
  width: 18px;
  height: 18px;
  fill: var(--color-label);
  flex-shrink: 0;
  margin-top: 2px;
  transition: fill 0.3s linear;
}

.tweet-card:hover .tweet-card-x {
  fill: var(--color-text);
}

.tweet-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-body);
}

/* ========================================
   Code Comparison (unused)
   ======================================== */
.code-compare {
  padding: var(--section-padding);
}

.code-compare-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  border: var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #0a0e14;
}

:root.light .code-compare-box {
  background: #1e1e2e;
}

.code-compare-side {
  display: flex;
  flex-direction: column;
}

.code-compare-side--before {
  border-right: 1px solid rgba(255,255,255,0.08);
}

.code-compare-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.code-compare-tag {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
}

.code-compare-tag--before {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
}

.code-compare-tag--after {
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
}

.code-compare-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.code-compare-body code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #e0e0e0;
  background: none;
  padding: 0;
  display: block;
  min-height: 1.8em;
}

.code-prompt {
  color: rgba(255,255,255,0.5);
  margin-right: 8px;
}

.code-dim {
  color: rgba(255,255,255,0.35);
}

.code-build {
  color: #60a5fa;
  font-weight: 700;
}

.code-grow {
  color: #34d399;
  font-weight: 700;
}

.code-red {
  color: #f87171;
  font-weight: 700;
}

.code-green {
  color: #34d399;
  font-weight: 700;
}

.code-compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .code-compare-box {
    grid-template-columns: 1fr;
  }

  .code-compare-side--before {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .code-compare-vs {
    width: 100%;
    height: 40px;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* ========================================
   Knowledge Funnel
   ======================================== */
.knowledge-section {
  padding: var(--section-padding);
}

.knowledge-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.knowledge-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
}

.knowledge-pill {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 10px 20px;
  border: var(--border);
  background: var(--color-bg);
  white-space: nowrap;
}

.knowledge-arrows-row {
  width: 100%;
  max-width: 800px;
  color: var(--color-border);
}

.knowledge-arrows-svg {
  width: 100%;
  height: 60px;
  display: block;
}

.knowledge-arrows-row--bottom {
  transform: scaleY(1);
}

.knowledge-target {
  padding: 14px 32px;
  background: var(--color-text);
  color: var(--color-bg);
}

.knowledge-target-label {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
}

/* ========================================
   Disciplines Funnel (unused)
   ======================================== */
.funnel-section {
  padding: var(--section-padding);
}

.funnel {
  max-width: 900px;
  margin: 0 auto;
}

.funnel-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 2;
}

.funnel-label {
  position: absolute;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  animation: funnel-bob 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes funnel-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.funnel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--color-border);
  z-index: 1;
}

.funnel-target {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 32px;
  background: var(--color-text);
  color: var(--color-bg);
  z-index: 2;
}

.funnel-target-label {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
}

/* ========================================
   Testimonials Marquee
   ======================================== */
.testimonials-marquee {
  padding: 40px 0 120px;
  overflow: hidden;
}

.marquee-wrap {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 60s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

.marquee-card {
  flex: 0 0 320px;
  border: var(--border);
  padding: 24px;
  background: linear-gradient(160deg, rgba(240, 240, 240, 0.08) 0%, transparent 60%), var(--color-bg);
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

:root.light .marquee-card {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.06) 0%, transparent 60%), var(--color-bg);
}

.marquee-card:hover {
  border-color: var(--color-label);
}

.marquee-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.marquee-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.marquee-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

.marquee-handle {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-label);
}

.marquee-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
}

.marquee-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-body);
  flex: 1;
}

/* Fade edges */
.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
  z-index: 2;
}

.marquee-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.marquee-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

/* ========================================
   Features with Hover Effects
   ======================================== */
.features-hover {
  padding: var(--section-padding);
}

.features-hover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-hover-item {
  position: relative;
  padding: 40px;
  border-right: var(--border);
}

.feature-hover-item:nth-child(4),
.feature-hover-item:nth-child(8) {
  border-right: none;
}

.feature-hover-item:nth-child(-n+4) {
  border-bottom: var(--border);
}

.feature-hover-item:nth-child(1),
.feature-hover-item:nth-child(5) {
  border-left: var(--border);
}

/* Hover gradient overlay */
.feature-hover-item::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.feature-hover-item:nth-child(-n+4)::before {
  background: linear-gradient(to top, var(--color-card-bg), transparent);
}

.feature-hover-item:nth-child(n+5)::before {
  background: linear-gradient(to bottom, var(--color-card-bg), transparent);
}

:root.light .feature-hover-item:nth-child(-n+4)::before {
  background: linear-gradient(to top, rgba(0,0,0,0.04), transparent);
}

:root.light .feature-hover-item:nth-child(n+5)::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.04), transparent);
}

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

.feature-hover-icon {
  position: relative;
  z-index: 1;
  color: var(--color-label);
  margin-bottom: 20px;
}

.feature-hover-title {
  position: relative;
  z-index: 1;
  padding-left: 24px;
  margin-bottom: 10px;
}

/* Accent bar */
.feature-hover-bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--color-border);
  border-radius: 0 2px 2px 0;
  transition: height 0.2s ease, background 0.2s ease;
}

.feature-hover-item:hover .feature-hover-bar {
  height: 28px;
  background: var(--color-build);
}

.feature-hover-title span {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  transition: transform 0.2s ease;
}

.feature-hover-item:hover .feature-hover-title span {
  transform: translateX(6px);
}

.feature-hover-item p {
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-label);
  padding-left: 24px;
  max-width: 280px;
}

/* ========================================
   App Showcase — Fan Layout
   ======================================== */
.app-showcase {
  padding: var(--section-padding);
  overflow: hidden;
}

.app-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 620px;
  padding-bottom: 40px;
}

.app-fan-card {
  width: 260px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: absolute;
  transform-origin: bottom center;
}

.app-fan-card[style*="--fan-index: 0"] { transform: rotate(-16deg) translateX(-340px); z-index: 1; }
.app-fan-card[style*="--fan-index: 1"] { transform: rotate(-8deg) translateX(-170px); z-index: 2; }
.app-fan-card[style*="--fan-index: 2"] { transform: rotate(0deg) translateX(0px); z-index: 3; }
.app-fan-card[style*="--fan-index: 3"] { transform: rotate(8deg) translateX(170px); z-index: 2; }
.app-fan-card[style*="--fan-index: 4"] { transform: rotate(16deg) translateX(340px); z-index: 1; }

@media (max-width: 768px) {
  .app-fan {
    height: 320px;
  }

  .app-fan-card {
    width: 140px;
  }

  .app-fan-card[style*="--fan-index: 0"] { transform: rotate(-16deg) translateX(-180px); }
  .app-fan-card[style*="--fan-index: 1"] { transform: rotate(-8deg) translateX(-90px); }
  .app-fan-card[style*="--fan-index: 2"] { transform: rotate(0deg) translateX(0px); }
  .app-fan-card[style*="--fan-index: 3"] { transform: rotate(8deg) translateX(90px); }
  .app-fan-card[style*="--fan-index: 4"] { transform: rotate(16deg) translateX(180px); }
}

/* ========================================
   Package Detail Sections
   ======================================== */
.package-detail {
  padding: var(--section-padding);
}

.package-detail .section-headline {
  margin-bottom: 0;
}

/* Phase blocks reused for package skills */
.phase-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  border-top: var(--border);
  padding: 60px 0;
}

.phase-block:first-of-type {
  margin-top: 60px;
}

.phase-meta {
  position: sticky;
  top: 120px;
  align-self: start;
}

.phase-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.phase-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

.phase-number--build {
  color: var(--color-build-border);
}

.phase-number--grow {
  color: var(--color-grow-border);
}

.phase-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.phase-desc {
  display: block;
  font-size: 1.25rem;
  color: var(--color-label);
  margin-top: 4px;
}

.skill-card {
  border: var(--border);
  padding: 20px;
  margin-top: -1px;
  margin-left: -1px;
}

#build-package .skill-card {
  background: linear-gradient(160deg, var(--color-build-subtle) 0%, transparent 60%), var(--color-bg);
  border-color: var(--color-build-border);
}

#grow-package .skill-card {
  background: linear-gradient(160deg, var(--color-grow-subtle) 0%, transparent 60%), var(--color-bg);
  border-color: var(--color-grow-border);
}

.skill-name {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.skill-name--build {
  background: var(--color-build);
  color: #f0f0f0;
}

.skill-name--grow {
  background: var(--color-grow);
  color: #f0f0f0;
}

.skill-card p {
  color: var(--color-body);
  font-size: 1rem;
  line-height: 1.55;
}

/* ========================================
   Plug and Play
   ======================================== */
.plug-and-play {
  padding: var(--section-padding);
}

/* Terminal Window */
.terminal-window {
  border: var(--border);
  background: #0a0e14;
  overflow: hidden;
}

:root.light .terminal-window {
  background: #1e1e2e;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot--red { background: #ff5f56; }
.terminal-dot--yellow { background: #ffbd2e; }
.terminal-dot--green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
}

.terminal-body {
  padding: 20px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.terminal-line--output {
  padding-left: 20px;
}

.terminal-prompt {
  color: var(--color-text);
  font-weight: 700;
}

.terminal-command {
  color: #e0e0e0;
}

.terminal-text {
  color: rgba(255,255,255,0.45);
}

.terminal-text--build {
  color: var(--color-build);
}

.terminal-text--grow {
  color: var(--color-grow);
}

.terminal-text--success {
  color: #27c93f;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--color-text);
  animation: blink 1s step-end infinite;
}

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

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  padding: var(--section-padding);
}

.how-it-works-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-it-works-card {
  border: var(--border);
  border-radius: 12px;
  padding: 36px;
  background: linear-gradient(160deg, rgba(240, 240, 240, 0.08) 0%, transparent 60%), var(--color-bg);
}

:root.light .how-it-works-card {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.06) 0%, transparent 60%), var(--color-bg);
}

.fade-up.visible.how-it-works-card,
.how-it-works-card {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease !important;
}

.how-it-works-card:hover {
  border-color: var(--color-label);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 24px;
  border: var(--border);
  color: var(--color-label);
}


.how-it-works-card-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.how-it-works-card p {
  color: var(--color-body);
  font-size: 1.25rem;
  line-height: 1.6;
}

.how-it-works-quote {
  margin-top: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-text);
  border-top: var(--border);
  padding-top: 40px;
}

/* ========================================
   Founder Proof
   ======================================== */
.founder-proof {
  padding: var(--section-padding);
}

.founder-card {
  border: var(--border);
  border-radius: 12px;
  padding: 64px;
  background: linear-gradient(160deg, rgba(240, 240, 240, 0.08) 0%, transparent 60%), var(--color-bg);
}

:root.light .founder-card {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.06) 0%, transparent 60%), var(--color-bg);
}

.founder-top {
  display: flex;
  align-items: center;
  gap: 48px;
}

.founder-image {
  flex-shrink: 0;
  width: 200px;
  overflow: hidden;
  border: var(--border);
  border-radius: 12px;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content {
  flex: 1;
  min-width: 0;
}

.founder-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.founder-body {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-body);
  margin-bottom: 16px;
}

.founder-body:last-of-type {
  margin-bottom: 24px;
}

.founder-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.founder-name {
  font-weight: 700;
  color: var(--color-text);
}

.founder-sep {
  color: var(--color-label);
}

.founder-link {
  font-weight: 700;
  color: var(--color-label);
  transition: color 0.3s ease;
}

.founder-link:hover {
  color: var(--color-text);
}

.founder-graph {
  margin-top: 40px;
  padding-top: 40px;
  border-top: var(--border);
  position: relative;
}

.founder-graph-sticker {
  position: absolute;
  top: 24px;
  right: -16px;
  width: 100px;
  height: 100px;
  transform: rotate(12deg);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.founder-graph > img:first-child {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* ========================================
   Pricing
   ======================================== */
.pricing {
  padding: 120px 0 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  border: var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card--build {
  border-color: var(--color-build-border);
  background: linear-gradient(160deg, var(--color-build-subtle) 0%, transparent 60%), var(--color-bg);
}

.pricing-card--grow {
  border-color: var(--color-grow-border);
  background: linear-gradient(160deg, var(--color-grow-subtle) 0%, transparent 60%), var(--color-bg);
}

.pricing-card--bundle {
  border-color: var(--color-brand);
  background: linear-gradient(160deg, rgba(240, 240, 240, 0.08) 0%, transparent 60%), var(--color-bg);
  position: relative;
}

:root.light .pricing-card--bundle {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.06) 0%, transparent 60%), var(--color-bg);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 48px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  background: var(--color-brand-btn-bg);
  color: var(--color-brand-btn-text);
  transform: translateY(-50%);
}

.pricing-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card-tagline {
  font-size: 0.9375rem;
  color: var(--color-label);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-price--build { color: var(--color-build); }
.pricing-price--grow { color: var(--color-grow); }
.pricing-price--bundle { color: var(--color-text); }

.pricing-note {
  font-size: 0.8125rem;
  color: var(--color-label);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--color-body);
  padding: 6px 0;
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card--build .pricing-features li::before {
  color: var(--color-build);
}

.pricing-card--grow .pricing-features li::before {
  color: var(--color-grow);
}

.pricing-card--bundle .pricing-features li::before {
  color: var(--color-text);
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

.pricing-save {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-grow);
  margin-top: 12px;
  text-align: center;
}

/* ========================================
   Content Sections
   ======================================== */
.solution {
  padding: var(--section-padding);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  border-top: var(--border);
}

.feature-block {
  padding: 40px;
  border-right: var(--border);
}

.feature-block:last-child {
  border-right: none;
}

.feature-block:first-child {
  padding-left: 0;
}

.feature-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 20px;
}

.feature-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  display: block;
  color: var(--color-body);
  font-size: 1.25rem;
  line-height: 1.6;
}

/* ========================================
   Weekend Timeline
   ======================================== */
.timeline-section {
  padding: var(--section-padding);
}

.timeline {
  margin-top: 60px;
}

.timeline-track {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-top: 8px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--color-border);
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
  position: relative;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  background: var(--color-border);
  border-radius: 50%;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-dot--build {
  background: var(--color-build);
}

.timeline-dot--grow {
  background: var(--color-grow);
}

.timeline-dot--final {
  background: var(--color-text);
  box-shadow: 0 0 0 4px rgba(240, 240, 240, 0.15);
}

.timeline-label {
  font-size: 0.625rem;
  color: var(--color-label);
  margin-bottom: 6px;
  white-space: nowrap;
}

.timeline-skill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.timeline-skill--build {
  background: var(--color-build);
  color: #f0f0f0;
}

.timeline-skill--grow {
  background: var(--color-grow);
  color: #f0f0f0;
}

.timeline-desc {
  font-size: 0.6875rem;
  color: var(--color-body);
  line-height: 1.4;
  padding: 0 4px;
}

.timeline-done {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.timeline-footnote {
  margin-top: 40px;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-label);
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: var(--section-padding);
}

.faq-list {
  max-width: 100%;
}

.faq-item {
  border-bottom: var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-label);
}

.faq-toggle {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-label);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  color: var(--color-body);
  font-size: 1.25rem;
  line-height: 1.6;
  padding-bottom: 18px;
  max-width: 800px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* ========================================
   Final CTA
   ======================================== */
.final-cta {
  padding: 140px 0;
}

.final-cta-content {
  max-width: 900px;
}

.final-cta .hero-headline {
  margin-bottom: 24px;
}

.final-cta-sub {
  font-size: 1.25rem;
  color: var(--color-body);
  margin-bottom: 40px;
}

.final-cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.final-cta .btn {
  margin-bottom: 0;
}

.final-cta-note {
  font-size: 0.875rem;
  color: var(--color-label);
  margin-top: 20px;
}

.final-cta-byline {
  font-size: 0.8125rem;
  color: var(--color-label);
  margin-top: 8px;
  font-style: italic;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-label);
}

.footer-brand {
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--color-text);
  font-size: 0.875rem;
}

.footer-contact a {
  color: var(--color-text);
  font-weight: 700;
}

/* ========================================
   Animations
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.phase-skills .skill-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.phase-block.visible .skill-card {
  opacity: 1;
  transform: translateY(0);
}

.phase-block.visible .skill-card:nth-child(1) { transition-delay: 0s; }
.phase-block.visible .skill-card:nth-child(2) { transition-delay: 0.1s; }
.phase-block.visible .skill-card:nth-child(3) { transition-delay: 0.2s; }
.phase-block.visible .skill-card:nth-child(4) { transition-delay: 0.3s; }
.phase-block.visible .skill-card:nth-child(5) { transition-delay: 0.4s; }

/* ========================================
   Blog — Listing Page
   ======================================== */
.blog-header {
  padding: 120px 0 60px;
}

.blog-list {
  padding: 0 0 120px;
}

.blog-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0;
  border-top: var(--border);
  transition: opacity 0.3s ease;
}

.blog-card:last-child {
  border-bottom: var(--border);
}

.blog-card:hover {
  opacity: 0.7;
}

.blog-card-content {
  flex: 1;
  min-width: 0;
}

.blog-card .label {
  margin-bottom: 12px;
  display: block;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.blog-card-desc {
  color: var(--color-body);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 640px;
}

.blog-card-meta {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--color-label);
  font-weight: 600;
}

.blog-card-arrow {
  flex-shrink: 0;
  color: var(--color-label);
  transition: color 0.3s linear, transform 0.3s linear;
}

.blog-card:hover .blog-card-arrow {
  color: var(--color-text);
  transform: translateX(4px);
}

/* ========================================
   Blog — Post Page
   ======================================== */
.blog-post {
  padding: 40px 0 120px;
}

.blog-post .container {
  max-width: 840px;
}

/* Post Header */
.post-back {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-label);
  margin-bottom: 40px;
  transition: color 0.3s ease;
}

.post-back:hover {
  color: var(--color-text);
}

.post-header .label {
  display: block;
  margin-bottom: 16px;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-body) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.post-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--color-body);
  font-weight: 500;
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--color-label);
  font-weight: 600;
  padding-bottom: 60px;
  border-bottom: var(--border);
}

.post-meta-link {
  color: var(--color-text);
  transition: opacity 0.3s ease;
}

.post-meta-link:hover {
  opacity: 0.7;
}

.post-meta-sep {
  color: var(--color-border);
}

/* Post Body */
.post-body {
  padding-top: 60px;
}

.post-body p {
  color: var(--color-body);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.post-body p a {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.post-body p a:hover {
  opacity: 0.7;
}

.post-lead {
  font-size: 1.375rem !important;
  color: var(--color-text) !important;
}

.post-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 80px;
  margin-bottom: 32px;
}

.post-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
}

.post-body h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.post-body ul,
.post-body ol {
  color: var(--color-body);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-body ul {
  list-style: none;
  padding-left: 0;
}

.post-body ul li {
  padding: 4px 0 4px 20px;
  position: relative;
}

.post-body ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--color-label);
}

.post-body ol {
  list-style: decimal;
  padding-left: 24px;
}

.post-body ol li {
  padding: 4px 0;
}

.post-body strong {
  color: var(--color-text);
}

.post-body em {
  font-style: italic;
}

/* Section Titles with colored left borders */
.post-section-title {
  padding-left: 20px;
  border-left: 4px solid var(--color-border);
}

.post-section-title--red {
  border-left-color: #d94848;
}

.post-section-title--blue {
  border-left-color: var(--color-build);
}

.post-section-title--green {
  border-left-color: var(--color-grow);
}

/* Step Headers */
.post-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.post-step-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 4px 10px;
  flex-shrink: 0;
}

.post-step-number--build {
  background: var(--color-build);
  color: #f0f0f0;
}

.post-step-number--grow {
  background: var(--color-grow);
  color: #f0f0f0;
}

/* Callouts */
.post-callout {
  border-left: 4px solid var(--color-border);
  padding: 24px 28px;
  margin: 32px 0;
  background: var(--color-card-bg);
}

.post-callout p {
  font-size: 1.125rem !important;
  margin-bottom: 0 !important;
  color: var(--color-text) !important;
  font-weight: 600;
}

.post-callout--accent {
  border-left-color: var(--color-text);
}

.post-callout--red {
  border-left-color: #d94848;
}

.post-callout--blue {
  border-left-color: var(--color-build);
}

.post-callout--yellow {
  border-left-color: #d4a836;
}

.post-callout--green {
  border-left-color: var(--color-grow);
}

/* Checklist */
.post-checklist {
  list-style: none !important;
  padding-left: 0 !important;
}

.post-checklist li {
  padding-left: 28px !important;
}

.post-checklist li::before {
  content: '\2610' !important;
  font-size: 1rem;
  color: var(--color-label) !important;
}

/* Prompt Compare */
.post-prompt-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.post-prompt {
  padding: 20px 24px;
  border: var(--border);
}

.post-prompt-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.post-prompt--bad {
  border-color: rgba(217, 72, 72, 0.35);
}

.post-prompt--bad .post-prompt-label {
  color: #d94848;
}

.post-prompt--good {
  border-color: rgba(15, 122, 63, 0.35);
}

.post-prompt--good .post-prompt-label {
  color: var(--color-grow);
}

.post-prompt p {
  font-size: 1rem !important;
  margin-bottom: 0 !important;
  font-style: italic;
}

/* Two Column (Ship Ready) */
.post-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.post-col {
  padding: 28px;
  border: var(--border);
}

.post-col h4 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

.post-col ul {
  margin-bottom: 0 !important;
}

.post-col--green {
  border-color: rgba(15, 122, 63, 0.35);
}

.post-col--red {
  border-color: rgba(217, 72, 72, 0.35);
}

/* Post Images */
.post-image-full {
  margin: 32px 0;
  border: var(--border);
  overflow: hidden;
  background: var(--color-card-bg);
}

.post-image-full img {
  width: 100%;
  display: block;
}

/* Cheat Sheet Table */
.post-table-wrap {
  margin: 32px 0;
  overflow-x: auto;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.post-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-label);
  padding: 12px 16px;
  border-bottom: 2px solid var(--color-border);
}

.post-table td {
  padding: 14px 16px;
  border-bottom: var(--border);
  color: var(--color-body);
}

.post-table td:first-child {
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

/* Stats Row */
.post-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0;
  border-top: var(--border);
}

.post-stat {
  padding: 32px 24px;
  border-right: var(--border);
  text-align: center;
}

.post-stat:last-child {
  border-right: none;
}

.post-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.post-stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-label);
  font-weight: 600;
}

/* Sign off */
.post-sign-off {
  margin-top: 60px !important;
  padding-top: 40px;
  border-top: var(--border);
  color: var(--color-label) !important;
  font-size: 1rem !important;
}

/* Code Blocks */
.post-code-block {
  margin: 24px 0;
  padding: 20px 24px;
  background: #0a0e14;
  border: var(--border);
  overflow-x: auto;
}

:root.light .post-code-block {
  background: #1e1e2e;
}

.post-code-block pre {
  margin: 0;
}

.post-code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: #e0e0e0;
  background: none;
  padding: 0;
}

/* Mechanics Grid */
.post-mechanics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 32px 0;
}

.post-mechanic {
  border: var(--border);
  padding: 28px;
  margin-top: -1px;
  margin-left: -1px;
}

.post-mechanic-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-label);
  margin-bottom: 8px;
}

.post-mechanic h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.post-mechanic p {
  font-size: 1rem !important;
  margin-bottom: 0 !important;
}

/* Post CTA */
.post-cta {
  margin-top: 80px;
  padding: 60px;
  border: var(--border);
  background: var(--color-card-bg);
  text-align: center;
}

.post-cta h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.post-cta p {
  color: var(--color-body);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* ========================================
   Responsive — Tablet (1024px)
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 32px;
  }

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

  .feature-hover-item:nth-child(2),
  .feature-hover-item:nth-child(4),
  .feature-hover-item:nth-child(6),
  .feature-hover-item:nth-child(8) {
    border-right: none;
  }

  .feature-hover-item:nth-child(-n+4) {
    border-bottom: var(--border);
  }

  .feature-hover-item:nth-child(5),
  .feature-hover-item:nth-child(6) {
    border-bottom: var(--border);
  }

  .feature-hover-item:nth-child(1),
  .feature-hover-item:nth-child(3),
  .feature-hover-item:nth-child(5),
  .feature-hover-item:nth-child(7) {
    border-left: var(--border);
  }

  .phase-block {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }

  .hero {
    min-height: 70vh;
    padding: 80px 0 100px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .founder-top {
    flex-direction: column;
    gap: 32px;
  }

  .founder-card {
    padding: 40px;
  }

  .founder-image {
    width: 160px;
    height: 160px;
  }

  .post-prompt-compare {
    grid-template-columns: 1fr;
  }

  .post-two-col {
    grid-template-columns: 1fr;
  }

  .post-mechanics-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Responsive — Small Tablet (768px)
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .container {
    padding: 0 24px;
  }

  .features-hover-grid {
    grid-template-columns: 1fr;
  }

  .feature-hover-item {
    border-right: none !important;
    border-left: none !important;
    border-bottom: var(--border);
    padding: 28px 0;
  }

  .feature-hover-item:last-child {
    border-bottom: none;
  }

  .section-grid {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 80px;
  }

  /* Mobile nav */
  .nav-link {
    display: none;
  }

  .nav-right {
    gap: 12px;
  }

  .btn-brand {
    font-size: 0.75rem;
    padding: 10px 16px;
  }

  .hero-video-wrap {
    margin-top: 40px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Solution video full width on mobile */
  .split-image {
    width: 100%;
  }

  .video-frame {
    aspect-ratio: 16 / 9;
  }

  .packages-cards {
    grid-template-columns: 1fr;
  }

  .timeline-track {
    flex-wrap: wrap;
    gap: 16px 0;
  }

  .timeline-track::before {
    display: none;
  }

  .timeline-node {
    flex: 0 0 25%;
  }

  .founder-image {
    width: 120px;
    height: 120px;
  }

  .split-section,
  .split-section--reverse {
    flex-direction: column;
    gap: 40px;
  }

  .how-it-works-cards {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .feature-block {
    padding: 32px 0;
    border-right: none;
    border-bottom: var(--border);
  }

  .feature-block:last-child {
    border-bottom: none;
  }

  .phase-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .phase-meta {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 16px;
  }

  .phase-number {
    font-size: 3rem;
  }

  .phase-skills {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .final-cta {
    padding: 80px 0;
  }

  .final-cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .post-stats {
    grid-template-columns: 1fr;
  }

  .post-stat {
    border-right: none;
    border-bottom: var(--border);
    padding: 24px 0;
  }

  .post-stat:last-child {
    border-bottom: none;
  }

  .post-cta {
    padding: 40px 24px;
  }

  .blog-header {
    padding: 80px 0 40px;
  }
}

/* ========================================
   Responsive — Mobile (480px)
   ======================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .skill-card {
    padding: 24px;
  }

  .package-card {
    padding: 32px;
  }

  .pricing-card {
    padding: 32px;
  }
}
