/* Landing page: the hero panel after the reference (nodes on circuit lines,
   streaks, scroll cue, a feed switcher) and the unscroll sequence. */

/* ═══ hero ═══ */
.hero {
  height: clamp(620px, calc(100svh - 196px), 960px);
  display: grid; place-items: center;
}
.hero-core {
  position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center;
  padding: 0 24px; margin-top: clamp(40px, 7vh, 96px); text-align: center;
  transition: opacity .5s var(--ease-out), filter .5s var(--ease-out), transform .6s var(--ease-out);
}
.hero h1 {
  font-size: clamp(46px, 6.3vw, 94px); line-height: 1; letter-spacing: -0.04em; font-weight: 600;
  white-space: nowrap; text-shadow: 0 2px 24px rgb(10 12 22 / .35);
}
.hero .lede { max-width: 33em; margin-top: 24px; color: var(--text-secondary); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* the reference's round play button, high in the mist */
.play {
  position: absolute; z-index: 3; top: 12%; left: 50%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 6px 20px 6px 6px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; color: var(--text);
  background: color-mix(in srgb, var(--bg) 58%, transparent); box-shadow: inset 0 0 0 1px var(--divider), 0 14px 40px var(--shadow-color);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s ease, transform .16s var(--ease-out);
}
.play-ico {
  display: grid; place-items: center; width: 44px; height: 44px; padding-inline-start: 3px; border-radius: 50%;
  color: var(--bg); background: var(--text); transition: transform .3s var(--ease-out);
}
.play-len { margin-inline-start: 6px; color: var(--text-soft); }
.play:hover { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.play:hover .play-ico { transform: scale(1.07); }
.play:active { transform: scale(.97); }

/* circuit lines: posts arriving from the edges */
.wires { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; color: color-mix(in srgb, var(--text) 30%, transparent); }
.wires path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.wire-pulses path {
  stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; opacity: .9;
  stroke-dasharray: 60 1000; stroke-dashoffset: 60;
  animation: pulse-run 5.2s cubic-bezier(.45, 0, .2, 1) infinite;
}
.wire-pulses path:nth-child(2) { animation-delay: 1.3s; }
.wire-pulses path:nth-child(3) { animation-delay: 2.6s; }
.wire-pulses path:nth-child(4) { animation-delay: 3.9s; }
@keyframes pulse-run {
  0% { stroke-dashoffset: 60; opacity: 0; }
  8% { opacity: .9; }
  70% { opacity: .6; }
  100% { stroke-dashoffset: -1000; opacity: 0; }
}

/* the light: a soft band level with the headline's end, so its full stop sits
   in it, a glow in the top-right corner after the reference, and a faint wash.
   The node labels sit above and below the band, out of the bright part. */
@media (min-width: 961px) {
  .hero .mist::before {
    inset: 0; width: auto; height: auto; border-radius: 0;
    background:
      radial-gradient(30% 14% at 97% 45%,
        color-mix(in srgb, var(--mist) 72%, transparent),
        color-mix(in srgb, var(--mist) 46%, transparent) 34%,
        color-mix(in srgb, var(--mist-deep) 20%, transparent) 64%,
        transparent),
      radial-gradient(32% 42% at 100% 0%,
        color-mix(in srgb, var(--mist) 44%, transparent),
        color-mix(in srgb, var(--mist-deep) 16%, transparent) 55%,
        transparent),
      radial-gradient(56% 70% at 94% 42%,
        color-mix(in srgb, var(--mist-deep) 12%, transparent),
        transparent 80%);
  }
}
.nodes { position: absolute; inset: 0; z-index: 2; list-style: none; pointer-events: none; }
/* the dot sits on its wire; the label hangs off the corner toward the centre, as in the reference */
.node { position: absolute; width: 46px; height: 46px; }
.node-dot {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--text);
  background: var(--well); box-shadow: inset 0 0 0 1px var(--divider), 0 0 0 6px color-mix(in srgb, var(--bg) 70%, transparent);
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.node-label {
  position: absolute; display: grid; gap: 1px; white-space: nowrap;
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.node-label b { position: relative; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; padding-inline-start: 15px; }
.node-label b::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: var(--text-secondary);
}
.node-label span { padding-inline-start: 15px; font-size: 13px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.node.n1 { left: calc(9.2% - 23px); top: calc(23.2% - 23px); }
.node.n2 { left: calc(5.6% - 23px); top: calc(67.6% - 23px); }
.node.n3 { right: calc(9.2% - 23px); top: calc(23.2% - 23px); }
.node.n4 { right: calc(5.6% - 23px); top: calc(67.6% - 23px); }
.node.n1 .node-label { top: calc(100% + 2px); left: calc(100% - 6px); }
.node.n2 .node-label { bottom: calc(100% + 2px); left: calc(100% - 6px); }
.node.n3 .node-label { top: calc(100% + 2px); right: calc(100% - 6px); }
.node.n4 .node-label { bottom: calc(100% + 2px); right: calc(100% - 6px); }
.nodes.is-swapping .node-dot { opacity: 0; transform: scale(.8); }
.nodes.is-swapping .node-label { opacity: 0; transform: translateY(6px); }

/* the feed below the fold, falling, then stopping */
.streaks { position: absolute; inset: 78% 0 0; z-index: 1; pointer-events: none; }
.streaks i {
  position: absolute; top: 0; bottom: 0; width: 1px; overflow: hidden;
  background: linear-gradient(to bottom, transparent, var(--divider-soft) 30%, var(--divider-soft));
}
.streaks i::after {
  content: ""; position: absolute; inset-inline: 0; height: var(--len, 110px); top: var(--at, 20%);
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--mist) 90%, transparent) 70%, var(--accent));
  border-radius: 1px;
}
.streaks i:nth-child(1) { left: 45.4%; --at: 6%; --len: 120px; }
.streaks i:nth-child(2) { left: 47.6%; --at: 34%; --len: 80px; }
.streaks i:nth-child(3) { left: 49.7%; --at: 56%; --len: 96px; }
.streaks i:nth-child(4) { left: 53.7%; --at: 18%; --len: 130px; }
.streaks.is-falling i::after { animation: fall var(--dur, 2.8s) cubic-bezier(.12, .7, .18, 1) both; }
.streaks i:nth-child(2)::after { --dur: 3.2s; }
.streaks i:nth-child(3)::after { --dur: 2.5s; }
.streaks i:nth-child(4)::after { --dur: 3.6s; }
@keyframes fall { from { transform: translateY(-900%); } }

