/* ==========================================================================
   BPS Companion — app.bpshub.dev
   Sits on the hub's style.css (tokens, header, panels, plate). The page is the vault; the phones
   on it are the app itself, in the app's own light theme (mobile/app/qml/Theme.qml), so what is
   drawn here is what the phone shows.
   ========================================================================== */

.app-site {
	/* mobile/app/qml/Theme.qml */
	--a-accent: #1f6fb2;
	--a-accent-dark: #174f80;
	--a-bg: #f3f5f8;
	--a-surface: #ffffff;
	--a-text: #16202b;
	--a-label: #3a4654;
	--a-muted: #5a6675;
	--a-line: #e1e6ec;
	--a-border: #c9d2dc;
	--a-danger: #b42318;
	--a-good: #1a7f4b;
}

html { scroll-padding-top: 76px; }
/* The glow behind the hero phone reaches past the column; it must never widen the page. */
.app-site main { overflow-x: clip; }
.app-site .halls { margin-left: auto; }

.to-hub {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	padding: 7px 12px 7px 8px;
	border: 1px solid var(--hair-2);
	border-radius: 999px;
	color: var(--ink-2);
	font-size: 0.8rem;
	font-weight: 600;
}
.to-hub svg { width: 14px; height: 14px; }
.to-hub:hover { color: var(--diamond); border-color: var(--hair-3); }

