/* Fonts are self-hosted (Latin subsets from Google Fonts, SIL OFL 1.1; licences in /fonts/) so the
   site makes no third-party requests: see _headers (CSP) and /privacy/. */
@font-face {
  font-family: "Anybody";
  font-style: italic;
  font-weight: 900;
  font-stretch: 120%;
  font-display: swap;
  src: url("/fonts/anybody-italic-900-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-italic-400-latin.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #fff;
  color: #000;
}

/* header, main and footer share one centred 720px column with 24px gutters */
body {
  margin: 0;
  padding: 0 24px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.6;
}

header,
main,
footer {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

header {
  padding-top: 48px;
}

/* the frog and the name scale together with the font size; the whole lockup is about 9.75em wide */
.lockup {
  margin: 0;
  display: flex;
  align-items: last baseline;
  gap: 0.34em;
  font-family: "Anybody", "Arial Black", Helvetica, sans-serif;
  font-size: 64px;
  font-style: italic;
  font-weight: 900;
  font-stretch: 120%;
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.lockup a {
  display: flex;
  align-items: last baseline;
  gap: inherit;
  color: inherit;
  text-decoration: none;
}

.frog {
  display: block;
  width: 4.2em;
  height: auto;
  overflow: visible;
}

main {
  margin-top: 56px;
}

p,
ul {
  margin: 0 0 24px;
}

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

li::before {
  content: "* ";
}

h2 {
  margin: 40px 0 12px;
  font-size: inherit;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

footer {
  margin-top: auto;
  padding: 40px 0 32px;
  font-size: 13px;
}

footer p {
  margin-bottom: 8px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

@media (max-width: 700px) {
  .lockup {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  header {
    padding-top: 32px;
  }

  .lockup {
    font-size: 30px;
  }

  main {
    margin-top: 40px;
  }

  footer {
    padding-bottom: 24px;
  }
}

@media (max-width: 360px) {
  .lockup {
    font-size: 26px;
  }
}

main h1 {
  margin: 0 0 24px;
  font-size: inherit;
  font-weight: 600;
}
