/* Shared design settings. All homepage cards use the same width and height. */
:root {
  --paper: #f7f8fa;
  --ink: #25282d;
  --muted: #626770;
  --line: #d6d9de;
  --card-height: 7.5rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background-color: var(--paper);
  /* A visible + at every grid intersection; no dots. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M11 16h10m-5-5v10' stroke='%23cfd3da' stroke-width='1'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #245cc8; outline-offset: 5px; }
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 5%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.25rem; font-weight: 600; letter-spacing: -.6px; }
nav a { display: inline-block; font-size: .875rem; padding: 10px 0; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
nav span { margin-left: 8px; }
.workbench { width: min(900px, 90%); margin: 0 auto; padding: 64px 0; }
.nodes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
}
.engines { display: grid; gap: 16px; }
.node {
  min-width: 0;
  height: var(--card-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid #b9bec6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 8px #25282d08;
}
.node h2 { margin: 0; font-size: 1.125rem; line-height: 1.4; font-weight: 600; letter-spacing: -.3px; }
.node p { margin: 7px 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.node .arrow { font-size: 1.5rem; flex-shrink: 0; }
.evaluator { color: #fff; background: var(--ink); border-color: var(--ink); }
.evaluator p { color: #e0e3e8; }
.soon { background: #f7f8fa; border-color: var(--line); box-shadow: none; }
.soon h2 { color: #626770; }
a.node { transition: transform .15s, box-shadow .15s; }
a.node:hover { transform: translateY(-2px); box-shadow: 0 6px 12px #25282d14; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 20px; top: -80px; padding: 12px; background: white; z-index: 2; }
.skip:focus { top: 10px; }
.notice { font-size: .875rem; line-height: 1.6; }
/* Shared styles for the documentation and error placeholders. */
.document { max-width: 760px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 36px; }
.document h1 { font-size: 2rem; margin: 0 0 20px; }
.document p { line-height: 1.7; color: var(--muted); }
.eyebrow { font-family: monospace; font-size: .75rem; letter-spacing: 1px; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
footer { padding: 24px 5%; font-size: .75rem; color: var(--muted); }
@media (max-width: 640px) {
  .workbench { padding: 32px 0; }
  .nodes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .node { padding: 20px; }
  .document { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  a.node { transition: none; }
}
