/* =========================================================
   Noventra — How Noventra works (hoe-werkt-noventra.html, en/how-noventra-works.html).
   Shared light-page blocks are in light.css; the network in the hero is drawn by how-network.js.
   ========================================================= */

/* ---- hero: the heading, and below it the order engine:
   order channels on the left, Noventra AI in the middle (three.js, how-engine.js),
   the data points of a complete Noventra order on the right ---- */
.how-hero .page-hero-grid{align-items:end}

.how-engine{position:relative; margin:clamp(2.6rem,6vw,4.4rem) 0 0; display:grid; gap:1.2rem;
            padding:clamp(1.2rem,2.6vw,2.2rem); border-radius:clamp(20px,2.4vw,30px);
            background:
              radial-gradient(ellipse 40% 60% at 50% 50%, rgba(255,138,76,.13), transparent 70%),
              radial-gradient(rgba(13,14,17,.07) 1px, transparent 1.2px) 0 0 / 22px 22px,
              rgba(255,255,255,.55);
            border:1px solid var(--line); box-shadow:0 50px 90px -70px rgba(13,14,17,.55)}
@media(min-width:900px){
  .how-engine{grid-template-columns:minmax(220px,270px) minmax(0,1fr) minmax(250px,300px); align-items:center; gap:0}
}
.how-engine-canvas{position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none; z-index:0;
                   border-radius:inherit}
.how-engine-col{position:relative; z-index:1}
.how-engine-title{margin:0 0 .9rem; font-size:.95rem; font-weight:700; color:var(--ink); line-height:1.3}
.how-engine-title > span{display:block; margin-top:.2rem; font-size:.78rem; font-weight:600; color:var(--muted)}

/* the ways an order comes in */
.how-channels{list-style:none; margin:0; padding:0; display:grid; gap:.6rem}
.how-channels li{display:flex; align-items:center; gap:.8rem; padding:.6rem .9rem .6rem .6rem; border-radius:14px;
                 background:var(--surface); border:1px solid var(--line); font-size:.92rem; font-weight:700; color:var(--ink);
                 box-shadow:0 12px 26px -22px rgba(13,14,17,.6); transition:border-color .35s, box-shadow .35s, transform .35s}
