/* how-it-works.css: the How it works page's own placing and sizing, with the tokens of system.css only. */
@import url("../arsenal/thread.css");

/* the one deep-ocean grade of the page's photos and footage */
.hiw-hero__photo, .hiw-yours__shade, .hiw-row__media, .hiw-team__photo, .hiw-compare, .hiw-close__shade { --tint: linear-gradient(0deg, rgb(10 34 84 / 0.22), rgb(10 34 84 / 0.22)); }

/* ---------- the thread: one line of the logo's cyan, from the header's button to the close's ---------- */
.thread.hiw-thread { --thread-ink: var(--c-brand); --thread-bg: var(--c-ink); --thread-track-ink: rgb(5 187 252 / 0.26); --thread-radius: 56px; --thread-tail: 110px; }
.hiw-thread .thread__svg { filter: drop-shadow(0 0 5px rgb(5 187 252 / 0.6)); }
/* the site's mark is a line (F1.1): the bead strokes it, never fills it */
.hiw-thread .thread__glyph { fill: none; stroke: currentColor; stroke-width: 3.3; stroke-linecap: round; stroke-linejoin: round; }
/* under 1024 px the steps stack: no line, the numbers still light as the page scrolls */
@media (max-width: 1023.98px) { .thread.hiw-thread { --thread-narrow: 1; } }

/* the step numbers: dark discs that fill with the cyan as the line reaches them, then one ring spreads from them */
.hiw-num { --p: calc(var(--lit, 1) * var(--lit, 1) * (3 - 2 * var(--lit, 1))); position: relative; display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; font: 650 1.0625rem/1 var(--font-display);
  background: color-mix(in srgb, var(--c-brand) calc(var(--p) * 100%), var(--c-trench));
  color: color-mix(in srgb, var(--c-on-brand) calc(var(--p) * 100%), var(--c-brand-on-ink));
  box-shadow: inset 0 0 0 1.5px var(--c-brand), 0 0 calc(var(--p) * 24px) rgb(5 187 252 / 0.55); }
.hiw-num::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--c-brand); pointer-events: none; opacity: calc((1 - var(--lit-after, 1)) * var(--p)); transform: scale(calc(1 + var(--lit-after, 1) * 0.9)); }

/* ---------- #hero: the words centered, the framed film under them ---------- */
.hiw-hero { padding: calc(var(--header-h) + clamp(2.5rem, 7vh, 5rem)) 0 clamp(3rem, 6vw, 5rem); }
.hiw-hero__in { display: grid; justify-items: center; gap: clamp(2.5rem, 5vw, 3.5rem); }
.hiw-hero__words { display: grid; justify-items: center; max-width: 900px; text-align: center; }
.hiw-hero__title { font-size: var(--fs-display); font-weight: 650; letter-spacing: -0.03em; line-height: 1.04; }
.hiw-hero__title .quiet { display: block; color: var(--c-brand-on-ink); text-shadow: 0 0 34px rgb(5 187 252 / 0.45); }
.hiw-hero__line { max-width: 36em; margin-top: clamp(1.1rem, 2.4vh, 1.5rem); color: var(--c-on-ink-soft); font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.55; }
.hiw-hero__cta { justify-content: center; margin-top: clamp(1.6rem, 3.5vh, 2.25rem); }
/* the film: the laptop at dusk drawn larger than its frame (the photo's x 6 to 84%, y 28 to 95%), so its screen holds
   the week at its own size; the grade sits between the photo and the screen, so the screen stays lit */
.hiw-hero__film { position: relative; width: 100%; aspect-ratio: 2.07; border-radius: var(--radius-l); overflow: hidden; background: var(--c-deep); box-shadow: 0 0 0 1px rgb(5 187 252 / 0.14), var(--shadow-l); }
.hiw-hero__photo { position: absolute; inset: 0; margin: 0; isolation: isolate; }
.hiw-hero__photo > img { position: absolute; z-index: 0; left: -7.7%; top: -41.5%; width: 128.2%; height: auto; max-width: none; object-fit: fill; }
.hiw-hero__photo::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgb(2 11 25 / 0.2) 0%, rgb(2 11 25 / 0) 38%, rgb(2 11 25 / 0.12) 62%, rgb(2 11 25 / 0.6) 100%),
  radial-gradient(90% 95% at 44% 56%, transparent 55%, rgb(2 11 25 / 0.5) 100%),
  var(--tint); }
