.gtm-section-heading {
  align-items: flex-end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.gtm-section-heading h2 {
  color: #0f172a;
  font-size: 20px;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 0;
}

.gtm-section-heading p {
  color: #64748b;
  font-size: 12px;
  margin: 3px 0 0;
}

.gtm-section-heading p strong {
  color: #0f172a;
  font-family: "IBM Plex Mono", monospace;
}

.gtm-demo-warning {
  align-items: center;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  color: #92400e;
  display: flex;
  font-size: 12px;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
}

.gtm-demo-warning strong {
  font-weight: 700;
}

.gtm-data-badge {
  background: #edfaef;
  border: 1px solid #b8e6c2;
  border-radius: 6px;
  color: #116329;
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 8px;
}

.gtm-database-notice {
  align-items: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: #1e3a8a;
  display: flex;
  font-size: 12px;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
}

.gtm-data-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  margin-block: 20px;
  padding: clamp(26px, 5vw, 48px);
  text-align: center;
}

.gtm-data-empty > span {
  color: #2563eb;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.gtm-data-empty h2 {
  color: #0f172a;
  font-size: 24px;
  margin: 8px 0;
}

.gtm-data-empty p {
  color: #64748b;
  margin: 0 auto;
  max-width: 650px;
}

.gtm-filter-scroll,
.gtm-calc-tabs,
.gtm-table-wrap {
  overflow-x: auto;
  scrollbar-color: #94a3b8 transparent;
  scrollbar-width: thin;
}

.gtm-price-filters {
  display: flex;
  gap: 7px;
  min-width: max-content;
  padding-bottom: 5px;
}

.gtm-filter,
.gtm-calc-tabs button,
.gtm-preset-row button {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 9px;
  color: #475569;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
}

.gtm-filter:hover,
.gtm-filter.is-active,
.gtm-calc-tabs button.is-active,
.gtm-preset-row button.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.gtm-provider-group {
  margin-top: 22px;
}

.gtm-provider-group[hidden],
.gtm-price-card[hidden] {
  display: none;
}

.gtm-provider-group > h3 {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 7px;
  margin: 0 0 10px;
}

.gtm-provider-group > h3::after {
  background: #e9eef5;
  content: "";
  flex: 1;
  height: 1px;
}

.gtm-provider-group > h3 span {
  color: #94a3b8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}

.gtm-price-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
}

