/* Homepage: the go-live section with the closing inside it (tools/v7/families/home_close.py).
   One rail runs through the whole section: across the four go-live days, down the gutter, across the three demo steps,
   and into the corner of the value band, whose savings range is the largest figure of the section.
   The rail is a grid column (.t7-run__spine) so its pieces meet whatever the heights of the rows. Only transform and
   opacity move, on small elements; everything is visible without JavaScript and with reduced motion. */
.t7 #golive.t7-path{--rail:2px;--node:14px;--spine:44px;--sx:10px;padding-bottom:clamp(80px,8vw,140px)}
.t7 #golive.t7-path .t7-run{display:grid;grid-template-columns:var(--spine) minmax(0,1fr);row-gap:0;margin-inline-start:calc(var(--spine) * -1)}
.t7 #golive.t7-path .t7-run>*{grid-column:2}

/* the spine: from the days' rail down to the top corner of the value band, where it turns into the band */
.t7 #golive.t7-path .t7-run__spine{position:relative;grid-column:1;grid-row:1/5;pointer-events:none}
.t7 #golive.t7-path .t7-run__spine::before{content:"";position:absolute;top:calc(var(--rail-y) - 1px);bottom:0;inset-inline-start:var(--sx);width:var(--rail);background:var(--t7-blue)}
.t7 #golive.t7-path .t7-run__spine::after{content:"";position:absolute;bottom:0;inset-inline-start:var(--sx);inset-inline-end:0;height:var(--rail);background:var(--t7-blue)}
.t7 #golive.t7-path{--rail-y:14px}

/* ---------- the days ride the rail ---------- */
.t7 #golive.t7-path .days{position:relative;margin-top:0;padding-top:56px}
.t7 #golive.t7-path .t7-run{margin-top:clamp(22px,2.6vw,40px)}
.t7 #golive.t7-path .days::before{content:"";position:absolute;top:calc(var(--rail-y) - 1px);inset-inline-start:calc(var(--sx) - var(--spine));inset-inline-end:0;height:var(--rail);background:var(--t7-blue)}
.t7 #golive.t7-path .day::after{content:"";position:absolute;top:calc(var(--rail-y) - 56px - var(--node) / 2);inset-inline-start:24px;width:var(--node);height:var(--node);background:var(--t7-blue);box-shadow:0 0 0 4px #fff;transition:none}
.t7 #golive.t7-path .day:last-child::after{--node:20px;background:var(--t7-lime);box-shadow:0 0 0 2px var(--t7-ink),0 0 0 6px #fff}

/* ---------- your next big tender ---------- */
.t7 #golive.t7-path .t7-next{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px clamp(28px,4vw,72px);align-items:end;margin-top:clamp(88px,8.4vw,150px)}
.t7 #golive.t7-path .t7-next .eyebrow{grid-column:1/-1;margin:0}
.t7 #golive.t7-path .t7-next__h{max-width:17ch;margin:0;color:var(--t7-ink);font:600 clamp(30px,3.2vw,54px)/1.06 var(--display);letter-spacing:-.035em;text-align:start;text-wrap:balance}
.t7 #golive.t7-path .t7-mk{display:inline;padding:0;white-space:normal;color:var(--t7-blue);background:linear-gradient(transparent 64%,var(--t7-lime) 64%,var(--t7-lime) 94%,transparent 94%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.t7 #golive.t7-path .t7-mk::after{content:none}
.t7 #golive.t7-path .t7-next .demo2__lead{max-width:50ch;margin:0;color:var(--t7-soft);font-size:clamp(16px,1.2vw,19px);line-height:1.55;text-align:start;text-wrap:pretty}

.t7 #golive.t7-path .demo2__know{margin:clamp(44px,4.4vw,72px) 0 0;color:var(--t7-blue);text-align:start}

/* ---------- the three steps on the same rail ---------- */
.t7 #golive.t7-path .t7-rail{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,56px);max-width:none;
  margin:14px 0 0;padding:56px 0 clamp(64px,6vw,104px);border:0;list-style:none;text-align:start}
