/*
 * Wayfinder home. Tokens and base come from the Org Chart's copies (the suite build puts
 * them at the root). Each tool is an object: picture, name, one line of facts.
 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

main { padding-block: var(--space-l) var(--space-xl); }
h1 { font-size: var(--fs-h1); }
.lead { margin-top: var(--space-2xs); }
.tools { list-style: none; padding: 0; margin: var(--space-l) 0 var(--space-m); display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
.tool {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  color: var(--ink); text-decoration: none;
  border: var(--border) solid var(--line); border-radius: var(--r-m); background: var(--surface); padding: 10px 10px 14px;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.tool img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--r-s); background: var(--surface-2); margin-bottom: 6px; }
.tool .name { font-size: var(--fs-lead); font-weight: var(--w-display); display: flex; align-items: baseline; gap: 10px; }
.tool .stage { font-size: var(--fs-badge); font-weight: var(--w-strong); color: var(--ink-2); text-transform: var(--label-case); letter-spacing: var(--label-track); }
.tool .facts { color: var(--ink-2); font-size: var(--fs-ui); }
.tool.soon { opacity: 0.6; }
.tool:active:not(.soon) { transform: scale(0.99); }
.small { font-size: var(--fs-small); }
@media (hover: hover) and (pointer: fine) {
  a.tool:hover { border-color: var(--accent); }
}
