/* page frame: header, hero copy, footer */
body {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 10;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  font-size: 13.5px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.page-header,
.page-footer {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-inline: 32px;
}

.page-header {
  justify-content: space-between;
  padding-block: 12px 10px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0 18px;
}

.header-link,
.footer-link,
.footer-repo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13.5px;
}

/* hero: the pitch on the left, a glimpse of the catalog on the right */
.hero {
  display: grid;
  width: min(1120px, calc(100% - 64px));
  min-width: 0;
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--gap);
  padding: var(--gap-lg) 40px 40px 0;
}

.hero h1 {
  max-width: 11ch;
  font-family: var(--font-serif);
  font-size: clamp(56px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 26ch;
  padding-top: 12px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.3;
  text-wrap: pretty;
}

.agent-line {
  max-width: 42ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: 12px;
}

/* the one filled control on the page */
.go {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t) ease;
}

.go:hover {
  background: var(--ink-hover);
  color: var(--paper);
}

.go:focus-visible {
  outline-offset: 2px;
  border-radius: 6px;
}

.oss {
  color: var(--muted);
  font-size: 13.5px;
}

.oss strong {
  color: var(--ink);
  font-weight: 500;
}

.page-footer {
  flex-wrap: wrap;
  min-height: 54px;
  padding-block: 6px;
  border-top: 1px solid var(--ink);
}

.page-footer .brand {
  font-size: 17px;
}

.page-footer .brand svg {
  width: 22px;
  height: 22px;
}

.footer-license,
.footer-credit {
  color: var(--muted);
  font-size: 13.5px;
}

.footer-credit a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
}

.register {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.015em;
}
