.tariff-intro {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
}

.tariff-intro h1 { margin-bottom: 0; }

.tariff-figure {
  padding-top: 0;
  padding-bottom: 0;
}

.tariff-figure .fig {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(var(--clear), var(--glow-amber));
}

.tariff-overview {
  border-top: 1px solid var(--border);
  padding-top: clamp(20px, 4vw, 40px);
}

.tariff-facts { margin: 0 0 20px; }

.tariff-overview .data-table th[scope="row"] {
  font-weight: var(--weight-label);
}

.tariff-overview .data-table tbody + tbody tr:first-child > * {
  border-top: 1px solid var(--border);
}

.tariff-switch { width: fit-content; }

.tariff-mode {
  padding-top: clamp(16px, 3vw, 32px);
}

.tariff-mode > .measure { margin: 0 0 24px; }

.tariff-mode .plan-grid {
  padding-bottom: clamp(32px, 5vw, 64px);
}

.tariff-mode .plan-card h3 { text-wrap: pretty; }

.tariff-mode .plan-card .btn { margin-block-start: auto; }

.tariff-inclusions {
  padding-top: clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--border);
}

.tariff-ledger { margin: 24px 0 0; }

.tariff-ledger > div {
  display: grid;
  grid-template-columns: minmax(0, 9em) minmax(0, 1fr);
  gap: 6px 24px;
  padding-block: 16px;
}

.tariff-ledger > div:first-child { padding-top: 0; }
.tariff-ledger > div:last-child { padding-bottom: 0; }

.tariff-ledger > div + div {
  border-top: 1px solid var(--border);
}

.tariff-ledger dt { font-weight: var(--weight-bold); }

.tariff-ledger dd {
  min-width: 0;
  max-width: var(--measure);
  margin: 0;
  color: var(--muted);
}

.tariff-ledger dd strong { color: var(--text); }

.tariff-procedures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tariff-procedures h2 { font-size: var(--size-section); }
.tariff-procedures .steps { margin-bottom: 0; }
.tariff-procedures .steps > li:last-child { margin-bottom: 0; }

:is(.tariff-ledger, .tariff-procedures, .tariff-questions .faq-answer) a:not(.btn) {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 768px) {
  .tariff-intro, .tariff-procedures { grid-template-columns: minmax(0, 1fr); }
  .tariff-figure { display: none; }
}

@media (max-width: 640px) {
  .tariff-overview .data-table tbody + tbody tr:first-child > * { border-top: 0; }
  .tariff-ledger > div { grid-template-columns: minmax(0, 1fr); }
}