.trial-main {
  width: min(100% - 80px, 1480px);
  margin: 0 auto;
  padding: 28px 0 88px;
}

.trial-main .breadcrumbs { margin-bottom: 30px; }

.trial-hero {
  padding: clamp(30px, 4vw, 52px);
  color: #f8fff5;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 90% 12%, rgba(135, 217, 120, .22), transparent 33%), linear-gradient(145deg, #071e15, #0b3b28);
  box-shadow: var(--shadow-soft);
}

.trial-eyebrow {
  margin-bottom: 14px;
  color: #9de39a;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.trial-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.trial-hero > p:not(.trial-eyebrow):not(.trial-snapshot) {
  margin-top: 22px;
  color: #d5e7d9;
  font-size: 1.12rem;
  text-wrap: pretty;
}

.trial-snapshot { margin-top: 24px; color: #c4dacb; font-size: .79rem; }

.trial-section {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #d7dad4;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 32px rgba(5, 18, 14, .045);
}

.trial-section-heading {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.trial-section-heading > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #164f2e;
  border: 1px solid #cbdcc8;
  border-radius: 50%;
  background: #e3efe0;
  font-size: .84rem;
  font-weight: 900;
}

.trial-section-heading h2 {
  margin-top: 3px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.05em;
}

.trial-cases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.trial-cases article,
.trial-method-grid article {
  min-width: 0;
  padding: 19px;
  border: 1px solid #dbe3d7;
  border-radius: 12px;
  background: #f6faf4;
}

.trial-cases strong { color: #195337; font-size: .94rem; }
.trial-cases img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.trial-cases p { margin-top: 9px; color: #4e5b51; font-size: .87rem; }
.trial-case-note { margin-top: 12px; color: #657268; font-size: .82rem; }
.trial-intro { margin-bottom: 22px; color: #4e5b51; }
.trial-intro a { color: #195337; text-decoration: underline; text-underline-offset: .12em; }
.trial-intro a:focus-visible { outline: 3px solid #8ac98d; outline-offset: 3px; }
.trial-mobile-sort-help { display: none; }

.trial-takeaways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trial-takeaway {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid #dbe3d7;
  border-radius: 12px;
  background: #f6faf4;
}

.trial-takeaway-number {
  color: #3c7447;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.trial-takeaway h3 {
  margin: 10px 0 14px;
  color: #195337;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.trial-takeaway > p:last-child,
.trial-practice-note p {
  color: #4e5b51;
  line-height: 1.65;
}

.trial-practice-note {
  margin-top: 14px;
  padding: 22px 26px;
  border-left: 4px solid #64a36e;
  border-radius: 0 12px 12px 0;
  background: #eaf3e8;
}

.trial-practice-note h3 {
  margin-bottom: 7px;
  color: #195337;
  font-size: 1.05rem;
}

.trial-model-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 20px 0 16px;
  padding: 14px 16px;
  border: 1px solid #d5ddd3;
  border-radius: 12px;
  background: #f6faf4;
}
.trial-model-filter-label {
  color: #385142;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}
.trial-model-filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.trial-model-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid #a8c1aa;
  border-radius: 9px;
  background: #fff;
  color: #195337;
  font: inherit;
  font-size: .83rem;
  font-weight: 800;
  cursor: pointer;
}
.trial-model-filter-button:hover { background: #eaf3e8; }
.trial-model-filter-button[aria-pressed="true"] { border-color: #195337; background: #195337; color: #fff; }
.trial-model-filter-button[aria-pressed="true"]:hover { background: #103f2a; }
.trial-model-filter-button:focus-visible { outline: 3px solid #8ac98d; outline-offset: 2px; }
.trial-model-filter-count {
  min-width: 2ch;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eaf3e8;
  color: #195337;
  font-size: .73rem;
  font-variant-numeric: tabular-nums;
}
.trial-model-filter-count:empty { display: none; }
.trial-model-filter-button[aria-pressed="true"] .trial-model-filter-count { background: #3d7050; color: #fff; }

.trial-results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.trial-results-toolbar label { display: flex; align-items: center; gap: 8px; color: #385142; font-size: .82rem; font-weight: 800; }
.trial-results-toolbar select { padding: 6px 9px; color: var(--ink); border: 1px solid #c7d1c7; border-radius: 8px; background: #fff; }
.trial-results-toolbar select:focus-visible { outline: 3px solid #8ac98d; outline-offset: 2px; }
.trial-results-summary { min-height: 25px; color: #5b6560; font-size: .85rem; }
.trial-mobile-sort { display: none; }
.trial-scroll-hint { margin: -4px 0 10px; color: #55645a; font-size: .78rem; }
@media (min-width: 1201px) { .trial-scroll-hint { display: none; } }

.trial-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #d5ddd3;
  border-radius: 12px;
  background: #fff;
}

.trial-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .82rem;
  line-height: 1.35;
}

.trial-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.trial-table th,
.trial-table td {
  padding: 11px 9px;
  border-bottom: 1px solid #e8ece6;
  text-align: left;
  vertical-align: middle;
}

.trial-table thead th {
  color: #31513b;
  background: #eaf3e8;
  font-size: .73rem;
  font-weight: 900;
  white-space: normal;
}

.trial-sort-button {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.trial-sort-button::after { content: " ↕"; color: #66816c; }
.trial-table th[aria-sort="descending"] .trial-sort-button::after { content: " ↓"; color: #195337; }
.trial-table th[aria-sort="ascending"] .trial-sort-button::after { content: " ↑"; color: #195337; }
.trial-sort-button:focus-visible { outline: 3px solid #8ac98d; outline-offset: 3px; }
.trial-table tbody tr:last-child td { border-bottom: 0; }
.trial-table tbody tr:nth-child(even) { background: #fbfcfa; }
.trial-table tbody tr:hover { background: #f1f8ee; }
.trial-table td:nth-child(1) { min-width: 82px; }
.trial-table td:nth-child(2) { min-width: 128px; font-weight: 800; }
.trial-table td:nth-child(3) { min-width: 102px; }
.trial-table td:nth-child(n+5) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.trial-table .trial-score-value { color: #195337; font-weight: 900; }
.trial-table td:nth-child(8) { font-weight: 800; }
.trial-availability { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: .7rem; font-weight: 900; white-space: nowrap; }
.trial-available { color: #195337; background: #e3f2de; }
.trial-historical { color: #5d665e; background: #ecefeb; }
.trial-table .trial-pending-value { color: #768078; font-size: .75rem; }
.trial-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; color: #385142; font-size: .85rem; }
.trial-pagination button { padding: 8px 14px; color: #195337; border: 1px solid #bad2bd; border-radius: 8px; background: #f6faf4; font: inherit; font-weight: 800; cursor: pointer; }
.trial-pagination button:hover:not(:disabled) { background: #e3efe0; }
.trial-pagination button:disabled { color: #9ca89d; border-color: #dce4da; cursor: default; }
.trial-pagination button:focus-visible { outline: 3px solid #8ac98d; outline-offset: 2px; }

.trial-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trial-method-grid h3 { color: #195337; font-size: 1rem; }
.trial-method-grid p { margin-top: 7px; color: #4e5b51; font-size: .9rem; }

@media (max-width: 1150px) {
  .trial-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .trial-main { width: min(100% - 34px, 1480px); padding-top: 20px; }
  .trial-main .breadcrumbs { margin-bottom: 22px; }
  .trial-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-takeaways { grid-template-columns: 1fr; }
  .trial-method-grid { grid-template-columns: 1fr; }
  .trial-desktop-sort-help { display: none; }
  .trial-mobile-sort-help { display: inline; }
  .trial-scroll-hint { display: none; }
  .trial-mobile-sort { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-bottom: 12px; }
  .trial-model-filter-label { width: 100%; }
  .trial-model-filter-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .trial-model-filter-button { min-width: 0; padding: 10px 8px; }
  .trial-mobile-sort label { grid-column: 1 / -1; color: #385142; font-size: .78rem; font-weight: 800; }
  .trial-mobile-sort select,
  .trial-mobile-sort button { min-width: 0; padding: 8px 10px; color: var(--ink); border: 1px solid #c7d1c7; border-radius: 8px; background: #fff; font: inherit; font-size: .82rem; }
  .trial-mobile-sort button { color: #195337; font-weight: 800; cursor: pointer; }
  .trial-mobile-sort :is(select, button):focus-visible { outline: 3px solid #8ac98d; outline-offset: 2px; }
  .trial-table-scroll { overflow: visible; border: 0; background: transparent; }
  .trial-table { display: block; min-width: 0; }
  .trial-table thead { display: none; }
  .trial-table tbody { display: grid; gap: 12px; }
  .trial-table tbody tr {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 5px;
    padding: 10px 14px;
    border: 1px solid #d5ddd3;
    border-radius: 12px;
    background: #fff;
  }
  .trial-table tbody tr:nth-child(even) { background: #fbfcfa; }
  .trial-table tbody td,
  .trial-table tbody td:nth-child(1),
  .trial-table tbody td:nth-child(2) {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid #edf0ea;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: normal;
  }
  .trial-table tbody td:last-child { border-bottom: 0; }
  .trial-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    color: #5b695f;
    font-size: .75rem;
    font-weight: 800;
    text-align: left;
  }
  .trial-table tbody td:nth-child(n+9):nth-child(-n+13) {
    display: block;
    grid-column: auto;
    min-width: 0;
    margin-top: 8px;
    padding: 7px 2px;
    border: 1px solid #e3eadf;
    border-radius: 7px;
    background: #f6faf4;
    text-align: center;
    font-weight: 800;
  }
  .trial-table tbody td:nth-child(n+9):nth-child(-n+13)::before {
    content: attr(data-short-label);
    display: block;
    color: #5b695f;
    font-size: .66rem;
    font-weight: 800;
    text-align: center;
  }
  .trial-table tbody td[colspan] { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .trial-hero { padding: 28px 22px; }
  .trial-section-heading { grid-template-columns: 42px 1fr; gap: 12px; }
  .trial-section-heading > span { width: 42px; height: 42px; }
  .trial-cases { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .trial-table tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
