.robustness {
  background: #fff;
}

.hero.band {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero .kicker {
  margin-top: .7rem;
  font-size: 1.15rem;
}

.hero-grid {
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: .85rem;
  font-size: clamp(2.7rem, 4.2vw, 4.4rem);
  line-height: 1.04;
}

.hero .lead {
  margin-bottom: 0;
  font-size: 1rem;
}

.hero .scope div {
  padding: .55rem 0;
}

.hero .scope dt {
  font-size: 1.9rem;
}

.robustness > h2 {
  max-width: 900px;
}

.robust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.robust-grid article {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.robust-grid article:last-child {
  border-right: 0;
}

.robust-grid strong {
  font: 2rem Georgia, serif;
}

.robust-grid span,
.robust-note {
  color: var(--muted);
}

.robust-note {
  max-width: 850px;
  margin-top: 2rem;
}

.frame-section {
  background: #eaf0ed;
}

.frame-section .section-head {
  margin-top: 1rem;
}

.frame-controls {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(190px, 1fr);
  gap: 1rem;
  margin: 1.8rem 0 1rem;
}

.frame-controls label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 800;
}

.frame-controls input,
.frame-controls select {
  width: 100%;
  border: 1px solid #9caeb2;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: .8rem;
}

.frame-table-wrap {
  max-height: 650px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.frame-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}

.frame-table th,
.frame-table td {
  padding: .72rem .8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.frame-table th {
  position: sticky;
  top: 0;
  background: var(--ink);
  color: #fff;
}

.frame-table td:first-child {
  white-space: nowrap;
  font-weight: 800;
}

.frame-table td:last-child {
  color: var(--muted);
}

footer a {
  color: #dce4ec;
}

.controls {
  grid-template-columns: 2fr repeat(3, 1fr);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.case-head {
  align-items: flex-start;
}

.case-head .badge {
  flex: 0 0 auto;
  white-space: nowrap;
}

.case h4 {
  margin: 1.1rem 0 .6rem;
  font: 1.22rem Georgia, serif;
}

.case p {
  overflow-wrap: anywhere;
}

.source-list {
  display: grid;
  gap: .6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.source-list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem;
}

.source-check {
  color: var(--muted);
  font-size: .78rem;
}

.source-alternative a {
  color: #155d61;
  font-weight: 800;
}

.case-alert {
  padding: .65rem .8rem;
  border-left: 3px solid var(--accent);
  background: #fff3ec;
  font-size: .88rem;
}

@media (max-width: 800px) {
  .hero-grid {
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.6rem);
  }

  .hero .scope {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
  }

  .hero .scope div {
    display: block;
  }

  .hero .scope dd {
    font-size: .75rem;
  }

  .controls,
  .case-grid,
  .frame-controls {
    grid-template-columns: 1fr;
  }

  .frame-table {
    min-width: 880px;
  }

  .robust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .robust-grid article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .hero.band {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .hero .scope {
    gap: .4rem;
  }

  .hero .scope dt {
    font-size: 1.6rem;
  }

  .robust-grid {
    grid-template-columns: 1fr;
  }

  .robust-grid article {
    border-right: 0;
  }
}
