/* Brand colors and fonts — see style-guide.md */

@font-face {
  font-family: "Louize Display";
  src: url("../shared/type/LouizeDisplayTrial-205TF/LouizeDisplayTrial-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Louize Display";
  src: url("../shared/type/LouizeDisplayTrial-205TF/LouizeDisplayTrial-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Louize Display";
  src: url("../shared/type/LouizeDisplayTrial-205TF/LouizeDisplayTrial-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  /* Handwriting for the contact postcard. Needs a web licence before going live (see style-guide.md). */
  font-family: "Biro Script";
  src: url("../shared/type/biro_script/Biro_Script_reduced.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sometype Mono";
  src: url("../shared/type/Sometype_Mono/static/SometypeMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sometype Mono";
  src: url("../shared/type/Sometype_Mono/static/SometypeMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette: only these hex codes. Lower the opacity with rgb(... / x), never change the hex. */
  --beige: #F5E9D9;
  --black: #000000;
  --green: #6C8876;
  --white: #FFFFFF;
  --grey: #C3C3C3;   /* graphics only, e.g. the How It Works signature */
  --dark-grey: #888888; /* inactive text, e.g. How It Works steps that aren't current */

  --font-display: "Louize Display", Georgia, serif;
  --font-mono: "Sometype Mono", ui-monospace, Menlo, monospace;
  --font-hand: "Biro Script", "Bradley Hand", cursive;

  /* Page side padding: 24px on phones, 84px at 1440px wide */
  --gutter: clamp(24px, 5.8vw, 84px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
}

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

/* Images can't be selected, dragged out, or long-pressed to save */
img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
