/* The Booking tools slide of the landing page (03): the tools run themselves in a window beside the pitch. Ported unchanged from design/options/landing-tools-slide/live-demo.html. */
.ldd .lt-sprite{position:absolute;width:0;height:0;overflow:hidden}
/* ===== Booking tools chapter: shared pieces (everything scoped under .ldd, on top of the real landing CSS above) ===== */
.ldd .ch-tools{--acc:var(--teal);--acc-t:var(--teal-text)}
.ldd .ch-tools .bg{background:radial-gradient(60% 70% at 84% 34%,rgba(39,227,194,.13),transparent 66%),radial-gradient(50% 60% at 0% 100%,rgba(255,194,77,.09),transparent 66%),linear-gradient(rgba(154,170,200,.07) 1px,transparent 1px) 0 0/28px 28px,linear-gradient(90deg,rgba(154,170,200,.07) 1px,transparent 1px) 0 0/28px 28px,var(--ink-950)}
.ldd .ch-tools .bg::after{background:radial-gradient(90% 80% at 50% 50%,transparent 35%,var(--ink-950) 100%)}
:root[data-theme="light"] .ldd .ch-tools .bg{background:radial-gradient(60% 70% at 84% 34%,rgba(0,128,110,.12),transparent 66%),radial-gradient(50% 60% at 0% 100%,rgba(205,133,0,.1),transparent 66%),linear-gradient(rgba(75,91,122,.08) 1px,transparent 1px) 0 0/28px 28px,linear-gradient(90deg,rgba(75,91,122,.08) 1px,transparent 1px) 0 0/28px 28px,var(--ink-950)}
.ldd .dots[data-cur="tools"]{--dc:var(--teal)}
.ldd .ic{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ldd .ic.sm{width:16px;height:16px}
.ldd .flag{width:24px;height:16px;flex:none;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.28)}
.ldd .cd{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:var(--ink-800);border:1px solid var(--line);font:700 .88rem/1.2 var(--font-mono);letter-spacing:.1em;white-space:nowrap}
.ldd .tbadge{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;flex:none;background:color-mix(in srgb,var(--acc) 14%,var(--ink-900));border:1px solid color-mix(in srgb,var(--acc) 45%,var(--line));color:var(--acc-t)}
.ldd .tbadge .ic{width:22px;height:22px}
.ldd .tnote{font-size:.82rem;color:var(--text-dim);max-width:44ch}
.ldd .ctas{display:flex;flex-wrap:wrap;gap:12px}
.ldd .alsorow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font:600 .78rem/1 var(--font-body);letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}
.ldd .alsorow .tag{display:inline-flex;align-items:center;gap:8px;padding:0 14px;min-height:36px;border-radius:999px;border:1px solid var(--hair);background:var(--glass);letter-spacing:.04em;text-transform:none;font-weight:700;font-size:.86rem;color:var(--text)}
.ldd .alsorow .tag .ic{color:var(--acc-t)}

