:root {
  --paper: #edf0f3;
  --surface: #ffffff;
  --ink: #17203a;
  --ink-2: #4e5a6e;
  --rule: #d3d9e1;
  --highlight: #ffe45c;
  --warn: #9a3412;

  --a1: #d8261c;
  --vivacom: #000000;
  --yettel: #a6d400;
  --yettel-ink: #1f2a07;

  --radius: 6px;
  --measure: 68ch;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--step-0);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

small {
  display: block;
  color: var(--ink-2);
  font-size: var(--step--1);
  font-weight: 400;
}

.wrap {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.muted {
  color: var(--ink-2);
}

.empty {
  padding: 1.5rem 0;
  color: var(--ink-2);
}

/* ───────────── masthead ───────────── */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.masthead__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1rem;
}

.brand {
  font-weight: 800;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.masthead__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: var(--step--1);
}

.masthead__nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.masthead__nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ───────────── intro ───────────── */

.intro {
  padding-block: clamp(2.5rem, 6vw, 5rem) 2rem;
}

.intro h1 {
  max-width: 18ch;
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.intro__lede {
  max-width: 58ch;
  margin-top: 1.25rem;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-2);
}

.intro__meta {
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--ink-2);
}

/* ───────────── operator marks ───────────── */

.op {
  display: inline-block;
  padding: 0.05rem 0.45rem;
  border-radius: 3px;
  font-size: var(--step--1);
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
}

.op--a1 {
  background: var(--a1);
}
.op--vivacom {
  background: var(--vivacom);
}
.op--yettel {
  background: var(--yettel);
  color: var(--yettel-ink);
}

.plan--a1 {
  --op: var(--a1);
}
.plan--vivacom {
  --op: var(--vivacom);
}
.plan--yettel {
  --op: var(--yettel);
}

/* ───────────── filters ───────────── */

.filters {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem 2rem;
  margin-inline: -1rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}

.filter {
  margin: 0;
  padding: 0;
  border: 0;
}

.filter legend {
  margin-bottom: 0.35rem;
  font-size: var(--step--1);
  color: var(--ink-2);
}

.segmented {
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.segmented label,
.chip {
  position: relative;
  cursor: pointer;
}

.segmented input,
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.segmented span {
  display: block;
  padding: 0.4rem 0.85rem;
  font-size: var(--step--1);
  font-weight: 600;
}

.segmented label + label span {
  border-left: 1px solid var(--ink);
}

.segmented input:checked + span {
  background: var(--ink);
  color: #fff;
}

.segmented input:focus-visible + span,
.chip input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.chips {
  display: flex;
  gap: 0.4rem;
}

.chip span {
  display: block;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-2);
}

.chip input:checked + span {
  border-color: transparent;
  color: #fff;
}

.chip--a1 input:checked + span {
  background: var(--a1);
}
.chip--vivacom input:checked + span {
  background: var(--vivacom);
}
.chip--yettel input:checked + span {
  background: var(--yettel);
  color: var(--yettel-ink);
}

select {
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  padding: 0.4rem 2rem 0.4rem 0.65rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2317203a'/%3E%3C/svg%3E")
    no-repeat right 0.7rem center;
  appearance: none;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 2.5rem;
  height: 1.4rem;
  margin: 0;
  cursor: pointer;
}

.toggle__track {
  flex: none;
  width: 2.5rem;
  height: 1.4rem;
  border-radius: 1rem;
  background: var(--rule);
  position: relative;
  transition: background 0.15s;
}

.toggle__track::after {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(23 32 58 / 0.3);
  transition: transform 0.15s;
}

.toggle input:checked + .toggle__track {
  background: var(--ink);
}

.toggle input:checked + .toggle__track::after {
  transform: translateX(1.1rem);
}

.toggle input:focus-visible + .toggle__track {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* ───────────── ledger ───────────── */

.ledger__caption {
  margin: 1.5rem 0 0.75rem;
  font-size: var(--step--1);
  color: var(--ink-2);
}

.ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.plan {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: inset 4px 0 0 var(--op);
}

.plan.is-open {
  box-shadow: inset 6px 0 0 var(--op);
}

.plan__row {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) minmax(22rem, 1.6fr) minmax(14rem, 1fr) auto;
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding: 1rem 1rem 1rem 1.5rem;
}

