/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:           #0C0C14;
  --surface:      #13131F;
  --surface-2:    #1A1A2E;
  --accent:       #F5A623;
  --accent-dim:   rgba(245, 166, 35, 0.12);
  --text:         #F4F4F5;
  --text-muted:   #8B8B9E;
  --border:       rgba(255,255,255,0.07);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w:        1080px;
  --pad-x:        clamp(1.5rem, 5vw, 3rem);
}

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

html { scroll-behavior: smooth; }

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vh, 7rem) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 44ch;
}

/* ─── FEED VISUAL ─────────────────────────────────────────────── */
.content-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.feed-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}

.feed-item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: rgba(255,255,255,0.02); }

.feed-item.done { opacity: 0.55; }

.feed-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.feed-content { flex: 1; }

.feed-platform {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}

.feed-text {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.feed-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ─── MANIFESTO ───────────────────────────────────────────────── */
.manifesto {
  padding: clamp(4rem, 8vh, 6rem) var(--pad-x);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.manifesto-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.manifesto-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.75;
}
.manifesto-body + .manifesto-body { margin-top: 1.25rem; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features {
  padding: clamp(4rem, 8vh, 6rem) var(--pad-x);
}

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

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── PLAYBOOK ───────────────────────────────────────────────── */
.playbook {
  padding: clamp(4rem, 8vh, 6rem) var(--pad-x);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

.playbook-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
}

.step {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}
.step:last-child { border-right: none; padding-right: 0; padding-left: 2rem; }
.step:nth-child(2) { padding-left: 2rem; }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(245,166,35,0.15);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── CLOSING ─────────────────────────────────────────────────── */
.closing {
  padding: clamp(5rem, 10vh, 8rem) var(--pad-x);
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.closing-inner { max-width: 720px; margin: 0 auto; }

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.75rem;
  letter-spacing: -0.03em;
}

.closing p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 56ch;
  margin: 0 auto;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.footer {
  padding: 2.5rem var(--pad-x);
  border-top: 1px solid var(--border);
}

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

.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { order: -1; }

  .playbook-steps {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
  }
  .step:last-child { border-bottom: none; padding-left: 0; }
  .step:nth-child(2) { padding-left: 0; }

  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}