:root {
  --ink: #111111;
  --muted: #6a6a6a;
  --line: #e8e8e8;
  --paper: #fafafa;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --measure: 38rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.5;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 40;
  padding: 0.4rem 0.65rem;
  background: var(--ink);
  color: var(--paper);
}

.page {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 0 2.5rem;
}

.masthead {
  padding-bottom: 2.5rem;
}

.masthead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.masthead h1,
.page-404 h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav a {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lede {
  margin: 0.7rem 0 0;
  max-width: 26rem;
  color: var(--muted);
}

.apps-section + .apps-section {
  margin-top: 2.5rem;
}

.apps-section h2 {
  margin: 0 0 0.15rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.app {
  display: grid;
  grid-template-columns: 3.15rem 1fr;
  gap: 0 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.app-icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 22%;
}

.app-icon-soon {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: -0.04em;
  color: var(--muted);
}

.app-body {
  min-width: 0;
}

.app h3 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-tagline {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.app-meta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0.55rem 0 0;
}

.app-links a {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.app-links a:hover,
.app-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

main {
  flex: 1;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: baseline;
  margin-top: 3rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer a {
  font-family: var(--display);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.copy {
  margin: 0;
  margin-left: auto;
}

.page-404 {
  justify-content: center;
}

.page-404 .app-links {
  margin-top: 1.25rem;
}

@media (max-width: 520px) {
  .page {
    padding-top: 1.5rem;
  }

  .copy {
    margin-left: 0;
    flex-basis: 100%;
  }
}
