/* Shared extras for the Food Safety, Rotas and POS module pages. Most components come from site.css and bookings.css. */
.duo{position:relative;aspect-ratio:1.5/1}
.duo .phone{position:absolute;width:34%;animation:floaty 7s ease-in-out infinite}
.duo .p1{left:12%;top:0}
.duo .p2{right:12%;top:14%;animation-delay:-2.5s}
.duo .phone .scr img{aspect-ratio:762/1440;object-fit:cover}
.quote{position:relative;max-width:46rem;margin:70px auto 0;text-align:center}
.quote blockquote{font-size:clamp(1.4rem,2.6vw,2rem);letter-spacing:-.03em;font-weight:500;line-height:1.25;color:var(--ink)}
.quote cite{display:block;margin-top:16px;font-style:normal;color:var(--ink-3);font-size:.92rem}
.quote .mk{display:block;font-size:4rem;line-height:.6;color:var(--c);font-weight:700;margin-bottom:10px}
.devpanel .wrap{grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
.devpanel .devimg{position:relative;z-index:1}
.devpanel .devimg img{display:block;width:100%;max-width:640px;height:auto;margin:0 auto;filter:drop-shadow(0 40px 40px rgba(0,0,0,.55))}
.mstage.pos .scr{aspect-ratio:762/1440}
.beta{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:rgba(165,139,255,.2);color:#d9ccff;font-size:.78rem;font-weight:600;box-shadow:inset 0 0 0 1px rgba(165,139,255,.4)}
@media (max-width:1080px){.devpanel .wrap{grid-template-columns:1fr;gap:36px}}
@media (max-width:640px){.duo .phone{width:40%}}

/* POS screens come from a handheld (about 1:2 screen), so frame them as a device with a squarer corner, not a phone */
.pospage .phone{border-radius:18px;padding:14px 9px 20px}
.pospage .phone .scr{border-radius:5px}
.pospage .duo .phone .scr img{aspect-ratio:auto;object-fit:fill}

/* POS hardware page */
.cmpt.plain thead th:nth-child(2){background:var(--surface-2);color:var(--ink-2)}
.cmpt.plain td:nth-child(2){background:none;font-weight:inherit;color:inherit}
.hwtile{position:relative;border-radius:30px;background:radial-gradient(120% 90% at 50% 0%,#f3f0ff,#e6e0fb 70%);box-shadow:inset 0 0 0 1px #d9d1f5;overflow:hidden;aspect-ratio:1/1;display:grid;place-items:center}
.hwtile>img.main{width:84%;height:auto;transition:opacity .25s,transform .5s var(--ease)}
.hwtile:hover>img.main{transform:scale(1.025)}
.hwtile .price{position:absolute;left:20px;top:20px;background:var(--navy);color:#fff;border-radius:14px;padding:10px 14px;line-height:1.15;box-shadow:0 12px 30px -12px rgba(10,15,44,.6)}
.hwtile .price b{display:block;font-size:1.35rem;letter-spacing:-.03em;font-weight:600}
.hwtile .price small{font-size:.74rem;color:#b6bcdf}
.hwtile .thumbs{position:absolute;left:20px;bottom:20px;display:flex;gap:8px}
.hwtile .thumbs button{width:58px;height:58px;border-radius:14px;border:0;padding:5px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px #d4cbf3;cursor:pointer;transition:box-shadow .2s,transform .2s}
.hwtile .thumbs button:hover{transform:translateY(-2px)}
.hwtile .thumbs button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--d-pos)}
.hwtile .thumbs img{width:100%;height:100%;object-fit:contain}
.dtabs{display:inline-flex;gap:4px;padding:4px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);margin:30px 0 0}
.dtabs button{border:0;background:none;font:inherit;font-weight:600;font-size:.9rem;color:var(--ink-3);padding:8px 16px;border-radius:9px;cursor:pointer}
.dtabs button[aria-selected=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(10,15,44,.12)}
.dpanel[hidden]{display:none}
.specs{list-style:none;padding:0;margin:0;display:grid;gap:0}
.specs li{display:grid;grid-template-columns:8.5rem 1fr;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-size:.96rem;color:var(--ink-2)}
.specs li:last-child{border-bottom:0}
.specs b{color:var(--ink);font-weight:600}
.boxlist{margin:0 0 6px;padding:14px 16px;border-radius:14px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);font-size:.93rem;color:var(--ink-2)}
.boxlist b{color:var(--ink)}
.starter{max-width:980px;margin:48px auto 0;display:grid;grid-template-columns:1.1fr .9fr;gap:0;border-radius:28px;background:#fff;box-shadow:var(--shadow),inset 0 0 0 1px var(--line);overflow:hidden}
.starter .img{background:radial-gradient(120% 90% at 50% 0%,#f3f0ff,#e6e0fb 70%);display:grid;place-items:center;padding:20px}
.starter .img img{width:100%;height:auto}
.starter .tb{padding:32px 34px}
.starter table{width:100%;border-collapse:collapse;font-size:.95rem}
.starter td{padding:11px 0;border-bottom:1px solid var(--line);color:var(--ink-2)}
.starter td:last-child{text-align:right;font-variant-numeric:tabular-nums;color:var(--ink)}
.starter td:nth-child(2){color:var(--ink-3);text-align:center;width:3rem}
.starter tfoot td{border:0;padding-top:16px;font-weight:600;color:var(--ink);font-size:1.15rem;letter-spacing:-.02em}
.starter .mo{color:var(--ink-3);font-size:.88rem;margin:10px 0 20px}
.hubsteps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:34px;counter-reset:h}
.hubsteps div{position:relative;border-radius:18px;padding:20px 18px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);color:#c9cef0;font-size:.95rem;line-height:1.45}
.hubsteps div::before{counter-increment:h;content:counter(h);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--pos);color:var(--navy);font-weight:700;font-size:.85rem;margin-bottom:12px}
.hubwrap{display:grid;grid-template-columns:1.35fr 1fr;gap:48px;align-items:center}
.hubimg{display:grid;place-items:center;border-radius:28px;background:radial-gradient(100% 80% at 50% 20%,rgba(165,139,255,.28),rgba(165,139,255,0) 70%)}
.hubimg img{width:min(440px,100%);height:auto;filter:drop-shadow(0 40px 40px rgba(0,0,0,.45))}
@media (max-width:1080px){.starter{grid-template-columns:1fr}.hubwrap{grid-template-columns:1fr;gap:30px}.hubsteps{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.hubsteps{grid-template-columns:1fr}.specs li{grid-template-columns:1fr;gap:2px}.hwtile .thumbs button{width:48px;height:48px}}
.starter td:last-child{white-space:nowrap}
.starter td:first-child{width:auto}

/* Tickets page */
.trio{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
.trio .c{border-radius:22px;padding:24px 22px;background:#fff;box-shadow:var(--shadow),inset 0 0 0 1px var(--line)}
.trio .c i{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--c) 18%,#fff);color:var(--cd);margin-bottom:14px}
.trio .c b{display:block;font-size:1.05rem;letter-spacing:-.02em;margin-bottom:6px;color:var(--ink)}
.trio .c p{font-size:.94rem;color:var(--ink-2);line-height:1.5;margin:0}
.fee2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fee2 .plan b{font-size:1.5rem}
.fee2 .plan p{margin:8px 0 0;font-size:.88rem;color:#b6bcdf;line-height:1.45}
.pubwin .win img{display:block}
@media (max-width:1080px){.trio{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.trio,.fee2{grid-template-columns:1fr}}
.dtabs~.dpanel{margin-top:18px}

/* POS savings calculator */
.poscalc .head{margin-bottom:40px}
.poscalc .inputs .ttl+.note{margin-bottom:18px}
.pk{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pk button{display:flex;align-items:center;gap:11px;text-align:left;font:inherit;font-size:.9rem;font-weight:500;color:var(--ink);padding:12px 14px;border-radius:13px;border:1px solid var(--line-2);background:var(--surface-2);cursor:pointer;transition:border-color .2s,background .2s,transform .2s var(--ease)}
.pk button:hover:not([aria-disabled=true]){border-color:var(--ink-3)}
.pk button:focus-visible{outline:2px solid var(--coral);outline-offset:2px}
.pk button .ck{flex:none;width:20px;height:20px;border-radius:7px;border:1.5px solid var(--line-2);background:#fff;display:grid;place-items:center;transition:all .2s}
.pk button .ck svg{width:12px;height:12px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.6);transition:all .2s var(--ease)}
.pk button[aria-pressed=true]{border-color:var(--d-pos);background:color-mix(in srgb,var(--pos) 13%,#fff)}
.pk button[aria-pressed=true] .ck{background:var(--d-pos);border-color:var(--d-pos)}
.pk button[aria-pressed=true] .ck svg{opacity:1;transform:none}
.pk button span.t{display:flex;flex-direction:column;line-height:1.25}
.pk button small{font-weight:400;color:var(--ink-3);font-size:.76rem}
.pk button[aria-disabled=true]{cursor:default}
.pk button .req{margin-left:auto;font-size:.66rem;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:var(--d-pos)}
.tov{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.tov label{display:block;font-weight:600;font-size:.94rem;margin-bottom:8px}
.tov .f{display:flex;align-items:center;height:50px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface-2);padding:0 14px;gap:6px}
.tov .f:focus-within{outline:2px solid var(--coral);outline-offset:1px}
.tov .f span{color:var(--ink-3);font-weight:500}
.tov input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:1.05rem;font-weight:600;color:var(--ink);outline:0}
.pvs{margin-top:26px;display:grid;gap:14px}
.pv{display:grid;grid-template-columns:78px 1fr auto;gap:6px 14px;align-items:center}
.pv .lg{height:34px;border-radius:9px;background:#fff;display:grid;place-items:center;padding:6px 8px}
.pv .lg img{max-width:100%;max-height:100%;object-fit:contain}
.pv .tr{height:10px;border-radius:10px;background:rgba(238,241,255,.09);overflow:hidden}
.pv .tr i{display:block;height:100%;border-radius:10px;background:#6c75a8;transition:width .7s var(--ease)}
.pv.me .tr i{background:var(--coral)}
.pv b{font-weight:600;font-size:1.05rem;letter-spacing:-.02em;min-width:4.2rem;text-align:right}
.pv small{grid-column:2/4;color:var(--navy-ink-3);font-size:.78rem;margin-top:-2px}
.poscalc .out .big b{font-size:clamp(2.8rem,4.6vw,3.8rem)}
@media (max-width:640px){.pk{grid-template-columns:1fr}.pv{grid-template-columns:64px 1fr auto}}

/* Orbiting rings behind the register */
.orbit{position:relative;width:min(620px,100%);aspect-ratio:1;margin:0 auto}
.orbit>img{position:absolute;left:50%;top:50%;width:84%;height:auto;transform:translate(-50%,-50%);z-index:2;filter:drop-shadow(0 34px 40px rgba(10,15,44,.28))}
.orbit .ring{position:absolute;border-radius:50%;border:1px solid rgba(83,91,138,.34);animation:orb 38s linear infinite}
.orbit .r1{inset:0}
.orbit .r2{inset:11%;border-style:dashed;border-color:rgba(83,91,138,.4);animation-duration:26s;animation-direction:reverse}
.orbit .r3{inset:22%;animation-duration:19s}
.orbit .ring i{position:absolute;left:50%;top:0;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 5px rgba(238,122,92,.16),0 0 18px rgba(238,122,92,.55)}
.orbit .ring i.b{left:50%;top:100%;width:8px;height:8px;margin:-4px 0 0 -4px}
.orbit .r2 i{width:9px;height:9px;margin:-4.5px 0 0 -4.5px}
@keyframes orb{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.orbit .ring{animation:none}}

/* POS handhelds: outline frame instead of a solid body */
.m-pos .phone{background:#fbfbfd;box-shadow:inset 0 0 0 1px rgba(180,184,194,.55),0 30px 50px -26px rgba(30,32,44,.35)}
.m-pos .phone .scr{box-shadow:0 0 0 1px rgba(180,184,194,.35)}

/* POS demo page */
.demo .hero-panel{padding:84px 0 34px}
.demo .dgrid{max-width:1360px;margin:0 auto;padding:0 40px 0 56px;display:grid;grid-template-columns:1fr minmax(440px,600px);gap:12px;align-items:center}
.dcopy{text-align:left}
.dtag{display:inline-flex;align-items:center;gap:8px;padding:6px 13px 6px 10px;border-radius:99px;background:rgba(165,139,255,.14);border:1px solid rgba(165,139,255,.35);color:#d8ccff;font-size:.82rem;font-weight:500;margin-bottom:22px}
.dtag svg.i{width:15px;height:15px}
.demo h1{font-size:clamp(2.6rem,5.2vw,4.4rem)}
.demo .sub{margin:20px 0 0;max-width:34rem}
.demo .sub b{color:var(--navy-ink);font-weight:600}
.dtry{margin:34px 0 12px;font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;font-weight:600;color:var(--navy-ink-3)}
.tries{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tries li{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:14px;background:rgba(238,241,255,.05);border:1px solid rgba(238,241,255,.1)}
.tries li i{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:rgba(165,139,255,.16);color:#cbbcff}
.tries li i svg.i{width:16px;height:16px}
.tries li b{display:block;font-weight:600;font-size:.92rem;color:var(--navy-ink)}
.tries li span{display:block;margin-top:2px;font-size:.82rem;line-height:1.45;color:var(--navy-ink-2)}
.demo .cta{justify-content:flex-start;margin-top:30px}
.dstage{position:relative}
.dglow{position:absolute;inset:6% -8% 2%;background:radial-gradient(60% 55% at 50% 50%,rgba(165,139,255,.35),transparent 70%);filter:blur(10px);z-index:0}
.dframe{position:relative;z-index:1;display:block;width:100%;height:min(940px,calc(100vh - 100px));min-height:700px;border:0;background:transparent;border-radius:28px}
.dnote{margin-top:16px;font-size:.8rem;color:var(--navy-ink-3)}
.hwcall{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:center}
.hwcall img{display:block;width:100%;height:auto;filter:drop-shadow(0 30px 40px rgba(10,15,44,.22))}
@media (max-width:1000px){.demo .dgrid{grid-template-columns:1fr;gap:40px}.dframe{max-width:560px;margin:0 auto}.hwcall{grid-template-columns:1fr;gap:34px}}
@media (max-width:640px){.tries{grid-template-columns:1fr}.demo .hero-panel{padding-top:96px}}
.btn-ghost-dark{color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
.btn-ghost-dark:hover{background:rgba(10,15,44,.04)}

/* Which setup is right for you */
.vgrid{display:grid;grid-template-columns:1fr 1.05fr;gap:28px;max-width:1040px;margin:44px auto 0;align-items:stretch}
.vlist{display:grid;gap:10px;align-content:start}
.vc{display:flex;gap:14px;align-items:center;text-align:left;font:inherit;color:var(--ink);padding:15px 16px;border-radius:16px;border:1px solid var(--line);background:#fff;cursor:pointer;box-shadow:0 1px 2px rgba(20,24,58,.04);transition:border-color .2s,background .2s,transform .25s var(--ease),box-shadow .25s}
.vc:hover{transform:translateX(3px);border-color:var(--ink-3)}
.vc:focus-visible{outline:2px solid var(--coral);outline-offset:2px}
.vc i{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--pos) 14%,#fff);color:var(--d-pos);transition:background .2s,color .2s}
.vc i svg.i{width:20px;height:20px}
.vc b{display:block;font-weight:600;font-size:.97rem;letter-spacing:-.01em;line-height:1.25}
.vc small{display:block;margin-top:2px;color:var(--ink-3);font-size:.84rem}
.vc[aria-checked=true]{border-color:var(--d-pos);background:color-mix(in srgb,var(--pos) 9%,#fff);box-shadow:0 10px 26px -14px rgba(106,75,184,.45);transform:translateX(6px)}
.vc[aria-checked=true] i{background:var(--d-pos);color:#fff}
.vres{background:var(--navy);color:var(--navy-ink);border-radius:26px;padding:30px 32px;position:relative;isolation:isolate;overflow:hidden;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .35s var(--ease)}
.vres.in{opacity:1;transform:none}
.vres::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(70% 55% at 100% 0%,rgba(165,139,255,.3),transparent 70%)}
.vres .vl{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;font-weight:600;color:var(--navy-ink-3);margin:0}
.vres h3{font-size:1.45rem;letter-spacing:-.03em;font-weight:600;margin:6px 0 18px;color:#fff;line-height:1.2}
.vres ul{list-style:none;padding:0;margin:0}
.vres li{display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;padding:11px 0;border-top:1px solid rgba(238,241,255,.1)}
.vres li img{width:52px;height:52px;object-fit:contain;background:rgba(238,241,255,.06);border-radius:12px;padding:5px}
.vres li b{display:block;font-weight:600;font-size:.96rem}
.vres li small{color:var(--navy-ink-3);font-size:.82rem}
.vres li em{font-style:normal;font-variant-numeric:tabular-nums;font-size:.95rem;color:var(--navy-ink)}
.vres .vt{margin-top:6px;padding-top:16px;border-top:1px solid rgba(238,241,255,.18)}
.vres .vt span{font-size:1rem;color:var(--navy-ink-2)}
.vres .vt b{font-size:2rem;letter-spacing:-.04em;font-weight:600;color:var(--coral)}
.vres .vt small{display:block;color:var(--navy-ink-3);font-size:.84rem;margin-top:3px}
.vres .vt span small{display:inline;margin:0}
.vres .vn{margin:14px 0 20px;color:var(--navy-ink-2);font-size:.92rem}
@media (max-width:900px){.vgrid{grid-template-columns:1fr}.vres{padding:26px 22px}}