/* bottom-left: the reference's "02/03 · Scroll down" */
.cue {
  position: absolute; z-index: 3; left: clamp(20px, 2.6%, 44px); bottom: clamp(20px, 3.4%, 40px);
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px;
  background: var(--wash); box-shadow: inset 0 0 0 1px var(--divider-soft);
  font-size: 14.5px; color: var(--text-secondary); text-decoration: none; transition: background .2s ease, color .2s ease;
}
.cue:hover { background: var(--hover-bg); color: var(--text); }
.cue-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: var(--bg); }
.cue:hover .cue-btn svg { animation: nudge .9s var(--ease-out); }
@keyframes nudge { 40% { transform: translateY(3px); } }

/* bottom-right: the reference's "DeFi horizons" progress, as a feed switcher */
.feeds {
  position: absolute; z-index: 3; right: clamp(20px, 3.6%, 64px); bottom: clamp(18px, 3.4%, 40px);
  display: grid; gap: 6px; width: 228px;
}
.feeds-label { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; color: var(--accent); }
.feeds-segs { display: flex; gap: 6px; }
.feeds-segs button {
  flex: 1; min-width: 0; display: grid; gap: 9px; padding: 10px 0 4px; border: 0; background: none; cursor: pointer; text-align: start;
}
.seg-bar { position: relative; display: block; height: 4px; border-radius: 2px; overflow: hidden; background: var(--divider); transition: background .2s ease; }
.seg-bar span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 2px; background: var(--text); }
.feeds-segs button[aria-pressed="true"] .seg-bar span { width: var(--fill, 100%); }
.feeds-segs button.is-done .seg-bar span { width: 100%; background: var(--text-faint); }
.seg-name { font-size: 12.5px; font-weight: 500; color: var(--text-soft); transition: color .2s ease; }
.feeds-segs button[aria-pressed="true"] .seg-name, .feeds-segs button:hover .seg-name { color: var(--text); }
.feeds-segs button:hover .seg-bar { background: var(--track); }
.feeds-segs button:focus-visible { outline-offset: 2px; border-radius: 6px; }

