/*
 * SuperTop's look ("Rótulo", chosen 2026-11-29): the shop sign of a street-front
 * business, cobalt enamel on paper with a yellow awning stripe, Archivo for the
 * type (wide in the wordmark and the headings). Brand::Look, docs/DESIGN.md →
 * "A brand's own look".
 *
 * Loaded only on the pages of a SuperTop host that wear the brand's look
 * (layouts/landing adds this file and the `site-supertop` class on <html>), so
 * nothing here can reach topfood. It redefines the same channels tokens.css
 * defines, so every `bg-white`, `text-gray-700` or `bg-primary-600` of those
 * pages follows without touching their markup. `:root.site-supertop` outranks
 * both `:root` and `.dark`, whatever order the stylesheets arrive in.
 *
 * Every pair a page uses is AA or better: ink on paper 16.6:1, white on cobalt
 * 8.7:1, cobalt on paper 8.0:1, gray-600 on paper 5.8:1; at night ink on ground
 * 15.9:1, ground on night cobalt 7.9:1, gray-600 on a card 6.4:1.
 */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/Archivo-latin.var-591a8b69.woff2") format("woff2");
  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";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/Archivo-latin-ext.var-a0aa4f2d.woff2") format("woff2");
  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;
}

/* Paper ground, ink with a blue cast, cobalt as the one accent. */
:root.site-supertop {
  --c-white: 255 255 255;

  --c-gray-50: 247 246 242;
  --c-gray-100: 239 238 233;
  --c-gray-200: 227 226 220;
  --c-gray-300: 201 200 193;
  --c-gray-400: 154 158 170;
  --c-gray-500: 116 121 135;
  --c-gray-600: 91 96 112;
  --c-gray-700: 64 69 84;
  --c-gray-800: 39 43 55;
  --c-gray-900: 20 23 31;
  --c-gray-950: 11 13 18;

  --c-primary-50: 238 241 252;
  --c-primary-100: 230 234 250;
  --c-primary-200: 199 209 244;
  --c-primary-300: 157 175 236;
  --c-primary-400: 105 131 222;
  --c-primary-500: 58 92 205;
  --c-primary-600: 31 63 180;
  --c-primary-700: 26 52 150;
  --c-primary-800: 22 42 120;
  --c-primary-900: 18 34 94;
  --c-primary-950: 11 21 60;

  /* The awning stripe: decoration only, never text on a light ground. */
  --site-signal: 242 184 31;

  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
}

/* At night the accent swaps to a light cobalt with the ground as its ink, the
   same move tokens.css makes for the first brand: `bg-primary-600 text-white` stays a
   readable button because `white` is the card colour. */
:root.site-supertop.dark {
  --c-white: 26 30 40;

  --c-gray-50: 17 20 27;
  --c-gray-100: 22 26 35;
  --c-gray-200: 42 48 64;
  --c-gray-300: 59 67 87;
  --c-gray-400: 110 117 135;
  --c-gray-500: 140 146 162;
  --c-gray-600: 154 160 176;
  --c-gray-700: 196 200 212;
  --c-gray-800: 222 225 233;
  --c-gray-900: 236 238 244;
  --c-gray-950: 255 255 255;

  --c-primary-50: 241 244 255;
  --c-primary-100: 228 234 255;
  --c-primary-200: 206 217 255;
  --c-primary-300: 180 197 255;
  --c-primary-400: 160 182 255;
  --c-primary-500: 150 174 255;
  --c-primary-600: 142 166 255;
  --c-primary-700: 118 143 240;
  --c-primary-800: 92 117 222;
  --c-primary-900: 64 90 196;
  --c-primary-950: 40 60 150;
}

.site-supertop .font-sans,
.site-supertop .font-display {
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
}

/* Headings a little wide, like the lettering of a shop sign. */
.site-supertop main :is(h1, h2) {
  font-stretch: 112%;
  letter-spacing: -0.01em;
}
.site-supertop main h1 {
  font-weight: 800;
}

/* The wordmark: the brand's name set wide and in capitals. */
.site-supertop [data-site-wordmark] {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* The awning: a cobalt and yellow stripe under the header. */
.site-supertop [data-plain-site-nav] {
  border-bottom-color: transparent;
}
.site-supertop [data-plain-site-nav]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgb(var(--c-primary-600)) 0 24px, rgb(var(--site-signal)) 24px 48px);
  pointer-events: none;
}
