.home-page .main-nav [aria-current="page"] { color: var(--link); }
.ecosystem-copy h2 span, .trust-intro h2 span { color: var(--stm-heading-accent); }

.home-hero {
  padding-block: clamp(1.45rem, 2vw, 2.1rem) clamp(.75rem, 1.25vw, 1.2rem);
  text-align: center;
}
.home-hero h1 {
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}
.home-hero .lede { max-width: 52rem; margin: .72rem auto 0; }
.home-hero .actions { justify-content: center; margin-top: 1rem; }
.home-hero .button { min-height: 52px; }
.ecosystem-art {
  width: calc(100% + 12px);
  max-width: none;
  height: auto;
  margin: clamp(.85rem, 1.4vw, 1.15rem) -6px 0;
}
@media (min-width: 981px) {
  .home-hero {
    display: grid;
    grid-template-columns: minmax(0, clamp(21.5rem, 29.5vw, 31rem)) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    text-align: left;
  }
  .home-hero h1 { margin-inline: 0; }
  .home-hero .lede { max-width: 29rem; margin: 1.15rem 0 0; }
  .home-hero .actions { justify-content: flex-start; margin-top: 1.35rem; }
  .home-hero .button { padding-inline: clamp(.85rem, 1.35vw, 1.12rem); }
  .ecosystem-art { width: calc(100% + clamp(.75rem, 1.2vw, 1.35rem)); margin: 0; }
}
@media (min-width: 1076px) {
  .home-hero, .home-benefits { width: min(calc(100% - 88px), 1840px); }
}

