:root {
  --bg: #050505;
  --fg: #f0ede8;
  --fg-muted: #8a8580;
  --accent: #00e87a;
  --accent-dim: rgba(0, 232, 122, 0.12);
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #252525;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { 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-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.wordmark-primary {
  font-size: 1.4rem;
  color: var(--accent);
}

.wordmark-secondary {
  font-size: 1.4rem;
  color: var(--fg);
}

.header-nav .nav-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: 8rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,232,122,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,232,122,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 30%;
  right: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,232,122,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.hero-headline .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.7;
}

/* Machine art */
.hero-machine-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.machine-frame {
  width: 260px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,232,122,0.15),
    0 30px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(0,232,122,0.08);
}

.machine-screen {
  background: #030a05;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.screen-content { display: flex; flex-direction: column; gap: 1rem; }

.scan-line {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-align: center;
  background: var(--accent-dim);
  padding: 0.4rem;
  border-radius: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.p-slot {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border: 1px solid #222;
  border-radius: 4px;
  position: relative;
}

.p-slot::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg, rgba(0,232,122,0.1) 0%, transparent 60%);
  border-radius: 2px;
}

.screen-footer {
  display: flex;
  justify-content: center;
}

.payment-icons {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(0,232,122,0.5);
  letter-spacing: 0.1em;
}

.machine-base {
  height: 18px;
  background: linear-gradient(to bottom, #111 0%, #080808 100%);
  border-top: 1px solid #222;
}

.machine-reflection {
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(0,232,122,0.08) 0%, transparent 70%);
  margin-top: -10px;
  filter: blur(8px);
}

/* ── Stats ── */
.stats-section {
  padding: 4rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-block { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--accent);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ── Section commons ── */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-eyebrow.light { color: rgba(0,232,122,0.7); }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 2.5rem;
}

.section-headline.light { color: #f0ede8; }

/* ── How It Works ── */
.how-section {
  padding: 7rem 2.5rem;
}

.how-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.step-card {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-right: 1px solid var(--border);
}

.step-card:last-child { border-right: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Machine Section ── */
.machine-section {
  padding: 7rem 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.machine-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Spec card */
.spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.spec-header {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--accent-dim);
  color: var(--accent);
}

.spec-specs { padding: 1.25rem 1.75rem; }

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-row span:first-child {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.spec-row span:last-child {
  color: var(--fg);
  font-weight: 500;
}

.spec-price {
  padding: 1rem 1.75rem;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ── Compliance ── */
.compliance-section {
  padding: 7rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.compliance-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,232,122,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0,232,122,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.compliance-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.compliance-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.compliance-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.compliance-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.compliance-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0,232,122,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.compliance-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.15rem;
}

.compliance-item p {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── Closing ── */
.closing-section {
  padding: 8rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,232,122,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.closing-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

.closing-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  line-height: 2;
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}

.footer-brand .wordmark { margin-bottom: 0.75rem; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  text-transform: uppercase;
  line-height: 2;
}

.footer-legal {
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    text-align: center;
  }

  .hero-sub { margin: 0 auto; }

  .hero-machine-art { display: none; }

  .stats-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .stat-divider { display: none; }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card { border-right: none; border-bottom: 1px solid var(--border); }
  .step-card:last-child { border-bottom: none; }

  .machine-inner,
  .compliance-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta { text-align: left; }
}

@media (max-width: 480px) {
  .site-header { padding: 1rem 1.25rem; }

  .hero { padding: 6rem 1.25rem 4rem; }

  .how-section,
  .machine-section,
  .compliance-section,
  .closing-section {
    padding: 5rem 1.25rem;
  }

  .stats-section { padding: 3rem 1.25rem; }

  .section-headline { font-size: 2.2rem; }
  .closing-headline { font-size: 2.5rem; }
}