:root {
  --bg: #0e0e0f;
  --surface: #18181b;
  --surface2: #232328;
  --fg: #fafafa;
  --fg-muted: #71717a;
  --fg-subtle: #3f3f46;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --green: #22c55e;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 40px;
  background: rgba(14, 14, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fg-subtle);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.nav-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 2px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(42px, 5vw, 64px);
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-text h1 em {
  color: var(--accent);
  font-style: normal;
}
.lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.online-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.online-label {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Code window */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.code-window {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--fg-subtle);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--fg-subtle);
  background: var(--surface2);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.file-name {
  margin-left: 12px;
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.code-body {
  padding: 20px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #a1a1aa;
}
.c-dim { color: #52525b; }
.c-keyword { color: #c084fc; }
.c-var { color: #67e8f9; }
.c-str { color: #86efac; }
.c-op { color: #f4f4f5; }
.c-comment { color: #52525b; font-style: italic; }
.c-fn { color: #fcd34d; }

/* Fix shipping */
.fix-shipping {
  background: var(--surface);
  border: 1px solid var(--fg-subtle);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fix-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
}
.fix-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* HOW */
.how {
  padding: 100px 40px;
  border-top: 1px solid var(--fg-subtle);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  color: var(--fg);
}
.section-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 64px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.6;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* PRICING */
.pricing {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--fg-subtle);
  border-bottom: 1px solid var(--fg-subtle);
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--fg-subtle);
  border-radius: 16px;
  padding: 28px;
}
.price-card.featured {
  border-color: var(--accent);
  position: relative;
}
.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--accent);
  padding: 2px 10px;
  border-radius: 20px;
}
.card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.card-price {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--fg);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.card-eta {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.pricing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feat {
  display: flex;
  gap: 16px;
}
.feat-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.feat strong {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.feat p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* SOUNDS FAMILIAR */
.sounds-familiar {
  padding: 100px 40px;
}
.sf-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sf-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
.sf-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 56px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--fg-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.pain-card:hover {
  border-color: var(--accent);
}
.pain-icon {
  color: var(--fg-muted);
}
.pain-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  border-top: 1px solid var(--fg-subtle);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing-tag {
  font-size: 20px;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(64px, 8vw, 96px);
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1;
}
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.closing-meta {
  font-size: 14px;
  color: var(--fg-subtle);
}

/* FOOTER */
footer {
  padding: 28px 40px;
  border-top: 1px solid var(--fg-subtle);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text h1 { font-size: 36px; }
  .lede { font-size: 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-features { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .how, .pricing, .sounds-familiar, .closing { padding: 72px 20px; }
}
@media (max-width: 480px) {
  .pain-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}