.hiw-hero__photo .screen { z-index: 2; }
/* the notifications stack at the foot of their box: kept high, so they show on the first screen */
.hiw-hero__wyw { position: absolute; z-index: 3; right: 2.2%; top: 5%; height: min(52%, 300px); width: min(28%, 360px); }
.hiw-hero__wyw .scene { width: 100%; height: 100%; }
/* a box under 480 px shows only two of the four (the scene's phone layout), then holds 6 s still; here all four fit */
.hiw-hero__wyw [data-scene="wyw"] .wy-feed li:nth-child(n+3) { display: flex; }
.hiw-hero__stop { position: absolute; z-index: 4; left: 16px; bottom: 16px; }

/* the week on the laptop, drawn at the screen's own size (460 x 288): the week's appointments from the first frame,
   then a new client every half second, each with where it came from */
.hiw-cal { position: absolute; inset: 0; background: #0a1630; color: var(--c-paper); font-family: var(--font-ui); }
.hiw-cal__bar { position: absolute; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: #0d1d3d; border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.hiw-cal__title { font: 650 14px/1 var(--font-display); letter-spacing: -0.01em; }
.hiw-cal__new { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--c-accent); }
.hiw-cal__new i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 8px var(--c-accent); }
.hiw-cal__days { position: absolute; left: 50px; right: 6px; top: 40px; height: 26px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--c-on-ink-soft); border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.hiw-cal__hours { position: absolute; left: 0; width: 46px; top: 66px; bottom: 6px; display: grid; grid-template-rows: repeat(6, 1fr); text-align: right; font-size: 12px; color: rgb(163 184 214 / 0.85); }
.hiw-cal__hours span { padding: 3px 6px 0 0; }
.hiw-cal__slots { position: absolute; left: 50px; right: 6px; top: 66px; bottom: 6px; background:
  repeating-linear-gradient(180deg, transparent 0 calc(100% / 6 - 1px), rgb(255 255 255 / 0.06) calc(100% / 6 - 1px) calc(100% / 6)),
  repeating-linear-gradient(90deg, rgb(255 255 255 / 0.06) 0 1px, transparent 1px 20%); }
