/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-hover: #1a1a1a;
  --border: #262626;
  --text: #e5e5e5;
  --text-muted: #737373;
  --accent: #f59e0b;
  --accent-dim: #b45309;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.header-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

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

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

/* Hero */
.hero {
  margin-bottom: 4rem;
}

.hero-intro {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

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

/* Sections */
.section {
  margin-bottom: 3.5rem;
}

.section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.card p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Plan List */
.plan-list {
  list-style: none;
  counter-reset: plan;
}

.plan-list li {
  counter-increment: plan;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.plan-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.plan-list li:first-child {
  padding-top: 0;
}

.plan-list li strong {
  font-weight: 600;
  font-size: 0.95rem;
}

.plan-list li strong::before {
  content: counter(plan) ". ";
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
}

.plan-list li span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dashboard */
.dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.stat {
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Build Log */
.log {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.log-entry {
  background: var(--surface);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.log-entry:last-child {
  border-bottom: none;
}

.log-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.log-content p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.log-content p:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-subtle {
  font-size: 0.75rem !important;
  color: #525252 !important;
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 2rem 1rem;
  }

  .hero-intro {
    font-size: 1.4rem;
  }

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

  .stat {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }
}