.how-channels li.active{border-color:rgba(243,56,1,.7); box-shadow:0 16px 30px -20px rgba(243,56,1,.7); transform:translateX(4px)}
.ch-icon{display:grid; place-items:center; flex:none; width:38px; height:38px; border-radius:10px; background:var(--paper)}
.ch-icon svg{width:21px; height:21px; fill:none; stroke:var(--ink); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.how-channels li.active .ch-icon svg{stroke:var(--red)}

/* the middle: room for the AI drawn by three.js, with its name below */
.how-engine-core{position:relative; z-index:1; min-height:340px; display:flex; align-items:flex-end; justify-content:center;
                 pointer-events:none}
.how-engine-core p{margin:0; text-align:center}
/* without WebGL: a still orb in place of the AI */
.how-engine:not(.live) .how-engine-core::before{content:""; position:absolute; left:50%; top:calc(50% - 18px); width:110px; height:110px;
     margin:-55px 0 0 -55px; border-radius:50%; border:1.5px solid rgba(243,56,1,.45);
     background:radial-gradient(circle, #f33801 0 18%, rgba(243,56,1,.18) 19% 45%, transparent 46%);
     box-shadow:0 0 0 18px rgba(243,56,1,.06), 0 0 80px rgba(255,138,76,.45)}
.how-engine-core strong{display:block; font-size:.78rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--red)}
.how-engine-core span{display:block; margin-top:.15rem; font-size:.8rem; color:var(--muted)}

/* the complete order */
.how-order{padding:1.1rem 1.1rem .5rem; border-radius:18px; background:var(--surface); border:1px solid var(--line);
           box-shadow:0 30px 50px -36px rgba(13,14,17,.6)}
.how-order .how-engine-title{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.4rem .8rem;
                             padding-bottom:.8rem; margin-bottom:0; border-bottom:2px solid var(--ink)}
.how-order-status{display:inline-flex !important; align-items:center; gap:.4rem; margin:0 !important; color:#1d8a4a !important}
.how-order-status i{width:8px; height:8px; border-radius:50%; background:currentColor}
.how-order-status b{font-weight:700}
.how-engine.busy .how-order-status{color:var(--red) !important}
.how-engine.busy .how-order-status i{animation:how-blink 1s infinite}
@keyframes how-blink{50%{opacity:.2}}
.how-fields{list-style:none; margin:0; padding:0}
.how-fields li{position:relative; display:grid; grid-template-columns:1fr auto; gap:.1rem .6rem; padding:.55rem 0;
               border-bottom:1px solid var(--line); transition:background .5s}
.how-fields li:last-child{border-bottom:0}
.dp-label{grid-column:1; font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.dp-value{grid-column:1; min-height:1.35em; font-size:.92rem; font-weight:700; color:var(--ink); transition:opacity .4s}
.dp-check{grid-column:2; grid-row:1 / span 2; align-self:center; width:22px; height:22px; padding:4px; border-radius:50%;
          background:rgba(29,138,74,.12); fill:none; stroke:#1d8a4a; stroke-width:3; stroke-linecap:round; stroke-linejoin:round;
          transition:opacity .4s, transform .4s}
.how-fields li.empty .dp-value{opacity:0}
.how-fields li.empty .dp-check{opacity:0; transform:scale(.4)}
/* a placeholder bar while a field is still empty */
.how-fields li.empty::after{content:""; position:absolute; left:0; bottom:.75rem; width:55%; height:.55rem; border-radius:4px;
                            background:linear-gradient(90deg, rgba(13,14,17,.06), rgba(13,14,17,.11), rgba(13,14,17,.06))}
.how-fields li.fresh{animation:how-fresh 1.1s ease}
@keyframes how-fresh{0%{background:rgba(243,56,1,.12)} 100%{background:transparent}}
/* a field the AI filled in itself is marked as such */
.how-fields li[data-ai] .dp-label::after{content:attr(data-ai); margin-left:.45rem; padding:.05rem .4rem; border-radius:999px;
                                         background:rgba(243,56,1,.12); color:var(--red); letter-spacing:.04em}

@media(max-width:899px){
  .how-engine-core{min-height:220px}
  .how-channels{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){ .how-channels{grid-template-columns:1fr} }

.how-actions{display:flex; flex-wrap:wrap; align-items:center; gap:.8rem 1.6rem; margin-top:2rem}
.how-actions .btn-large{margin-top:0; color:#fff}
.light-main .how-play{display:inline-flex; align-items:center; gap:.7rem; color:var(--ink); font-weight:700;
                      font-size:.95rem; text-decoration:none}
.how-play i{display:grid; place-items:center; width:42px; height:42px; border-radius:50%;
            background:var(--surface); border:1px solid var(--line); box-shadow:0 14px 30px -18px rgba(13,14,17,.6);
            transition:transform .2s}
.how-play svg{width:14px; height:14px; margin-left:2px; fill:var(--red)}
.light-main .how-play:hover{color:var(--red)}
.how-play:hover i{transform:scale(1.08)}

/* ---- the video ---- */
.how-video{margin:0; scroll-margin-top:calc(var(--nav-h) + 1rem)}
.how-video-frame{position:relative; aspect-ratio:16 / 9; border-radius:clamp(16px,2vw,26px); overflow:hidden;
                 background:#f7f5f2; border:1px solid var(--line); box-shadow:0 50px 90px -60px rgba(13,14,17,.8)}
.how-video-frame video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#f7f5f2}
.how-video figcaption{margin-top:1rem; font-size:.88rem; color:var(--muted)}

/* ---- smart completion: an incoming order with a gap, previous orders on the route
   (three.js, how-fill.js) and the completed Noventra order ---- */
.how-fill{position:relative; margin:0; display:grid; gap:1.2rem; padding:clamp(1.2rem,2.6vw,2.2rem);
          border-radius:clamp(20px,2.4vw,30px); border:1px solid var(--line);
          background:
            radial-gradient(ellipse 40% 60% at 50% 50%, rgba(255,138,76,.12), transparent 70%),
            radial-gradient(rgba(13,14,17,.07) 1px, transparent 1.2px) 0 0 / 22px 22px,
            rgba(255,255,255,.55);
          box-shadow:0 50px 90px -70px rgba(13,14,17,.55)}
@media(min-width:900px){
  .how-fill{grid-template-columns:minmax(230px,280px) minmax(0,1fr) minmax(250px,300px); align-items:center; gap:1.4rem}
}
.how-fill-card{position:relative; z-index:1; padding:1.1rem 1.1rem .4rem; border-radius:18px; background:var(--surface);
               border:1px solid var(--line); box-shadow:0 30px 50px -36px rgba(13,14,17,.6)}
.how-fill-title{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.4rem .8rem; margin:0;
                padding-bottom:.8rem; border-bottom:2px solid var(--ink); font-size:.95rem; font-weight:700; color:var(--ink)}
.how-fill-badge{padding:.12rem .5rem; border-radius:6px; background:var(--red); color:#fff; font-size:.68rem; font-weight:800; letter-spacing:.06em}
.how-fill-status{display:inline-flex; align-items:center; gap:.4rem; font-size:.78rem; color:#1d8a4a}
.how-fill-status i{width:8px; height:8px; border-radius:50%; background:currentColor}
.how-fill.busy .how-fill-status{color:var(--red)}
.how-fill.busy .how-fill-status i{animation:how-blink 1s infinite}
.how-fill-rows{list-style:none; margin:0; padding:0}
.how-fill-rows li{position:relative; display:grid; gap:.1rem; padding:.55rem .5rem; margin:0 -.5rem; border-radius:10px;
                  border-bottom:1px solid var(--line); transition:background .5s, box-shadow .5s}
.how-fill-rows li:last-child{border-bottom:0}
.how-fill-rows span{display:flex; align-items:center; gap:.45rem; font-size:.7rem; font-weight:700; letter-spacing:.08em;
                    text-transform:uppercase; color:var(--muted)}
.how-fill-rows b{font-size:.92rem; color:var(--ink)}
/* the gap in the incoming order */
.how-fill-rows li.missing{background:rgba(243,56,1,.06); box-shadow:inset 0 0 0 1.5px rgba(243,56,1,.45); border-bottom-color:transparent}
.how-fill-rows li.missing em{position:absolute; right:.5rem; top:50%; transform:translateY(-50%); padding:.12rem .5rem;
                             border-radius:999px; background:var(--surface); border:1px dashed var(--red);
                             font-style:normal; font-size:.7rem; font-weight:700; color:var(--red)}
.how-fill.busy .how-fill-rows li.missing{animation:how-glow 1.4s ease-in-out infinite}
@keyframes how-glow{50%{box-shadow:inset 0 0 0 1.5px rgba(243,56,1,.9), 0 0 0 4px rgba(243,56,1,.1)}}
/* the value the AI filled in */
.how-fill-rows li.filled{background:rgba(243,56,1,.07); box-shadow:inset 0 0 0 1.5px rgba(243,56,1,.55); border-bottom-color:transparent}
.how-fill-rows li.filled i{padding:.05rem .4rem; border-radius:999px; background:var(--red); color:#fff; font-style:normal;
                           letter-spacing:.04em; font-size:.62rem}
.how-fill-rows li.filled small{font-size:.76rem; line-height:1.4; color:var(--text)}
.how-fill-rows li.filled b, .how-fill-rows li.filled small, .how-fill-rows li.filled i{transition:opacity .45s}
.how-fill-rows li.pending{background:transparent; box-shadow:none; border-bottom-color:var(--line)}
.how-fill-rows li.pending b, .how-fill-rows li.pending small, .how-fill-rows li.pending i{opacity:0}
.how-fill-rows li.pending::after{content:""; position:absolute; left:.5rem; bottom:.8rem; width:50%; height:.55rem; border-radius:4px;
                                 background:linear-gradient(90deg, rgba(13,14,17,.06), rgba(13,14,17,.11), rgba(13,14,17,.06))}
.how-fill-rows li.fresh{animation:how-fresh 1.1s ease}

/* the middle: previous orders on the route */
.how-fill-stage{position:relative; min-height:440px; display:flex; flex-direction:column; align-items:center; justify-content:space-between}
.how-fill-caption{position:relative; z-index:1; margin:0; font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}
.how-fill-canvas{position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none}
.how-fill-count{position:relative; z-index:1; display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem; margin:0}
.how-fill-count span{display:inline-flex; align-items:center; gap:.45rem; padding:.35rem .8rem; border-radius:999px;
                     background:var(--surface); border:1px solid var(--line); font-size:.82rem; font-weight:600; color:var(--text)}
.how-fill-count i{width:10px; height:10px; border-radius:3px; background:var(--red)}
.how-fill-count .pal-block i{background:#3a3c43}
.how-fill-count .pal-avg i{background:#c9a27a}
.how-fill-count b{min-width:1.3em; text-align:right; color:var(--ink); font-variant-numeric:tabular-nums}
/* without WebGL: the twenty previous orders as a plain grid */
.how-fill-history{list-style:none; margin:auto 0; padding:0; display:grid; grid-template-columns:repeat(5, 34px); gap:10px}
.how-fill-history li{height:24px; border-radius:5px; background:rgba(243,56,1,.8)}
.how-fill-history li.pal-block{background:#3a3c43}
.how-fill.live .how-fill-history{visibility:hidden}
@media(max-width:899px){ .how-fill-stage{min-height:360px} }

/* ---- checks and carrier choice: the checked order on the left, the carriers' offers on the right
   as cards with a 3D truck in the carrier's colour (three.js, how-offer.js), stars, delivery time,
   price and a choose button ---- */
.how-offer{position:relative; margin:0; display:grid; gap:1.4rem; padding:clamp(1.2rem,2.6vw,2.2rem);
           border-radius:clamp(20px,2.4vw,30px); border:1px solid var(--line);
           background:
             radial-gradient(ellipse 40% 60% at 40% 50%, rgba(255,138,76,.10), transparent 70%),
             radial-gradient(rgba(13,14,17,.07) 1px, transparent 1.2px) 0 0 / 22px 22px,
             var(--paper);
           box-shadow:0 50px 90px -70px rgba(13,14,17,.55)}
@media(min-width:960px){
  .how-offer{grid-template-columns:minmax(230px,260px) minmax(0,1fr); align-items:center; column-gap:clamp(4rem,9vw,8rem)}
}
/* above the cards, so the trucks sit in the avatars; it never takes clicks */
.how-offer-canvas{position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none; z-index:2; border-radius:inherit}
.how-offer .how-fill-card{padding-bottom:.6rem}
.how-offer-route{margin:.7rem 0 0; font-size:.82rem; font-weight:600; color:var(--muted)}

/* the checks */
.how-offer-checks{list-style:none; margin:0; padding:.3rem 0 0; display:grid}
.how-offer-checks li{display:flex; align-items:center; gap:.65rem; padding:.55rem 0; font-size:.88rem; font-weight:600; color:var(--ink);
                     border-bottom:1px solid var(--line); transition:opacity .35s}
.how-offer-checks li:last-child{border-bottom:0}
.how-offer-checks svg{flex:none; width:22px; height:22px; padding:4px; border-radius:50%; background:rgba(29,138,74,.12);
                      fill:none; stroke:#1d8a4a; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; transition:transform .35s, opacity .35s}
.how-offer-checks li.todo{opacity:.45}
.how-offer-checks li.todo svg{opacity:0; transform:scale(.3)}
.how-offer.checking .how-fill-status, .how-offer.asking .how-fill-status{color:var(--red)}
.how-offer.checking .how-fill-status i, .how-offer.asking .how-fill-status i{animation:how-blink 1s infinite}

/* the offers */
.how-offer-list{list-style:none; margin:0; padding:0; display:grid; gap:.85rem}
.how-offer-list li{position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:.4rem 1.1rem;
                   padding:.85rem 1.1rem .85rem .85rem; border-radius:18px; background:var(--surface); border:1.5px solid var(--line);
                   box-shadow:0 18px 36px -30px rgba(13,14,17,.55); transition:border-color .5s, box-shadow .5s, opacity .5s}
.q-avatar{display:grid; place-items:center; width:64px; height:64px; border-radius:50%; background:var(--tint); color:var(--cab)}
.q-avatar svg{width:38px; height:26px}
.how-offer.live .q-avatar svg{visibility:hidden}      /* three.js draws the truck */
.q-name{display:grid; gap:.25rem; font-size:1rem; font-weight:800; letter-spacing:-.01em; color:var(--ink); line-height:1.25}
.q-meta{display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; font-size:.82rem; font-weight:500; letter-spacing:0; color:var(--muted)}
.q-meta b{color:var(--ink); font-weight:700}
/* five stars, filled up to the rating */
.q-stars{--pct:calc(var(--rating) / 5 * 100%); font-size:.9rem; letter-spacing:.08em; line-height:1;
         background:linear-gradient(90deg, #f5b301 var(--pct), rgba(13,14,17,.15) var(--pct));
         -webkit-background-clip:text; background-clip:text; color:transparent}
.q-stars::before{content:"\2605\2605\2605\2605\2605"}
.q-price{font-size:clamp(1.15rem,2vw,1.5rem); font-weight:800; letter-spacing:-.02em; color:var(--ink);
         font-variant-numeric:tabular-nums; white-space:nowrap; text-align:right; transition:opacity .3s}
.how-offer-list li.waiting .q-price{font-size:.78rem; font-weight:600; letter-spacing:0; color:var(--muted)}
.q-choose{display:inline-flex; align-items:center; justify-content:center; min-width:96px; padding:.65rem 1.2rem; border-radius:999px;
          background:var(--paper); border:1px solid var(--line); font-size:.88rem; font-weight:700; color:var(--ink);
          transition:background .35s, color .35s, border-color .35s, transform .2s}
.how-offer-list li.fresh{animation:how-fresh 1.1s ease}

/* labels on the edge of a card */
.q-badge{position:absolute; top:0; left:50%; transform:translate(-50%,-55%); z-index:3; white-space:nowrap;
         padding:.22rem .75rem; border-radius:999px; font-size:.72rem; font-weight:800; transition:opacity .4s, transform .4s}
.q-badge.is-rec{background:var(--red); color:#fff}
.q-badge.is-price{background:#fff; color:var(--red); border:1.5px solid var(--red)}
.q-badge.is-review{background:var(--ink); color:#fff}
.how-offer-list li.recommended{border-color:rgba(243,56,1,.65); box-shadow:0 24px 44px -30px rgba(243,56,1,.6)}
.how-offer-list li.recommended .q-price{color:var(--red)}
/* a card with two labels: spread them */
.how-offer-list li .q-badge + .q-badge{left:auto; right:1.2rem; transform:translate(0,-55%)}
.how-offer-list li.chosen .q-choose{background:var(--red); border-color:var(--red); color:#fff}
.how-offer-list li.chosen .q-choose::before{content:"\2713\00a0"}

/* while the offers come in: no labels and no choice yet */
.how-offer.asking .q-badge, .how-offer.checking .q-badge{opacity:0; transform:translate(-50%,-20%)}
.how-offer.asking .how-offer-list li.recommended, .how-offer.checking .how-offer-list li.recommended{border-color:var(--line); box-shadow:0 18px 36px -30px rgba(13,14,17,.55)}
.how-offer.asking .how-offer-list li.recommended .q-price, .how-offer.checking .how-offer-list li.recommended .q-price{color:var(--ink)}

@media(max-width:600px){
  .how-offer-list li{grid-template-columns:auto minmax(0,1fr) auto; padding:.8rem}
  .q-avatar{width:52px; height:52px}
  .q-choose{grid-column:2 / -1; justify-self:start; min-width:0; padding:.45rem 1rem}
}

/* ---- execution and monitoring: a 3D map with the truck driving from Veenendaal to Paris
   (three.js, how-track.js) and the live status beside it ---- */
.how-track{position:relative; margin:0; display:grid; gap:1.2rem}
@media(min-width:960px){ .how-track{grid-template-columns:minmax(0,1fr) minmax(270px,310px); align-items:start} }
/* fixed heights: the map and the status card never follow their content, so nothing jumps */
.how-track{--track-h:clamp(360px,60vw,520px)}
@media(min-width:960px){ .how-track{--track-h:clamp(640px,46vw,700px)} }
.how-track-map{position:relative; height:var(--track-h); border-radius:clamp(20px,2.4vw,30px); overflow:hidden;
               background:linear-gradient(160deg, #e3eaee, #d8e1e6); border:1px solid var(--line);
               box-shadow:0 50px 90px -70px rgba(13,14,17,.55)}
.how-track-canvas{position:absolute; inset:0; width:100%; height:100%; display:block}
/* without WebGL there is no map: the status card alone */
.how-track:not(.live) .how-track-map{display:none}
@media(min-width:960px){ .how-track:not(.live){grid-template-columns:minmax(0,420px); justify-content:center} }

/* names on the map, placed by how-track.js */
.how-track-label{position:absolute; left:0; top:0; z-index:1; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .6s}
.how-track.live .how-track-label{opacity:1}
.how-track-label.country{font-size:.72rem; font-weight:800; letter-spacing:.32em; text-transform:uppercase; color:rgba(13,14,17,.38)}
.how-track-label.place{padding:.3rem .7rem; border-radius:999px; background:#fff; font-size:.8rem; font-weight:700; color:var(--ink);
                       box-shadow:0 10px 22px -14px rgba(13,14,17,.6)}
.how-track-label.tower{padding:.35rem .8rem; border-radius:999px; background:var(--ink); font-size:.78rem; font-weight:700; color:#fff;
                       box-shadow:0 10px 22px -12px rgba(13,14,17,.7)}
@media(max-width:600px){ .how-track-label.country{font-size:.6rem; letter-spacing:.2em} .how-track-label.tower{display:none} }

/* the live status: both shipments, each with its own timeline */
.how-track-status{padding:1.2rem 1.2rem .9rem; display:grid; gap:.8rem; align-content:start}
/* beside the map: as tall as the map, the two shipments share the height */
@media(min-width:960px){
  .how-track-status{height:var(--track-h); display:flex; flex-direction:column; padding-bottom:1.2rem}
  .how-ship{flex:1; display:flex; flex-direction:column}
  /* every step gets an equal share of the height, so the line runs exactly to the next step */
  .how-ship .how-track-steps{flex:1; display:flex; flex-direction:column}
  .how-ship .how-track-steps li{flex:1; padding-bottom:0}
  .how-ship .how-track-steps li:last-child{flex:0 0 auto}
}
.how-track-live{display:flex; align-items:center; justify-content:space-between; margin:0; font-size:.72rem; font-weight:800;
                letter-spacing:.18em; text-transform:uppercase; color:var(--muted)}
.how-track-live b{display:inline-grid; place-items:center; min-width:1.5rem; height:1.5rem; margin-left:.35rem; border-radius:999px;
                  background:var(--ink); color:#fff; letter-spacing:0}
.how-track-live i{width:9px; height:9px; border-radius:50%; background:var(--red); box-shadow:0 0 0 0 rgba(243,56,1,.5);
                  animation:how-live 1.6s infinite}
@keyframes how-live{70%{box-shadow:0 0 0 8px rgba(243,56,1,0)} 100%{box-shadow:0 0 0 0 rgba(243,56,1,0)}}
.how-ship{padding:.85rem .9rem .75rem; border-radius:14px; background:var(--paper); border:1.5px solid var(--line);
          transition:border-color .4s, box-shadow .4s, background .4s}
/* the shipment that is on the road right now */
.how-ship.active{background:#fff; border-color:var(--cab); box-shadow:0 18px 34px -26px rgba(13,14,17,.6)}
.how-ship p{margin:0}
.how-ship-head{display:flex; flex-wrap:wrap; align-items:baseline; gap:.15rem .55rem}
.how-ship-head b{font-size:1.05rem; font-weight:800; letter-spacing:-.01em; color:var(--ink)}
.how-ship-head span{font-size:.78rem; font-weight:600; color:var(--muted)}
.how-ship-carrier{display:flex; align-items:center; gap:.45rem; margin-top:.2rem !important; font-size:.8rem; font-weight:600; color:var(--text)}
.how-ship-carrier i{width:11px; height:11px; border-radius:50%; background:var(--cab)}
.how-track-eta{display:flex; flex-wrap:wrap; justify-content:space-between; gap:.1rem .8rem; margin-top:.55rem !important; padding-top:.5rem;
               border-top:1px solid var(--line); font-size:.76rem; color:var(--muted)}
.how-track-eta b{color:var(--ink); transition:color .4s}
.how-ship.late .how-track-eta b{color:var(--red)}
.how-track-steps{list-style:none; margin:.6rem 0 0; padding:0; display:grid}
.how-track-steps li{position:relative; display:flex; align-items:flex-start; gap:.6rem; padding:0 0 .5rem}
.how-track-steps li:last-child{padding-bottom:0}
/* the line between the steps */
.how-track-steps li:not(:last-child)::before{content:""; position:absolute; left:8px; top:18px; bottom:0; width:2px;
                                             background:rgba(13,14,17,.12)}
.how-track-steps li.done:not(:last-child)::before{background:var(--red)}
.how-track-steps i{position:relative; z-index:1; flex:none; display:grid; place-items:center; width:18px; height:18px; border-radius:50%;
                   border:2px solid rgba(13,14,17,.15); background:#fff; transition:background .35s, border-color .35s}
.how-track-steps svg{width:10px; height:10px; fill:none; stroke:#fff; stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; opacity:0;
                     transition:opacity .35s}
.how-track-steps li.done i{background:var(--red); border-color:var(--red)}
.how-track-steps li.done svg{opacity:1}
.how-track-steps li.now i{border-color:var(--red); box-shadow:0 0 0 4px rgba(243,56,1,.15)}
.how-track-steps span{display:flex; flex-wrap:wrap; justify-content:space-between; gap:0 .6rem; flex:1; line-height:1.3}
.how-track-steps b{font-size:.8rem; color:var(--ink); transition:color .35s}
.how-track-steps small{font-size:.72rem; color:var(--muted); transition:opacity .35s}
.how-track-steps li:not(.done) b{color:var(--muted)}
.how-track-steps li:not(.done) small{opacity:0}

.how-track-label.jam{padding:.35rem .75rem; border-radius:10px; background:#fff; font-size:.76rem; font-weight:700; color:var(--red);
                    box-shadow:inset 0 0 0 1.5px rgba(243,56,1,.6), 0 12px 24px -14px rgba(13,14,17,.6)}
.how-track-label.jam::before{content:"\26A0\00a0"}
.how-track.live:not(.late) .how-track-label.jam{opacity:0}
.how-track-label.customs{padding:.3rem .7rem; border-radius:999px; background:#2f4a7a; font-size:.76rem; font-weight:700; color:#fff;
                         box-shadow:0 10px 22px -12px rgba(13,14,17,.7); transition:background .4s, opacity .6s}
.how-track-label.customs.cleared{background:#1d8a4a}
.how-track-label.customs.cleared::before{content:"\2713\00a0"}

/* ---- summary: what Noventra arranged, one card with a row per step that ticks off in turn ---- */
.how-summary{max-width:860px; margin:0 auto; padding:clamp(1.2rem,2.6vw,2rem); border-radius:clamp(20px,2.4vw,28px);
             background:var(--surface); border:1px solid var(--line); box-shadow:0 50px 90px -60px rgba(13,14,17,.5)}
.sum-head{display:flex; align-items:center; gap:.9rem; padding:0 .4rem 1.1rem; margin-bottom:.8rem; border-bottom:1px solid var(--line)}
.sum-head img{flex:none; width:36px; height:36px}
.sum-head p{margin:0; display:grid; flex:1; min-width:0}
.sum-head strong{font-size:clamp(1.2rem,2vw,1.45rem); font-weight:800; letter-spacing:-.02em; color:var(--ink); line-height:1.2}
.sum-head span{font-size:.88rem; color:var(--muted)}
.sum-badge{flex:none; padding:.45rem 1rem; border-radius:999px; background:var(--red); color:#fff !important; font-size:.85rem !important; font-weight:800}
.sum-rows{list-style:none; margin:0; padding:0; display:grid; gap:.35rem}
.sum-rows li{display:flex; align-items:center; gap:1rem; padding:.75rem 1rem .75rem .75rem; border-radius:14px}
.sum-rows li:nth-child(odd){background:var(--paper)}
.sum-icon{flex:none; display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#fff;
          box-shadow:inset 0 0 0 1.5px rgba(243,56,1,.25)}
.sum-icon svg{width:24px; height:24px; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.sum-text{display:grid; gap:.1rem; flex:1; min-width:0}
.sum-text small{font-size:.68rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}
.sum-text b{font-size:clamp(.98rem,1.6vw,1.12rem); font-weight:700; color:var(--ink); line-height:1.35}
.sum-text b.accent{color:var(--red)}
.sum-check{flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--red)}
.sum-check svg{width:16px; height:16px; fill:none; stroke:#fff; stroke-width:3; stroke-linecap:round; stroke-linejoin:round}
/* when the card comes into view the rows tick off one by one */
.js .how-summary .sum-rows li{opacity:0; transform:translateY(8px)}
.js .how-summary .sum-check{transform:scale(0)}
.js .how-summary.visible .sum-rows li{animation:sum-row .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay:calc(.25s + var(--i) * .22s)}
.js .how-summary.visible .sum-check{animation:sum-check .4s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay:calc(.45s + var(--i) * .22s)}
@keyframes sum-row{to{opacity:1; transform:none}}
@keyframes sum-check{to{transform:scale(1)}}
@media(max-width:600px){
  .sum-head{flex-wrap:wrap}
  .sum-rows li{gap:.75rem; padding:.65rem .7rem}
  .sum-icon{width:40px; height:40px}
}
@media(prefers-reduced-motion:reduce){
  .js .how-summary .sum-rows li, .js .how-summary .sum-check{opacity:1; transform:none; animation:none}
}

@media(prefers-reduced-motion:reduce){
  .how-channels li, .dp-value, .dp-check{transition:none}
  .how-fields li.fresh{animation:none}
  .how-track-live i{animation:none}
  .how-play i, .how-fill-rows li, .how-offer-checks li, .how-offer-list li, .q-badge, .q-choose{transition:none}
}
