/* Landing page, professional layer. Loaded after site.css on the public landing only.
   One memorable moment: the pinned "handover" scene. Everything else stays quiet. */
.page-landing .float-chip,.page-landing .orbits{display:none}
.page-landing .rocket{animation:none}
.page-landing .hero h1{letter-spacing:-.035em}

.hand{--bg:#060B2E;--panel:#0B1445;--line:#26357F;--ink:#EEF2FF;--mut:#A9B6EE;--you:#FFB547;--ext:#1FD6F5;--but:#7C8CFF;position:relative;height:420vh;background:var(--bg);color:var(--ink);margin-top:calc(var(--gap)*3)}
.hand .pin{position:sticky;top:0;height:100vh;min-height:620px;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,64px);align-items:center;padding:0 max(20px,calc((100vw - 1180px)/2))}
.hand h2{color:#fff;font-size:clamp(28px,3.6vw,46px);line-height:1.08;letter-spacing:-.03em;max-width:19ch}
.hand .lede{color:var(--mut);font-size:1.08rem;line-height:1.55;max-width:44ch;margin-top:16px}
.hand .phase{margin-top:28px;min-height:7.5em;max-width:44ch}
.hand .phase p{margin:0;display:none;color:#fff;font-size:1.05rem;line-height:1.5}
.hand .phase p b{display:block;font-family:var(--display);font-size:1.25rem;margin-bottom:6px}
.hand[data-phase="1"] .phase p[data-p="1"],.hand[data-phase="2"] .phase p[data-p="2"],.hand[data-phase="3"] .phase p[data-p="3"],.hand[data-phase="4"] .phase p[data-p="4"]{display:block}
.hand .rail{margin-top:22px;display:flex;gap:8px}
.hand .rail i{height:4px;flex:1;border-radius:2px;background:var(--line);transition:background .3s}
.hand[data-phase="1"] .rail i:nth-child(-n+1),.hand[data-phase="2"] .rail i:nth-child(-n+2),.hand[data-phase="3"] .rail i:nth-child(-n+3),.hand[data-phase="4"] .rail i{background:var(--you)}

.hand .lanes{display:grid;gap:14px}
.hand .lane{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.hand .lane header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.hand .lane h3{color:#fff;font-size:1rem;letter-spacing:0;font-family:var(--display)}
.hand .lane header span{font-size:.85rem;color:var(--mut)}
.hand .lane[data-who="butler"]{--c:var(--but)}
.hand .lane[data-who="you"]{--c:var(--you)}
.hand .lane[data-who="ext"]{--c:var(--ext)}
.hand .lane h3::before{content:"";display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--c);margin-right:9px}
.hand .tasks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.hand .tasks li{font-size:.9rem;line-height:1;padding:9px 12px;border-radius:8px;border:1px dashed var(--line);color:#7F8DC9;display:flex;align-items:center;gap:8px;transition:color .35s,border-color .35s,background .35s,transform .35s}
.hand .tasks li::before{content:"";width:8px;height:8px;border-radius:50%;border:1.5px solid currentColor;flex:none;transition:background .3s}
.hand .tasks li.on{color:#fff;border:1px solid var(--c);background:color-mix(in srgb,var(--c) 16%,transparent);transform:translateY(0)}
.hand .tasks li.on::before{background:var(--c);border-color:var(--c)}
.hand .lane .bar{height:3px;border-radius:2px;background:var(--line);margin-top:14px;overflow:hidden}
.hand .lane .bar i{display:block;height:100%;width:100%;background:var(--c);transform-origin:left;transform:scaleX(var(--lp,0))}
.hand .lane[data-who="you"] .note{margin:12px 0 0;font-size:.85rem;color:var(--mut)}
.hand .lane.live{box-shadow:0 0 0 1px var(--c),0 12px 40px -18px var(--c)}
.hand .hold{position:relative;margin:2px 0 -2px;text-align:center;font-size:.82rem;color:var(--mut);opacity:0;transition:opacity .4s}
.hand[data-phase="2"] .hold,.hand[data-phase="3"] .hold,.hand[data-phase="4"] .hold{opacity:1}

.hand .total{display:grid;grid-template-columns:1fr 1fr;gap:12px;opacity:.28;transition:opacity .5s}
.hand[data-phase="4"] .total{opacity:1}
.hand .total div{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.hand .total b{display:block;font-family:var(--display);font-size:1.8rem;color:#fff;line-height:1.1}
.hand .total span{font-size:.85rem;color:var(--mut)}
.hand .total .win{border-color:var(--you)}
.hand .total .win b{color:var(--you)}
.hand .est{font-size:.78rem;color:#7F8DC9;margin-top:8px}

/* phones and short screens: no pinning, the three lanes simply stack and light up as they scroll into view */
@media (max-width:900px),(max-height:640px){
  .hand{height:auto;padding:56px 20px}
  .hand .pin{position:static;height:auto;min-height:0;grid-template-columns:1fr;padding:0}
  .hand .phase{min-height:0}.hand .phase p{display:block;margin-bottom:14px}
  .hand .rail{display:none}
}
@media (prefers-reduced-motion:reduce){.hand .tasks li,.hand .total,.hand .hold{transition:none}}
.calm .hand{height:auto;padding:56px 20px}.calm .hand .pin{position:static;height:auto;min-height:0}.calm .hand .phase p{display:block;margin-bottom:14px}.calm .hand .rail{display:none}
.hand .tasks li:focus-visible,.hand a:focus-visible{outline:3px solid var(--you);outline-offset:2px}

.scan{padding:clamp(40px,6vw,72px) 0;background:#F4F7FF}
.scan .wrap{max-width:860px}
.scan h2{font-size:clamp(26px,3.2vw,40px);letter-spacing:-.03em}
.scan p{color:#43507F;max-width:60ch;margin:12px 0 0}
.scan form{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.scan input{flex:1 1 280px;min-height:48px;padding:0 14px;border:1.5px solid #C6D0F3;border-radius:10px;font-size:1rem;background:#fff;color:#061A66}
.scan input:focus-visible{outline:3px solid #FF6A14;outline-offset:2px}
.scan .scan-err{color:#A4261C;font-weight:600}
.scan .scan-out{margin-top:24px;background:#fff;border:1px solid #C6D0F3;border-radius:14px;padding:20px 22px}
.scan .scan-out h3{font-size:1.2rem;margin:0}
.scan .scan-out .big{display:flex;gap:28px;flex-wrap:wrap;margin:14px 0}
.scan .scan-out .big b{display:block;font-family:var(--display);font-size:2rem;line-height:1.1;color:#061A66}
.scan .scan-out .big span{font-size:.88rem;color:#43507F}
.scan .scan-out ul{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.scan .scan-out li{display:flex;gap:9px;align-items:center;font-size:.95rem}
.scan .scan-out li::before{content:"";width:10px;height:10px;border-radius:50%;background:#13774A;flex:none}
.scan .scan-out li.no::before{background:#F29A93}
.scan .scan-out .top{font-size:.92rem;color:#43507F;margin-top:12px}