.hiw-cal__busy { position: absolute; inset: 0; }
.hiw-cal__slot { position: absolute; left: calc(var(--d) * 20% + 2px); top: calc(var(--r) * 100% / 6 + 2px); width: calc(20% - 4px); height: calc(100% / 6 - 4px); margin: 0; padding: 2px 5px; overflow: hidden; display: grid; align-content: center; border-radius: 5px;
  background: color-mix(in srgb, var(--c-accent) 24%, #0a1630); box-shadow: inset 3px 0 0 var(--c-accent), 0 0 calc((1 - var(--kit-in, 1)) * 14px) rgb(24 224 194 / 0.6);
  opacity: var(--kit-in, 1); transform: scale(calc(0.9 + 0.1 * var(--kit-in, 1))); }
.hiw-cal__slot b { font-size: 12px; font-weight: 650; line-height: 1.1; white-space: nowrap; }
.hiw-cal__slot span { font-size: 11.5px; line-height: 1.1; color: rgb(234 243 255 / 0.8); white-space: nowrap; }
.hiw-cal__slot--busy { background: rgb(163 184 214 / 0.12); box-shadow: inset 3px 0 0 rgb(163 184 214 / 0.45); opacity: 1; transform: none; }

/* ---------- #yours: the owner at her truck across the band's top, her three steps under it ---------- */
.hiw-yours { --photo-h: clamp(460px, 44vw, 640px); padding: 0 0 var(--section-y); background: var(--c-ink); }
.hiw-yours .band__media, .hiw-yours__shade { inset: 0 0 auto; height: var(--photo-h); }
.hiw-yours .band__media img { object-position: 60% 32%; }
.hiw-yours__shade { background:
  linear-gradient(90deg, rgb(2 11 25 / 0.92) 0%, rgb(2 11 25 / 0.76) 30%, rgb(2 11 25 / 0.22) 55%, rgb(2 11 25 / 0) 72%),
  linear-gradient(180deg, var(--c-ink) 0%, rgb(2 11 25 / 0) 18%, rgb(2 11 25 / 0) 68%, var(--c-ink) 100%),
  var(--tint); }
.hiw-yours__in { position: relative; }
.hiw-yours__head { display: grid; align-content: center; min-height: var(--photo-h); max-width: 560px; padding-block: 2rem; }
.hiw-cards { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.5rem); }
.hiw-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 18px 18px 16px; }
.hiw-card__top { display: flex; align-items: center; gap: 12px; }
.hiw-card__title { font-size: var(--fs-h3); line-height: 1.2; }
.hiw-card__text { color: var(--c-on-ink-soft); font-size: var(--fs-small); line-height: 1.5; }
.hiw-card__scene { position: relative; height: 300px; display: grid; align-items: end; }
.hiw-card__scene .scene { width: 100%; height: 100%; }
/* the chat grows with its messages: at the foot of its box, so its growing moves nothing (nor the page: no scroll anchor inside it) */
.hiw-card__scene--goal { overflow-anchor: none; }
.hiw-card__scene--goal .scene { height: auto; }
.hiw-card__note { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-brand-on-ink); }
/* the stop under the row's right end; over the first card's corner once the cards stack */
.hiw-yours__steps { position: relative; }
.hiw-yours__stop { position: absolute; right: 0; bottom: -56px; }

/* ---------- #ours: steps 4 to 6 down the line's spine, the photos at alternate sides ---------- */
.hiw-ours .wrap { position: relative; }
.hiw-ours__head { max-width: calc(50% - 72px); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hiw-ours__head h2 { font-size: var(--fs-h2); }
.hiw-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(3rem, 6vw, 5.5rem); }
.hiw-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.hiw-row__media { grid-column: 1; grid-row: 1; }
.hiw-row__num { grid-column: 2; grid-row: 1; justify-self: center; }
.hiw-row__words { grid-column: 3; grid-row: 1; max-width: 460px; display: grid; gap: 0.75rem; }
.hiw-row--flip .hiw-row__media { grid-column: 3; }
.hiw-row--flip .hiw-row__words { grid-column: 1; justify-self: end; }
.hiw-row__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; letter-spacing: -0.015em; }
.hiw-row__words p { color: var(--c-on-ink-soft); }
.hiw-row__words .hiw-row__note { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-brand-on-ink); }
.hiw-row__media { position: relative; margin: 0; aspect-ratio: 4 / 3.3; border-radius: var(--radius-l); overflow: hidden; background: var(--c-deep); box-shadow: 0 0 0 1px rgb(5 187 252 / 0.12), var(--shadow-m); }
.hiw-row__media > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; filter: saturate(calc(0.72 + 0.28 * var(--lit, 1))); }
.hiw-row__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--shade, none), var(--tint); }
.hiw-row__scene { position: absolute; z-index: 1; }
.hiw-row__scene .scene { width: 100%; height: 100%; }
/* each scene over its photo's calm side, clear of the faces */
.hiw-row__media--launch img { object-position: 40% 40%; }
.hiw-row__media--launch { --shade: linear-gradient(270deg, rgb(2 11 25 / 0.55) 0%, rgb(2 11 25 / 0) 55%); }
/* tall enough for its four rows under the note at every width (measured: 325 px at 296 px wide) */
.hiw-row__media--launch .hiw-row__scene { top: 16px; right: 16px; width: min(58%, 360px); height: 340px; }
.hiw-row__media--leads img { object-position: 50% 30%; }
.hiw-row__media--leads { --shade: linear-gradient(0deg, rgb(2 11 25 / 0.6) 0%, rgb(2 11 25 / 0) 50%); }
.hiw-row__media--leads .hiw-row__scene { left: 16px; bottom: 12px; width: clamp(300px, 60%, 380px); height: 290px; }
.hiw-row__media--tune img { object-position: 60% 40%; }
.hiw-row__media--tune { --shade: linear-gradient(90deg, rgb(2 11 25 / 0.55) 0%, rgb(2 11 25 / 0) 55%); }
/* its three changes need 347 px of height at 286 px wide */
.hiw-row__media--tune .hiw-row__scene { left: 16px; top: 50%; width: clamp(280px, 50%, 330px); height: 352px; transform: translateY(-50%); }
/* in the first photo's free corner, with the part's first moving picture */
.hiw-ours__stop { position: absolute; left: 16px; bottom: 16px; }
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hiw-row__media { aspect-ratio: 1; }
  /* the launch box at its narrowest (243 px) needs 369 px: the square photo has the height */
  .hiw-row__media--launch .hiw-row__scene { height: 380px; }
}

