.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--coral); border-color: var(--coral); }
.button-primary:hover { background: #c9553e; }
.button-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-dark:hover { color: var(--ink); background: var(--white); }
.button-quiet { color: var(--ink); background: transparent; }
.button-quiet.light { color: var(--white); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; border-bottom: 1px solid currentColor; }
.text-link.light { color: var(--white); }
.text-button { padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr); gap: 80px; align-items: end; margin-bottom: 64px; }
.split-heading h2 { max-width: 900px; margin-bottom: 0; }
.split-heading > p { margin-bottom: 4px; font-size: 18px; }
.section-header { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 54px; }
.section-header h2 { max-width: 900px; margin-bottom: 0; }
.section-header.inverse h2 { color: var(--white); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-list span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--white); font-size: 12px; font-weight: 700; }

.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.agent-card { min-width: 0; overflow: hidden; background: var(--white); border-radius: 4px; }
.agent-card-image { display: block; height: 430px; overflow: hidden; background: #272d31; }
.agent-card-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 320ms ease; }
.agent-card:hover .agent-card-image img { transform: scale(1.025); }
.agent-card-copy { min-height: 288px; padding: 26px; color: var(--ink); border-top: 5px solid var(--green); }
.accent-coral .agent-card-copy, .accent-coral.agent-index-item { border-color: var(--coral); }
.accent-cobalt .agent-card-copy, .accent-cobalt.agent-index-item { border-color: var(--cobalt); }
.accent-burgundy .agent-card-copy, .accent-burgundy.agent-index-item { border-color: var(--burgundy); }
.accent-emerald .agent-card-copy, .accent-emerald.agent-index-item { border-color: var(--emerald); }
.accent-violet .agent-card-copy, .accent-violet.agent-index-item { border-color: var(--violet); }
.accent-gold .agent-card-copy, .accent-gold.agent-index-item { border-color: var(--gold); }
.agent-order { display: block; margin-bottom: 30px; color: var(--muted); font-size: 12px; font-weight: 800; }
.agent-card h3 { margin-bottom: 14px; }
.agent-card h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.agent-card p { min-height: 96px; margin-bottom: 22px; font-size: 14px; }
.stage-line { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }

.check-list, .risk-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li, .risk-list li { position: relative; padding: 15px 0 15px 30px; border-top: 1px solid var(--line); }
.check-list li::before, .risk-list li::before { position: absolute; left: 0; top: 16px; font-weight: 800; }
.check-list li::before { content: "+"; color: var(--green); }
.risk-list li::before { content: "!"; color: var(--danger); }

.filter-button { min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter-button:hover, .filter-button.active { color: var(--white); background: var(--ink); border-color: var(--ink); }

@media (max-width: 1100px) {
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-card-image { height: 470px; }
}

@media (max-width: 760px) {
  .split-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .section-header { align-items: start; flex-direction: column; margin-bottom: 38px; }
  .agent-grid { grid-template-columns: 1fr; }
  .agent-card-image { height: 430px; }
  .agent-card-copy { min-height: auto; }
  .agent-card p { min-height: auto; }
}
