/* Home page additions, loaded after site.css */

/* Old way vs Saral Launch: two lanes race once */
.vs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1140px;margin:clamp(44px,5.5vw,68px) auto 0}
.lane{position:relative;display:flex;flex-direction:column;border-radius:var(--r-l);padding:clamp(22px,2.4vw,32px)}
.lane-old{background:var(--surface-2);border:1.5px dashed #BBC4D1}
.lane-new{background:var(--surface);border:1.5px solid var(--accent);box-shadow:var(--shadow-l),0 0 0 6px var(--accent-soft)}
.lane-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.lane-old .lane-top{border-bottom:1.5px dashed #BBC4D1}
.lane h3{display:inline-flex;align-items:center;gap:10px;font-size:clamp(23px,2.1vw,28px)}
.lane-old h3{color:var(--ink-2)}
.lane h3 .mark{flex:none;width:22px;height:22px;color:var(--accent)}
.clock{flex:none;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px 0 11px;border-radius:var(--r-pill);font-family:var(--font-d);font-weight:700;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.clock svg{width:17px;height:17px}
.clock b{display:inline-block;min-width:2ch;font-weight:inherit}
.lane-old .clock{background:#D6DCE3;color:var(--ink-2)}
.lane-old .clock b{text-align:left}
.lane-new .clock{background:var(--live-soft);color:var(--live)}
.lane-new .clock b{text-align:right}
.lane-list li{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;column-gap:14px;min-height:78px;padding:12px 0;border-bottom:1px solid var(--line);font-size:17px;line-height:1.4}
.lane-old .lane-list li{border-bottom:1.5px dashed #CBD2DC}
.lane-list li:last-child{border-bottom:0}
.lane .ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px}
.lane .ic svg{width:20px;height:20px}
.lane-old .ic{background:#D6DCE3;color:#7A838F}
.lane-new .ic{background:var(--accent-soft);color:var(--accent)}
.lane-old .txt{color:var(--ink-2)}
.lane-new .txt{font-weight:600}
.tag{justify-self:end;white-space:nowrap;padding:4px 11px;border-radius:var(--r-pill);background:#D6DCE3;color:#545D69;font-size:13px;font-weight:600}
.tick{justify-self:end;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--live-soft);color:var(--live)}
.tick svg{width:14px;height:14px;overflow:visible}
.tick path{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
.lane-foot{display:flex;align-items:center;gap:16px;min-height:62px;margin-top:auto;padding-top:16px}
.bar{position:relative;flex:1;height:8px;border-radius:8px;background:#D0D6DF;overflow:hidden}
.bar i{position:absolute;inset:0;border-radius:inherit;background:#8D98A6;transform-origin:0 50%;transform:scaleX(.58)}
.lane-new .bar{background:var(--accent-soft)}
.lane-new .bar i{background:var(--live-dot);transform:none}
.wait{flex:none;font-family:var(--font-h);font-weight:700;font-size:23px;line-height:1.1;color:var(--pen);transform:rotate(-4deg);white-space:nowrap}
.lane-stamp{flex:none;padding:6px 12px 4px;border:3px solid currentColor;border-radius:9px;color:var(--live);font-family:var(--font-d);font-weight:780;font-size:19px;letter-spacing:.12em;line-height:1;mix-blend-mode:multiply;filter:url(#ink);transform:rotate(-7deg)}
.js .lane-list li{opacity:0;transform:translateY(12px)}
.js .lane-old.play .lane-list li{opacity:1;transform:none;transition:opacity .6s var(--out),transform .8s var(--out);transition-delay:calc(var(--k) * .42s + .25s)}
.js .lane-new.play .lane-list li{opacity:1;transform:none;transition:opacity .35s var(--out),transform .5s var(--out);transition-delay:calc(var(--k) * .1s + .15s)}
.js .lane-old .tag{opacity:0;transform:scale(.8)}
.js .lane-old.play .tag{opacity:1;transform:none;transition:opacity .4s,transform .5s cubic-bezier(.34,1.56,.64,1);transition-delay:calc(var(--k) * .42s + 1.05s)}
.js .lane-new .tick{opacity:0;transform:scale(.4)}
.js .lane-new .tick path{stroke-dashoffset:1}
.js .lane-new.play .tick{opacity:1;transform:none;transition:opacity .2s,transform .45s cubic-bezier(.34,1.56,.64,1);transition-delay:calc(var(--k) * .1s + .4s)}
.js .lane-new.play .tick path{stroke-dashoffset:0;transition:stroke-dashoffset .35s var(--io);transition-delay:calc(var(--k) * .1s + .55s)}
.js .lane .bar i{transform:scaleX(0)}
.js .lane-old.play .bar i{transform:scaleX(.58);transition:transform 3.6s cubic-bezier(.22,.6,.3,1) .25s}
.js .lane-new .bar i{background:var(--accent)}
.js .lane-new.play .bar i{transform:none;background:var(--live-dot);transition:transform 1.1s var(--io) .15s,background-color .3s 1.25s}
.js .wait{clip-path:inset(-30% 100% -30% -10%)}
.js .lane-old.play .wait{clip-path:inset(-30% -10% -30% -10%);transition:clip-path .8s cubic-bezier(.4,.1,.3,1) 3.5s}
.js .lane-stamp{opacity:0;transform:rotate(-7deg) scale(1.9)}
.js .lane-new.play .lane-stamp{opacity:.95;transform:rotate(-7deg) scale(1);transition:transform .22s cubic-bezier(.55,0,.9,.45) 1.35s,opacity .08s 1.35s}
.js .lane-new.play{animation:thud .45s var(--out) 1.55s}
@media (max-width:959px){
  .vs{grid-template-columns:minmax(0,1fr);max-width:640px;gap:22px}
}
@media (max-width:639px){
  .lane-list li{grid-template-columns:36px minmax(0,1fr) auto;column-gap:12px;min-height:0;padding:14px 0;font-size:16.5px}
  .lane .ic{width:36px;height:36px;border-radius:11px}
  .lane-old .lane-list li{grid-template-columns:36px minmax(0,1fr)}
  .lane-old .ic{grid-row:span 2}
  .lane-old .tag{grid-column:2;justify-self:start;margin-top:7px}
  .lane{padding:20px}
  .lane h3{font-size:20px;gap:8px}
  .lane h3 .mark{width:20px;height:20px}
  .clock{height:34px;font-size:14px;padding:0 12px 0 10px}
  .wait{font-size:21px}
}

/* Reduced motion and no script: keep the dark story band inside the story, so it never covers the rest of the page */
.no-js .story-dim,.rm .story-dim{position:absolute}
