.presentation-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: white;
}
.presentation-tabs button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--gc-navy);
  padding: 8px 18px;
  min-height: 44px;
  font-weight: 500;
  line-height: 1.25;
}
.presentation-tabs button:hover { background: var(--gc-light-grey); }
.presentation-tabs [aria-selected="true"] { background: var(--gc-blue); color: white; }
.presentation-tabs [aria-selected="true"]:hover { background: var(--gc-blue); }
[role="tabpanel"]:focus-visible {
  outline: 3px solid var(--gc-blue);
  outline-offset: 3px;
}
.presentation-heading { margin: 24px 0 20px; }
.presentation-heading h2 { margin-bottom: 4px; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.presentation-heading p, .volume-chart figcaption p, .pilot-card > p, .pilot-foot {
  color: var(--fg-2);
}
.market-grid, .pilot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.market-card, .volume-chart, .pilot-card {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: clamp(16px, 2vw, 28px);
}
.market-card h3 { font-size: 1.13rem; font-weight: 500; }
.market-card .metric { display: block; margin: 4px 0; font-size: clamp(2.6rem, 4vw, 3.5rem); line-height: 1.15; font-weight: 400; color: var(--gc-blue); }
.market-card p { max-width: 50ch; }
.market-card:first-child { background: var(--gc-navy); border-color: var(--gc-navy); color: white; }
.market-card:first-child h3, .market-card:first-child .metric { color: white; }
.volume-chart { margin: 16px 0 0; }
.volume-chart h3, .pilot-card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 500; }
.volume-chart figcaption p { margin: 4px 0 16px; font-size: .9rem; }
.quarter-bars + .quarter-bars { margin-top: 16px; }
.quarter-bars h4 { margin: 0 0 6px; font-size: .95rem; font-weight: 500; }
.quarter-bars h4 span { margin-left: 6px; font-size: .85rem; color: var(--muted); font-weight: 400; }
.chart-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 5rem; gap: 12px; align-items: center; padding: 3px 0; font-size: .9rem; }
.chart-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.bar-track { height: 18px; border-radius: 3px; background: var(--gc-light-grey); overflow: hidden; }
.bar-track i { display: block; height: 100%; width: calc(100% * var(--orders-millions) / 1200); background: var(--gc-blue); }
.wallet-bar .bar-track i { background: var(--gc-teal); }
.pilot-card { display: flex; flex-direction: column; gap: 8px; }
.pilot-card h3 { color: var(--gc-blue); }
.pilot-card pre {
  margin: auto 0 0;
  border-radius: 8px;
  padding: 16px;
  background: var(--gc-navy);
  color: white;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: .93rem/1.55 var(--font-mono);
}
.pilot-card > p + pre { margin-top: 12px; }
.pilot-foot { margin: 16px 0 0; }
.pilot-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: clamp(16px, 2vw, 28px);
  list-style: none;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: white;
}
.pilot-timeline li { display: flex; flex-direction: column; gap: 8px; }
.pilot-timeline .timeline-day {
  display: flex; align-items: center; gap: 8px;
  color: var(--gc-blue); font-weight: 500;
}
.timeline-day::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gc-blue); }
.pilot-timeline li:not(:last-child) .timeline-day::after { content: ""; flex: 1; height: 1px; background: var(--border-1); }
.pilot-timeline h3 { color: var(--gc-navy); font-size: 1.15rem; }
.pilot-timeline li > p:not(.timeline-day) { color: var(--fg-2); font-size: .92rem; }
.pilot-timeline p strong { display: block; color: var(--gc-navy); }
.timeline-threshold { margin-top: auto; padding-top: 8px; }
@media (max-width: 720px) {
  .pilot-timeline { grid-template-columns: 1fr; gap: 0; }
  .pilot-timeline li { position: relative; padding-left: 20px; padding-bottom: 20px; gap: 4px; }
  .pilot-timeline li:last-child { padding-bottom: 0; }
  .pilot-timeline li:not(:last-child)::before { content: ""; position: absolute; top: 12px; bottom: -12px; left: 4px; width: 1px; background: var(--border-1); }
  .pilot-timeline .timeline-day::before { position: absolute; left: 0; }
  .pilot-timeline li:not(:last-child) .timeline-day::after { display: none; }
  .timeline-threshold { padding-top: 0; }
}
.subprocessors {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) 3fr;
  align-items: center;
  gap: 20px;
  margin: 0;
  grid-column: 1 / -1;
  padding: 20px 24px;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: white;
}
.subprocessors figcaption strong { display: block; max-width: 18ch; font-size: 1.1rem; line-height: 1.35; }
.subprocessors figcaption a { display: inline-block; margin-top: 6px; font-size: .85rem; }
.subprocessors ul { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.subprocessors li { display: grid; grid-template-rows: 46px auto; align-items: center; justify-items: center; gap: 6px; text-align: center; }
.subprocessors img { height: 38px; width: auto; max-width: 100%; object-fit: contain; }
.subprocessors span { color: var(--fg-2); font-size: .88rem; }
@media (max-width: 850px) {
  .subprocessors { grid-template-columns: 1fr; gap: 12px; }
  .subprocessors figcaption strong { max-width: none; }
}
@media (max-width: 520px) {
  .subprocessors { padding: 16px; }
  .subprocessors ul { grid-template-columns: 1fr; gap: 0; }
  .subprocessors li { grid-template: 52px / 96px 1fr; text-align: left; justify-items: start; gap: 12px; border-top: 1px solid var(--border-2); }
  .subprocessors img { height: 30px; }
}
@media (max-width: 720px) {
  .pilot-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
  .presentation-tabs { width: 100%; gap: 0; margin-bottom: 12px; }
  .presentation-tabs button { flex: auto; padding: 6px; font-size: .87rem; }
  .presentation-heading { margin: 16px 0; }
  .market-grid { grid-template-columns: 1fr; gap: 8px; }
  .market-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; }
  .market-card p { grid-column: 1 / -1; }
  .market-card .metric { margin: 0; font-size: 2rem; }
  .chart-row { grid-template-columns: 5.5rem minmax(0,1fr) 3.8rem; gap: 6px; font-size: .8rem; }
  .bar-track { height: 14px; }
}
