/* style/base.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0:    #1e1e1e;
  --bg-1:    #252526;
  --bg-2:    #2d2d2d;
  --bg-3:    #333333;
  --accent:  #0078d4;
  --accent2: #4ec9b0;
  --text-0:  #d4d4d4;
  --text-2:  #808080;
  --border:  #3c3c3c;
  --radius:  8px;
  --radius-lg: 16px;
  --shadow:  0 4px 24px rgba(0,0,0,.55);
  --max-w:   1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.95rem; }

p { margin-bottom: 1rem; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section--alt { background: var(--bg-1); }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  margin-bottom: 1rem;
}
