@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-latin-wght-normal.woff2) format('woff2');
}

@font-face {
  font-family: Baumans;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/baumans-latin-400-normal.woff2) format('woff2');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: white;
  color: oklch(0.145 0 0);
  font-family: 'Geist Variable', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

main {
  flex: 1;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

h1 {
  margin: 0;
  text-align: center;
  font-family: Baumans, system-ui, sans-serif;
  font-size: 3.75rem;
  font-weight: 400;
  line-height: 1;
}

.brand {
  color: rgb(0 80 96 / 0.8);
  text-decoration: none;
}

.brand:hover {
  color: #005060;
  text-decoration: none;
}

.brand span {
  color: #00aba9;
}

.caption {
  min-height: 1.25rem;
  margin: 0 0 0.25rem;
  color: oklch(0.556 0 0 / 0.6);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.25rem;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid oklch(0.87 0 0);
  border-radius: 1rem;
  background: transparent;
  transition: border-color 150ms, box-shadow 150ms;
}

.field:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 1.5px #00aba9;
}

#query {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.75rem 1rem;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  outline: none;
}

#oid-arcs {
  position: absolute;
  z-index: 10;
  max-height: 12rem;
  width: max-content;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  border: 1px solid oklch(0.922 0 0);
  background: white;
  line-height: 1.25;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

#oid-arcs a {
  display: block;
  padding: 0.125rem 0.5rem 0.125rem 0;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

#oid-arcs a:hover,
#oid-arcs a:focus {
  background: oklch(0.97 0 0);
  outline: none;
}

#oid-arcs .arc-name {
  color: oklch(0.556 0 0 / 0.6);
  font-style: italic;
}

.muted {
  margin: 0;
  color: oklch(0.556 0 0);
}

.idle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.75rem;
  margin: 0;
}

.idle a,
.results a {
  color: inherit;
  text-underline-offset: 4px;
}

.idle a:hover,
.results a:hover {
  text-decoration: underline;
}

.count {
  justify-self: start;
  white-space: nowrap;
  text-decoration: none;
}

.hint {
  text-align: center;
  color: oklch(0.556 0 0);
}

.upload {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.upload svg {
  width: 1rem;
  height: 1rem;
}

.upload-note {
  margin: 0.5rem 0 0;
  text-align: right;
  font-size: 0.875rem;
  color: oklch(0.556 0 0);
}

.upload-note.failed {
  color: #b91c1c;
}

.results {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.results a {
  font-size: 0.875rem;
  text-decoration: none;
}

@media (min-width: 40rem) {
  .results {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64rem) {
  .results {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.file {
  display: none;
}

.site-footer {
  margin-top: 3rem;
  border-top: 3px solid #00aba9;
  background: #071a1e;
  color: rgb(255 255 255 / 0.65);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.site-footer a {
  color: rgb(255 255 255 / 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: #00aba9;
}

.footer-inner {
  max-width: 62rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-brand {
  font-family: Baumans, system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  color: white;
}

.footer-brand:hover {
  color: white;
}

.footer-brand span {
  color: #00aba9;
}

.footer-blurb {
  max-width: 20rem;
  margin: 1rem 0 0;
  line-height: 1.625;
}

.footer-blurb + .footer-blurb {
  margin-top: 0.75rem;
}

.site-footer h2 {
  margin: 0;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-company ul {
  align-items: flex-start;
}

.footer-base {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: rgb(255 255 255 / 0.5);
}

.footer-base ul {
  margin: 0;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-base a {
  color: rgb(255 255 255 / 0.5);
}

.footer-base p {
  margin: 0;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-company {
    justify-self: end;
    text-align: right;
  }

  .footer-company ul {
    align-items: flex-end;
  }
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }
}
