/* Styles for the Our AI models overview, synthetic training study, & external benchmarks page, aligned with site.css. */
.ai-models-notice{margin-bottom:22px}
.ai-models-notice b{display:block;margin-bottom:4px;font-weight:700}
.ai-models-notice p{margin:0}
.ai-models-actions{margin-bottom:28px}
.ai-models-actions .button{min-height:46px;padding:10px 18px;gap:8px}
.ai-models-actions .icon{width:18px;height:18px}
.ai-models-primary{background:var(--ink);border-color:var(--ink);color:var(--white)}
@media (hover:hover){.ai-models-primary:hover{background:#333;border-color:#333;color:#fff}}

.ai-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-card);margin:0 0 36px}
.ai-stat-card,.ai-synth-card{background:var(--paper);border:0;border-radius:0;box-shadow:none;padding:18px 20px}
.ai-stat-value{font-size:34px;font-weight:700;line-height:1.15;color:var(--ink);margin:0 0 6px;font-variant-numeric:tabular-nums}
.ai-stat-label{font-size:15px;font-weight:700;color:var(--ink-soft);margin:0 0 6px}
.ai-stat-detail{font-size:13px;line-height:1.5;color:var(--muted);margin:0}

.ai-plain-steps{padding-left:20px;margin:14px 0 20px;font-size:15px}
.ai-plain-steps li{margin-bottom:10px;line-height:1.6}

.ai-synth-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-card);margin:20px 0 24px}
.ai-synth-card{padding:16px 18px}
.ai-synth-card .ai-stat-value{font-size:30px}