.gtm-price-card {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
  min-width: 0;
  padding: 16px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gtm-price-card:hover {
  border-color: #9dc0ff;
  box-shadow: 0 12px 28px rgba(37,99,235,.09);
  transform: translateY(-2px);
}

.gtm-price-card__head,
.gtm-price-card__foot {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.gtm-price-card__head > div > span {
  color: #64748b;
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
}

.gtm-price-card h4 {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.25;
  margin: 4px 0 0;
}

.gtm-status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 4px 7px;
  white-space: nowrap;
}

.gtm-status-pill--demo {
  background: #fef3e2;
  color: #b45309;
}

.gtm-status-pill--warning {
  background: #fff7ed;
  color: #c2410c;
}

.gtm-status-pill--live {
  background: #edfaef;
  color: #116329;
}

.gtm-status-pill--stale {
  background: #f0f0f1;
  color: #646970;
}

.gtm-price-card__rates {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin: 15px 0 12px;
}

.gtm-price-card__rates > div {
  background: #f8fafc;
  border: 1px solid #eef1f6;
  border-radius: 9px;
  padding: 9px;
}

.gtm-price-card__rates .gtm-price-card__single {
  grid-column: span 2;
}

.gtm-price-card__rates span,
.gtm-price-card__rates small,
.gtm-price-card__rates strong {
  display: block;
}

.gtm-price-card__rates span {
  color: #64748b;
  font-size: 9px;
}

.gtm-price-card__rates strong {
  color: #0f172a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  margin-top: 2px;
}

.gtm-price-card__rates small {
  color: #94a3b8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
}

.gtm-price-card > p {
  color: #64748b;
  font-size: 10px;
  line-height: 1.45;
  margin: 0 0 12px;
  min-height: 30px;
}

.gtm-price-card > p strong {
  color: #334155;
}

.gtm-price-card__foot {
  border-top: 1px solid #eef1f6;
  color: #94a3b8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  padding-top: 10px;
}

.gtm-price-card__foot a {
  color: #2563eb;
}

.gtm-source-note {
  align-items: flex-start;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  font-size: 10px;
  gap: 12px;
  margin-top: 20px;
  padding: 12px;
}

.gtm-source-note span {
  color: #64748b;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  white-space: nowrap;
}

.gtm-source-note p {
  color: #64748b;
  margin: 0;
}

.gtm-latest-changes {
  margin-top: 36px;
}

.gtm-change-list {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 14px;
  overflow: hidden;
}

.gtm-change-row {
  align-items: center;
  border-bottom: 1px solid #eef1f6;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 210px 145px;
  padding: 14px 16px;
}

.gtm-change-row:last-child {
  border-bottom: 0;
}

.gtm-change-row > div:first-child strong,
.gtm-change-row > div:first-child span {
  display: block;
}

.gtm-change-row > div:first-child strong {
  font-size: 12px;
}

.gtm-change-row > div:first-child span,
.gtm-change-row small {
  color: #94a3b8;
  font-size: 9px;
}

.gtm-change-prices {
  align-items: center;
  display: flex;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  gap: 10px;
}

.gtm-change-prices del {
  color: #94a3b8;
}

.gtm-change-prices span {
  color: #16a34a;
}

.gtm-change-row > div:last-child {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gtm-calculator-hero {
  align-items: center;
  background: linear-gradient(125deg, #0f172a, #1e3a8a);
  border-radius: 18px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 34px;
}

.gtm-calculator-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 8px 0 10px;
  max-width: 760px;
}

.gtm-calculator-hero p {
  color: #cbd5e1;
  margin: 0;
  max-width: 690px;
}

.gtm-calc-tabs {
  border-bottom: 1px solid #dce3ec;
  display: flex;
  gap: 4px;
  margin: 24px 0 20px;
}

.gtm-calc-tabs button {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  min-width: max-content;
}

.gtm-calculator-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 390px;
}

.gtm-calculator-inputs,
.gtm-result-panel {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

.gtm-calculator-inputs {
  padding: 24px;
}

.gtm-calc-panel[hidden] {
  display: none;
}

.gtm-calc-panel__head {
  align-items: flex-end;
  border-bottom: 1px solid #eef1f6;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.gtm-calc-panel__head span {
  color: #2563eb;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.gtm-calc-panel__head h2 {
  font-size: 22px;
  margin: 3px 0 0;
}

.gtm-calc-panel__head p {
  color: #64748b;
  font-size: 11px;
  margin: 0;
}

.gtm-preset-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.gtm-preset-row > span {
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  margin-right: 4px;
  min-width: 88px;
}

.gtm-preset-row button {
  padding: 6px 10px;
}

.gtm-calc-fields {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.gtm-calc-field {
  display: block;
}

.gtm-calc-field > span {
  color: #334155;
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 5px;
}

.gtm-calc-field input,
.gtm-calc-field select {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  color: #0f172a;
  min-height: 43px;
  padding: 9px 10px;
  width: 100%;
}

.gtm-calc-field input:focus,
.gtm-calc-field select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  outline: 0;
}

.gtm-calc-field small {
  color: #94a3b8;
  display: block;
  font-size: 9px;
  margin-top: 4px;
}

.gtm-result-panel {
  background: linear-gradient(155deg, #0f172a, #172554);
  color: #fff;
  padding: 26px;
  position: sticky;
  top: 14px;
}

.gtm-result-panel > p {
  color: #cbd5e1;
  font-size: 13px;
  margin: 20px 0 2px;
}

.gtm-result-panel > strong {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 42px;
  letter-spacing: -.05em;
  line-height: 1.2;
}

.gtm-result-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}

.gtm-result-metrics div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 11px;
}

.gtm-result-metrics span,
.gtm-result-metrics b {
  display: block;
}

.gtm-result-metrics span {
  color: #94a3b8;
  font-size: 9px;
}

.gtm-result-metrics b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  margin-top: 3px;
}

.gtm-breakdown {
  border-block: 1px solid rgba(255,255,255,.12);
  padding-block: 17px;
}

.gtm-breakdown h3 {
  color: #fff;
  font-size: 12px;
  margin: 0 0 10px;
}

.gtm-breakdown > div {
  color: #cbd5e1;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  padding: 3px 0;
}

.gtm-breakdown b {
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
}

.gtm-result-recs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 16px;
}

.gtm-result-recs span {
  background: rgba(56,189,248,.1);
  border-radius: 6px;
  color: #7dd3fc;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  padding: 6px 8px;
}

.gtm-result-warning {
  background: rgba(217,119,6,.14);
  border: 1px solid rgba(251,191,36,.28);
  border-radius: 8px;
  color: #fde68a;
  font-size: 9px;
  margin-top: 15px;
  padding: 9px;
}

.gtm-comparison {
  margin-top: 34px;
}

.gtm-table {
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
  min-width: 720px;
  width: 100%;
}

.gtm-table th,
.gtm-table td {
  border-bottom: 1px solid #e9eef5;
  padding: 12px 13px;
  text-align: left;
}

.gtm-table th {
  background: #f1f5f9;
  color: #475569;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gtm-table th:first-child {
  border-top-left-radius: 12px;
}

