/* KEMET Restaurants public site, R14 (2026-11-25): trust strip, compact sticky bar, WhatsApp button, shorter pricing,
   and light motion. Motion only runs when html.kp-motion is set (layout head script: no reduced-motion preference and
   IntersectionObserver available). It animates opacity and the independent `translate` / `scale` properties only, so it
   never fights the existing `transform` of tickets, stage cards and hover effects. */

/* ---------------------------------------------------------------- trust strip */
.kp-trust{background:var(--surface);border-block:1px solid var(--line-2)}
.kp-trust-l{list-style:none;margin:0;padding:clamp(20px,3vw,30px) 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:18px}
.kp-trust-l li{display:flex;flex-direction:column;gap:4px;padding-inline:clamp(10px,2vw,22px);border-inline-start:1px solid var(--line-2);min-width:0}
.kp-trust-l li:first-child{border-inline-start:0;padding-inline-start:0}
.kp-trust-l b{font-family:var(--f-mono);font-size:clamp(28px,3.2vw,40px);font-weight:500;line-height:1.15;color:var(--brass);letter-spacing:-.01em}
.kp-trust-l b.kp-trust-w{font-family:var(--f-body);font-size:clamp(20px,2.2vw,26px);font-weight:700;color:var(--ink)}
.kp-trust-l li>span{color:var(--ink-2);font-size:14.5px;line-height:1.55}
.kp-trust-l b bdi{font:inherit;color:inherit}
.kp-trust-l a{color:var(--brass);font-weight:600;text-underline-offset:4px}
@media (max-width:700px){
  .kp-trust-l{grid-template-columns:minmax(0,1fr);row-gap:16px}
  .kp-trust-l li{border-inline-start:0;padding-inline-start:0;padding-block-start:14px;border-block-start:1px solid var(--line-2)}
  .kp-trust-l li:first-child{border-block-start:0;padding-block-start:0}
}

/* R14-1: real app screenshots in the narrow waiter and driver device cards, kept at a phone-like width. */
.kp-dv.w3 .kp-art.has-shot .kp-frame{width:min(100%,190px)}

