:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --fg-primary: #f5f5f5;
  --fg-secondary: #a0a0a0;
  --fg-muted: #666666;
  --accent: #ff4d00;
  --accent-glow: rgba(255, 77, 0, 0.15);
  --accent-soft: #ff6b2d;
  --border: #222222;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

/* === NAV === */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span {
  color: var(--accent);
}
.nav-tag {
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  padding: 120px 0 80px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 700px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.4;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* === MOCK TERMINAL === */
.terminal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
  max-width: 640px;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.r { background: #ff5f57; }
.terminal-dot.y { background: #febc2e; }
.terminal-dot.g { background: #28c840; }
.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--fg-secondary);
}
.terminal-body .prompt {
  color: var(--accent);
}
.terminal-body .output {
  color: var(--fg-primary);
}
.terminal-body .warn {
  color: #febc2e;
}
.terminal-body .fail {
  color: #ff5f57;
}
.terminal-body .pass {
  color: #28c840;
}

/* === HOW IT WORKS === */
.how-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.how-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step {
  position: relative;
  padding: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.how-step:hover {
  border-color: var(--accent);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}
.how-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* === DIMENSIONS === */
.dimensions-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.dimensions-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.dimensions-intro {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.dim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dim-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.dim-card:hover {
  border-color: var(--accent);
}
.dim-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px;
  font-size: 1.1rem;
}
.dim-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.dim-card p {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 100px 0 60px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.closing h2 em {
  font-style: normal;
  color: var(--accent);
}
.closing p {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.footer-right {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.footer-right a {
  color: var(--fg-secondary);
  text-decoration: none;
}
.footer-right a:hover {
  color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .how-grid { grid-template-columns: 1fr; }
  .dim-grid { grid-template-columns: 1fr; }
  .terminal { max-width: 100%; }
  .footer .container { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .closing h2 { font-size: 1.8rem; }
}