.home-ecosystem { padding-block: clamp(2.5rem, 5vw, 5.6rem); }
.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
  gap: clamp(1.8rem, 4.5vw, 5.5rem);
  align-items: center;
}
.ecosystem-copy h2 {
  margin-block: .75rem;
}
.ecosystem-copy > p:not(.eyebrow) { max-width: 29rem; color: var(--copy); }
.ecosystem-copy .text-link { margin-top: .75rem; }
.ecosystem-diagram {
  --connector: var(--stm-blue-border);
  padding: clamp(1rem, 2.2vw, 2rem);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--stm-green-wash), var(--stm-blue-wash) 43%, var(--stm-blue-surface));
  box-shadow: 0 12px 32px #10214a10;
}
.ecosystem-hub {
  position: relative;
  display: grid;
  width: min(100%, 168px);
  min-height: 84px;
  place-items: center;
  margin: 0 auto;
  padding: .65rem 1.02rem;
  border: 1px solid #d1e4f2;
  border-radius: 15px;
  background: white;
  box-shadow: 0 5px 14px #10214a0c;
}
.ecosystem-hub img { width: 128px; height: auto; }
.ecosystem-products {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  padding: 28px 0 0;
  margin: 0;
  list-style: none;
}
.ecosystem-products::before, .ecosystem-products::after, .ecosystem-products li::before, .ecosystem-infrastructure::before {
  position: absolute;
  content: "";
  background: var(--connector);
}
.ecosystem-products::before { inset: 0 auto auto 50%; width: 1px; height: 14px; }
.ecosystem-products::after { inset: 14px 16% auto; height: 1px; }
.ecosystem-products li { position: relative; display: flex; min-width: 0; }
.ecosystem-products li::before { inset: -14px auto auto 50%; width: 1px; height: 14px; }
.ecosystem-node {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 90px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .55rem .4rem;
  border: 1px solid var(--stm-border);
  border-radius: 12px;
  background: white;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.ecosystem-node > span:last-child { color: var(--quiet); font-size: .82rem; line-height: 1.3; }
.ecosystem-node-callx { background: var(--stm-navy-deep); border-color: var(--stm-navy-deep); }
.ecosystem-node-callx > span:last-child { color: var(--stm-border); }
.eco-brand { display: inline-flex; align-items: center; justify-content: center; gap: .38rem; font-weight: 750; }
.eco-brand img { width: 22px; height: auto; flex: 0 0 auto; }
.eco-callx img { width: 76px; }
.ecosystem-infrastructure {
  position: relative;
  padding: .75rem;
  margin-top: 18px;
  border: 1px solid #c9e2ee;
  border-radius: 12px;
  background: var(--stm-blue-surface);
  text-align: center;
}
.ecosystem-infrastructure::before { inset: -19px auto auto 50%; width: 1px; height: 18px; }
.ecosystem-infrastructure p { font-weight: 760; }
.ecosystem-infrastructure > div { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.25rem; }
.ecosystem-infrastructure a { display: inline-flex; align-items: center; min-height: 32px; color: var(--link); font-size: .9rem; font-weight: 650; text-underline-offset: .2em; }

.home-platforms {
  padding-block: clamp(2.7rem, 5vw, 5rem);
  background: linear-gradient(135deg, var(--stm-green-wash), var(--stm-green-wash) 50%, var(--stm-blue-surface));
  border-block: 1px solid var(--stm-border);
}
.home-section-heading { max-width: 52rem; margin: 0 auto clamp(1.45rem, 3vw, 2.6rem); text-align: center; }
.home-section-heading h2 { text-wrap: balance; }
.home-section-heading .eyebrow { justify-content: center; margin-bottom: .58rem; }
.home-section-heading > p:last-child:not(.eyebrow) { margin-top: .7rem; color: var(--copy); }
.platform-grid, .network-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.home-solution, .network-card {
  min-width: 0;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 16px #142d570a;
  transition: box-shadow .2s ease, transform .2s ease;
}
.home-solution { display: flex; flex-direction: column; overflow: hidden; }
.platform-brand {
  min-height: 81px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .4rem;
  padding: 1rem clamp(1.12rem, 2vw, 1.65rem);
  background: #fff;
}
.platform-brand > img { width: 103px; height: auto; }
.platform-brand > span { color: var(--quiet); font-size: .88rem; font-weight: 650; }
.home-callx .platform-brand { background: var(--stm-navy-deep); }
.home-callx .platform-brand > span { color: var(--stm-border); }
.platform-lockup { display: flex; min-height: 39px; gap: .65rem; align-items: center; }
.platform-lockup img { width: 31px; height: auto; }
.platform-lockup strong { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.025em; }
.solution-detail { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .6rem; padding: .65rem clamp(1.12rem, 2vw, 1.65rem) 1.1rem; }
.solution-detail h3, .network-card h3 { text-wrap: balance; }
.solution-detail p, .network-card p:not(.network-name) { color: var(--copy); }
.network-card p:not(.network-name) { margin-top: .65rem; }
.solution-detail .home-workflow { margin-top: auto; }
.home-page .text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; }
.home-overview-points {
  display: grid;
  gap: .43rem;
  margin: .35rem 0 .6rem;
  padding: 0;
  list-style: none;
  color: var(--copy);
}
.home-overview-points li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .42rem; }
.home-overview-points li::before { content: "✓"; color: var(--stm-green-text); font-weight: 800; }
.home-workflow {
  width: 100%;
  margin: .25rem 0 .35rem;
  padding: .68rem .76rem;
  border: 1px solid var(--stm-border);
  border-radius: 10px;
  background: var(--stm-blue-wash);
}
.home-workflow summary { cursor: pointer; font-weight: 710; color: var(--link); }
.home-workflow ol { padding-inline-start: 1.3rem; margin: .65rem 0 .15rem; }
.home-workflow li + li { margin-top: .48rem; }
.home-workflow li::marker { color: var(--link); font-weight: 700; }
.home-solution:target, .network-card:target { box-shadow: 0 0 0 2px var(--stm-blue-border), 0 13px 25px #142d5714; }

.home-services { padding-block: clamp(2.6rem, 5vw, 5rem); }
.network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.network-card { display: flex; flex-direction: column; overflow: hidden; }
.service-art {
  min-height: clamp(9rem, 12vw, 12rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4.5vw, 4rem);
  padding: 1rem;
  border-bottom: 1px solid var(--edge);
}
.service-voice { background: radial-gradient(ellipse at 30% 13%, #fff, transparent 65%), var(--stm-blue-surface); }
.service-fibre { background: radial-gradient(ellipse at 72% 10%, #fff, transparent 65%), var(--stm-green-wash); }
.service-emblem {
  display: grid;
  width: clamp(3.5rem, 7vw, 5.4rem);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #fff5;
  border-radius: 24%;
  background: linear-gradient(145deg, var(--stm-blue), var(--stm-navy));
  color: white;
  box-shadow: 0 7px var(--stm-navy), 0 17px 24px #0f345830, inset 0 1px 1px #fff5;
  transform: rotate(-7deg);
}
.service-fibre .service-emblem { background: linear-gradient(150deg, var(--stm-green-accent), var(--stm-green-text)); box-shadow: 0 7px var(--stm-green-text), 0 17px 24px #2c5d282b, inset 0 1px 1px #fff5; }
.service-emblem svg { width: 54%; height: 54%; }
.voice-wave { display: flex; height: 78px; gap: clamp(7px, 1.05vw, 13px); align-items: center; }
.voice-wave i { width: 8px; height: 35%; border-radius: 10px; background: linear-gradient(var(--stm-green-accent), var(--stm-blue)); box-shadow: 0 3px 8px #136ca22f; }
.voice-wave i:nth-child(2), .voice-wave i:nth-child(4) { height: 62%; }
.voice-wave i:nth-child(3) { height: 100%; }
.fibre-lines { display: grid; gap: .72rem; width: clamp(56px, 9vw, 132px); }
.fibre-lines i { position: relative; height: 3px; margin-right: 9px; border-radius: 3px; background: linear-gradient(90deg, var(--stm-blue-border), var(--stm-blue-accent)); }
.fibre-lines i:nth-child(2) { width: calc(100% - 19px); }
.fibre-lines i:nth-child(3) { width: calc(100% - 32px); }
.fibre-lines i::after { position: absolute; top: -3px; right: -6px; width: 9px; height: 9px; border-radius: 50%; background: var(--stm-green-accent); box-shadow: 0 0 9px #6abb4599; content: ""; }
.service-detail { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.05rem, 2.1vw, 1.9rem); }
.service-detail .text-link { margin-top: auto; padding-top: .55rem; }
.network-name { margin-bottom: .35rem; color: var(--link); font-size: .88rem; font-weight: 750; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-solution:hover, .network-card:hover, .ecosystem-node:hover, .trust-services li:hover { transform: translateY(-3px); box-shadow: 0 16px 28px #142d571a; }
}

.home-app {
  --stm-heading-ink: #fff;
  padding-block: clamp(2.7rem, 5.3vw, 5.25rem);
  border-top: 4px solid var(--stm-green);
  background: radial-gradient(ellipse at 78% 43%, var(--stm-panel-blue), transparent 66%), var(--stm-navy-deep);
  color: var(--stm-blue-surface);
}
.home-app-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5.8vw, 5.5rem);
  align-items: center;
  max-width: 1260px;
}
.home-app-copy .eyebrow { color: var(--stm-green-light); }
.home-app-copy h2 { margin: .72rem 0 .82rem; }
.home-app-copy > p:not(.eyebrow) { max-width: 28rem; }
.home-app-download {
  display: grid;
  grid-template-columns: minmax(92px, 116px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.48rem, 2.2vw, 1.15rem);
  width: min(100%, 23rem);
  min-width: 0;
  margin-top: 1.3rem;
  padding: .65rem;
  border: 1px solid var(--stm-border);
  border-radius: 16px;
  background: #fff;
  color: var(--stm-navy);
  text-decoration: none;
}
.home-app-download:hover .home-app-scan-label { text-decoration: underline; }
.home-app-download-copy { display: grid; gap: .36rem; }
.home-app-brand { display: flex; align-items: center; gap: .48rem; font-weight: 790; }
.home-app-brand img { width: clamp(29px, 5vw, 40px); height: auto; border-radius: 8px; flex: none; }
.home-app-scan-label { color: var(--stm-copy); font-size: var(--stm-small-size); }
.home-app-qr { width: 100%; height: auto; aspect-ratio: 1; }
.home-app-badge { width: min(100%, 118px); height: 35px; object-fit: contain; }
.home-app-actions { align-items: center; margin-top: 1.1rem; }
.home-app-copy .text-link { margin: 0; color: var(--stm-green-light); }
.home-app-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 42px); align-items: start; justify-content: center; }
.home-app-devices figure { width: min(100%, 203px); margin-inline: auto; text-align: center; }
.home-app-phone {
  padding: 6px;
  border: 1px solid var(--stm-blue-border);
  border-radius: 16% / 7.2%;
  background: linear-gradient(145deg, var(--stm-muted), #101722 28%, #172238 80%, var(--stm-blue-border));
  box-shadow: 0 14px 30px #05132d80, inset 0 0 0 1px #fff4;
}
.home-app-phone img { width: 100%; height: auto; border-radius: inherit; }
.home-app-devices figcaption { margin-top: .7rem; color: white; font-size: .9rem; font-weight: 700; }
.home-app :focus-visible { outline-color: var(--stm-green-light); }

.home-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.65rem, 5vw, 5rem);
  max-width: 1340px;
  padding: clamp(1.25rem, 3.2vw, 3rem);
  margin-block: clamp(2.45rem, 4.4vw, 4.25rem);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 0 0, var(--stm-green-wash), transparent 60%), var(--stm-blue-wash);
  box-shadow: 0 10px 28px #10214a0c;
}
.trust-intro h2 { margin: .72rem 0 .82rem; }
.trust-intro p:not(.eyebrow) { max-width: 32rem; color: var(--copy); }
.trust-proof { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.trust-proof li { padding: .48rem .62rem; border-left: 2px solid var(--stm-green); background: #ffffffb3; }
.trust-proof strong, .trust-proof span { display: block; line-height: 1.35; }
.trust-proof span { margin-top: .12rem; color: var(--quiet); font-size: .8rem; }
.trust-proof a { color: var(--link); text-underline-offset: .18em; }
.trust-intro .actions { margin-top: 1.3rem; }
.trust-services { display: grid; gap: .7rem; padding: 0; margin: 0; list-style: none; }
.trust-services li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .88rem;
  padding: .95rem clamp(.75rem, 1.6vw, 1.25rem);
  border: 1px solid var(--edge);
  border-radius: 13px;
  background: white;
  box-shadow: 0 4px 11px #10214a0a;
  transition: box-shadow .2s ease, transform .2s ease;
}
.trust-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; background: var(--stm-blue-surface); color: var(--link); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-services p { margin-top: .3rem; color: var(--copy); font-size: .94rem; line-height: 1.45; }

.home-testimonials {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 5vw, 4.8rem);
  border-block: 1px solid var(--stm-border);
  background: linear-gradient(150deg, var(--stm-blue-wash), var(--stm-blue-surface) 56%, var(--stm-blue-wash));
}
.home-benefits .capability-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}
.home-benefits .capability { height: 100%; }
@media (max-width: 1100px) {
  .home-benefits .capability-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-benefits .home-offer { grid-column: span 2; }
  .home-benefits .home-offer:nth-last-child(-n+2) { grid-column: span 3; }
}


@media (max-width: 1000px) {
}
@media (max-width: 780px) {
  .home-page main > [id] { scroll-margin-top: 8.5rem; }
  .home-solution, .network-card { scroll-margin-top: 8.5rem; }
  .home-section-heading { max-width: min(100% - 54px, 52rem); }
  .platform-grid, .network-grid, .home-trust, .ecosystem-layout, .testimonials-header, .home-app-layout { grid-template-columns: minmax(0, 1fr); }
  .home-app-devices { max-width: 430px; width: 100%; margin-inline: auto; }
  .home-google-link { justify-self: start; }
  .home-hero .lede { font-size: 1rem; }
}
@media (max-width: 530px) {
  .home-hero .button { padding-inline: .86rem; }
  .ecosystem-products { grid-template-columns: minmax(0, 1fr); gap: .46rem; padding-top: 16px; }
  .ecosystem-products::before { height: 16px; }
  .ecosystem-products::after, .ecosystem-products li::before { display: none; }
  .ecosystem-products li + li::before { display: block; top: -.46rem; height: .46rem; }
  .ecosystem-node { min-height: 66px; }
  .home-benefits .capability-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-benefits .home-offer:nth-child(n) { grid-column: auto; }
  .home-benefits .home-offer:last-child { grid-column: 1 / -1; }
}
@media (max-width: 365px) {
  .home-hero .actions { display: grid; grid-template-columns: minmax(0, 17rem); }
  .home-page main > [id] { scroll-margin-top: 10.5rem; }
  .trust-services li { gap: .65rem; }
  .trust-icon { width: 32px; height: 32px; }
}
