:root {
  --paper: #f4f0e8;
  --ink: #181817;
  --muted: #66625b;
  --line: #cbc5ba;
  --signal: #d9572d;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 24, 23, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 32px;
  font-family: Arial, Helvetica, sans-serif;
}

main {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 48px;
}

.intro {
  max-width: 680px;
  margin-bottom: 68px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--signal);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 620;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.lede {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.55;
}

section + section {
  margin-top: 56px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.section-heading h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading span,
.launch,
footer {
  font-family: monospace;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.76rem;
}

.directory {
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory li {
  border-bottom: 1px solid var(--line);
}

.directory a {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
  padding: 20px 0;
  color: inherit;
  text-decoration: none;
}

.directory strong,
.directory small {
  display: block;
}

.directory strong {
  margin-bottom: 7px;
  font-size: clamp(1.22rem, 3vw, 1.55rem);
  font-weight: 580;
  letter-spacing: -0.025em;
}

.directory small {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.launch {
  flex: 0 0 auto;
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.directory a:hover strong,
.directory a:focus-visible strong {
  color: var(--signal);
}

.directory a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 6px;
}

.error,
noscript {
  display: block;
  margin-top: 32px;
  color: #9d2819;
}

footer {
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 780px);
    padding-top: 54px;
  }

  .intro {
    margin-bottom: 48px;
  }

  .directory a {
    align-items: flex-start;
    min-height: 0;
    padding: 19px 0;
  }

  .launch {
    margin-top: 5px;
  }
}