/* the tour plays inside the panel: the window becomes the screen */
.film {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: var(--well); animation: fade-in .45s var(--ease-out);
}
.film video { width: 100%; height: 100%; object-fit: contain; background: var(--well); }
.film-close {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; color: var(--text); background: color-mix(in srgb, var(--bg) 70%, transparent);
  box-shadow: inset 0 0 0 1px var(--divider); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.film-close:hover { background: var(--surface); }
@keyframes fade-in { from { opacity: 0; } }
.hero.is-playing .hero-core { opacity: 0; filter: blur(8px); transform: scale(.98); }

/* ═══ the strip under the panel (the reference's logo row, as plain names) ═══ */
.strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 18px clamp(40px, 6vw, 96px);
  padding: clamp(24px, 2.4vw, 34px) 24px clamp(24px, 3vw, 40px);
}
.strip-group { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px clamp(22px, 2.6vw, 40px); }
.strip-k { font-size: 13px; color: var(--text-soft); }
.strip ul { list-style: none; display: contents; }
.strip li { font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.025em; color: var(--text-faint); }

/* ═══ the unscroll sequence ═══ */
.unscroll { position: relative; height: 380vh; margin-top: clamp(40px, 6vw, 80px); }
.un-sticky {
  position: sticky; top: 0; height: 100svh; min-height: 640px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  width: var(--page); margin-inline: auto;
}
.un-copy h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.04; letter-spacing: -0.032em; }
.un-steps { list-style: none; display: grid; gap: 4px; margin-top: 36px; }
.un-step {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 18px 16px 14px;
  border-radius: 16px; transition: background .45s var(--ease-out);
}
.un-step h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; letter-spacing: -0.018em; color: var(--text-muted); transition: color .45s ease; }
.un-more {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .55s var(--ease-out), opacity .45s ease;
}
.un-more p { min-height: 0; overflow: hidden; padding-top: 8px; color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.un-step.is-on { background: var(--wash); box-shadow: inset 0 0 0 1px var(--divider-soft); }
.un-step.is-on h3 { color: var(--text); }
.un-step.is-on .un-more { grid-template-rows: 1fr; opacity: 1; }
/* the logo's idea as the step mark: fragments while it waits, one line once it's the signal */
.un-mk { position: relative; width: 28px; height: 26px; }
.un-mk i {
  position: absolute; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 3px; background: var(--accent); opacity: .34;
  transform-origin: left; transition: transform .45s var(--ease-out), opacity .45s ease;
}
.un-mk i:nth-child(1) { left: 0; width: 26px; transform: scaleX(.42); }
.un-mk i:nth-child(2) { left: 14px; width: 6px; }
.un-mk i:nth-child(3) { left: 23px; width: 5px; }
.un-step.is-on .un-mk i:nth-child(1) { transform: none; opacity: 1; }
.un-step.is-on .un-mk i:nth-child(n+2) { transform: scaleX(0); opacity: 0; }

.un-stage { position: relative; height: min(680px, 100svh - 120px); display: flex; align-items: center; justify-content: flex-end; }
.un-stage .pop { position: relative; z-index: 2; transform-origin: center right; }
.un-caption { position: absolute; bottom: -8px; right: 0; font-size: 12.5px; color: var(--text-soft); }

/* the feed column behind the popup */
.feedcol {
  position: absolute; z-index: 1; inset-block: 0; inset-inline-start: 0; width: min(430px, 58%); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
}
.feed-track { display: grid; gap: 10px; will-change: transform; }
.post {
  display: grid; grid-template-rows: 1fr; padding: 7px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 55%, transparent); box-shadow: inset 0 0 0 1px var(--divider-soft);
  transition: grid-template-rows .7s var(--ease-out), background .5s ease, box-shadow .5s ease, opacity .5s ease;
}
.post-body { min-height: 0; overflow: hidden; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding-block: 7px; transition: opacity .35s ease; }
.post .av {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 600; color: var(--bg);
}
.post .who { display: flex; gap: 6px; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--text-subtle); white-space: nowrap; overflow: hidden; }
.post .who b { color: var(--text); font-weight: 600; }
.post .txt { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--text-secondary); }
.post .acts { display: flex; gap: 22px; margin-top: 8px; font-size: 11.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.post .promo { margin-top: 8px; font-size: 11.5px; color: var(--text-faint); }
.post .media { height: 84px; margin-top: 10px; border-radius: 10px; background: linear-gradient(135deg, var(--neutral-800), var(--neutral-900)); }
/* a post becomes a fragment bar: noise drops to 34%, the three that matter turn solid */
.post .bar { display: none; height: 7px; border-radius: 4px; width: var(--w, 60%); background: var(--text); opacity: .2; transition: background .5s ease, opacity .5s ease; }
.feedcol.is-fragments .post { grid-template-rows: 0fr; background: transparent; box-shadow: none; }
.feedcol.is-fragments .post-body { opacity: 0; }
.feedcol.is-fragments .post .bar { display: block; }
.feedcol.is-fragments .post[data-keep] .bar { opacity: 1; background: var(--accent); }
.feedcol.is-ads .post[data-ad] { opacity: .25; }
.feedcol.is-gone { opacity: .35; transition: opacity .8s ease; }

/* the popup's loading screen (popup.css), only needed here */
.pop .pct { font-size: 10.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.pop .load-center { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; }
.pop .load-orb { width: 64px; height: 64px; margin: 0 0 18px -7px; }
.pop .load-center h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.025em; }
.pop .load-sub { margin: 7px 0 0; font-size: 11.5px; color: var(--text-subtle); font-variant-numeric: tabular-nums; }
.pop .sweep { position: relative; height: 2px; margin-top: 16px; border-radius: 1px; overflow: hidden; background: var(--neutral-900); }
.pop .sweep span {
  position: absolute; inset: 0; width: 42%; border-radius: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  animation: pop-sweep 1.5s ease-in-out infinite;
}
.pop .steps { display: flex; flex-direction: column; gap: 11px; margin-top: 20px; list-style: none; }
.pop .step { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-ghost); transition: color .3s ease; }
.pop .step.done { color: var(--text-soft); }
.pop .step.active { color: var(--text); }
.pop .step-ico { flex: none; width: 14px; height: 14px; display: grid; place-items: center; }
.pop .step .ok-ico { display: none; color: var(--accent); }
.pop .step.done .ok-ico { display: block; }
.pop .step .todo { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--neutral-700); }
.pop .step.active .todo { border: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow-strong); animation: pop-pulse 1.1s ease-in-out infinite; }
.pop .step.done .todo { display: none; }
.pop .p-cancel { width: 100%; height: 36px; font-size: 12px; font-weight: 500; color: var(--text-subtle); }

