/* ============================================================
   base.css — reset + design tokens + base typography.
   Loaded on every page.
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

:root {
  /* Tokens */
  --bg:    #738AFF;
  --fg:    #f4f4f4;
  --muted: #777;
  --panel: #738AFF;
  --accent: #ff2d87;

  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Syne', sans-serif;
  --ease-smooth: cubic-bezier(.22, .61, .36, 1);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; cursor: pointer; }

/* Visible keyboard focus indicators */
:focus-visible {
  outline: 2px solid var(--ca, #fe86f4);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; font-family: 'Syne', sans-serif; }
p { margin: 0 0 1em; }