.t7 #golive.t7-path .t7-rail::before{content:"";position:absolute;top:calc(var(--rail-y) - 1px);inset-inline-start:calc(var(--sx) - var(--spine));inset-inline-end:0;height:var(--rail);background:var(--t7-blue)}
.t7 #golive.t7-path .t7-rail li{position:relative;display:block;padding:0;border:0}
.t7 #golive.t7-path .t7-rail li+li{border:0}
.t7 #golive.t7-path .t7-rail i{position:absolute;top:calc(var(--rail-y) - 56px - 17px);inset-inline-start:0;display:grid;place-items:center;width:34px;height:34px;
  background:var(--t7-ink);color:#fff;box-shadow:0 0 0 4px #fff;font:700 14px/1 var(--display);font-style:normal;font-variant-numeric:tabular-nums}
.t7 #golive.t7-path .t7-rail li:last-child i{background:var(--t7-lime);color:var(--t7-ink);box-shadow:0 0 0 2px var(--t7-ink),0 0 0 6px #fff}
.t7 #golive.t7-path .t7-rail img{display:block;width:56px;height:56px;margin:4px 0 22px}
.t7 #golive.t7-path .t7-rail b{display:block;max-width:20ch;color:var(--t7-ink);font:600 clamp(20px,1.6vw,26px)/1.2 var(--display);letter-spacing:-.02em;text-wrap:balance}
.t7 #golive.t7-path .t7-rail span{display:block;max-width:40ch;margin-top:10px;color:var(--t7-soft);font-size:15.5px;line-height:1.55;text-wrap:pretty}

/* ---------- the value band: the spine runs into its corner ---------- */
.t7 #golive.t7-path .t7-val{position:relative;grid-row:5;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:clamp(28px,3vw,48px) clamp(32px,5vw,96px);align-items:end;
  max-width:none;margin:0 14px 14px 0;padding:clamp(32px,3.6vw,64px);background:var(--t7-ink);color:#fff;text-align:start;box-shadow:14px 14px 0 var(--t7-blue)}
.t7 #golive.t7-path .t7-val::before{content:"";position:absolute;inset-inline:0;top:0;height:4px;background:var(--t7-lime)}
.t7 #golive.t7-path .t7-val>*{min-width:0}
.t7 #golive.t7-path .demo2__in label{display:block;max-width:30ch;color:#D9DCFF;font:500 clamp(15px,1.1vw,17px)/1.45 var(--body)}
.t7 #golive.t7-path .demo2__in output{display:block;margin-top:18px;color:#fff;font:600 clamp(34px,3vw,48px)/1 var(--display);letter-spacing:-.03em;font-variant-numeric:tabular-nums}

/* the slider: a sharp lime thumb on a track that fills with lime up to it */
.t7 #golive.t7-path .demo__range{height:44px;margin:14px 0 0}
.t7 #golive.t7-path .demo__range::-webkit-slider-runnable-track{height:4px;background:linear-gradient(90deg,var(--t7-lime) calc(var(--t) * 100%),rgba(255,255,255,.2) calc(var(--t) * 100%))}
.t7 #golive.t7-path .demo__range::-moz-range-track{height:4px;background:rgba(255,255,255,.2)}
.t7 #golive.t7-path .demo__range::-moz-range-progress{height:4px;background:var(--t7-lime)}
.t7 #golive.t7-path .demo__range::-webkit-slider-thumb{width:26px;height:26px;margin-top:-11px;background:var(--t7-lime);border:4px solid var(--t7-ink);border-radius:0;box-shadow:0 0 0 2px var(--t7-lime);transition:transform .2s cubic-bezier(.25,1,.5,1)}
.t7 #golive.t7-path .demo__range::-moz-range-thumb{width:18px;height:18px;background:var(--t7-lime);border:4px solid var(--t7-ink);border-radius:0;box-shadow:0 0 0 2px var(--t7-lime)}
.t7 #golive.t7-path .demo__range:focus-visible{outline:3px solid var(--t7-lime);outline-offset:6px}
.t7 #golive.t7-path .demo__scale{margin-top:6px;color:#B6BCF7;font:600 12.5px/1 var(--body);font-variant-numeric:tabular-nums}

