/* The disclosure stays 44 px wide both open and closed, so the header never
   moves when a visitor opens language/currency preferences. */
.site-preferences { position:relative; width:44px; min-width:44px; justify-self:end; color:#122030; font:14px/1.45 "IBM Plex Sans",sans-serif; }
.site-preferences, .site-preferences * { box-sizing:border-box; }
.site-preferences__toggle { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; cursor:pointer; list-style:none; }
.site-preferences__toggle::-webkit-details-marker { display:none; }
.site-preferences__toggle::marker { content:""; }
.site-preferences__toggle:hover, .site-preferences[open] .site-preferences__toggle { color:#008cea; background:#fff; }
.site-preferences__toggle:focus-visible, .site-preferences select:focus-visible, .site-preferences button:focus-visible { outline:3px solid #168ef5; outline-offset:3px; }
.site-preferences__panel { position:absolute; z-index:110; right:0; top:calc(100% + 8px); width:280px; max-width:calc(100vw - 24px); max-height:min(400px,calc(100vh - 200px)); max-height:min(400px,calc(100dvh - 200px)); overflow-y:auto; padding:16px; border:1px solid #e3eaf0; border-radius:16px; background:#fff; box-shadow:0 16px 48px #18364b24; }
.site-preferences__heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; font-weight:600; font-size:15px; }
.site-preferences__close { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:32px; height:32px; padding:0; border:0; border-radius:50%; background:#f3f6f9; color:#526b7e; cursor:pointer; }
.site-preferences__close[hidden] { display:none; }
.site-preferences form { width:100%; min-width:0; }
.site-preferences form + form { margin-top:10px; }
.site-preferences label { display:flex; flex-direction:column; align-items:stretch; gap:4px; width:100%; min-width:0; }
.site-preferences select { appearance:none; -webkit-appearance:none; box-sizing:border-box; width:100%; max-width:100%; min-width:0; min-height:44px; padding:8px 34px 8px 12px; border:1px solid #c5ddeb; border-radius:10px; color:#124160; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%23124160' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; font:inherit; }
.site-preference-apply { margin-top:8px; min-height:36px; padding:6px 12px; border:1px solid #c5ddeb; border-radius:8px; background:#eef6ff; color:#124160; cursor:pointer; font:inherit; }
.site-preferences-standalone { display:flex; justify-content:flex-end; padding-top:16px; }
html[data-site-js] .site-preference-apply { display:none; }
html[data-site-currency-pending] [data-site-money] { visibility:hidden; }
.site-rate-note { margin:16px auto; max-width:850px; color:#526b7e; font-size:14px; line-height:1.5; }
.prices .navigation button { display:block; font:inherit; text-transform:inherit; cursor:pointer; border:0; background:transparent; color:inherit; text-align:inherit; padding:inherit; }
.prices .navigation button span { display:block; }
@font-face { font-family:SiteArmenian;src:url('/localization/fonts/NotoSansArmenian-Regular.ttf') format('truetype');font-display:swap; }
@font-face { font-family:SiteGeorgian;src:url('/localization/fonts/NotoSansGeorgian-Regular.woff2') format('woff2');font-display:swap; }
@font-face { font-family:SiteChinese;src:url('/localization/fonts/NotoSansSC-Regular.woff2') format('woff2');font-display:swap; }
html[lang=hy] body, html[lang=hy] button, html[lang=hy] input, html[lang=hy] select { font-family:SiteArmenian,sans-serif; }
html[lang=ka] body, html[lang=ka] button, html[lang=ka] input, html[lang=ka] select { font-family:SiteGeorgian,sans-serif; }
html[lang=zh] body, html[lang=zh] button, html[lang=zh] input, html[lang=zh] select { font-family:SiteChinese,sans-serif; }

/* The original headings have explicit IBM font rules; script-specific fonts
   must cover those rules as well as inherited body text. */
html[lang=hy] :is(h1,h2,h3,h4,p,a,span,label,li) { font-family:SiteArmenian,sans-serif; }
html[lang=ka] :is(h1,h2,h3,h4,p,a,span,label,li) { font-family:SiteGeorgian,sans-serif; }
html[lang=zh] :is(h1,h2,h3,h4,p,a,span,label,li) { font-family:SiteChinese,sans-serif; }

.site-price-reference { margin:24px auto; color:#526b7e; font-size:14px; line-height:1.5; }
.site-price-reference summary { cursor:pointer; padding:8px 0; }
.site-price-reference p { overflow-wrap:anywhere; }
/* Keep the shared header in normal flow: translated labels and no-JS
   apply buttons may increase its height without covering the page title. */
.header { position:relative; top:auto; background:#eef6ff; }
body:has(.sk) .header { top:auto; }
.promo { padding-top:28px; }
.page-hero { padding-top:40px; }
:is(.promo__title,.page-hero__title) { overflow-wrap:anywhere; hyphens:auto; }
.tariff-card__price-inner, .tariff-card__old-price { white-space:normal; overflow-wrap:anywhere; line-height:1.25; }
.tariff-card__price-value, .tariff-card__price-old-value { display:inline-block; max-width:100%; }
[data-site-money] { overflow-wrap:anywhere; }
@media(max-width:1023px) {
  .promo { padding-top:20px; }
  .page-hero { padding-top:28px; }
}
.header__container { grid-template-columns:230px minmax(0,1fr) auto auto 44px; gap:20px; }
.header__button { white-space:normal; }
@media(min-width:601px) and (max-width:1375px) {
  .header__container { display:grid; grid-template-columns:minmax(100px,1fr) auto auto 44px 40px; gap:12px; }
  .header__logo { min-width:0; }
  .header__logo .logo-long { max-width:100%; }
  .header__button { max-width:190px; }
}
@media(max-width:600px) {
  .header__container { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px; grid-template-areas:"logo logo toggle" "signup signin preferences"; gap:8px; padding:12px; }
  .header__logo { display:flex; grid-area:logo; min-width:0; }
  .header__logo .logo-long { display:block; width:100%; max-width:190px; height:auto; }
  .header__logo .logo-short { display:none; }
  .header__toggle { grid-area:toggle; justify-self:end; }
  .header__button.button--arrow { grid-area:signup; }
  .header__button.button--arrow-arc { grid-area:signin; }
  .header__button { min-width:0; width:100%; height:100%; text-align:center; justify-content:center; }
  .site-preferences { grid-area:preferences; align-self:center; }
  .site-preferences label { overflow-wrap:anywhere; }
  .site-preferences__panel { padding:14px; }
}
html[data-site-currency-pending] .site-price-reference { visibility:hidden; }
