/* === BASE === */
:root {
  --bg: #0D0D0D;
  --bg-2: #111111;
  --bg-3: #161616;
  --fg: #F2EDE8;
  --fg-muted: #7A7570;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --border: rgba(242, 237, 232, 0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { 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;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 80px 64px 60px;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--accent); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 56px;
}

.hero-signal-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.signal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px 0 0;
}

.signal-item:first-child { padding-left: 0; }

.signal-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}

.signal-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.hero-waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}

.waveform-svg {
  width: 100%;
  height: 100%;
}

.waveform-path {
  animation: wave-float 6s ease-in-out infinite;
}

.waveform-path-2 {
  animation-delay: -3s;
}

@keyframes wave-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.manifesto-inner {
  max-width: 720px;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.manifesto-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-top: 40px;
}

/* === FEATURES === */
.features {
  padding: 100px 64px;
}

.features-header {
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  max-width: 480px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* === HOW === */
.how {
  padding: 100px 64px;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 1000px;
}

.how-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 64px;
  line-height: 1.15;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  padding: 0 32px 0 0;
}

.step:first-child { padding-left: 0; }

.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-muted);
}

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
}

/* === CLOSING === */
.closing {
  padding: 120px 64px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 600px;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 440px;
}

/* === FOOTER === */
.site-footer {
  padding: 40px 64px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 300;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 64px 24px 80px; }
  .manifesto { padding: 64px 24px; }
  .features { padding: 64px 24px; }
  .how { padding: 64px 24px; }
  .closing { padding: 80px 24px; }
  .site-footer { padding: 32px 24px; }

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

  .steps-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-connector { display: none; }

  .hero-signal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .signal-item { padding: 0; }
  .signal-divider { display: none; }

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

  .closing-headline { font-size: 48px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 52px; }
  .closing-headline { font-size: 40px; }
  .feature-card { padding: 32px 24px; }
}