@font-face{font-family:Gilroy;src:url('/assets/fonts/GilroyMedium.woff2') format('woff2');font-weight:400 500;font-style:normal;font-display:swap}
@font-face{font-family:Gilroy;src:url('/assets/fonts/GilroyBold.woff2') format('woff2');font-weight:600 900;font-style:normal;font-display:swap}
:root{color-scheme:light;--ink-950:#e9e9fb;--ink-900:#f6f6ff;--ink-850:#f1f0ff;--ink-800:#fff;--ink-700:#f9f9ff;--ink-600:#e3e4f3;--text:#25263a;--text-2:#59647a;--text-3:#78839a;--line:#dfe2ef;--line-strong:#cdd1e4;--cyan:#2424f2;--cyan-deep:#1717c8;--cyan-soft:#eeedff;--cyan-glow:#2424f229;--lime:#2424f2;--font-display:Gilroy,system-ui,sans-serif;--font-body:Gilroy,system-ui,sans-serif;--shadow-lg:0 24px 70px -34px #27276b38}
html{background:#ededff}
body.theme-dark{background:#ededff;color:#25263a;font-family:Gilroy,system-ui,sans-serif}
body.theme-dark :is(h1,h2,h3,h4,h5,h6,p,a,label,button,input,select,textarea,small,strong,b,li,td,th,summary){font-family:Gilroy,system-ui,sans-serif}
body.theme-dark :is(code,pre,.mono,.code,.terminal){font-family:var(--font-mono)}
body.theme-dark :is(h1,h2,h3,h4){color:#25263a}
body.theme-dark :is(p,li,dd,dt){color:inherit}
body.theme-dark .site-header,body.theme-dark .site-header.is-scrolled,body.theme-dark.nav-open .site-header{background:#fffffff2;border-bottom:1px solid #dfe2ef;backdrop-filter:blur(14px)}
body.theme-dark .header-bar{min-height:72px}
body.theme-dark .brand-name,body.theme-dark .nav-link,body.theme-dark .header-login{color:#25263a}
body.theme-dark .brand-name-b{color:#2424f2}
body.theme-dark .logo-mark rect{fill:#2424f2}
body.theme-dark .logo-mark path{stroke:#fff}
body.theme-dark .nav-link:hover,body.theme-dark .header-login:hover{color:#2424f2}
body.theme-dark .mega,body.theme-dark .mega-sheet,body.theme-dark .nav-drawer,body.theme-dark .sheet-panel{background:#fff;color:#25263a;border-color:#dfe2ef;box-shadow:0 22px 45px #20206b1c}
body.theme-dark .mega a,body.theme-dark .nav-drawer a{color:#25263a}
body.theme-dark .mega a:hover,body.theme-dark .nav-drawer a:hover{color:#2424f2}
body.theme-dark .hero{background:radial-gradient(circle at 76% 36%,#ededff 0,#fff 46%,#fff 82%)}
body.theme-dark .hero-media,body.theme-dark .hero-shade{display:none}
body.theme-dark .hero-title{color:#25263a;letter-spacing:-.045em;max-width:12ch}
body.theme-dark .hero-title-b{background:none;-webkit-background-clip:initial;background-clip:initial;-webkit-text-fill-color:#2424f2;color:#2424f2}
body.theme-dark .hero-lead{color:#59647a}
body.theme-dark .eyebrow{background:#f4f3ff;border-color:#dedcff;color:#2424f2}
body.theme-dark .hero-stats{border-color:#dfe2ef}
body.theme-dark .hero-stats li+li{border-color:#dfe2ef}
body.theme-dark .hero-panel,body.theme-dark :is(.feature,.feature-card,.netcard,.spec-card,.uc,.about-card,.doc-card,.rate-card,.trust-card,.gl-card,.gd-card,.pricing-card,.cta-band,.step-card,.faq-item,.proof-card){background:#fff;border-color:#dfe2ef;color:#25263a;box-shadow:0 12px 36px #2828680b}
body.theme-dark .hero-panel{border-radius:19px;box-shadow:0 20px 60px #26266c17}
body.theme-dark .panel-head{background:#f9f9ff;border-color:#e5e6f2}
body.theme-dark :is(.panel-body,.panel-out,.cfg-out,.net-strip,.endpoints,.pay-list,.receipt,.seg-wrap,.seg,.combo-list,.country-list){background:#fff;border-color:#dfe2ef;color:#25263a}
body.theme-dark :is(.seg-btn,.opt,.amt,.tier,.pcoin,.combo-row,.country-row,.netrow){color:#25263a;border-color:#dfe2ef;background:#f9f9ff}
body.theme-dark :is(.seg-btn.is-active,.seg-btn.active,.opt.is-active,.amt.is-active,.pcoin.is-active){background:#eeedff;border-color:#7974ff;color:#2424f2}
body.theme-dark :is(input,select,textarea){background:#fff;color:#25263a;border-color:#dfe2ef;accent-color:#2424f2}
body.theme-dark :is(input,select,textarea):focus{border-color:#7974ff;outline-color:#7974ff}
body.theme-dark :is(.btn-primary,.header-signup,.hero-actions .btn-primary,.mbar .btn-primary){background:#2424f2;color:#fff;border-color:#2424f2;box-shadow:0 8px 22px #2424f226}
body.theme-dark :is(.btn-primary,.header-signup,.hero-actions .btn-primary,.mbar .btn-primary):hover{background:#1717c8;border-color:#1717c8;color:#fff}
body.theme-dark :is(.btn-ghost,.btn-text,.btn-outline){background:#fff;color:#2424f2;border-color:#dfe2ef}
body.theme-dark :is(.btn-ghost,.btn-text,.btn-outline):hover{background:#f1f0ff;border-color:#bab7ff}
body.theme-dark .section-alt{background:#f0efff;border-color:#e0e0f3}
body.theme-dark .site-footer{background:#fff;border-color:#dfe2ef;color:#25263a}
body.theme-dark .site-footer :is(p,small,li){color:#59647a}
body.theme-dark .tabbar{background:#fffffff2;border-color:#dfe2ef;--tab-muted:#59647a}
body.theme-dark .mtab.is-active{background:#eeedff;color:#2424f2}
body.theme-dark .sheet-veil{background:#25265a66}
body.theme-dark :is(.mono,.eyebrow,.index,.kicker){color:#2424f2}
body.theme-dark :is(.status-dot,.live-dot){background:#2424f2}
body.theme-dark :is(.alert,.notice,.app-notice){border-color:#dfe2ef}
body.theme-dark :is(.hero-panel,.feature,.feature-card,.netcard,.uc,.about-card,.doc-card,.rate-card,.trust-card,.gd-card) :is(h2,h3,h4,strong){color:#25263a}
body.theme-dark :is(.hero-panel,.feature,.feature-card,.netcard,.uc,.about-card,.doc-card,.rate-card,.trust-card,.gd-card) :is(p,small){color:#59647a}
html.js body.theme-dark .reveal{opacity:1!important;transform:none!important;filter:none!important}
body.theme-dark .kp-path{background:linear-gradient(120deg,#2925f6,#4335e9);border-color:#2925f6;color:#fff}
body.theme-dark .kp-path :is(h2,p,.kp-eyebrow){color:#fff}
body.theme-dark .kp-path-link{background:#fff;border-color:#fff;color:#2424f2}
body.theme-dark .kp-decision{background:#ededff;color:#25263a}
body.theme-dark .kp-decision :is(h2,.kp-decision-intro,.kp-decision-foot){color:#25263a}
body.theme-dark .kp-decision .kp-eyebrow{color:#2424f2}
body.theme-dark .kp-choice{background:#fff;border-color:#dfe2ef;color:#25263a}
body.theme-dark .kp-choice:hover,body.theme-dark .kp-choice[aria-pressed=true]{background:#eeedff;border-color:#7974ff;box-shadow:inset 3px 0 #2424f2}
body.theme-dark .kp-choice-icon{background:#eeedff;border-color:#ddd9ff;color:#2424f2}
body.theme-dark .kp-choice-arrow{color:#2424f2}
body.theme-dark .kp-result{background:#fff;border-color:#dfe2ef;box-shadow:0 10px 30px #1b234e0d;color:#25263a}
body.theme-dark .kp-result :is(h3,.kp-result-reason,.kp-result-notes p){color:#25263a}
body.theme-dark .kp-result :is(.kp-result-kicker,.kp-result-notes strong){color:#2424f2}
body.theme-dark .kp-result-notes>div{background:#f9f9ff;border-color:#dfe2ef}
body.theme-dark .kp-result-link{background:#2424f2;border-color:#2424f2;color:#fff}
body.theme-dark .kp-directory{background:#ededff;color:#25263a}
body.theme-dark .kp-directory :is(h1,h2,p){color:#25263a}
body.theme-dark .kp-directory-card,body.theme-dark .kp-directory-xml{background:#fff;border-color:#dfe2ef;color:#25263a}
body.theme-dark .kp-directory-card a,body.theme-dark .kp-directory-xml a{color:#3431bb;border-color:#e5e6f2}
@media(max-width:760px){body.theme-dark .hero{padding-top:calc(var(--header-h) + 18px)}body.theme-dark .hero-title{max-width:none}body.theme-dark .hero-stats li+li{border-color:#dfe2ef}}

/* Keep the same typography on localized pages; i18n.css has stronger selectors. */
html[lang="ru"] body.theme-dark,html[lang="zh-Hans"] body.theme-dark{font-family:Gilroy,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
html[lang="ru"] body.theme-dark :is(h1,h2,h3,h4,.hero-title,.section-title),html[lang="zh-Hans"] body.theme-dark :is(h1,h2,h3,h4,.hero-title,.section-title){font-family:Gilroy,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
body.theme-dark .language-picker{font-family:Gilroy,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#59647a}
body.theme-dark .language-picker summary:hover,body.theme-dark .language-picker[open] summary{color:#2424f2;background:#eeedff;border-color:#dfe2ef}
body.theme-dark .language-options{background:#fff;border-color:#dfe2ef;box-shadow:0 16px 36px #24246b20}
body.theme-dark .language-options a{color:#25263a}
body.theme-dark .language-options a:hover,body.theme-dark .language-options a[aria-current]{color:#2424f2;background:#eeedff}
body.theme-dark .language-options a[aria-current]::after{color:#2424f2}

/* Luma's spacious header and sharper controls. */
body.theme-dark .header-bar{gap:32px}
body.theme-dark .brand{gap:10px}
body.theme-dark .logo-mark{width:35px;height:35px}
body.theme-dark .brand-name{font-size:1.65rem;letter-spacing:-.035em}
body.theme-dark .nav-link{font-weight:600}
body.theme-dark .nav-link.is-active,body.theme-dark .nav-item.open .nav-link{background:#eeedff;color:#2424f2}
body.theme-dark :is(.btn,.header-signup){border-radius:4px}
body.theme-dark .hero-panel{border-radius:14px}
body.theme-dark .mega-card{background:#fff;border-color:#dfe2ef;color:#25263a}
body.theme-dark .mega-card:hover,body.theme-dark .mega-card:focus-visible{background:#f7f7ff;border-color:#aaa6ff}
body.theme-dark .mega-card-facts{border-color:#e5e6f2}
body.theme-dark .mega-sheet:before{background:linear-gradient(90deg,transparent,#2424f266 28%,#2424f266 72%,transparent)}
body.theme-dark .main-nav .nav-link:before{content:"";display:inline-block;width:17px;height:17px;flex:none;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain}
body.theme-dark #nav-proxies .nav-link:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E")}
body.theme-dark .main-nav a[href$='/pricing']:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3'/%3E%3Crect x='3' y='8' width='18' height='13' rx='2'/%3E%3Cpath d='M7 12h10M7 16h5'/%3E%3C/svg%3E")}
body.theme-dark #nav-locations .nav-link:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
body.theme-dark #nav-usecases .nav-link:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/svg%3E")}
body.theme-dark #nav-docs .nav-link:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h6a3 3 0 0 1 3 3v14a3 3 0 0 0-3-3H4zM20 4h-4a3 3 0 0 0-3 3v14a3 3 0 0 1 3-3h4z'/%3E%3C/svg%3E")}
@media(max-width:760px){body.theme-dark .header-bar{gap:8px}body.theme-dark .logo-mark{width:28px;height:28px}body.theme-dark .brand-name{font-size:1.35rem}}

/* Luma finishing pass: lighter type, aligned controls, square actions and restrained motion. */
body.theme-dark :is(h1,h2,h3,h4,.hero-title,.section-title){font-weight:500;letter-spacing:-.038em}
body.theme-dark :is(.hero-title,.section-title){line-height:1.06}
body.theme-dark :is(.mono,.eyebrow,.index,.kicker,.calc-label,.calc-ticks,.calc-unit){font-family:Gilroy,system-ui,sans-serif}
body.theme-dark .hero-lead{font-weight:400;line-height:1.62}
body.theme-dark :is(.btn,.header-login,.header-signup,.mega-all,.kp-path-link,.kp-result-link,.calc-net,.seg-btn,.step-btn,.sheet-panel button,.tabbar button){border-radius:0}
body.theme-dark .btn{font-weight:500;letter-spacing:0}
body.theme-dark :is(.btn-primary,.header-signup){box-shadow:0 7px 20px #2424f222}
body.theme-dark .ico{stroke-width:1.7}
body.theme-dark :is(.nav-link,.btn,.mega-card,.feature,.feature-card,.netcard,.pricing-card,.calc-net,.kp-choice,.kp-result-link){transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease,box-shadow 180ms ease,transform 180ms cubic-bezier(.22,1,.36,1)}
body.theme-dark .main-nav .nav-link{position:relative}
body.theme-dark .main-nav .nav-link:after{content:"";position:absolute;left:12px;right:calc(100% - 12px);bottom:1px;height:2px;background:#2424f2;transition:right 180ms cubic-bezier(.22,1,.36,1)}
body.theme-dark .main-nav .nav-link:hover:after,body.theme-dark .main-nav .nav-link.is-active:after,body.theme-dark .nav-item.open .nav-link:after{right:12px}
body.theme-dark :is(.mega-card,.feature,.feature-card,.netcard,.pricing-card,.kp-choice):hover{transform:translateY(-2px);box-shadow:0 14px 34px #24246b16}
body.theme-dark :is(.btn,.header-signup,.kp-path-link,.kp-result-link):hover{transform:translateY(-1px)}
body.theme-dark :is(.btn,.header-signup,.kp-path-link,.kp-result-link):active{transform:translateY(0) scale(.99)}
body.theme-dark .hero-panel{animation:kp-luma-arrive 450ms cubic-bezier(.22,1,.36,1) both}
@keyframes kp-luma-arrive{from{opacity:.7;transform:translateY(8px)}to{opacity:1;transform:none}}
body.theme-dark .calc-controls{background:#f0efff}
body.theme-dark .calc-label{color:#777c9c;font-size:.7rem;letter-spacing:.12em;font-weight:500}
body.theme-dark .calc-number,body.theme-dark .calc-stepper{background:#fff;border:1px solid #cdd1e4;border-radius:14px}
body.theme-dark .calc-number input,body.theme-dark .calc-stepper input{background:#fff;color:#25263a;font-family:Gilroy,system-ui,sans-serif;font-weight:500}
body.theme-dark .calc-number{padding-right:0}
body.theme-dark .calc-unit{align-self:stretch;display:grid;place-items:center;min-width:42px;padding:0 9px;background:#f7f7ff;color:#2424f2;font-size:.75rem;letter-spacing:.05em}
body.theme-dark .calc-hint{color:#78839a;font-size:.8rem}
body.theme-dark .calc-range{background:transparent;border:0;padding:0;accent-color:#2424f2}
body.theme-dark .calc-range::-webkit-slider-runnable-track{height:4px;border-radius:0;background:linear-gradient(90deg,#2424f2 0%,#2424f2 var(--fill,50%),#fff var(--fill,50%),#fff 100%)}
body.theme-dark .calc-range::-moz-range-track{height:4px;border-radius:0;background:#fff}
body.theme-dark .calc-range::-moz-range-progress{height:4px;border-radius:0;background:#2424f2}
body.theme-dark .calc-range::-webkit-slider-thumb{width:24px;height:24px;margin-top:-10px;border:2px solid #2424f2;background:#fff;box-shadow:0 0 0 2px #fff}
body.theme-dark .calc-range::-moz-range-thumb{width:20px;height:20px;border:2px solid #2424f2;background:#fff;box-shadow:0 0 0 2px #fff}
body.theme-dark .calc-ticks{color:#2424f2;font-size:.7rem;letter-spacing:.08em;font-weight:500}
body.theme-dark .calc-ticks span{white-space:nowrap}
body.theme-dark .seg{border-radius:0;background:#fff}
body.theme-dark .calc-net.is-active,body.theme-dark .calc-net[aria-selected="true"]{background:#eeedff;color:#2424f2}
@media(max-width:760px){body.theme-dark .main-nav .nav-link:after{display:none}body.theme-dark .calc-input-row{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){body.theme-dark .hero-panel{animation:none}body.theme-dark :is(.nav-link,.btn,.mega-card,.feature,.feature-card,.netcard,.pricing-card,.calc-net,.kp-choice,.kp-result-link){transition:none!important}body.theme-dark :is(.mega-card,.feature,.feature-card,.netcard,.pricing-card,.kp-choice):hover{transform:none}}

/* Consistent interior spacing for the final sections. */
body.theme-dark .section-faq .section-head{margin-bottom:40px}
body.theme-dark :is(.section-faq,.section-cta,.kp-editorial){scroll-margin-top:calc(var(--header-h) + 18px)}
body.theme-dark .faq-grid{gap:12px 28px;align-items:start}
body.theme-dark .faq-item,body.theme-dark .faq-item:nth-last-child(-n+2){background:#fff;border:1px solid #dfe2ef;box-shadow:0 8px 22px #24246b08}
body.theme-dark .faq-item[open]{border-color:#aaa6ff;box-shadow:0 14px 32px #24246b12}
body.theme-dark .faq-item summary{min-height:70px;padding:18px 22px;gap:20px;font-family:Gilroy,system-ui,sans-serif;font-size:1rem;font-weight:500;line-height:1.4;letter-spacing:0;color:#25263a}
body.theme-dark .faq-item summary>span:first-child{min-width:0;padding-right:2px}
body.theme-dark .faq-item summary:hover{color:#2424f2}
body.theme-dark .faq-plus{margin-left:auto;color:#2424f2;border-color:#cdd1e4}
body.theme-dark .faq-answer{padding:0 64px 22px 22px;color:#59647a;line-height:1.65}
body.theme-dark .faq-answer p{color:#59647a}
body.theme-dark .kp-editorial .container{max-width:1240px}
body.theme-dark .kp-editorial h2{max-width:18ch;margin-bottom:24px}
body.theme-dark .kp-editorial p{max-width:78ch;color:#59647a;line-height:1.7}
body.theme-dark .kp-editorial p+p{margin-top:18px}
body.theme-dark .section-cta{padding:0 0 clamp(64px,7vw,104px)}
body.theme-dark .section-cta .container{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:center;padding:42px 48px;background:#fff;border:1px solid #dfe2ef;box-shadow:0 12px 32px #24246b0c}
body.theme-dark .section-cta .index{grid-column:1/-1;margin-bottom:10px}
body.theme-dark .section-cta h2{grid-column:1;max-width:22ch;margin-bottom:10px}
body.theme-dark .section-cta p:not(.index){grid-column:1;max-width:68ch;color:#59647a;line-height:1.6}
body.theme-dark .section-cta .btn{grid-column:2;grid-row:2/4;align-self:center;min-width:170px}
@media(max-width:760px){body.theme-dark .section-faq .section-head{margin-bottom:26px}body.theme-dark .faq-grid{grid-template-columns:1fr;gap:10px}body.theme-dark .faq-item summary{min-height:62px;padding:15px 17px;font-size:.96rem}body.theme-dark .faq-answer{padding:0 47px 18px 17px}body.theme-dark .section-cta .container{grid-template-columns:1fr;gap:0;padding:28px 22px}body.theme-dark .section-cta :is(.index,h2,p:not(.index),.btn){grid-column:1;grid-row:auto}body.theme-dark .section-cta .btn{justify-self:start;margin-top:22px}}

/* Keep the pricing calculator's three panels on one measured grid. */
body.theme-dark .calc{border-color:#dfe2ef}
body.theme-dark .calc-nets{gap:5px;padding:11px 20px;background:#f7f6ff}
body.theme-dark .calc-net{min-height:42px;padding-inline:13px;font-weight:500}
body.theme-dark .calc-net[aria-selected=true] .ico-sm{color:#2424f2}
body.theme-dark .calc-controls,body.theme-dark .calc-result,body.theme-dark .calc-ladder{min-width:0;padding:28px}
body.theme-dark .calc-controls{gap:24px}
body.theme-dark .calc-ladder{padding-top:28px}
body.theme-dark .calc-result-label,body.theme-dark .ladder-title,body.theme-dark .ladder-table thead th{font-family:Gilroy,system-ui,sans-serif;font-weight:500}
body.theme-dark .calc-total{font-weight:500;font-variant-numeric:tabular-nums}
body.theme-dark .calc-breakdown{max-width:36ch}
body.theme-dark .calc-saving-pill{display:block;width:100%;border-radius:2px;padding:9px 11px;line-height:1.4;font-weight:500}
body.theme-dark .calc-notes{gap:10px;margin-top:22px}
body.theme-dark .calc-notes li{align-items:flex-start;gap:10px}
body.theme-dark .calc-notes .ico-sm{flex:none;margin-top:2px}
body.theme-dark #calc-terms{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%}
body.theme-dark #calc-terms .seg-btn{min-width:0;padding-inline:5px;text-align:center;white-space:normal;line-height:1.15}
body.theme-dark #calc-locs{width:100%}
body.theme-dark .calc-loc-hint{font-family:Gilroy,system-ui,sans-serif;line-height:1.5}
body.theme-dark .calc-ctas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;margin-top:24px}
body.theme-dark .calc-ctas .btn{min-width:0;width:100%;height:auto;min-height:46px;padding:8px 10px;font-size:.86rem;white-space:normal;text-align:center;line-height:1.2}
body.theme-dark .calc-ctas .btn .ico-sm{flex:none}
body.theme-dark .ladder-table{width:100%}
body.theme-dark .ladder-table th,body.theme-dark .ladder-table td{padding:9px 7px}
@media(min-width:1200px){body.theme-dark .calc-body{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px) and (max-width:1199px){body.theme-dark .calc-body{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-dark .calc-ladder{grid-column:1/-1;border-top:1px solid #dfe2ef}body.theme-dark .calc-result{border-right:0}}
@media(max-width:760px){body.theme-dark .calc-nets{padding:8px;gap:4px}body.theme-dark .calc-controls,body.theme-dark .calc-result,body.theme-dark .calc-ladder{padding:18px}body.theme-dark .calc-ctas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){body.theme-dark .calc-ctas{grid-template-columns:1fr}body.theme-dark .calc-ctas .btn{min-height:44px}}

/* Endpoint preview: one steady frame while the network changes. */
@media(min-width:1200px){body.theme-dark .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,560px)}}
@media(min-width:901px) and (max-width:1199px){body.theme-dark .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,500px)}}
body.theme-dark #builder{display:flex;flex-direction:column;width:100%;min-height:570px;overflow:visible}
body.theme-dark #builder .panel-head{min-height:58px;padding:17px 22px;flex:none}
body.theme-dark #builder .panel-body{display:flex;flex:1;flex-direction:column;gap:18px;min-width:0;padding:22px 24px 24px}
body.theme-dark #builder .pf-row{gap:18px}
body.theme-dark #builder .pf-label{margin-bottom:9px;font-size:.7rem;letter-spacing:.12em}
body.theme-dark #builder .seg-grid .seg-btn{min-width:0;padding-inline:5px}
body.theme-dark #builder .panel-out{min-height:58px;padding:11px 12px 11px 15px}
body.theme-dark #builder .panel-out code{font-size:.76rem;overflow-wrap:anywhere}
body.theme-dark #builder .panel-price{margin-top:auto;font-size:.9rem;line-height:1.45}
body.theme-dark #builder .panel-note{min-height:38px;font-size:.8rem;line-height:1.55}
html[lang="ru"] body.theme-dark #builder{min-height:610px}
@media(min-width:901px) and (max-width:1199px){body.theme-dark #builder{min-height:580px}html[lang="ru"] body.theme-dark #builder{min-height:640px}}
@media(max-width:900px){body.theme-dark #builder{max-width:620px;min-height:600px}html[lang="ru"] body.theme-dark #builder{min-height:640px}}
@media(min-width:601px) and (max-width:760px){body.theme-dark #builder,html[lang="ru"] body.theme-dark #builder{min-height:720px}}
@media(max-width:600px){body.theme-dark #builder{min-height:max(680px,calc(910px - 45vw))}html[lang="ru"] body.theme-dark #builder{min-height:calc(990px - 45vw)}body.theme-dark #builder .panel-head{padding:14px 18px}body.theme-dark #builder .panel-body{padding:20px 18px 22px;gap:16px}}
@media(max-width:360px){html[lang="ru"] body.theme-dark #builder{min-height:860px}}
@media(max-width:340px){body.theme-dark #builder{min-height:790px}html[lang="ru"] body.theme-dark #builder{min-height:960px}}

/* Shared KeyProxy surface used by all saved page families and locales. */
html{background:#f6f7fb}
body.theme-dark{background:#f6f7fb;color:#1c2740}
body.theme-dark .site-header,body.theme-dark .site-header.is-scrolled,body.theme-dark.nav-open .site-header{background:#ffffffef;border-color:#e1e5ee}
body.theme-dark .hero{background:radial-gradient(circle at 82% 24%,#ebeaff 0,#fff 39%,#f8f9fc 100%)}
body.theme-dark .section-alt,body.theme-dark .kp-decision,body.theme-dark .kp-directory{background:#f2f4f9;border-color:#e1e5ee}
body.theme-dark .eyebrow{background:#f0f1ff;border-color:#e1e3fa}
body.theme-dark :is(.hero-panel,.feature,.feature-card,.netcard,.spec-card,.uc,.about-card,.doc-card,.rate-card,.trust-card,.gl-card,.gd-card,.pricing-card,.step-card,.faq-item){border-color:#e1e5ee;box-shadow:0 8px 26px #1b234e09}
body.theme-dark :is(.btn,.header-signup,.kp-path-link,.kp-result-link){border-radius:3px}
body.theme-dark :is(.btn,.header-signup,.kp-path-link,.kp-result-link):focus-visible{outline:2px solid #2424f2;outline-offset:3px}
body.theme-dark :is(.btn,.header-signup,.kp-path-link,.kp-result-link):hover{transform:translateY(-1px)}
body.theme-dark :is(h1,h2,h3,h4){text-wrap:balance}
body.theme-dark :is(p,li,dd){overflow-wrap:break-word}
html[lang="zh-Hans"] body.theme-dark :is(h1,h2,h3,h4,p,li,button){line-height:1.45}
@media(prefers-reduced-motion:reduce){body.theme-dark :is(.btn,.header-signup,.kp-path-link,.kp-result-link):hover{transform:none}}

/* Keep composite search and number controls as one surface in the light theme. */
body.theme-dark .combo-panel{left:auto;right:0;width:max(100%,280px);max-width:calc(100vw - 32px);background:#fff;border:1px solid #cdd1e4;border-radius:8px;box-shadow:0 18px 44px #20264a24;backdrop-filter:none;-webkit-backdrop-filter:none}
body.theme-dark .combo-search{height:46px;background:#f8f9fd;color:#687590;border-bottom:1px solid #dfe2ef}
body.theme-dark :is(.combo-search,.explorer-search,.docs-search-field,.gl-search) input{flex:1;min-width:0;width:100%;height:100%;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;outline:0;color:#25263a;font-family:Gilroy,system-ui,sans-serif}
body.theme-dark :is(.combo-search,.explorer-search,.docs-search-field,.gl-search) input:focus{background:transparent;border:0;box-shadow:none;outline:0}
body.theme-dark :is(.combo-search,.explorer-search,.docs-search-field,.gl-search) input::placeholder{color:#8791a7;opacity:1}
body.theme-dark .combo-opt{color:#47536d;border-radius:4px}
body.theme-dark .combo-opt:hover,body.theme-dark .combo-opt.is-active{background:#f0f1ff;color:#2424f2}
body.theme-dark .combo-opt[aria-selected=true]{background:#f5f5ff;color:#2424f2}
body.theme-dark .combo-group{color:#5b64ac}
body.theme-dark .combo.kp-open-up .combo-panel{top:auto;bottom:calc(100% + 6px)}
body.theme-dark .explorer-search,body.theme-dark .docs-search-field,body.theme-dark .gl-search{background:#fff;border-color:#dfe2ef;color:#687590;backdrop-filter:none;-webkit-backdrop-filter:none}
body.theme-dark :is(.calc-number,.calc-stepper) input{border:0;border-radius:0;box-shadow:none;outline:0}
body.theme-dark :is(.calc-number,.calc-stepper) input:focus{border:0;box-shadow:none;outline:0}

/* Make the endpoint preview readable as a distinct tool, not a faded card. */
body.theme-dark #builder{background:#fff;border:1px solid #cbd3e7;box-shadow:0 24px 58px #26316b1d,0 2px 8px #26316b0c}
body.theme-dark #builder .panel-head{background:#f3f5ff;border-bottom:1px solid #d6dcef;color:#1f2a44}
body.theme-dark #builder .panel-title{font-size:.96rem;font-weight:600;letter-spacing:-.01em;color:#1f2a44}
body.theme-dark #builder .panel-title .ico-sm{color:#2825e9}
body.theme-dark #builder .panel-badge{padding:5px 9px;background:#e9ebff;border:1px solid #cdd3f9;color:#2424c8;font-weight:700}
body.theme-dark #builder .panel-body{background:#fff;gap:20px}
body.theme-dark #builder .pf-label{color:#3b43aa;font-size:.72rem;font-weight:700;letter-spacing:.1em}
body.theme-dark #builder .seg{background:transparent;border:0;gap:5px}
body.theme-dark #builder .seg .seg-btn{min-height:39px;height:auto;padding:7px 10px;background:#f7f8fd;border:1px solid #d6dceb;color:#29334a;font-size:.82rem;font-weight:600;line-height:1.25;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
body.theme-dark #builder .seg .seg-btn:hover{background:#eef0ff;border-color:#8f98e9;color:#2424c8}
body.theme-dark #builder .seg .seg-btn.is-active,body.theme-dark #builder .seg .seg-btn[aria-pressed=true]{background:#2926e8;border-color:#2926e8;color:#fff;box-shadow:0 5px 12px #2524dc2b}
body.theme-dark #builder .seg .seg-btn.is-active .ico-sm,body.theme-dark #builder .seg .seg-btn[aria-pressed=true] .ico-sm{color:#fff}
body.theme-dark #builder .seg .seg-btn:focus-visible,body.theme-dark #builder .combo-btn:focus-visible,body.theme-dark #builder .copy-btn:focus-visible{outline:2px solid #2424f2;outline-offset:2px}
body.theme-dark #builder .combo-btn{height:44px;background:#f8f9ff;border:1px solid #bfc8e1;color:#1f2a44;font-size:.9rem;font-weight:600}
body.theme-dark #builder .combo-btn:hover,body.theme-dark #builder .combo.is-open .combo-btn{border-color:#6668da;box-shadow:0 0 0 3px #2926e812}
body.theme-dark #builder .pf-static{color:#42506b;font-size:.88rem;line-height:1.55}
body.theme-dark #builder .panel-out{background:#f6f7ff;border:1px solid #c6cfec;border-left:3px solid #2926e8;border-radius:5px;box-shadow:0 5px 13px #2926e80a}
body.theme-dark #builder .panel-out code{color:#1d2c5d;font-size:.8rem;font-weight:600}
body.theme-dark #builder .panel-out .k{color:#2524ce}
body.theme-dark #builder .panel-out .v{color:#9b4a00}
body.theme-dark #builder .copy-btn{background:#fff;border:1px solid #cdd4e8;border-radius:4px;color:#243277;font-weight:600}
body.theme-dark #builder .copy-btn:hover{background:#eceeff;border-color:#8e96df;color:#2424c8}
body.theme-dark #builder .panel-price{padding:14px 16px;background:#f3f5ff;border:1px solid #dce1f3;border-radius:5px;color:#3c4964;font-size:.92rem;line-height:1.5}
body.theme-dark #builder .panel-price strong{color:#201e99;font-weight:700}
body.theme-dark #builder .panel-note{color:#4b5871;font-size:.84rem;line-height:1.55}
@media(max-width:600px){body.theme-dark #builder .panel-body{gap:16px}body.theme-dark #builder .seg .seg-btn{padding-inline:5px;font-size:.78rem}body.theme-dark #builder .panel-price{padding:12px 13px}}
@media(prefers-reduced-motion:reduce){body.theme-dark #builder .seg .seg-btn{transition:none}}

/* Short editorial pages use the same measured content rhythm as the catalogue. */
body.theme-dark:is(.page-about,.page-contact) .hero-static{min-height:0;padding:calc(var(--header-h) + 46px) 0 54px;background:linear-gradient(115deg,#fff 0%,#f4f5ff 65%,#ebecff 100%);border-bottom:1px solid #dfe2ef}
body.theme-dark:is(.page-about,.page-contact) .hero-static>.container{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,6vw,96px);align-items:start}
body.theme-dark:is(.page-about,.page-contact) .hero-static h1{max-width:12ch;margin:0;font-size:clamp(2.8rem,4.4vw,4.1rem);line-height:1.04;letter-spacing:-.045em}
body.theme-dark:is(.page-about,.page-contact) .hero-static .lead{max-width:62ch;margin:5px 0 0;padding-left:24px;border-left:2px solid #3430f0;color:#42506b;font-size:clamp(1rem,1.15vw,1.12rem);line-height:1.7}
body.theme-dark:is(.page-about,.page-contact) main>.section{padding:48px 0 72px;background:#f6f7fb}
body.theme-dark:is(.page-about,.page-contact) .kp-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
body.theme-dark:is(.page-about,.page-contact) .kp-info-card{min-width:0;padding:27px 30px 30px;background:#fff;border:1px solid #dfe2ef;box-shadow:0 12px 30px #1b234e09}
body.theme-dark:is(.page-about,.page-contact) .kp-info-card::before{content:counter(info-card,decimal-leading-zero);display:block;margin-bottom:24px;color:#3330e8;font-size:.72rem;font-weight:700;letter-spacing:.16em}
body.theme-dark:is(.page-about,.page-contact) .kp-info-grid{counter-reset:info-card}
body.theme-dark:is(.page-about,.page-contact) .kp-info-card{counter-increment:info-card}
body.theme-dark:is(.page-about,.page-contact) .kp-info-card h2{margin:0 0 12px;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.2;letter-spacing:-.025em}
body.theme-dark:is(.page-about,.page-contact) .kp-info-card p{max-width:65ch;margin:0;color:#53617a;font-size:.98rem;line-height:1.66}
body.theme-dark:is(.page-about,.page-contact) .kp-info-card a,body.theme-dark:is(.page-about,.page-contact) .hero-static .lead a{color:#2424d8;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
body.theme-dark.page-contact .kp-info-grid{grid-template-columns:minmax(0,1fr)}
body.theme-dark.page-contact .kp-info-card{min-height:0;max-width:800px}
@media(max-width:760px){body.theme-dark:is(.page-about,.page-contact) .hero-static{padding:calc(var(--header-h) + 24px) 0 34px}body.theme-dark:is(.page-about,.page-contact) .hero-static>.container{grid-template-columns:1fr;gap:18px}body.theme-dark:is(.page-about,.page-contact) .hero-static h1{font-size:clamp(2.3rem,9vw,3.1rem)}body.theme-dark:is(.page-about,.page-contact) .hero-static .lead{margin:0;padding-left:16px;font-size:1rem;line-height:1.58}body.theme-dark:is(.page-about,.page-contact) main>.section{padding:22px 0 48px}body.theme-dark:is(.page-about,.page-contact) .kp-info-grid{grid-template-columns:1fr;gap:12px}body.theme-dark:is(.page-about,.page-contact) .kp-info-card{padding:22px}body.theme-dark:is(.page-about,.page-contact) .kp-info-card::before{margin-bottom:14px}}

/* The translated quote card must shrink to the phone's content column. */
@media(max-width:600px){body.theme-dark .hero-panel.quote{grid-template-columns:minmax(0,1fr)}body.theme-dark .hero-panel.quote .panel-head{min-width:0;flex-wrap:wrap}body.theme-dark .hero-panel.quote .panel-title{min-width:0}body.theme-dark .hero-panel.quote .panel-badge{flex:0 1 auto;max-width:100%;white-space:normal;line-height:1.25}body.theme-dark .hero-panel.quote .panel-body{min-width:0}}

/* Long guide titles remain scannable; their cover artwork occupies the open column. */
@media(min-width:1100px){body.theme-dark.page-guide .hero-title{max-width:18ch;font-size:clamp(2.8rem,3.5vw,3.7rem)}body.theme-dark.page-guide .hero-media{display:block;top:220px;left:auto;right:max(6.9vw,32px);bottom:auto;width:min(35vw,500px);height:320px;z-index:0;border:1px solid #dfe2ef;box-shadow:0 22px 50px #17204320;background:#10182e}body.theme-dark.page-guide .hero-cover{width:100%;height:100%;object-fit:cover}body.theme-dark.page-guide .hero>.container{position:relative;z-index:1}}

/* Code examples: visible selected language, clear copy action, compact mobile layout. */
body.theme-dark .tab-list{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;max-width:100%;padding:5px;margin-bottom:12px;overflow-x:auto;scrollbar-width:thin;border:1px solid #d6dceb;border-radius:5px;background:#fff}
body.theme-dark .tab-list .tab{flex:0 0 auto;min-width:58px;min-height:38px;padding:0 13px;border-radius:2px;color:#42506b;font-weight:600;white-space:nowrap;transition:background-color .16s ease,color .16s ease}
body.theme-dark .tab-list .tab:hover{background:#eff0ff;color:#2424c8}
body.theme-dark .tab-list .tab[aria-selected=true]{background:#2825e8;color:#fff;box-shadow:0 3px 9px #2424f22a}
body.theme-dark .tab-list .tab:focus-visible{outline:2px solid #2424f2;outline-offset:2px}
body.theme-dark .term{border:1px solid #20283b;border-radius:6px;box-shadow:0 18px 34px #1b234e1b}
body.theme-dark .term-bar{min-height:52px;background:#111827;border-bottom:1px solid #35405a}
body.theme-dark .term-title{color:#d4e1ff;font-weight:600;letter-spacing:.07em}
body.theme-dark .term .copy-btn{min-height:40px;padding-inline:11px;border:1px solid #74819b;border-radius:3px;color:#ecf2ff;background:#192236}
body.theme-dark .term .copy-btn:hover,body.theme-dark .term .copy-btn:focus-visible{background:#293653;border-color:#a6b5d2;color:#fff}
body.theme-dark .term .copy-btn.is-done{border-color:#8fe3b2;color:#9cf0c0}
body.theme-dark .term-body{color:#e4ebf8;background:#080d18}
body.theme-dark .term-body .c{color:#9caaca}
body.theme-dark .term-body .k{color:#79dcff}
body.theme-dark .term-body .v{color:#ffcf86}
body.theme-dark .prow:hover .prow-go{background:#eeedff;border-color:#aaa6ff;color:#2424c8}
@media(max-width:600px){body.theme-dark .tab-list{width:100%;margin-bottom:10px}body.theme-dark .tab-list .tab{flex:1 0 auto;min-height:42px;padding-inline:10px}body.theme-dark .term-bar{min-height:52px}body.theme-dark .term .copy-btn{min-height:44px}body.theme-dark .term-body{line-height:1.65}}
/* Translated navigation needs the compact header before labels start to collide. */
body.theme-dark .site-header,
body.theme-dark .site-header.is-scrolled,
body.theme-dark.nav-open .site-header { background: #fff; }
.kp-compact-nav { display: none; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header .main-nav { display: none; }
  .site-header .header-bar { justify-content: space-between; }
  .kp-compact-nav { display: block; position: relative; margin-inline-start: auto; z-index: 72; }
  .kp-compact-nav summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid #dfe2ef; color: #22234a; font-weight: 650; cursor: pointer; }
  .kp-compact-nav summary::-webkit-details-marker { display: none; }
  .kp-compact-nav[open] summary { color: #2424f2; border-color: #a5a5f8; }
  .kp-compact-nav-links { position: absolute; top: calc(100% + 8px); right: 0; width: 220px; padding: 7px; background: #fff; border: 1px solid #dfe2ef; box-shadow: 0 16px 38px #20206b22; }
  .kp-compact-nav-links a { display: block; padding: 9px 11px; font-size: 14px; color: #25263a; }
  .kp-compact-nav-links a:hover, .kp-compact-nav-links a:focus-visible { background: #f0efff; color: #2424f2; }
}
