/* ─── Variables ───────────────────────────────────────── */
:root {
  --amber: #C4713A;
  --amber-light: #D4895A;
  --amber-pale: #F5E6D6;
  --amber-dark: #8B4E25;
  --charcoal: #1A1714;
  --dark-bg: #0E0C09;
  --light: #FDFAF6;
  --muted: #8C7B6E;
  --muted-light: #B5A896;
  --border: rgba(196, 113, 58, 0.18);
  --card-bg: #F8F0E8;

  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

/* ─── Reset & Base ────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--dark-bg);
  color: var(--light);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Navigation ──────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 12, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--muted-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 113, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 113, 58, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(196, 113, 58, 0.08) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 28px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--light);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted-light);
  max-width: 480px;
}

/* Dashboard card */
.hero-card {
  background: #1E1B17;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.card-header {
  background: #161311;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.card-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.card-dot.red    { background: #FF5F57; }
.card-dot.yellow { background: #FFBD2E; }
.card-dot.green  { background: #28CA41; }
.card-title {
  margin-left: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.card-body { padding: 24px; }
.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.metric {
  background: #252118;
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}
.metric.accent { border: 1px solid rgba(196, 113, 58, 0.35); }
.metric-val {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--light);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.metric.accent .metric-val { color: var(--amber); }
.metric-label {
  font-size: 0.65rem;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chart-area { background: #252118; border-radius: var(--radius-sm); padding: 16px; }
.chart-label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.bar {
  flex: 1;
  background: rgba(196, 113, 58, 0.25);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
}
.bar.active { background: var(--amber); }

/* ─── Stats ───────────────────────────────────────────── */
.stats {
  background: var(--amber-pale);
  padding: 40px 28px;
}
.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(26, 23, 20, 0.12);
}

/* ─── Section Shared ─────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ─── Features ───────────────────────────────────────── */
.features {
  background: var(--charcoal);
  padding: 96px 28px;
}
.features-inner { max-width: 1140px; margin: 0 auto; }
.features .section-headline { color: var(--light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #1C1A16;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(196, 113, 58, 0.4);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(196, 113, 58, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-light);
  line-height: 1.65;
}

/* ─── Process ─────────────────────────────────────────── */
.process {
  background: var(--dark-bg);
  padding: 96px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-inner { max-width: 1140px; margin: 0 auto; }
.process .section-headline { color: var(--light); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 32px 0 0;
}
.step-arrow {
  padding-top: 28px;
  flex-shrink: 0;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(196, 113, 58, 0.18);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 10px;
  line-height: 1.3;
}
.step p {
  font-size: 0.875rem;
  color: var(--muted-light);
  line-height: 1.65;
}

/* ─── Manifesto ──────────────────────────────────────── */
.manifesto {
  background: var(--amber-pale);
  padding: 96px 28px;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.manifesto-rule {
  border-top: 1px solid rgba(26, 23, 20, 0.15);
  padding-top: 28px;
}
.rule-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 12px;
}
.manifesto-rule p {
  font-size: 0.95rem;
  color: #4A3D32;
  line-height: 1.7;
}

/* ─── Closing ────────────────────────────────────────── */
.closing {
  background: var(--charcoal);
  padding: 120px 28px;
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--light);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.closing p {
  font-size: 1.05rem;
  color: var(--muted-light);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--border);
  padding: 32px 28px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.footer-desc {
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-meta {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 40px; }
  .step-arrow { display: none; }
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .process-step { padding: 0; }
}