/* ---------- #week: the owner's evening, before and after, with a line to drag ---------- */
.hiw-week__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.hiw-compare { position: relative; aspect-ratio: 2; border-radius: var(--radius-l); overflow: hidden; background: var(--c-deep); box-shadow: 0 0 0 1px rgb(5 187 252 / 0.14), var(--shadow-l); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hiw-compare .before, .hiw-compare .after { position: absolute; inset: 0; overflow: hidden; }
.hiw-compare .after { clip-path: inset(0 0 0 calc(var(--kit-v, 0.5) * 100%)); }
.hiw-compare img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.hiw-compare .before img { object-position: 50% 22%; filter: saturate(0.85); }
.hiw-compare .after img { object-position: 50% 42%; }
.hiw-compare .before::after, .hiw-compare .after::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hiw-compare .before::after { background: linear-gradient(0deg, rgb(2 11 25 / 0.72) 0%, rgb(2 11 25 / 0.1) 52%), linear-gradient(0deg, rgb(10 34 84 / 0.32), rgb(10 34 84 / 0.32)); }
.hiw-compare .after::after { background: linear-gradient(0deg, rgb(2 11 25 / 0.55) 0%, rgb(2 11 25 / 0) 46%), var(--tint); }
.hiw-compare__tag { position: absolute; z-index: 1; top: 18px; margin: 0; padding: 7px 12px; border-radius: var(--radius-s); background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--glass-edge); font: 600 var(--fs-label)/1 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; }
.before .hiw-compare__tag { left: 18px; }
.after .hiw-compare__tag { right: 18px; color: var(--c-accent-on-ink); }
.hiw-compare__cards { position: absolute; z-index: 1; bottom: 18px; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; width: min(300px, 34%); }
.before .hiw-compare__cards { left: 18px; }
.after .hiw-compare__cards { right: 18px; }
.hiw-compare__card { display: grid; gap: 3px; padding: 10px 14px; border-radius: var(--radius-m); background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.hiw-compare__card span { font-size: var(--fs-label); letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-on-ink-soft); }
.hiw-compare__card b { font: 600 1rem/1.3 var(--font-display); }
.after .hiw-compare__card b { color: var(--c-accent-on-ink); }
.hiw-compare [data-kit-whole] { transition: opacity 0.2s, visibility 0s; }
.hiw-compare [data-kit-under] { opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s 0.2s; }
.hiw-compare input[type="range"] { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.hiw-compare .handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(var(--kit-v, 0.5) * 100%); width: 0; pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v, 0.5), 1 - var(--kit-v, 0.5)) - 0.03) * 14), 1); }
.hiw-compare .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--c-brand); box-shadow: 0 0 14px rgb(5 187 252 / 0.8); }
.handle__knob { position: absolute; top: 40%; left: -23px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); box-shadow: 0 0 22px rgb(5 187 252 / 0.6); }
.handle__knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.handle__hint { position: absolute; top: calc(40% + 56px); left: 0; transform: translateX(-50%); padding: 5px 11px; border-radius: 999px; background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--glass-edge); font: 600 var(--fs-label)/1.2 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.3s; }
.hiw-compare[data-kit-touched] .handle__hint { opacity: 0; }
.hiw-compare input:focus-visible + .handle { opacity: 1; }
.hiw-compare input:focus-visible + .handle .handle__knob { outline: 2px solid var(--c-paper); outline-offset: 3px; }

