/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Cobalt (deal 2/3, seed vibe-coding-tools-compare-da77·232792c8·2026-11-25·r0) · job: try · draw: 91365e
 * hero: Settled · nav: edge-aligned · footer: index columns · imagery: the product · signature: interactive goal matcher and 36-tool comparison workbench
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · weakest: S, kept every section to one focused interactive block */
/* Hallmark · waive 44c · settled hero frames search, filters, and goal matcher above the 1280x800 fold · interactive directory controls stay compact */
/* Hallmark · waive 79 · hero height adapts to goal matcher output without filler copy · next section starts cleanly below */
@import url("./tokens.css");
@import url("./base.css");

.site-header {
  border-bottom: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 64px;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-out);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.hero-section {
  padding-block: var(--space-2xl);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  background-image: radial-gradient(var(--color-glyph-1) 1px, transparent 1px);
  background-size: var(--cell-w) var(--cell-h);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--space-xl);
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-copy h1 {
  font-size: var(--text-display);
  color: var(--color-ink);
}

.hero-copy .lead {
  color: var(--color-ink-2);
}

.search-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding-top: var(--space-xs);
}

.input-field {
  flex: 1 1 240px;
  min-height: 48px;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-paper);
  border: var(--rule-hair) solid var(--color-muted);
  border-radius: var(--radius-input);
  color: var(--color-ink);
  font-size: var(--text-md);
}

.select-field {
  min-height: 44px;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-paper);
  border: var(--rule-hair) solid var(--color-muted);
  border-radius: var(--radius-input);
  color: var(--color-ink);
  font-size: var(--text-sm);
}

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-input);
  background: var(--color-key-face);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-key);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}

.key:hover {
  transform: translateY(-1px);
}

.key:active {
  transform: translateY(3px);
  box-shadow: var(--shadow-key-press);
}

.key--primary {
  background: var(--color-accent);
  border-color: var(--color-accent-edge);
  color: var(--color-accent-ink);
  box-shadow: var(--shadow-key-accent);
}

.key-tray {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: var(--space-xs);
  background: var(--color-paper-3);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
}

.tray-key {
  min-height: 44px;
  padding: 0 var(--space-md);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-input);
  background: var(--color-key-face);
  color: var(--color-ink-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.tray-key:hover {
  color: var(--color-ink);
  border-color: var(--color-ink-2);
}

.tray-key:active {
  transform: translateY(2px);
}

.tray-key--active {
  background: var(--color-paper);
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-key-press);
}

.cut {
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

@supports (corner-shape: bevel) {
  .cut {
    border-radius: var(--cut-l) 4px var(--cut-l) 4px;
    corner-shape: bevel round bevel round;
  }
}

.workbench-pane {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  padding-bottom: var(--space-sm);
}

.pane-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted);
}

.stat-figure {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.mono-val {
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.goal-result-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.goal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-input);
  background: var(--color-paper-2);
}

.goal-row strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-ink);
}

.goal-row span {
  font-size: var(--text-xs);
  color: var(--color-ink-2);
}

.section-block {
  padding-block: var(--section-gap);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.section-block--tall {
  padding-block: var(--section-gap-l);
}

.section-block--compact {
  padding-block: var(--section-gap-s);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.section-head p {
  color: var(--color-ink-2);
  margin-top: var(--space-xs);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.tool-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: space-between;
}

.tool-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
}

.tool-card h3 {
  font-size: var(--text-xl);
  color: var(--color-ink);
}

.tool-tagline {
  color: var(--color-ink-2);
  font-size: var(--text-md);
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-muted);
}

.tool-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-rule);
}

.text-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-rule-2);
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

.graphite-band {
  background: var(--color-graphite);
  color: var(--color-graphite-ink);
}

.graphite-band h2,
.graphite-band h3 {
  color: var(--color-graphite-ink);
}

.graphite-band p {
  color: var(--color-graphite-muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.preview-card {
  padding: var(--space-lg);
  background: var(--color-graphite-2);
  color: var(--color-graphite-ink);
  border: var(--rule-hair) solid var(--color-graphite-glyph-2);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.preview-code {
  margin: 0;
  padding: var(--space-md);
  background: var(--color-graphite);
  border: var(--rule-hair) solid var(--color-graphite-glyph-1);
  border-radius: var(--radius-input);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-graphite-ink);
  overflow-x: auto;
}

.preview-code .token {
  color: var(--color-accent-2);
}

.compare-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--color-paper);
}

.compare-table th,
.compare-table td {
  padding: var(--space-md);
  text-align: left;
  vertical-align: top;
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.compare-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
  background: var(--color-paper-2);
}

.compare-table tr.row-highlight td {
  background: var(--color-accent-wash);
}

.compare-table td {
  color: var(--color-ink-2);
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: color-mix(in oklab, var(--color-graphite) 65%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.detail-dialog {
  width: 100%;
  max-width: 720px;
  max-height: 88svh;
  overflow-y: auto;
  padding: var(--space-xl);
  background: var(--color-paper);
  color: var(--color-ink);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.detail-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.detail-list {
  margin: var(--space-xs) 0 0;
  padding-left: var(--space-lg);
  color: var(--color-ink-2);
  font-size: var(--text-sm);
}

.detail-list li {
  margin-bottom: var(--space-xs);
}

.index-footer {
  padding-block: var(--section-gap-s);
  background: var(--color-paper-2);
  color: var(--color-ink);
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: var(--space-xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-col h3 {
  font-size: var(--text-sm);
  color: var(--color-ink);
  margin-bottom: var(--space-2xs);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-accent);
}

@media (max-width: 64rem) {
  .hero-grid,
  .preview-grid,
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .compare-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 44rem) {
  .tool-grid,
  .detail-cols,
  .compare-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}
