/* Hub landing page (www/) */

.tools {
  display: grid;
  gap: 14px;
}

.tool {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.tool:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 28px -12px rgba(31, 92, 81, 0.35);
}

.tool:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.tool .title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
}

.tool .desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}

.tool .host {
  grid-column: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
}

.tool .arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-deep);
  font-size: 18px;
  line-height: 1;
}

.tool:hover .arrow {
  background: #E7F1EC;
}

.tool.soon {
  border-style: dashed;
  background: var(--paper-dim);
  cursor: default;
  pointer-events: none;
}

.tool.soon .arrow {
  opacity: 0.35;
}

.tool.soon .host {
  color: var(--ink-soft);
}

.about h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.about p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.about p:last-child {
  margin-bottom: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--paper-dim);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .tool {
    grid-template-columns: 1fr;
  }

  .tool .arrow {
    display: none;
  }
}
