@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url('/assets/fonts/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNextVF-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal italic;
  font-display: swap;
}

/* ── Design Tokens ── */
:root {
  --color-bg:        #222222;
  --color-surface:   #2c2c2c;
  --color-surface-2: #333333;
  --color-text:      #F9F9F9;
  --color-muted:     #aaaaaa;
  --color-pink:      #FF5EE0;
  --color-yellow:    #FFB800;
  --color-emergency: #FF3B3B;
  --color-border:    #3a3a3a;

  --gradient-accent: linear-gradient(90deg, var(--color-pink), var(--color-yellow));

  --font-heading: 'Trebuchet MS', Tahoma, sans-serif;
  --font-body:    'Atkinson Hyperlegible', Tahoma, sans-serif;

  --nav-height: 64px;
  --max-width:  1100px;
  --radius:     4px;
  --gap:        1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-top: var(--nav-height);
}

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

a {
  color: var(--color-pink);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-yellow);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  background: var(--gradient-accent);
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #F9F9F9;
}
.btn-primary:hover {
  color: #ffffff;
  opacity: 0.88;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-pink);
  color: var(--color-pink);
}
.btn-outline:hover {
  color: var(--color-yellow);
  border-color: var(--color-yellow);
}

.btn-emergency {
  background-color: var(--color-emergency);
  color: #F9F9F9;
}
.btn-emergency:hover {
  color: #222222;
}

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

/* ── Gradient text ── */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 2rem 0;
}