/* ---------- hero ---------- */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 32px 56px;
	margin: 22px 0 40px;
}
.hero .eyebrow .stage { margin-left: 2px; }
.hero .display { font-size: clamp(2.3rem, 1.4rem + 2.9vw, 3.6rem); }
.hero-lede { max-width: 560px; margin: 18px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 1px; max-width: 560px; border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; background: var(--hair); }
.facts li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: baseline; padding: 11px 14px; background: rgba(14, 17, 23, 0.92); }
.fact-k { font: 650 0.62rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.fact-v { font-size: 0.86rem; color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: var(--platinum); color: #0a0d13; }
.btn-primary:hover { background: var(--diamond); color: #0a0d13; }
.btn-quiet { border-color: var(--hair-3); color: var(--ink); }
.btn-quiet:hover { border-color: var(--platinum); color: var(--diamond); }

.hero-phone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; }
/* A pool of the app's own blue behind the phone. */
.hero-phone::before {
	content: "";
	position: absolute;
	inset: -6% -10% 12%;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(31, 111, 178, 0.32), transparent 72%);
	filter: blur(6px);
}
.hero-phone figcaption, .flow-step figcaption { font-size: 0.74rem; color: var(--ink-3); text-align: center; max-width: 300px; }

/* ---------- the phone ---------- */

.phone {
	--w: 280px;
	width: var(--w);
	flex: none;
	padding: calc(var(--w) * 0.04);
	border-radius: calc(var(--w) * 0.14);
	background: linear-gradient(160deg, #2a3040, #10131a 55%, #1c2130);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 0 0 3px #07080c, 0 40px 70px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6);
	/* Everything inside scales with the phone: 1em is the app's 14 px at a 280 px phone. */
	font-size: calc(var(--w) / 20);
}
.phone-lg { --w: 300px; }
.phone-sm { --w: 232px; }
.phone-xs { --w: 176px; }

.phone-screen {
	position: relative;
	aspect-ratio: 9 / 19;
	overflow: hidden;
	border-radius: calc(var(--w) * 0.105);
	background: var(--a-bg);
	color: var(--a-text);
	font-family: Roboto, "Segoe UI", system-ui, sans-serif;
	line-height: 1.3;
}
.sb { display: flex; justify-content: space-between; align-items: center; padding: 0.7em 1.4em 0.3em; font-size: 0.78em; font-weight: 600; color: var(--a-text); }
.sb-icons { display: inline-flex; gap: 0.25em; align-items: flex-end; }
.sb-icons i { display: block; width: 0.28em; background: var(--a-text); border-radius: 1px; }
.sb-icons i:nth-child(1) { height: 0.45em; }
.sb-icons i:nth-child(2) { height: 0.65em; }
.sb-icons i:nth-child(3) { height: 0.85em; width: 1.3em; border-radius: 2px; margin-left: 0.25em; }

.scr { display: flex; flex-direction: column; gap: 0.55em; padding: 0.6em 1.15em 1em; }
.scr-center { justify-content: center; align-items: center; text-align: center; height: calc(100% - 2.4em); padding-bottom: 3em; }
.app-name { font-size: 0.78em; font-weight: 700; color: var(--a-accent); letter-spacing: 0.02em; margin-top: 0.4em; }
.scr-title { font-size: 1.32em; font-weight: 700; line-height: 1.2; color: var(--a-text); margin-top: 0.3em; }
.scr-title.back::before { content: "‹"; display: inline-block; margin-right: 0.45em; color: var(--a-accent); font-weight: 400; }
.scr-text { font-size: 0.82em; color: var(--a-label); }
.scr-text.small { font-size: 0.72em; color: var(--a-muted); }
.center { text-align: center; }
.lbl { font-size: 0.72em; color: var(--a-muted); }

.a-btn { display: block; text-align: center; padding: 0.72em 0; border-radius: 0.75em; font-size: 0.86em; font-weight: 600; }
.a-primary { background: var(--a-accent); color: #fff; }
.a-quiet { background: var(--a-surface); color: var(--a-accent); box-shadow: inset 0 0 0 1px var(--a-border); }
.a-link { color: var(--a-accent); font-weight: 600; font-size: 0.8em; }
.a-link.small { font-size: 0.72em; margin-top: -0.2em; }
.a-field-label { font-size: 0.72em; color: var(--a-label); margin-top: 0.15em; margin-bottom: -0.3em; }
.a-field { display: block; padding: 0.6em 0.75em; border-radius: 0.6em; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-border); font-size: 0.86em; }
.a-field.muted { color: var(--a-muted); font-family: ui-monospace, monospace; font-size: 0.74em; }
.a-field.big { font-size: 1.2em; font-weight: 600; }

/* home */
.home-node { display: flex; flex-direction: column; gap: 0.1em; margin-top: 0.3em; }
.hn-name { font-size: 1.15em; font-weight: 700; }
.hn-reach { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.72em; color: var(--a-muted); }
.dot-good { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--a-good); }
.allow { display: flex; flex-direction: column; gap: 0.3em; padding: 0.95em 1em; border-radius: 0.9em; background: linear-gradient(150deg, var(--a-accent), var(--a-accent-dark)); color: #fff; box-shadow: 0 0.6em 1.4em -0.6em rgba(23, 79, 128, 0.7); }
.allow-k { font-size: 0.78em; color: #d6e6f5; }
.allow-v { font-size: 1.9em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.allow-v small { font-size: 0.45em; font-weight: 600; }
.allow-row { display: flex; justify-content: space-between; font-size: 0.78em; margin-top: 0.35em; }
.allow-bar { height: 0.36em; border-radius: 0.2em; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.allow-bar i { display: block; height: 100%; background: #fff; border-radius: 0.2em; }
.allow-sub { font-size: 0.7em; color: #d6e6f5; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; }
.recent-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.4em; font-weight: 700; font-size: 1em; }
.hist { list-style: none; margin: 0; padding: 0; background: var(--a-surface); border-radius: 0.75em; box-shadow: inset 0 0 0 1px var(--a-line); }
.hist li { display: grid; grid-template-columns: 1fr auto; padding: 0.55em 0.8em; border-top: 1px solid var(--a-line); }
.hist li:first-child { border-top: 0; }
.h-l { font-size: 0.8em; font-weight: 600; }
.h-a { font-size: 0.8em; font-weight: 600; font-variant-numeric: tabular-nums; }
.h-a.neg { color: var(--a-text); }
.h-a.pos { color: var(--a-good); }
.h-w { grid-column: 1 / -1; font-size: 0.66em; color: var(--a-muted); }

/* pairing digits */
.digits { display: block; margin: 0.5em 0; padding: 0.55em 0; text-align: center; font: 700 1.9em ui-monospace, "Cascadia Mono", monospace; letter-spacing: 0.12em; color: var(--a-text); background: var(--a-surface); border-radius: 0.6em; box-shadow: inset 0 0 0 1px var(--a-border); }
.waiting { display: flex; align-items: center; gap: 0.5em; font-size: 0.74em; color: var(--a-label); }
.spin { width: 0.95em; height: 0.95em; border-radius: 50%; border: 0.15em solid var(--a-line); border-top-color: var(--a-accent); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* review */
.sum { display: flex; flex-direction: column; background: var(--a-surface); border-radius: 0.75em; box-shadow: inset 0 0 0 1px var(--a-line); }
.sum-to { display: flex; flex-direction: column; padding: 0.6em 0.8em; border-bottom: 1px solid var(--a-line); font-size: 0.9em; }
.sum-to .lbl { font-size: 0.78em; }
.addr { font: 0.7em ui-monospace, monospace; color: var(--a-muted); }
.sum-row { display: flex; justify-content: space-between; padding: 0.4em 0.8em; font-size: 0.78em; color: var(--a-label); }
.sum-row.total { color: var(--a-text); font-weight: 700; border-top: 1px solid var(--a-line); }
.pin-dots { display: flex; justify-content: center; gap: 0.6em; margin: 0.1em 0; }
.pin-dots i { width: 0.6em; height: 0.6em; border-radius: 50%; box-shadow: inset 0 0 0 0.12em var(--a-border); }
.pin-dots i.on { background: var(--a-accent); box-shadow: none; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35em; }
.pad i { display: grid; place-items: center; height: 1.95em; border-radius: 0.5em; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line); font-style: normal; font-size: 0.86em; font-weight: 600; }
.pad .k-ok { background: var(--a-accent); color: #fff; box-shadow: none; font-size: 0.74em; }
.pad .k-del::before { content: ""; width: 1em; height: 0.7em; background: var(--a-label); clip-path: polygon(30% 0, 100% 0, 100% 100%, 30% 100%, 0 50%); }

/* sent / locked */
.tick { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--a-good); color: #fff; font-size: 1.3em; font-weight: 700; }
.scr-center .a-btn { align-self: stretch; margin-top: 1em; }
.lock { display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 50%; background: #fde8e6; color: var(--a-danger); }
.lock svg { width: 1.5em; height: 1.5em; }

/* ---------- chapters ---------- */

.chapter { margin-top: 18px; }
.chapter .panel-head { position: relative; flex-wrap: wrap; gap: 4px 12px; }
.chapter .panel-code { color: var(--gem); border-color: color-mix(in srgb, var(--gem) 45%, transparent); }
.chapter .panel-head::after { content: ""; position: absolute; left: 16px; bottom: -1px; width: 64px; height: 1px; background: var(--gem); opacity: 0.7; }
.chapter .panel-meta { display: inline-flex; align-items: center; gap: 8px; }
.chapter h3 { font-family: var(--display); font-weight: 600; font-size: 1.22rem; color: var(--diamond); margin: 0 0 8px; line-height: 1.2; }
.chapter p { color: var(--ink-2); font-size: 0.88rem; line-height: 1.6; }
.chapter p:last-child { margin-bottom: 0; }
.chapter b { color: var(--ink); font-weight: 600; }
.chapter .fine { margin: 0; padding: 12px 18px 14px; font-size: 0.8rem; color: var(--ink-3); border-top: 1px solid var(--hair); }

/* 01 — the route */
.route {
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 26px 20px 10px;
}
.stop {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
}
.stop-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	color: var(--ink);
	background: linear-gradient(180deg, #1b202c, #12151e);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 22px -14px rgba(0, 0, 0, 0.9);
}
.stop-icon svg { width: 26px; height: 26px; }
.stop-icon.mono { font: 600 0.82rem var(--mono); color: var(--ink-2); }
.stop-phone .stop-icon { color: #8ec3f0; border-color: rgba(31, 111, 178, 0.6); box-shadow: 0 0 0 4px rgba(31, 111, 178, 0.14), 0 10px 22px -14px rgba(0, 0, 0, 0.9); }
.stop-home .stop-icon { color: var(--gem); border-color: color-mix(in srgb, var(--gem) 60%, transparent); box-shadow: 0 0 0 4px var(--gem-glow), 0 10px 22px -14px rgba(0, 0, 0, 0.9); }
.stop-name { font-size: 0.84rem; font-weight: 650; color: var(--ink); }
.stop-note { font-size: 0.7rem; color: var(--ink-3); max-width: 15ch; }

/* A hop is a wire with light travelling along it. */
.hop { flex: 0.55 1 0; min-width: 18px; position: relative; height: 52px; }
.hop i { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: linear-gradient(90deg, rgba(80, 135, 238, 0.25), rgba(80, 135, 238, 0.5)); overflow: hidden; }
.hop i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, #cfe0ff, transparent); animation: travel 2.4s linear infinite; }
.hop:nth-of-type(4) i::after { animation-delay: 0.3s; }
.hop:nth-of-type(6) i::after { animation-delay: 0.6s; }
.hop:nth-of-type(8) i::after { animation-delay: 0.9s; }
.hop-out i { background: linear-gradient(90deg, rgba(241, 140, 33, 0.35), rgba(241, 140, 33, 0.6)); }
.hop-out i::after { background: linear-gradient(90deg, transparent, #ffd9a8, transparent); animation-delay: 1.2s; }
@keyframes travel { to { left: 100%; } }

.explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.ex { padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, 0.02); border: 1px solid var(--hair); }
.ex h3 { display: flex; align-items: center; gap: 10px; }
.ex-n { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 6px; font: 600 0.7rem var(--mono); color: var(--gem); border: 1px solid color-mix(in srgb, var(--gem) 45%, transparent); }

/* 02 — steps */
.steps { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 18px; }
/* Pictures share one row and texts the next, so the three texts start level whatever is drawn above. */
.step { grid-row: span 2; display: grid; grid-template-rows: subgrid; justify-items: center; align-items: center; row-gap: 18px; padding: 22px 14px 18px; border-radius: var(--r); background: radial-gradient(260px 160px at 50% 0%, var(--gem-glow), transparent 75%), rgba(255, 255, 255, 0.015); border: 1px solid var(--hair); }
.step-copy { align-self: start; justify-self: stretch; padding: 0 6px; }
.step-n { display: block; margin-bottom: 6px; font: 600 0.64rem var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--gem); }

/* the desktop window in step 1 */
.desk { width: 100%; max-width: 300px; border-radius: 10px; overflow: hidden; background: var(--a-bg); color: var(--a-text); font-family: "Segoe UI", system-ui, sans-serif; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 50px -28px rgba(0, 0, 0, 0.95); }
.desk-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #e6eaf0; border-bottom: 1px solid var(--a-line); font-size: 0.66rem; color: var(--a-label); }
.desk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9d2dc; }
.desk-bar span { margin-left: 6px; }
.desk-body { padding: 14px; }
.desk-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px; border-radius: 10px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line); }
.desk-title { font-size: 0.86rem; font-weight: 700; align-self: flex-start; }
.desk-sub { font-size: 0.7rem; color: var(--a-muted); align-self: flex-start; margin-top: -4px; }
.qr { display: block; width: 132px; height: 132px; padding: 8px; margin: 6px 0 2px; background: #fff; color: var(--a-text); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--a-line); }
.qr svg { display: block; width: 100%; height: 100%; }
.ticket { font: 0.62rem ui-monospace, monospace; color: var(--a-muted); }

/* 03 — the payment flow */
.flow { display: flex; align-items: flex-start; justify-content: center; gap: 10px; padding: 26px 18px 8px; }
.flow-step { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 0 1 260px; min-width: 0; }
.flow-step figcaption { color: var(--ink-2); font-size: 0.8rem; line-height: 1.5; text-align: left; max-width: 240px; }
.flow-step figcaption b { color: var(--diamond); }
.flow-arrow { align-self: center; margin-top: -60px; color: var(--ink-3); flex: none; }
.flow-arrow svg { width: 26px; height: 26px; display: block; }

.receive { display: flex; align-items: center; gap: 22px; margin: 18px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.02); }
.receive-qr { flex: none; width: 92px; height: 92px; padding: 7px; border-radius: 8px; background: #fff; color: var(--a-text); }
.receive-qr svg { display: block; width: 100%; height: 100%; }

/* 04 — the rules, as rack units */
.rules-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; padding: 18px; }
.rules { list-style: none; margin: 0; padding: 6px 6px 6px 26px; position: relative; border-radius: 9px; background: linear-gradient(90deg, #0b0d12 0 22px, transparent 22px), #06080c; border: 1px solid var(--hair); box-shadow: inset 0 12px 30px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; gap: 4px; }
.rules::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 6px; background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(196, 210, 232, 0.13) 9px 14px, transparent 14px 32px); }
.rule { display: grid; grid-template-columns: 30px 108px 1fr; align-items: baseline; gap: 12px; padding: 12px 14px 12px 10px; border-radius: 5px; background: linear-gradient(180deg, #1b202c 0%, #151923 55%, #12151e 100%); border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.55); }
.rule-u { font: 500 0.6rem var(--mono); color: var(--ink-3); }
.rule-k { font-size: 0.8rem; font-weight: 650; color: var(--gem); }
.rule-v { font-size: 0.82rem; color: var(--ink-2); line-height: 1.5; }
.rule-v em { color: var(--ink); font-style: normal; font-weight: 600; }

.lost { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 22px 18px; border-radius: var(--r); border: 1px solid var(--hair); background: radial-gradient(260px 180px at 50% 0%, rgba(180, 35, 24, 0.14), transparent 75%), rgba(255, 255, 255, 0.015); }

/* 05 — get it */
.get { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.get-col { padding: 20px 22px; }
.get-col + .get-col { border-left: 1px solid var(--hair); }
.need { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 0.88rem; line-height: 1.55; }
.need li::marker { color: var(--gem); }
.builds { list-style: none; margin: 0 0 14px; padding: 0; border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; }
.builds li { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--hair); }
.builds li:first-child { border-top: 0; }
.b-k { font-size: 0.84rem; font-weight: 650; color: var(--ink); }
.b-v { font: 0.74rem var(--mono); color: var(--ink-3); }
.get-note { font-size: 0.8rem !important; color: var(--ink-3) !important; }

.plate-note a { color: var(--ink-2); }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.hop i::after, .spin { animation: none; }
	.hop i::after { display: none; }
}

/* ---------- narrow ---------- */

@media (max-width: 1100px) {
	.steps { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 14px; }
	.step { grid-row: auto; display: flex; flex-direction: row; align-items: center; gap: 22px; }
	.step-copy { align-self: center; }
	.step .desk { max-width: 240px; flex: none; }
	.flow { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 16px; }
	.flow-step { flex: 0 0 240px; scroll-snap-align: center; }
	.rules-wrap { grid-template-columns: 1fr; }
	.lost { flex-direction: row; text-align: left; }
}

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; }
	.explain { grid-template-columns: 1fr; }
	/* The route turns to run down the page. */
	.route { flex-direction: column; align-items: stretch; padding: 22px 18px 6px; }
	.stop { flex-direction: row; text-align: left; gap: 14px; }
	.stop-icon { width: 44px; height: 44px; flex: none; }
	.stop-name { flex: none; }
	.stop-note { max-width: none; }
	.hop { flex: none; height: 22px; width: 44px; min-width: 0; }
	.hop i { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; background: linear-gradient(180deg, rgba(80, 135, 238, 0.25), rgba(80, 135, 238, 0.5)); }
	.hop i::after { width: auto; left: 0; right: 0; height: 60%; top: -60%; background: linear-gradient(180deg, transparent, #cfe0ff, transparent); animation-name: travel-down; }
	.hop-out i { background: linear-gradient(180deg, rgba(241, 140, 33, 0.35), rgba(241, 140, 33, 0.6)); }
	.hop-out i::after { background: linear-gradient(180deg, transparent, #ffd9a8, transparent); }
	.get { grid-template-columns: 1fr; }
	.get-col + .get-col { border-left: 0; border-top: 1px solid var(--hair); }
}
@keyframes travel-down { to { top: 100%; } }

@media (max-width: 680px) {
	.app-site .facility-bar { gap: 12px; }
	.app-site .brand { min-width: 0; flex: 1 1 auto; }
	.app-site .brand-text { min-width: 0; }
	.app-site .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.to-hub { margin-left: auto; }
	.hero { margin-top: 8px; }
	.hero .display br { display: none; }
	.facts li { grid-template-columns: 1fr; gap: 2px; }
	.phone-lg { --w: 260px; }
	.step, .lost { flex-direction: column; align-items: center; }
	.step .desk { max-width: 300px; }
	.steps, .rules-wrap { padding: 12px; }
	.rule { grid-template-columns: 26px 1fr; }
	.rule-v { grid-column: 2; }
	.receive { flex-direction: column; align-items: flex-start; margin: 12px; }
	.get-col { padding: 18px 16px; }
	.builds li { grid-template-columns: 1fr auto; }
	.b-v { grid-column: 1; grid-row: 2; }
	.builds .stage { grid-row: 1 / 3; grid-column: 2; }
}

/* The download box on the app and relay pages (dl.js fills it in). */
.dl-page { margin: 0 0 14px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--hair); background: radial-gradient(240px 100px at 0% 0%, var(--gem-glow), transparent 75%), rgba(255, 255, 255, 0.02); }
.dl-page .dl-btn { padding: 10px 18px 10px 14px; font-size: 0.88rem; }
.dl-page .dl-btn svg { width: 16px; height: 16px; }