/* the figure: the hero of the section */
.t7 #golive.t7-path .demo2__out{display:flex;flex-direction:column;gap:14px;padding-inline-start:clamp(28px,3vw,56px);border-inline-start:1px solid rgba(255,255,255,.16)}
.t7 #golive.t7-path .demo2__out span{color:#D9DCFF;font:600 clamp(16px,1.25vw,20px)/1.3 var(--display)}
.t7 #golive.t7-path .demo2__out b{display:block;color:var(--t7-lime);font:600 clamp(52px,6vw,92px)/.95 var(--display);letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}
.t7 #golive.t7-path .demo2__out b i{color:#fff;font-size:.36em;font-style:normal;font-weight:500;letter-spacing:0;vertical-align:.5em}
.t7 #golive.t7-path .demo2__note{grid-column:1/-1;max-width:78ch;margin:0;color:#B6BCF7;font-size:14px;line-height:1.55}

/* the two ways forward and the proof, under a hairline */
.t7 #golive.t7-path .t7-val__go{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 40px;padding-top:clamp(26px,2.6vw,40px);border-top:1px solid rgba(255,255,255,.16)}
.t7 #golive.t7-path .t7-val__acts{display:flex;flex-wrap:wrap;align-items:center;gap:18px 26px}
.t7 #golive.t7-path .t7-val .t7-ghost{background:transparent;border-color:rgba(255,255,255,.7);color:#fff}
.t7 #golive.t7-path .t7-val .t7-ghost:hover{border-color:var(--t7-lime);color:var(--t7-lime)}
.t7 #golive.t7-path .t7-val :is(a,button):focus-visible{outline:3px solid var(--t7-lime);outline-offset:4px}
.t7 #golive.t7-path .t7-val__proof p{margin:0;color:#D9DCFF;font-size:15px;line-height:1.5}
.t7 #golive.t7-path .t7-val__proof b{color:#fff;font-weight:700}

/* ---------- motion: the step rail draws, its stops land in order, the figure settles ---------- */
@media (prefers-reduced-motion:no-preference){
  html.js .t7 #golive.t7-path .t7-rail::before{transform:scaleX(0);transform-origin:0 50%;transition:transform 1.1s cubic-bezier(.25,1,.5,1) .1s}
  html.js .t7 #golive.t7-path .t7-rail :is(i,img){opacity:0;transform:translateY(10px);transition:opacity .5s cubic-bezier(.25,1,.5,1),transform .6s cubic-bezier(.25,1,.5,1)}
  html.js .t7 #golive.t7-path .t7-rail li:nth-child(2) :is(i,img){transition-delay:.28s}
  html.js .t7 #golive.t7-path .t7-rail li:nth-child(3) :is(i,img){transition-delay:.56s}
  html.js .t7 #golive.t7-path .t7-rail.in::before{transform:none}
  html.js .t7 #golive.t7-path .t7-rail.in :is(i,img){opacity:1;transform:none}
  html.js .t7 #golive.t7-path .t7-val .demo2__out b{opacity:0;transform:translateY(14px);transition:opacity .6s cubic-bezier(.25,1,.5,1) .25s,transform .8s cubic-bezier(.25,1,.5,1) .25s}
  html.js .t7 #golive.t7-path .t7-val.in .demo2__out b{opacity:1;transform:none}
  .t7 #golive.t7-path .demo__range:is(:hover,:focus-visible)::-webkit-slider-thumb{transform:scale(1.12)}
}

