:root {
  --bg: #0a0b0f;
  --bg-elevated: #12131a;
  --bg-card: #181924;
  --fg: #e8e9ed;
  --fg-muted: #8b8d9a;
  --accent: #6ee7b7;
  --accent-dim: #2dd4a020;
  --accent-glow: #6ee7b740;
  --tag-paper: #818cf8;
  --tag-patent: #f472b6;
  --tag-news: #fbbf24;
  --border: #ffffff0a;
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.briefing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 0 60px var(--accent-glow), 0 20px 60px rgba(0,0,0,0.4);
}

.briefing-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.briefing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.briefing-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
}

.briefing-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.briefing-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.briefing-item + .briefing-item {
  border-top: 1px solid var(--border);
}

.briefing-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 0.15rem;
}

.tag-paper {
  background: #818cf820;
  color: var(--tag-paper);
}

.tag-patent {
  background: #f472b620;
  color: var(--tag-patent);
}

.tag-news {
  background: #fbbf2420;
  color: var(--tag-news);
}

.briefing-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ---- HOW IT WORKS ---- */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.how-intro {
  max-width: 640px;
  margin-bottom: 4rem;
}

.how-intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.how-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.how-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
}

.how-card:hover {
  border-color: var(--accent-glow);
}

.how-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.how-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.how-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- SOURCES ---- */
.sources {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.sources-content {
  max-width: 680px;
}

.sources h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.sources-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.sources-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.source-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s;
}

.source-item:hover {
  border-color: var(--accent-glow);
}

.source-icon {
  font-size: 1rem;
  color: var(--accent);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
  flex-shrink: 0;
}

.source-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.source-info strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}

.source-info span {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ---- CLOSING ---- */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
    gap: 2.5rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .briefing-card {
    max-width: 100%;
  }
  
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .how {
    padding: 4rem 1.5rem;
  }
  
  .sources {
    padding: 4rem 1.5rem;
  }
  
  .closing {
    padding: 5rem 1.5rem;
    text-align: left;
  }
  
  .closing-content {
    margin: 0;
  }
  
  .site-footer {
    padding: 2rem 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}