:root {
  --bg: #0b0b10;
  --bg-2: #111118;
  --bg-3: #18181f;
  --fg: #f0ede8;
  --fg-muted: #9a958f;
  --accent: #ff6b35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.1);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.1);
  --border: rgba(240, 237, 232, 0.07);
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* HERO CARD STACK */
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hc {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}
.hc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.hc-1::before { background: var(--accent); }
.hc-2::before { background: var(--green); }
.hc-3::before { background: var(--amber); }
.hc-bar {
  width: 40px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 12px;
}
.hc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}
.hc-row:last-child { border-bottom: none; }
.hc-label { color: var(--fg-muted); }
.hc-val { color: var(--fg); font-weight: 500; }
.hc-val-green { color: var(--green); }
.hc-val-amber { color: var(--amber); }

/* SECTION SHARED */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

/* AUTOMATIONS */
.automations { padding: 100px 48px; }
.automations-inner { max-width: 1200px; margin: 0 auto; }
.auto-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.auto-item {
  background: var(--bg-2);
  padding: 32px 24px;
  transition: background 0.2s;
}
.auto-item:hover { background: var(--bg-3); }
.auto-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.auto-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.auto-item p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* CLIENTS */
.clients {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-inner { max-width: 1200px; margin: 0 auto; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.client-card { }
.client-stat {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.client-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.client-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* MODEL */
.model { padding: 100px 48px; }
.model-inner { max-width: 1200px; margin: 0 auto; }
.model-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.model-divider {
  padding: 0 32px;
  color: var(--border);
}
.model-item { }
.model-step {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.model-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.model-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.model-item p { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.6; }
.model-highlight .model-price { color: var(--green); }
.model-highlight p { color: var(--green); opacity: 0.8; }

/* CLOSING */
.closing { padding: 100px 48px; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-text { max-width: 760px; }
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--fg-muted);
}
.closing-statement strong { color: var(--fg); font-style: normal; }
.closing-rule {
  margin-top: 80px;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  max-width: 200px;
}

/* FOOTER */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.footer-copy { font-size: 0.78rem; color: var(--fg-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .auto-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .model-grid { grid-template-columns: 1fr; gap: 40px; }
  .model-divider { display: none; }
  .nav, .automations, .clients, .model, .closing, .footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 600px) {
  .auto-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; }
}