.main[data-view="start"] { max-width: 1320px; }
.journey-layout { display: grid; gap: clamp(24px, 3vw, 44px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.journey-main { display: grid; gap: var(--sp-6); min-width: 0; }
.journey-eyebrow { margin: 0 0 -8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.journey-aside { display: none; }
@media (min-width: 1100px) {
  .journey-layout { grid-template-columns: 228px minmax(0, 1fr) minmax(300px, 400px); }
  .journey-layout > .journey-head { position: sticky; top: 92px; flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .journey-layout .journey-rail { flex-direction: column; flex-wrap: nowrap; gap: 4px; padding: 8px; border-radius: 18px; }
  .journey-layout .journey-rail li { position: relative; width: 100%; padding: 8px 12px 8px 8px; border-radius: 12px; }
  .journey-layout .journey-rail li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 34px; width: 2px; height: 14px; border-radius: 2px; background: var(--line-strong); }
  .journey-layout .journey-rail li.is-done:not(:last-child)::after { background: var(--mint); }
  .journey-aside { display: block; position: sticky; top: 92px; }
}
.journey-step { gap: var(--sp-5); }
.journey-step > p.muted { font-size: 15px; }

.jv-guide { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.jv-guide li { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); font-size: 13.5px; line-height: 1.4; animation: jv-guide 12s infinite; }
.jv-guide li:nth-child(2) { animation-delay: 4s; }
.jv-guide li:nth-child(3) { animation-delay: 8s; }
.jv-guide li > svg { color: var(--accent); }
.jv-guide-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line-strong); }
@keyframes jv-guide { 0%, 2% { border-color: var(--line); background-color: rgba(255, 255, 255, .015); } 5%, 30% { border-color: rgba(155, 140, 255, .6); background-color: var(--accent-soft); } 33%, 100% { border-color: var(--line); background-color: rgba(255, 255, 255, .015); } }

.jv { position: relative; overflow: hidden; min-height: 360px; border-radius: 20px; border: 1px solid transparent; background: linear-gradient(160deg, rgba(20, 22, 34, .94), rgba(9, 10, 16, .88)) padding-box, linear-gradient(135deg, rgba(134, 215, 191, .42), rgba(155, 140, 255, .55), rgba(243, 178, 122, .38)) border-box; box-shadow: 0 0 44px -18px rgba(155, 140, 255, .6), 0 30px 70px -40px rgba(0, 0, 0, .9); }
.jv-chrome { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.jv-chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); flex: none; }
.jv-chrome span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jv-body { position: relative; display: grid; gap: 14px; padding: 20px; }
.jv-code { display: grid; gap: 8px; }
.jv-line { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .09); width: 82%; }
.jv-line:nth-child(3n) { width: 58%; background: rgba(155, 140, 255, .35); }
.jv-line:nth-child(4n) { width: 70%; background: rgba(134, 215, 191, .3); }
.jv-line:nth-child(5n) { width: 44%; }
.jv-chip { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; color: var(--ink); background: rgba(155, 140, 255, .14); border: 1px solid rgba(155, 140, 255, .35); }
.jv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
.jv-btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: #238636; color: #fff; font-size: 12px; font-weight: 600; }

.jv-form { display: grid; gap: 8px; }
.jv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 40px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: var(--ink-3); }
.jv-row b { font-weight: 500; color: var(--ink); }
.jv-hl { position: absolute; left: 14px; right: 14px; border-radius: 13px; border: 1.5px solid var(--accent); box-shadow: 0 0 0 4px rgba(155, 140, 255, .14), 0 0 26px rgba(155, 140, 255, .45); opacity: 0; pointer-events: none; animation: jv-phase 12s infinite; }
.jv-hl-1 { top: 16px; height: 48px; }
.jv-hl-2 { top: 64px; height: 48px; animation-delay: 4s; }
.jv-hl-3 { top: 112px; height: 96px; animation-delay: 8s; }
@keyframes jv-phase { 0%, 2% { opacity: 0; } 5%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }

.jv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jv-tile { display: grid; gap: 12px; align-content: start; padding: 16px; min-height: 230px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--accent); animation: jv-glow 6s infinite; }
.jv-tile strong { color: var(--ink); font-weight: 500; font-size: 13px; }
.jv-tile:nth-child(2) { color: var(--mint); animation-delay: 3s; }
@keyframes jv-glow { 0%, 45%, 100% { border-color: var(--line); box-shadow: none; } 10%, 35% { border-color: rgba(155, 140, 255, .6); box-shadow: 0 0 30px -10px rgba(155, 140, 255, .7); } }

