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

:root {
  --bg: #0d0d0f;
  --surface: #161618;
  --surface-2: #1e1e21;
  --amber: #f59e0b;
  --amber-dim: #b47406;
  --text: #f4f4f0;
  --text-dim: #8a8a8e;
  --border: #2a2a2e;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1100px;
  --radius: 12px;
}

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(20px, 4vw, 48px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.tagline-header {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: none;
}

@media (min-width: 600px) { .tagline-header { display: block; } }

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 96px);
  text-align: left;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  padding: 6px 14px;
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 56px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 40px;
  flex-shrink: 0;
}

/* === SECTION SHARED === */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* === PILLARS === */
.pillars {
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-inner { max-width: var(--max-w); margin: 0 auto; }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s ease;
}

.pillar:hover { border-color: rgba(245,158,11,0.3); }

.pillar-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,158,11,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  font-weight: 300;
}

/* === STACKS === */
.stacks {
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 48px);
}

.stacks-inner { max-width: var(--max-w); margin: 0 auto; }

.stacks-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 32px;
  font-weight: 500;
}

.stacks-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .stacks-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.stack-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--surface);
}

.stack-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.stack-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* === PROOF === */
.proof {
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner { max-width: 720px; margin: 0 auto; text-align: center; }

.proof-quote { position: relative; }

.quote-mark {
  font-family: Georgia, serif;
  font-size: 8rem;
  color: var(--amber);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 24px;
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

cite {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: normal;
  font-weight: 300;
}

/* === CLOSING === */
.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 48px);
  text-align: center;
}

.closing-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }

.closing-headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  line-height: 1.05;
}

.closing-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px clamp(20px, 4vw, 48px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 300;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* === MOBILE TWEAKS === */
@media (max-width: 400px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .stat { padding-right: 20px; }
}