@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/DMMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/DMMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Uses an installed licensed copy when available. See assets/fonts/README.md. */
@font-face {
  font-family: "Very Vogue Display";
  src: local("Very Vogue Display"), local("VeryVogueDisplay");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #191919;
  --muted: #595959;
  --column: 40rem;
  --serif: "Very Vogue Display", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --paragraph-space: 1.25rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.page {
  container-type: inline-size;
  width: min(var(--column), calc(100% - 3rem));
  margin-inline: auto;
  padding-block: clamp(2.25rem, 5vw, 5rem) 4rem;
}

.identity { text-align: center; }

.logo {
  display: block;
  width: clamp(8.5rem, 15vw, 11rem);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

p { margin: 0; }

.company {
  margin-top: 1.375rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

h1 {
  font-family: var(--serif);
  margin: 1.75rem 0 1.375rem;
  font-size: clamp(1rem, 4.5cqi, 1.875rem);
  text-align: center;
  white-space: nowrap;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
  overflow-wrap: normal;
  hyphens: none;
}

.introduction {
  margin-bottom: 1.75rem;
  font-size: 1em;
  line-height: 1.55;
}

.manifesto p + p { margin-top: var(--paragraph-space); }

strong { font-weight: 500; }

.manifesto .principles { margin-block: 2rem; }

.closing { margin-top: 2rem; }

.contact { margin-top: 2rem; }

.contact a {
  display: inline-block;
  margin-top: .625rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  overflow-wrap: anywhere;
}

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

.contact a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  border-radius: 1px;
}

footer {
  margin-top: 3rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 1.5;
}

@media (max-width: 30rem) {
  .page { width: calc(100% - 2.75rem); }
  h1 {
    font-size: 1.5rem;
    letter-spacing: -.035em;
    white-space: normal;
  }
}
