/* Surgical polish — 2026-08-07b
   Additive homepage-only refinements. Existing design-system files are intentionally untouched. */

/* Keep each positioning concept intact and allow wrapping only between concepts. */
body.page-home .hero-positioning-line{
  display:flex!important;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap:0!important;
  row-gap:.18em;
  max-width:none!important;
  white-space:normal!important;
}
body.page-home .hero-positioning-line .gg-eyebrow-item{
  display:inline-flex;
  align-items:baseline;
  white-space:nowrap;
}
body.page-home .hero-positioning-line .gg-eyebrow-item:not(:last-child)::after{
  content:"·";
  margin:0 .55em;
}
@media (min-width:981px) and (max-width:1279px){
  body.page-home .hero-positioning-line{
    font-size:.69rem!important;
    letter-spacing:.105em!important;
  }
}
@media (min-width:1280px){
  body.page-home .hero-positioning-line{
    font-size:.73rem!important;
    letter-spacing:.105em!important;
  }
}

/* Signature operating sequence: a compact proprietary visual, not a new content block. */
body.page-home .gg-signature-system{
  margin-top:clamp(28px,3vw,38px);
  padding:clamp(20px,2.4vw,28px);
  border:1px solid var(--gg-line,#dce3e8);
  border-radius:20px;
  background:linear-gradient(135deg,#f8fbfb 0%,#f2f8f7 100%);
  box-shadow:0 14px 34px rgba(9,30,47,.055);
}
body.page-home .gg-signature-steps{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
}
body.page-home .gg-signature-steps > span{
  position:relative;
  min-width:0;
  padding:3px clamp(15px,2.1vw,26px) 3px 0;
}
body.page-home .gg-signature-steps > span:not(:last-child)::after{
  content:"→";
  position:absolute;
  right:clamp(4px,.8vw,10px);
  top:50%;
  transform:translateY(-52%);
  color:var(--gg-accent-dark,#167566);
  font-weight:800;
  opacity:.7;
}
body.page-home .gg-signature-steps b{
  display:block;
  color:var(--gg-text,#0b1d2d);
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(.93rem,1.15vw,1.05rem);
  line-height:1.2;
}
body.page-home .gg-signature-steps small{
  display:block;
  margin-top:5px;
  color:var(--gg-muted,#5c6875);
  font-size:.77rem;
  line-height:1.35;
}
body.page-home .gg-signature-system > p{
  margin:18px 0 0;
  padding-top:15px;
  border-top:1px solid rgba(13,94,83,.14);
  color:var(--gg-accent-dark,#167566);
  font-weight:800;
  letter-spacing:.01em;
}

/* Let the measured result read as evidence first, card second. */
body.page-home .gg-measured-result .case-stat{
  margin:30px 0 26px;
  gap:12px;
}
body.page-home .gg-measured-result .case-stat > div{
  padding:18px 14px 17px;
  background:rgba(19,42,67,.72);
  border:1px solid rgba(255,255,255,.08);
}
body.page-home .gg-measured-result .case-stat strong{
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(2.35rem,3.2vw,3.2rem);
  line-height:.95;
  letter-spacing:-.055em;
  white-space:nowrap;
}
body.page-home .gg-measured-result .case-stat div > span{
  display:block;
  margin-top:9px;
  font-size:.72rem;
  line-height:1.35;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.page-home .gg-measured-result .case-stat .arrow{
  font-size:2rem;
  font-weight:800;
}

@media (max-width:900px){
  body.page-home .gg-signature-steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px;}
  body.page-home .gg-signature-steps > span:nth-child(3)::after{display:none;}
}
@media (max-width:680px){
  body.page-home .hero-positioning-line{display:flex;}
  body.page-home .gg-signature-steps{grid-template-columns:1fr;}
  body.page-home .gg-signature-steps > span{padding:0 0 15px 0;}
  body.page-home .gg-signature-steps > span:not(:last-child){margin-bottom:14px;border-bottom:1px solid rgba(13,94,83,.11);}
  body.page-home .gg-signature-steps > span:not(:last-child)::after{display:block;content:"↓";right:0;top:auto;bottom:10px;transform:none;}
  body.page-home .gg-measured-result .case-stat strong{font-size:clamp(2.4rem,12vw,3.15rem);}
}