/* ---------- #inside: the free plan building itself on the designed ground ---------- */
/* the ground sits under the line (z-index -1 in the thread), so the line shows over it */
.hiw-inside::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(46% 56% at 32% 52%, rgb(11 114 250 / 0.16), transparent 70%),
  radial-gradient(34% 40% at 18% 78%, rgb(91 41 248 / 0.14), transparent 70%),
  linear-gradient(180deg, var(--c-ink) 0%, var(--c-deep) 22%, var(--c-deep) 78%, var(--c-ink) 100%); }
.hiw-inside__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hiw-inside__stage { position: relative; }
.hiw-inside__scene { width: 100%; height: 560px; }
.hiw-inside__stop { position: absolute; right: 0; bottom: -52px; }
.hiw-inside__cta { margin-top: 1.75rem; }
/* the plan's badges carry the site's mark: a line, stroked (F1.1) */
.hiw-inside__stage .scene[data-scene="plan-builder"] .pb-badge path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- #team: the owner's dashboard on a phone in a hand, the team's reply arriving ---------- */
.hiw-team__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
/* the photo drawn larger than its frame (its x 33 to 79%, y 21 to 81%), so the phone fills it and its screen reads */
.hiw-team__media { position: relative; aspect-ratio: 660 / 560; border-radius: var(--radius-l); overflow: hidden; background: var(--c-deep); box-shadow: 0 0 0 1px rgb(5 187 252 / 0.12), var(--shadow-l); }
.hiw-team__photo { position: absolute; inset: 0; margin: 0; isolation: isolate; }
.hiw-team__photo > img { position: absolute; z-index: 0; left: -69.8%; top: -35.9%; width: 214%; height: auto; max-width: none; object-fit: fill; }
.hiw-team__photo::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: radial-gradient(70% 80% at 56% 50%, transparent 45%, rgb(2 11 25 / 0.55) 100%), var(--tint); }
.hiw-team__photo .screen { z-index: 2; }
.hiw-team__stop { position: absolute; z-index: 3; right: 14px; bottom: 14px; }
/* the dashboard, drawn at the phone's own size (210 x 484): every word 15 px or more */
.hiw-dash { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; background: linear-gradient(180deg, #0b1a36, #071430); color: var(--c-paper); font-family: var(--font-ui); }
.hiw-dash__top { display: flex; align-items: center; gap: 7px; margin: 0; padding: 30px 14px 10px; border-bottom: 1px solid rgb(255 255 255 / 0.08); font-size: 15px; }
.hiw-dash__top svg { width: 18px; height: 18px; fill: none; stroke: var(--c-brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hiw-dash__log { display: flex; flex-direction: column; gap: 9px; padding: 12px 11px; overflow: hidden; }
.hiw-dash__log [hidden] { display: none !important; }
.hiw-dash__log [data-kit-msg] { margin: 0; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.hiw-dash__log [data-kit-msg]:not(:first-child) { opacity: calc(var(--kit-in, 1) * (1 - var(--kit-out, 0))); }
.hiw-dash__alert { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--c-accent) 16%, transparent); box-shadow: inset 0 0 0 1px rgb(24 224 194 / 0.35); }
.hiw-dash__alert b { font-size: 16px; color: var(--c-accent); }
.hiw-dash__alert span { font-size: 15px; color: var(--c-on-ink-soft); }
.hiw-dash__press { padding: 10px 12px; border-radius: 999px; text-align: center; background: var(--c-brand); color: var(--c-on-brand); font-size: 15px; font-weight: 650; box-shadow: 0 0 calc(var(--kit-in, 1) * 16px) rgb(5 187 252 / 0.6); }
.hiw-dash__you { align-self: flex-end; max-width: 86%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: var(--c-trench); font-size: 15px; line-height: 1.35; }
.hiw-dash__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: rgb(255 255 255 / 0.08); }
.hiw-dash__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-on-ink-soft); animation: hiw-dot 1s infinite ease-in-out; }
.hiw-dash__typing i:nth-child(2) { animation-delay: 0.15s; }
.hiw-dash__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hiw-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.hiw-dash__team { align-self: flex-start; max-width: 90%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: rgb(5 187 252 / 0.14); box-shadow: inset 0 0 0 1px rgb(5 187 252 / 0.3); font-size: 15px; line-height: 1.35; }
.hiw-dash__team b { display: block; margin-bottom: 2px; font-size: 15px; color: var(--c-brand); }

