/* Homepage hero carousel — scoped to .hero-carousel. Preview only; not published. */
.hero-carousel{position:relative}
.hero-carousel .hero-slides{
  position:absolute;inset:0;z-index:0;pointer-events:none;
}
.hero-carousel .hero-slide{
  position:absolute;inset:0;opacity:0;visibility:hidden;
  transition:opacity .7s ease,visibility .7s ease;
}
.hero-carousel .hero-slide.is-active{opacity:1;visibility:visible}
.hero-carousel .hero-bg{
  background-image:none;
  background-color:var(--bg,#060b18);
  opacity:.95;
}
.hero-carousel .hero-bg picture,
.hero-carousel .hero-bg img{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;object-fit:cover;object-position:right center;
}
.hero-carousel .hero-slide>.wrap,
.hero-carousel>.wrap{position:relative;z-index:2}
.hero-carousel .mfig{z-index:1}

/* Stack slide copy so the tallest slide sets the height and nothing shifts. */
.hero-copy-slides{display:grid}
.hero-copy{
  grid-area:1/1;
  opacity:0;visibility:hidden;
  transition:opacity .7s ease,visibility .7s ease;
  pointer-events:none;
}
.hero-copy.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}

.hero-carousel-controls{
  display:none;
  align-items:center;
  gap:12px;
  margin:16px 0 0;
}
.hero-carousel.is-ready .hero-carousel-controls{display:flex}
.hero-carousel.is-ready .hstats{margin-top:22px}

