:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --surface: #1a1a24;
  --surface-hover: #22222e;
  --border: #2a2a3a;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --text-dim: #555570;
  --accent: #00d4aa;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --accent-secondary: #ff6b35;
  --danger: #ff4757;
  --warning: #ffa502;
  --info: #3498db;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

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

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

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
}

.badge .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--info));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Subscribe Box */
.subscribe-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto 48px;
}

.subscribe-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.subscribe-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Sections */
.section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* Content Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Issue List */
.issue-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.issue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.issue-item:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.issue-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.issue-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 6px;
}

.issue-title {
  font-weight: 600;
  font-size: 1rem;
}

.issue-date {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.issue-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
}

.badge-hot { background: rgba(255, 107, 53, 0.15); color: var(--accent-secondary); }
.badge-launch { background: rgba(0, 212, 170, 0.15); color: var(--accent); }
.badge-tools { background: rgba(52, 152, 219, 0.15); color: var(--info); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

/* Scoreboard */
.scoreboard {
  background: linear-gradient(135deg, var(--bg-elevated), var(--surface));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 48px;
}

.scoreboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.score-item .score-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.score-item .score-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Issue Page */
.issue-hero {
  padding: 100px 24px 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.issue-hero .issue-badge-large {
  display: inline-block;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 20px;
}

.issue-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.issue-hero .issue-date {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.issue-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.issue-section {
  margin-bottom: 48px;
}

.issue-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.issue-section p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.issue-section ul {
  list-style: none;
  padding: 0;
}

.issue-section ul li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
}

.issue-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CTA Box */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.cta-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Try Box (step by step) */
.try-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
}

.try-box h4 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 12px;
}

.try-box ol {
  padding-left: 20px;
  color: var(--text-muted);
}

.try-box ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.try-box .time-estimate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .scoreboard-grid { grid-template-columns: 1fr; }
  .issue-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-links { display: none; }
}

/* Beehiiv embed override */
.beehiiv-embed {
  width: 100% !important;
}
