/* Archivo by Omnibus-Type, SIL Open Font License 1.1 (see /fonts/OFL.txt) */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --field: #2234c4;
  --ink: #f5f6ff;
  --muted: #bcc5f8;
  --gutter: clamp(1.25rem, 6vw, 5.5rem);
  color-scheme: dark;
}

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

html {
  background: var(--field);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--field);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
}

/* Live pulse trace, drawn by pulse.js. Fills the space above the wordmark,
   edge to edge. */
.monitor {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(8rem, 28vh, 16rem);
  margin: calc(-1 * var(--gutter)) calc(-1 * var(--gutter)) clamp(1.5rem, 4vw, 3rem);
}

.monitor canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.wordmark {
  margin: 0 0 clamp(2rem, 5vw, 3.75rem) -0.04em;
  font-size: clamp(3rem, 11vw, 10rem);
  font-weight: 300;
  font-stretch: 125%;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.details {
  display: grid;
  grid-template-columns: 11rem minmax(0, 30rem);
  column-gap: 2rem;
  row-gap: 0.4rem;
  margin: 0;
}

.details dt {
  grid-column: 1;
  color: var(--muted);
}

.details dd {
  grid-column: 2;
  margin: 0;
}

.details .group {
  margin-top: 1.4rem;
}

address {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--muted);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--ink);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 34rem) {
  .details {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .details dt,
  .details dd {
    grid-column: 1;
  }

  .details dt {
    margin-top: 0.9rem;
    font-size: 0.9375rem;
  }

  .details dt:first-child {
    margin-top: 0;
  }

  .details dt.group {
    margin-top: 1.75rem;
  }

  .details dd.group {
    margin-top: 0;
  }
}