@keyframes pop-sweep { 0% { transform: translateX(-102%) } 100% { transform: translateX(102%) } }

/* popup states cross-fade */
.pop .screen { opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility 0s linear .45s, transform .45s var(--ease-out); transform: translateX(14px); }
.pop[data-state="empty"] .s-empty,
.pop[data-state="loading"] .s-loading,
.pop[data-state="brief"] .s-brief { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pop .story { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--i) * 90ms + 180ms); }
.pop[data-state="brief"] .story { opacity: 1; transform: none; }
.pop .saved { transition: box-shadow .6s ease, border-color .6s ease; }
.pop .saved { transition: border-color .6s ease, box-shadow .6s ease, transform .6s var(--ease-out); }
.pop.is-time .saved { border-color: var(--accent-line); box-shadow: 0 14px 30px var(--shadow-color); transform: translateY(-2px); }
.pop .gain { opacity: 0; transform: translateY(4px) scale(.7); transition: opacity .3s ease, transform .45s var(--ease-pop); }
.pop.is-time .gain { opacity: 1; transform: none; }
.pop .split-keep { transform: scaleX(0); transition: transform .7s var(--ease-out) .35s; }
.pop .split-skip { transform: scaleX(0); transition: transform .8s var(--ease-out) .45s; }
.pop[data-state="brief"] .split-keep, .pop[data-state="brief"] .split-skip { transform: none; }
.pop .lvl-line span { transition: transform 1.2s var(--ease-out); }

