/* ═══════════════════════════════════════════════════════
   CoreBuild AI — Marketing Site
   Color palette: deep charcoal bg + lime #C8D400 accent
   Type: Cabinet Grotesk (display) + Satoshi (body)
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:          #0d0d0d;
  --color-surface:     #161616;
  --color-surface-2:   #1e1e1e;
  --color-surface-3:   #252525;
  --color-border:      rgba(255,255,255,0.08);
  --color-text:        #f0f0f0;
  --color-text-muted:  #999;
  --color-text-faint:  #555;
  --color-accent:      #C8D400;
  --color-accent-dim:  rgba(200,212,0,0.12);
  --color-accent-glow: rgba(200,212,0,0.20);

  /* Type */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-hero: clamp(2.5rem, 5vw, 3.75rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-hover: 0 2px 8px rgba(0,0,0,0.5), 0 20px 60px rgba(0,0,0,0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

/* ── REVEAL ANIMATIONS ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── TYPOGRAPHY HELPERS ────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

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

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-accent);
  color: #0d0d0d;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: #dde800;
  border-color: #dde800;
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.75rem 1.75rem;
}

/* ── NAVBAR ─────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-svg {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--color-text); }

.nav-login { margin-left: var(--space-4); font-size: var(--text-sm); }
.nav-cta { margin-left: var(--space-2); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-border);
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.nav-mobile a {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.nav-mobile.open { display: block; }

@media (max-width: 767px) {
  .nav-links, .nav-cta, .nav-login { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
  overflow: hidden;
}

/* Subtle grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,212,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,212,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Radial fade over grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(200,212,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  margin-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}

.hero-logo-wrap {
  margin-bottom: var(--space-8);
}
.hero-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  background: rgba(200,212,0,0.08);
  border: 1px solid rgba(200,212,0,0.18);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-6);
}
.hero-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(200,212,0,0.12);
  border: 1px solid rgba(200,212,0,0.25);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  flex-shrink: 0;
}
.hero-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
.hero-logo-ai {
  color: var(--color-accent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-accent-dim);
  border: 1px solid rgba(200,212,0,0.2);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: var(--text-hero);
  max-width: 16ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  line-height: 1.05;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

/* Hero Terminal */
.hero-terminal {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(200,212,0,0.04);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.t-red    { background: #3a3a3a; }
.t-yellow { background: #3a3a3a; }
.t-green  { background: #3a3a3a; }
.t-title {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-left: -30px;
  font-weight: 500;
}

/* Tabs */
.terminal-tabs {
  display: flex;
  gap: 2px;
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.terminal-tabs::-webkit-scrollbar { display: none; }
.t-tab {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.t-tab:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.06);
}
.t-tab.active {
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border-color: rgba(200,212,0,0.2);
}

/* Tab panels — each .terminal-body.t-panel is the full chat body */
.t-panel { display: none !important; }
.t-panel.active { display: flex !important; flex-direction: column; gap: var(--space-4); padding: var(--space-6); }
.msg { max-width: 80%; }
.msg-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}
.msg-customer { align-self: flex-start; }
.msg-ai { align-self: flex-end; text-align: right; }
.msg-ai .msg-label { text-align: right; color: var(--color-accent); }

.msg p {
  display: inline-block;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  line-height: 1.5;
}
.msg-customer p {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.msg-ai p {
  background: var(--color-accent-dim);
  border: 1px solid rgba(200,212,0,0.15);
  color: var(--color-text);
}

.terminal-cursor {
  width: 8px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: blink 1.1s step-end infinite;
  align-self: flex-end;
  margin-top: -8px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── LOGO BELT ───────────────────────────────────────── */
.logobelt {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.logobelt-label {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: var(--space-4);
}
.logobelt-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
/* Industry pills */
.industries-list {
  gap: var(--space-3) var(--space-3);
}
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.industry-pill svg {
  color: var(--color-accent);
  flex-shrink: 0;
}
.industry-pill:hover {
  color: var(--color-text);
  border-color: rgba(200,212,0,0.35);
  background: var(--color-surface-3);
}


/* ── EMPLOYEE KNOWLEDGE SECTION ──────────────────────── */
.employee-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.emp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: center;
}
.emp-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.emp-lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 52ch;
}
.emp-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  list-style: none;
}
.emp-list li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: none;
}
.emp-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  border: 1px solid rgba(200,212,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-top: 2px;
}
.emp-list li strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.emp-list li p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: none;
}

/* Demo card */
.emp-demo {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.emp-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.emp-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.emp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.emp-avatar-new {
  background: var(--color-accent-dim);
  color: var(--color-accent);
  border: 1px solid rgba(200,212,0,0.3);
}
.emp-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}
.emp-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border-radius: var(--radius-full);
  padding: 1px 8px;
  margin-top: 2px;
}
.emp-chat {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.emp-msg {
  font-size: var(--text-sm);
  line-height: 1.55;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  max-width: none;
}
.emp-customer {
  background: var(--color-surface-3);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  font-style: italic;
}
.emp-ai-reply {
  background: rgba(200,212,0,0.07);
  border: 1px solid rgba(200,212,0,0.2);
  color: var(--color-text);
}
.emp-ai-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.emp-card-footer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(200,212,0,0.04);
}

/* Stat row */
.emp-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.emp-stat {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
}
.emp-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}
.emp-stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

@media (max-width: 900px) {
  .emp-inner {
    grid-template-columns: 1fr;
  }
  .emp-text h2 {
    font-size: var(--text-2xl);
  }
}


/* ── SECTION HEADER ─────────────────────────────────── */
.section-header {
  max-width: var(--content-narrow);
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-16));
}
.section-header h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}
.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── FEATURES ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.feat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.feat-card:hover {
  border-color: rgba(200,212,0,0.18);
  box-shadow: var(--shadow-hover);
}

