* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface-1);
  color: var(--text-primary);
  font:
    16px/1.6 ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 42rem;
  /* 16px side gutter on phones, never a horizontal scrollbar. */
  margin: 0 auto;
  padding: 5rem 1rem 3rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand svg {
  width: 40px;
  height: 40px;
  color: var(--color-loom-700);
  flex: none;
}
.brand h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

h2 {
  margin: 3.5rem 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.tool {
  display: block;
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--surface-0);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.tool:hover,
.tool:focus-visible {
  border-color: var(--color-loom-700);
  transform: translateY(-1px);
}
.tool:focus-visible {
  outline: 2px solid var(--color-loom-700);
  outline-offset: 3px;
}

.tool-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.tool-name {
  font-size: 1.125rem;
  font-weight: 600;
}
.tool-go {
  font-size: 0.875rem;
  color: var(--color-loom-700);
  white-space: nowrap;
}
.tool p {
  margin: 0.5rem 0 0;
  color: var(--text-secondary);
}

.pending {
  margin: 1rem 0 0;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--border-default);
  border-radius: 12px;
  color: var(--text-tertiary);
  font-size: 0.9375rem;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-default);
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
footer a {
  color: var(--color-loom-700);
}
footer a:hover {
  color: var(--color-loom-800);
}

@media (max-width: 480px) {
  main {
    padding-top: 3rem;
  }
  .tool-head {
    flex-direction: column;
    gap: 0.25rem;
  }
}

a {
  color: var(--color-loom-700);
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 2px solid var(--color-loom-500);
  outline-offset: 3px;
}
.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.site-nav a[aria-current='page'] {
  font-weight: 650;
}
.brand-link {
  text-decoration: none;
  color: inherit;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
article {
  margin-top: 2.5rem;
}
article h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
article h2 {
  font-size: 1.25rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-primary);
  margin-top: 2.5rem;
}
article h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.4rem;
}
article p,
article dd {
  color: var(--text-secondary);
}
article dt {
  font-weight: 650;
  margin-top: 1.25rem;
}
article dd {
  margin: 0.3rem 0 0;
}
.tool-data {
  font-size: 0.875rem;
}
@media (prefers-color-scheme: dark) {
  a,
  footer a,
  .tool-go {
    color: var(--color-loom-300);
  }
  footer a:hover {
    color: var(--color-loom-200);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tool {
    transition: none;
  }
  .tool:hover,
  .tool:focus-visible {
    transform: none;
  }
}
