@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(inter-ruble.woff2) format('woff2');
  unicode-range: U+20BD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #f6f5f9;
  --surface: #fff;
  --ink: #211b30;
  --muted: #5e5970;
  --line: #e6e2ee;
  --line-strong: #cec6df;
  --primary: #5634c7;
  --primary-hover: #4124a4;
  --link: #512cb8;
  --focus: #6846dc;
  --tint: #eee9ff;
  --accent: #e3d9ff;
  --quiet: #f4f2f9;
  --deep: #25203a;
  --radius: 16px;
  --shadow: 0 4px 15px #2e1f5810;
  --font-text: 'Inter', system-ui, Arial, sans-serif;
  --font-display: 'Onest', var(--font-text);
  font-family: var(--font-text);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 1.55rem + 2.2vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: clamp(1.5rem, 1.28rem + 1.05vw, 2.13rem); }
h3 { font-size: 1.19rem; font-weight: 700; letter-spacing: -.02em; }
:where(dd, .result-count, .nav-count, .catalog-date time, .compare-table td) {
  font-variant-numeric: lining-nums tabular-nums;
}
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; color: inherit; }
input[type='number'] { font-variant-numeric: lining-nums tabular-nums; }
button { cursor: pointer; }
input, select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
}
input[type='checkbox'] { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
select {
  appearance: none;
  padding-right: 32px;
  background: linear-gradient(45deg,transparent 50%,var(--muted) 50%) calc(100% - 16px) 53%/5px 5px no-repeat,
    linear-gradient(135deg,var(--muted) 50%,transparent 50%) calc(100% - 11px) 53%/5px 5px no-repeat var(--surface);
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 12; padding: 12px; background: var(--surface); }

.header { position: sticky; z-index: 8; top: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; flex: none; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; width: 216px; max-width: 100%; height: auto; }
.masthead nav { display: flex; align-items: center; margin-right: auto; gap: 6px; }
.masthead nav a { display: flex; align-items: center; min-height: 41px; padding: 6px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; white-space: nowrap; font-size: .9375rem; font-weight: 550; }
.nav-short { display: none; }
.masthead nav a:is([aria-current='page'], .section-active) { color: var(--primary-hover); background: var(--tint); font-weight: 650; }
.masthead nav a:hover { color: var(--primary-hover); background: var(--quiet); }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color .15s, border-color .15s;
}
.button.solid { color: white; background: var(--primary); }
.button.solid:hover { background: var(--primary-hover); }
.button.outline { color: var(--primary); border-color: var(--line-strong); background: var(--surface); }
.header-compare[aria-current='page'] { background: var(--tint); }
.button.outline:hover, .button.pick:hover { background: var(--tint); }
.button.pick { color: var(--muted); background: var(--quiet); }
.button.pick[aria-pressed='true'] { color: var(--primary); background: var(--tint); border-color: #c4b5f4; }
.pick-icon { font-size: 1.05rem; line-height: 1; }
.compare-icon { position: relative; width: 16px; height: 15px; border: 1.5px solid currentColor; border-radius: 4px; flex: none; }
.compare-icon::after { content: ''; position: absolute; left: 6px; top: 2px; bottom: 2px; border-left: 1.5px solid currentColor; }
.nav-count { display: grid; place-items: center; min-width: 21px; height: 21px; border-radius: 50%; background: var(--accent); font-size: .76rem; }

.intro { max-width: 58ch; color: var(--muted); font-size: 1.04rem; }
.catalog-page { padding-bottom: 66px; }
.catalog-hero {
  padding: 26px 0 80px;
  border-bottom: 1px solid #e4def4;
  background: radial-gradient(ellipse at 80% 32%, #e5d9fc, transparent 62%), #eeebf9;
}
.catalog-intro { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center; gap: 22px; }
.catalog-heading h1 { font-size: clamp(2.25rem, 3.8vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.catalog-heading > p { max-width: 57ch; margin-top: 12px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); }
.catalog-picker-link { margin-top: 15px; }
.catalog-visual { display: grid; place-items: center; min-width: 0; height: clamp(171px, 17.5vw, 238px); }
.catalog-visual img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 12px 13px #59318d36); }
.editorial-note {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin-top: 17px;
  padding: 8px 12px;
  border: 1px solid #dcd4ee;
  border-radius: 14px;
  background: #ffffff80;
}
.editorial-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: var(--tint); color: var(--primary); }
.editorial-mark .source-symbol { flex: none; width: 13px; height: 16px; }
.editorial-mark .source-symbol::after { width: 6px; height: 4px; margin-top: 4px; }
.editorial-note a { display: block; width: fit-content; color: var(--link); font-size: .9375rem; font-weight: 650; }
.catalog-date { margin-top: 3px; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.catalog-results { position: relative; min-width: 0; margin-top: -50px; }
#offers { scroll-margin-top: 88px; }
.catalog-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.guide-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .76fr); align-items: stretch; overflow: hidden; }
.guide-copy { padding: 21px; }
.guide-cover { display: block; width: 100%; height: auto; object-fit: cover; }
.guide-card .guide-cover { height: 100%; min-height: 160px; }
.catalog-guides h2 { font-size: 1.24rem; }
.catalog-guides p { margin-top: 6px; color: var(--muted); }
.catalog-guides a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .guide-card .guide-cover { transition: transform .22s ease-out; }
  .guide-card:hover .guide-cover { transform: scale(1.045); }
}


