/* ============================================================================
   SKY Company Start Up pages — vector decoration on the colour bands
   (gold offer band, blue bands, white bands, dark contact band).
   The decorations are added by js/setup-bands.js. Each one is aria-hidden,
   pointer-events:none and painted *behind* the band's content (z-index:-1
   inside an isolated band), so nothing here changes layout or clicks.
   ========================================================================== */

/* ---- shared ------------------------------------------------------------- */
.deco-band{position:relative;isolation:isolate}
.band-deco{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;color:#fff}
.band-deco svg{position:absolute;display:block;overflow:visible}
.band-deco .ln{fill:none;stroke:#fff;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
/* every other band of the same kind is mirrored, so stacked bands differ */
.band-deco--flip{transform:scaleX(-1)}

@keyframes bdSpin{to{transform:rotate(360deg)}}
@keyframes bdTwinkle{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}

/* ---- 1. gold "25% off" offer band -------------------------------------- */
.offer-band--promo{isolation:isolate}
.offer-band--promo > .ob-item,
.offer-band--promo > .ob-cta{position:relative;z-index:1}
.offer-band--promo > .ob-tag{z-index:2}

/* flowing ribbon lines across the full band */
.ob-deco .ob-waves{left:0;top:0;width:100%;height:100%}
.ob-deco .ob-waves .w1{stroke:rgba(255,255,255,.55)}
.ob-deco .ob-waves .w2{stroke:rgba(255,255,255,.3)}
.ob-deco .ob-waves .w3{stroke:rgba(26,26,26,.1)}

/* concentric rings radiating out from behind the CTA */
.ob-deco .ob-rings{right:0;top:0;height:100%;width:min(440px,60%)}
.ob-deco .ob-rings circle{fill:none;stroke:#fff;vector-effect:non-scaling-stroke}
.ob-deco .ob-rings .dash{stroke-dasharray:2 6}
.ob-deco .ob-rings .ring-spin{transform-box:fill-box;transform-origin:center;animation:bdSpin 60s linear infinite}

/* twinkling four-point sparkles */
.ob-deco .spark{fill:#fff;transform-box:fill-box;transform-origin:center;animation:bdTwinkle 3.2s ease-in-out infinite}
.ob-deco .spark.s2{animation-delay:1.1s}
.ob-deco .spark.s3{animation-delay:2.2s}

/* fine dot grid fading in from the bottom-left corner */
.ob-deco .ob-dots{
  position:absolute;left:0;bottom:0;width:240px;height:100%;
  background:radial-gradient(rgba(26,26,26,.22) 1.1px,transparent 1.6px) 0 0/14px 14px;
  -webkit-mask:radial-gradient(120% 120% at 0 100%,#000 0,transparent 70%);
          mask:radial-gradient(120% 120% at 0 100%,#000 0,transparent 70%);
}

@media(max-width:760px){
  .ob-deco .ob-rings{width:100%;height:60%;top:auto;bottom:0}
  .ob-deco .ob-dots{width:60%;height:50%}
}

/* ---- 2. blue "Company License" band ------------------------------------
   Same vocabulary as the gold and dark bands: rings, ribbon lines, an
   eight-point star, corner arcs, dot grids and sparkles. Everything hugs
   the edges so the long paragraphs in the middle stay clean. */
section.alt.deco-band,.vat-band.deco-band{overflow:hidden}
/* the Company License band on the main Company Setup page ends in long text,
   so it gets extra room at the foot for the bottom ribbons */
#company-license{padding-bottom:clamp(110px,11vw,160px)}


/* soft light pools so the gradient feels lit rather than flat */
.lic-deco{
  background:
    radial-gradient(620px 420px at 100% 0,rgba(91,140,255,.32),transparent 70%),
    radial-gradient(560px 380px at 0 100%,rgba(230,180,90,.14),transparent 70%),
    radial-gradient(700px 320px at 100% 100%,rgba(3,18,63,.45),transparent 75%);
}

/* concentric rings radiating from the top-right corner (echoes the gold band) */
.lic-deco .lic-rings{right:-230px;top:-230px;width:620px;height:620px}
.lic-deco .lic-rings circle{fill:none;stroke:#fff;vector-effect:non-scaling-stroke}
.lic-deco .lic-rings .dash{stroke-dasharray:2 7}
.lic-deco .lic-rings .ring-spin{transform-box:fill-box;transform-origin:center;animation:bdSpin 70s linear infinite}
.lic-deco .lic-rings .gold{stroke:#E6B45A}

/* flowing ribbon lines across the top and the foot of the band */
.lic-deco .lic-waves{left:0;width:100%;height:min(240px,38%)}
.lic-deco .lic-waves--top{top:0;opacity:.75}
.lic-deco .lic-waves--bottom{bottom:0}
.lic-deco .lic-waves .w1{stroke:rgba(255,255,255,.32)}
.lic-deco .lic-waves .w2{stroke:rgba(255,255,255,.16)}
.lic-deco .lic-waves .w3{stroke:rgba(230,180,90,.45)}

/* eight-point star medallion, bottom-left, turning very slowly (echoes the contact band) */
.lic-deco .lic-star{left:-150px;bottom:-150px;width:480px;height:480px;opacity:.15;animation:bdSpin 130s linear infinite reverse}

/* quarter arcs from the bottom-right corner (mirror of the contact band's top-left arcs) */
.lic-deco .lic-arcs{right:0;bottom:0;width:min(460px,55%);height:auto;opacity:.16}

/* dot grids, top-left and bottom-right */
.lic-deco .lic-dots{
  position:absolute;width:180px;height:120px;
  background:radial-gradient(rgba(217,228,255,.45) 1.2px,transparent 1.7px) 0 0/16px 16px;
}
.lic-deco .lic-dots--tl{left:clamp(16px,4vw,56px);top:40px;
  -webkit-mask:linear-gradient(135deg,#000 20%,transparent 85%);mask:linear-gradient(135deg,#000 20%,transparent 85%)}
.lic-deco .lic-dots--br{right:clamp(24px,8vw,140px);bottom:56px;
  background-image:radial-gradient(rgba(230,180,90,.55) 1.2px,transparent 1.7px);
  -webkit-mask:linear-gradient(315deg,#000 20%,transparent 85%);mask:linear-gradient(315deg,#000 20%,transparent 85%)}

/* twinkling sparkles scattered round the edges */
.lic-deco .lic-spark{width:18px;height:18px;color:#fff;transform-origin:center;animation:bdTwinkle 3.4s ease-in-out infinite}
.lic-deco .lic-spark.gold{color:#E6B45A}
.lic-deco .lic-spark.sm{width:11px;height:11px}

@media(max-width:760px){
  .lic-deco .lic-rings{width:400px;height:400px;right:-170px;top:-170px}
  .lic-deco .lic-star{width:300px;height:300px;left:-120px;bottom:-120px}
  .lic-deco .lic-waves{height:min(160px,30%)}
  .lic-deco .lic-dots{width:110px;height:80px}
  .lic-deco .lic-dots--br{display:none}
}

/* ---- 3. dark contact band ---------------------------------------------- */
.contact.deco-band{overflow:hidden}
.contact-deco{
  background:
    radial-gradient(560px 420px at 100% 100%,rgba(11,59,214,.28),transparent 70%),
    radial-gradient(420px 300px at 0 0,rgba(230,180,90,.08),transparent 70%);
}
/* hairline accent across the top edge */
.contact-deco::before{
  content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,transparent,#E6B45A 25%,#5B8CFF 70%,transparent);
  opacity:.7;
}
.contact-deco .ct-star{right:-150px;bottom:-150px;width:520px;height:520px;opacity:.09;animation:bdSpin 140s linear infinite}
.contact-deco .ct-arcs{left:0;top:0;width:min(520px,70%);height:auto;opacity:.12}
.contact-deco .ct-dots{
  position:absolute;right:clamp(16px,5vw,80px);top:48px;width:150px;height:110px;
  background:radial-gradient(rgba(230,180,90,.45) 1.1px,transparent 1.6px) 0 0/15px 15px;
  -webkit-mask:linear-gradient(225deg,#000 15%,transparent 85%);
          mask:linear-gradient(225deg,#000 15%,transparent 85%);
}
@media(max-width:760px){
  .contact-deco .ct-star{width:340px;height:340px;right:-120px;bottom:-120px}
  .contact-deco .ct-dots{display:none}
}

/* ---- 4. white bands ------------------------------------------------------
   The same shapes as the coloured bands, drawn in pale brand blue with gold
   accents and kept light so text and cards stay the focus. */
.wht-deco{
  background:
    radial-gradient(560px 380px at 0 100%,rgba(11,59,214,.06),transparent 70%),
    radial-gradient(520px 360px at 100% 0,rgba(230,180,90,.10),transparent 70%);
}
.wht-deco .wht-rings{left:-230px;bottom:-230px;width:620px;height:620px}
.wht-deco .wht-rings circle{fill:none;stroke:#0B3BD6;vector-effect:non-scaling-stroke}
.wht-deco .wht-rings .dash{stroke:#D9A241;stroke-dasharray:2 7}
.wht-deco .wht-rings .ring-spin{transform-box:fill-box;transform-origin:center;animation:bdSpin 70s linear infinite}
.wht-deco .wht-waves{left:0;bottom:0;width:100%;height:min(200px,34%)}
.wht-deco .wht-waves .w1{stroke:rgba(11,59,214,.16)}
.wht-deco .wht-waves .w2{stroke:rgba(11,59,214,.08)}
.wht-deco .wht-waves .w3{stroke:rgba(230,180,90,.55)}
.wht-deco .wht-star{right:-130px;top:-130px;width:400px;height:400px;opacity:.08;color:#0B3BD6;animation:bdSpin 130s linear infinite}
.wht-deco .wht-dots{
  position:absolute;right:clamp(120px,16vw,260px);top:34px;width:170px;height:110px;
  background:radial-gradient(rgba(11,59,214,.22) 1.2px,transparent 1.7px) 0 0/16px 16px;
  -webkit-mask:linear-gradient(225deg,#000 20%,transparent 85%);mask:linear-gradient(225deg,#000 20%,transparent 85%);
}
.wht-deco .lic-spark{width:16px;height:16px;color:#D9A241;transform-origin:center;animation:bdTwinkle 3.4s ease-in-out infinite}
.wht-deco .lic-spark.blue{color:#5B8CFF}
.wht-deco .lic-spark.sm{width:11px;height:11px}
@media(max-width:760px){
  .wht-deco .wht-rings{width:400px;height:400px;left:-170px;bottom:-170px}
  .wht-deco .wht-star{width:260px;height:260px;right:-100px;top:-100px}
  .wht-deco .wht-dots{display:none}
}
