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

/* ── Design Tokens ── */
:root {
  --bg:             #0c0c0e;
  --surface:        #161618;
  --surface-hover:  #1e1e21;
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.14);
  --text:           #e8e8ea;
  --muted:          #888888;
  --muted2:         #555555;
  --accent:         #3b82f6;
  --badge-live:     #22c55e;
  --badge-wip:      #6b7280;

  --radius-card:    14px;
  --radius-icon:    10px;
  --radius-badge:   999px;

  --nav-height:     56px;
  --container-max:  1100px;
  --container-pad:  40px;
}

/* ── Base ── */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Layout Utility ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
  }
}