/* Wide card spans all 3 columns and shows content + visual side-by-side */
.feat-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.feat-content { /* left side of wide card — nothing extra needed */ }

.feat-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.feat-card h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.feat-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Accent card */
.feat-accent {
  background: var(--color-accent-dim);
  border-color: rgba(200,212,0,0.18);
}
.feat-accent h3 { color: var(--color-text); }
.feat-pill {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(200,212,0,0.15);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

/* Mini chat visual in the wide card */
.feat-chat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-chat {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  width: 100%;
  max-width: 340px;
}
.mc-msg {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  line-height: 1.45;
  max-width: 90%;
}
.mc-them {
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  align-self: flex-start;
}
.mc-ai {
  background: var(--color-accent-dim);
  border: 1px solid rgba(200,212,0,0.12);
  color: var(--color-text);
  align-self: flex-end;
}
.mc-success {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feat-wide {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
  .feat-chat-visual { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ── HOW IT WORKS ────────────────────────────────────── */
.how {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-6);
  align-items: start;
  padding-block: var(--space-8);
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 2px;
}
.step-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.step-body p {
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 62ch;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.step-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: 999px;
}
.step-line {
  width: 1px;
  height: 24px;
  background: var(--color-border);
  margin-left: 29px;
}

/* ── PRICING ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-10);
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.price-card:hover {
  box-shadow: var(--shadow-hover);
}

/* Featured tier */
.price-featured {
  border-color: rgba(200,212,0,0.3);
  background: linear-gradient(160deg, rgba(200,212,0,0.04) 0%, var(--color-surface) 60%);
  box-shadow: 0 0 0 1px rgba(200,212,0,0.15), var(--shadow-card);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #0d0d0d;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-header { display: flex; flex-direction: column; gap: var(--space-3); }
.price-tier {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.price-featured .price-tier { color: var(--color-accent); }

.price-amount {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.price-dollar {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-muted);
  padding-top: 6px;
}
.price-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.04em;
}
.price-period {
  font-size: var(--text-base);
  color: var(--color-text-faint);
  padding-top: 10px;
  font-weight: 500;
}
.price-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.price-features .feat-off {
  color: var(--color-text-faint);
  text-decoration: line-through;
}
.check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.cross {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-text-faint);
}

.price-card .btn { width: 100%; justify-content: center; }

/* Commission callout box */
.commission-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background: var(--color-surface);
  border: 1px solid rgba(200,212,0,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-6);
}
.commission-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  margin-top: 2px;
}
.commission-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.commission-box p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 72ch;
}
@media (max-width: 600px) {
  .commission-box { flex-direction: column; gap: var(--space-4); }
}

.pricing-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  max-width: 65ch;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: var(--content-narrow);
    margin-inline: auto;
  }
  .price-featured { order: -1; }
}

/* ── ONBOARDING ─────────────────────────────────────── */
.onboarding {
  background: var(--color-bg);
}
.ob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.ob-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.ob-card:hover {
  border-color: rgba(200,212,0,0.18);
  box-shadow: var(--shadow-hover);
}
.ob-day {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border: 1px solid rgba(200,212,0,0.18);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  width: fit-content;
}
.ob-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.ob-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.ob-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}
.ob-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}
.ob-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.ob-checklist li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.7;
}

