@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --night: #09251b;
  --night-soft: #123a2a;
  --field: #164631;
  --mint: #a4e6b8;
  --mint-strong: #83d9a3;
  --paper: #f4f6f1;
  --paper-bright: #ffffff;
  --ink: #14251b;
  --ink-soft: #45564a;
  --rule: #d4d8cf;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --content: 1240px;
  --gutter: clamp(22px, 5.4vw, 84px);
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--paper);
  color: var(--ink);
  scrollbar-color: #688a70 var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 280px; background: var(--paper); }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:active, a.button:active { transform: scale(.98); }
a { color: inherit; text-underline-offset: 4px; }
::selection { color: var(--night); background: var(--mint); }
:focus-visible { outline: 3px solid #16814b; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 16px;
  background: var(--mint); color: var(--night); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 90px; display: flex; align-items: center; gap: clamp(22px, 4vw, 64px);
  padding: 7px var(--gutter); color: var(--paper-bright); background: var(--night);
  border-bottom: 1px solid rgba(164, 230, 184, .17);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; width: 88px; height: 76px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); margin: 0 auto 0 0; }
.main-nav a, .mobile-nav a {
  color: #d7e2d9; text-decoration: none; font-size: 13px; letter-spacing: .015em;
  transition: color 160ms ease-out;
}
.main-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--mint); }
.main-nav a:hover, .mobile-nav a:hover { color: var(--mint); }
.favorites-link { display: inline-flex; align-items: center; gap: 9px; color: var(--mint); text-decoration: none; font-size: 13px; }
.favorites-link svg, .menu-toggle svg, .icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.favorite-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border: 1px solid rgba(164,230,184,.52); border-radius: 50px; font-variant-numeric: tabular-nums; font-size: 11px; }
.menu-toggle, .mobile-nav { display: none; }