.hero-carousel .hero-slide[data-slide-id="local"] .hero-bg img{
  object-position:right center;
  transform:translateX(18%);
  transform-origin:center center;
}
.hero-carousel .hero-slide[data-slide-id="local"] .hero-bg:after{
  background:
    linear-gradient(90deg,var(--bg,#060b18) 46%,rgba(6,11,24,.92) 56%,rgba(6,11,24,.4) 64%,rgba(6,11,24,.08) 74%),
    linear-gradient(0deg,var(--bg,#060b18),transparent 30%);
}
.hero-carousel .hero-slide[data-slide-id="pricing"] .hero-bg img{
  object-position:right center;
  transform:scale(1.08);
  transform-origin:right center;
}
.hero-carousel .hero-slide[data-slide-id="security"] .hero-bg img{
  object-position:right center;
  /* Shift the whole frame right so the shield clears the H1. Scaling from the right edge would expand art leftward. */
  transform:translateX(18%);
  transform-origin:center center;
}
.hero-carousel .hero-slide[data-slide-id="pricing"] .hero-bg:after{
  background:
    linear-gradient(90deg,var(--bg,#060b18) 28%,rgba(6,11,24,.7) 46%,rgba(6,11,24,.28) 58%,rgba(6,11,24,.05) 70%),
    linear-gradient(0deg,var(--bg,#060b18),transparent 30%);
}
.hero-carousel .hero-slide[data-slide-id="security"] .hero-bg:after{
  background:
    linear-gradient(90deg,var(--bg,#060b18) 46%,rgba(6,11,24,.92) 56%,rgba(6,11,24,.45) 64%,rgba(6,11,24,.08) 74%),
    linear-gradient(0deg,var(--bg,#060b18),transparent 30%);
}
.hero-carousel-btn{
  width:40px;height:40px;flex:none;
  display:grid;place-items:center;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--glass);
  color:var(--ink);
  backdrop-filter:blur(10px);
  cursor:pointer;
  transition:border-color .25s,transform .25s,background .25s;
}
.hero-carousel-btn:hover{border-color:var(--teal2)}
.hero-carousel-btn:focus-visible{
  outline:2px solid var(--teal2);
  outline-offset:3px;
}
.hero-carousel-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero-carousel-dots{display:flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:min(100%,420px)}
.hero-carousel-dots:has(.hero-carousel-dot:nth-child(n+6)){gap:6px}
.hero-carousel-dots:has(.hero-carousel-dot:nth-child(n+6)) .hero-carousel-dot{width:8px;height:8px}
.hero-carousel-dot{
  width:10px;height:10px;padding:0;border:0;border-radius:50%;
  background:rgba(159,176,204,.45);
  cursor:pointer;
  transition:transform .25s,background .25s,box-shadow .25s;
}
.hero-carousel-dot:hover{background:rgba(56,189,248,.7)}
.hero-carousel-dot[aria-current="true"]{
  background:var(--teal2);
  box-shadow:0 0 0 4px rgba(56,189,248,.18);
  transform:scale(1.15);
}
.hero-carousel-dot:focus-visible{
  outline:2px solid var(--teal2);
  outline-offset:3px;
}
.hero-carousel-status{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

@media(max-width:620px){
  .hero-carousel .hero-bg{opacity:.55}
  .hero-carousel .hero-bg picture,
  .hero-carousel .hero-bg img{object-position:70% 80%}
  .hero-carousel-controls{margin-top:18px}
  .hero-carousel.is-ready .hstats{margin-top:22px}
  .hero-carousel .hero-slide[data-slide-id="local"] .hero-bg img,
  .hero-carousel .hero-slide[data-slide-id="pricing"] .hero-bg img,
  .hero-carousel .hero-slide[data-slide-id="security"] .hero-bg img,
  .hero-carousel .hero-slide[data-slide-id="monitoring"] .hero-bg img,
  .hero-carousel .hero-slide[data-slide-id="stack"] .hero-bg img,
  .hero-carousel .hero-slide[data-slide-id="simple"] .hero-bg img,
  .hero-carousel .hero-slide[data-slide-id="promise"] .hero-bg img{object-position:70% 80%;transform:none}
}

@media(prefers-reduced-motion:reduce){
  .hero-carousel .hero-slide,
  .hero-copy{transition:none}
}

/* Slide-2 claim chips. Wording matches the live pricing section: "No annual contract. First month free." */
.hero-claim-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.hero-claim-chip{
  display:inline-flex;align-items:center;
  padding:6px 12px;border-radius:999px;
  border:1px solid rgba(56,189,248,.28);
  background:rgba(56,189,248,.08);
  color:#c7d4ea;font:600 12px/1.2 Inter,system-ui,sans-serif;
}
/* Keep each intended H1 line on one line at the 72px cap; column can grow slightly so type does not clip. */
.hero-carousel .hc{max-width:860px}
.hero-carousel .hero-copy h1{max-width:100%}
.hero-carousel .hero-copy h1 [data-hero-field="headline"],
.hero-carousel .hero-copy h1 [data-hero-field="headline-accent"]{white-space:nowrap}
@media(max-width:700px){
  .hero-carousel .hero-copy h1 [data-hero-field="headline"],
  .hero-carousel .hero-copy h1 [data-hero-field="headline-accent"]{white-space:normal}
}

/* <button class="btn btn-g"> does not inherit body color the way <a> does.
   Match the live ghost button: light text, visible border, glass fill. */
.hero-carousel .cta button.btn{
  appearance:none;
  -webkit-appearance:none;
  font:600 15px/1 Inter,system-ui,sans-serif;
  color:var(--ink,#eef3fb);
}
.hero-carousel .cta button.btn-g,
.hero-carousel .cta a.btn-g{
  color:var(--ink,#eef3fb);
  border:1px solid var(--line,rgba(255,255,255,.09));
  background:var(--glass,rgba(255,255,255,.045));
  backdrop-filter:blur(10px);
}
.hero-carousel .cta button.btn-g:hover,
.hero-carousel .cta a.btn-g:hover{
  border-color:var(--teal2,#38BDF8);
}

.hero-carousel .hero-slide[data-slide-id="monitoring"] .hero-bg img,
.hero-carousel .hero-slide[data-slide-id="stack"] .hero-bg img,
.hero-carousel .hero-slide[data-slide-id="simple"] .hero-bg img,
.hero-carousel .hero-slide[data-slide-id="promise"] .hero-bg img{
  object-position:right center;
  transform:translateX(16%);
  transform-origin:center center;
}
.hero-carousel .hero-slide[data-slide-id="monitoring"] .hero-bg:after,
.hero-carousel .hero-slide[data-slide-id="stack"] .hero-bg:after,
.hero-carousel .hero-slide[data-slide-id="simple"] .hero-bg:after,
.hero-carousel .hero-slide[data-slide-id="promise"] .hero-bg:after{
  background:
    linear-gradient(90deg,var(--bg,#060b18) 44%,rgba(6,11,24,.9) 54%,rgba(6,11,24,.4) 64%,rgba(6,11,24,.08) 74%),
    linear-gradient(0deg,var(--bg,#060b18),transparent 30%);
}

/* Slide 7 only: keep calendar tiles clear of the long H1 "You can walk anytime." */
.hero-carousel .hero-slide[data-slide-id="promise"] .hero-bg img{
  object-position:right center;
  transform:translateX(27%);
  transform-origin:center center;
}
.hero-carousel .hero-slide[data-slide-id="promise"] .hero-bg:after{
  background:
    linear-gradient(90deg,var(--bg,#060b18) 54%,rgba(6,11,24,.97) 62%,rgba(6,11,24,.7) 70%,rgba(6,11,24,.25) 80%,rgba(6,11,24,.05) 88%),
    linear-gradient(0deg,var(--bg,#060b18),transparent 30%);
}

/* Slide 7 only: "No Long-Term Commitments" does not fit the 860px column at the 72px cap. */
.hero-carousel .hero-copy[data-slide-id="promise"] h1{
  font-size: clamp(38px, 5.6vw, 58px);
}
