/* Shared by index.html and 404.html. An external file rather than two
   inline <style> blocks: the pair would drift the first time one of them
   is touched, and at this size the extra request costs nothing (it ships
   with the same short-cache headers as the documents, so the two always
   update together). */

:root {
  /* FIT27 brand tokens, mirroring apps/web/tailwind.config.ts. */
  --paper: #f5f5f4;
  --ink: #2c2e35; /* never pure black, per the brand manual */
  --ember: #ff7d24; /* accent only — never a surface */
  --muted: #5c5e66;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  color: var(--ink);
  font-family: Archivo, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  text-align: center;
}

/* The source SVG carries its own width="233.462" height="65.181", so the
   box has to be pinned in CSS or it renders at that native size. */
.logo {
  display: block;
  margin: 0 auto;
  width: 220px;
  max-width: 70vw;
  height: auto;
}

/* Uppercase, 700, +0.02em tracking — the brand manual's title treatment,
   the same one apps/web applies to its page headings. */
h1 {
  margin: 40px 0 0;
  font-size: clamp(1.625rem, 6vw, 2.375rem); /* 26px → 38px (display) */
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rule {
  width: 48px;
  height: 3px;
  margin: 24px auto 0;
  border: 0;
  border-radius: 2px;
  background: var(--ember);
}