/* ---------- laptops and tablets ---------- */
@media (max-width:1240px){
  .t7 #golive.t7-path .t7-val{grid-template-columns:minmax(0,1fr)}
  .t7 #golive.t7-path .demo2__out{padding:28px 0 0;border:0;border-top:1px solid rgba(255,255,255,.16)}
}
@media (max-width:1184px){
  /* the days stack on the spine, one row each */
  .t7 #golive.t7-path .t7-run__spine::before{top:36px}
  .t7 #golive.t7-path .days{grid-template-columns:minmax(0,1fr);row-gap:28px;padding-top:0}
  .t7 #golive.t7-path .days::before{content:none}
  .t7 #golive.t7-path .day::after{top:36px;inset-inline-start:calc(var(--sx) + 1px - var(--spine) - var(--node) / 2)}
  .t7 #golive.t7-path .day:last-child::after{top:33px;inset-inline-start:calc(var(--sx) + 1px - var(--spine) - 10px)}
}
@media (min-width:641px) and (max-width:1184px){
  .t7 #golive.t7-path .day{display:grid;grid-template-columns:clamp(110px,13vw,150px) minmax(0,1fr);column-gap:clamp(24px,3vw,40px);align-items:start;padding:28px 30px}
  .t7 #golive.t7-path .day>*{grid-column:2;max-width:62ch}
  .t7 #golive.t7-path .day__art{grid-column:1;grid-row:1/span 4;width:100%;height:auto;margin:0}
  .t7 #golive.t7-path .day h3{margin:8px 0 6px}
  .t7 #golive.t7-path .day p{margin:0 0 18px}
  .t7 #golive.t7-path .day__tag{justify-self:start}
}
@media (max-width:1000px){
  /* one vertical rail: through the stacked days, the head, the steps, into the band */
  .t7 #golive.t7-path{--spine:32px;--sx:9px}
  .t7 #golive.t7-path .t7-run{margin-inline-start:0}
  .t7 #golive.t7-path .t7-next{grid-template-columns:minmax(0,1fr);margin-top:72px}
  .t7 #golive.t7-path .t7-rail{grid-template-columns:minmax(0,1fr);gap:40px;padding-top:24px}
  .t7 #golive.t7-path .t7-rail::before{content:none}
  .t7 #golive.t7-path .t7-rail i{top:0;inset-inline-start:calc(var(--sx) + 1px - var(--spine) - 17px)}
  .t7 #golive.t7-path .t7-rail img{margin-top:0}
  .t7 #golive.t7-path .t7-rail :is(b,span){max-width:none}
}
@media (max-width:600px){
  .t7 #golive.t7-path .t7-val{margin:0 8px 8px 0;padding:30px 22px 32px;box-shadow:8px 8px 0 var(--t7-blue);gap:24px}
  .t7 #golive.t7-path .demo2__out b{font-size:clamp(40px,12.4vw,56px);white-space:normal}
  .t7 #golive.t7-path .t7-val__go,.t7 #golive.t7-path .t7-val__acts{align-items:stretch;flex-direction:column}
  .t7 #golive.t7-path .t7-val__acts :is(.btn,.t7-ghost){justify-content:center}
  .t7 #golive.t7-path .t7-rail i{width:30px;height:30px;inset-inline-start:calc(var(--sx) + 1px - var(--spine) - 15px)}
}

/* ---------- Arabic ---------- */
[dir=rtl] .t7 #golive.t7-path .t7-next__h{max-width:20ch;font-size:clamp(28px,2.9vw,48px);line-height:1.45}
[dir=rtl] .t7 #golive.t7-path .t7-mk{background:none;text-decoration:underline;text-decoration-color:var(--t7-lime);text-decoration-thickness:.16em;text-underline-offset:.16em;text-decoration-skip-ink:none}
[dir=rtl] .t7 #golive.t7-path :is(.t7-next .demo2__lead,.t7-rail span,.demo2__note){line-height:1.85}
[dir=rtl] .t7 #golive.t7-path .t7-rail b{line-height:1.5}
[dir=rtl] .t7 #golive.t7-path .t7-rail::before{transform-origin:100% 50%}
[dir=rtl] .t7 #golive.t7-path .demo2__in label{line-height:1.7}
[dir=rtl] .t7 #golive.t7-path .demo2__in output{direction:ltr;text-align:right}
[dir=rtl] .t7 #golive.t7-path .demo2__out span{line-height:1.6}
[dir=rtl] .t7 #golive.t7-path .demo2__out b{font-size:clamp(42px,5vw,78px);line-height:1.15}
[dir=rtl] .t7 #golive.t7-path .demo2__out b i{font-size:.4em;vertical-align:.35em}
[dir=rtl] .t7 #golive.t7-path .t7-val{margin:0 0 14px 14px;box-shadow:-14px 14px 0 var(--t7-blue)}
[dir=rtl] .t7 #golive.t7-path .t7-val__proof p{line-height:1.8}
@media (max-width:600px){
  [dir=rtl] .t7 #golive.t7-path .t7-val{margin:0 0 8px 8px;box-shadow:-8px 8px 0 var(--t7-blue)}
  [dir=rtl] .t7 #golive.t7-path .demo2__out b{font-size:clamp(34px,10.4vw,48px)}
}
