/* ── Design tokens ── */
:root {
  --bg:        #faf9f5;
  --bg-card:   #eae9e9;
  --border:    color-mix(in srgb, #201e1d 16%, transparent);
  --border-strong: color-mix(in srgb, #201e1d 40%, transparent);
  --accent:    #ec3013;
  --accent-600:#dd2b0f;
  --accent-700:#ae1800;
  --accent-100:#fff2ef;
  --accent-800:#7c1405;
  --text:      #201e1d;
  --muted:     color-mix(in srgb, #201e1d 60%, transparent);
  --muted-2:   color-mix(in srgb, #201e1d 78%, transparent);
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Archivo', sans-serif;
  --radius:    0px;
  --max-w:     1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; }
code, .mono { font-family: var(--font-mono); font-size: 0.85em; }
a { color: var(--accent); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Divider ── */
.hr { height: 2px; border: 0; background: var(--border-strong); margin: 0 auto; max-width: var(--max-w); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-600); }
.btn-secondary { border-color: var(--border-strong); }
.btn-secondary:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.btn-ghost { color: var(--accent); padding-inline: 4px; }

/* ── Tag pill ── */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}
.tag-neutral { background: var(--bg-card); color: var(--muted-2); }
.tag-accent { background: var(--accent-100); color: var(--accent-800); }
.tag-outline { border: 1px solid var(--accent); color: var(--accent); }