/* ---------- #faq: one centered column, the line's lane left clear beside it ---------- */
.hiw-faq__in { max-width: 780px; }
.hiw-faq__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- #close: the line ends in the main button ---------- */
.hiw-close { display: grid; align-items: center; min-height: clamp(580px, 72vh, 780px); padding-block: var(--section-y); }
.hiw-close .band__media img { object-position: 60% 40%; }
.hiw-close__shade { background:
  linear-gradient(90deg, rgb(2 11 25 / 0.94) 0%, rgb(2 11 25 / 0.82) 34%, rgb(2 11 25 / 0.35) 58%, rgb(2 11 25 / 0.08) 78%),
  linear-gradient(180deg, var(--c-ink) 0%, rgb(2 11 25 / 0) 18%, rgb(2 11 25 / 0) 82%, var(--c-ink) 100%),
  var(--tint); }
/* its run comes in from the band's edge (overflow visible), its arrow ends 110 px or more right of the words at 1024 to 1440 */
.hiw-close__rise { position: absolute; z-index: 0; left: 64px; bottom: 0; width: min(620px, 56%); height: 78%; overflow: visible; pointer-events: none; opacity: 0.8; filter: drop-shadow(0 0 8px rgb(5 187 252 / 0.6)); }
.hiw-close__in { position: relative; z-index: 1; }
.hiw-close__words { width: min(560px, 100%); }
.hiw-close__title { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.25rem); letter-spacing: -0.03em; }
.hiw-close__line { max-width: 28rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
/* where the line ends: the button gives one ring as the line reaches it */
.hiw-close .button[data-thread-anchor]::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 1.5px solid var(--c-brand); pointer-events: none; opacity: calc((1 - var(--lit-after, 1)) * var(--lit, 1)); transform: scale(calc(1 + var(--lit-after, 1) * 0.16)); }