.page-section { padding: 26px 0 68px; min-height: 68vh; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 22px; }
.section-heading p { margin-top: 9px; max-width: 74ch; color: var(--muted); }
.panel, .table-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.catalog-filters {
  display: grid;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.filter-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(184px, .62fr); gap: 10px; align-items: end; }
.search-field, .source-field { display: grid; gap: 5px; min-width: 0; font-size: .875rem; font-weight: 600; }
.search-input { position: relative; }
.search-input input, .source-field select { height: 50px; background-color: var(--quiet); border-color: var(--line); font-weight: 500; }
.search-input input { padding-inline: 39px 10px; }
.search-input:has(.input-clear:not([hidden])) input { padding-right: 46px; }
.search-input input::placeholder { color: var(--muted); }
.search-input input::-webkit-search-cancel-button { appearance: none; }
.search-icon { position: absolute; left: 15px; top: 17px; width: 13px; height: 13px; border: 1.6px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 1.6px; top: 10px; left: 9px; background: var(--muted); transform: rotate(45deg); }
.input-clear { position: absolute; inset: 6px 6px 6px auto; width: 38px; padding: 0; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 1.3rem; line-height: 1; }
.input-clear:hover { background: var(--tint); color: var(--ink); }
.filter-jump { min-height: 50px; font-size: .9375rem; }
.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.use-tabs { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; padding: 0; margin: 0; border: 0; }
.use-tabs label, .filter-chip {
  position: relative;
  display: inline-flex;
  min-height: 41px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: .875rem;
  font-weight: 550;
  cursor: pointer;
}
.use-tabs label:hover, .filter-chip:hover { color: var(--primary-hover); background: var(--quiet); }
.use-tabs label:has(input:checked), .filter-chip:has(input:checked) { color: var(--primary-hover); background: var(--tint); border-color: #c4b5f4; }
.use-tabs label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.use-tabs input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.filter-chip input { margin: 0; width: 16px; height: 16px; }
.scenario-note { padding: 0 2px; color: var(--muted); font-size: .875rem; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 20px 12px; }
.results-title, .results-actions { display: flex; align-items: center; gap: 13px; }
.results-title h2 { font-size: clamp(1.38rem, 2.4vw, 1.82rem); }
.result-count { color: var(--muted); font-size: .875rem; font-weight: 550; }
.sort-field { flex: none; }
.sort-field select { width: auto; min-height: 44px; height: auto; border-color: var(--line-strong); font-size: .875rem; }
.text-button { min-height: 44px; padding: 5px 2px; border: 0; background: none; font-size: .875rem; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

.catalog-list { display: grid; gap: 11px; }
.catalog-entry {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color .15s;
}
.catalog-entry:is(:hover, :focus-within) { border-color: var(--line-strong); }
.catalog-entry:has(.pick[aria-pressed='true']) { border-color: #bcacf4; }
.catalog-row { display: grid; grid-template-columns: minmax(175px, .96fr) minmax(0, 2.22fr) minmax(144px, .65fr); align-items: center; gap: 20px; min-height: 121px; padding: 16px 19px; }
.entry-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.entry-identity { min-width: 0; }
.entry-media { position: relative; display: grid; place-items: center; flex: 0 0 78px; height: 58px; min-width: 0; padding: 6px; border-radius: 12px; background: linear-gradient(145deg, #faf7ff, #eee8fc); }
.entry-media .provider-logo { width: 45px; height: 43px; }
.entry-media-with-card .provider-logo { position: absolute; right: 3px; bottom: 3px; width: 23px; height: 23px; padding: 2px; border-radius: 6px; background: var(--surface); box-shadow: 0 2px 5px #26203638; }
.entry-media-with-card .provider-logo img { border-radius: 4px; }
.entry-card-art { display: block; width: 100%; height: 100%; max-height: 46px; object-fit: contain; border-radius: 6px; }
.entry-card-art[data-offer-art='flexcard'] { object-fit: cover; }
.entry-name h3 { font-size: 1.08rem; font-weight: 700; }
.entry-rank { display: inline-block; margin-right: 6px; color: var(--primary-hover); font-size: .84rem; white-space: nowrap; }
.entry-name h3 a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.entry-name h3 a:hover { color: var(--primary); text-decoration: underline; }
.entry-name :is([data-offer-plan], .entry-summary) { margin-top: 3px; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-top: 3px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 550;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}
.source-chip.source-provider { color: var(--link); }
.source-chip:hover { color: var(--primary-hover); text-decoration-color: currentColor; }
.source-symbol { flex: 0 0 10px; width: 10px; height: 12px; border: 1px solid currentColor; border-radius: 2px; }
.source-symbol::after { display: block; width: 4px; height: 2px; margin: 3px auto; border-block: 1px solid currentColor; content: ''; }
.catalog-terms {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.04fr) minmax(0, 1.11fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f6fd;
}
.catalog-terms > div { display: block; padding: 11px 12px; border: 0; }
.catalog-terms > div + div { border-left: 1px solid var(--line); }
.catalog-terms dt { font-size: .875rem; line-height: 1.25; }
.catalog-terms dd { margin-top: 5px; font-size: 1.03rem; font-weight: 650; line-height: 1.32; text-align: left; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.catalog-actions { display: grid; gap: 6px; }
.catalog-actions .button { width: 100%; min-height: 40px; padding: 6px 8px; font-size: .875rem; white-space: nowrap; }
.catalog-actions .pick:not([aria-pressed='true']) { color: var(--link); }
.small-chevron { flex: none; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg); }
[data-disclosure][aria-expanded='true'] .small-chevron { transform: translateY(2px) rotate(225deg); }
.catalog-detail { padding: 17px 19px 19px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: var(--quiet); }
.tariff-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 11px; }
.tariff-heading h4, .catalog-detail h5 { margin: 0; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.015em; }
.tariff-heading a { font-size: .875rem; font-weight: 600; }
.catalog-detail .plan-panel { padding: 14px; }
.catalog-detail dl > div { font-size: .875rem; }
.provider-logo { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 42px; }
.provider-logo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.entry-identity .availability-note { margin: 5px 0 0; font-size: .875rem; }
.empty { padding: 38px 16px; text-align: center; }
.empty p { margin-top: 8px; color: var(--muted); }
.empty .button { margin-top: 15px; }
.footnote { color: var(--muted); font-size: .85rem; line-height: 1.6; margin-top: 14px; }

.check { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; line-height: 1.4; }
.crumbs { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-bottom: 15px; color: var(--muted); font-size: .85rem; }
.article-hero { padding: clamp(20px, 3.4vw, 36px); margin-bottom: 24px; border-radius: var(--radius); background: linear-gradient(110deg, var(--surface) 45%, var(--tint)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-hero .intro { margin-top: 10px; }
.article-hero > .button, .article-hero .inline-actions, .feature-copy > .button { margin-top: 16px; }
.article-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(185px, 290px); align-items: center; gap: 22px; }
.article-feature .guide-cover { max-height: 196px; aspect-ratio: 3 / 2; border-radius: 12px; }
.eyebrow { color: var(--primary); font-size: .81rem; font-weight: 600; margin-bottom: 9px; }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.option-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.service-panel { display: flex; flex-direction: column; align-items: start; gap: 13px; padding: 21px; }
.service-panel h3 a { text-decoration: none; }
.service-panel > p { color: var(--muted); font-size: .9rem; }
.service-panel dl { width: 100%; margin: 0; }
.service-panel .button { width: 100%; }
.pill { width: fit-content; border-radius: 8px; padding: 5px 8px; background: var(--tint); color: var(--primary); font-size: .78rem; font-weight: 600; }
.pill.warm { background: #fff0df; color: #784820; }
dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 600; }
.reading { margin-top: 26px; padding: 22px; max-width: 820px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.reading h2 { margin: 22px 0 8px; font-size: 1.42rem; }
.reading h2:first-child { margin-top: 0; }
.methodology { max-width: 890px; padding: clamp(20px, 3.4vw, 38px); }
.methodology #istochniki { scroll-margin-top: 90px; }
.methodology .intro { margin-top: 12px; }
.methodology ol { padding-left: 21px; margin: 9px 0 14px; }
.methodology li + li { margin-top: 9px; }
.method-sources { margin: 10px 0 14px; }
.method-sources div { display: grid; gap: 3px; }
.method-sources dt { color: var(--ink); font-weight: 700; }
.method-sources dd { text-align: left; font-weight: 400; }
.reading p { margin: 0 0 10px; }
.top-reading { margin-top: 0; }
.detail-title { display: flex; gap: 12px; align-items: center; }
.detail-title h1 { min-width: 0; overflow-wrap: anywhere; }
.detail-title .provider-logo { width: 58px; height: 50px; flex-basis: 58px; }
.profile-guidance { margin-top: 24px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.profile-fact { min-width: 0; padding: 18px; }
.profile-fact h3 { margin-bottom: 7px; font-size: 1.1rem; }
.profile-fact p { color: var(--muted); line-height: 1.55; }
.profile-note { max-width: 820px; margin-block: 7px 12px; padding: 10px 12px; border-radius: 8px; background: #fff4e7; color: #684319; }
.service-title { display: flex; align-items: center; gap: 8px; }
.article-hero-with-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 240px); gap: 24px; align-items: center; }
.provider-illustration { margin: 0; text-align: center; }
.provider-illustration img { display: block; width: 100%; max-height: 188px; object-fit: contain; height: auto; margin-bottom: 6px; }
.provider-illustration figcaption { color: var(--muted); font-size: .78rem; }
.plan-visual {
  display: grid;
  width: 100%;
  place-items: center;
  padding: 12px;
  aspect-ratio: 1.76;
  border-radius: 9px;
  background: var(--quiet);
}
.plan-visual img { display: block; width: 84%; height: auto; max-height: 100%; object-fit: contain; }
.plan-panel h3 { min-height: 2.5em; }
.plan-panel dl { margin-bottom: auto; }
.info-panel { max-width: 590px; margin-top: 14px; }
.page-section h2 + .option-grid { margin-top: 14px; }

.form-panel { display: grid; align-content: start; gap: 16px; padding: clamp(16px, 2.4vw, 24px); }
.picker-title { margin-bottom: 16px; }
.picker-layout { display: grid; grid-template-columns: minmax(245px, 305px) minmax(0, 1fr); align-items: start; gap: 18px; }
.picker-form > h2 { font-size: 1.22rem; }
.picker-results { min-width: 0; scroll-margin-top: 94px; }
.picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.picker-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 15px; }
.picker-card-heading { display: flex; align-items: center; gap: 8px; }
.picker-card-heading h3 a { color: var(--ink); text-decoration: none; }
.picker-card-heading h3 a:hover { color: var(--primary); text-decoration: underline; }
.picker-card-heading p { color: var(--muted); font-size: .875rem; }
.picker-card dl, .compare-summary-card dl { margin: 0; }
.picker-card dd, .compare-summary-card dd { flex-shrink: 0; }
.picker-card-costs > div:last-child dd { color: var(--primary-hover); }
.picker-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: auto; }
.picker-card-actions .button { padding-inline: 8px; }
.compare-search { max-width: 420px; margin-bottom: 12px; }
.compare-search .field-message { margin-top: 4px; color: var(--muted); }
.compare-summary { margin-top: 21px; }
.compare-summary > h2 { margin-bottom: 9px; font-size: 1.24rem; }
.compare-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.compare-summary-card { min-width: 0; padding: 13px; }
.compare-summary-card h3 { margin-bottom: 6px; font-size: 1rem; }
.compare-summary-card h3 small { display: block; color: var(--muted); font-size: .82rem; font-weight: 450; }
.compare-summary-card dd { color: var(--primary-hover); }
form label { font-size: .88rem; font-weight: 500; }
form label select, form label input:not([type='checkbox']) { margin-top: 5px; }
.controls-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.compare-fields { min-width: 0; padding: 10px 13px 13px; margin: 0; border: 1px solid var(--line); border-radius: 11px; }
.compare-fields legend { padding: 0 5px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.tariff-fields { background: var(--quiet); }
.comparison-actions { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.field-message { color: #784421; font-size: .86rem; }
.field-message:empty { display: none; }
.guide-steps { padding-left: 22px; margin-block: 8px 14px; }
.guide-steps li + li { margin-top: 9px; }
.matchup-table { table-layout: fixed; }
.matchup-table th:first-child { width: 33%; }
.matchup-table :is(th, td) { overflow-wrap: anywhere; }
.matchup-table tbody th { color: var(--muted); font-weight: 550; }
.matchup-table small { display: block; margin-top: 4px; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.matchup-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 14px; }
.matchup-total { min-width: 0; padding: 13px; background: var(--tint); }
.matchup-total strong { display: block; margin-block: 4px; color: var(--primary-hover); font-family: var(--font-display); font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.matchup-total p { margin: 0; }
.matchup-total p + p { margin-top: 5px; }
.esim-hero .guide-cover { max-height: 220px; }
.esim-picker { scroll-margin-top: 90px; }
.esim-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-bottom: 22px; padding: 16px; }
.esim-controls:has(input[type='hidden']) { grid-template-columns: minmax(0, 1fr) auto; }
.esim-controls label { display: grid; gap: 5px; min-width: 0; font-size: .9375rem; font-weight: 600; }
.esim-controls select { width: 100%; }
.esim-checked { align-self: center; color: var(--muted); font-size: .875rem; }
.esim-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.esim-offer { display: flex; flex-direction: column; align-items: start; gap: 8px; min-width: 0; padding: 17px; }
.esim-offer:first-child { border-color: #c9b9f4; background: linear-gradient(145deg, var(--surface), var(--tint)); }
.esim-offer h3 { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 1.13rem; }
.esim-offer h3 img { object-fit: contain; border-radius: 7px; }
.esim-price { color: var(--primary-hover); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.esim-offer-note { color: var(--muted); font-size: .875rem; }
.esim-offer .button { margin-top: auto; }
.esim-section { margin-top: 30px; }
.esim-countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0; list-style: none; }
.esim-countries a { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: .9375rem; font-weight: 650; text-decoration: none; }
.esim-countries a:is(:hover, [aria-current='page']) { border-color: #c9b9f4; background: var(--tint); color: var(--primary-hover); }
.esim-code { display: grid; place-items: center; width: 32px; height: 31px; flex: none; border-radius: 7px; background: var(--tint); color: var(--primary-hover); font-size: .8125rem; }
.esim-price-table { width: 100%; min-width: 0; }
.esim-price-table th:first-child { width: 29%; }
.esim-price-table :is(th, td) { font-variant-numeric: tabular-nums; }
.guide-table { min-width: 620px; }
.guide-table tbody th { min-width: 180px; font-weight: 600; }
.provider-guide-links { margin-top: 18px; }
.table-shell { overflow-x: auto; scrollbar-color: #a89ac4 var(--quiet); }
[data-compare-results] { margin-top: 16px; }
.compare-hint { display: none; color: var(--muted); margin-top: 14px; font-size: .875rem; }
table { width: 100%; border-collapse: collapse; text-align: left; }
table td, table th { padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: middle; }
thead th { background: var(--quiet); color: #49435d; font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.compare-table { table-layout: fixed; }
.compare-table thead th:first-child { width: 25%; }
.compare-table tbody th { color: var(--muted); font-weight: 500; }
.compare-table td { font-weight: 500; overflow-wrap: anywhere; }
.compare-provider { display: flex; align-items: center; gap: 8px; }
.compare-provider .provider-logo { flex-basis: 30px; width: 30px; height: 30px; }
.compare-provider a { min-width: 0; overflow-wrap: anywhere; }
.compare-table small { display: block; color: var(--muted); margin-top: 3px; font-size: .78rem; font-weight: 400; }
.compare-table .compare-key { background: var(--tint); }
.compare-table .compare-key :is(th, td) { font-weight: 600; }
.compare-table .compare-key td:not(.compare-missing) { color: var(--primary); }
.compare-table .compare-missing { color: var(--muted); font-weight: 400; }

.notice-feedback { font-size: .86rem; color: #784421; }
.notice-feedback:not(:empty) { position: fixed; z-index: 6; right: 18px; bottom: 83px; max-width: calc(100% - 36px); padding: 8px 12px; background: #fff0df; border: 1px solid #dec5a9; border-radius: 9px; }
.tray { position: fixed; z-index: 5; inset: auto 0 0; background: var(--deep); color: #fff; box-shadow: 0 -6px 22px #2519432b; }
.tray :focus-visible { outline-color: var(--accent); }
.tray-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 9px 0; }
.tray-selection { display: flex; min-width: 0; gap: 12px; align-items: center; font-size: .89rem; }
.tray-selection strong { flex: none; }
.tray-picks { display: flex; overflow-x: auto; scrollbar-width: thin; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 5px; }
.tray-chip { display: flex; max-width: 210px; min-height: 36px; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid #76658e; border-radius: 7px; background: #382d50; color: #fff; font-size: .875rem; white-space: nowrap; }
.tray-chip span { overflow: hidden; text-overflow: ellipsis; }
.tray-chip::after { content: '×'; flex: none; color: #eee7fb; font-size: 1rem; line-height: 1; }
.tray-chip:hover { background: #4a3866; }
.tray-actions { display: flex; gap: 7px; flex: none; }
.tray-actions .button.outline { border-color: #8b78a5; background: transparent; color: #fff; }
.tray-actions .button.outline:hover { background: #382d50; }
.tray-actions .button.solid { background: var(--accent); color: var(--deep); }
.tray-actions .button.solid:hover { background: #f0eaff; }
.footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-body { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body:has(.tray:not([hidden])) .footer { padding-bottom: 72px; }
html:has(.tray:not([hidden])) { scroll-padding-bottom: 82px; }

@media (max-width: 1140px) {
  .wrap { width: calc(100% - 48px); }
  .masthead { gap: 23px; }
  .catalog-row { gap: 15px; }
  .catalog-terms > div { padding-inline: 9px; }
}

@media (max-width: 1180px) {
  .nav-full { display: none; }
  .nav-short { display: inline; }
}

@media (max-width: 850px) {
  .picker-layout { grid-template-columns: 1fr; }
  .catalog-row { grid-template-columns: minmax(0, 1fr) minmax(158px, .42fr); gap: 10px 15px; }
  .catalog-actions { grid-column: 2; grid-row: 1; }
  .catalog-terms { grid-column: 1 / -1; }
  .catalog-detail .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .header { position: static; }
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) max-content; min-height: 62px; gap: 4px 10px; padding: 8px 0 5px; }
  .brand-logo { width: clamp(150px, 48vw, 196px); }
  .masthead nav { order: 3; grid-column: 1 / -1; justify-content: space-between; min-width: 0; gap: 3px; margin-right: 0; }
  .masthead nav a { justify-content: center; min-height: 44px; padding: 7px 8px; white-space: normal; text-align: center; line-height: 1.2; }
  #offers { scroll-margin-top: 14px; }
  .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .esim-picker { scroll-margin-top: 12px; }
  .esim-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px; }
  .esim-controls:has(input[type='hidden']) { grid-template-columns: 1fr; }
  .esim-checked { grid-column: 1 / -1; }
  .esim-offers { grid-template-columns: 1fr; gap: 8px; }
  .esim-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 12px; }
  .esim-offer :is(.button, .esim-offer-note) { grid-column: 1 / -1; }
  .esim-offer .button { justify-self: start; margin-top: 5px; }
  .esim-price { font-size: 1.45rem; }
  .esim-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-hero { padding: 17px 0 57px; }
  .catalog-intro {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas: 'title visual' 'summary summary' 'picker picker' 'source source';
    gap: 7px 10px;
  }
  .catalog-heading { display: contents; }
  .catalog-heading h1 { grid-area: title; font-size: clamp(1.62rem, 7.8vw, 2.5rem); }
  .catalog-heading > p { grid-area: summary; margin-top: 0; }
  .catalog-picker-link { grid-area: picker; justify-self: start; margin-top: 5px; }
  .catalog-visual { grid-area: visual; height: clamp(70px, 24vw, 132px); }
  .catalog-visual img { filter: drop-shadow(0 7px 7px #59318d30); }
  .editorial-note { grid-area: source; margin-top: 6px; padding: 7px 10px; }
  .editorial-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .catalog-results { margin-top: -35px; }
  .catalog-filters { gap: 10px; padding: 12px; }
  .filter-fields { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 8px; }
  .search-field { grid-column: 1 / -1; }
  .compare-hint + .table-shell { margin-top: 8px; }
  .compare-table :is(thead, tbody) th:first-child { position: sticky; z-index: 1; left: 0; }
  .compare-table tbody th { background: var(--surface); }
  .compare-table .compare-key th { background: var(--tint); }
  .compare-table thead th:first-child { width: 128px; }
  .compare-table th, .compare-table td { padding: 11px; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }
  .masthead nav a { font-size: .875rem; padding-inline: 5px; }
  .use-tabs { display: grid; grid-template-columns: auto auto minmax(0,1fr); width: 100%; gap: 4px; }
  .use-tabs label { min-height: 40px; padding: 5px 7px; line-height: 1.2; }
  .filter-chip { min-height: 36px; padding: 5px 8px; line-height: 1.25; }
  .filter-jump { padding-inline: 7px; }
  .source-field select { padding-left: 8px; }
  .search-input input { font-size: 1rem; }
  .results-bar { align-items: end; gap: 8px; padding-block: 14px 9px; }
  .results-title { display: grid; gap: 1px; }
  .results-actions { gap: 7px; }
  .sort-field select { padding-left: 8px; }
  .catalog-row { grid-template-columns: 1fr; padding: 13px; gap: 9px; }
  .catalog-actions { grid-column: auto; grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .catalog-actions .button { min-height: 44px; }
  .catalog-terms { grid-template-columns: minmax(0, .76fr) minmax(0, 1.19fr) minmax(0, 1.05fr); }
  .catalog-terms > div { padding: 8px 6px; }
  .catalog-terms dt { font-size: .8125rem; overflow-wrap: anywhere; }
  .catalog-terms dd { font-size: .9375rem; }
  .catalog-detail { padding: 13px; }
  .section-heading { display: grid; gap: 6px; }
  .option-grid, .catalog-detail .option-grid, .catalog-guides, .profile-grid { grid-template-columns: 1fr; }
  .controls-grid.tariff-grid { grid-template-columns: 1fr; }
  .comparison-actions, .footer-body { flex-wrap: wrap; }
  .footer-body { padding: 18px 0; justify-content: flex-start; }
  .footer-body .brand { width: 100%; }
  .article-hero, .reading { padding: 16px; }
  .article-hero-with-art, .article-feature { grid-template-columns: 1fr; gap: 14px; }
  .article-feature .guide-cover { max-height: 166px; }
  .guide-card { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); }
  .guide-copy { padding: 15px; }
  .plan-panel h3 { min-height: 0; }
  .tray-inner { flex-wrap: wrap; gap: 4px; padding: 6px 0 max(6px, env(safe-area-inset-bottom)); }
  .tray-selection { flex: 0 0 100%; gap: 5px; }
  .tray-picks { flex: 1; }
  .tray-chip { max-width: 165px; min-height: 40px; }
  .tray-actions { flex: 1; }
  .tray-actions .button { flex: 1; font-size: .875rem; }
  .notice-feedback:not(:empty) { bottom: calc(123px + env(safe-area-inset-bottom)); }
  body:has(.tray:not([hidden])) .footer { padding-bottom: 116px; }
  html:has(.tray:not([hidden])) { scroll-padding-bottom: 126px; }
}

@media (max-width: 520px) {
  .picker-grid, .compare-summary-grid { grid-template-columns: 1fr; }
  .picker-results { scroll-margin-top: 14px; }
  .compare-summary-card dl { display: grid; grid-template-columns: .75fr 1.2fr 1fr; gap: 8px; }
  .compare-summary-card dl > div { display: grid; align-content: space-between; gap: 3px; padding-bottom: 0; }
  .compare-summary-card dt { font-size: .82rem; }
  .compare-summary-card dd { text-align: left; }
  .matchup-table :is(th, td) { padding: 9px 7px; font-size: .875rem; }
  .compare-provider { align-items: flex-start; flex-direction: column; gap: 5px; }
  .compare-table:has(thead th:nth-child(4)) { min-width: 496px; }
  [data-comparison]:has(.compare-table thead th:nth-child(4)) .compare-hint { display: block; }
}

@media (max-width: 440px) {
  .controls-grid:not(.tariff-grid) { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .results-actions:has([data-reset-toolbar]:not([hidden])) { display: grid; justify-items: end; gap: 0; }
  .results-actions .text-button { order: 1; min-height: 36px; }
  .compare-table:has(thead th:nth-child(3)):not(:has(thead th:nth-child(4))) { min-width: 355px; }
  [data-comparison]:has(.compare-table thead th:nth-child(3)) .compare-hint { display: block; }
}

@media (max-width: 360px) {
  .masthead nav { gap: 2px; flex-wrap: wrap; }
  .masthead nav a { padding-inline: 0; font-size: .8125rem; }
  .results-title h2 { font-size: 1.17rem; }
  .results-actions { gap: 5px; }
  .results-actions :is(.text-button, select) { font-size: .8125rem; }
  .entry-media { flex-basis: 70px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .catalog-entry { transition: none; }
}