/* small looping scenes (used by options 2 and 4) */
.ldd .sc{position:relative;height:156px;overflow:hidden;border-radius:var(--r-md);background:var(--ink-900);border:1px solid var(--line)}
.ldd .sc-combine .cd{position:absolute;left:50%;top:var(--y);width:122px;margin-left:-61px;justify-content:center;animation:scM 6.4s var(--del,0s) infinite both}
.ldd .sc-combine .cd:nth-child(1){--y:14px}.ldd .sc-combine .cd:nth-child(2){--y:60px;--del:.12s}.ldd .sc-combine .cd:nth-child(3){--y:106px;--del:.24s}
@keyframes scM{0%{opacity:0;transform:translateX(-18px)}8%,14%{opacity:1;transform:none}38%{opacity:1;transform:translateY(calc(60px - var(--y))) scale(.96)}46%,100%{opacity:0;transform:translateY(calc(60px - var(--y))) scale(.55)}}
.ldd .sc-combine .out{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:4px;animation:scB 6.4s infinite both}
.ldd .sc-combine .out b{font:800 1.45rem/1 var(--font-mono);letter-spacing:.14em;color:var(--acc-t)}
.ldd .sc-combine .out small{font-size:.74rem;color:var(--text-dim)}
@keyframes scB{0%,44%{opacity:0;transform:scale(.6)}52%{opacity:1;transform:scale(1.08)}56%,88%{opacity:1;transform:none}96%,100%{opacity:0;transform:scale(.96)}}
.ldd .sc-trim{padding:8px 0 0}
.ldd .sc-trim .tr{position:relative;display:flex;align-items:center;gap:10px;max-height:30px;margin:0 14px;padding:0 4px;height:30px;border-bottom:1px dashed var(--line);font-size:.8rem;overflow:hidden}
.ldd .sc-trim .tr span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ldd .sc-trim .tr b{font:700 .85rem var(--font-head);font-variant-numeric:tabular-nums}
.ldd .sc-trim .tr i{width:7px;height:7px;border-radius:50%;background:var(--band-green);flex:none}
.ldd .sc-trim .tr.x::after{content:"";position:absolute;left:4px;right:4px;top:50%;height:2px;background:var(--bad-text);transform:scaleX(0);transform-origin:left}
.ldd .sc-trim .tr.x{animation:scT 6.4s var(--del,0s) infinite both}
.ldd .sc-trim .tr.x::after{animation:scL 6.4s var(--del,0s) infinite both}
.ldd .sc-trim .tr.y{--del:.5s}
@keyframes scL{0%,22%{transform:scaleX(0)}30%,100%{transform:scaleX(1)}}
@keyframes scT{0%,36%{max-height:30px;height:30px;opacity:1;border-bottom-width:1px}46%,86%{max-height:0;height:0;opacity:0;border-bottom-width:0}94%,100%{max-height:30px;height:30px;opacity:1;border-bottom-width:1px}}
.ldd .sc-trim .tot{position:absolute;left:14px;right:14px;bottom:8px;display:flex;justify-content:space-between;font-size:.76rem;color:var(--text-dim)}
.ldd .sc-trim .tot b{font:800 .98rem var(--font-head);color:var(--text)}
.ldd .sc-trim .tot .a{animation:scA 6.4s infinite both}.ldd .sc-trim .tot .b{position:absolute;right:0;animation:scBb 6.4s infinite both;color:var(--acc-t)}
@keyframes scA{0%,40%{opacity:1}48%,88%{opacity:0}96%,100%{opacity:1}}
@keyframes scBb{0%,42%{opacity:0}50%,86%{opacity:1}94%,100%{opacity:0}}
.ldd .sc-convert{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:0 14px}
.ldd .sc-convert .side{display:grid;gap:8px;justify-items:center;text-align:center}
.ldd .sc-convert .side small{font:700 .7rem var(--font-body);letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}
.ldd .sc-convert .arr{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--acc);color:var(--ink-950);animation:scP 1.6s ease-in-out infinite}
.ldd .sc-convert .arr .ic{width:16px;height:16px}
@keyframes scP{50%{transform:translateX(3px) scale(1.08)}}
.ldd .sc-convert .to{position:relative;height:62px}
.ldd .sc-convert .cv{position:absolute;inset:0;display:grid;gap:8px;justify-items:center;align-content:center;animation:scC 6.9s var(--del,0s) infinite both}
.ldd .sc-convert .cv:nth-child(2){--del:2.3s}.ldd .sc-convert .cv:nth-child(3){--del:4.6s}
.ldd .sc-convert .cv .cd{color:var(--acc-t)}
@keyframes scC{0%{opacity:0;transform:translateX(-14px)}6%,30%{opacity:1;transform:none}36%,100%{opacity:0;transform:translateX(14px)}}

/* the mockup label (not part of the slide): a pill in the header strip on wide screens, hidden on small ones */

