.bench-home {
  padding: 0 0 clamp(72px, 10vh, 110px);
}
.bench-home-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.bench-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.bench-home-head .h2 {
  max-width: 22ch;
}
.bench-lead {
  color: var(--text-2);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  max-width: 58ch;
  text-wrap: pretty;
}
.bench-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 14px;
}
.aa-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #e5e8e3;
  padding: 4px;
  border-radius: 12px;
}
.aa-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #46504b;
  font: inherit;
  font-size: 13.5px;
  font-weight: 550;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.aa-tab:hover {
  color: #101614;
}
.aa-tab[aria-selected="true"] {
  background: #ffffff;
  color: #101614;
  box-shadow: 0 1px 3px rgb(0 0 0 / .08);
}
.bench-card {
  background: #ffffff;
  border: 1px solid #e3e7e4;
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 10px 30px -22px rgb(13 19 17 / .25);
}
.bench-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 22px;
}
.bench-card-head h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: #101614;
}
.bench-card-head p {
  margin: 0;
  font-size: 13.5px;
  color: #5b6661;
  max-width: 68ch;
  line-height: 1.45;
}
.bench-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef8f2;
  border: 1px solid #c6e8d4;
  color: #16523b;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.bars-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(84px, 1fr));
  gap: 14px;
  align-items: end;
  padding: 12px 6px 6px;
  overflow-x: auto;
}
.bar-col {
  display: grid;
  justify-items: center;
  gap: 10px;
  cursor: pointer;
}
.bar-track {
  width: 100%;
  max-width: 82px;
  height: 245px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bar-fill {
  width: 100%;
  border-radius: 10px 10px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: height 340ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms ease, filter 160ms ease;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22);
}
.bar-col.is-elden .bar-fill {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .28),
    0 12px 28px -12px rgb(27 94 69 / .55);
}
.bar-col:hover .bar-fill {
  transform: translateY(-3px);
  filter: brightness(1.06);
}
.bar-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #f4f6f5;
  border: 1px solid #e1e5e2;
}
.bar-logo img {
  width: 15px;
  height: 15px;
  display: block;
  object-fit: contain;
}
.bar-logo.is-dark-bg {
  background: #131917;
  border-color: #24302b;
}
.bar-logo.is-dark-bg img {
  filter: brightness(0) invert(1);
}
.bar-label-wrap {
  height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.bar-label {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.25;
  color: #26302c;
  text-align: center;
  transform: rotate(-28deg);
  transform-origin: top center;
  max-width: 112px;
}
.bar-col.is-elden .bar-label {
  color: #134a36;
  font-weight: 700;
}
.bench-foot {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #edf0ee;
  font-size: 12.5px;
  color: #66736d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}
.bench-foot a {
  color: var(--accent);
  font-weight: 550;
  text-decoration: none;
}
.bench-foot a:hover {
  text-decoration: underline;
}
.bench-tooltip {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  background: #111815;
  color: #f4f7f5;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 18px 42px -14px rgb(0 0 0 / .45);
  min-width: 225px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}
.bench-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.bench-tooltip strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #fff;
}
.bench-tooltip-meta {
  color: #a9bab2;
  font-size: 11.5px;
}
@media (max-width: 720px) {
  .bar-track { height: 205px; }
  .bar-label { font-size: 11px; }
  .bench-card { padding: 18px 14px; }
}
