/* Page: Fair Go — unique components only. */

/* === IN/OUT MATRIX TABLE === */
.matrix-wrap {
  margin: 36px 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  overflow-x: auto;
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.matrix thead {
  background: var(--ink);
  color: var(--paper);
}
.matrix thead th {
  padding: 16px 18px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  border-right: 1px solid rgba(244, 241, 234, 0.15);
}
.matrix thead th:first-child { text-align: left; }
.matrix thead th:last-child { border-right: none; }
.matrix tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  text-align: center;
  vertical-align: middle;
}
.matrix tbody td:last-child { border-right: none; }
.matrix tbody tr:last-child td { border-bottom: none; }
.matrix tbody tr:nth-child(even) { background: var(--accent-bg); }
.matrix .method-col {
  text-align: left !important;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.matrix .method-col small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* Matrix cell states */
.cell-yes {
  position: relative;
}
.cell-yes::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--sage);
  color: var(--paper);
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
}
.cell-no::before {
  content: '✕';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--muted);
  color: var(--paper);
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
}
.cell-trap {
  background: #fdf6f0 !important;
}
.cell-trap::before {
  content: '⚠';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--carmine);
  color: var(--paper);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}
.cell-trap .trap-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--carmine);
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.cell-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.cell-time small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Matrix legend */
.matrix-legend {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  background: var(--accent-bg);
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.yes { background: var(--sage); }
.legend-dot.no { background: var(--muted); }
.legend-dot.trap { background: var(--carmine); }

/* === TRAP CALLOUT === */
.trap-callout {
  background: linear-gradient(135deg, #fdf6f0 0%, #f9ebe1 100%);
  border: 2px solid var(--carmine);
  border-left-width: 8px;
  padding: 40px 44px;
  margin: 40px 0;
  position: relative;
}
.trap-callout::before {
  content: '⊘';
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 56px;
  color: var(--carmine);
  opacity: 0.18;
  line-height: 1;
}
.trap-callout .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--carmine);
  font-weight: 700;
  margin-bottom: 14px;
}
.trap-callout h4 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
  max-width: 28ch;
}
.trap-callout p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--ink-soft) !important;
  max-width: 66ch;
}
.trap-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--carmine);
}
.trap-stat .big {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--carmine);
  line-height: 1;
  margin-bottom: 6px;
}
.trap-stat .desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.trap-stat .desc strong { color: var(--ink); }

@media (max-width: 900px) {
  .trap-callout { padding: 28px 24px; }
  .trap-callout h4 { font-size: 22px; }
}