/* ---------- Option 1 · Live demo: the tools run themselves in a window beside the pitch ---------- */
.ldd .t1-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,640px);gap:clamp(24px,4.4vw,80px);align-items:center}
.ldd .t1 .big{--fs:clamp(2.2rem,min(5.2vw,10svh),5.6rem)}
.ldd .t1 .body{margin-top:clamp(12px,2.2svh,22px);max-width:46ch}
.ldd .tl{display:grid;gap:10px;margin-top:clamp(14px,2.6svh,26px);max-width:520px}
.ldd .tl button{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:66px;padding:10px 16px;text-align:left;border-radius:var(--r-md);border:1px solid var(--line);background:color-mix(in srgb,var(--ink-900) 78%,transparent);color:var(--text);cursor:pointer;overflow:hidden;transition:border-color .25s,background .25s}
.ldd .tl button:hover{border-color:var(--hair)}
.ldd .tl button[aria-selected="true"]{border-color:var(--acc);background:color-mix(in srgb,var(--acc) 9%,var(--ink-900))}
.ldd .tl .tt b{display:block;font:700 1.05rem/1.2 var(--font-head)}
.ldd .tl .tt small{color:var(--text-dim);font-size:.86rem}
.ldd .tl .pg{position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--acc);transition:width .7s ease}
.ldd .t1 .ctas{margin-top:clamp(16px,3svh,30px)}
.ldd .t1 .tnote{margin-top:12px}
/* the window */
.ldd .app{position:relative;justify-self:end;width:100%;overflow:hidden;border-radius:var(--r-lg);background:var(--ink-900);border:1px solid var(--hair);box-shadow:0 44px 90px -34px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.02)}
:root[data-theme="light"] .ldd .app{box-shadow:0 34px 70px -34px rgba(11,20,36,.45)}
.ldd .ap-chrome{display:flex;align-items:center;gap:7px;padding:11px 14px;background:var(--ink-800);border-bottom:1px solid var(--line)}
.ldd .ap-chrome i{width:10px;height:10px;border-radius:50%;background:var(--line)}
.ldd .ap-chrome i:nth-child(1){background:#ff5f57}.ldd .ap-chrome i:nth-child(2){background:#febc2e}.ldd .ap-chrome i:nth-child(3){background:#28c840}
.ldd .ap-url{margin-left:10px;padding:3px 14px;border-radius:999px;background:var(--ink-950);font:600 .72rem/1.4 var(--font-body);color:var(--text-dim)}
.ldd .ap-body{padding:16px 18px 18px}
.ldd .ap-h{font:800 1.45rem/1.1 var(--font-head);letter-spacing:-.02em}
.ldd .ap-tabs{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:12px;padding:5px;border-radius:var(--r-md);background:var(--ink-800);border:1px solid var(--line)}
.ldd .ap-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:12px;background:none;color:var(--text-dim);font:700 .9rem var(--font-head);cursor:pointer;transition:background .25s,color .25s}
.ldd .ap-tabs button[aria-selected="true"]{background:var(--ink-900);color:var(--text);box-shadow:inset 0 0 0 1px var(--acc)}
.ldd .ap-stage{min-height:470px;margin-top:14px}
.ldd .ap-site{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ldd .ap-lab{display:block;margin:0 0 6px;font:700 .66rem/1 var(--font-body);letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}
.ldd .ap-pill,.ldd .ap-ch{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 13px;border-radius:999px;border:1px solid var(--line);background:var(--ink-800);font:700 .8rem var(--font-body)}
.ldd .ap-ch.on{background:var(--teal);border-color:var(--teal);color:var(--on-teal)}
.ldd .ap-route{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:end}
.ldd .ap-route .arr{display:grid;place-items:center;width:30px;height:30px;margin-bottom:2px;border-radius:50%;background:var(--teal);color:var(--on-teal)}
.ldd .ap-ta{position:relative;min-height:84px;margin-top:12px;padding:12px 14px;border-radius:var(--r-md);border:1.5px solid var(--teal);box-shadow:0 0 0 4px color-mix(in srgb,var(--teal) 18%,transparent);background:var(--ink-950);font:700 1rem/1.55 var(--font-mono);letter-spacing:.07em;white-space:pre-line}
.ldd .ap-ta.one{min-height:52px}
.ldd .caret{display:inline-block;width:2px;height:1.1em;margin-left:2px;vertical-align:-.15em;background:var(--teal);animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.ldd .ap-chips{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;min-height:30px}
.ldd .ap-chips .cd{padding:3px 11px;font-size:.78rem;background:color-mix(in srgb,var(--teal) 14%,var(--ink-900));color:var(--teal-text);border-color:color-mix(in srgb,var(--teal) 40%,var(--line));animation:chipin .3s cubic-bezier(.3,1.5,.5,1)}
@keyframes chipin{from{opacity:0;transform:scale(.6)}}
.ldd .ap-chips .dts{margin-left:auto;display:inline-flex;gap:3px}
.ldd .ap-chips .dts i{width:7px;height:7px;border-radius:50%;background:var(--line);transition:background .25s}
.ldd .ap-chips .dts i.on{background:var(--teal)}
.ldd .ap-legs{display:grid;gap:6px;margin-top:10px}
.ldd .ap-leg{display:flex;align-items:center;gap:10px;min-height:34px;padding:4px 12px 4px 8px;border:1.5px solid var(--line);border-radius:12px;background:var(--ink-900);font-size:.8rem;transition:background .3s,border-color .3s,opacity .3s;animation:chipin .4s var(--d,0s) both}
.ldd .ap-leg .mk{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--teal);color:var(--on-teal);flex:none;transition:background .3s}
.ldd .ap-leg .mk .ic{width:12px;height:12px;stroke-width:3}.ldd .ap-leg .mk .x{display:none}
.ldd .ap-leg span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.ldd .ap-leg b{font:700 .85rem var(--font-head);font-variant-numeric:tabular-nums}
.ldd .ap-leg.out{background:color-mix(in srgb,var(--ring-red) 12%,var(--ink-900));border-color:color-mix(in srgb,var(--ring-red) 55%,var(--line));opacity:.85}
.ldd .ap-leg.out .mk{background:var(--ring-red);color:var(--ink-950)}.ldd .ap-leg.out .mk .ck{display:none}.ldd .ap-leg.out .mk .x{display:block}
.ldd .ap-leg.out span,.ldd .ap-leg.out b{text-decoration:line-through;color:var(--text-dim)}
.ldd .ap-sum{margin-top:8px;padding:8px 12px;border-radius:12px;background:var(--ink-800);font-size:.78rem;color:var(--text-dim)}
.ldd .ap-sum b{color:var(--text)}
.ldd .ap-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.ldd .ap-hint{font-size:.8rem;color:var(--text-dim)}.ldd .ap-hint.ok{color:var(--teal-text)}
.ldd .ap-go{min-width:200px;min-height:50px;transition:transform .15s,box-shadow .3s,filter .3s}
.ldd .ap-go:disabled{background:var(--ink-800);color:var(--text-dim);box-shadow:none;border:1px solid var(--line);cursor:default}
.ldd .ap-go.press{transform:scale(.95)}
.ldd .ap-go.ready{animation:ready 1s ease-out}
@keyframes ready{0%{box-shadow:0 0 0 0 rgba(255,194,77,.7)}100%{box-shadow:0 0 0 16px rgba(255,194,77,0)}}
.ldd .spin{width:15px;height:15px;border-radius:50%;border:2.5px solid rgba(27,18,0,.25);border-top-color:currentColor;animation:sp .7s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.ldd .ap-res{position:absolute;inset:auto 0 0 0;padding:16px 18px 18px;background:linear-gradient(180deg,transparent,var(--ink-900) 26px);animation:resin .5s cubic-bezier(.2,.9,.2,1)}
@keyframes resin{from{transform:translateY(60%);opacity:0}}
.ldd .tk{position:relative;padding:16px;border-radius:var(--r-md);background:var(--ink-800);border:1px solid var(--hair);box-shadow:0 -20px 50px -20px rgba(0,0,0,.6)}
.ldd .tk::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;border-radius:var(--r-md) var(--r-md) 0 0;background:linear-gradient(90deg,var(--teal),var(--gold))}
.ldd .tk-h{display:flex;align-items:center;gap:12px;margin-top:4px}
.ldd .tk-h .ok{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--teal);color:var(--on-teal);animation:chipin .5s cubic-bezier(.3,1.6,.5,1)}
.ldd .tk-h b{display:block;font:700 1.05rem/1.2 var(--font-head)}.ldd .tk-h small{color:var(--text-dim);font-size:.8rem}
.ldd .tk-code{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;padding:10px 12px;border:2px dashed var(--hair);border-radius:12px;background:var(--ink-950)}
.ldd .tk-code code{font:800 1.5rem/1 var(--font-mono);letter-spacing:.14em}
.ldd .ap-copy{position:relative;min-height:42px;padding:0 16px;font-size:.85rem}
.ldd .ap-copy.done{background:var(--teal);color:var(--on-teal);box-shadow:0 8px 24px -8px rgba(39,227,194,.7)}
.ldd .tk-m{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ldd .tk-m div{padding:8px 10px;border-radius:10px;background:var(--ink-900);border:1px solid var(--line)}
.ldd .tk-m b{display:block;font:800 1.05rem/1.2 var(--font-head)}.ldd .tk-m small{font-size:.7rem;color:var(--text-dim)}
.ldd .tk-n{margin-top:8px;font-size:.76rem;color:var(--warn-text)}
@media(max-width:980px){.ldd .t1-grid{grid-template-columns:minmax(0,1fr)}.ldd .app{justify-self:stretch}.ldd .tl{display:none}}
@media(max-width:560px){.ldd .ap-body{padding:14px 12px 14px}.ldd .ap-tabs button{font-size:.8rem;gap:5px}.ldd .ap-tabs .ic{display:none}.ldd .ap-go{min-width:0;flex:1}.ldd .ap-hint{display:none}.ldd .tk-code code{font-size:1.15rem}.ldd .ap-route{grid-template-columns:1fr}.ldd .ap-route .arr{transform:rotate(90deg);justify-self:center}}
.ldd .plus{display:inline-block;margin-left:.3em;font:italic 600 .3em/1 var(--font-head);letter-spacing:.02em;color:var(--gold-text);transform:rotate(-7deg) translateY(-.15em);transform-origin:left bottom}
/* every booking code in the demo is blurred, like the sample code on the copy slide */
.ldd #typed{filter:blur(4px);user-select:none}
.ldd .ap-chips .cd{filter:blur(3.2px);user-select:none}
.ldd .tk-code code{filter:blur(5.6px);user-select:none}
