﻿:root {
  /* Style guide palette */
  --ink: #14100d;    /* text on Ember, dark backgrounds */
  --ember: #f0a33a;  /* the spark, buttons on Ink */
  --glow: #ffd58a;   /* highlights, hover tints */
  --paper: #f7f2ea;  /* text on Ink */
  --stone-on-ink: #c9bfb3; /* secondary text on Ink */
  --teal: #2e7d7a;   /* second chart colour (charts and icons only, not text) */

  --bg: var(--ink);
  --surface: #1e1915;
  --surface-2: #29221c;
  --border: rgba(247, 242, 234, 0.1);
  --text: var(--paper);
  --muted: var(--stone-on-ink);
  --accent: var(--ember);
  --accent-soft: rgba(240, 163, 58, 0.14);
  --radius: 14px;
  --max: 1120px;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Familjen Grotesk', var(--font-body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-weight: 700;
}

h2,
h3 {
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 30px -8px rgba(240, 163, 58, 0.6);
}

.btn-primary:hover {
  background: var(--glow);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
