/* Demo hub: the five sample tools as numbered rows, each with a small
   isometric line drawing of what the tool handles. Uses the site tokens
   from styles.css (paper, ink, yellow, olive, hairline rules). */
.hub { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(70px, 9vw, 130px); }
.hub-note {
  max-width: 860px; margin: 0 0 clamp(40px, 5vw, 64px); padding: 18px 20px;
  background: var(--paper-2); border-left: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  font-size: 17px; color: var(--muted);
}
.hub-note strong { color: var(--ink); font-weight: 700; margin-right: 6px; }

.tools { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.tool {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(220px, 340px); gap: clamp(20px, 3vw, 48px);
  align-items: center; padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line);
}
.tool-head { align-self: start; display: grid; gap: 4px; padding-top: 6px; }
.tool-no { font-family: var(--display); font-size: 48px; line-height: 1; }
.tool-kind { font-size: 14px; font-weight: 600; color: var(--olive); }
.tool-body h2 { font-family: var(--display); font-size: clamp(36px, 3.4vw, 54px); line-height: 1.05; margin-bottom: 12px; }
.tool-body p { color: var(--muted); max-width: 560px; margin-bottom: 22px; }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.tool-illo svg { width: 100%; height: auto; overflow: visible; display: block; }
.tool-illo rect, .tool-illo path, .tool-illo circle, .tool-illo polygon { fill: var(--paper); stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; }
.tool-illo path.l { fill: none; }
.tool-illo .il-floor { fill: none; stroke: var(--line-2); stroke-dasharray: 3 4; }
.tool-illo .il-accent { fill: var(--yellow); }
.tool-illo .il-soft { fill: var(--paper-2); }
.il-layer { transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.tool:hover .il-layer, .tool:focus-within .il-layer, .tool.is-in .il-layer { transform: translateY(calc(var(--lift) * -1)); }

.tool--preview { grid-template-columns: 150px minmax(0, 1fr) minmax(260px, 520px); }
.tool-preview { margin: 0; }
.tool-preview img { width: 100%; height: auto; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper-2); }
.tool-preview figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

.process {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px);
  margin-top: clamp(64px, 8vw, 110px); padding-top: 40px; border-top: 1px solid var(--ink);
}
.process h2 { font-family: var(--display); font-size: clamp(40px, 4.6vw, 72px); line-height: 1.04; }
.process-copy > p { color: var(--muted); font-size: 18px; max-width: 560px; }
.process-steps { list-style: none; margin: 26px 0; padding: 0; border-top: 1px solid var(--line); }
.process-steps a {
  display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: 18px;
  background-image: linear-gradient(var(--yellow), var(--yellow)); background-repeat: no-repeat; background-size: 0 100%;
  transition: background-size .35s cubic-bezier(.2, .8, .2, 1);
}
.process-steps a:hover { background-size: 100% 100%; }
.process-steps span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 22px; }
.process-foot { font-size: 15px !important; }

@media (max-width: 1080px) {
  .tool, .tool--preview { grid-template-columns: 110px minmax(0, 1fr); }
  .tool-illo { display: none; }
  .tool-preview { grid-column: 2; }
}
@media (max-width: 760px) {
  .tool, .tool--preview { grid-template-columns: 1fr; gap: 14px; }
  .tool-head { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
  .tool-no { font-size: 36px; }
  .tool-preview { grid-column: 1; }
  .process { grid-template-columns: 1fr; }
}