.gtm-table th:last-child {
  border-top-right-radius: 12px;
}

.gtm-table tbody tr:nth-child(even) td {
  background: #fafcff;
}

.gtm-table-wrap {
  border: 1px solid #dce3ec;
  border-radius: 13px;
}

.gtm-table-note {
  color: #94a3b8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  margin: 0;
  padding: 10px 13px;
}

.gtm-content-box,
.gtm-inline-snapshot,
.gtm-recommendations,
.gtm-article-cta,
.gtm-formula,
.gtm-related {
  border-radius: 14px;
  margin-block: 28px;
}

.gtm-content-box {
  border: 1px solid #bfdbfe;
  padding: 22px;
}

.gtm-content-box h3,
.gtm-recommendations h3,
.gtm-article-cta h3,
.gtm-related h3 {
  font-size: 18px;
  margin: 0 0 9px;
}

.gtm-content-box p:last-child {
  margin-bottom: 0;
}

.gtm-content-box--answer {
  background: #eff6ff;
}

.gtm-content-box--warning {
  background: #fffbeb;
  border-color: #fde68a;
}

.gtm-content-box--impact {
  background: #fff;
  border-color: #dce3ec;
}

.gtm-content-box__title {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.gtm-content-box--impact dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0 0;
}

.gtm-content-box--impact dl div {
  background: #f8fafc;
  border-radius: 9px;
  padding: 11px;
}

.gtm-content-box--impact dt {
  color: #64748b;
  font-size: 9px;
}

.gtm-content-box--impact dd {
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0 0;
}

.gtm-inline-snapshot {
  background: linear-gradient(145deg, #0f172a, #1e3a8a);
  color: #fff;
  display: grid;
  gap: 6px;
  padding: 24px;
}

.gtm-inline-snapshot > span,
.gtm-inline-snapshot > small {
  color: #94a3b8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
}

.gtm-inline-snapshot > strong {
  font-size: 13px;
}

.gtm-inline-snapshot > b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 30px;
}

.gtm-inline-snapshot .gtm-button {
  justify-self: start;
  margin-top: 8px;
}

.gtm-article-cta {
  align-items: center;
  background: linear-gradient(120deg, #1d4ed8, #2563eb);
  color: #fff;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  padding: 24px;
}

.gtm-article-cta p {
  color: #dbeafe;
  font-size: 13px;
  margin: 0;
}

.gtm-article-cta .gtm-button {
  white-space: nowrap;
  width: auto;
}

.gtm-recommendations {
  background: #fff;
  border: 1px solid #dce3ec;
  padding: 22px;
}

.gtm-recommendations > div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.gtm-recommendations section {
  background: #f8fafc;
  border: 1px solid #e9eef5;
  border-radius: 10px;
  padding: 13px;
}

.gtm-recommendations span,
.gtm-related a span {
  color: #2563eb;
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  font-weight: 700;
}

.gtm-recommendations strong {
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.gtm-recommendations > p {
  color: #64748b;
  font-size: 11px;
  margin-bottom: 0;
}

.gtm-formula {
  background: #fff;
  border: 1px solid #dce3ec;
  padding: 0 18px;
}

.gtm-formula summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding-block: 15px;
}

.gtm-formula > p {
  color: #64748b;
  font-size: 12px;
  margin-top: 0;
  padding-bottom: 15px;
}

.gtm-related > div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.gtm-related a {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  color: #64748b;
  display: grid;
  font-size: 11px;
  padding: 13px;
}

.gtm-related a strong {
  color: #0f172a;
  font-size: 12px;
  margin: 5px 0;
}

.gtm-faq {
  margin-top: 34px;
}

.gtm-faq details {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 0 16px;
}

.gtm-faq summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 14px 0;
}

.gtm-faq p {
  color: #64748b;
  font-size: 12px;
  margin-top: 0;
  padding-bottom: 14px;
}

@media (max-width: 920px) {
  .gtm-calculator-layout {
    grid-template-columns: 1fr;
  }

  .gtm-result-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .gtm-section-heading,
  .gtm-calculator-hero,
  .gtm-article-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtm-demo-warning {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtm-price-grid,
  .gtm-calc-fields,
  .gtm-content-box--impact dl,
  .gtm-recommendations > div,
  .gtm-related > div {
    grid-template-columns: 1fr;
  }

  .gtm-change-row {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .gtm-change-row > div:last-child {
    align-items: flex-start;
  }

  .gtm-calculator-hero {
    padding: 24px;
  }

  .gtm-calculator-inputs,
  .gtm-result-panel {
    padding: 18px;
  }

  .gtm-calc-panel__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtm-result-panel > strong {
    font-size: 36px;
  }
}