.ai-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;margin:18px 0 22px}
.ai-impact-card{background:var(--light);border:0;border-radius:0;padding:14px 16px}
.ai-impact-label{font-size:13px;font-weight:700;color:#80632b;margin:0 0 6px}
.ai-impact-jump{font-size:22px;line-height:1.2;color:#262323;margin:0 0 6px;font-variant-numeric:tabular-nums}
.ai-impact-before{color:var(--muted);font-weight:400;font-size:18px}
.ai-impact-after{color:#176652}
.ai-impact-note{font-size:13px;line-height:1.45;color:var(--ink);margin:0}

.ai-model-cards{display:grid;gap:14px;margin:20px 0 14px}
.ai-model-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:20px 22px}
.ai-model-card-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:10px}
.ai-model-card-head .step-number{margin-right:0}
.ai-model-card-head h3{font-size:19px;margin:0 0 2px}
.ai-model-scope{font-size:13px;font-weight:700;color:#80632b;margin:0}
.ai-model-card>p{font-size:14px;line-height:1.6;color:var(--ink);margin:0}

.ai-metrics-table th,.ai-metrics-table td{vertical-align:top}
.ai-metrics-table td{font-variant-numeric:tabular-nums}
.ai-table-sub{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:2px;white-space:normal}
.ai-benchmark-table tbody th,.ai-synth-table tbody th,.ai-synth-vein-table tbody th{white-space:normal;min-width:136px}
.ai-benchmark-table td:nth-of-type(-n+3),.ai-benchmark-table td:nth-of-type(-n+3) .ai-table-sub{white-space:nowrap}
.ai-synth-table td:nth-of-type(-n+2),.ai-synth-vein-table td:nth-of-type(-n+2){white-space:nowrap}
.ai-synth-table td:nth-of-type(-n+2) .ai-table-sub,.ai-synth-vein-table td:nth-of-type(-n+2) .ai-table-sub{white-space:normal}
.ai-table-total th,.ai-table-total td{background:#f6f6f6;font-weight:700;color:#262323}

.ai-review-list{padding-left:20px;margin:12px 0 0;font-size:15px}
.ai-review-list li{margin-bottom:10px;line-height:1.6}

.ai-models-cta{margin-top:28px;background:var(--paper);border-color:var(--line)}
.ai-models-cta .eyebrow{color:#80632b;margin-bottom:8px}
.ai-models-cta h2{font-size:24px}
.ai-models-cta .button-row{margin-top:14px}
.ai-models-cta .button .icon{width:17px;height:17px}

@media (max-width:980px){
  .ai-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ai-synth-highlights,.ai-impact-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .ai-stats-grid{grid-template-columns:1fr;gap:10px}
  .ai-stat-card,.ai-synth-card{padding:16px 18px}
  .ai-stat-value{font-size:30px}
  .ai-model-card{padding:16px 18px}
  .ai-metrics-table th,.ai-metrics-table td{padding:10px 7px;font-size:13px}
  .ai-models-layout .table-scroll:has(.ai-benchmark-table),
  .ai-models-layout .table-scroll:has(.ai-synth-table),
  .ai-models-layout .table-scroll:has(.ai-synth-vein-table){margin-left:0;margin-right:0;overflow:visible}
  .ai-benchmark-table thead,.ai-synth-table thead,.ai-synth-vein-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
  .ai-benchmark-table,.ai-benchmark-table caption,.ai-benchmark-table tbody,.ai-benchmark-table tr,.ai-benchmark-table th,.ai-benchmark-table td,
  .ai-synth-table,.ai-synth-table caption,.ai-synth-table tbody,.ai-synth-table tr,.ai-synth-table th,.ai-synth-table td,
  .ai-synth-vein-table,.ai-synth-vein-table caption,.ai-synth-vein-table tbody,.ai-synth-vein-table tr,.ai-synth-vein-table th,.ai-synth-vein-table td{display:block;width:100%}
  .ai-benchmark-table td:nth-of-type(-n+3),.ai-benchmark-table td:nth-of-type(-n+3) .ai-table-sub,
  .ai-synth-table td:nth-of-type(-n+2),.ai-synth-vein-table td:nth-of-type(-n+2){white-space:normal}
  .ai-benchmark-table tr,.ai-synth-table tr,.ai-synth-vein-table tr{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:14px 16px;margin-bottom:12px}
  .ai-benchmark-table tr.ai-table-total,.ai-synth-table tr.ai-table-total{background:#f6f6f6;border-color:#d7d7d7}
  .ai-benchmark-table th,.ai-benchmark-table td,
  .ai-synth-table th,.ai-synth-table td,
  .ai-synth-vein-table th,.ai-synth-vein-table td{border:0;padding:0;min-width:0}
  .ai-benchmark-table tbody th,.ai-synth-table tbody th,.ai-synth-vein-table tbody th{font-size:16px;font-weight:700;color:#262323;margin-bottom:8px}
  .ai-benchmark-table td:nth-of-type(1),.ai-benchmark-table td:nth-of-type(2),.ai-benchmark-table td:nth-of-type(3),
  .ai-synth-table td:nth-of-type(1),.ai-synth-table td:nth-of-type(2),
  .ai-synth-vein-table td:nth-of-type(1),.ai-synth-vein-table td:nth-of-type(2){display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin:0 0 6px;font-size:14px}
  .ai-benchmark-table td:nth-of-type(1)::before{content:"Internal check: ";font-size:13px;font-weight:700;color:var(--ink)}
  .ai-benchmark-table td:nth-of-type(2)::before{content:"Internal test: ";font-size:13px;font-weight:700;color:var(--ink)}
  .ai-benchmark-table td:nth-of-type(3)::before{content:"Outside scans: ";font-size:13px;font-weight:700;color:var(--ink)}
  .ai-synth-table td:nth-of-type(1)::before,.ai-synth-vein-table td:nth-of-type(1)::before{content:"With ECG: ";font-size:13px;font-weight:700;color:var(--ink)}
  .ai-synth-table td:nth-of-type(2)::before,.ai-synth-vein-table td:nth-of-type(2)::before{content:"No ECG: ";font-size:13px;font-weight:700;color:var(--ink)}
  .ai-benchmark-table td:nth-of-type(1) .ai-table-sub,.ai-benchmark-table td:nth-of-type(2) .ai-table-sub,.ai-benchmark-table td:nth-of-type(3) .ai-table-sub,
  .ai-synth-table td:nth-of-type(1) .ai-table-sub,.ai-synth-table td:nth-of-type(2) .ai-table-sub,
  .ai-synth-vein-table td:nth-of-type(1) .ai-table-sub,.ai-synth-vein-table td:nth-of-type(2) .ai-table-sub{display:inline;margin:0}
  .ai-benchmark-table td:nth-of-type(4),.ai-synth-table td:nth-of-type(3),.ai-synth-vein-table td:nth-of-type(3){font-size:13px;line-height:1.55;color:var(--ink);margin-top:4px;padding-top:8px;border-top:1px solid var(--line)}
}
