/* Homepage v6 (2026-10-19): the hero's animated app mock and the on-chain proof section. Loaded after q5.css. */

/* ---- hero: one full screen; the live coin belt runs along its foot ---- */
.h5 { min-height: 100svh !important; flex-direction: column; }
.h5 > .h5-copy { flex: 1 0 auto; }
.h5-belt { position: relative; z-index: 1; width: 100%; padding: 0 0 var(--s5) !important; margin-top: auto; }
.h5-belt .k5 { color: rgba(255, 231, 214, .72) !important; }
.h5-belt .sx-coin { background: rgba(22, 17, 18, .55) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ---- the tour: the real app, step by step ---- */
.tour6 .t6 { margin: var(--s6) auto 0; max-width: 1120px; outline: none; }
.t6-stage { position: relative; border-radius: 20px; overflow: hidden; background: #141113;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 120px -50px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(255, 109, 41, .25); }
.t6-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: #1A1517;
  font: 500 12px/1 var(--mono, ui-monospace, monospace); color: var(--grey-2); }
.t6-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.t6-bar span { margin-left: 10px; }
.t6-track { position: relative; list-style: none; margin: 0; padding: 0; aspect-ratio: 16 / 10; touch-action: pan-y; }
.t6-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.t6-slide.on { opacity: 1; pointer-events: auto; }
.t6-shot { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: #161316; }
.t6-shot img { width: 100%; height: 100%; object-fit: contain; transform-origin: var(--fx) var(--fy); transform: scale(1);
  transition: transform 2.2s cubic-bezier(.45, 0, .2, 1); will-change: transform; }
.t6-slide.on.zoom .t6-shot img { transform: scale(var(--z)); }
.t6-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s4); margin-top: var(--s4); }
.t6-caps { position: relative; min-height: 96px; }
.t6-cap { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; pointer-events: none; max-width: 62ch; }
.t6-cap.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.t6-n { font: 500 12px/1 var(--mono, ui-monospace, monospace); letter-spacing: .1em; color: var(--ember-2); }
.t6-cap h3 { margin: 10px 0 6px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -.02em; color: var(--white); }
.t6-cap p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--grey); }
.t6-nav { display: flex; align-items: center; gap: 12px; }
.t6-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); border: 0; cursor: pointer; transition: background .15s; }
.t6-arrow:hover { background: rgba(255, 255, 255, .1); }
.t6-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t6-dots { display: flex; gap: 6px; }
.t6-dot { width: 22px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.t6-dot i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; position: relative; }
.t6-dot i::after { content: ""; position: absolute; inset: 0; background: var(--ember-c); transform: scaleX(0); transform-origin: left; }
.t6-dot.done i::after { transform: scaleX(1); }
.t6-dot.on i::after { animation: t6fill var(--t6-ms, 6500ms) linear forwards; }
.t6.paused .t6-dot.on i::after { animation-play-state: paused; }
@keyframes t6fill { to { transform: scaleX(1); } }
.tour6 .fine5 { margin-top: var(--s5); }
@media (max-width: 760px) {
  .t6-foot { grid-template-columns: 1fr; }
  .t6-nav { justify-content: space-between; }
  .t6-dot { width: 14px; }
  .t6-caps { min-height: 128px; }
  .t6-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .t6-shot img { transition: none; }
  .t6-slide.on.zoom .t6-shot img { transform: scale(1); }
  .t6-dot.on i::after { animation: none; transform: scaleX(1); }
}

/* ---- proof: one real trade, linked to the chain ---- */
.proof6 { margin-top: var(--s4); padding: 20px 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 109, 41, .07), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(255, 140, 90, .22); }
.proof6-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.proof6-head .coin { font-size: 20px; font-weight: 600; color: var(--white); letter-spacing: -.02em; }
.proof6-head .when { font: 500 12px/1.4 var(--mono, ui-monospace, monospace); color: var(--grey-2); }
.proof6-flow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.proof6-flow > div { display: grid; gap: 4px; }
.proof6-flow small { font: 500 10.5px/1 var(--mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); }
.proof6-flow b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.proof6-flow span { font-size: 13px; color: var(--grey); }
.proof6-flow .hot { margin-left: auto; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .1); }
.proof6-flow .hot b { color: var(--ember-2); } .proof6-flow .hot span { color: var(--cream); }
.proof6-flow svg { width: 34px; height: 12px; fill: none; stroke: var(--grey-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.proof6-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; }
.proof6-links a { font: 500 12.5px/1.4 var(--mono, ui-monospace, monospace); color: var(--ember-2); }
.proof6-links a:hover { color: var(--cream); }
@media (max-width: 520px) { .proof6-flow .hot { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; } }


/* critique pass 1 */
.proof6-sub { margin: var(--s2) 0 0; font: 500 12.5px/1.5 var(--mono, ui-monospace, monospace); letter-spacing: .02em; color: var(--cream); }
#proof .fine5 { font-size: 14.5px !important; color: #CFC4BE !important; line-height: 1.6; }
.h5-copy > p:not(.h5-micro) { position: relative; }
.h5-copy > p:not(.h5-micro)::before { content: ""; position: absolute; inset: -24px -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(22, 19, 22, .55), rgba(22, 19, 22, 0)); }
@media (max-width: 640px) {
  .h5 h1 em { display: block; font-size: .92em; }
  .proof6-flow { display: grid; grid-template-columns: 1fr auto 1fr; }
  .proof6-flow .hot { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 4px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .proof6-flow .hot small { margin-right: auto; }
}

.h5-copy { min-width: 0; max-width: 100%; }
.proof6-note { margin: 14px 0 0; font-size: 13.5px; color: #CFC4BE; }

/* the tour on wide screens: words and controls on the left, the screen on the right, one view */
@media (min-width: 980px) {
  .tour6 .t6 { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "foot stage"; gap: var(--s6); align-items: center; }
  .t6-stage { grid-area: stage; }
  .t6-foot { grid-area: foot; grid-template-columns: 1fr; margin-top: 0; gap: var(--s5); align-content: center; }
  .t6-caps { min-height: 210px; }
  .t6-cap h3 { font-size: 28px; }
  .t6-nav { justify-content: flex-start; flex-wrap: wrap; }
  .t6-dots { order: 3; width: 100%; }
}
