/* Archivo Condensed is a variable font: font-stretch 62% in its @font-face pins the wdth axis to 62, in CSS and on canvas alike. */
/* Self-hosted, OFL (Google Fonts). Coolvetica needs a paid webfont licence: add it here when bought. */
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/archivo-expanded-latin.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/archivo-expanded-latin-ext.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Condensed"; src: url("../fonts/archivo-condensed-latin.woff2") format("woff2"); font-weight: 800; font-stretch: 62%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Condensed"; src: url("../fonts/archivo-condensed-latin-ext.woff2") format("woff2"); font-weight: 800; font-stretch: 62%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Shared tokens. Palette from the reference carousel: dark grain, lavender, lime, coral. */
:root {
  --bg: #0d0b14;
  --bg-2: #15111f;
  --surface: #1b1628;
  --line: #2e2742;
  --text: #f3effa;
  --muted: #b3aac7;
  --lavender: #c9b8ff;
  --lime: #d7f75b;
  --coral: #f99b92;
  --danger: #ff8a8a;
  --font-display: "Archivo Expanded", "Arial Black", sans-serif;
  --font-condensed: "Archivo Condensed", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --radius: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--lavender); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--font-body); cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--lime); color: #12101a; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); min-height: 44px; }
.btn-primary:active, .btn-secondary:active { transform: scale(.97); }
.btn-primary:disabled, .btn-secondary:disabled { opacity: .5; cursor: progress; }
@media (hover: hover) {
  .btn-primary:hover { background: #e4ff7a; }
  .btn-secondary:hover { border-color: var(--lavender); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Browser surfaces carry the palette too. */
::selection { background: var(--lavender); color: #12101a; }
input, textarea { caret-color: var(--lime); }
html { scrollbar-color: var(--line) var(--bg); }
a { text-underline-offset: .2em; }