.plan__name h3 {
  margin-top: 0.3rem;
  font-size: var(--step-1);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.tag {
  display: inline-block;
  margin-top: 0.35rem;
  margin-right: 0.3rem;
  padding: 0 0.4rem;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag--fixed {
  background: var(--highlight);
  border-color: transparent;
}

.plan__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0;
}

.plan__spec--full {
  grid-column: 1 / -1;
}

.plan__specs dt {
  font-size: 0.75rem;
  color: var(--ink-2);
}

.plan__specs dd {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.35;
}

.countries {
  display: block;
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
}

details.more {
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
}

details.more summary {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

details.more[open] summary {
  margin-bottom: 0.35rem;
}

.more__body {
  display: grid;
  gap: 0.35rem;
  max-width: 60ch;
}

.more__body strong {
  color: var(--ink);
}

.options {
  display: block;
  font-size: var(--step--1);
  color: var(--ink-2);
}

.compare__sub {
  margin-top: 0.2rem;
}

.plan__bar,
.trip-row__bar {
  height: 0.6rem;
  background: var(--paper);
  border-radius: 1px;
}

.plan__bar span,
.trip-row__bar span {
  display: block;
  height: 100%;
  background: var(--op);
  transition: width 0.35s ease;
}

.plan__total {
  margin-top: 0.45rem;
  font-size: var(--step--1);
  color: var(--ink-2);
}

.plan__total strong {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.plan__avg {
  font-size: var(--step--1);
  color: var(--ink-2);
}

.plan__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--ink);
}

.check.is-disabled {
  color: var(--ink-2);
  cursor: not-allowed;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ───────────── plan details ───────────── */

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  padding: 0.5rem 1.5rem 1.75rem 1.5rem;
  border-top: 1px dashed var(--rule);
  margin-inline: 1rem;
  padding-inline: 0.5rem;
}

.details__block {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  max-width: var(--measure);
  font-size: 0.9375rem;
  padding-top: 1rem;
}

.details__block--wide {
  grid-column: 1 / -1;
  max-width: none;
}

.details h4 {
  font-size: var(--step-0);
  font-weight: 800;
}

.details__source {
  grid-column: 1 / -1;
  font-size: var(--step--1);
  font-weight: 600;
}

/* месечна лента: по една клетка за всеки месец от договора */
.ribbon {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ribbon__cells {
  display: grid;
  grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  gap: 2px;
  flex: 1 1 22rem;
  height: 2.5rem;
  align-items: end;
}

.ribbon__cell {
  height: calc(var(--level) * 100%);
  background: var(--op);
  border-radius: 1px;
}

.ribbon__after {
  font-size: var(--step--1);
  font-weight: 600;
  padding-left: 0.6rem;
  border-left: 2px dotted var(--ink-2);
}

.ribbon__after--unknown {
  font-weight: 400;
  color: var(--ink-2);
}

/* безплатни екстри: колко месеца от договора покриват */
.extras {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.extras__row {
  display: grid;
  grid-template-columns: minmax(14rem, 26rem) 1fr;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.extras__label {
  display: grid;
  line-height: 1.35;
}

.extras__name {
  font-weight: 600;
}

.extras__terms,
.extras__note {
  font-size: var(--step--1);
  color: var(--ink-2);
}

.extras__warn {
  font-size: var(--step--1);
  color: var(--warn);
  font-weight: 600;
}

.extras__track {
  position: relative;
  height: 0.75rem;
  background: repeating-linear-gradient(
    90deg,
    var(--paper) 0 calc(100% / 24 - 1px),
    var(--surface) calc(100% / 24 - 1px) calc(100% / 24)
  );
}

.extras__bar {
  display: block;
  height: 100%;
  background: var(--op);
}

.extras__bar--auto {
  background: repeating-linear-gradient(135deg, var(--op) 0 6px, color-mix(in srgb, var(--op) 70%, #fff) 6px 12px);
}

.extras__axis {
  position: relative;
  height: 1rem;
  font-size: 0.75rem;
  color: var(--ink-2);
}

.extras__axis span {
  position: absolute;
  transform: translateX(-50%);
}

.extras__axis span:first-child {
  transform: none;
}

.extras__axis span:last-child {
  transform: translateX(-100%);
}

/* ───────────── sections ───────────── */

/* ───────────── кой план е за теб ───────────── */

.picks {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.picks h2 {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.picks__subtitle {
  margin: 2.5rem 0 1rem;
  font-size: var(--step-1);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.picks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pick {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--surface);
  box-shadow: inset 4px 0 0 var(--op);
}

.pick__need {
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
}

.pick__plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

#awards .pick__plan {
  flex-direction: column;
  align-items: start;
  gap: 0.35rem;
}

.pick__plan h3 {
  font-size: var(--step-0);
  font-weight: 800;
  text-wrap: balance;
}

.pick__price {
  font-size: var(--step--1);
  color: var(--ink-2);
}

.pick__why {
  flex: 1;
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--step--1);
}

.pick__why li + li {
  margin-top: 0.3rem;
}

.pick .link-button {
  align-self: start;
}

.plan {
  scroll-margin-top: 7rem;
}

.section {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.section h2 {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section__lede {
  max-width: var(--measure);
  margin: 0.6rem 0 1.5rem;
  color: var(--ink-2);
}

.footnote {
  max-width: var(--measure);
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--ink-2);
}

/* ───────────── comparison table ───────────── */

.table-scroll {
  overflow-x: auto;
  background: var(--surface);
  border-top: 2px solid var(--ink);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 44rem;
  font-size: 0.9375rem;
}

.compare th,
.compare td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  vertical-align: bottom;
  min-width: 12rem;
}

.compare thead th .link-button {
  display: block;
  margin-top: 0.3rem;
  font-weight: 400;
  color: var(--ink-2);
}

.compare__plan {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--step-1);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.compare thead td,
.compare tbody th {
  width: 13rem;
  font-weight: 600;
  color: var(--ink-2);
  font-size: var(--step--1);
}

/* маркер-ефект за най-добрата стойност в реда */
.compare td.is-best > .val {
  font-weight: 800;
  background: linear-gradient(transparent 12%, var(--highlight) 12%, var(--highlight) 88%, transparent 88%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.2rem;
  margin-inline: -0.2rem;
}

/* При table-layout: fixed min-width на клетките не действа, затова ширината на колоните идва от
   min-width на таблицата: колона с етикети + 3 колони по 18.5rem (таблиците с роуминг цени са до ~16rem). */
.compare--static {
  --label-w: 13rem;
  min-width: calc(var(--label-w) + 3 * 18.5rem);
}

.compare--static thead td,
.compare--static tbody th {
  width: var(--label-w);
}

.compact-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.2rem;
}

.compact-list small {
  display: inline;
}

.prose {
  max-width: 44ch;
  font-size: 0.875rem;
}

/* списък с оферти в клетка: име вляво, цена вдясно, подробности отдолу */
.offers {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.offers li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.75rem;
  padding: 0.4rem 0;
  border-top: 1px dashed var(--rule);
}

.offers li:first-child {
  border-top: 0;
  padding-top: 0;
}

.offers small {
  grid-column: 1 / -1;
  margin-top: 0.1rem;
}

.offer__where {
  font-weight: 600;
}

.offer__price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.offers li.offers__total {
  border-top: 1px solid var(--ink);
  padding-top: 0.4rem;
}

.offers__note {
  max-width: 44ch;
  margin-block: 0 0.5rem;
  color: var(--ink-2);
  font-size: var(--step--1);
}

.offers + .offers__note {
  margin-block: 0.5rem 0;
}

/* роуминг извън ЕС: всяка зона е малка таблица с цените в една колона вдясно */
.rz-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.rz + .rz {
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

.rz__name {
  font-weight: 700;
}

.rz__rates {
  width: 100%;
  margin-top: 0.4rem;
  border-collapse: collapse;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

.compare .rz__rates th,
.compare .rz__rates td {
  width: auto;
  min-width: 0;
  padding: 0.15rem 0;
  border: 0;
  font-size: inherit;
  vertical-align: baseline;
}

.compare .rz__rates th {
  padding-right: 0.75rem;
  font-weight: 400;
  color: var(--ink-2);
}

.compare .rz__rates td {
  color: var(--ink-2);
}

.compare .rz__rates td.rz__price {
  padding-left: 0.75rem;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
}

.compare .rz__rates--grid thead th {
  min-width: 0;
  padding-bottom: 0.2rem;
  font-size: 0.75rem;
  color: var(--ink-2);
  text-align: right;
  vertical-align: bottom;
}

.rz__key {
  margin-top: 0.2rem;
  color: var(--ink-2);
  font-size: 0.75rem;
  text-align: right;
}

.compare .rz__calls tr:first-child > * {
  padding-top: 0.35rem;
  border-top: 1px dashed var(--rule);
}

/* ───────────── trip calculator ───────────── */

.trip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: end;
  padding: 1rem 0 1.25rem;
  border-top: 2px solid var(--ink);
}

.trip__field {
  display: grid;
  gap: 0.35rem;
  font-size: var(--step--1);
  font-weight: 600;
}

.trip__field output {
  font-weight: 800;
}

input[type='range'] {
  width: min(16rem, 80vw);
  accent-color: var(--ink);
}

.trip-results {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
}

.trip-row {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(8rem, 1.4fr) 6rem;
  grid-template-areas:
    'name bar cost'
    'name how how';
  gap: 0.2rem 1.25rem;
  align-items: center;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  box-shadow: inset 4px 0 0 var(--op);
}

.trip-row__name {
  grid-area: name;
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  font-weight: 600;
}

.trip-row__bar {
  grid-area: bar;
}

.trip-row__cost {
  grid-area: cost;
  text-align: right;
  font-size: var(--step-1);
}

.trip-row__cost strong {
  font-weight: 800;
}

.trip-row__how {
  grid-area: how;
  display: grid;
  gap: 0.15rem;
  margin: 0;
  font-size: var(--step--1);
}

.trip-row__how div {
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  gap: 0.75rem;
}

.trip-row__how dt {
  font-weight: 600;
}

.trip-row__how dd {
  margin: 0;
}

.zone-trigger {
  display: inline;
  text-align: start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: help;
}

.zone-trigger:interest-source,
.zone-trigger:hover {
  color: var(--ink);
}

/* пояснение за роуминг зона: native popover, отваря се с interestfor/popovertarget */
.zone-pop {
  width: min(28rem, calc(100vw - 16px));
  max-height: min(70vh, 34rem);
  overflow: auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 30px rgb(23 32 58 / 0.18);
  font-size: var(--step--1);
  line-height: 1.45;
}

/* Където има CSS anchor positioning, пояснението стои до бутона, който го е отворил;
   иначе браузърът го показва в средата на екрана. */
@supports (position-area: bottom) {
  .zone-pop {
    inset: auto;
    margin: 6px 0;
    position-area: bottom span-right;
    position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  }
}

.zone-trigger {
  interest-delay: 150ms 250ms;
}

.zone-pop h4 {
  font-size: var(--step-0);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.zone-pop p + p,
.zone-pop table + p {
  margin-top: 0.5rem;
}

.zone-pop__packages {
  width: 100%;
  margin-top: 0.6rem;
  border-collapse: collapse;
}

.zone-pop__packages th,
.zone-pop__packages td {
  padding: 0.3rem 0.5rem 0.3rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  white-space: nowrap;
}

.zone-pop__packages thead th {
  font-weight: 400;
  color: var(--ink-2);
}

.zone-pop__packages tbody th {
  font-weight: 600;
}

/* ───────────── footer ───────────── */

.colophon p + p {
  margin-top: 0.4rem;
}

.colophon {
  margin-top: 4rem;
  padding-block: 1.5rem 3rem;
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
  color: var(--ink-2);
}

/* ───────────── responsive ───────────── */

@media (max-width: 64rem) {
  .plan__row {
    grid-template-columns: 1fr 1fr;
  }
  .plan__specs {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .plan__actions {
    flex-direction: row;
    gap: 1.25rem;
  }
}

@media (max-width: 40rem) {
  .filters {
    position: static;
  }
  .plan__row {
    grid-template-columns: 1fr;
    padding-left: 1.25rem;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .extras__row {
    grid-template-columns: 1fr;
  }
  .trip-row__how div {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .compare--static {
    --label-w: 8rem;
  }
  .trip-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'name cost'
      'bar bar'
      'how how';
  }
}
