/* RepForge — Bold, industrial, monochrome + red accent */

:root {
  --bg: #0d0d0d;
  --bg-alt: #141414;
  --bg-card: #1a1a1a;
  --fg: #f0ede8;
  --fg-muted: #8a857e;
  --accent: #e63946;
  --accent-light: #ff6b73;
  --border: #2a2a2a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Mono', monospace;
  --max-w: 1100px;
  --pad-x: clamp(1.5rem, 5vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ── HERO ── */
.hero {
  padding: clamp(5rem, 12vw, 9rem) var(--pad-x) clamp(4rem, 8vw, 6rem);
  background: var(--bg);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}
.stat {
  padding: 1rem 2rem;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}
.stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 100%;
  background: var(--border);
  flex-shrink: 0;
}

/* ── WHAT IT DOES ── */
.what-it-does {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-eyebrow {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-lede {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 480px;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  align-items: stretch;
}
.workflow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.step-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-body p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  padding: 0 0.5rem;
}

/* ── FEATURES ── */
.features {
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── MANIFESTO ── */
.manifesto {
  background: var(--accent);
  padding: clamp(4rem, 8vw, 6rem) var(--pad-x);
}
.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
  font-style: normal;
}
.manifesto-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.7;
}

/* ── PRICING ── */
.pricing {
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  background: var(--bg-alt);
}
.pricing-card {
  max-width: 480px;
  margin: 2.5rem 0 0;
}
.pricing-tier {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  background: var(--bg-card);
}
.tier-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 2rem;
}
.tier-period {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.tier-features li {
  font-size: 0.9rem;
  color: var(--fg);
  padding-left: 1.5rem;
  position: relative;
}
.tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.tier-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.pricing-contrast {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-contrast p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.pricing-contrast strong {
  color: var(--fg);
}

/* ── CLOSING ── */
.closing {
  padding: clamp(5rem, 10vw, 8rem) var(--pad-x);
  background: var(--bg);
  text-align: center;
}
.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.closing-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem var(--pad-x);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
  max-width: 280px;
}
.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.footer-links a {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--fg-muted);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  .workflow-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    width: 100%;
  }
  .stat-divider {
    width: 100%;
    height: 1px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .pricing-tier {
    padding: 1.5rem;
  }
}