/* S6 / 2026 visual finish — scoped to public storefront.
   Kept separate from functional code; all stats, checkout and card hooks remain. */

/* Full-coverage YB-green American flag inside SINISTER and 2026 glyphs. */
body.s6-rehaul .s6-era-name,
body.s6-rehaul .s6-era-year{
  background-color:#23ee71!important;
  background-image:url("/assets/s6-green-flag.svg?v=20261029-fullgreen-v1")!important;
  background-position:center!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:0 transparent!important;
  text-shadow:none!important;
  paint-order:fill stroke;
}
body.s6-rehaul .s6-era-name{
  letter-spacing:-.08em!important;
  filter:drop-shadow(0 2px 0 #030704) drop-shadow(0 0 10px rgba(30,225,99,.14))!important;
}
body.s6-rehaul .s6-era-year{
  filter:drop-shadow(0 2px 0 #030704)!important;
  letter-spacing:.075em!important;
}
/* Revert the green action to polished silver on every interaction. */
body.s6-rehaul .s6r-home a.s6r-primary{
  background:linear-gradient(174deg,#eef1f5,#aeb7c5)!important;
  border:1px solid #d8dfe9!important;
  border-radius:5px!important;color:#101216!important;
  box-shadow:0 12px 30px rgba(0,0,0,.45),inset 0 1px rgba(255,255,255,.67)!important;
}
body.s6-rehaul .s6r-home a.s6r-primary:is(:hover,:focus-visible){
  background:linear-gradient(174deg,#fff,#d1d8e2)!important;
  border-color:#f2f4f8!important;
  box-shadow:0 14px 34px rgba(0,0,0,.54),inset 0 1px rgba(255,255,255,.8)!important;
}

/* Compact black/silver system readout instead of out-of-place generic white metrics. */
body.s6-rehaul .s6r-stats{
  width:min(1300px,100%)!important;min-height:117px!important;
  grid-template-columns:minmax(190px,.65fr) repeat(2,minmax(0,1fr))!important;
  border:1px solid rgba(196,209,230,.36)!important;
  border-radius:5px!important;
  clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,0 100%);
  background:linear-gradient(135deg,rgba(24,27,34,.98),rgba(10,12,17,.98) 58%,rgba(21,24,31,.98))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 18px 40px rgba(0,0,0,.4)!important;
}
body.s6-rehaul .s6r-stats::before{
  height:2px!important;
  background:linear-gradient(90deg,rgba(238,241,247,.74),rgba(149,162,184,.28) 66%,transparent)!important;
}
body.s6-rehaul .s6r-stats-label{
  padding:22px 26px!important;gap:7px!important;
  border-right:1px solid rgba(215,225,242,.14)!important;
  background:linear-gradient(110deg,rgba(238,241,250,.04),transparent)!important;
}
body.s6-rehaul .s6r-stats-label::after{
  content:"PLATFORM OVERVIEW";margin-top:7px;color:#7d8797;
  font:800 8px/1.2 Inter,"Segoe UI",sans-serif;letter-spacing:.15em;
}
body.s6-rehaul .s6r-stats-label strong{font-size:13px!important;letter-spacing:.13em!important}
body.s6-rehaul .s6r-stats-label small{font-size:9px!important;color:#a6b0bf!important}
body.s6-rehaul .s6r-stat{
  position:relative;align-items:flex-start!important;text-align:left!important;
  justify-content:flex-end!important;padding:34px 30px 21px!important;gap:7px!important;
  background:linear-gradient(105deg,rgba(243,246,255,.014),transparent);
}
body.s6-rehaul .s6r-stat::before{
  content:"01 / ACCOUNTS";position:absolute;top:17px;left:30px;
  font:800 9px/1 Inter,"Segoe UI",sans-serif;letter-spacing:.14em;color:#808b9b;
}
body.s6-rehaul .s6r-stat:last-child::before{content:"02 / NETWORK"}
body.s6-rehaul .s6r-stat:not(:last-child)::after{
  top:18%!important;bottom:18%!important;
  background:rgba(216,225,239,.15)!important;
}
body.s6-rehaul .s6r-stat strong{
  font-size:clamp(37px,3.65vw,53px)!important;line-height:1!important;
  color:#e8ebf1!important;letter-spacing:-.06em!important;
}
body.s6-rehaul .s6r-stat span{
  color:#9da8b7!important;font-size:9px!important;line-height:1.22!important;
  letter-spacing:.10em!important;text-align:left!important;
}

/* Access cards visually inherit the same graphite, chamfer and chrome edges. */
body.s6-rehaul .s6r-purchase{padding-top:88px!important}
body.s6-rehaul .s6r-purchase .s6r-section-head{margin-bottom:33px!important}
body.s6-rehaul .s6r-plans{gap:clamp(15px,1.6vw,24px)!important}
body.s6-rehaul .s6r-plan{min-height:445px!important;animation-duration:8s}
body.s6-rehaul .s6r-plan-face{
  min-height:445px!important;padding:24px 21px 20px!important;
  clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%);
  border-radius:4px!important;
  border-color:rgba(193,204,222,.42)!important;
  background:linear-gradient(147deg,rgba(26,30,37,.99),rgba(10,12,17,.99) 65%,rgba(17,20,26,.99))!important;
  box-shadow:inset 0 1px rgba(239,245,252,.075),0 18px 38px rgba(0,0,0,.40)!important;
}
body.s6-rehaul .s6r-plan-face::before{
  height:2px!important;
  background:linear-gradient(90deg,rgba(241,244,250,.84),rgba(143,158,180,.32) 65%,transparent)!important;
}
body.s6-rehaul .s6r-plan:is(:hover,:focus-within) .s6r-plan-face{
  background:linear-gradient(147deg,#20252e,#101319 64%,#1b2029)!important;
  border-color:rgba(227,234,247,.66)!important;
}
body.s6-rehaul .s6r-plan-top{color:#b9c3d0!important;letter-spacing:.15em!important}
body.s6-rehaul .s6r-plan-chip{color:#818d9e!important;letter-spacing:.15em!important}
body.s6-rehaul .s6r-plan-body{padding:37px 0 19px!important}
body.s6-rehaul .s6r-plan-sub{color:#949fb0!important}
body.s6-rehaul .s6r-plan-body h3{letter-spacing:-.068em!important}
body.s6-rehaul .s6r-plan-price{padding-top:13px!important;border-color:rgba(211,224,243,.16)!important}
body.s6-rehaul .s6r-plan-price strong{color:#eceff5!important}
body.s6-rehaul .s6-buy-payment-choices{gap:8px!important}
body.s6-rehaul .s6-buy-payment-choices a{
  min-height:53px!important;padding:10px 13px!important;border-radius:4px!important;
  box-shadow:none!important;
}
body.s6-rehaul .s6-buy-auto-link{
  background:linear-gradient(175deg,#e7ebf2,#aeb8c6)!important;
  color:#101318!important;border-color:#d7deea!important;
}
body.s6-rehaul .s6-buy-auto-link:hover{
  background:linear-gradient(175deg,#f7f9fc,#cdd5df)!important;
}
body.s6-rehaul .s6-buy-manual-link{
  background:rgba(224,232,245,.045)!important;
  border-color:rgba(192,205,224,.31)!important;color:#dbe0e9!important;
}

/* Typography-only cursor: refined steel S, never a ring/star; sparkle canvas unchanged. */
body.s6-rehaul.s6-sparkle-enabled #s6-sparkle-cursor{
  width:28px!important;height:28px!important;
  display:grid!important;place-items:center!important;
  filter:none!important;
}
#s6-sparkle-cursor .s6-sparkle-cursor-monogram{
  display:block;color:#cbd1db;
  font:italic 900 23px/.95 "Bodoni MT",Didot,"Palatino Linotype",Georgia,serif;
  letter-spacing:-.10em;-webkit-text-stroke:.25px rgba(74,83,97,.8);
  text-shadow:0 1px 0 #090b10,1px 2px 0 #535c6a,0 0 9px rgba(185,196,213,.31);
  transform:rotate(-10deg);
}
@media(max-width:950px){
  body.s6-rehaul .s6r-stats{
    grid-template-columns:minmax(145px,.57fr) repeat(2,minmax(0,1fr))!important;
  }
  body.s6-rehaul .s6r-stat{padding:34px 19px 19px!important}
  body.s6-rehaul .s6r-stat::before{left:19px}
}
@media(max-width:650px){
  body.s6-rehaul .s6r-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.s6-rehaul .s6r-stats-label{
    grid-column:1/-1!important;flex-direction:row!important;padding:15px 17px!important;
    border-right:0!important;border-bottom:1px solid rgba(216,225,243,.16)!important;
  }
  body.s6-rehaul .s6r-stats-label::after{display:none}
  body.s6-rehaul .s6r-stat{min-height:108px!important;padding:35px 15px 15px!important}
  body.s6-rehaul .s6r-stat::before{top:14px;left:15px;font-size:8px}
  body.s6-rehaul .s6r-stat strong{font-size:clamp(31px,8.3vw,43px)!important}
  body.s6-rehaul .s6r-stat span{font-size:8px!important;letter-spacing:.07em!important}
  body.s6-rehaul .s6r-plan,body.s6-rehaul .s6r-plan-face{min-height:425px!important}
}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
  body.s6-rehaul #s6-sparkle-cursor{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  body.s6-rehaul .s6r-plan{animation:none!important}
}

/* S6 dark chrome v11 / darker full US-flag glyphs, no clipped edge letters. */
body.s6-rehaul .s6-era-name,
body.s6-rehaul .s6-era-year{
 background-color:#0b7540!important;
 background-image:url("/assets/s6-deep-green-flag.svg?v=20261029-dark-v1")!important;
 background-position:center center!important;
 background-size:100% 100%!important;
 background-repeat:no-repeat!important;
 -webkit-background-clip:text!important;
 background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
 -webkit-text-stroke:0 transparent!important;
 text-shadow:none!important;
}
body.s6-rehaul .s6-era-name{
 /* S and R need extra glyph breathing room; avoid negative-track overprinting. */
 padding-inline:.09em!important;
 margin-inline:-.09em!important;
 overflow:visible!important;
 box-decoration-break:clone;
 letter-spacing:-.054em!important;
 text-rendering:geometricPrecision;
 filter:drop-shadow(0 2px 0 #020704) drop-shadow(0 0 8px rgba(8,95,49,.09))!important;
}
body.s6-rehaul .s6-era-year{
 filter:drop-shadow(0 2px 0 #020704)!important;
}
/* Borderless solid-black stats floating above the page, with accurate existing counters. */
body.s6-rehaul .s6r-stats{
 border:0!important;
 clip-path:none!important;
 border-radius:12px!important;
 background:linear-gradient(123deg,#0b0c0d 0%,#060708 58%,#08090a 100%)!important;
 box-shadow:0 20px 46px rgba(0,0,0,.63),0 36px 70px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.02)!important;
}
body.s6-rehaul .s6r-stats::before{
 content:none!important;
}
body.s6-rehaul .s6r-stats-label{
 border-right:0!important;
 background:transparent!important;
}
body.s6-rehaul .s6r-stat{
 background:transparent!important;
}
body.s6-rehaul .s6r-stat:not(:last-child)::after{
 content:none!important;display:none!important;
}
body.s6-rehaul .s6r-stat-dot{
 background:#aab2b9!important;box-shadow:none!important;
}
/* Four true black floating purchase pads: no gray faces, edge frames, or gray foundations. */
body.s6-rehaul .s6r-plan-face{
 clip-path:none!important;
 border:0!important;
 border-radius:12px!important;
 background:linear-gradient(153deg,#111214 0%,#08090a 42%,#030405 100%)!important;
 box-shadow:0 22px 47px rgba(0,0,0,.55),0 38px 71px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.025)!important;
}
body.s6-rehaul .s6r-plan-face::before{
 content:none!important;
}
body.s6-rehaul .s6r-plan::before{
 background:#000!important;
 opacity:.7!important;
 filter:blur(19px)!important;
 left:13px!important;right:13px!important;bottom:-18px!important;height:27px!important;
}
body.s6-rehaul .s6r-plan::after{
 content:none!important;display:none!important;
}
body.s6-rehaul .s6r-plan:is(:hover,:focus-within){
 filter:drop-shadow(0 18px 25px rgba(0,0,0,.67))!important;
}
body.s6-rehaul .s6r-plan:is(:hover,:focus-within) .s6r-plan-face{
 border:0!important;
 background:linear-gradient(153deg,#18191b 0%,#090b0d 53%,#040505 100%)!important;
}
body.s6-rehaul .s6r-plan-top .s6-pdx-add{
 background:#101214!important;border:1px solid rgba(207,216,225,.16)!important;
}
body.s6-rehaul .s6-buy-auto-link{
 color:#e7ebf1!important;
 background:linear-gradient(165deg,#24272d,#111317)!important;
 border:1px solid rgba(190,203,221,.16)!important;
}
body.s6-rehaul .s6-buy-auto-link:hover{
 background:linear-gradient(165deg,#343941,#1a1e22)!important;
}
body.s6-rehaul .s6-buy-manual-link{
 background:#090b0d!important;
 color:#dbe0e9!important;
 border:1px solid rgba(190,203,221,.12)!important;
}
body.s6-rehaul .s6-buy-manual-link:hover{
 background:#15171a!important;border-color:rgba(190,203,221,.21)!important;
}
@media(max-width:650px){
 body.s6-rehaul .s6r-stats-label{
  border-bottom:1px solid rgba(255,255,255,.045)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.s6-rehaul .s6r-plan{animation:none!important}
}

/* S6 / flag-letter edge fix: the block's old max-width:100% shrinks its
   background painting area while SINISTER's glyphs overflow to either side.
   Size the painted box to the entire word so S and R receive the same
   stars/stripes as the central letters instead of solid green fallback. */
body.s6-rehaul .s6r-home h1.s6-era-title > .s6-era-name{
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  min-width:max-content!important;
  flex:0 0 auto!important;
  align-self:center!important;
  box-sizing:content-box!important;
  white-space:nowrap!important;
  background-origin:border-box!important;
  background-size:100% 100%!important;
}
@media(max-width:390px){
  /* Preserve a fully painted word without cutting off either edge on phones. */
  body.s6-rehaul .s6r-home h1.s6-era-title > .s6-era-name{
    font-size:clamp(30px,9.5vw,43px)!important;
  }
}

/* S6 / final edge-glyph paint fix. Keep the original full-word flag in place;
   paint S and R independently so their outer edges are striped, not solid green.
   The live DOM inserts these two native inline spans before first paint. */
body.s6-rehaul .s6r-home .s6-era-name > .s6-era-edge{
  display:inline!important;
  position:relative;
  z-index:1;
  font:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:0 transparent!important;
  background-color:#0b7540!important;
  background-image:repeating-linear-gradient(
    to bottom,
    #0b7540 0%,
    #0b7540 7.692307%,
    #b7cabc 7.692307%,
    #b7cabc 15.384615%
  )!important;
  background-size:100% 100%!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  box-decoration-break:clone;
  filter:none!important;
}

/* 2026-10-30: no extra S6 / GOALS text rail. Present only the two milestone figures. */
body.s6-rehaul .s6r-stats{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:center!important;
  min-height:116px!important;
}
body.s6-rehaul .s6r-stat{
  min-width:0!important;
  min-height:116px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:9px!important;
  padding:21px 14px!important;
}
body.s6-rehaul .s6r-stat::before,
body.s6-rehaul .s6r-stat::after{
  content:none!important;
  display:none!important;
}
body.s6-rehaul .s6r-stat span{
  text-align:center!important;
}
@media(max-width:650px){
  body.s6-rehaul .s6r-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.s6-rehaul .s6r-stat{
    min-height:105px!important;
    padding:18px 9px!important;
  }
}
