@import url('/css/opensans.css');
/* EU-SOLAR's look, with the mindos logo kept (notes/day2-outline.md, "The look"). The tokens are the same as the
   live-scene kit's C (content/files/live/kit.mjs) and the films' theme (tools/remotion/src/theme.ts): paper and the
   logo's ink, seven greys, the logo's sun yellow (fills, marks and thick rules only: never text, never a thin line on
   its own), the site's blue (blueText when it is words on white), its call-to-action red. Open Sans for everything,
   Chivo Mono for numbers, ids and code only. */
@font-face { font-family: 'Chivo Mono'; src: url('/css/fonts/ChivoMono-Variable-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: block; }

:root {
  --paper: #FFFFFF; --ink: #231F20;
  --g1: #F4F4F4; --g2: #EBEBEB; --g3: #D0D5D2; --g4: #9A9A9A; --g5: #6B6B6B; --g6: #555555; --g7: #383838;
  --sun: #F7B727;       /* fills, marks, thick rules; ink on it */
  --blue: #007FBF;      /* fills, bars, large bold type */
  --blue-text: #006FA6; /* blue as words on white */
  --red: #D2232A;       /* the one call to action / attention colour; readable as text */
  --amber: #8A5A00;     /* the sun as words, only if it must be */

  --ink-2: var(--g6); --ink-3: var(--g5);
  --border: var(--g3);
  --accent: var(--sun);           /* older rules: the mark colour */
  --signal-text: var(--red);      /* older rules: a word that must stand out */
  --success: #1F7A3A; --danger: var(--red); --info: var(--blue);

  /* the older names some engine-facing rules still read */
  --grey-0: #FFFFFF; --grey-1: var(--g1); --grey-2: var(--g2); --grey-3: var(--g3); --grey-4: var(--g4);
  --grey-5: var(--g5); --grey-6: var(--g6); --grey-7: var(--g7); --grey-8: var(--ink);

  --font: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Chivo Mono', 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: tabular-nums; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
code { font-family: var(--mono); font-size: .9em; }
button { font: inherit; }

/* the marks (design/brand.js): mindos is drawn from its wordmark, in the colour of the text around it;
   EU-SOLAR is its own colour logo (sun and ink), or a one-colour silhouette where the ground asks for it (.mono) */
.mk { display: inline-flex; align-items: center; gap: var(--mk-gap, .9em); line-height: 1; white-space: nowrap; }
.mk-mindos { display: block; height: var(--mk-h, 1em); aspect-ratio: 3152 / 732; background: currentColor;
  -webkit-mask: url('/img/mindos-mark.svg') center / contain no-repeat; mask: url('/img/mindos-mark.svg') center / contain no-repeat; }
.mk-rule { display: block; width: 1px; align-self: stretch; min-height: calc(var(--mk-h, 1em) * 1.9); background: currentColor; opacity: .55; }
.mk-eus { display: block; height: calc(var(--mk-h, 1em) * 1.9); aspect-ratio: 1156 / 299; background: url('/img/eu-solar-lockup.png') center / contain no-repeat; }
.mono .mk-eus, .mk-eus.mono { background: currentColor; -webkit-mask: url('/img/eu-solar-lockup.png') center / contain no-repeat; mask: url('/img/eu-solar-lockup.png') center / contain no-repeat; }
.on-ink .mk-eus { background-image: url('/img/eu-solar-lockup-white.png'); }