.exchange-hero { padding: 18px var(--gutter) 12px; color: var(--paper-bright); background: var(--night); }
.hero-topline, .hero-register-line { max-width: var(--content); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: #abc3ae; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.hero-topline i { display: inline-block; width: 4px; height: 4px; margin: 0 8px 2px; border-radius: 50%; background: var(--mint); }
.hero-availability { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: 12px; }
.hero-availability b, .live-indicator b { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-strong); }
.hero-main { max-width: var(--content); margin: 28px auto 0; }
.hero-copy { max-width: none; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1, .page-intro h1, .simple-page > h1 {
  margin: 0; font-family: "Inter", Arial, sans-serif; font-weight: 400;
  letter-spacing: -.035em; line-height: .96;
}
.hero-copy h1 { font-size: clamp(52px, 4.8vw, 62px); }
.hero-second { white-space: normal; }
.hero-copy h1 em { color: var(--mint); font-weight: 400; }
.hero-copy p { max-width: 50ch; margin: 16px 0 0; color: #d0ddd2; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.55; }

.search-console { max-width: var(--content); }
.home-search { margin: 24px auto 0; }
.search-console > label { display: block; margin: 0 0 10px 2px; color: #abc3ae; font-size: 11px; letter-spacing: .13em; font-weight: 600; }
.search-field { height: 64px; display: flex; align-items: center; gap: 16px; padding: 7px 8px 7px 22px; border: 1px solid rgba(164,230,184,.38); background: #0d2e21; }
.search-field > svg { flex: 0 0 auto; width: 21px; height: 21px; fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; }
.search-field input { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--paper-bright); font-size: 17px; }
.search-field input::placeholder { color: #9fb5a2; opacity: 1; }
.search-field:focus-within { border-color: var(--mint); box-shadow: 0 0 0 2px rgba(164,230,184,.18); }
.search-submit, .button {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 54px; padding: 0 23px; border: 0; background: var(--mint); color: var(--night);
  font-size: 14px; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background-color 170ms ease-out, color 170ms ease-out, transform 150ms ease-out;
}
.search-submit:hover, .button-green:hover { background: #c4f1d1; }
.search-submit svg, .button svg, .text-link svg, .pattern-shortcuts a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.search-foot { display: flex; justify-content: space-between; gap: 14px; padding: 8px 3px 0; color: #a9bcae; font-size: 11px; }
.search-foot span:last-child { font-variant-numeric: tabular-nums; }

.pattern-shortcuts { max-width: var(--content); min-height: 58px; margin: 17px auto 0; padding-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(164,230,184,.2); }
.pattern-shortcuts > span { margin-right: 8px; color: #abc3ae; font-size: 11px; }
.pattern-shortcuts button { min-height: 34px; padding: 0 13px; border: 1px solid rgba(164,230,184,.31); border-radius: 999px; background: transparent; color: #e1eae2; font-size: 11px; cursor: pointer; transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out; }
.pattern-shortcuts button:hover { color: var(--night); border-color: var(--mint); background: var(--mint); }
.pattern-shortcuts a { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font-size: 12px; text-decoration: none; }
.hero-register-line { min-height: 34px; padding-top: 8px; border-top: 1px solid rgba(164,230,184,.2); color: #abc3ae; font-size: 11px; letter-spacing: .09em; }

.content-width { width: min(calc(100% - var(--gutter) * 2), var(--content)); margin-inline: auto; }
.home-list { padding-top: 24px; padding-bottom: 76px; }
.home-list > h2 { margin: 0 0 18px; font-family: "Inter", Arial, sans-serif; font-size: clamp(25px, 3vw, 32px); font-weight: 400; letter-spacing: -.025em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-family: "Inter", Arial, sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 400; letter-spacing: -.025em; }
.section-heading p { margin: 11px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; color: #145939; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.home-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid #aeb9ac; }
.home-footnote { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.rule-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #288252; }

.number-row { min-width: 0; display: grid; grid-template-columns: minmax(205px, 1.4fr) minmax(120px, .8fr) minmax(115px, .66fr) minmax(118px, .67fr) 40px; align-items: center; gap: clamp(12px, 2vw, 30px); padding: 21px 0; border-bottom: 1px solid var(--rule); transition: opacity 180ms ease-out, transform 180ms var(--ease-out); }
.number-row.is-entering { opacity: 0; transform: translateY(5px); }
.number-row:first-child { padding-top: 26px; }
.number-row.featured { min-height: 136px; padding-block: 24px; }
.number-value { display: block; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: clamp(20px, 2vw, 25px); font-weight: 650; letter-spacing: .012em; text-align: left; text-decoration: none; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; cursor: pointer; }
.number-row.featured .number-value { color: #145939; font-family: "Inter", Arial, sans-serif; font-size: clamp(25px, 2.4vw, 31px); font-weight: 500; letter-spacing: -.025em; }
.number-meta { color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.pattern-tag { width: fit-content; padding: 7px 10px; border: 1px solid #c4d3c4; color: #20563a; font-size: 11px; line-height: 1.2; }
.number-price { color: var(--ink); font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.number-action { justify-self: start; min-height: 39px; padding: 0 12px; border: 1px solid #406a50; background: transparent; color: #17462f; font-size: 11px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 150ms ease-out; }
.number-action:hover { color: var(--paper-bright); border-color: var(--field); background: var(--field); }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid transparent; background: transparent; color: #47624d; cursor: pointer; transition: color 150ms ease-out, background-color 150ms ease-out, transform 150ms ease-out; }
.icon-button svg { width: 20px; height: 20px; }
.favorite-button { justify-self: end; border-color: #ccd4cb; }
.favorite-button[aria-pressed="true"] { color: #166342; background: #e1ede1; }
.favorite-button[aria-pressed="true"] svg { fill: #9de4b3; }

.catalog-page, .simple-page { min-height: 66vh; padding-top: clamp(48px, 7vw, 84px); padding-bottom: 96px; }
.page-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.page-caption { margin: 0 0 15px; color: #3d6748; font-size: 11px; font-weight: 650; letter-spacing: .14em; }
.page-intro h1, .simple-page > h1 { font-size: clamp(42px, 6.5vw, 74px); }
.page-intro > div:first-child > p:last-child { max-width: 62ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.catalog-total { display: flex; align-items: baseline; gap: 10px; padding-bottom: 4px; color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.catalog-total strong { color: #145939; font-family: "Inter", Arial, sans-serif; font-size: 32px; font-weight: 400; font-variant-numeric: tabular-nums; }
.catalog-search { max-width: none; margin: 0 0 22px; padding: 17px 19px 19px; background: var(--night); }
.catalog-search > label { margin-bottom: 9px; }
.catalog-search .search-field { height: 58px; background: #102d21; }
.filter-bar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 18px 0; border-bottom: 1px solid #aeb9ac; }
.filter-control { min-width: 165px; display: flex; flex-direction: column; gap: 7px; }
.filter-control span { color: var(--ink-soft); font-size: 11px; font-weight: 600; }
.filter-control select, .filter-control input { height: 42px; min-width: 0; padding: 0 35px 0 12px; border: 1px solid #c5ccc1; border-radius: 0; background: var(--paper-bright); color: var(--ink); font-size: 12px; }
.filter-control input { padding-right: 12px; }
.filter-control select:focus, .filter-control input:focus { outline: 2px solid #268353; outline-offset: 1px; }
.sort-control { margin-left: auto; }
.catalog-status { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 8px; color: var(--ink-soft); font-size: 11px; }
.live-indicator { display: inline-flex; align-items: center; gap: 7px; }
.live-indicator b { width: 5px; height: 5px; background: #308952; }
.number-list { border-top: 1px solid #aeb9ac; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 60px; }
.pagination button { min-width: 36px; height: 36px; border: 1px solid #c4cec1; background: transparent; color: #24553a; font-size: 12px; cursor: pointer; }
.pagination button[aria-current="page"] { border-color: var(--field); color: var(--paper-bright); background: var(--field); }
.pagination button:disabled { opacity: .42; cursor: default; }
.empty-state { padding: 44px 20px; border-bottom: 1px solid var(--rule); text-align: center; }
.empty-state h2 { margin: 0 0 8px; font-family: "Inter", Arial, sans-serif; font-size: 27px; font-weight: 400; }
.empty-state p { margin: 0 auto 18px; max-width: 48ch; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.clear-search { border: 0; padding: 6px 0; background: none; color: #145939; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.simple-page { max-width: 920px; margin-inline: auto; }
.simple-page > .page-caption { margin-bottom: 15px; }
.simple-page > h1 { max-width: 800px; }
.simple-lead { max-width: 66ch; margin: 22px 0 42px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.process-ledger { border-top: 1px solid #8da390; margin-bottom: 23px; }
.process-ledger article { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--rule); }
.process-ledger article > span { color: #397150; font-family: "Inter", Arial, sans-serif; font-size: 27px; }
.process-ledger h2 { margin: 0 0 8px; font-family: "Inter", Arial, sans-serif; font-size: 25px; font-weight: 400; }
.process-ledger p { max-width: 65ch; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.fine-print { margin: 0 0 29px; color: #506156; font-size: 11px; }
.button-green { background: var(--field); color: var(--paper-bright); }
.button-green:hover { background: #22573b; }
.simple-page .button-green { margin-top: 1px; }

.site-footer { min-height: 112px; display: flex; align-items: center; gap: clamp(17px, 4vw, 54px); padding: 20px var(--gutter); color: #d5e1d7; background: var(--night); font-size: 11px; }
.footer-brand { display: grid; place-items: center; width: 66px; height: 58px; overflow: hidden; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; }
.site-footer > span { color: #a9bdad; }
.site-footer a:not(.footer-brand) { color: #d5e1d7; text-decoration: none; }
.site-footer a:not(.footer-brand):hover { color: var(--mint); }
.site-footer .copyright { margin-left: auto; font-variant-numeric: tabular-nums; }

.contact-dialog { width: min(480px, calc(100% - 32px)); padding: 37px; border: 1px solid #839987; border-radius: 2px; background: var(--paper-bright); color: var(--ink); box-shadow: 0 24px 80px rgba(1, 16, 9, .34); opacity: 0; transform: translateY(7px); transition: opacity 180ms ease-out, transform 180ms var(--ease-out); }
.contact-dialog[open] { opacity: 1; transform: translateY(0); }
@starting-style { .contact-dialog[open] { opacity: 0; transform: translateY(7px); } }
.contact-dialog::backdrop { background: rgba(4, 20, 13, .62); }
.dialog-close-form { position: absolute; top: 12px; right: 12px; }
.dialog-close { width: 35px; height: 35px; }
.contact-dialog .page-caption { max-width: 34ch; padding-right: 18px; }
.contact-dialog h2 { margin: 0 0 11px; font-family: "Inter", Arial, sans-serif; font-size: 34px; font-weight: 400; }
.dialog-number { margin: 0 0 8px; color: #145939; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.dialog-copy { margin: 0 0 22px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.messenger-options { display: grid; border-top: 1px solid var(--rule); }
.messenger-link { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); color: #164d32; font-size: 13px; text-decoration: none; }
.messenger-link span:last-child { display: inline-flex; align-items: center; gap: 8px; color: #3b6a49; font-size: 11px; }
.messenger-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.messenger-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 550; }
.messenger-brand svg { width: 22px; height: 22px; flex: 0 0 auto; }
.messenger-link[data-channel="telegram"] .messenger-brand svg { color: #36aeea; }
.messenger-link[data-channel="whatsapp"] .messenger-brand svg { color: #25b96b; }
.messenger-link[data-channel="max"] .messenger-brand svg { color: #75a9ff; }
.messenger-open svg { width: 16px; height: 16px; }
.messenger-link:hover { color: #2b8750; }
.messenger-link[data-disabled="true"] { color: #718074; cursor: default; }
.dialog-unavailable { margin: 17px 0 0; color: #596b5e; font-size: 11px; line-height: 1.55; }

.toast-container { position: fixed; z-index: 30; right: 20px; top: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: min(400px, calc(100vw - 40px)); padding: 13px 17px; color: var(--paper-bright); background: #164631; box-shadow: 0 6px 24px rgba(3, 22, 10, .22); font-size: 12px; line-height: 1.5; opacity: 1; transform: translateY(0); transition: opacity 180ms ease-out, transform 180ms ease-out; }
.toast[data-exit="true"] { opacity: 0; transform: translateY(-8px); }

@media (prefers-reduced-motion: reduce) {
  .number-row { transition: none; }
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover { color: #134e31; background: #e0ebdf; }
  .favorites-link:hover { color: #c8f4d4; }
}

@media (max-width: 900px) {
  :root { --gutter: 30px; }
  .site-header { gap: 27px; }
  .brand { width: 78px; height: 68px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 12px; }
  .favorites-link span:nth-child(2) { display: none; }
  .number-row { grid-template-columns: minmax(170px, 1.2fr) minmax(100px, .7fr) minmax(102px, .7fr) minmax(100px, .7fr) minmax(106px, .72fr) 40px; gap: 10px; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 84px; }
  .site-header { min-height: 72px; gap: 15px; padding-block: 5px; }
  .brand { width: 68px; height: 60px; }
  .main-nav { display: none; }
  .favorites-link { margin-left: auto; }
  .favorites-link span:nth-child(2) { display: inline; font-size: 11px; }
  .favorites-link svg { width: 19px; height: 19px; }
  .menu-toggle { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(164,230,184,.32); background: transparent; color: var(--mint); cursor: pointer; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .mobile-nav { position: absolute; z-index: 12; top: 72px; right: 0; left: 0; display: flex; flex-direction: column; gap: 0; padding: 4px var(--gutter) 14px; background: var(--night); box-shadow: 0 12px 24px rgba(5,24,15,.2); opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity 150ms ease-out, transform 180ms var(--ease-out), visibility 0ms linear 180ms; }
  .mobile-nav[data-open="true"] { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; transition: opacity 150ms ease-out, transform 180ms var(--ease-out), visibility 0ms; }
  .mobile-nav a { min-height: 43px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(164,230,184,.14); font-size: 13px; }
  .exchange-hero { padding-top: 18px; }
  .hero-topline, .hero-register-line { font-size: 11px; letter-spacing: .08em; }
  .hero-availability { font-size: 11px; }
  .hero-main { margin-top: 24px; }
  .hero-copy h1 { font-size: clamp(29px, 8vw, 34px); line-height: 1; }
  .hero-second { display: block; white-space: normal; }
  .hero-copy p { max-width: 39ch; margin-top: 12px; font-size: 14px; }
  .home-search { margin-top: 18px; }
  .search-console > label { font-size: 11px; }
  .search-field { height: 62px; gap: 10px; padding-left: 13px; }
  .search-field input { font-size: 15px; }
  .search-field input::placeholder { font-size: 13px; }
  .search-submit { min-height: 46px; gap: 8px; padding-inline: 13px; font-size: 12px; }
  .search-submit svg { width: 15px; height: 15px; }
  .search-foot { font-size: 11px; }
  .pattern-shortcuts { gap: 8px; margin-top: 13px; padding-block: 9px; }
  .pattern-shortcuts > span { display: none; }
  .pattern-shortcuts button { min-height: 32px; padding-inline: 10px; font-size: 11px; }
  .shortcut-category select { min-height: 32px; max-width: 160px; padding-inline: 10px 28px; font-size: 11px; }
  .shortcut-category::after { right: 12px; width: 6px; height: 6px; }
  .pattern-shortcuts a { font-size: 11px; }
  .hero-register-line { display: none; }
  .hero-register-line span:last-child { max-width: 44%; text-align: right; }
  .home-list { padding-top: 16px; padding-bottom: 56px; }
  .home-list > h2 { margin-bottom: 10px; font-size: 27px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 19px; }
  .section-heading p { margin-top: 8px; font-size: 12px; }
  .section-heading h2 { font-size: 31px; }
  .text-link { font-size: 12px; }
  .number-row { grid-template-columns: minmax(0, 1fr) auto 38px; gap: 10px 11px; padding: 16px 0; }
  .number-row.featured { min-height: 0; padding-block: 12px; }
  .number-main { grid-column: 1 / 3; grid-row: 1; }
  .number-price { grid-column: 1; grid-row: 2; font-size: 14px; }
  .favorite-button { grid-column: 3; grid-row: 1; }
  .pattern-tag { grid-column: 2 / 4; grid-row: 2; justify-self: end; padding: 5px 8px; font-size: 11px; }
  .number-value { font-size: 16px; }
  .number-row.featured .number-value { font-size: 16px; }
  .number-meta { margin-top: 5px; font-size: 11px; }
  .number-action { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; min-height: 37px; font-size: 11px; }
  .home-footnote { align-items: flex-start; font-size: 11px; }
  .catalog-page, .simple-page { padding-top: 41px; padding-bottom: 65px; }
  .page-intro { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 24px; }
  .page-intro h1, .simple-page > h1 { font-size: clamp(42px, 11vw, 58px); }
  .page-intro > div:first-child > p:last-child { margin-top: 12px; font-size: 12px; }
  .catalog-total { align-self: flex-start; }
  .catalog-total strong { font-size: 27px; }
  .catalog-search { margin-bottom: 16px; padding: 13px; }
  .catalog-search .search-field { height: 53px; }
  .catalog-search .search-submit { width: 46px; height: 43px; min-height: 43px; padding: 0; }
  .catalog-search .search-submit span { display: none; }
  .filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 13px; }
  .filter-control { min-width: 0; }
  .sort-control { margin-left: 0; }
  .filter-control select, .filter-control input { height: 41px; font-size: 11px; }
  .catalog-status { font-size: 11px; }
  .live-indicator { font-size: 11px; }
  .simple-lead { margin: 17px 0 29px; font-size: 14px; }
  .process-ledger article { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding-block: 21px; }
  .process-ledger article > span { font-size: 23px; }
  .process-ledger h2 { font-size: 21px; }
  .process-ledger p { font-size: 12px; }
  .full-field { grid-column: auto; }
  .form-note { text-align: center; }
  .site-footer { flex-wrap: wrap; gap: 10px 20px; padding-block: 21px; font-size: 11px; }
  .footer-brand { width: 54px; height: 48px; }
  .site-footer > span:nth-child(2) { flex: 1 0 calc(100% - 83px); }
  .site-footer .copyright { margin-left: 0; }
  .contact-dialog { padding: 31px 23px 24px; }
  .contact-dialog h2 { font-size: 30px; }
  .toast-container { top: max(12px, env(safe-area-inset-top)); right: 12px; }
}

@media (max-width: 370px) {
  :root { --gutter: 16px; }
  .hero-copy h1 { font-size: 47px; }
  .search-submit { padding-inline: 10px; }
  .search-submit span { display: none; }
  .pattern-shortcuts button { padding-inline: 8px; }
  .number-row.featured .number-value { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* NUMIX / smoked glass exchange */
:root {
  color-scheme: dark;
  --night: #080d0c;
  --night-soft: #101917;
  --field: #15211e;
  --mint: #b4f3d0;
  --mint-strong: #83dfb0;
  --paper: #0b1110;
  --paper-bright: #e9f2ed;
  --ink: #e9f2ed;
  --ink-soft: #a7b8b0;
  --rule: rgba(195, 230, 212, .14);
  --gutter: clamp(18px, 4.2vw, 68px);
  --glass: rgba(23, 36, 32, .72);
  --glass-edge: rgba(207, 243, 224, .17);
  background: var(--paper);
  color: var(--ink);
  scrollbar-color: #45695a var(--paper);
}
body { background: var(--paper); font-size: 16px; }
.site-header {
  position: sticky; top: 0; z-index: 15; min-height: 76px;
  background: rgba(8, 13, 12, .78); border: 0;
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
}
.main-nav a, .mobile-nav a { font-size: 13px; color: var(--ink-soft); }
.main-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--mint); }
.exchange-hero {
  position: relative; overflow: hidden; padding-top: clamp(25px, 4.2vw, 58px); padding-bottom: 24px;
  background: var(--night); isolation: isolate;
}
.exchange-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 74%;
  background: radial-gradient(ellipse at 76% 25%, rgba(102, 169, 135, .13), transparent 45%);
  pointer-events: none;
}
.hero-topline, .hero-register-line { color: #b2c7bd; font-size: 14px; letter-spacing: 0; text-transform: none; }
.hero-availability { font-size: 14px; }
.hero-main { margin-top: clamp(35px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: center; column-gap: clamp(30px, 7vw, 110px); }
.hero-copy { grid-column: 1; }
.home-search { grid-column: 1 / -1; }
.digit-specimen {
  grid-column: 2; grid-row: 1; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 12px; border: 1px solid var(--glass-edge); border-radius: 18px;
  background: rgba(225,255,238,.045); -webkit-backdrop-filter: blur(28px) saturate(135%); backdrop-filter: blur(28px) saturate(135%);
  box-shadow: inset 0 1px rgba(255,255,255,.08), inset 0 -1px rgba(0,0,0,.18);
}
.specimen-title { grid-column: 1/-1; padding: 7px 9px 12px; color: var(--ink-soft); font-size: 13px; }
.specimen-pattern { min-height: 94px; display: flex; flex-direction: column; justify-content: space-between; padding: 13px; border-radius: 11px; background: rgba(219,248,232,.075); color: var(--ink); text-decoration: none; transition: transform 240ms cubic-bezier(.2,.8,.2,1), background-color 200ms ease; }
.specimen-pattern strong { font-size: clamp(25px,3vw,38px); line-height: 1; font-weight: 450; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.specimen-pattern span { color: var(--ink-soft); font-size: 13px; }
.specimen-pattern.specimen-primary { grid-row: span 2; min-height: 196px; background: rgba(180,243,208,.12); }
.specimen-pattern.specimen-primary strong { color: var(--mint); font-size: clamp(47px,6vw,78px); }
.specimen-pattern:hover { transform: translateY(-2px); background-color: rgba(219,248,232,.13); }
.hero-copy h1 { max-width: 12ch; font-size: clamp(48px, 7.4vw, 100px); line-height: .96; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--mint); font-style: normal; }
.hero-copy p { max-width: 47ch; margin-top: 22px; color: #bdcbc4; font-size: clamp(16px, 1.35vw, 18px); }
#home-view .hero-main > .home-search { grid-column: 1 / -1; width: 100%; max-width: none; margin: 34px 0 0; }
.search-console > label { color: #b7c9c0; font-size: 13px; letter-spacing: .06em; }
.search-field {
  height: 70px; padding: 8px 9px 8px 22px; border: 1px solid var(--glass-edge); border-radius: 14px;
  background: rgba(225, 255, 238, .065); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: inset 0 1px rgba(255,255,255,.09), inset 0 -1px rgba(0,0,0,.2);
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.search-field:focus-within { border-color: rgba(180,243,208,.65); background: rgba(225,255,238,.09); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 0 0 3px rgba(180,243,208,.08); }
.search-field input { color: var(--ink); font-size: 18px; }
.search-field input::placeholder { color: #9bada4; }
.search-submit, .button {
  min-height: 52px; border-radius: 10px; background: var(--mint); color: #102219;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background-color 220ms ease, box-shadow 220ms ease;
}
.search-submit:hover, .button-green:hover { background: #d3ffe4; box-shadow: 0 6px 22px rgba(139, 224, 177, .17); }
.search-foot { color: #a9bdb2; font-size: 13px; }
.search-foot [data-shortcut] { font-size: 13px; }
.pattern-shortcuts { border: 0; padding-top: 17px; }
.pattern-shortcuts > span { color: #b6c8bf; font-size: 13px; }
.pattern-shortcuts button {
  min-height: 39px; padding-inline: 15px; border: 1px solid var(--glass-edge); border-radius: 999px;
  background: rgba(224,255,237,.055); color: #d9e8e0; font-size: 13px;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background-color 220ms ease, border-color 220ms ease;
}
.pattern-shortcuts button:hover { transform: translateY(-2px); color: var(--mint); border-color: rgba(180,243,208,.55); background: rgba(224,255,237,.11); }
.shortcut-category { position: relative; display: inline-flex; align-items: center; }
.shortcut-category::after { content: ""; position: absolute; right: 16px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); pointer-events: none; }
.shortcut-category select {
  min-height: 39px; max-width: 190px; appearance: none; padding: 0 36px 0 15px; border: 1px solid var(--glass-edge); border-radius: 999px;
  background: rgba(224,255,237,.055); color: #d9e8e0; font: inherit; font-size: 13px; cursor: pointer;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background-color 220ms ease, border-color 220ms ease;
}
.shortcut-category select:hover { transform: translateY(-2px); border-color: rgba(180,243,208,.55); background: rgba(224,255,237,.11); }
.shortcut-category select:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.shortcut-category option { color: #17241c; background: #edf3ee; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pattern-shortcuts a { font-size: 14px; }
.hero-register-line { border: 0; }
.hero-register-line span { font-size: 13px; letter-spacing: 0; text-transform: none; }
.content-width { width: min(calc(100% - var(--gutter) * 2), 1440px); }
.home-list { padding-top: clamp(16px, 1.5vw, 24px); padding-bottom: 88px; }
.home-list > h2, .section-heading h2 { font-weight: 400; letter-spacing: -.045em; }
.home-list > h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 28px; }
.section-heading p { color: var(--ink-soft); font-size: 15px; }
.text-link { color: var(--mint); font-size: 14px; }
.home-feature-grid { border: 0; gap: 8px; }
.number-list { display: grid; gap: 8px; padding-top: 4px; }
.number-row {
  padding: 20px 22px; border: 1px solid rgba(202,238,219,.11); border-radius: 15px;
  background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255,255,255,.055);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, background-color 220ms ease, opacity 180ms ease-out;
}
.number-row:first-child { padding-top: 20px; }
.number-row.featured { min-height: 120px; padding-block: 20px; border-color: rgba(180,243,208,.25); background: rgba(30, 53, 44, .78); }
.number-value, .number-row.featured .number-value { color: var(--ink); font-family: "Inter", Arial, sans-serif; font-weight: 500; letter-spacing: -.04em; }
.number-price { color: var(--mint); }
.number-meta { color: var(--ink-soft); font-size: 13px; }
.pattern-tag { padding: 7px 11px; border: 1px solid rgba(180,243,208,.2); border-radius: 999px; color: #c9f1da; font-size: 13px; }
.number-action { min-height: 43px; padding-inline: 15px; border: 1px solid rgba(180,243,208,.32); border-radius: 9px; background: rgba(180,243,208,.07); color: var(--mint); font-size: 14px; transition: transform 220ms cubic-bezier(.2,.8,.2,1), background-color 200ms ease, border-color 200ms ease; }
.number-action:hover { border-color: var(--mint); background: rgba(180,243,208,.16); }
.favorite-button, .icon-button { border-radius: 50%; color: #b9ccc1; }
.favorite-button:hover, .icon-button:hover { color: var(--mint); background: rgba(180,243,208,.1); }
.number-row:hover { transform: translateY(-2px); border-color: rgba(180,243,208,.28); background: rgba(26,43,37,.87); }
.home-footnote { color: var(--ink-soft); font-size: 14px; }
.rule-dot { background: var(--mint); }
.catalog-page, .simple-page { padding-top: clamp(44px, 6vw, 84px); padding-bottom: 88px; }
.page-intro h1, .simple-page > h1 { font-size: clamp(44px, 7vw, 82px); font-weight: 400; letter-spacing: -.06em; }
.page-caption { color: var(--mint); font-size: 13px; letter-spacing: .09em; }
.page-intro > div:first-child > p:last-child, .simple-lead { color: var(--ink-soft); font-size: 17px; }
.catalog-total strong { color: var(--mint); }
.catalog-search { margin-bottom: 20px; padding: 16px; border: 1px solid var(--glass-edge); border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.filter-bar { gap: 14px; border: 0; }
.filter-control span { color: var(--ink-soft); font-size: 13px; }
.filter-control select, .filter-control input { border: 1px solid var(--glass-edge); border-radius: 9px; background: #121c19; color: var(--ink); font-size: 13px; }
.catalog-status { color: var(--ink-soft); }
.live-indicator { color: #bed0c6; }
.live-indicator b { background: var(--mint-strong); }
.process-ledger { border-top: 1px solid var(--rule); }
.process-ledger article { grid-template-columns: minmax(0,1fr); border-bottom: 1px solid var(--rule); }
.process-ledger article > span { color: var(--mint); }
.process-ledger p, .fine-print, .form-note { color: var(--ink-soft); }
.site-footer { position: relative; min-height: 170px; padding: 32px var(--gutter); color: var(--ink); background: #101916; border: 0; font-size: 13px; }
.site-footer > span, .site-footer a:not(.footer-brand) { color: #c1d0c8; }
.site-footer .copyright { color: #98aaa0; }
.footer-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; }
.footer-contacts a { color: var(--mint); font-size: 13px; text-decoration: none; }
.footer-contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-header { min-height: 76px; }
.legal-phone { margin-left: auto; color: var(--mint); font-size: 14px; text-decoration: none; white-space: nowrap; }
.legal-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-page { width: min(calc(100% - var(--gutter) * 2), 900px); margin-inline: auto; padding: clamp(48px,7vw,92px) 0 100px; }
.reviews-page { width: min(calc(100% - var(--gutter) * 2), 1180px); min-height: min(720px, calc(100svh - 260px)); margin-inline: auto; padding: clamp(62px, 9vw, 120px) 0 80px; }
.reviews-video-backdrop { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: var(--paper); }
.reviews-video-backdrop video { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: center; opacity: 1; }
.reviews-header, .reviews-mobile-nav { position: relative; background: color-mix(in srgb, var(--paper) 76%, transparent); }
.reviews-page-body .legal-footer { background: color-mix(in srgb, var(--paper) 84%, transparent); }
.reviews-page-body { background: transparent; }
.reviews-mobile-nav { display: none; }
.reviews-intro { max-width: 800px; margin-bottom: clamp(38px, 6vw, 68px); }
.reviews-intro .page-caption { margin: 0 0 22px; color: var(--mint); }
.reviews-intro h1 { margin: 0; color: var(--ink); font-size: clamp(42px, 7.5vw, 88px); font-weight: 450; letter-spacing: -.065em; line-height: .98; }
.reviews-intro h1 em { color: var(--mint); font-style: normal; }
.reviews-intro > p:last-child { max-width: 47ch; margin: 23px 0 0; color: var(--ink-soft); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.65; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { position: relative; min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(21px, 3vw, 32px); overflow: hidden; border: 1px solid var(--glass-edge); border-radius: 18px; background: color-mix(in srgb, var(--glass) 82%, var(--paper)); color: var(--ink); text-decoration: none; box-shadow: 0 14px 40px rgba(0,0,0,.08), inset 0 1px rgba(255,255,255,.1); transition: transform 220ms var(--ease-out), border-color 180ms ease, background-color 180ms ease, box-shadow 220ms ease; }
.review-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -62px; bottom: -96px; border-radius: 50%; background: var(--review-glow, rgba(180,243,208,.14)); filter: blur(5px); pointer-events: none; }
.review-card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.review-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--glass-edge); border-radius: 15px; background: var(--review-icon-bg, var(--glass)); color: var(--review-icon-color, var(--mint)); font-size: 28px; font-weight: 750; }
.review-icon svg { width: 28px; height: 28px; fill: currentColor; }
.review-icon-telegram svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.review-icon-yandex { color: #fff; background: #fc3f1d; border-color: transparent; font-family: Arial, sans-serif; }
.review-icon-telegram { --review-icon-color: #36aeea; --review-icon-bg: rgba(54,174,234,.12); }
.review-icon-vk { --review-icon-color: #80aaff; --review-icon-bg: rgba(80,130,220,.16); }
.review-card-arrow { color: var(--ink-soft); font-size: 24px; transition: transform 180ms var(--ease-out), color 180ms ease; }
.review-card-name { margin-top: 29px; color: var(--ink); font-size: clamp(21px, 2.3vw, 27px); font-weight: 560; letter-spacing: -.035em; }
.review-card-description { min-height: 42px; margin-top: 8px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.review-card-action { display: inline-flex; align-items: center; gap: 7px; margin-top: 19px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.review-card.is-available .review-card-action { color: var(--mint); }
.review-card.is-available .review-card-action::after { content: "→"; font-size: 15px; transition: transform 180ms var(--ease-out); }
.review-card[aria-disabled="true"] { cursor: default; }
.reviews-footnote { max-width: 70ch; margin: 24px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .review-card.is-available:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--mint) 56%, var(--glass-edge)); box-shadow: 0 22px 48px rgba(0,0,0,.15), inset 0 1px rgba(255,255,255,.12); } .review-card.is-available:hover .review-card-arrow { color: var(--mint); transform: translate(2px,-2px); } .review-card.is-available:hover .review-card-action::after { transform: translateX(3px); } }
@media (max-width: 760px) { .reviews-grid { grid-template-columns: 1fr; gap: 11px; } .review-card { min-height: 190px; padding: 20px; } .review-card-name { margin-top: 19px; } .review-card-description { min-height: 0; } .reviews-page { padding-top: 48px; } }
@media (prefers-reduced-motion: reduce) { .reviews-video-backdrop video { display: none; } }
@media (max-width: 900px) { .reviews-header .main-nav { display: none; } .reviews-mobile-nav { display: flex; gap: 24px; overflow-x: auto; padding: 0 var(--gutter) 13px; border-bottom: 1px solid var(--glass-edge); scrollbar-width: none; } .reviews-mobile-nav::-webkit-scrollbar { display: none; } .reviews-mobile-nav a { flex: 0 0 auto; color: var(--ink-soft); font-size: 12px; text-decoration: none; } .reviews-mobile-nav a[aria-current="page"] { color: var(--mint); } }
html[data-theme="light"] .reviews-intro h1 em, html[data-theme="light"] .reviews-intro .page-caption { color: #185e3c; }
html[data-theme="light"] .review-card.is-available .review-card-action { color: #185e3c; }
.legal-page h1 { max-width: 19ch; margin: 0 0 13px; color: var(--ink); font-size: clamp(42px,7vw,76px); font-weight: 450; letter-spacing: -.055em; line-height: .98; }
.legal-updated { margin: 0 0 34px; color: var(--ink-soft); font-size: 14px; }
.legal-notice { margin: 0 0 52px; padding: 18px 20px; border-radius: 12px; background: var(--glass); color: var(--ink); font-size: 15px; line-height: 1.6; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.legal-page section { margin: 0 0 40px; }
.legal-page section h2 { margin: 0 0 13px; color: var(--ink); font-size: clamp(22px,3vw,29px); font-weight: 500; letter-spacing: -.035em; }
.legal-page p, .legal-page li { color: var(--ink); font-size: 16px; line-height: 1.65; }
.legal-page p { margin: 0 0 13px; }
.legal-page ul { display: grid; gap: 10px; margin: 0 0 15px; padding-left: 23px; }
.legal-page a:not(.button) { color: var(--mint); text-underline-offset: 3px; }
.legal-page .legal-notice a, .legal-page section a { font-weight: 550; }
.esim-guide { margin: 48px 0 28px; padding-top: 27px; border-top: 1px solid var(--rule); }
.esim-guide > .page-caption { margin-bottom: 12px; }
.esim-guide h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(27px, 4vw, 38px); font-weight: 450; letter-spacing: -.04em; }
.esim-guide > p:not(.page-caption) { max-width: 70ch; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.esim-device-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 23px 0; }
.esim-device-paths p { margin: 0; padding: 16px; border: 1px solid var(--glass-edge); border-radius: 12px; background: var(--glass); color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.esim-device-paths strong { display: block; margin-bottom: 6px; color: var(--ink); }
.esim-guide .fine-print { font-size: 13px; }
.esim-guide a { color: var(--mint); text-underline-offset: 3px; }
.consent-dialog { width: min(560px, calc(100% - 28px)); max-height: min(90dvh, 760px); overflow: auto; padding: clamp(24px, 5vw, 38px); border: 1px solid var(--glass-edge); border-radius: 20px; background: var(--paper-bright); color: var(--ink); box-shadow: 0 26px 90px rgba(0,0,0,.3); }
.consent-dialog::backdrop { background: rgba(2,8,6,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.consent-dialog .page-caption { margin: 0 0 12px; }
.consent-dialog h2 { margin: 0 0 10px; font-size: clamp(29px, 6vw, 38px); font-weight: 450; letter-spacing: -.045em; }
.consent-dialog-copy { margin: 0 0 24px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.consent-checks { display: grid; gap: 14px; margin: 0 0 24px; }
.consent-check { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 11px; color: var(--ink); font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent-check input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: #21734b; }
.consent-check a { color: var(--mint-strong); text-underline-offset: 3px; }
.consent-submit { width: 100%; min-height: 52px; justify-content: center; }
.consent-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent-choice { min-height: 52px; justify-content: center; padding: 12px 16px; font: inherit; font-size: 14px; line-height: 1.25; text-align: center; }
.consent-dialog a { color: var(--mint-strong); text-underline-offset: 3px; }
.consent-dialog a:hover { text-decoration-thickness: 2px; }
.consent-dialog:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
html[data-theme="light"] .consent-check a, html[data-theme="light"] .esim-guide a { color: #185e3c; }

/* Consent dialog: quiet editorial panel with a fast, centered arrival. */
.consent-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: min(90dvh, 720px);
  padding: clamp(24px, 4vw, 34px);
  border-radius: 24px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 220ms ease-out, transform 260ms cubic-bezier(.23,1,.32,1), display 260ms allow-discrete;
}
.consent-dialog[open] { opacity: 1; transform: translateY(0) scale(1); }
@starting-style {
  .consent-dialog[open] { opacity: 0; transform: translateY(12px) scale(.98); }
}
.consent-dialog::backdrop {
  background: rgba(3, 9, 6, .64);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: opacity 220ms ease-out, display 220ms allow-discrete;
}
@starting-style { .consent-dialog[open]::backdrop { opacity: 0; } }
.consent-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.consent-mark {
  display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center;
  border: 1px solid color-mix(in srgb, var(--mint) 38%, transparent); border-radius: 14px;
  background: color-mix(in srgb, var(--mint) 12%, transparent); color: var(--mint);
}
.consent-mark svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.consent-heading .page-caption { margin: 0; color: var(--mint); }
.consent-dialog h2 { max-width: 14ch; margin-bottom: 14px; font-size: clamp(28px, 5vw, 36px); line-height: 1.08; letter-spacing: -.04em; }
.consent-dialog-copy { margin-bottom: 12px; font-size: 14px; line-height: 1.62; }
.consent-detail { font-size: 13px; line-height: 1.55; }
.consent-actions { margin-top: 24px; gap: 10px; }
.consent-choice {
  min-height: 52px; border: 1px solid color-mix(in srgb, var(--mint) 48%, transparent);
  border-radius: 12px; transition: transform 140ms cubic-bezier(.23,1,.32,1), background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.consent-choice:active { transform: scale(.98); }
.consent-choice:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .consent-choice:hover { transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--mint) 18%, transparent); }
}
@media (max-width: 680px) {
  .consent-dialog {
    top: auto; bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px); max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    padding: 23px 20px max(20px, env(safe-area-inset-bottom)); border-radius: 22px;
    transform: translate(-50%, 12px) scale(.985);
  }
  .consent-dialog[open] { transform: translate(-50%, 0) scale(1); }
  @starting-style { .consent-dialog[open] { transform: translate(-50%, 12px) scale(.985); } }
  .consent-heading { gap: 10px; margin-bottom: 14px; }
  .consent-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
  .consent-dialog h2 { max-width: none; margin-bottom: 12px; font-size: clamp(26px, 7vw, 32px); }
  .consent-dialog-copy { font-size: 13px; line-height: 1.55; }
  .consent-detail { font-size: 12px; }
  .consent-actions { grid-template-columns: 1fr; gap: 9px; margin-top: 19px; }
  .consent-choice { min-height: 48px; padding: 11px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-dialog, .consent-dialog::backdrop, .consent-choice { transition-duration: .01ms; }
  .consent-dialog[open], .consent-dialog:focus-visible { transform: none; }
}
@media (max-width: 680px) { .esim-device-paths { grid-template-columns: 1fr; } }
.messenger-contact-hint { margin: 14px 0 0; color: var(--ink-soft); font-size: 13px; }
.messenger-contact-hint a { color: var(--mint); text-decoration: none; }
html[data-theme="light"] .legal-page a:not(.button) { color: #185e3c; }
html[data-theme="light"] .footer-contacts a, html[data-theme="light"] .legal-phone { color: #185e3c; }
html[data-theme="light"] .messenger-contact-hint a { color: #185e3c; }
.exchange-hero .hero-topline,
.exchange-hero .hero-copy h1,
.exchange-hero .hero-copy p,
.exchange-hero .home-search,
.exchange-hero .pattern-shortcuts,
.exchange-hero .hero-register-line {
  animation: register-arrive 680ms cubic-bezier(.2,.8,.2,1) both;
}
.exchange-hero .hero-copy h1 { animation-delay: 70ms; }
.exchange-hero .hero-copy p { animation-delay: 130ms; }
.exchange-hero .home-search { animation-delay: 190ms; }
.exchange-hero .pattern-shortcuts { animation-delay: 250ms; }
.exchange-hero .hero-register-line { animation-delay: 310ms; }
@keyframes register-arrive {
  from { opacity: 1; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-dialog { border: 1px solid var(--glass-edge); border-radius: 18px; background: rgba(16,27,23,.92); color: var(--ink); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); box-shadow: 0 26px 80px rgba(0,0,0,.45); }
.number-details-dialog { position: relative; width: min(420px, calc(100% - 32px)); padding: 34px; border: 1px solid var(--glass-edge); border-radius: 18px; background: color-mix(in srgb, var(--paper) 94%, transparent); color: var(--ink); box-shadow: 0 26px 80px rgba(0,0,0,.28); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.number-details-dialog::backdrop { background: rgba(4,12,8,.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.number-details-phone { margin: 0 46px 26px 0; font-size: clamp(24px,5vw,32px); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.number-details-list { display: grid; gap: 0; margin: 0; }
.number-details-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-top: 1px solid var(--rule); }
.number-details-list dt { color: var(--ink-soft); }
.number-details-list dd { margin: 0; color: var(--ink); font-weight: 550; text-align: right; }
.number-details-dialog { width: min(560px, calc(100% - 32px)); max-height: min(88dvh, 760px); overflow-y: auto; overscroll-behavior: contain; }
.tariff-picker { display: grid; gap: 11px; margin-top: 24px; }
.tariff-picker h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.tariff-picker > p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.tariff-picker > label { margin-top: 4px; color: var(--ink-soft); font-size: 13px; }
.tariff-picker select, .tariff-picker input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--glass-edge); border-radius: 10px; background: var(--glass); color: var(--ink); font: inherit; font-size: 15px; }
.tariff-info { display: grid; gap: 15px; padding: 18px; border-radius: 14px; background: color-mix(in srgb, var(--mint) 9%, var(--paper)); color: var(--ink); }
.tariff-info-main { display: grid; gap: 6px; }
.tariff-info-main strong { font-size: clamp(20px, 4vw, 24px); font-weight: 550; letter-spacing: -.025em; line-height: 1.15; }
.tariff-info-main p { max-width: 52ch; margin: 0; color: var(--ink); font-size: 15px; line-height: 1.45; }
.tariff-info-note { max-width: 58ch; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.tariff-offer-facts { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.tariff-offer-facts > span { padding:7px 10px; border:1px solid color-mix(in srgb, var(--mint) 26%, transparent); border-radius:999px; color:var(--ink); font-size:12px; }
.tariff-offer-facts .tariff-monthly-price { color:var(--mint); font-size:19px; font-weight:650; font-variant-numeric:tabular-nums; }
.tariff-offer-facts[hidden] { display:none; }
.tariff-official-link { justify-self: start; color: var(--mint); font-size: 14px; text-underline-offset: 4px; }
.tariff-book { justify-self: stretch; min-height: 49px; margin-top: 5px; border: 0; background: var(--mint); color: #102219; font-size: 14px; }
.tariff-book:hover { background: #c9f4d7; color: #102219; }
.tariff-source-note { margin:-4px 0 0; color:var(--ink-soft); font-size:11px; line-height:1.4; }
.tariff-offer-list { display:grid; gap:18px; max-height: min(46vh, 430px); overflow:auto; padding:2px 5px 5px 0; overscroll-behavior:contain; scrollbar-color: color-mix(in srgb,var(--mint) 38%,transparent) transparent; }
.tariff-group { display:grid; gap:9px; }
.tariff-group h4 { margin:0; color:var(--ink-soft); font-size:11px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.tariff-group-grid { display:grid; gap:9px; }
.tariff-card-wrap { min-width:0; padding:12px; border:1px solid var(--glass-edge); border-radius:14px; background:color-mix(in srgb,var(--glass) 82%,var(--paper)); transition:border-color .2s ease, background-color .2s ease, transform .2s ease; }
.tariff-card-wrap:has(.is-selected) { border-color:color-mix(in srgb,var(--mint) 70%,var(--glass-edge)); background:color-mix(in srgb,var(--mint) 10%,var(--paper)); }
.tariff-card { display:grid; width:100%; gap:9px; padding:0; border:0; background:none; color:var(--ink); text-align:left; cursor:pointer; font:inherit; }
.tariff-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.tariff-card-top > strong { font-size:17px; font-weight:620; letter-spacing:-.02em; }
.tariff-card-price { flex:none; color:var(--mint); font-size:19px; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.tariff-card-price small { margin-left:3px; color:var(--ink-soft); font-size:11px; font-weight:500; }
.tariff-card-description { max-width:55ch; color:var(--ink-soft); font-size:12px; line-height:1.45; }
.tariff-card-facts { display:flex; flex-wrap:wrap; gap:6px; }
.tariff-card-facts span { padding:5px 8px; border:1px solid var(--glass-edge); border-radius:999px; color:var(--ink); font-size:11px; line-height:1.2; }
.tariff-card-choice { display:flex; justify-content:space-between; align-items:center; padding-top:8px; border-top:1px solid var(--glass-edge); color:var(--mint); font-size:12px; font-weight:650; }
.tariff-card-choice i { font-size:15px; font-style:normal; transition:transform .18s ease; }
.tariff-card:hover .tariff-card-choice i { transform:translate(2px,-2px); }
.tariff-card-source { display:inline-block; margin-top:8px; color:var(--ink-soft); font-size:11px; text-underline-offset:3px; }
.tariff-card-source:hover { color:var(--mint); }
.tariff-help-option { display:flex; width:100%; justify-content:space-between; padding:13px 14px; border:1px dashed var(--glass-edge); border-radius:12px; background:transparent; color:var(--ink); font:inherit; font-size:13px; text-align:left; cursor:pointer; }
.tariff-help-option span { color:var(--mint); }
.tariff-help-option.is-selected { border-color:var(--mint); background:color-mix(in srgb,var(--mint) 9%,var(--paper)); }
.tariff-unavailable,.tariff-loading { margin:0; padding:14px; border:1px solid var(--glass-edge); border-radius:12px; background:color-mix(in srgb,var(--glass) 70%,var(--paper)); color:var(--ink-soft); font-size:13px; line-height:1.5; }
@media (max-width:560px) {
  .tariff-offer-list { max-height:40vh; }
  .tariff-card-wrap { padding:11px; }
  .tariff-card-top > strong { font-size:15px; }
  .tariff-card-price { font-size:17px; }
}
.number-only-choice { display:flex; align-items:center; gap:13px; margin-top:22px; padding:14px 16px; border:1px solid var(--glass-edge); border-radius:13px; background:color-mix(in srgb,var(--glass) 72%,var(--paper)); cursor:pointer; transition:border-color 180ms ease,background-color 180ms ease; }
.number-only-choice:hover { border-color:color-mix(in srgb,var(--mint) 55%,var(--glass-edge)); }
.number-only-choice input { width:20px; height:20px; flex:0 0 20px; margin:0; accent-color:#4b9e6a; cursor:pointer; }
.number-only-choice span { display:grid; gap:3px; }
.number-only-choice strong { font-size:14px; font-weight:600; }
.number-only-choice small { color:var(--ink-soft); font-size:12px; }
.number-only-choice:has(input:focus-visible) { outline:3px solid #16814b; outline-offset:3px; }
.booking-tariff-notice { display:grid; gap:5px; margin:14px 0 18px; padding:13px 15px; border-left:3px solid #c66d67; border-radius:0 10px 10px 0; background:#f5e4e2; color:#5f3432; }
.booking-tariff-notice strong { font-size:13px; font-weight:650; }
.booking-tariff-notice p { margin:0; color:#68423f; font-size:13px; line-height:1.5; }
:root[data-theme="dark"] .booking-tariff-notice { border-left-color:#d98d86; background:#382725; color:#f0cfcb; }
:root[data-theme="dark"] .booking-tariff-notice p { color:#e0bab5; }
.number-details-dialog .tariff-picker[hidden] { display:none; }
.number-details-dialog > .tariff-book { display:block; width:min(100%, 360px); min-height:54px; margin:18px auto 8px; }
.number-details-dialog:has(.t2-picker) { width:min(760px, calc(100% - 32px)); padding:clamp(20px,4vw,34px); }
.t2-picker { display:grid; gap:12px; margin-top:26px; }
.t2-picker-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.t2-picker-heading h3 { margin:3px 0 0; font-size:clamp(20px,3vw,25px); font-weight:560; letter-spacing:-.035em; }
.t2-eyebrow { margin:0; color:var(--mint); font-size:10px; font-weight:750; letter-spacing:.15em; }
.t2-brand-mark { display:grid; place-items:center; width:39px; height:39px; border:1px solid color-mix(in srgb,var(--mint) 42%,var(--glass-edge)); border-radius:13px; color:var(--mint); font-size:18px; font-weight:750; letter-spacing:-.09em; }
.t2-intro { max-width:62ch; margin:0; color:var(--ink-soft); font-size:13px; line-height:1.5; }
.t2-filter { display:flex; flex-wrap:wrap; gap:7px; padding:4px; border:1px solid var(--glass-edge); border-radius:13px; background:color-mix(in srgb,var(--glass) 65%,var(--paper)); }
.t2-filter button { min-height:36px; padding:0 13px; border:1px solid transparent; border-radius:9px; background:transparent; color:var(--ink-soft); font:inherit; font-size:12px; cursor:pointer; transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease; }
.t2-filter button[aria-pressed="true"] { border-color:color-mix(in srgb,var(--mint) 35%,transparent); background:color-mix(in srgb,var(--mint) 17%,var(--paper)); color:var(--ink); }
.t2-filter button:focus-visible,.t2-card-select:focus-visible { outline:3px solid #32955d; outline-offset:2px; }
.t2-tariff-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; max-height:min(38vh,340px); overflow:auto; padding:2px 5px 3px 0; overscroll-behavior:contain; scrollbar-color:color-mix(in srgb,var(--mint) 38%,transparent) transparent; }
.t2-card { min-width:0; border:1px solid var(--glass-edge); border-radius:14px; background:color-mix(in srgb,var(--glass) 74%,var(--paper)); transition:border-color 170ms ease,background-color 170ms ease,transform 170ms ease; animation:t2-card-enter 220ms cubic-bezier(.2,.8,.2,1) both; }
.t2-card:hover { transform:translateY(-1px); }
.t2-card.is-selected { border-color:color-mix(in srgb,var(--mint) 72%,var(--glass-edge)); background:color-mix(in srgb,var(--mint) 11%,var(--paper)); }
.t2-card-select { display:grid; width:100%; min-height:112px; align-content:start; gap:10px; padding:12px; border:0; border-radius:inherit; background:transparent; color:var(--ink); text-align:left; font:inherit; cursor:pointer; }
.t2-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.t2-card-head strong { max-width:58%; font-size:13px; font-weight:700; line-height:1.3; letter-spacing:-.015em; }
.t2-price { flex:none; color:var(--mint); font-size:18px; font-weight:750; font-variant-numeric:tabular-nums; white-space:nowrap; }
.t2-price small { display:block; color:var(--ink-soft); font-size:10px; font-weight:550; text-align:right; }
.t2-card-facts { display:flex; flex-wrap:wrap; gap:5px; }
.t2-card-facts i { padding:4px 7px; border:1px solid var(--glass-edge); border-radius:999px; color:var(--ink-soft); font-size:10px; font-style:normal; line-height:1.2; }
.t2-card-foot { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:7px; border-top:1px solid var(--glass-edge); color:var(--mint); font-size:11px; font-weight:650; }
.t2-card-foot b { font-size:14px; font-weight:650; }
.t2-source-note { margin:0; color:var(--ink-soft); font-size:11px; line-height:1.45; }
.t2-source-note a { color:var(--mint); text-underline-offset:3px; }
.t2-tariff-grid[hidden] { display:none; }
.t2-order-choice { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:4px 0 0; padding:0; border:0; }
.t2-order-choice legend { margin-bottom:9px; color:var(--ink); font-size:14px; font-weight:650; }
.t2-order-option { position:relative; display:flex; align-items:center; gap:12px; min-height:76px; padding:13px 15px; border:1px solid var(--glass-edge); border-radius:14px; background:color-mix(in srgb,var(--glass) 74%,var(--paper)); cursor:pointer; transition:border-color 170ms ease-out,background-color 170ms ease-out,transform 150ms ease-out; }
.t2-order-option:active { transform:scale(.985); }
.t2-order-option.is-active { border-color:color-mix(in srgb,var(--mint) 75%,var(--glass-edge)); background:color-mix(in srgb,var(--mint) 12%,var(--paper)); }
.t2-order-option input { position:absolute; width:1px; height:1px; opacity:0; }
.t2-order-option:has(input:focus-visible) { outline:3px solid #32955d; outline-offset:3px; }
.t2-order-icon { display:grid; width:34px; height:34px; flex:0 0 34px; place-items:center; border:1px solid color-mix(in srgb,var(--mint) 32%,var(--glass-edge)); border-radius:11px; color:var(--mint); font-size:20px; }
.t2-order-option > span:last-child { display:grid; gap:4px; }
.t2-order-option strong { font-size:14px; font-weight:680; }
.t2-order-option small { color:var(--ink-soft); font-size:11px; line-height:1.35; }
.t2-card-select { min-height:150px; gap:13px; padding:17px; }
.t2-card-head strong { max-width:62%; font-size:16px; }
.t2-price { font-size:22px; }
.t2-card-facts { gap:7px; }
.t2-card-facts i { padding:6px 9px; font-size:11px; }
.t2-card-foot { padding-top:10px; font-size:12px; }
.t2-tariff-grid { gap:12px; max-height:min(42vh,410px); }
@media (max-width:560px) {
  .t2-order-choice { grid-template-columns:1fr; gap:7px; }
  .t2-order-choice legend { margin-bottom:6px; }
  .t2-order-option { min-height:66px; padding:10px 12px; }
  .t2-card-select { min-height:124px; padding:14px; }
  .t2-card-head strong { max-width:64%; font-size:15px; }
  .t2-price { font-size:20px; }
  .t2-tariff-grid { max-height:32dvh; gap:9px; }
}
@keyframes t2-card-enter { from { opacity:.45; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:560px) {
  .number-details-dialog:has(.t2-picker) { width:calc(100% - 20px); max-height:calc(100dvh - 20px); padding:22px 17px max(18px,env(safe-area-inset-bottom)); border-radius:20px; }
  .t2-picker { gap:10px; margin-top:19px; }
  .t2-filter { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .t2-filter::-webkit-scrollbar { display:none; }
  .t2-filter button { flex:none; padding:0 11px; }
  .t2-tariff-grid { grid-template-columns:1fr; max-height:34dvh; gap:8px; }
  .t2-card-select { min-height:0; gap:8px; padding:11px; }
  .t2-card-head strong { font-size:13px; }
  .t2-card-facts i { font-size:10px; }
  .number-details-dialog > .tariff-book { position:sticky; bottom:0; z-index:1; width:100%; margin:13px auto 0; box-shadow:0 -8px 18px color-mix(in srgb,var(--paper) 55%,transparent); }
}
@media (prefers-reduced-motion:reduce) { .t2-card { animation:none; transition:none; } .t2-filter button { transition:none; } }
.t2-card-select { min-height:156px; }
.t2-order-choice { grid-template-columns:1fr; gap:8px; }
.t2-order-choice legend { margin-bottom:3px; font-size:15px; }
.t2-order-option { min-height:88px; padding:15px 16px; border-radius:15px; }
.t2-order-option:hover { border-color:color-mix(in srgb,var(--mint) 50%,var(--glass-edge)); }
.t2-order-copy { flex:1; }
.t2-order-option strong { font-size:15px; }
.t2-order-option small { max-width:54ch; font-size:12px; line-height:1.45; }
.t2-order-icon { width:40px; height:40px; flex-basis:40px; border-radius:13px; }
.t2-order-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.t2-order-icon-plain { color:var(--ink-soft); }
.t2-order-check { display:grid; width:21px; height:21px; flex:0 0 21px; place-items:center; border:1.5px solid var(--ink-soft); border-radius:50%; transition:border-color 150ms ease-out,background-color 150ms ease-out; }
.t2-order-check i { width:9px; height:9px; border-radius:50%; background:transparent; transition:background-color 150ms ease-out; }
.t2-order-option.is-active .t2-order-check { border-color:var(--mint); background:color-mix(in srgb,var(--mint) 17%,var(--paper)); }
.t2-order-option.is-active .t2-order-check i { background:var(--mint); }
.t2-order-option.is-active .t2-order-icon { background:color-mix(in srgb,var(--mint) 12%,var(--paper)); }
.t2-order-option:active { transform:scale(.99); }
@media (max-width:560px) {
  .t2-card-select { min-height:124px; gap:10px; padding:14px; }
  .t2-card-head strong { max-width:64%; font-size:15px; }
  .t2-price { font-size:20px; }
  .t2-card-facts i { padding:5px 8px; font-size:10px; }
  .t2-order-option { min-height:92px; gap:10px; padding:13px 12px; }
  .t2-order-icon { width:36px; height:36px; flex-basis:36px; }
  .t2-order-option strong { font-size:14px; }
  .t2-order-option small { font-size:11px; }
  .t2-order-check { width:20px; height:20px; flex-basis:20px; }
}
.t2-order-choice { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.t2-order-choice legend { grid-column:1/-1; }
.t2-order-option { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; align-content:start; gap:13px; min-height:196px; padding:16px; }
.t2-option-visual { position:relative; display:grid; min-height:93px; place-items:center; border:1px solid color-mix(in srgb,var(--mint) 18%,var(--glass-edge)); border-radius:13px; background:linear-gradient(145deg,color-mix(in srgb,var(--mint) 11%,var(--paper)),color-mix(in srgb,var(--glass) 74%,var(--paper))); }
.t2-option-art { width:78px; height:68px; overflow:visible; color:var(--mint); transition:transform 180ms cubic-bezier(.23,1,.32,1); }
.t2-option-art .art-phone { fill:color-mix(in srgb,var(--paper) 86%,var(--mint)); stroke:currentColor; stroke-width:1.8; }
.t2-option-art .art-sim { fill:color-mix(in srgb,var(--mint) 18%,var(--paper)); stroke:currentColor; stroke-width:1.7; }
.t2-option-art .art-detail { fill:none; stroke:var(--ink-soft); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.t2-option-art .art-spark { fill:none; stroke:var(--mint); stroke-width:1.8; stroke-linecap:round; }
.t2-order-check { position:absolute; top:9px; right:9px; width:21px; height:21px; border:1.5px solid var(--ink-soft); background:var(--paper); }
.t2-order-option.is-active .t2-order-check { border-color:var(--mint); background:var(--mint); }
.t2-order-option.is-active .t2-order-check i { width:7px; height:4px; border:solid #102219; border-width:0 0 2px 2px; border-radius:0; background:transparent; transform:rotate(-45deg) translate(1px,-1px); }
.t2-order-option.is-active .t2-option-visual { border-color:color-mix(in srgb,var(--mint) 48%,var(--glass-edge)); background:linear-gradient(145deg,color-mix(in srgb,var(--mint) 18%,var(--paper)),color-mix(in srgb,var(--glass) 70%,var(--paper))); }
.t2-order-copy { display:grid; gap:6px; align-content:start; }
.t2-order-option strong { font-size:15px; }
.t2-order-option small { max-width:none; font-size:12px; line-height:1.45; }
.t2-order-option:active { transform:scale(.985); }
@media (max-width:560px) {
  .t2-order-choice { grid-template-columns:1fr; gap:9px; }
  .t2-order-option { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; justify-items:stretch; gap:10px; min-height:158px; padding:12px; }
  .t2-option-visual { min-height:76px; }
  .t2-option-art { width:72px; height:62px; }
  .t2-order-copy { gap:5px; }
  .t2-order-option strong { font-size:14px; }
  .t2-order-option small { font-size:11px; }
  .t2-order-check { top:6px; right:6px; width:19px; height:19px; }
}
@media (hover:hover) and (pointer:fine) {
  .t2-order-option:hover .t2-option-art { transform:translateY(-2px); }
}
@media (prefers-reduced-motion:reduce) { .t2-option-art { transition:none; } }
.t2-tariff-reveal { max-height:900px; overflow:hidden; opacity:1; transform:translateY(0); transition:max-height 260ms cubic-bezier(.23,1,.32,1),opacity 180ms ease-out,transform 220ms cubic-bezier(.23,1,.32,1); }
.t2-tariff-reveal.is-collapsed { max-height:0; opacity:0; transform:translateY(-7px); pointer-events:none; }
#book-number-contact[hidden] { display:none !important; }
#book-number-contact:disabled { opacity:.52; cursor:not-allowed; }
@media (prefers-reduced-motion:reduce) { .t2-tariff-reveal { transition-duration:.01ms; transform:none; } }
.booking-message-box { display: grid; gap: 10px; margin: 16px 0 20px; padding: 15px; border-radius: 12px; background: color-mix(in srgb, var(--mint) 9%, var(--paper)); }
.booking-message-box strong { font-size: 13px; font-weight: 600; }
.booking-message-box p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; white-space: pre-wrap; }
.booking-copy { justify-self: start; min-height: 38px; padding: 0 12px; border: 1px solid var(--glass-edge); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.booking-copy:hover { background: var(--glass); }
.booking-message-box .booking-copy-hint { margin: 0; font-size: 12px; }
.contact-dialog::backdrop { background: rgba(2,7,5,.68); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.dialog-number { color: var(--mint); }
.dialog-copy, .dialog-unavailable { color: var(--ink-soft); font-size: 14px; }
.messenger-options { border-color: var(--rule); }
.messenger-link { border-color: var(--rule); color: var(--mint); font-size: 14px; }
.messenger-link span:last-child { color: var(--ink-soft); font-size: 13px; }
.messenger-options { display:flex; width:100%; align-items:center; justify-content:center; gap:clamp(12px, 5vw, 28px); margin:24px auto 0; border:0; }
.messenger-link { width:56px; height:56px; min-height:0; display:flex; align-items:center; justify-content:center; flex:0 0 56px; padding:0; border:1px solid var(--glass-edge); border-radius:50%; background:color-mix(in srgb,var(--glass) 72%,var(--paper)); color:var(--ink-soft); line-height:0; text-decoration:none; transition:transform 180ms ease,border-color 180ms ease,background-color 180ms ease; }
.messenger-link > svg { display:block; width:25px; height:25px; flex:0 0 25px; margin:auto; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.messenger-link[data-channel="telegram"] svg { color:#36aeea; }
.messenger-link[data-channel="whatsapp"] svg { color:#25b96b; }
.messenger-link[data-channel="max"] svg { color:#75a9ff; }
.messenger-link:not([data-disabled="true"]):hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--mint) 70%,var(--glass-edge)); background:color-mix(in srgb,var(--mint) 10%,var(--paper)); }
.messenger-link:not([data-disabled="true"]):active { transform:scale(.96); }
.messenger-link[data-disabled="true"] { opacity:.38; cursor:default; }
.messenger-options-caption { margin:10px 0 0; color:var(--ink-soft); font-size:12px; line-height:1.4; text-align:center; }
.messenger-contact-hint, .contact-dialog .dialog-unavailable { width:100%; margin-inline:auto; text-align:center; }
/* Booking dialog: direct choices first, optional message preview second. */
.contact-dialog { width:min(500px,calc(100% - 28px)); padding:clamp(24px,5vw,34px); border-radius:22px; }
.contact-dialog .page-caption { margin-bottom:9px; color:var(--mint); font-size:10px; letter-spacing:.12em; }
.contact-dialog h2 { margin-bottom:7px; font-size:clamp(29px,7vw,36px); letter-spacing:-.04em; line-height:1.08; }
.contact-dialog .dialog-number { display:inline-flex; margin:4px 0 7px; padding:0; border:0; background:none; font-size:18px; font-weight:650; font-variant-numeric:tabular-nums; }
.contact-dialog .dialog-copy { margin:0 0 13px; font-size:13px; line-height:1.5; }
.booking-tariff-notice { display:grid; gap:3px; margin:0 0 14px; padding:10px 12px; border:1px solid var(--glass-edge); border-radius:11px; background:color-mix(in srgb,var(--glass) 62%,var(--paper)); color:var(--ink); }
.booking-tariff-notice::before { content:none; }
.booking-tariff-notice strong { font-size:12px; font-weight:620; }
.booking-tariff-notice p { margin:0; color:var(--ink-soft); font-size:12px; line-height:1.45; }
.contact-dialog .messenger-options { display:grid; gap:7px; width:100%; margin:0; }
.contact-dialog .messenger-link { min-height:58px; width:100%; flex:none; justify-content:space-between; padding:0 14px; border:1px solid var(--glass-edge); border-radius:12px; background:color-mix(in srgb,var(--glass) 64%,var(--paper)); color:var(--ink); transition:transform 140ms var(--ease-out),border-color 160ms ease,background-color 160ms ease; }
.contact-dialog .messenger-brand { gap:12px; color:var(--ink); font-size:14px; font-weight:600; }
.contact-dialog .messenger-brand svg { width:22px; height:22px; }
.contact-dialog .messenger-open { color:var(--ink-soft); font-size:12px; font-weight:500; }
.contact-dialog .messenger-link[data-channel="telegram"] .messenger-brand svg { color:#36aeea; }
.contact-dialog .messenger-link[data-channel="whatsapp"] .messenger-brand svg { color:#25b96b; }
.contact-dialog .messenger-link[data-channel="max"] .messenger-brand svg { color:#75a9ff; }
.contact-dialog .messenger-link:not([data-disabled="true"]):hover { transform:translateY(-1px); border-color:color-mix(in srgb,var(--mint) 56%,var(--glass-edge)); background:color-mix(in srgb,var(--mint) 7%,var(--paper)); }
.contact-dialog .messenger-link:not([data-disabled="true"]):active { transform:scale(.985); }
.contact-dialog .messenger-link[data-disabled="true"] { opacity:.52; }
.contact-dialog .messenger-contact-hint { margin:11px 0 0; color:var(--ink-soft); font-size:11px; line-height:1.45; }
.messenger-contact-hint a { color:var(--mint); text-underline-offset:3px; }
.booking-message-box { margin:13px 0 0; padding-top:12px; border-top:1px solid var(--glass-edge); }
.booking-message-box summary { color:var(--ink-soft); font-size:12px; cursor:pointer; }
.booking-message-box[open] > div { display:grid; gap:10px; padding-top:10px; }
.booking-message-box p { margin:0; color:var(--ink-soft); font-size:12px; line-height:1.5; white-space:pre-wrap; }
.booking-copy { justify-self:start; min-height:36px; padding:0 12px; border:1px solid var(--glass-edge); border-radius:9px; background:transparent; color:var(--ink); font:inherit; font-size:12px; cursor:pointer; transition:transform 140ms var(--ease-out),background-color 160ms ease; }
.booking-copy:hover { background:var(--glass); }
.booking-copy:active { transform:scale(.97); }
@media (max-width:560px) {
  .contact-dialog { width:calc(100% - 24px); padding:25px 19px 22px; }
  .contact-dialog .page-caption { max-width:calc(100% - 42px); }
}
.toast { border: 1px solid var(--glass-edge); border-radius: 14px; background: rgba(17,29,24,.84); -webkit-backdrop-filter: blur(22px) saturate(130%); backdrop-filter: blur(22px) saturate(130%); box-shadow: 0 16px 52px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.08); }
.toast { color: var(--ink); font-size: 14px; }
.favorite-count { min-width: 25px; height: 25px; font-size: 13px; }
.favorites-link, .favorites-link span:nth-child(2) { font-size: 13px; }
.number-meta { font-size: 14px; }
.home-footnote, .section-heading p { font-size: 16px; }
.fine-print, .form-note { font-size: 14px; }
.page-intro > div:first-child > p:last-child, .simple-lead { font-size: 17px; }
.filter-control span, .filter-control select, .filter-control input, .catalog-status, .pagination button { font-size: 14px; }
.skip-link { border-radius: 8px; }
:focus-visible { outline-color: var(--mint); }
@media (hover: hover) and (pointer: fine) {
  .button:hover, .search-submit:hover { transform: translateY(-2px); }
  .number-row .favorite-button:hover { transform: scale(1.05); }
}
@media (max-width: 900px) {
  .hero-main { grid-template-columns: minmax(0,1fr) minmax(250px,.8fr); column-gap: 24px; }
  .hero-copy h1 { font-size: clamp(40px,5.6vw,46px); }
  .number-row { grid-template-columns: minmax(0,1fr) minmax(120px,.5fr) minmax(128px,.55fr) 42px; gap: 10px 12px; padding: 16px; }
  .number-main { grid-column: 1 / 3; grid-row: 1; }
  .pattern-tag { grid-column: 1 / 3; grid-row: 2; justify-self: start; }
  .number-price { grid-column: 3; grid-row: 1; }
  .number-action { grid-column: 3; grid-row: 2; }
  .favorite-button { grid-column: 4; grid-row: 1; }
}
@media (max-width: 680px) {
  .site-header { min-height: 68px; }
  .mobile-nav { top: 68px; background: rgba(8,13,12,.94); border-bottom: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  .exchange-hero { padding-top: 25px; }
  .hero-main { display: flex; flex-direction: column; align-items: stretch; gap: 21px; }
  .digit-specimen { display: none; }
  .hero-copy h1 { font-size: clamp(35px, 9.5vw, 40px); }
  .hero-copy p { font-size: 16px; }
  .search-field { height: 60px; padding-left: 15px; border-radius: 12px; }
  .home-list { padding-top: 16px; }
  .home-list > h2 { font-size: 36px; }
  .number-row, .number-row.featured { padding: 14px; border-radius: 13px; }
  .number-row { grid-template-columns: minmax(0,1fr) auto 40px; gap: 10px 11px; }
  .number-main { grid-column: 1 / 3; grid-row: 1; }
  .number-price { grid-column: 1; grid-row: 2; }
  .favorite-button { grid-column: 3; grid-row: 1; }
  .pattern-tag { grid-column: 2 / 4; grid-row: 2; justify-self: end; }
  .number-action { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; }
  .number-value, .number-row.featured .number-value { font-size: 19px; }
  .number-price { font-size: 16px; }
  .number-meta { font-size: 14px; }
  .pattern-tag { font-size: 13px; }
  .number-action { min-height: 42px; }
  .catalog-search { padding: 12px; }
  .filter-control select, .filter-control input { font-size: 13px; }
  .site-footer { min-height: 148px; }
  .hero-register-line span { font-size: 13px; }
  .favorites-link span:nth-child(2) { font-size: 13px; }
}

.home-details { padding-block: 6px clamp(72px,9vw,132px); }
.home-details > h2 { margin: 0 0 24px; font-size: clamp(32px,4vw,48px); font-weight: 400; letter-spacing: -.045em; }
.details-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.details-panel { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px,3vw,36px); border: 1px solid var(--glass-edge); border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px rgba(255,255,255,.06); }
.details-panel h3 { margin: 0 0 14px; color: var(--ink); font-size: clamp(21px,2.5vw,28px); font-weight: 450; letter-spacing: -.03em; }
.details-panel p { max-width: 42ch; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.details-panel a { margin-top: auto; padding-top: 24px; color: var(--mint); font-size: 14px; text-decoration: none; }
.details-panel a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width:680px) {
  .details-panels { grid-template-columns: 1fr; }
  .details-panel { min-height: 210px; }
  .home-details { padding-bottom: 64px; }
}

/* Theme switch: the device imagery crossfades with the color system. */
:root[data-theme="dark"] {
  color-scheme: dark;
  /* Pine charcoal surfaces with brighter, restrained sage accents. */
  --night: #080d0b; --night-soft: #101713; --field: #123c29;
  --mint: #b8e8c5; --mint-strong: #a5dcb4;
  --paper: #0b100e; --paper-bright: #18211c; --ink: #f0f4f0; --ink-soft: #c0cbc4;
  --rule: rgba(213,232,219,.22); --glass: rgba(26,36,30,.92); --glass-edge: rgba(213,232,219,.28);
}
:root[data-theme="light"] {
  color-scheme: light;
  --night: #e7ede8; --night-soft: #dfe7e1; --field: #e1e9e3;
  --mint: #216642; --mint-strong: #347950;
  --paper: #e9eeea; --paper-bright: #17241c; --ink: #17241c; --ink-soft: #506057;
  --rule: rgba(23,36,28,.15); --glass: rgba(249,252,249,.69); --glass-edge: rgba(255,255,255,.74);
  scrollbar-color: #a5b8aa var(--paper);
}
html { background: var(--paper); }
html[data-theme-ready="true"] { transition: background-color 460ms var(--ease-in-out), color 460ms var(--ease-in-out); }
body { position: relative; isolation: isolate; background: transparent; color: var(--ink); }
.theme-backdrop { position: fixed; z-index: -1; inset: 0; height: 100dvh; overflow: hidden; pointer-events: none; background: var(--paper); }
.theme-backdrop-static { position:absolute; inset:0 0 auto; height:80vh; overflow:hidden; }
.theme-phone-layer { position:absolute; inset:0; animation:phone-float 7.2s ease-in-out infinite alternate; transform-origin:center; }
.theme-phone-layer > img[data-theme-image] {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: center;
  transform: scale(1.06); transform-origin: center;
  transition: opacity 520ms var(--ease-in-out);
}
:root[data-theme="dark"] .theme-backdrop [data-theme-image="dark"] { opacity: .47; }
:root[data-theme="dark"] .theme-backdrop [data-theme-image="light"] { opacity: 0; }
:root[data-theme="light"] .theme-backdrop [data-theme-image="dark"] { opacity: 0; }
:root[data-theme="light"] .theme-backdrop [data-theme-image="light"] { opacity: .24; }
.theme-refraction {
  position: absolute; right: -12%; top: 9%; width: min(66vw, 930px); height: 77vh; min-height: 460px;
  border: 1px solid rgba(225,247,234,.16); border-radius: 46% 54% 61% 39% / 44% 39% 61% 56%;
  background: rgba(255,255,255,.035);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.24), inset -20px -20px 70px rgba(192,239,209,.025), 0 20px 100px rgba(0,0,0,.08);
  -webkit-backdrop-filter: blur(1px) saturate(115%); backdrop-filter: blur(1px) saturate(115%);
  opacity: .55; animation: glass-drift 32s ease-in-out infinite alternate;
}
:root[data-theme="light"] .theme-refraction { border-color: rgba(255,255,255,.64); background: rgba(255,255,255,.14); opacity: .63; }
@keyframes phone-float {
  from { transform: scale(1.06) translate3d(-.3%,.9%,0) rotate(-.32deg); }
  to { transform: scale(1.075) translate3d(.3%,-.9%,0) rotate(.32deg); }
}
@keyframes glass-drift { from { transform: translate3d(-1.2%,.7%,0) rotate(-1.3deg); } to { transform: translate3d(1.2%,-.7%,0) rotate(1.3deg); } }
.site-header, .admin-header { background: color-mix(in srgb, var(--paper) 76%, transparent); border-bottom: 1px solid var(--glass-edge); transition: background-color 460ms var(--ease-in-out), border-color 460ms var(--ease-in-out); }
.brand {
  position: relative; display: grid; place-items: center; flex: 0 0 auto;
  width: 52px; height: 52px; overflow: hidden; border: 1px solid var(--glass-edge); border-radius: 50%;
  background: color-mix(in srgb, var(--glass) 78%, transparent); box-shadow: inset 0 1px rgba(255,255,255,.24), 0 3px 16px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.brand img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; transform: none; }
.theme-toggle {
  width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--glass-edge); border-radius: 50%; color: var(--ink); background: var(--glass);
  box-shadow: inset 0 1px rgba(255,255,255,.22); cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(135%); backdrop-filter: blur(14px) saturate(135%);
  transition: transform 220ms var(--ease-out), background-color 460ms var(--ease-in-out), border-color 460ms var(--ease-in-out), color 460ms var(--ease-in-out);
}
.theme-toggle:hover { transform: rotate(-9deg); }
.theme-toggle:active { transform: scale(.93); }
.theme-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon { grid-area: 1/1; transition: opacity 220ms ease, transform 280ms var(--ease-out); }
.theme-icon-sun { opacity: 0; transform: rotate(-35deg) scale(.7); }
.theme-icon-moon { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="light"] .theme-icon-sun { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="light"] .theme-icon-moon { opacity: 0; transform: rotate(35deg) scale(.7); }
.exchange-hero { background: transparent; color: var(--ink); transition: color 460ms var(--ease-in-out); }
.hero-copy p, .hero-topline, .hero-register-line, .search-console > label { color: var(--ink-soft); }
.search-field, .catalog-search, .filter-control select, .filter-control input { background: var(--glass); color: var(--ink); border-color: var(--glass-edge); }
.search-field input, .filter-control input { color: var(--ink); }
.search-field input::placeholder, .filter-control input::placeholder { color: var(--ink-soft); }
.pattern-shortcuts button { border-color: var(--glass-edge); background: var(--glass); color: var(--ink); }
.shortcut-category select { border-color: var(--glass-edge); background: var(--glass); color: var(--ink); }
.number-row, .number-row.featured { background: var(--glass); border-color: var(--glass-edge); -webkit-backdrop-filter: blur(18px) saturate(125%); backdrop-filter: blur(18px) saturate(125%); }
.pattern-tag { color: var(--ink); background: color-mix(in srgb, var(--glass) 88%, transparent); border-color: var(--glass-edge); }
.site-footer { color: var(--ink); background: var(--glass); border-color: var(--glass-edge); -webkit-backdrop-filter: blur(22px) saturate(125%); backdrop-filter: blur(22px) saturate(125%); }
.site-footer > span, .site-footer a:not(.footer-brand) { color: var(--ink-soft); }
.mobile-nav { background: color-mix(in srgb, var(--paper) 88%, transparent); }
.contact-dialog, .toast { background: color-mix(in srgb, var(--paper) 90%, transparent); color: var(--ink); }
.contact-dialog::backdrop { background: rgba(4,12,8,.38); }
html[data-theme="light"] .search-submit, html[data-theme="light"] .button { color: #102219; background: #b4e9c5; }
html[data-theme="light"] .search-submit:hover, html[data-theme="light"] .button:hover { background: #cff3d9; }
html[data-theme="light"] .digit-specimen .specimen-pattern {
  border: 1px solid rgba(23,36,28,.2);
  background: rgba(255,255,255,.28);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), background-color 200ms ease, border-color 200ms ease;
}
html[data-theme="light"] .digit-specimen .specimen-pattern-primary,
html[data-theme="light"] .digit-specimen .specimen-pattern.specimen-primary {
  border-color: rgba(33,102,66,.3);
  background: rgba(33,102,66,.08);
}
html[data-theme="light"] .digit-specimen .specimen-pattern:hover {
  border-color: rgba(33,102,66,.48);
  background: rgba(33,102,66,.12);
}
html[data-theme="light"] .digit-specimen .specimen-pattern:focus-visible {
  outline: 2px solid #216642;
  outline-offset: 2px;
}
html[data-theme="light"] .catalog-search .search-field {
  background: var(--glass);
  border-color: rgba(34, 83, 55, .18);
  box-shadow: inset 0 1px rgba(255,255,255,.72), 0 1px 2px rgba(31,61,43,.04);
}
html[data-theme="light"] .catalog-search .search-field:focus-within {
  background: rgba(255,255,255,.88);
  border-color: rgba(33,102,66,.48);
  box-shadow: 0 0 0 3px rgba(33,102,66,.1);
}
html[data-theme="light"] .number-row.featured { background: rgba(250,253,250,.78); }
html[data-theme="light"] .number-row:hover {
  background: rgba(235,243,237,.96);
  border-color: rgba(33,102,66,.3);
}
html[data-theme="light"] .hero-copy p,
html[data-theme="light"] .hero-topline,
html[data-theme="light"] .hero-register-line,
html[data-theme="light"] .search-console > label,
html[data-theme="light"] .search-foot,
html[data-theme="light"] .number-meta,
html[data-theme="light"] .catalog-status,
html[data-theme="light"] .live-indicator { color: var(--ink-soft); }
html[data-theme="light"] .admin-table-wrap { background: rgba(247,250,247,.75); border-color: var(--glass-edge); }
html[data-theme="light"] .admin-table th { color: #506057; border-color: var(--rule); }
html[data-theme="light"] .admin-table td { color: #304337; border-color: var(--rule); }
html[data-theme="light"] .admin-table td:first-child { color: var(--ink); }
html[data-theme="light"] .admin-action { color: #31583d; border-color: rgba(35,91,55,.2); }
html[data-theme="light"] .admin-notice { color: #31583b; background: rgba(230,237,225,.85); }
@media (max-width: 900px) { .brand { width: 48px; height: 48px; } }
@media (max-width: 680px) {
  .brand { width: 44px; height: 44px; }
  .theme-toggle { width: 38px; height: 38px; flex-basis: 38px; }
  .theme-phone-layer > img[data-theme-image] { object-position: 58% center; }
  .theme-refraction { right: -46%; top: 12%; width: 130vw; height: 70vh; min-height: 360px; }
  .legal-header { min-height: 68px; gap: 12px; }
  .legal-header .main-nav { display: none; }
  .legal-phone { font-size: 12px; }
  .legal-page { padding-top: 40px; padding-bottom: 68px; }
  .legal-page h1 { font-size: clamp(38px,10vw,52px); }
  .legal-page p, .legal-page li { font-size: 15px; }
  .legal-notice { margin-bottom: 38px; padding: 15px; }
  .legal-page section { margin-bottom: 33px; }
  .site-footer { gap: 12px 16px; }
  .footer-contacts { flex-basis: 100%; gap: 9px 14px; }
  .footer-contacts a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .theme-phone-layer, .theme-refraction { animation: none; } }

/* Legal consent surface needs its own theme pairing: paper and ink tokens invert roles on this site. */
:root[data-theme="dark"] .consent-dialog { background: #121c18; color: #e9f2ed; border-color: rgba(207,243,224,.24); }
:root[data-theme="dark"] .consent-dialog h2 { color: #e9f2ed; }
:root[data-theme="dark"] .consent-dialog-copy { color: #bdcdc4; }
:root[data-theme="dark"] .consent-check { color: #e9f2ed; }
:root[data-theme="dark"] .consent-check a { color: #a4e6b8; }
:root[data-theme="light"] .consent-dialog { background: #f8fbf8; color: #17241c; border-color: rgba(23,36,28,.2); }
:root[data-theme="light"] .consent-dialog h2 { color: #17241c; }
:root[data-theme="light"] .consent-dialog-copy { color: #45564a; }
:root[data-theme="light"] .consent-check { color: #17241c; }
:root[data-theme="light"] .consent-check a { color: #185e3c; }
.consent-submit:disabled { opacity: 1; color: #536b5b; background: #d8e6dc; }
:root[data-theme="light"] .consent-submit:disabled { color: #536b5b; background: #d8e6dc; }
:root[data-theme="dark"] .consent-submit:disabled { color: #a7b8b0; background: #2a3932; }
:root[data-theme="light"] .consent-submit:not(:disabled) { color: #fff; background: #216642; }
:root[data-theme="light"] .consent-submit:not(:disabled):hover { color: #fff; background: #185334; }
:root[data-theme="dark"] .consent-submit:not(:disabled) { color: #102219; background: #a4e6b8; }
:root[data-theme="dark"] .consent-submit:not(:disabled):hover { background: #c4f1d1; }

@media (max-width: 680px) {
  .mobile-nav { position: fixed; top: 68px; z-index: 14; max-height: calc(100dvh - 68px); overflow-y: auto; }
  .menu-toggle { position: relative; z-index: 16; flex: 0 0 42px; }
  .favorites-link { min-width: 0; gap: 6px; }
  .catalog-status { align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; }
  .live-indicator { max-width: 100%; }
  .pattern-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .pattern-shortcuts button { width: 100%; justify-content: center; }
  .shortcut-category { width: 100%; min-width: 0; }
  .shortcut-category select { width: 100%; max-width: none; }
  .pattern-shortcuts a { grid-column: 1 / -1; justify-content: center; min-height: 34px; margin-left: 0; }
  .number-row .pattern-tag { grid-column: 2 / 4; grid-row: 2; justify-self: end; max-width: 100%; }
  .number-row .number-action { grid-row: 3; }
  .contact-dialog, .number-details-dialog { max-height: min(88dvh, 720px); overflow-y: auto; overscroll-behavior: contain; }
  .site-footer > a:not(.footer-brand), .site-footer > span, .footer-contacts a { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 370px) {
  .favorites-link span:nth-child(2) { display: none; }
  .site-header { gap: 11px; }
  .pattern-shortcuts { column-gap: 6px; }
  .pattern-shortcuts button { padding-inline: 7px; }
  .catalog-page .page-intro h1 { font-size: clamp(38px, 10.5vw, 46px); }
  .simple-page > h1 { font-size: clamp(38px, 10vw, 46px); }
  .legal-page h1 { font-size: clamp(30px, 9.2vw, 36px); overflow-wrap: anywhere; }
}

/* Phone scale: keep reading and controls legible from compact phones to large mobiles. */
@media (max-width: 680px) {
  :root { --gutter: clamp(16px, 5vw, 22px); }
  .theme-phone-layer > img[data-theme-image] { object-position: 50% center; }
  .filter-control select, .shortcut-category select { border-radius: 999px; }
  body { font-size: clamp(15px, 4.1vw, 16px); }
  .hero-copy h1 { font-size: clamp(34px, 9.4vw, 42px); line-height: 1.02; }
  .hero-copy p, .details-panel p, .simple-lead { font-size: 16px; line-height: 1.55; }
  .search-console > label { font-size: 13px; letter-spacing: .04em; }
  .search-field input { font-size: 16px; }
  .search-foot { font-size: 12px; }
  .pattern-shortcuts button, .shortcut-category select { min-height: 42px; font-size: clamp(12px, 3.6vw, 14px); }
  .pattern-shortcuts a { min-height: 42px; font-size: 14px; }
  .home-list > h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .number-value, .number-row.featured .number-value { font-size: clamp(18px, 5.6vw, 22px); }
  .number-price { font-size: 16px; }
  .number-meta { font-size: 14px; }
  .number-action { min-height: 46px; font-size: 14px; }
  .pattern-tag { font-size: 13px; }
  .page-intro h1, .simple-page > h1 { font-size: clamp(36px, 10vw, 50px); line-height: 1.02; }
  .page-intro > div:first-child > p:last-child { font-size: 16px; line-height: 1.55; }
  .filter-control select, .filter-control input { min-height: 46px; font-size: clamp(13px, 3.8vw, 15px); }
  .filter-control span, .catalog-status, .live-indicator { font-size: 13px; }
  .process-ledger h2 { font-size: clamp(20px, 5.8vw, 24px); }
  .process-ledger p, .esim-device-paths p { font-size: 15px; }
  .legal-page p, .legal-page li { font-size: 16px; }
  .site-footer { font-size: 13px; }
  .footer-contacts a { font-size: 13px; }
  .contact-dialog h2 { font-size: clamp(28px, 8vw, 34px); }
}

/* Keep mobile dialogs anchored while their content or the viewport changes. */
@media (max-width: 680px) {
  .contact-dialog, .number-details-dialog, .consent-dialog {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: auto;
    bottom: auto;
    left: 50vw;
    width: min(560px, calc(100vw - 24px));
    margin: 0;
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }
  .contact-dialog { width: min(480px, calc(100vw - 24px)); transform: translate(-50%, 7px); }
  .contact-dialog[open] { transform: translate(-50%, 0); }
  .number-details-dialog, .consent-dialog { transform: translateX(-50%); }
  .consent-actions { grid-template-columns: 1fr; }
}

/* Neutral charcoal surfaces keep sage as a restrained interactive accent in dark mode. */
:root[data-theme="dark"] .site-header { background: rgba(13,17,15,.84); }
:root[data-theme="dark"] .exchange-hero { background: transparent; }
:root[data-theme="dark"] .exchange-hero::before { background: radial-gradient(ellipse at 76% 25%, rgba(147,165,153,.055), transparent 48%); }
:root[data-theme="dark"] .digit-specimen { background: rgba(210,220,213,.035); }
:root[data-theme="dark"] .specimen-pattern { background: rgba(210,220,213,.055); }
:root[data-theme="dark"] .specimen-pattern.specimen-primary { background: rgba(150,177,157,.085); }
:root[data-theme="dark"] .specimen-pattern:hover { background: rgba(210,220,213,.09); }
:root[data-theme="dark"] .search-field { background: rgba(24,31,27,.86); }
:root[data-theme="dark"] .search-field:focus-within { border-color: rgba(169,195,176,.5); background: rgba(28,36,31,.95); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 0 0 3px rgba(169,195,176,.08); }
:root[data-theme="dark"] .pattern-shortcuts button,
:root[data-theme="dark"] .shortcut-category select { background: rgba(210,220,213,.045); color: var(--ink); }
:root[data-theme="dark"] .pattern-shortcuts button:hover,
:root[data-theme="dark"] .shortcut-category select:hover { border-color: rgba(169,195,176,.42); background: rgba(210,220,213,.075); }
:root[data-theme="dark"] .number-row.featured { border-color: rgba(169,195,176,.2); background: rgba(30,37,33,.88); }
:root[data-theme="dark"] .number-row:hover { border-color: rgba(169,195,176,.25); background: rgba(32,39,35,.92); }
:root[data-theme="dark"] .pattern-tag { border-color: rgba(169,195,176,.2); color: #c6d1c9; }
:root[data-theme="dark"] .number-action { border-color: rgba(169,195,176,.27); background: rgba(169,195,176,.055); }
:root[data-theme="dark"] .number-action:hover { border-color: var(--mint); background: rgba(169,195,176,.12); }
:root[data-theme="dark"] .number-details-dialog > .tariff-book { border: 0; background: #a9c3b0; color: #111713; opacity: 1; }
:root[data-theme="dark"] .number-details-dialog > .tariff-book:hover { background: #bdd0c2; color: #111713; }
:root[data-theme="dark"] .filter-control select,
:root[data-theme="dark"] .filter-control input { background: #171e1a; }
:root[data-theme="dark"] .site-footer { background: rgba(17,22,19,.94); }
:root[data-theme="dark"] .toast { background: rgba(20,26,22,.94); }
:root[data-theme="dark"] .consent-dialog { background: #171d19; border-color: rgba(190,202,193,.2); }
:root[data-theme="dark"] .consent-dialog h2,
:root[data-theme="dark"] .consent-check { color: var(--ink); }
:root[data-theme="dark"] .consent-dialog-copy { color: #b2bab4; }
:root[data-theme="dark"] .consent-check a { color: #b0c6b6; }
:root[data-theme="dark"] .consent-submit:disabled { color: #a9b1ab; background: #2b332e; }
:root[data-theme="dark"] .consent-submit:not(:disabled) { color: #111713; background: #a9c3b0; }
:root[data-theme="dark"] .consent-submit:not(:disabled):hover { background: #bdd0c2; }
:root[data-theme="dark"] .theme-refraction { border-color: rgba(221,229,223,.11); background: rgba(220,228,222,.022); box-shadow: inset 1px 1px 0 rgba(235,240,236,.17), inset -20px -20px 70px rgba(220,228,222,.018), 0 20px 100px rgba(0,0,0,.12); }

/* Scroll reveal: motion stays on composite properties and never blocks reading. */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 650ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms), transform 650ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms);
}
.scroll-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0); }
.number-row.scroll-reveal {
  transition: opacity 620ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms), transform 620ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms), border-color 220ms ease, background-color 220ms ease;
}
.number-row.scroll-reveal.is-visible:hover { transform: translateY(-2px); }

/* Small interaction cues add life without competing with the catalog. */
.number-value { transition: color 160ms ease-out; }
.favorite-button svg { transition: transform 180ms cubic-bezier(.23,1,.32,1); }
.favorite-button[aria-pressed="true"] svg { transform: scale(1.08); }
.search-submit svg, .button-green svg, .text-link svg, .pattern-shortcuts a svg {
  transition: transform 180ms cubic-bezier(.23,1,.32,1);
}
@media (hover: hover) and (pointer: fine) {
  .number-value:hover { color: var(--mint); }
  .search-submit:hover svg, .button-green:hover svg, .text-link:hover svg, .pattern-shortcuts a:hover svg {
    transform: translateX(3px);
  }
  .favorite-button:hover svg { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal, .scroll-reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .site-footer { flex-wrap: wrap; align-items: center; gap: 12px 18px; }
  .footer-brand { width: 54px; height: 48px; }
  .site-footer > span:nth-child(2) { flex: 1 0 calc(100% - 78px); min-width: 0; }
  .footer-contacts { flex: 1 1 100%; min-width: 0; }
  .site-footer .copyright { margin-left: 0; }
  .site-footer > a:not(.footer-brand), .site-footer > span { min-width: 0; overflow-wrap: anywhere; }
}

/* Dark theme contrast: keep controls in the deep pine range and lift readable surfaces. */
:root[data-theme="dark"] {
  scrollbar-color:#60786a var(--paper);
}
:root[data-theme="dark"] .site-header { background:rgba(8,13,11,.94); border-bottom:1px solid var(--glass-edge); }
:root[data-theme="dark"] .number-row { border-color:rgba(213,232,219,.2); background:rgba(25,36,30,.94); }
:root[data-theme="dark"] .number-row.featured { border-color:rgba(184,232,197,.38); background:rgba(31,47,37,.98); }
:root[data-theme="dark"] .number-row:hover { border-color:rgba(184,232,197,.48); background:#202e25; }
:root[data-theme="dark"] .search-field,
:root[data-theme="dark"] .catalog-search,
:root[data-theme="dark"] .filter-control select,
:root[data-theme="dark"] .filter-control input { border-color:rgba(213,232,219,.3); background:#17211b; }
:root[data-theme="dark"] .search-field:focus-within { border-color:var(--mint); background:#1a2920; box-shadow:0 0 0 3px rgba(184,232,197,.14); }
:root[data-theme="dark"] .search-submit,
:root[data-theme="dark"] .button,
:root[data-theme="dark"] .tariff-book,
:root[data-theme="dark"] .consent-submit:not(:disabled) {
  border:1px solid rgba(184,232,197,.46); background:#123c29; color:#d8f1de;
}
:root[data-theme="dark"] .search-submit:hover,
:root[data-theme="dark"] .button:hover,
:root[data-theme="dark"] .tariff-book:hover,
:root[data-theme="dark"] .consent-submit:not(:disabled):hover { border-color:#83c99a; background:#185237; color:#eff8f0; }
:root[data-theme="dark"] .number-action { border-color:rgba(184,232,197,.5); background:rgba(18,60,41,.72); color:#c8efd1; }
:root[data-theme="dark"] .number-action:hover { border-color:var(--mint); background:#194c34; color:#f0f7f1; }
:root[data-theme="dark"] .pattern-shortcuts button,
:root[data-theme="dark"] .shortcut-category select { border-color:rgba(213,232,219,.3); background:rgba(31,45,37,.94); color:var(--ink); }
:root[data-theme="dark"] .pattern-shortcuts button:hover,
:root[data-theme="dark"] .shortcut-category select:hover { border-color:rgba(184,232,197,.55); background:#27382d; }
:root[data-theme="dark"] .site-footer { background:rgba(19,28,23,.98); }
:root[data-theme="dark"] .contact-dialog,
:root[data-theme="dark"] .number-details-dialog,
:root[data-theme="dark"] .consent-dialog { border-color:rgba(213,232,219,.32); background:#151f19; }
:root[data-theme="dark"] .consent-submit:not(:disabled) { color:#d8f1de; }
:root[data-theme="dark"] .consent-submit:not(:disabled):hover { color:#eff8f0; }
:root[data-theme="dark"] .pagination button {
  min-width:40px; height:40px; border:1px solid rgba(213,232,219,.42); border-radius:8px;
  background:#19241e; color:#e1ebe4; font-size:14px; font-weight:550;
}
:root[data-theme="dark"] .pagination button[aria-current="page"] {
  border-color:#4f9a68; background:#123c29; color:#eff8f0; font-weight:700;
}
:root[data-theme="dark"] .pagination button:disabled {
  border-color:rgba(213,232,219,.24); background:#121a15; color:#aebbb2; opacity:1;
}
:root[data-theme="dark"] .pagination button:not(:disabled):not([aria-current="page"]):hover {
  border-color:#91c5a0; background:#24382b; color:#fff;
}
:root[data-theme="dark"] .pagination button:focus-visible { outline:2px solid var(--mint); outline-offset:3px; }

.theme-phone-layer > .booking-background-video,
.theme-phone-layer > .booking-background-final {
  position:absolute; inset:-4%; display:block; width:108%; height:108%; object-fit:cover; object-position:center;
  transform:scale(1.06); transform-origin:center;
  opacity:0; pointer-events:none; background:#080b09; transition:opacity 180ms ease-out;
}
.theme-phone-layer > .booking-background-video { z-index:2; }
.theme-phone-layer > .booking-background-final { z-index:4; }
body.booking-video-active .booking-background-video { opacity:1; }
body.booking-video-ended .booking-background-video { opacity:0; }
body.booking-video-ended .booking-background-final { opacity:1; }
@media (prefers-reduced-motion: reduce) { .booking-background-video, .booking-background-final { transition:none; animation:none; } }

/* Distinct entrances for the reviews page and number details, without moving their layout. */
@media (prefers-reduced-motion: no-preference) {
  .reviews-intro h1 { animation: mobile-content-arrive 760ms cubic-bezier(.16,1,.3,1) both; }
  .reviews-intro > p:last-child { animation: mobile-content-arrive 760ms cubic-bezier(.16,1,.3,1) 90ms both; }
  .review-card { animation: mobile-content-arrive 800ms cubic-bezier(.16,1,.3,1) both; }
  .review-card:nth-child(1) { animation-delay: 150ms; }
  .review-card:nth-child(2) { animation-delay: 230ms; }
  .review-card:nth-child(3) { animation-delay: 310ms; }
  .number-details-dialog[open] > :not(.dialog-close-form) { animation: mobile-content-arrive 620ms cubic-bezier(.16,1,.3,1) both; }
  .number-details-dialog[open] > :nth-child(3) { animation-delay: 70ms; }
  .number-details-dialog[open] > :nth-child(4) { animation-delay: 140ms; }
  .number-details-dialog[open] > :nth-child(6) { animation-delay: 210ms; }
}
@keyframes mobile-content-arrive { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@media (max-width: 370px) { .reviews-intro h1 { font-size: 36px; } }

/* Catalog filters: compact, readable menus that open over the results. */
.search-mode-hint { margin: -5px 0 9px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.filter-control { position: relative; }
.filter-control select[hidden] { display: none; }
.filter-menu { position: relative; width: 100%; }
.filter-menu summary { height: 46px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--glass-edge); border-radius: 12px; background: var(--glass); color: var(--ink); font-size: 14px; cursor: pointer; list-style: none; transition: border-color 180ms ease, background-color 180ms ease, transform 140ms ease; }
.filter-menu summary::-webkit-details-marker { display: none; }
.filter-menu summary:hover, .filter-menu[open] summary { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 8%, var(--glass)); }
.filter-menu summary:active { transform: scale(.985); }
.filter-menu summary:focus-visible, .filter-menu-option:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.filter-menu-icon, .filter-menu-chevron { width: 17px; height: 17px; flex: 0 0 17px; color: var(--mint); }
.filter-menu-icon svg, .filter-menu-chevron { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.filter-menu-value { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-menu-chevron { transition: transform 220ms cubic-bezier(.16,1,.3,1); }
.filter-menu[open] .filter-menu-chevron { transform: rotate(180deg); }
.filter-menu-options { position: absolute; z-index: 25; top: calc(100% + 7px); left: 0; width: max(100%, 205px); max-height: min(340px, 50vh); overflow: auto; padding: 6px; border: 1px solid var(--glass-edge); border-radius: 14px; background: var(--paper); box-shadow: 0 20px 45px rgba(0,0,0,.27); transform-origin: top left; animation: filter-menu-open 230ms cubic-bezier(.16,1,.3,1) both; }
.filter-menu-option { width: 100%; min-height: 40px; display: block; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.filter-menu-option:hover, .filter-menu-option[aria-pressed="true"] { background: color-mix(in srgb, var(--mint) 13%, var(--paper)); color: var(--mint); }
@keyframes filter-menu-open { from { opacity: 0; transform: translateY(-7px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 680px) { .filter-bar { position: relative; gap: 12px; } .filter-control { min-width: 0; } .filter-menu-options { width: max(100%, min(220px, calc(100vw - 40px))); } .filter-control:nth-child(even) .filter-menu-options { left: auto; right: 0; transform-origin: top right; } }
@media (prefers-reduced-motion: reduce) { .filter-menu-options { animation: none; } .filter-menu summary, .filter-menu-chevron { transition: none; } }

.guide-download { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 22px 0 26px; padding: 22px 24px; border-radius: 16px; background: color-mix(in srgb, var(--mint) 10%, var(--paper)); }
.guide-download > div { display: grid; gap: 5px; }
.guide-download strong { color: var(--ink); font-size: 18px; font-weight: 600; }
.guide-download > div span { color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.guide-download a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; padding: 0 17px; border-radius: 10px; background: var(--mint); color: var(--paper) !important; font-size: 14px; font-weight: 650; text-decoration: none; transition: transform 180ms cubic-bezier(.16,1,.3,1), background-color 180ms ease; }
.guide-download a:hover { transform: translateY(-2px); }
.guide-download a:active { transform: scale(.97); }
.guide-download a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.guide-download a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guide-download a svg:last-child { width: 16px; height: 16px; }
@media (max-width: 680px) { .guide-download { display: grid; padding: 20px; } .guide-download a { width: 100%; } }

/* NUMIX premium evergreen system — contrast-led, consistent in both themes. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --night: #061a12;
  --night-soft: #0a2116;
  --field: #102a1d;
  --paper: #061a12;
  --paper-bright: #10271b;
  --ink: #f2f7f3;
  --ink-soft: #e3ece5;
  --mint: #a9e5b5;
  --mint-strong: #d0f2d5;
  --rule: #3a5544;
  --glass: #10291e;
  --glass-edge: #597761;
  --surface-raised: #153626;
  --surface-inset: #0a2116;
  --control-edge: #64836e;
  --focus: #a9e5b5;
  --button-bg: #a9e5b5;
  --button-hover: #c0f0c9;
  --button-text: #062013;
  --link: #a9e5b5;
  --metal: #e2cf95;
  --danger: #ffd9d1;
  --danger-surface: #3c211d;
  --success: #a9e5b5;
  --header-ink: #f2f7f3;
  --header-muted: #e3ece5;
  --header-accent: #d0f2d5;
  scrollbar-color: #64836e var(--paper);
}
:root[data-theme="light"] {
  color-scheme: light;
  --night: #071b12;
  --night-soft: #0b2619;
  --field: #e6eee7;
  --paper: #f3f6f0;
  --paper-bright: #ffffff;
  --ink: #10251a;
  --ink-soft: #0a4026;
  --mint: #0c4528;
  --mint-strong: #0a4026;
  --rule: #b8c9ba;
  --glass: #ffffff;
  --glass-edge: #819886;
  --surface-raised: #e8efe8;
  --surface-inset: #eaf0e9;
  --control-edge: #718a76;
  --focus: #155a38;
  --button-bg: #0d472a;
  --button-hover: #07391f;
  --button-text: #f7fbf7;
  --link: #0a4026;
  --metal: #49370d;
  --danger: #5d1811;
  --danger-surface: #fff5f2;
  --success: #155a38;
  --header-ink: #f2f7f3;
  --header-muted: #e3ece5;
  --header-accent: #d0f2d5;
  scrollbar-color: #819886 var(--paper);
}
html, body { background-color: var(--paper); color: var(--ink); }
::selection { color: var(--button-text); background: var(--mint); }
:focus-visible { outline-color: var(--focus); }
.theme-backdrop { background: var(--paper); }
:root[data-theme="dark"] .theme-backdrop [data-theme-image="dark"] { opacity: 1; filter: none; }
:root[data-theme="light"] .theme-backdrop [data-theme-image="light"] { opacity: 1; filter: none; }
.theme-refraction { border-color: color-mix(in srgb, var(--mint) 28%, transparent); background: color-mix(in srgb, var(--mint) 5%, transparent); opacity: .28; }
.site-header, .reviews-header, .admin-header {
  color: var(--header-ink); background: color-mix(in srgb, var(--night) 94%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--mint) 30%, transparent);
}
.site-header .main-nav a, .reviews-header .main-nav a, .mobile-nav a { color: #d4e2d7; }
.site-header .main-nav a:hover, .site-header .main-nav a[aria-current="page"], .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--header-accent); }
.site-header .favorites-link, .legal-phone { color: var(--header-accent); }
.exchange-hero { color: var(--ink); }
.exchange-hero::before { background: radial-gradient(ellipse at 76% 25%, color-mix(in srgb, var(--mint) 12%, transparent), transparent 52%); }
.hero-copy p, .hero-topline, .hero-register-line, .search-console > label, .search-foot { color: var(--ink-soft); }
.hero-topline i, .rule-dot { background: var(--metal); }
.hero-availability, .live-indicator { color: var(--ink-soft); }
.hero-availability b, .live-indicator b { background: var(--mint-strong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 16%, transparent); }
.search-field, .catalog-search, .filter-control select, .filter-control input, .shortcut-category select {
  border-color: var(--control-edge); background: var(--surface-inset); color: var(--ink);
}
.search-field input, .filter-control input { color: var(--ink); }
.search-field input::placeholder, .filter-control input::placeholder { color: var(--ink-soft); opacity: 1; }
.search-field:focus-within, .filter-control select:focus-visible, .filter-control input:focus-visible, .shortcut-category select:focus-visible {
  border-color: var(--focus); outline: 3px solid color-mix(in srgb, var(--focus) 42%, transparent); outline-offset: 2px; box-shadow: none;
}
.search-field > svg, .search-submit svg, .button svg, .number-action svg, .icon-button svg, .menu-toggle svg, .theme-toggle svg, .filter-menu-icon svg, .filter-menu-chevron {
  stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.search-submit, .button, .button-green, .tariff-book, .admin-button-dark {
  min-height: 48px; border: 1px solid var(--button-bg); border-radius: 12px;
  background: var(--button-bg); color: var(--button-text) !important;
  font-weight: 650; box-shadow: 0 4px 14px color-mix(in srgb, var(--button-bg) 16%, transparent);
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.search-submit:hover, .button:hover, .button-green:hover, .tariff-book:hover, .admin-button-dark:hover {
  transform: translateY(-1px); border-color: var(--button-hover); background: var(--button-hover); color: var(--button-text) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--button-bg) 22%, transparent);
}
.search-submit:active, .button:active, .button-green:active, .tariff-book:active, .admin-button-dark:active { transform: scale(.98); }
.search-submit:disabled, .button:disabled, .button-green:disabled, .tariff-book:disabled, .admin-button-dark:disabled {
  transform: none; border-color: var(--rule); background: var(--surface-raised); color: var(--ink-soft) !important; box-shadow: none; cursor: not-allowed;
}
.pattern-shortcuts button, .shortcut-category select, .filter-menu summary, .number-action, .admin-action, .import-button, .pagination button {
  border: 1px solid var(--control-edge); border-radius: 11px; background: var(--surface-raised); color: var(--ink);
  transition: transform 140ms var(--ease-out), color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.pattern-shortcuts button:hover, .shortcut-category select:hover, .filter-menu summary:hover, .filter-menu[open] summary,
.number-action:hover, .admin-action:hover, .import-button:hover, .pagination button:not(:disabled):hover {
  border-color: var(--mint); background: color-mix(in srgb, var(--mint) 16%, var(--surface-raised)); color: var(--ink);
}
.pattern-shortcuts button:active, .number-action:active, .filter-menu summary:active, .admin-action:active, .pagination button:active { transform: scale(.98); }
.pattern-shortcuts a, .text-link, .details-panel a, .legal-page a:not(.button), .footer-contacts a { color: var(--link); }
.number-row, .number-row.featured, .review-card, .details-panel, .digit-specimen, .specimen-pattern,
.tariff-info, .tariff-card-wrap, .number-only-choice, .filter-menu-options, .admin-data-card,
.admin-table-wrap, .number-details-dialog, .contact-dialog {
  border-color: var(--glass-edge); background-color: var(--glass); color: var(--ink);
}
.number-row:hover, .number-row.featured:hover, .review-card:hover, .tariff-card-wrap:has(.is-selected), .number-only-choice:hover {
  border-color: var(--mint); background-color: color-mix(in srgb, var(--mint) 9%, var(--glass));
}
.number-value, .number-row.featured .number-value, .number-price, .details-panel h3, .specimen-pattern strong { color: var(--ink); }
.number-price, .catalog-total strong, .process-ledger article > span { color: var(--mint-strong); }
.number-meta, .section-heading p, .page-intro > div:first-child > p:last-child,
.details-panel p, .simple-lead, .home-footnote, .catalog-status, .process-ledger p, .fine-print, .form-note,
.consent-dialog-copy, .number-details-dialog .dialog-copy, .number-details-dialog .dialog-unavailable { color: var(--ink-soft); }
.page-caption { color: var(--mint-strong); }
.pattern-tag, .number-details-dialog .tariff-offer-facts > span {
  border-color: var(--control-edge); background: var(--surface-raised); color: var(--ink);
}
.pattern-tag { border-color: color-mix(in srgb, var(--metal) 68%, var(--control-edge)); color: var(--metal); }
.number-action { min-height: 44px; color: var(--mint-strong); background: var(--surface-raised); }
.favorite-button, .icon-button, .theme-toggle, .menu-toggle, .admin-search-clear {
  min-width: 44px; min-height: 44px; border: 1px solid var(--control-edge); border-radius: 12px;
  background: var(--surface-raised); color: var(--mint-strong); box-shadow: none;
  transition: transform 140ms var(--ease-out), color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.favorite-button { border-radius: 50%; }
.favorite-button:hover, .icon-button:hover, .theme-toggle:hover, .menu-toggle:hover, .admin-search-clear:hover {
  transform: translateY(-1px); border-color: var(--mint); background: color-mix(in srgb, var(--mint) 16%, var(--surface-raised)); color: var(--ink);
}
.favorite-button:active, .icon-button:active, .theme-toggle:active, .menu-toggle:active, .admin-search-clear:active { transform: scale(.97); }
.favorite-button[aria-pressed="true"] { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 22%, var(--surface-raised)); color: var(--mint-strong); }
.favorite-button[aria-pressed="true"] svg { fill: color-mix(in srgb, var(--mint) 25%, transparent); }
.favorite-count { border-color: var(--control-edge); background: var(--surface-raised); color: var(--ink); }
.theme-toggle:focus-visible, .menu-toggle:focus-visible, .icon-button:focus-visible, .favorite-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.mobile-nav { border: 1px solid var(--glass-edge); border-radius: 0 0 16px 16px; background: var(--night); box-shadow: 0 18px 36px rgba(0,0,0,.28); }
.mobile-nav a { border-color: color-mix(in srgb, var(--mint) 24%, transparent); }
.site-footer, .reviews-page-body .legal-footer { color: var(--header-ink); background: var(--night); border-color: color-mix(in srgb, var(--mint) 26%, transparent); }
.site-footer > span, .site-footer a:not(.footer-brand), .footer-contacts a { color: var(--header-muted); }
.site-footer a:not(.footer-brand):hover, .footer-contacts a:hover { color: var(--header-accent); }
.reviews-header, .reviews-mobile-nav { background: color-mix(in srgb, var(--night) 94%, transparent); }
.legal-notice, .tariff-unavailable, .tariff-loading, .booking-tariff-notice, .admin-notice {
  border-color: var(--control-edge); background: var(--surface-raised); color: var(--ink);
}
.booking-tariff-notice { border-left-color: var(--danger); background: var(--danger-surface); color: var(--danger); }
.booking-tariff-notice p { color: inherit; }
.status-error, [data-error="true"] { color: var(--danger); }
.live-indicator, .number-details-dialog .dialog-number { color: var(--mint-strong); }
.admin-table th, .admin-table td, .admin-table .admin-loading { color: var(--ink-soft); border-color: var(--rule); }
.admin-table td:first-child { color: var(--ink); }
.admin-form > label:not(.admin-checkbox), .admin-checkbox { color: var(--ink-soft); }
.admin-form input:not([type="checkbox"]), .admin-form select, .admin-search input {
  border-color: var(--control-edge); background: var(--surface-inset); color: var(--ink);
}
.booking-copy { min-height: 44px; padding-inline: 14px; border: 1px solid var(--control-edge); border-radius: 11px; background: var(--surface-raised); color: var(--ink); font-weight: 600; transition: transform 140ms var(--ease-out), background-color 150ms ease, border-color 150ms ease; }
.booking-copy:hover { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 16%, var(--surface-raised)); }
.booking-copy:active { transform: scale(.98); }
.admin-table .admin-status[data-frozen="true"] { color: var(--metal); }
.guide-download { border: 1px solid var(--glass-edge); background: var(--surface-raised); }
.guide-download strong { color: var(--ink); }
.guide-download > div span { color: var(--ink-soft); }
.guide-download a { border: 1px solid var(--button-bg); background: var(--button-bg); color: var(--button-text) !important; }
:root[data-theme="dark"] .site-header .main-nav a,
:root[data-theme="dark"] .reviews-header .main-nav a,
:root[data-theme="dark"] .mobile-nav a,
:root[data-theme="light"] .site-header .main-nav a,
:root[data-theme="light"] .reviews-header .main-nav a,
:root[data-theme="light"] .mobile-nav a { color: var(--header-muted); }
:root[data-theme="dark"] .consent-dialog-copy, :root[data-theme="light"] .consent-dialog-copy { color: var(--ink-soft); }
:root[data-theme="light"] .consent-dialog a, :root[data-theme="light"] .consent-dialog .consent-detail a { color: var(--link); }
:root[data-theme="dark"] .consent-dialog a, :root[data-theme="dark"] .consent-dialog .consent-detail a { color: var(--mint-strong); }
:root[data-theme="dark"] .number-details-dialog > .tariff-book,
:root[data-theme="light"] .number-details-dialog > .tariff-book { border: 1px solid var(--button-bg); background: var(--button-bg); color: var(--button-text); }
:root[data-theme="dark"] .number-details-dialog > .tariff-book:hover,
:root[data-theme="light"] .number-details-dialog > .tariff-book:hover { border-color: var(--button-hover); background: var(--button-hover); color: var(--button-text); }
:root[data-theme="dark"] .consent-submit:not(:disabled),
:root[data-theme="light"] .consent-submit:not(:disabled) { border: 1px solid var(--button-bg); background: var(--button-bg); color: var(--button-text); }
:root[data-theme="dark"] .consent-submit:not(:disabled):hover,
:root[data-theme="light"] .consent-submit:not(:disabled):hover { border-color: var(--button-hover); background: var(--button-hover); color: var(--button-text); }
:root[data-theme="dark"] .consent-submit:disabled,
:root[data-theme="light"] .consent-submit:disabled { border-color: var(--rule); background: var(--surface-raised); color: var(--ink-soft); }
:root[data-theme="light"] .legal-phone { color: var(--header-accent); }
:root[data-theme="dark"] .pagination button, :root[data-theme="light"] .pagination button {
  min-width: 44px; min-height: 44px; border: 1px solid var(--control-edge); border-radius: 11px;
  background: var(--surface-raised); color: var(--ink); font-size: 14px;
}
:root[data-theme="dark"] .pagination button[aria-current="page"], :root[data-theme="light"] .pagination button[aria-current="page"] {
  border-color: var(--button-bg); background: var(--button-bg); color: var(--button-text); font-weight: 700;
}
:root[data-theme="dark"] .pagination button:disabled, :root[data-theme="light"] .pagination button:disabled {
  border-color: var(--rule); background: var(--surface-raised); color: var(--ink-soft); opacity: 1; cursor: default;
}
:root[data-theme="dark"] .filter-menu-option:hover, :root[data-theme="dark"] .filter-menu-option[aria-pressed="true"],
:root[data-theme="light"] .filter-menu-option:hover, :root[data-theme="light"] .filter-menu-option[aria-pressed="true"] {
  background: color-mix(in srgb, var(--mint) 14%, var(--surface-raised)); color: var(--ink);
}
:root[data-theme="dark"] .number-action.tariff-book, :root[data-theme="light"] .number-action.tariff-book {
  border: 1px solid var(--button-bg); background: var(--button-bg); color: var(--button-text);
}
:root[data-theme="dark"] .number-action.tariff-book:hover, :root[data-theme="light"] .number-action.tariff-book:hover {
  border-color: var(--button-hover); background: var(--button-hover); color: var(--button-text);
}
:root[data-theme="light"] .search-submit, :root[data-theme="light"] .button,
:root[data-theme="light"] .button-green, :root[data-theme="light"] .tariff-book {
  border: 1px solid var(--button-bg); background: var(--button-bg); color: var(--button-text);
}
:root[data-theme="light"] .search-submit:hover, :root[data-theme="light"] .button:hover,
:root[data-theme="light"] .button-green:hover, :root[data-theme="light"] .tariff-book:hover {
  border-color: var(--button-hover); background: var(--button-hover); color: var(--button-text);
}
@media (prefers-reduced-motion: reduce) {
  .button, .button-green, .search-submit, .tariff-book, .admin-button-dark, .number-action, .icon-button, .favorite-button, .theme-toggle, .menu-toggle { transition-duration: .01ms; }
}

/* Final mobile override: the consent panel settles as a safe-area-aware sheet. */
@media (max-width: 680px) {
  .consent-dialog { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); left: 50vw; transform: translate(-50%, 12px) scale(.985); }
  .consent-dialog[open] { transform: translate(-50%, 0) scale(1); }
  @starting-style { .consent-dialog[open] { transform: translate(-50%, 12px) scale(.985); } }
}
@media (prefers-reduced-motion: reduce) {
  .consent-dialog[open] { transform: none; }
}

/* Clear search contrast, original reviews footage, and neutral light-theme header. */
.search-submit, #home-view .search-submit, .catalog-search .search-submit {
  color: #f7fbf7 !important;
  background: #12482f !important;
  border-color: #12482f !important;
}
.search-submit span, #home-view .search-submit span { color: #f7fbf7 !important; opacity: 1; }
#home-view .search-submit span { display: inline !important; }
.search-submit svg { stroke: currentColor; }
.search-submit:hover, #home-view .search-submit:hover, .catalog-search .search-submit:hover {
  color: #fff !important;
  background: #195b3c !important;
  border-color: #195b3c !important;
}
.reviews-video-backdrop { background: #101310; }
.reviews-video-backdrop video { opacity: 1; filter: none; }
.reviews-video-backdrop::after { content: none; }
@media (prefers-reduced-motion: reduce) {
  .reviews-video-backdrop { background: #101310 url("/assets/phone_black.png") center / cover no-repeat; }
}
:root[data-theme="light"] .site-header,
:root[data-theme="light"] .reviews-header,
:root[data-theme="light"] .admin-header,
:root[data-theme="light"] .mobile-nav,
:root[data-theme="light"] .reviews-mobile-nav {
  background: #292d2b;
  border-color: #414744;
}
:root[data-theme="light"] .reviews-mobile-nav a { color: var(--header-muted); }
:root[data-theme="light"] .reviews-mobile-nav a[aria-current="page"] { color: var(--header-accent); }
@media (max-width: 370px) {
  #home-view .search-submit { flex: 0 0 auto; min-width: 94px; gap: 7px; padding-inline: 10px; }
}
