/* sidebyside.audio/tandem: the company mark as a poster, the page as an arrangement. */
@font-face {
  font-family: "Funnel Display";
  src: url("../fonts/funnel-display.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --bg: #0d0e12;
  --card: #16171c;
  --line: #2a2c36;
  --text: #f2f2f5;
  --dim: #a4a7b4;
  --faint: #8a8d9a;
  --blue: #3d8bff;
  --violet: #8b5cff;
  --violet-strong: #7445f0; /* buttons: white text on it passes 4.5:1 */
  --coral: #ff5a4e;
  --ok: #3fd28b;
  --warn: #ffb547;
  --display: "Funnel Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0; }
p { margin: 0; }
.blue { --c: var(--blue); --tint: rgba(61, 139, 255, .16); --edge: rgba(61, 139, 255, .5); --ink: #a9cbff; }
.violet { --c: var(--violet); --tint: rgba(139, 92, 255, .16); --edge: rgba(139, 92, 255, .5); --ink: #d2c2ff; }
.indigo { --c: #6474ff; --tint: rgba(100, 116, 255, .16); --edge: rgba(100, 116, 255, .5); --ink: #b8c1ff; }
.coral { --c: var(--coral); --tint: rgba(255, 90, 78, .15); --edge: rgba(255, 90, 78, .5); --ink: #ffb6b0; }

/* ---------- pills */
.pill {
  display: inline-block; padding: 13px 24px; border-radius: 99px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.pill:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pill.compact { padding: 9px 18px; font-size: 14px; }
.pill.violet { background: var(--violet-strong); color: #fff; }
.pill.outline { border: 1px solid #3a3d4a; color: var(--text); font-weight: 500; }
.pill.disabled { opacity: .5; pointer-events: none; }

/* ---------- poster */
.poster { position: relative; height: clamp(420px, 36vw, 560px); overflow: hidden; color: var(--bg); }
.poster .dots { position: absolute; left: 0; top: 72px; width: 100%; height: calc(100% - 72px); }
.nav {
  position: relative; z-index: 1; height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3.4vw, 48px); background: var(--bg); color: var(--text);
}
.brand { font: 800 27px var(--display); letter-spacing: -.04em; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 700; }
.nav nav a:not(.pill) { text-decoration: none; }
.poster h1 { position: absolute; inset: 0; font-size: clamp(56px, 10.8vw, 156px); line-height: .86; text-transform: uppercase; letter-spacing: -.05em; pointer-events: none; }
.poster h1 span { position: absolute; top: 40%; }
.poster h1 .l { left: clamp(16px, 6.5vw, 100px); }
.poster h1 .r { right: clamp(16px, 6.5vw, 100px); text-align: right; }

/* ---------- timeline: 16 bars across the page */
.timeline { --p: .53; --draw: 1; position: relative; padding: 0 16px; }
.stage {
  position: relative; padding-bottom: 8px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
  background-size: calc(100% / 16) 100%, calc(100% / 64) 100%;
}
.ruler { position: relative; height: 60px; border-bottom: 1px solid #23252d; background: var(--bg); margin: 0 -16px; padding: 0 16px; }
.sections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding-top: 12px; }
.sec {
  height: 22px; padding: 0 10px; border-radius: 99px; display: flex; align-items: center; gap: 7px;
  background: var(--tint); box-shadow: inset 0 0 0 1px var(--edge); color: var(--ink);
  font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7;
  transition: background .25s, color .25s, opacity .25s;
}
.sec i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.sec.on { background: var(--c); box-shadow: none; color: var(--bg); opacity: 1; }
.sec.on i { background: var(--bg); }
.bars { position: absolute; left: 16px; right: 16px; bottom: 0; display: grid; grid-template-columns: repeat(16, 1fr); }
.bars span { height: 20px; padding-left: 5px; border-left: 1px solid #343744; font: 10px/14px var(--mono); color: #5d606d; }

.cta { display: flex; gap: 12px; flex-wrap: wrap; }

.lanes { position: relative; display: grid; gap: 6px; }
.lane { position: relative; height: 80px; }
.who { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.who em { display: block; font: 10.5px var(--mono); color: #7d8090; font-style: normal; font-weight: 400; }
.av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--bg); font-size: 12px; font-weight: 800; }
.cap {
  position: absolute; top: 13px; height: 54px;
  left: calc((var(--from) - 1) / 16 * 100% + 3px); width: calc((var(--to) - var(--from)) / 16 * 100% - 6px);
  padding: 0 22px 0 20px; border-radius: 99px; background: var(--c);
  display: flex; align-items: center; gap: 14px; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6);
}
.cap b { flex: none; font-size: 13px; font-weight: 800; color: var(--bg); }
.art { position: relative; flex: 1; height: 34px; display: flex; align-items: center; gap: 2px; }
.art span { flex: 1; border-radius: 2px; background: rgba(13, 14, 18, .38); }
.art i { position: absolute; height: 5px; border-radius: 99px; background: rgba(13, 14, 18, .42); }

.handback {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  clip-path: inset(-20px calc(100% - 50% - var(--draw) * 25%) -20px 0);
}
.handback path { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.handback .trail { stroke-dasharray: 6 6; }
.handback-label {
  position: absolute; left: calc(62.5% - 40px); top: 46%; padding: 4px 10px; border-radius: 99px;
  background: var(--text); color: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  opacity: var(--draw);
}

.playhead { position: absolute; top: 40px; bottom: 0; left: calc(var(--p) * 100%); width: 0; pointer-events: none; }
.playhead::after { content: ""; position: absolute; top: 4px; bottom: 0; left: -1px; width: 1.5px; background: linear-gradient(#fff 85%, rgba(255, 255, 255, 0)); }
.playhead i { position: absolute; top: -5px; left: -6px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #fff; }

/* ---------- cards with a colour strip */
.card {
  position: relative; background: var(--card); border-radius: 12px; overflow: hidden;
  box-shadow: inset 0 0 0 1px #34363f, 0 14px 30px -18px rgba(0, 0, 0, .8); padding-bottom: 22px;
  transition: opacity .25s, box-shadow .25s;
}
.card > :not(.strip) { margin-left: 22px; margin-right: 22px; }
.strip { display: block; height: 26px; padding-left: 14px; background: var(--c); color: var(--bg); font: 700 11px/26px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.card h3 { margin-top: 18px; margin-bottom: 8px; font-size: 26px; letter-spacing: -.02em; }
.card p { color: var(--dim); font-size: 15.5px; }
.card code { font: 13.5px var(--mono); color: var(--text); }

.steps { list-style: none; margin: 0; padding: 34px 0 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps .card { opacity: 1; }
.steps .card.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--c), 0 18px 40px -16px var(--edge); }

/* ---------- sections below the timeline */
.download { padding: 110px clamp(16px, 6.5vw, 100px); }
.features h2, .pricing h2, .download h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 36px; }
.pricing h2 span { color: var(--dim); }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid .card p + p, .grid .card ul + p, .grid .card pre + p { margin-top: 12px; }

.checks { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.checks li { padding: 11px 14px 11px 38px; border-radius: 14px; background: var(--bg); font-size: 14px; position: relative; }
.checks li::before { position: absolute; left: 14px; top: 11px; font-weight: 800; }
.checks .bad::before { content: "✕"; color: var(--coral); }
.checks .warn::before { content: "!"; color: var(--warn); left: 17px; }
.checks .ok::before { content: "✓"; color: var(--ok); }
.changes { margin-top: 0; margin-bottom: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg); font: 13.5px/1.8 var(--mono); white-space: pre-wrap; }
.changes .dim { color: var(--faint); }
.changes .add { color: var(--ok); }
.changes .you { color: #8ab8ff; }
.changes .del { color: #ff8a80; }
.card .big { font: 800 64px/.95 var(--display); letter-spacing: -.05em; color: var(--text); margin: 4px 22px 16px; }

.plan h3 { font-size: 44px; }
.plan h3 small { font-size: 17px; color: var(--dim); letter-spacing: 0; font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin-top: 14px; margin-bottom: 18px; }
.plan li { position: relative; padding: 5px 0 5px 24px; color: var(--dim); font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan .note { font-size: 13.5px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 18px; }
.download .card p { margin-bottom: 18px; }
.download .card .win-note { margin-top: 16px; margin-bottom: 0; font-size: 14px; }
.download .card .win-note b { color: var(--text); font-weight: 600; }
.download details { margin-top: 18px; color: var(--dim); font-size: 15px; }
.download summary { cursor: pointer; color: var(--text); }
.download details p { margin-top: 8px; }
.small { margin-top: 20px; color: var(--faint); font-size: 14px; }
.soon { margin: -16px 0 28px; color: var(--dim); font-size: 18px; }

footer { margin: 0 clamp(16px, 6.5vw, 100px); padding: 28px 0 48px; border-top: 1px solid #23252d; color: var(--faint); font-size: 13.5px; }
footer p + p { margin-top: 6px; }

/* ---------- poster bands */
.band {
  position: relative; overflow: hidden; color: var(--bg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  min-height: 460px; padding: 72px clamp(16px, 6.5vw, 100px);
  /* below 1280px the circles move out with the screen, so they never sit under text */
  --shift: max(0px, (1280px - 100vw) * .45);
}
.band.ink { background: var(--bg); color: var(--text); }
.band.ink2 { background: #131419; color: var(--text); }
.band.ink p, .band.ink2 p { color: #c9cbd3; }
.band .kicker { color: var(--faint); }
.band.paper { background: #f1eee8; align-items: start; grid-template-columns: 1fr; gap: 28px; }
.band > * { position: relative; }
.band.flip .band-title { order: 2; text-align: right; }
.band.flip { padding-left: clamp(16px, 12vw, 180px); }
.band:not(.flip):not(.paper) p, .band:not(.flip):not(.paper) .band-body { max-width: 440px; }
.band .kicker { display: block; margin-bottom: 14px; font: 700 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.band h2 { font-size: clamp(64px, 10vw, 148px); line-height: .86; letter-spacing: -.05em; text-transform: uppercase; }
.band p { font-size: 20px; line-height: 1.5; font-weight: 500; max-width: 520px; }
.band .disc { position: absolute; width: var(--w); height: var(--h); border-radius: 50%; background: var(--c); }
.band .pair { position: absolute; right: calc(-380px - var(--shift)); bottom: -200px; width: 540px; }
.band-body { display: flex; flex-direction: column; gap: 18px; }
.band.violet .band-body { max-width: 460px; }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.rows li { position: relative; padding: 13px 18px 13px 46px; border-radius: 16px; background: #1d1e25; color: var(--text); font-size: 15px; }
.rows li b { position: absolute; left: 18px; top: 13px; }
.rows li span { display: block; color: var(--dim); font-size: 14px; }
.rows .bad { color: var(--coral); }
.rows .warn { color: var(--warn); }
.rows .ok { color: var(--ok); }
.band .changes { margin: 0; color: var(--text); background: #1d1e25; }
.band .aside { font-size: 16px; }
.band.paper h2 { font-size: clamp(64px, 9vw, 140px); }
.plans { max-width: 980px; }
.plan .tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: #e4e1da; color: #3c3e45; font: 700 11px var(--mono); letter-spacing: .06em; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; }
.plan .price { font: 800 44px/1.1 var(--display); letter-spacing: -.04em; margin: 6px 0 4px; max-width: none; }
.plan .price small { font-size: 16px; font-weight: 500; color: #55585f; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 16px; }
.plan li { position: relative; padding: 4px 0 4px 22px; font-size: 14.5px; color: #3c3e45; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: #1f9d5f; font-weight: 800; }
.plan .note { font-size: 13px; color: #6b6e75; border-top: 1px solid #e4e1da; padding-top: 12px; margin: 0 0 16px; max-width: none; font-weight: 400; }
.plan .pill { margin-top: auto; align-self: flex-start; }
.pill.dark { background: var(--bg); color: var(--text); }
.band.paper .small { grid-column: 1 / -1; color: #5c5f66; font-size: 13.5px; font-weight: 400; margin: 0; }

/* ---------- what it is, right under the poster */
.lede { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px clamp(16px, 6.5vw, 100px) 34px; border-bottom: 1px solid #23252d; }
.lede .promise { max-width: 640px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; font-weight: 600; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; color: var(--dim); font-size: 14.5px; }
.facts li::before { content: "·"; margin-right: 8px; color: var(--faint); }
.facts li:first-child::before { content: none; }

/* ---------- before you start */
.before { margin-top: 48px; max-width: 760px; }
.before h3 { font-size: 30px; margin-bottom: 14px; }
.before ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--dim); font-size: 16px; }
.before b { color: var(--text); }

/* ---------- keyboard and screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 99px; background: var(--text); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--warn); outline-offset: 3px; border-radius: 6px; }
footer .help a { color: var(--text); }

/* ---------- smaller screens */
@media (max-width: 1100px) {
  .who em { display: none; }
  .who span { font-size: 12px; }
}
@media (max-width: 900px) {
  .bars, .lanes, .playhead { display: none; }
  .ruler { height: auto; padding-bottom: 12px; }
  .sections { grid-template-columns: repeat(2, 1fr); }
  .lede { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 72px; }
  .steps .card { opacity: 1; }
  .grid.three { grid-template-columns: 1fr; }
  .band, .plans { grid-template-columns: 1fr; gap: 28px; }
  .band { min-height: 0; padding-top: 56px; padding-bottom: 64px; }
  .band.flip .band-title { order: 0; text-align: left; }
  .band.flip { padding-left: 16px; }
  .band .disc, .band .pair { display: none; }
  .nav nav a:not(.pill) { display: none; }
}
@media (max-width: 600px) {
  .poster { height: 400px; }
  .poster h1 { font-size: 17vw; }
  .poster h1 .l { top: 22%; }
  .poster h1 .r { top: 58%; }
  .steps, .grid.two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill, .card, .sec { transition: none; }
}

/* ---------- what's next: planned features */
.soon-tag { margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 181, 71, .14); color: var(--warn); font-style: normal; font-size: 11px; letter-spacing: .06em; }
.player { display: flex; flex-direction: column; gap: 8px; max-width: 520px; padding: 14px; border-radius: 16px; background: #1d1e25; }
.stem { position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 10px; height: 38px; }
.stem > span { font: 700 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.wave { height: 100%; display: flex; align-items: center; gap: 1px; border-radius: 8px; padding: 0 6px; background: var(--tint); }
.wave span { flex: 1; border-radius: 1px; background: var(--c); opacity: .75; }
.pin { position: absolute; left: calc(66px + (100% - 66px) * var(--at)); top: -6px; bottom: -6px; width: 2px; background: var(--text); z-index: 1; }
.pin i { position: absolute; top: -4px; left: -9px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--bg); font: 800 10px/1 var(--display); box-shadow: 0 0 0 2px #1d1e25; }
.pin > span { position: absolute; left: 16px; top: -10px; white-space: nowrap; padding: 6px 10px; border-radius: 10px; background: var(--text); color: var(--bg); font: 700 12px/1.3 -apple-system, system-ui, sans-serif; }
.pin em { display: block; font-style: normal; font-weight: 500; color: #3c3e45; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.node { position: relative; padding: 11px 16px; border-radius: 14px; background: #1d1e25; box-shadow: inset 4px 0 0 var(--c); color: var(--dim); font-size: 14.5px; }
.node b { display: block; color: var(--text); font-size: 15px; }
.node code { font: 12.5px var(--mono); color: var(--ink); }
.node + .node::before { content: ""; position: absolute; left: 26px; top: -22px; height: 22px; border-left: 2px dashed #4a4d5a; }
.rows .live { color: var(--violet); }
@media (max-width: 600px) {
  .pin > span { display: none; }
}

/* ---------- the company above the product */
.brand-row { display: flex; align-items: center; gap: 12px; }
.company { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px var(--display); letter-spacing: -.04em; }
.slash { color: #4a4d5a; font: 300 26px var(--display); }
.solo-start { color: var(--dim); font-size: 16px; margin-bottom: 8px; }
.solo-start b { color: var(--text); }

/* the circle and the square slide in and meet, once */
.h-c { animation: heroL 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.h-r { animation: heroR 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.h-v { animation: heroV 1.7s ease both; }
.poster h1 span { animation: heroT 1.7s cubic-bezier(.2, .8, .2, 1) both; }
.poster h1 .r { animation-duration: 1.9s; }
@keyframes heroL {
  from { transform: translateX(-360px); opacity: 0 }
  to { transform: translateX(0); opacity: 1 }
}
@keyframes heroR {
  from { transform: translateX(360px); opacity: 0 }
  to { transform: translateX(0); opacity: 1 }
}
@keyframes heroV {
  0%, 62% { opacity: 0 }
  100% { opacity: 1 }
}
@keyframes heroT {
  0%, 50% { opacity: 0; transform: translateY(24px) }
  100% { opacity: 1; transform: translateY(0) }
}
@media (max-width: 900px) {
  .company span, .slash { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-c, .h-r, .h-v, .poster h1 span { animation: none; }
}

/* ---------- the timeline, step by step */
.cap { transition: opacity .3s; }
.cap[data-at] { opacity: .3; }
.cap[data-at].lit { opacity: 1; }
.av-mark { flex: none; }
.turn {
  position: absolute; top: calc(var(--row) * 86px + 2px); height: 76px;
  left: calc((var(--from) - 1) / 16 * 100%); width: calc((var(--to) - var(--from)) / 16 * 100%);
  border-radius: 14px; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--edge); opacity: 0; transition: opacity .3s;
}
.turn b {
  position: absolute; left: 10px; top: -10px; padding: 2px 9px; border-radius: 99px; background: var(--c); color: var(--bg);
  font: 700 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.timeline[data-step="1"] .turn.blue, .timeline[data-step="2"] .turn.blue, .timeline[data-step="3"] .turn.blue, .timeline[data-step="3"] .turn.coral { opacity: 1; }
.ver { position: absolute; top: 0; height: 80px; left: calc((var(--at) - 1) / 16 * 100%); z-index: 1; transition: opacity .3s; }
.ver::before { content: ""; position: absolute; left: -1px; top: 13px; width: 2px; height: 54px; background: rgba(13, 14, 18, .55); }
.ver i { position: absolute; left: -8px; top: 32px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--bg); transition: box-shadow .3s; }
.ver > span { position: absolute; left: -6px; top: -4px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.ver em { font: normal 400 11px var(--mono); color: var(--dim); margin-left: 6px; }
.ver[data-at] { opacity: 0; }
.ver[data-at].lit { opacity: 1; }
.timeline[data-step="2"] .ver.new i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 8px rgba(61, 139, 255, .4); }
.shared {
  position: absolute; left: calc(2.4 / 16 * 100%); top: -6px; padding: 2px 9px; border-radius: 99px; background: var(--blue); color: var(--bg);
  font: 700 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s;
}
.timeline[data-step="0"] .shared { opacity: 1; }
.timeline .steps .card { opacity: .6; }
.timeline .steps .card.on { opacity: 1; }

/* a phone: no 16-bar grid, so each card keeps a small picture of its moment */
.mini { display: none; position: relative; height: 84px; margin-top: 14px; border-radius: 12px; background: var(--bg); overflow: hidden; }
.mini i { position: absolute; font-style: normal; }
.m-clip { height: 22px; box-sizing: border-box; padding: 0 10px; border-radius: 99px; background: var(--c); color: var(--bg); font-size: 11px; font-weight: 800; line-height: 22px; white-space: nowrap; overflow: hidden; }
.m-clip.faint { opacity: .45; }
.m-turn { height: 34px; border-radius: 10px; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--edge); }
.m-dot { width: 12px; height: 12px; margin: 5px 0 0 -6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--bg); }
.m-note { left: 48%; top: 56px; font: 11px var(--mono); color: #d2c2ff; white-space: nowrap; }
@media (max-width: 900px) {
  .mini { display: block; }
  .timeline .steps .card { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cap, .turn, .ver, .ver i, .shared { transition: none; }
}

/* a phone: the facts one per line, so no line starts with a stray dot */
@media (max-width: 640px) {
  .facts { flex-direction: column; gap: 4px; }
  .facts li::before { content: none; }
}
