﻿/* ===== Tariff section (fluid layout; breakpoints 1440 / 1100 / 768 / 600 / 360) ===== */
.tariff-main{padding:40px 0 80px;background:#fff}
.tariff{--gut:6.51vw;max-width:calc(1670px + var(--gut) * 2);margin:0 auto;padding:0 var(--gut);font-family:Inter,sans-serif;color:#2b2c30}
.tariff *,.tariff *::before,.tariff *::after{box-sizing:border-box;margin:0;padding:0}
.tariff img,.tariff svg{display:block}
.tariff a{color:inherit;text-decoration:none;cursor:pointer}
.tariff button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:inherit}
.tariff h2,.tariff h3,.tariff p,.tariff ol{font:inherit}
.tariff .crumbs{display:flex;flex-wrap:wrap;gap:6px 10px;padding:0 1.4%;font-weight:600;font-size:20px;color:#73777b}
.tariff .crumbs i{font-style:normal;color:#8c8e94}
.tariff .cols{--gap:clamp(40px,calc(100vw - 1736px),184px);display:grid;grid-template-columns:minmax(0,586fr) minmax(0,846fr);gap:var(--gap);max-width:calc(1432px + var(--gap));margin:32px auto 0;align-items:start}
.tariff .left{display:flex;flex-direction:column;gap:48px;min-width:0}
.tariff .right{display:flex;flex-direction:column;gap:50px;padding:30px;min-width:0}
/* stage + card (sizes relative to the 534x497 design frame) */
.tariff .stage{position:relative;width:100%;max-width:534px;aspect-ratio:534/497;perspective:1600px;container-type:inline-size}
.tariff .stage::before{content:"";position:absolute;left:0;top:0;width:87.83%;height:100%;background:#f2f2f2}
.tariff .stage-word{position:absolute;left:1.31%;top:67.8%;width:86.5%;overflow:hidden;font-family:Onest;font-weight:700;font-size:26.15cqw;line-height:normal;color:transparent;-webkit-text-stroke:1px #e1e1e1;white-space:nowrap;transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .4s}
.tariff .stage-word.out{transform:translateY(40px);opacity:0}
.tariff .stage-tag{position:absolute;left:4.56%;top:4.3%;display:flex;align-items:center;gap:8px;font-size:12.2px;line-height:19.58px;color:#73777b}
.tariff .dot{width:8px;height:7.5px;border-radius:50%;background:#b4b6bb;transition:background .3s}
.tariff .stage-tag.sel{color:#2b2c30}
.tariff .stage-tag.sel .dot{background:#c8161d}
.tariff .card-3d{position:absolute;left:10.11%;top:17.22%;width:89.89%;transform-style:preserve-3d;container-type:inline-size}
.tariff .card{position:relative;border-radius:3.75cqw;transform-style:preserve-3d;will-change:transform}
.tariff .card img{width:100%;height:auto;aspect-ratio:480/302;object-fit:cover;border-radius:inherit}
.tariff .card.flip-out{animation:cardOut .32s cubic-bezier(.55,0,.75,.2) forwards}
.tariff .card.flip-in{animation:cardIn .55s cubic-bezier(.2,.9,.25,1.15) forwards}
.tariff .card.pulse{animation:cardPulse .5s ease}
@keyframes cardOut{to{transform:rotateY(-90deg) translateX(-30px) scale(.94)}}
@keyframes cardIn{from{transform:rotateY(90deg) translateX(30px) scale(.94)}to{transform:none}}
@keyframes cardPulse{40%{transform:translateY(-8px) rotateX(6deg)}}
/* live card number: 1px of the 480px card = .2083cqw */
.tariff .card-num{position:absolute;left:0;top:35.94cqw;width:100%;height:6.46cqw;pointer-events:none;backface-visibility:hidden}
.tariff .card-num .cg{position:absolute;top:0;display:flex}
.tariff .card-num .cg:nth-child(1){left:4.27%}
.tariff .card-num .cg:nth-child(2){left:28.27%}
.tariff .card-num .cg:nth-child(3){left:52.27%}
.tariff .card-num .cg:nth-child(4){left:76.29%}
.tariff .card-num .roll{width:4.79cqw;height:6.46cqw;line-height:6.46cqw;font-family:'Share Tech Mono',monospace;font-size:7.08cqw;text-align:center;color:rgba(20,20,20,.25);-webkit-text-stroke:max(.8px,.27cqw) #e6e6e6;text-shadow:0 1px 1px rgba(0,0,0,.6),0 0 2px rgba(255,255,255,.25)}
.tariff .card-num .roll>span>i{height:6.46cqw}
.tariff .card-num .roll.set{-webkit-text-stroke-color:#fff}
/* summary */
.tariff .summary{border:1px solid #e5e5e8;padding:25px 26px 24px;max-width:587px}
.tariff .lbl{font-family:Onest;font-size:13px;color:#8c8e94;line-height:normal}
.tariff .s-num{margin-top:6px;padding-bottom:20px;border-bottom:1px solid #e5e5e8;font-family:Onest;font-size:24px;line-height:normal;color:#b4b6bb}
.tariff .s-num.has{color:#2b2c30;font-weight:700}
.tariff .s-meta{display:flex;flex-wrap:wrap;gap:10px 48px;margin-top:20px}
.tariff .s-meta .val{margin-top:7px;font-family:Onest;font-weight:700;font-size:16px;color:#2b2c30}
.tariff .s-meta .val.red{color:#c8161d}
.tariff .s-actions{display:flex;align-items:center;gap:20px;margin-top:22px}
.tariff .apply{flex:0 1 442px;min-height:52px;padding:10px 20px;border-radius:4px;background:#c8161d;font-family:Onest;font-size:16px;color:#fff;text-align:center;opacity:.35;transition:opacity .3s}
.tariff .apply:not([disabled]){opacity:1}
.tariff .reset{font-family:Onest;font-size:16px;color:#4a4b51;white-space:nowrap}
.tariff .reset:hover{color:#c8161d}
/* steps */
.tariff .step{display:flex;flex-direction:column;gap:20px}
.tariff .step+.step{padding-top:50px;border-top:1px solid #ececee;margin-top:-30px}
.tariff .step:first-child{gap:16px}
.tariff .step-h{display:flex;align-items:baseline;gap:10px;font-weight:600;font-size:28px;line-height:34px;color:#2c3136}
.tariff .step-h em{font-style:normal;font-size:20px;color:#c8161d;line-height:normal}
.tariff .tier-tabs{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,118px);gap:13px;align-self:flex-start;max-width:100%;padding:4px;border-radius:5px;background:#f7f7f7;overflow-x:auto;scrollbar-width:none}
.tariff .tier-tabs::-webkit-scrollbar{display:none}
.tariff .tier-tab{position:relative;z-index:1;height:53px;border-radius:3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
/* active tier: white name + light price on the dark sliding pill.
   Colours flip mid-slide (0.2s delay) so both stay readable while the pill travels. */
.tariff .tier-tab b{font-size:16px;color:#2b2c30;transition:color .15s ease}
.tariff .tier-tab small{font-size:12px;color:#8c8e94;transition:color .15s ease}
.tariff .tier-tab.on b{color:#fff;transition:color .15s ease .22s}
.tariff .tier-tab.on small{color:#d9dbdf;transition:color .15s ease .22s}
.tariff .tier-ind{position:absolute;z-index:0;top:4px;left:4px;width:118px;height:53px;border-radius:3px;background:#2b2c30;pointer-events:none;transition:transform .45s cubic-bezier(.3,1.3,.5,1),width .3s,height .3s}
.tariff .note,.tariff .hint{display:flex;gap:10px;align-items:center;font-size:14px;color:#4a4b51}
.tariff .hint{font-size:12.2px;line-height:19.58px;color:#73777b;margin-top:-6px}
.tariff .hint.warn{color:#c8161d}
.tariff .note svg,.tariff .hint svg{flex:none}
.tariff .tpls{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:18px;max-width:661px}
.tariff .tpl{position:relative;display:flex;gap:12px;align-items:flex-start;min-height:90px;padding:18px 12px;background:#f7f7f7;border:1px solid transparent;text-align:left;transition:border-color .25s,transform .25s;animation:tplIn .4s both}
.tariff .tpl.on{border-color:#000}
.tariff .tpl:hover{transform:translateY(-2px)}
@keyframes tplIn{from{opacity:0;transform:translateY(10px)}}
.tariff .tpl-ico{position:relative;flex:none}
.tariff .tpl-ico svg{position:absolute}
.tariff .tpl-ico .digit{position:absolute;left:11.9px;top:-3.3px;font-weight:700;font-size:18px;line-height:28px;color:#fff}
.tariff .tpl-body{flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}
.tariff .tpl-t{font-weight:700;font-size:18px;line-height:21px;color:#2c3136}
.tariff .tpl-d{font-size:12.2px;line-height:19.58px;color:#73777b}
.tariff .tpl-r{flex:none;margin-top:-1px}
/* digit cells: prefix 9860 14вЂўвЂў + 8 inputs, widths proportional to the design (37 / 44px) */
.tariff .cells{display:flex;gap:15px;max-width:786px;margin-top:5px}
.tariff .c-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 4px repeat(4,minmax(0,1fr));column-gap:5px;align-items:start}
.tariff .c-group.pre{flex:296 1 0}
.tariff .c-group.ins{flex:354 1 0;column-gap:6px;grid-template-columns:repeat(4,minmax(0,1fr)) 3px repeat(4,minmax(0,1fr))}
.tariff .c-group>:nth-child(5){grid-column:6}
.tariff .cells.api{flex-wrap:wrap}
.tariff .cells.api .c-group{display:flex;flex-wrap:wrap;gap:6px;flex:none}
.tariff .cells.api .cell,.tariff .cells.api .c-pre{width:44px}
.tariff .cells.api .c-pre{height:60px;aspect-ratio:auto}
.tariff .cells.single .c-group.ins{flex:none;display:block}
.tariff .cells.single .cell{width:44px}
.tariff .c-pre{aspect-ratio:37/59;display:flex;align-items:center;justify-content:center;border-radius:4px;background:#f7f7f7;font-family:Onest;font-size:19px;color:#8c8e94}
.tariff .c-box{position:relative;aspect-ratio:44.23/60.38;display:flex;align-items:center;justify-content:center;border:1.5px solid #e5e5e8;border-radius:4px;background:#fff;font-family:Onest;font-weight:700;font-size:24px;color:#2b2c30;transition:border-color .2s}
.tariff .c-box .ph{color:#b4b6bb;font-weight:400}
.tariff .cell.master .c-box:focus-within{border-color:#c8161d}
.tariff .c-box input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:text;font-size:24px}
.tariff .cell.derived{cursor:default}
.tariff .c-lab{margin-top:6px;text-align:center;font-family:Onest;font-weight:700;font-size:11px;color:#b4b6bb;line-height:normal}
/* rolling digits */
.tariff .roll{display:inline-block;height:1.25em;line-height:1.25em;overflow:hidden;vertical-align:top}
.tariff .roll>span{display:flex;flex-direction:column;transition:transform .6s cubic-bezier(.2,.9,.3,1.12)}
.tariff .roll>span>i{font-style:normal;height:1.25em;text-align:center}
.tariff .c-box .roll>span>i:first-child{color:#b4b6bb}
/* step 4 */
.tariff .step4{gap:14px;align-self:flex-start;width:100%;max-width:653px;padding:20px;background:#f7f7f7}
.tariff .step+.step4{padding-top:20px;border-top:0;margin-top:0}
.tariff .res-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:#8c8e94}
.tariff .res-bar b{color:#2b2c30}
.tariff .pager{display:flex;gap:13px;align-items:center;font-family:Onest;font-size:14px;color:#4a4b51}
.tariff .pager svg{opacity:.3}
.tariff .results{display:grid;grid-template-columns:repeat(auto-fill,minmax(186px,1fr));gap:10px}
.tariff .rn{display:flex;justify-content:space-between;align-items:center;gap:8px;height:56px;padding:0 7px;background:#fff;font-size:15.5px;line-height:19px;text-align:left;animation:rnIn .45s both;transition:box-shadow .2s}
.tariff .rn:hover{box-shadow:0 0 0 1px #2b2c30 inset}
.tariff .rn.sel{box-shadow:0 0 0 1.5px #c8161d inset}
@keyframes rnIn{from{opacity:0;transform:translateY(8px)}}
.tariff .rn .p{color:#8c8e94;white-space:nowrap}
.tariff .rn .n{display:flex;font-weight:700;color:#2b2c30;white-space:nowrap}
.tariff .rn .n .gap{width:.28em}
.tariff .rn .n .red{color:#c8161d}
.tariff .rn .n .roll,.tariff .rn .n .roll>span>i{height:19px;line-height:19px}
/* info block */
.tariff .info{display:flex;flex-direction:column;align-items:center;margin:40px 0 var(--offset-m)}
.tariff .facts{display:flex;flex-wrap:wrap;justify-content:center;gap:24px 240px}
.tariff .fact{display:flex;gap:10px;align-items:center}
.tariff .f1{font-family:Roboto;font-size:20px;color:#1a1a1a;line-height:normal}
.tariff .f2{font-family:Roboto;font-size:12px;color:#616161;margin-top:5px;line-height:normal}

@media (max-width:1439px){
  .tariff .right{padding:30px 0}
  .tariff .facts{column-gap:120px}
}
@media (max-width:1099px){
  .tariff-main{padding-top:85px} /* header .menu row is absolute (45px) below 1100px */
  .tariff{--gut:30px}
  .tariff .cols{grid-template-columns:minmax(0,1fr);gap:0;max-width:846px}
  .tariff .left{display:contents}
  .tariff .stage{order:1;justify-self:center}
  .tariff .right{order:2}
  .tariff .summary{order:3;justify-self:stretch;max-width:none}
  .tariff .tpls,.tariff .step4{max-width:none}
}
@media (max-width:767px){
  .tariff-main{padding:69px 0 56px}
  .tariff .crumbs{font-size:15px;padding:0}
  .tariff .cols{margin-top:24px}
  .tariff .right{gap:40px}
  .tariff .step+.step{padding-top:40px;margin-top:-20px}
  .tariff .step+.step4{padding-top:16px;margin-top:0}
  .tariff .step-h{font-size:22px;line-height:28px}
  .tariff .step-h em{font-size:16px}
  .tariff .tier-tabs{grid-auto-columns:minmax(96px,1fr);gap:8px;align-self:stretch}
  .tariff .cells{flex-direction:column;gap:12px}
  .tariff .c-group.pre,.tariff .c-group.ins{flex:none}
  .tariff .c-pre{aspect-ratio:auto;height:40px;font-size:17px}
  .tariff .facts{column-gap:60px;justify-content:flex-start;align-self:stretch}
}
@media (max-width:599px){
  .tariff{--gut:15px}
  .tariff .summary{padding:20px 16px}
  .tariff .s-num{font-size:20px}
  .tariff .s-meta{column-gap:28px}
  .tariff .s-actions{flex-direction:column;align-items:stretch;gap:14px}
  .tariff .apply{flex:none}
  .tariff .reset{align-self:center}
  .tariff .c-box{font-size:20px}
  .tariff .c-group,.tariff .c-group.ins{grid-template-columns:repeat(4,minmax(0,1fr)) 0 repeat(4,minmax(0,1fr))}
  .tariff .step4{padding:16px 12px}
  .tariff .results{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tariff .rn{flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;height:62px;padding:0 10px}
}

.tariff .card-num .d{font-family:'Share Tech Mono',monospace;font-size:7.08cqw;line-height:6.46cqw;color:rgba(20,20,20,.25);-webkit-text-stroke:max(.8px,.27cqw) #e6e6e6}
.tariff .card-num .d.set{color:#fff;-webkit-text-stroke-color:#fff}
.tariff .tier-ind{display:none}
.tariff .tier-tab.on{background:#2b2c30}
.tariff .res-issue{margin:0;font-size:14px;color:#c8161d}
.tariff .pager button{font:inherit;color:inherit}
.tariff .pager button:disabled{opacity:.35}
.great-designs{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0;margin:24px 0 0}
.great-designs button{width:180px;padding:0;background:none;border:0;cursor:pointer}
.great-designs img{width:100%;height:auto}