/* R14-1: device icons on the "see the system" tabs (they read as empty boxes before). */
.kp-scr-dev{width:17px;height:17px;border:0;border-radius:0;background:currentColor;
  -webkit-mask:var(--kp-dev) center/contain no-repeat;mask:var(--kp-dev) center/contain no-repeat;
  --kp-dev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E")}
.kp-scr-tab[data-device="tablet"] .kp-scr-dev{width:17px;height:17px;border:0;border-radius:0;
  --kp-dev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E")}
.kp-scr-tab[data-device="mobile"] .kp-scr-dev{width:17px;height:17px;border:0;border-radius:0;
  --kp-dev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E")}

/* ---------------------------------------------------------------- compact bar (shown after the first screen) */
.kp-bar{position:fixed;z-index:60;inset-block-start:0;inset-inline:0;background:color-mix(in srgb,var(--surface) 88%,transparent);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-block-end:1px solid var(--line-2);
  box-shadow:0 10px 26px -22px rgba(0,0,0,.55);translate:0 -110%;transition:translate .35s cubic-bezier(.2,.8,.2,1);visibility:hidden}
.kp-bar.is-on{translate:0 0;visibility:visible}
.kp-bar-in{display:flex;align-items:center;gap:22px;height:60px}
.kp-bar .brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.kp-bar .brand .wm{font-weight:700;letter-spacing:.24em;font-size:14px}
.kp-bar-nav{display:flex;gap:4px;margin-inline-start:12px}
.kp-bar-nav a{color:var(--ink-2);text-decoration:none;font-size:14.5px;padding:8px 10px;border-radius:8px}
.kp-bar-nav a:hover{color:var(--ink);background:var(--sunk)}
.kp-bar-act{display:flex;align-items:center;gap:10px;margin-inline-start:auto}
.kp-bar-act .btn{height:38px}
.kp-bar-wa{display:inline-flex;align-items:center;gap:8px;height:38px;padding-inline:12px;border-radius:8px;border:1px solid var(--line-2);color:var(--ink);text-decoration:none;font-size:14px;font-weight:500}
.kp-bar-wa svg{width:18px;height:18px;color:#1f9d55}
.kp-bar-wa:hover{border-color:#1f9d55}
@media (max-width:980px){.kp-bar-nav{display:none}}
/* On phones the floating WhatsApp button is already there, so the bar keeps only the brand and the main action. */
@media (max-width:640px){.kp-bar-wa{display:none}.kp-bar-in{height:56px}}
html[data-site-theme="night"] .kp-bar,html[data-theme="dark"] .kp-bar{background:color-mix(in srgb,var(--surface) 90%,transparent)}

/* ---------------------------------------------------------------- floating WhatsApp button */
.kp-wa-float{position:fixed;z-index:55;inset-block-end:max(18px,env(safe-area-inset-bottom));inset-inline-end:18px;display:inline-flex;align-items:center;gap:10px;
  height:54px;padding-inline:16px 18px;border-radius:999px;background:#1f9d55;color:#fff;text-decoration:none;font-weight:600;font-size:15px;
  box-shadow:0 14px 28px -12px rgba(16,94,52,.65),0 0 0 1px rgba(255,255,255,.14) inset;transition:scale .2s ease,box-shadow .2s ease}
.kp-wa-float svg{width:26px;height:26px;flex:none}
.kp-wa-float:hover{scale:1.04;box-shadow:0 18px 34px -12px rgba(16,94,52,.75),0 0 0 1px rgba(255,255,255,.2) inset}
.kp-wa-float:focus-visible{outline:3px solid var(--brass-hi);outline-offset:3px}
@media (max-width:640px){.kp-wa-float{height:52px;width:52px;padding:0;justify-content:center}.kp-wa-float span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media print{.kp-wa-float,.kp-bar{display:none!important}}

/* ---------------------------------------------------------------- pricing: included features only, comparison on demand */
.kp-pk-more{font-size:13px;color:var(--ink-3);margin:0}
.kp-cmp-d{margin-block-start:26px}
.kp-cmp-d>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;max-width:100%;margin-inline:auto;
  padding:12px 22px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface);color:var(--ink);font-weight:600;font-size:15px}
.kp-cmp-d>summary::-webkit-details-marker{display:none}
.kp-cmp-d>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--brass);border-bottom:2px solid var(--brass);rotate:45deg;margin-block-start:-5px;transition:rotate .2s}
.kp-cmp-d[open]>summary::after{rotate:225deg;margin-block-start:4px}
.kp-cmp-d>summary:hover{border-color:var(--brass)}
.kp-cmp-d>summary:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.kp-cmp-d .kp-cmp{margin-block-start:18px}

/* ---------------------------------------------------------------- contact: WhatsApp first */
.kp-wa-cta{display:inline-flex;align-items:center;gap:10px;margin-block:4px 22px;padding:12px 18px;border-radius:10px;background:#1f9d55;color:#fff;text-decoration:none;font-weight:600}
.kp-wa-cta svg{width:22px;height:22px}
.kp-wa-cta bdi{font-family:var(--f-mono);font-weight:500}
.kp-wa-cta:hover{background:#178a49}

/* ---------------------------------------------------------------- article covers */
.kp-card-img img{transition:scale .5s cubic-bezier(.2,.8,.2,1)}
.kp-card:hover .kp-card-img img{scale:1.04}

/* ---------------------------------------------------------------- buttons: a soft shine on hover */
.btn-brass{position:relative;overflow:hidden;isolation:isolate}
.btn-brass::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.38) 48%,transparent 66%);translate:-120% 0;transition:translate .7s ease}
.btn-brass:hover::after{translate:120% 0}

/* ---------------------------------------------------------------- motion */
@keyframes kp-up{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
@keyframes kp-fade{from{opacity:0}to{opacity:1}}
@keyframes kp-print{from{clip-path:inset(0 0 100% 0);translate:0 -26px}to{clip-path:inset(0 0 0 0);translate:0 0}}
@keyframes kp-pop{0%{opacity:0;scale:.92}70%{opacity:1;scale:1.03}100%{opacity:1;scale:1}}

/* Hero: text rises in order, then the receipt prints line by line and the note pops in. CSS only, runs once. */
.kp-motion .hero-in>div:first-child>*{animation:kp-up .7s cubic-bezier(.2,.8,.2,1) both}
.kp-motion .hero-in>div:first-child>:nth-child(2){animation-delay:.08s}
.kp-motion .hero-in>div:first-child>:nth-child(3){animation-delay:.16s}
.kp-motion .hero-in>div:first-child>:nth-child(4){animation-delay:.24s}
.kp-motion .hero-in>div:first-child>:nth-child(5){animation-delay:.32s}
/* backwards fill: once printed, the receipt has no clip at all (its torn edge and shadow show in full). */
.kp-motion .hero .rcpt{animation:kp-print 1.6s cubic-bezier(.25,.7,.2,1) .3s backwards}
.kp-motion .hero .rc-line,.kp-motion .hero .rc-trail li,.kp-motion .hero .rc-total{animation:kp-fade .35s ease both;animation-delay:calc(.75s + var(--n,0) * .11s)}
.kp-motion .hero .rc-total{--n:7}
.kp-motion .hero .rc-tag{animation:kp-pop .5s cubic-bezier(.2,.8,.2,1) 2.1s both}
.kp-motion .kp-proof li{animation:kp-up .6s ease both;animation-delay:calc(.45s + var(--n,0) * .07s)}

/* Scroll reveal: public.js marks the targets (.kp-rv) and adds .kp-in once each one is in view. */
.kp-motion .kp-rv{opacity:0;translate:0 22px;transition:opacity .7s cubic-bezier(.2,.8,.2,1),translate .7s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--rv-i,0) * 80ms)}
.kp-motion .kp-rv.kp-in{opacity:1;translate:0 0}