/* ═══ where the AI runs ═══ */
.runs-table { margin-top: clamp(40px, 5vw, 64px); overflow-x: auto; }
.runs-table .ledger { min-width: 760px; }
.runs-table thead th { width: 26%; padding-bottom: 22px; }
.run-name { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.018em; color: var(--text); }
.run-sub { display: block; margin-top: 4px; padding-inline-start: 24px; font-size: 13.5px; font-weight: 400; color: var(--text-soft); }
.run-dot {
  display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; flex: none;
  box-shadow: inset 0 0 0 1.5px var(--neutral-700);
}
.run-dot.on { box-shadow: inset 0 0 0 1.5px var(--accent); }
.run-dot.on::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.runs-table tbody td:nth-child(2) { background: var(--accent-fill-subtle); }
.runs-table tbody tr:first-child td:nth-child(2) { border-top-color: var(--accent-line-soft); }
.runs-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 36px; }

/* ═══ questions ═══ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 40px; }

.closing { margin-top: clamp(24px, 4vw, 48px); }

/* ═══ responsive ═══ */
@media (max-width: 1180px) {
  .node.n1, .node.n3 { display: none; }
  .wires .wire-lines path:nth-child(odd), .wires .wire-pulses path:nth-child(odd) { display: none; }
}
@media (max-width: 960px) {
  .hero { height: auto; min-height: min(760px, calc(100svh - 84px)); padding: 124px 0 172px; }
  .hero-core { margin-top: 0; }
  .hero h1 { white-space: normal; }
  .play { top: 30px; height: 50px; font-size: 14px; }
  .play-ico { width: 38px; height: 38px; }
  .nodes, .wires { display: none; }
  .streaks { inset-block-start: 76%; }
  .feeds { width: 186px; }
  .feeds-label { font-size: 16px; }

  .unscroll { height: auto; }
  .un-sticky { position: static; height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 24px; }
  .un-more { grid-template-rows: 1fr; opacity: 1; }
  .un-step h3 { color: var(--text); }
  .un-step .un-mk i:nth-child(1) { transform: none; opacity: 1; }
  .un-step .un-mk i:nth-child(n+2) { transform: scaleX(0); opacity: 0; }
  .un-step.is-on { background: none; box-shadow: none; }
  .un-stage { height: auto; justify-content: center; padding-bottom: 32px; }
  .feedcol { display: none; }
  .un-caption { right: auto; left: 50%; translate: -50% 0; bottom: 0; white-space: nowrap; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; }
}
@media (max-width: 760px) {
  .runs-table { overflow: visible; }
  .runs-table .ledger { min-width: 0; }
  .runs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .runs-table tbody, .runs-table tr, .runs-table th, .runs-table td { display: block; }
  .runs-table tbody tr { padding: 22px 0 14px; border-top: 1px solid var(--divider-soft); }
  .runs-table tbody th { width: auto; padding: 0 0 8px; border: 0; }
  .runs-table td { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; padding: 8px 0; border: 0; background: none !important; }
  .runs-table td::before { content: attr(data-label); font-size: 14px; font-weight: 600; color: var(--text); }
  .runs-table td:nth-child(2)::before { color: var(--accent); }
}
@media (max-width: 560px) {
  .hero { padding: 108px 0 164px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 56px); }
  .hero .lede { margin-top: 18px; }
  .hero-ctas { flex-direction: column; align-self: stretch; margin-top: 32px; }
  .hero-ctas .btn { width: 100%; }
  .cue-text { display: none; }
  .cue { padding: 5px; }
  .feeds { right: 18px; bottom: 16px; width: 176px; gap: 4px; }
  .seg-name { font-size: 11.5px; }
  /* no room for the falling feed beside the switcher on a phone */
  .streaks { display: none; }
  .strip li { font-size: 19px; }
  .un-stage .pop { transform: scale(.9); transform-origin: top center; margin-bottom: -60px; }
}
@media (max-width: 400px) {
  .un-stage .pop { transform: scale(.82); margin-bottom: -108px; }
}
@media (max-height: 800px) and (min-width: 961px) {
  .un-stage .pop { transform: scale(.88); }
}
@media (max-height: 700px) and (min-width: 961px) {
  .un-stage .pop { transform: scale(.78); }
}

/* reduced motion: no fall, no pulses, no sticky theatre; the finished briefing stands */
@media (prefers-reduced-motion: reduce) {
  .wire-pulses { display: none; }
  .unscroll { height: auto; }
  .un-sticky { position: static; height: auto; padding-block: 40px; }
  .un-more { grid-template-rows: 1fr; opacity: 1; }
  .un-step h3 { color: var(--text); }
}