/* Support bar */
.ob-support {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
}
.ob-support-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.ob-support strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.ob-support p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .ob-grid { grid-template-columns: 1fr; max-width: var(--content-narrow); margin-inline: auto; }
}
@media (max-width: 600px) {
  .ob-support { flex-direction: column; gap: var(--space-4); }
}

/* ── CTA STRIP ───────────────────────────────────────── */
.cta-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}
.cta-text p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 260px;
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-5);
}
.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  text-align: center;
}

/* ── RESPONSIVE HELPERS ──────────────────────────────── */
@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: var(--space-4); }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .step { grid-template-columns: 44px 1fr; gap: var(--space-4); }
  .footer-inner { flex-direction: column; }
}

/* ── STRIKETHROUGH PRICE ────────────────────────────── */
.price-was {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}
.price-was-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-was-amount {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
}

/* ── FREE TAG ON FEATURE ROW ─────────────────────────── */
.feat-highlight {
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  color: var(--color-text) !important;
}
.feat-highlight strong {
  color: var(--color-text);
}
.feat-free-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ── EYEBROW TAG ────────────────────────────────────── */
.eyebrow-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: var(--color-accent);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── FOUNDING BANNER ─────────────────────────────────── */
.founding-banner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
}
.founding-banner svg { flex-shrink: 0; }
.founding-banner strong { color: var(--color-accent); }

/* ── ONBOARDING FEE NOTE ─────────────────────────────── */
.onboarding-fee {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  max-width: 640px;
  margin-inline: auto;
}
.onboarding-fee-icon {
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--color-text-faint) 10%, transparent);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--color-text-muted);
}
.onboarding-fee-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.onboarding-fee-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── ADDON CARD ──────────────────────────────────────── */
.addon-card {
  margin-top: var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.addon-header {
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--color-border);
}
.addon-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.addon-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.addon-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 4px;
}
.addon-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.addon-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.addon-dollar {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}
.addon-num {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.addon-period {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
.addon-body {
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.addon-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
}
.addon-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.addon-cta {
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
}
@media (max-width: 700px) {
  .addon-header, .addon-body { padding: var(--space-5) var(--space-5); }
  .addon-body { flex-direction: column; }
  .addon-cta { width: 100%; justify-content: center; }
}

/* ── MATERIAL CALCULATOR FEATURE ─────────────────────── */
.calc-feature {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.calc-feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.calc-feature-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}
.calc-feature-text p {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: 52ch;
}
.calc-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.calc-bullets li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.calc-bullets li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.calc-feature-demo .hero-terminal {
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
@media (max-width: 900px) {
  .calc-feature-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ── Selling Point Sections ─────────────────────────────── */
.selling-point { background: var(--color-surface); }
.selling-point--alt { background: var(--color-bg); }

.sp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sp-inner--flip { direction: rtl; }
.sp-inner--flip > * { direction: ltr; }

.sp-text .eyebrow { margin-bottom: 0.75rem; }

.sp-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}
.sp-text h2 .accent { color: var(--color-accent); }

.sp-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.sp-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

/* Chat mock inside selling-point */
.sp-visual { width: 100%; }

.sp-chat-mock {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.sp-chat-header {
  background: #1a1a1a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sp-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3a3a3a;
}
.sp-chat-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.sp-chat-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sp-msg {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.sp-them {
  align-self: flex-end;
  background: #2a2a2a;
  color: var(--color-text);
  border-bottom-right-radius: 4px;
}
.sp-ai {
  align-self: flex-start;
  background: rgba(188,240,66,0.1);
  color: var(--color-text-muted);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(188,240,66,0.15);
}
.sp-success {
  background: rgba(188,240,66,0.15);
  color: var(--color-accent);
  border-color: rgba(188,240,66,0.3);
  font-weight: 500;
}

@media (max-width: 860px) {
  .sp-inner, .sp-inner--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }
}

/* ── Dashboard Preview ──────────────────────────────────── */
.dash-preview { background: var(--color-bg); }

.dash-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0;
}
.dash-tab {
  padding: 0.6rem 1.25rem;
  border: none;
  background: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.dash-tab:hover { color: var(--color-text); }
.dash-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.dash-screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.dash-panel {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.dash-panel.active { display: block; }

.dash-cta-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.dash-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}
.dash-link:hover { text-decoration: underline; }