/* Branch report: bars grow and the total counts up when the report comes into view. */
.kp-motion .kp-rep .kp-rep-bar i{transition:width 1.1s cubic-bezier(.2,.8,.2,1);transition-delay:calc(.15s + var(--rv-i,0) * 90ms)}
.kp-motion .kp-rep.kp-rv:not(.kp-in) .kp-rep-bar i{width:0}

/* Screens tabs: the newly selected screen fades in. */
.kp-motion .kp-scr-p:not([hidden]) .kp-scr-stage{animation:kp-fade .45s ease both}

/* Device frames and screenshots float up a little on hover. */
.kp-dv{transition:translate .3s ease,box-shadow .3s ease}
.kp-dv:hover{translate:0 -4px}

/* Page-to-page fade in browsers that support cross-document view transitions. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s}

@media print{.kp-motion .kp-rv{opacity:1!important;translate:none!important}}
@media (prefers-reduced-motion:reduce){
  .kp-bar,.kp-wa-float,.btn-brass::after,.kp-card-img img,.kp-dv{transition:none}
  .kp-dv:hover,.kp-wa-float:hover,.kp-card:hover .kp-card-img img{translate:none;scale:none}
  @view-transition{navigation:none}
}

/* ---------------------------------------------------------------- R15: devices (dark, product-led) */
.kd{background:radial-gradient(1100px 620px at 50% 0%,#143A2D 0%,#0A1F18 48%,#07130F 100%);color:#EAF1ED;padding-block:clamp(72px,9vw,120px)}
.kd.kd-page{padding-block-start:clamp(44px,5vw,64px)}
.kd-head{text-align:center;max-width:820px;margin:0 auto clamp(36px,5vw,60px)}
.kd-eb{margin:0;color:#E2C47C;font-weight:600;letter-spacing:.02em}
.kd-h{margin:12px 0 0;font-size:clamp(30px,4vw,52px);line-height:1.22;color:#FFFFFF;font-weight:700}
.kd-lead{margin:16px auto 0;font-size:18px;color:#B9CBC2;max-width:40em}
.kd-feat{display:flex;flex-wrap:wrap;gap:28px;align-items:center;background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));border:1px solid rgba(226,196,124,.2);border-radius:30px;padding:clamp(24px,3.4vw,44px)}
.kd-feat-copy{flex:1 1 320px;min-width:0}
.kd-feat-copy h3{margin:14px 0 0;font-size:clamp(26px,2.6vw,34px);line-height:1.25;color:#FFFFFF}
.kd-feat-copy p{margin:10px 0 0;font-size:17px;color:#B9CBC2}
.kd-feat-copy ul{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:9px}
.kd-feat-copy li{display:flex;gap:10px;align-items:center;font-size:16px}
.kd-feat-copy li::before{content:"";width:8px;height:8px;border-radius:50%;background:#E2C47C;flex:none}
.kd-feat-img{flex:1.4 1 420px;min-width:0;display:flex;justify-content:center}
.kd-feat-img img,.kd-img img{display:block;width:auto;height:auto;max-width:100%;transition:translate .5s cubic-bezier(.2,.8,.2,1),scale .5s cubic-bezier(.2,.8,.2,1)}
.kd-feat-img img{max-height:520px}
.kd-badge{display:inline-block;background:rgba(226,196,124,.14);color:#E2C47C;font-size:13.5px;font-weight:600;padding:4px 14px;border-radius:999px}
.kd-grid{margin-top:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px}
.kd-card{position:relative;background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.012));border:1px solid rgba(255,255,255,.09);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:10px;transition:border-color .3s ease}
.kd-card:hover,.kd-feat:hover{border-color:rgba(226,196,124,.45)}
.kd-card:hover .kd-img img,.kd-feat:hover .kd-feat-img img{translate:0 -8px;scale:1.02}
.kd-img{height:240px;display:flex;align-items:center;justify-content:center}
.kd-img img{max-height:240px}
.kd-card h3{margin:6px 0 0;font-size:21px;color:#FFFFFF}
.kd-card p{margin:0;font-size:15.5px;color:#B9CBC2;flex:1}
.kd-order{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:12px 20px;border-radius:999px;background:#E2C47C;color:#0B1F18;font-weight:700;text-decoration:none}
.kd-order svg{width:20px;height:20px}
.kd-order:hover{background:#F0D697;color:#0B1F18}
.kd-order-sm{margin-top:8px;align-self:flex-start;padding:9px 16px;font-size:14.5px;background:transparent;color:#E2C47C;border:1px solid rgba(226,196,124,.55)}
.kd-order-sm:hover{background:rgba(226,196,124,.12);color:#F0D697}
.kd-own{margin-top:22px;display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between;padding:20px 24px;border-radius:18px;background:rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.16)}
.kd-own b{display:block;color:#FFFFFF;margin-bottom:2px}
.kd-own span{color:#B9CBC2;font-size:15.5px}
.kd-all{color:#E2C47C;font-weight:600;text-underline-offset:4px}
.kd-note{margin:18px 0 0;text-align:center;font-size:14px;color:#8FA79C}
.kd a:focus-visible{outline:3px solid #E2C47C;outline-offset:3px}

/* ---------------------------------------------------------------- R15: online menu demo */
.ko-demo{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:24px 0 0}
.ko-demo span{color:var(--ink-3);font-size:14.5px}
.ko-phones{display:flex;justify-content:center;align-items:flex-start;gap:clamp(8px,2vw,20px)}
.ko-phones img{display:block;width:min(48%,260px);height:auto}
.ko-phones img:nth-child(2){margin-block-start:56px}

/* ---------------------------------------------------------------- R15: choosing-a-system guide */
.ks-head{max-width:880px;margin-bottom:clamp(28px,4vw,44px)}
.ks-h{font-size:clamp(28px,3.2vw,42px)}
.ks-lead{margin:14px 0 0;font-size:17.5px;color:var(--ink-2);line-height:1.9}
.ks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.ks-card{position:relative;background:var(--surface);border:1px solid var(--line-2);border-radius:18px;padding:22px 22px 20px;display:flex;flex-direction:column;gap:8px;transition:border-color .2s,translate .25s ease,box-shadow .25s ease}
.ks-card:hover{border-color:var(--brass);translate:0 -3px;box-shadow:0 18px 30px -24px rgba(0,0,0,.45)}
.ks-card h3{margin:0;font-size:18.5px;line-height:1.5}
.ks-card h3 a{color:var(--ink);text-decoration:none}
.ks-card h3 a::after{content:"";position:absolute;inset:0}
.ks-card p{margin:0;font-size:15px;color:var(--ink-2);line-height:1.85;flex:1}
.ks-more{font-size:14px;font-weight:600;color:var(--brass)}
.ks-links{margin-top:30px}
.ks-links h3{margin:0 0 12px;font-size:17px}
.ks-links ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.ks-links a{display:inline-flex;padding:8px 14px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);text-decoration:none;font-size:14.5px}
.ks-links a:hover{border-color:var(--brass);color:var(--brass)}
@media (prefers-reduced-motion:reduce){.kd-feat-img img,.kd-img img,.ks-card{transition:none}.kd-card:hover .kd-img img,.kd-feat:hover .kd-feat-img img,.ks-card:hover{translate:none;scale:none}}
/* R15: the WhatsApp button keeps white text inside the FAQ side column (.kp-faq-side a colours links brass) */
.kp-faq-side .kp-wa-cta,.kp-faq-side .kp-wa-cta:hover{color:#fff}
