/* page additions (tokens only): header fit at 1440, current page in the nav, language switch */
.mh-n[aria-current="page"]{text-decoration:underline;text-underline-offset:3px}
.ul[aria-current]{color:var(--fg);font-weight:700}
/* small helpers */
.tn{font:700 17px/1.4 var(--f-sans)}
.ulk{text-decoration:underline;text-underline-offset:3px}
/* revision 2, colour: a full-bleed colour band. Its colour field is a pseudo-element that wipes in (clip-path from 0 to full width, 500 ms); .w1-.w5 delay the content so it rises in after the wipe. White text on the light-mode colours, #0E0E10 on the dark-mode ones (--on) */
@keyframes vs-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.w1{animation-delay:.4s}
.w2{animation-delay:.5s}
.w3{animation-delay:.6s}
.w4{animation-delay:.7s}
.w5{animation-delay:.8s}
.hband{--lift:color-mix(in srgb,var(--cc) 55%,#000);position:relative;isolation:isolate;color:var(--on)}
.hband::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--cc);animation:vs-wipe .5s cubic-bezier(.2,.7,.2,1) both}
.hband .h1,.hband .lead,.hband .eb{color:var(--on)}
.hband .ebc::before{background:var(--on)}
.hband .bd{color:var(--on);border-color:var(--on)}
.hband .cp{box-shadow:8px 8px 0 var(--lift)}
.hb-p{background:var(--on);color:var(--cc);border-color:var(--on);box-shadow:4px 4px 0 var(--lift)}
.hb-p:hover{color:var(--cc);translate:-2px -2px;box-shadow:6px 6px 0 var(--lift)}
.hb-p:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
.hb-s{background:transparent;color:var(--on);border-color:var(--on);box-shadow:4px 4px 0 var(--lift)}
.hb-s:hover{color:var(--on);translate:-2px -2px;box-shadow:6px 6px 0 var(--lift)}
.hb-s:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
/* the slim six-colour bar for pages no single category owns */
.sixbar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:8px;animation:vs-wipe .5s cubic-bezier(.2,.7,.2,1) both}
.sixbar span{background:var(--cc)}
/* coloured cards: 5px top bar, icon in the category colour, number badge */
.tile .tbar{height:5px}
.tile .tl-top svg{color:var(--cc)}
.nb{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:30px;height:22px;padding:0 6px;background:var(--cc);color:var(--on);font:600 13px/1 var(--f-mono);letter-spacing:.04em}
/* small mosaic tiles: solid colour, name large, one line, status; they lift on a hard shadow in a darker tone of their own colour */
.mos{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:16px}
.mtl{--lift:color-mix(in srgb,var(--cc) 55%,#000);position:relative;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:168px;padding:20px 20px 18px;background:var(--cc);color:var(--on);border-radius:3px;transition:translate .3s cubic-bezier(.3,1.35,.5,1),box-shadow .16s ease}
.mtl:hover,.mtl:focus-visible{translate:-3px -3px;box-shadow:6px 6px 0 var(--lift);color:var(--on);text-decoration:none}
.mtl:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
.mtl:hover .fa,.mtl:focus-visible .fa{opacity:1;translate:0 0}
.mt-n{display:block;font:800 26px/1.15 var(--f-sans);letter-spacing:-.02em}
.mt-d{display:block;margin-top:6px;padding-right:24px;font:500 15px/1.4 var(--f-sans)}
.mtl .bd{align-self:flex-start;color:var(--on);border-color:var(--on)}
/* service chips: solid colour, Compute blue / Storage brown */
.svc{display:inline-flex;align-items:center;height:26px;padding:0 9px;background:var(--cc);color:var(--on);border-radius:2px;font:600 13px/1 var(--f-sans);white-space:nowrap}
.svcs{display:flex;flex-wrap:wrap;gap:6px}
/* revision 2, motion: the top bar of a card grows from 0 to full width as the card is revealed (hover keeps S's own grow) */
@supports (animation-timeline:view()){
.tw{view-timeline-name:--tw}
.tw .tbar{animation:vs-grow linear both;animation-timeline:--tw;animation-range:entry 20% entry 100%}
.tile:hover .tbar,.tile:focus-visible .tbar{animation-timeline:auto}
}
/* markers over the dot map: three equal HTML markers in the colours of the services there. Each drops in (Stack's settle), then pulses once, in turn; --md and --pd are start delays where scroll timelines are missing */
.mkr{position:absolute;width:0;height:0;animation:vs-settle .55s cubic-bezier(.2,.7,.2,1) var(--md,.7s) both}
.mk-dot{position:absolute;left:-6px;top:-6px;width:12px;height:12px;border-radius:50%;background:var(--mc1,var(--fg));box-shadow:0 0 0 2px var(--surface);transition:scale .2s cubic-bezier(.3,1.35,.5,1)}
.mk-pulse{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border:2px solid var(--mc2,var(--fg));border-radius:50%;opacity:.5;animation:vs-ping 1.6s cubic-bezier(.2,.6,.35,1) var(--pd,1.3s) 1 both}
.pu2{--pd:2.4s}
.pu3{--pd:3.5s}
.mkr .mlabel{left:0;top:0;transform:translate(14px,-50%);transition:background-color .16s ease,color .16s ease}
.mkr .mlabel.lft{transform:translate(calc(-100% - 14px),-50%)}
.mkr.on .mk-dot{scale:1.5}
.mkr.on .mk-pulse{border-width:3px}
.mkr.on .mlabel{background:var(--fg);color:var(--bg)}
@supports (animation-timeline:view()){
.mk-pulse{animation:vs-ping linear 1 both;animation-timeline:--map}
.pu1{animation-range:entry 30% entry 55%}
.pu2{animation-range:entry 45% entry 70%}
.pu3{animation-range:entry 60% entry 85%}
}
@media (max-width:600px){
.mkr .mlabel{padding:0 8px}
.mlabel .dk{display:none}
.mkr .mlabel.up{transform:translate(14px,calc(-50% - 8px))}
.mkr .mlabel.dn{transform:translate(14px,calc(-50% + 8px))}
.svc{white-space:normal;height:auto;min-height:26px;padding:6px 9px;line-height:1.2}
}
@media (max-width:900px){
.mos{grid-template-columns:repeat(2,minmax(0,1fr))}
.mos>:first-child{grid-column:1/-1}
}
@media (max-width:600px){
.mos{grid-template-columns:minmax(0,1fr)}
}
/* Object Storage page */
.pg-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.g5{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.g5>*{grid-column:span 2}
.g5>:nth-child(n+4){grid-column:span 3}
.cpf{padding:12px 18px;border-top:1px solid var(--code-line);font:500 13px/1.4 var(--f-mono);color:var(--code-fg-2)}
.g-where{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:64px;align-items:center}
.g-where .mapc{width:100%;max-width:420px}
.pv{font-weight:700}
.prow .pv{margin-left:auto}
/* pricing card: a solid colour header strip */
.chd-c{background:var(--cc);color:var(--on);border-bottom:0}
.chd-c b{font-weight:700;color:var(--on)}
.chd-c .bd{color:var(--on);border-color:var(--on)}
.chd-t{display:inline-flex;align-items:center;gap:10px}
/* FAQ accordion: an answer opens by growing its grid row from 0fr to 1fr; the rule and the plus take the page colour */
.faq{border-top:4px solid var(--cc,var(--line-3))}
.faq-i{border-bottom:1px solid var(--line-2)}
.faq-h{font:inherit}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:64px;padding:14px 8px;color:var(--fg);font:700 18px/1.35 var(--f-sans);transition:background-color .16s ease}
.faq-q:hover{background:var(--hover)}
.faq-q:active{background:var(--line-2)}
.faq-pm{position:relative;flex:none;width:16px;height:16px}
.faq-pm::before,.faq-pm::after{content:"";position:absolute;left:0;right:0;top:7px;height:3px;background:var(--cc,var(--fg));transition:rotate .24s cubic-bezier(.2,.7,.2,1)}
.faq-pm::after{rotate:90deg}
.faq-q[aria-expanded="true"] .faq-pm::after{rotate:0deg}
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.2,.7,.2,1)}
.faq-i.open .faq-a{grid-template-rows:1fr}
.faq-in{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s linear .3s}
.faq-i.open .faq-in{visibility:visible;transition-delay:0s}
.faq-in p{padding:0 48px 22px 8px;color:var(--fg-2)}
/* motion on scroll: price rows slide in one after another and the prices fade up; markers drop in on the map's timeline, then pulse */
@supports (animation-timeline:view()){
.ptab{view-timeline-name:--ptab}
.pr{animation:vs-row linear both;animation-timeline:--ptab}
.pr1{animation-range:entry 0% entry 30%}
.pr2{animation-range:entry 12% entry 42%}
.pr3{animation-range:entry 24% entry 54%}
.pr4{animation-range:entry 36% entry 66%}
.pr5{animation-range:entry 48% entry 78%}
.pr6{animation-range:entry 60% entry 90%}
.pv{animation:vs-rise linear both;animation-timeline:--ptab;animation-range:entry 30% entry 90%}
.mkr{animation:vs-settle linear both;animation-timeline:--map}
.mk1{animation-range:entry 0% entry 25%}
.mk2{animation-range:entry 10% entry 35%}
.mk3{animation-range:entry 20% entry 45%}
}
@media (max-width:900px){
.pg-hero,.g-where{grid-template-columns:minmax(0,1fr);gap:40px}
.g5{grid-template-columns:repeat(2,minmax(0,1fr))}
.g5>*,.g5>:nth-child(n+4){grid-column:span 1}
.g5>:last-child{grid-column:1/-1}
}
@media (max-width:600px){
.g5{grid-template-columns:minmax(0,1fr)}
.g5>:last-child{grid-column:auto}
}
.no-js .faq-a{grid-template-rows:1fr}
.no-js .faq-in{visibility:visible}
.no-js .faq-pm{display:none}
.faq-q{text-align:left}
.prow .ulk{display:inline-flex;align-items:center;min-height:44px}