.jv-list { display: grid; gap: 8px; }
.jv-item { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); font-size: 12.5px; color: var(--ink-2); }
.jv-item > span { flex: 1; }
.jv-item.is-picked { animation: jv-pick 6s infinite; }
.jv-check { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: #07080c; transform: scale(0); animation: jv-pop-in 6s infinite; }
.jv-chip-late { justify-self: start; opacity: 0; animation: jv-late 6s infinite; }
@keyframes jv-pick { 0%, 15% { border-color: rgba(255, 255, 255, .06); background-color: rgba(255, 255, 255, .02); } 25%, 92% { border-color: rgba(134, 215, 191, .6); background-color: rgba(134, 215, 191, .08); } 100% { border-color: rgba(255, 255, 255, .06); } }
@keyframes jv-pop-in { 0%, 25% { transform: scale(0); } 32%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes jv-late { 0%, 40% { opacity: 0; transform: translateY(6px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.jv-scan { position: relative; overflow: hidden; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .05); }
.jv-beam { position: absolute; left: 0; right: 0; top: -40px; height: 40px; background: linear-gradient(180deg, transparent, rgba(134, 215, 191, .35), transparent); animation: jv-scan 3s linear infinite; }
@keyframes jv-scan { to { transform: translateY(240px); } }
.jv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jv-chips .jv-chip { opacity: 0; animation: jv-chip 7.5s infinite; }
.jv-chips .jv-chip:nth-child(2) { animation-delay: .6s; }
.jv-chips .jv-chip:nth-child(3) { animation-delay: 1.2s; }
.jv-chips .jv-chip:nth-child(4) { animation-delay: 1.8s; }
.jv-chips .jv-chip:nth-child(5) { animation-delay: 2.4s; }
@keyframes jv-chip { 0%, 8% { opacity: 0; transform: translateY(6px) scale(.96); } 14%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.jv-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jv-col { display: grid; gap: 8px; align-content: start; min-height: 230px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .05); }
.jv-col-title { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.jv-card { display: block; height: 44px; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .07); }
.jv-card-move { position: absolute; top: 108px; left: 8%; width: 25%; background: var(--accent-soft); border-color: rgba(155, 140, 255, .6); box-shadow: 0 10px 30px -10px rgba(155, 140, 255, .7); animation: jv-move 7s ease-in-out infinite; }
@keyframes jv-move { 0%, 12% { left: 8%; } 38%, 52% { left: 37.5%; } 78%, 92% { left: 67%; } 100% { left: 8%; } }

.jv-compose { display: grid; gap: 10px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); min-height: 180px; align-content: start; }
.jv-type { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); width: 0; animation: jv-type 8s steps(18) infinite; }
.jv-type-1 { --w: 62%; height: 12px; background: rgba(236, 239, 255, .5); }
.jv-type-2 { --w: 88%; animation-delay: .9s; }
.jv-type-3 { --w: 74%; animation-delay: 1.8s; }
.jv-type-4 { --w: 52%; animation-delay: 2.7s; }
@keyframes jv-type { 0% { width: 0; } 14%, 90% { width: var(--w); } 100% { width: 0; } }
.jv-btn-send { background: var(--ink); color: #07080c; animation: jv-pulse 8s infinite; }
@keyframes jv-pulse { 0%, 50%, 70%, 100% { box-shadow: none; } 58% { box-shadow: 0 0 0 6px rgba(155, 140, 255, .25), 0 0 30px rgba(155, 140, 255, .6); } }

.jv-pr { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.jv-pr strong { font-weight: 500; }
.jv-diff { display: inline-flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; }
.jv-diff b { color: var(--mint); font-weight: 500; }
.jv-diff i { color: var(--critical); font-style: normal; }
.jv-checks { display: grid; gap: 10px; }
.jv-checkrow { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.jv-checks .jv-dot { animation: jv-tick 8s infinite; }
.jv-checkrow:nth-child(2) .jv-dot { animation-delay: .9s; }
.jv-checkrow:nth-child(3) .jv-dot { animation-delay: 1.8s; }
@keyframes jv-tick { 0%, 10% { background: var(--line-strong); box-shadow: none; } 16%, 92% { background: var(--mint); box-shadow: 0 0 10px rgba(134, 215, 191, .8); } 100% { background: var(--line-strong); } }
.jv-btn-merge { background: #8957e5; animation: jv-pulse 8s infinite; }
.jv-browser { display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.jv-hero { display: block; height: 70px; border-radius: 8px; background: linear-gradient(120deg, rgba(155, 140, 255, .25), rgba(134, 215, 191, .18)); }

.jv-term { display: grid; gap: 12px; padding: 16px; border-radius: 12px; background: #05060a; border: 1px solid rgba(255, 255, 255, .06); font-family: var(--font-mono); font-size: 12px; min-height: 200px; align-content: start; }
.jv-term .jv-type-1 { height: auto; width: auto; background: none; color: var(--ink-2); overflow: hidden; white-space: nowrap; animation: jv-reveal 7s steps(28) infinite; }
@keyframes jv-reveal { 0% { max-width: 0; } 30%, 92% { max-width: 100%; } 100% { max-width: 0; } }
.jv-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); opacity: 0; animation: jv-late 7s infinite; animation-delay: 1.2s; }
.jv-ok .jv-dot { background: var(--mint); box-shadow: 0 0 10px rgba(134, 215, 191, .9); }

.jv-complete { display: grid; place-items: center; }
.jv-orbit { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px dashed rgba(155, 140, 255, .35); animation: jv-spin 14s linear infinite; }
.jv-orbit span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.jv-orbit span:nth-child(1) { top: -5px; left: 105px; }
.jv-orbit span:nth-child(2) { bottom: 30px; left: 6px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.jv-orbit span:nth-child(3) { bottom: 30px; right: 6px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.jv-done { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: #07080c; background-image: var(--aurora); box-shadow: 0 0 50px rgba(155, 140, 255, .6); }
@keyframes jv-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .jv *, .jv-guide li { animation: none !important; }
  .jv-hl-1, .jv-chips .jv-chip, .jv-chip-late, .jv-ok { opacity: 1; }
  .jv-check { transform: none; }
  .jv-type { width: var(--w); }
}
.journey-host { max-width: none; }