/* ---------- the narrower screens ---------- */
@media (max-width: 1089.98px) {
  /* the laptop's screen is too small for words here: the week reads by its blocks alone */
  .hiw-cal__words { visibility: hidden; }
}
@media (max-width: 1023.98px) {
  .hiw-yours__steps { max-width: 560px; margin-inline: auto; padding-top: 52px; }
  .hiw-yours__stop { top: 0; bottom: auto; }
  .hiw-ours__stop { top: 12px; bottom: auto; left: 12px; }
  .hiw-cards { grid-template-columns: minmax(0, 1fr); }
  .hiw-ours__head { max-width: 640px; }
  .hiw-row, .hiw-row--flip { grid-template-columns: minmax(0, 640px); gap: 1.25rem; }
  .hiw-row__num, .hiw-row--flip .hiw-row__num { grid-row: 1; grid-column: 1; justify-self: start; }
  .hiw-row__words, .hiw-row--flip .hiw-row__words { grid-row: 2; grid-column: 1; justify-self: start; }
  /* the photo tall enough to hold its scene over its lower part, the faces clear above it */
  .hiw-row__media, .hiw-row--flip .hiw-row__media { grid-row: 3; grid-column: 1; aspect-ratio: auto; height: 620px; }
  .hiw-row__media > img { object-position: 40% 0%; }
  .hiw-row__media--launch, .hiw-row__media--leads, .hiw-row__media--tune { --shade: linear-gradient(0deg, rgb(2 11 25 / 0.7) 0%, rgb(2 11 25 / 0) 60%); }
  .hiw-row__media .hiw-row__scene { top: auto; right: 12px; bottom: 12px; left: 12px; width: auto; max-width: 420px; transform: none; }
  .hiw-row__media--launch .hiw-row__scene { height: 370px; }
  .hiw-row__media--leads .hiw-row__scene { height: 290px; }
  .hiw-row__media--tune .hiw-row__scene { height: 360px; }
  /* the attorney across his desk (the photo's left quarter): its middle is only the wall between him and the couple */
  .hiw-row__media--leads > img { object-position: 8% 0%; }
  .hiw-row__media--tune > img { object-position: 74% 6%; }
  .hiw-inside__in, .hiw-team__in { grid-template-columns: 1fr; }
  .hiw-inside__head, .hiw-team__head { grid-row: 1; }
  .hiw-inside__scene { height: 600px; }
  .hiw-team__media { max-width: 640px; }
}
@media (max-width: 760px) {
  .hiw-hero__film { aspect-ratio: auto; height: 340px; }
  /* the laptop's screen across the frame (the photo 842 px wide), the notifications left out at this size */
  .hiw-hero__photo > img { left: calc(50% - 341px); top: -60px; width: 842px; }
  .hiw-hero__wyw { display: none; }
  .hiw-yours { --photo-h: min(118vw, 520px); padding-top: calc(var(--photo-h) + 0.5rem); }
  .hiw-yours .band__media img { object-position: 74% 30%; }
  .hiw-yours__shade { background: linear-gradient(180deg, rgb(2 11 25 / 0.5) 0%, rgb(2 11 25 / 0) 20%, rgb(2 11 25 / 0) 72%, var(--c-ink) 100%), var(--tint); }
  .hiw-yours__head { min-height: 0; padding-block: 0 1.5rem; }
  /* the chat at its fullest is 256 px at 360 px wide; the chart's title takes the row (the scan above names the business) */
  .hiw-card__scene--goal { height: 264px; }
  .hiw-card__scene--leadbars .lb-top span { display: none; }
  .hiw-compare { aspect-ratio: 3 / 4; }
  .hiw-compare .before img { object-position: 40% 20%; }
  .hiw-compare .after img { object-position: 62% 40%; }
  .hiw-compare__tag { top: 12px; padding: 6px 9px; font-size: 11px; }
  .before .hiw-compare__tag { left: 10px; }
  .after .hiw-compare__tag { right: 10px; }
  .hiw-compare__cards { bottom: 10px; width: calc(50% - 22px); gap: 6px; }
  .before .hiw-compare__cards { left: 10px; }
  .after .hiw-compare__cards { right: 10px; }
  .hiw-compare__card { padding: 8px 9px; }
  .hiw-compare__card span { font-size: 11px; }
  .hiw-compare__card b { font-size: 0.875rem; }
  .handle__knob { top: 26%; }
  .handle__hint { top: calc(26% + 54px); }
  .hiw-team__media { aspect-ratio: 328 / 520; }
  .hiw-team__photo > img { width: 400%; left: -175%; top: -35.6%; }
  .hiw-close { align-items: end; min-height: 760px; }
  .hiw-close .band__media img { object-position: 62% 36%; }
  .hiw-close__shade { background: linear-gradient(0deg, rgb(2 11 25 / 0.97) 0%, rgb(2 11 25 / 0.9) 48%, rgb(2 11 25 / 0.35) 66%, rgb(2 11 25 / 0) 80%), linear-gradient(180deg, var(--c-ink) 0%, rgb(2 11 25 / 0) 18%), var(--tint); }
  /* the words fill the band's foot here: the rising line would cross them */
  .hiw-close__rise { display: none; }
}
@media (max-width: 600px) {
  .hiw-inside__scene { height: 700px; }
}
@media (prefers-reduced-motion: reduce) {
  .hiw-dash__typing i { animation: none; }
}
