/* Five design system.
   Tokens come from the Framer project's colour styles and the type scale measured on
   https://illuminated-experiment-643238.framer.app. Pages should use these classes, not inline styles. */

/* ---------- Tokens ---------- */
:root{
  /* Neutrals */
  --ink:#0c0e1a;          /* Primary/Terminal 900 */
  --black:#1c1c1c;        /* Neutral/Solid/Black */
  --gray-800:#262626;
  --gray-700:#404040;
  --gray-600:#525252;
  --gray-500:#757791;
  --gray-400:#aeb0c7;
  --gray-300:#d9dae5;
  --gray-200:#eff0f7;
  --gray-100:#f7f7fb;
  --gray-50:#fafafd;
  --white:#fff;

  /* Brand */
  --periwinkle:#8990c6;
  --periwinkle-deep:#5e659d;
  --ink-blue:#565d93;
  --violet:#3d3467;
  --lilac:#bebfd7;
  --pink:#e78fcc;
  --blue:#72b2db;

  /* Status */
  --success:#22a55b;      /* "Payment approved" tick in product renders */

  /* Fills */
  --fill-soft:#f7f7fb;
  --fill-cool:#f4f5fc;
  --fill-lilac:#eff0fa;
  --fill-periwinkle:#e7e8f6;

  --gradient-line:linear-gradient(90deg,#fa75d2 0%,#72b2db 40%,#808ad9 70%,#fa75d2 100%);

  /* Photo grade: one look for photos from any source (.photo-grade): "lavender shadows". Colour eased back and the
     shadows lifted to a periwinkle-to-pink lavender (a soft, filmic look that carries the brand colour), plus a trace
     of very fine grain (kept faint: heavier grain makes photos look low quality) */
  --grade-filter:saturate(.84) contrast(.94) brightness(1.02);
  --grade-wash:linear-gradient(160deg,rgba(94,101,157,.34) 0%,rgba(190,110,170,.24) 100%);
  --grade-blend:screen;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Type */
  --font:Saans,system-ui,-apple-system,sans-serif;

  /* Type scale (Nov 2026): every font-size on the site uses one of these. Headings scale with the window between a
     phone floor and a 1440px ceiling, so they need no separate phone overrides. 12px is the floor for real text. */
  --fs-display:clamp(42px,4.9vw,70px);   /* hero H1 */
  --fs-display-s:clamp(40px,3.9vw,56px); /* side-hero H1, contact title */
  --fs-h2:clamp(32px,3.35vw,48px);       /* section titles */
  --fs-h3:clamp(26px,2.5vw,36px);        /* large card titles, bento titles */
  --fs-h4:clamp(20px,1.7vw,24px);        /* card and step titles */
  --fs-lead:18px;                        /* intro lines, quotes */
  --fs-body:16px;                        /* body, card body, buttons */
  --fs-small:15px;                       /* ticks, chips, tables, small print */
  --fs-label:14px;                       /* labels, captions, UI default */
  --fs-caption:12px;                     /* pills, UI meta: the floor */
  --fs-stat:clamp(34px,3vw,44px);        /* figures in product cards */
  --fs-price:clamp(60px,5.3vw,76px);     /* the price */
  --fs-nav-m:22px;                       /* the phone menu */

  /* Shape */
  --r-md:24px;  /* media, inner panels */
  --r-lg:32px;  /* cards */
  --r-xl:36px;  /* section panels */
  --r-pill:99px;
  --shadow-card:0 20px 50px -16px rgba(26,32,71,.08),0 2px 6px rgba(26,32,71,.04);
  --shadow-float:0 8px 24px rgba(0,0,0,.12);

  /* Layout */
  --container:1320px;  /* as teya.com: 1,400px with the 40px gutters */
  --gutter:40px;
  /* Rhythm scales with the window so laptops and big screens both look balanced: 140px between sections on a 1440px
     wide screen, about 124px at 1280 and 100px at 1024; the hero headline sits 176px down on a 900px tall window and
     a little higher on shorter laptop screens */
  --section-y:clamp(88px,9.7vw,140px);
  --hero-top:clamp(120px,21vh,176px);  /* page top to a side hero's headline: the same on every page */
  --hero-top-c:clamp(132px,24vh,216px);  /* page top to a centred hero's headline: the same on every centred page */
  --hero-gap:64px;  /* a centred hero's button (or last line) to its visual: the same on every page */
}
@media (max-width:900px){:root{--gutter:16px;--section-y:96px;--hero-top:128px;--hero-top-c:128px;--hero-gap:40px}}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-weight:400;font-size:var(--fs-body);line-height:1.5;color:var(--ink);background:var(--white);overflow-x:clip;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p,ul,figure,blockquote{margin:0}
h1,h2,h3,blockquote{text-wrap:balance}
p{text-wrap:pretty}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* Type scale */
.t-display{font-weight:600;font-size:var(--fs-display);line-height:1;letter-spacing:-0.035em}  /* 70px at 1440 wide, scaling down with the window */
.t-h2{font-weight:500;font-size:var(--fs-h2);line-height:1.04;letter-spacing:-0.03em}
.t-h3{font-weight:500;font-size:var(--fs-h4);line-height:1.15;letter-spacing:-0.02em}
/* Card titles (.t-card): value-prop cards and feature boxes (from ~/five-website). Two lines at most, smaller than a section
   title (after five.id's 40px / 1.0, untracked); Medium like the other section titles */
.t-card{font-weight:500;font-size:var(--fs-h3);line-height:1.05;letter-spacing:0}
@media (max-width:900px){.t-card{line-height:1.08}}
/* Section titles (.t-h2, .t-h3 and the card and highlight titles) are Saans Medium, as in Framer (Nov 2026); the hero
   (.t-display) and the closing CTA's title stay SemiBold */
.cta .t-h2{font-weight:600}
.t-lead{font-size:var(--fs-lead);line-height:1.55}
.t-body{font-size:var(--fs-body);line-height:1.55}
.t-small{font-size:var(--fs-small);line-height:1.5}
.t-label{font-weight:500;font-size:var(--fs-label);line-height:1.2}
.t-muted{color:var(--gray-600)}
@media (max-width:900px){
  .t-display{line-height:1.08}
  .t-h2{line-height:1.12}
}

/* ---------- Layout ---------- */
.container{width:100%;max-width:calc(var(--container) + var(--gutter)*2);margin:0 auto;padding:0 var(--gutter)}
.section{padding:var(--section-y) 0}
.section--soft{background:linear-gradient(180deg,var(--white) 3%,var(--fill-cool) 55%,var(--white) 100%)}
.section--soft-top{background:linear-gradient(180deg,var(--fill-cool) 0%,var(--fill-cool) 50%,var(--white) 100%)}  /* follows a .hero--fade: carries its tint on, then back to white */
.section--tint{background:linear-gradient(180deg,var(--white) 0%,var(--fill-cool) 18%,var(--fill-cool) 82%,var(--white) 100%)}
.section--screen{display:flex;flex-direction:column;justify-content:center;min-height:100vh;min-height:100svh}  /* one screen tall, the content centred */
.section--dark{background:var(--ink);color:var(--white)}
.stack{display:flex;flex-direction:column;gap:24px}
.center{text-align:center;align-items:center}

/* Section header: label, title, intro */
.section-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;max-width:var(--container);margin:0 auto 64px}
.section-head > p{max-width:760px}  /* headings run the content width (one line where they fit); the line under them stays a readable measure */
.section-head > .btn-row,.split__text > .btn-row{margin-top:16px}  /* subtitle → buttons is 32px: the 16px gap plus this */
.section-head p{max-width:560px}
.section-head:last-child{margin-bottom:0}  /* a heading that ends its section adds no gap of its own */

/* Label pill */
.label{display:inline-flex;align-items:center;align-self:flex-start;padding:6px 14px;border-radius:var(--r-pill);background:var(--fill-periwinkle);color:var(--periwinkle-deep);font-weight:500;font-size:var(--fs-label);line-height:1.2}
.section-head .label,.center .label{align-self:center}
.label--solid{background:var(--periwinkle);color:var(--white)}
.section--dark .label,.on-dark .label{background:rgba(255,255,255,.12);color:var(--white)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 30px;border-radius:var(--r-pill);border:0;font:500 16px/1.4 var(--font);letter-spacing:-0.2px;text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,box-shadow .2s}
.btn--dark{background:var(--black);color:var(--white)}.btn--dark:hover{background:#000}
.btn--light{background:var(--white);color:var(--black)}.btn--light:hover{background:var(--gray-200)}
.btn--outline{background:transparent;color:var(--black);box-shadow:inset 0 0 0 1px var(--gray-300)}.btn--outline:hover{background:var(--gray-100)}
.btn-row{display:flex;flex-wrap:wrap;gap:10px}
.center .btn-row,.section-head .btn-row{justify-content:center}

/* Tick list */
.ticks{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px}
.ticks li{position:relative;padding-left:22px;font-size:var(--fs-small);line-height:1.4}
.ticks li::before{content:"";position:absolute;left:0;top:.35em;width:12px;height:7px;border-left:1.6px solid var(--periwinkle);border-bottom:1.6px solid var(--periwinkle);transform:rotate(-45deg)}

/* Chips */
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.chips > *{padding:10px 16px;border-radius:var(--r-pill);background:var(--fill-periwinkle);font-weight:500;font-size:var(--fs-small);line-height:1.4;text-decoration:none;color:var(--ink)}
.chips a:hover{background:var(--lilac)}
/* Outline chip: same pill as an outline button, for items that lead to a conversation rather than a page */
.chips > .chip--outline{background:transparent;box-shadow:inset 0 0 0 1px var(--gray-300)}
.chips a.chip--outline:hover{background:var(--gray-100)}
/* Single-line row of chips; wraps again on smaller screens */
.chips--line{flex-wrap:nowrap;white-space:nowrap}
.section-head .chips--line{width:max-content;max-width:none}
@media (max-width:1000px){.chips--line{flex-wrap:wrap;white-space:normal}.section-head .chips--line{width:auto}}

/* ---------- Page hero ---------- */
.hero{padding:var(--hero-top-c) 0 calc(var(--section-y) * .7)}  /* centred; .hero--split sets its own */
.hero .section-head{margin-bottom:0}
/* Centred heroes: the headline runs the content width (one line where it fits, like five.id/about) and starts at --hero-top-c */
.hero:not(.hero--split) .section-head{max-width:var(--container)}
.hero--fade{background:linear-gradient(180deg,var(--white) 0%,var(--fill-cool) 100%)}  /* soft fade: white into the brand tint */
.hero-media{margin-top:64px;border-radius:var(--r-md);overflow:hidden;aspect-ratio:16/7}
.hero-media img,.hero-media video{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){.hero{padding:var(--hero-top-c) 0 56px}.hero-media{aspect-ratio:4/3;margin-top:40px}}

/* Split hero: copy left, image right, on a soft lavender wash (product pages) */
.hero--split{display:flex;flex-direction:column;justify-content:flex-start;padding:var(--hero-top) 0 calc(var(--section-y) * .7)}  /* the headline starts at --hero-top, the same height as every hero (centred or side); sized to its content; the background is .hero--fade */
.hero--split .container{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:start}  /* copy and visual share a top edge */
.hero--split .section-head{align-items:flex-start;text-align:left;margin:0;max-width:540px}
.hero--split .t-display{font-size:var(--fs-display-s);line-height:1.06}  /* 56px at 1440 wide, scaling down with the window */
.hero--split .section-head .btn-row{justify-content:flex-start}
.hero--split .hero-media{margin-top:0;aspect-ratio:4/3.4;box-shadow:var(--shadow-card)}
/* Desktop: the side hero fills the first screen, its image card running from the headline's top edge to just above
   the fold (no empty area under it) */
/* A product composite (a screen on its own backdrop): shown whole on that backdrop, never cropped */
.hero-media--screen{background:#eff0fa}
.hero-media--screen img{object-fit:contain}
@media (min-width:901px){
  .hero--split{min-height:100vh;min-height:100svh;padding-bottom:0}
  .hero--split .hero-media{aspect-ratio:auto;height:min(calc(100svh - var(--hero-top) - 56px),760px);min-height:360px}  /* capped so a very tall window doesn't stretch it */
}
@media (max-width:900px){
  .hero--split{padding:var(--hero-top) 0 32px}
  .hero--split .container{grid-template-columns:1fr;gap:32px}
  .hero--split .hero-media{aspect-ratio:4/3}
}

/* Product hero: centred message, product render rising from the bottom edge (brand guidelines p.29).
   The section fills the viewport; the copy centres in the band between the nav and the visual. */
.hero--product{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;min-height:100svh;padding:80px 0 0}
.hero--product > .container{flex:1;display:flex;align-items:center;justify-content:center;padding-top:40px;padding-bottom:40px}
.hero.hero--product{justify-content:flex-start}
.hero.hero--product > .container{flex:none;align-items:flex-start;padding-top:calc(var(--hero-top-c) - 80px);padding-bottom:0}  /* the headline at --hero-top-c; the visual follows --hero-gap below */
.hero-visual{--visual-h:38vh;--fade:160px;flex:none;width:100%;height:auto;padding-top:var(--hero-gap)}
.hero-visual .render{width:min(80%,1100px,calc((100svh - var(--hero-top-c) - var(--hero-copy-h,218px) - var(--hero-gap) - 40px) * 1.54));margin:0 auto}  /* sized from the height left under the copy (1.54 = the till's width to height), so the whole render fits the first screen at any size or zoom */
/* Only the device fades out, over the last --fade of the visible band; the background and event cards are untouched.
   --drift: how far a scroll effect has moved the render down, so the fade stays on the section's bottom edge */
/* Feature rows straight after a product hero carry on in the hero's closing colour, so there is no seam */
@media (max-width:900px){
  .hero--product{padding:80px 0 0}
  .hero-visual{--visual-h:34vh;--fade:96px}
  .hero-visual .render{width:92%}
}
/* A product photo instead of the drawn render (Pay). The photo is on pure white and multiplies into the soft fade,
   so it sits on the hero's own colour with no edge; sized by the band's height so it always shows whole */
.hero--product:has(.hero-visual__product) > .container{flex:none}
.hero-visual:has(> .hero-visual__product){flex:1 1 0;min-height:180px;height:auto;display:flex;justify-content:center;align-items:flex-start;padding:var(--hero-gap) 0 5vh}  /* takes the space under the copy, so the photo always shows whole */
.hero-visual__product{display:block;width:auto;height:auto;max-width:min(1000px,84%);max-height:100%;mix-blend-mode:multiply}
@media (max-width:600px){.hero-visual__product{max-width:118%}}
/* A cut-out (transparent) product that rises into the hero: its top shows, the rest runs off and fades into the next section */
.hero-visual:has(> .hero-visual__product--rise){align-items:flex-start;padding-bottom:0;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}
.hero-visual__product--rise{width:min(820px,64%);max-width:none;max-height:none;mix-blend-mode:normal}
@media (max-width:600px){.hero-visual__product--rise{width:110%}}
/* Phones: keep the render big and let it run off the right edge instead of shrinking it to fit */
@media (max-width:600px){.hero-visual .render{width:160%;max-width:none;margin-left:8%}}


/* Full-screen media hero: a photo or video fills the first screen behind the centred copy. As the page scrolls, the
   media sinks and grows a little (data-drift / data-drift-scale on the img or video) and fades out (data-drift-fade on
   .hero__bg, whose lower edge stays put and melts into the next section; see "Hero drift" in site.js), leaving the hero's own soft fade (.hero--fade) behind it, so the page settles back into its
   normal background. --on-media sets the copy in white over the picture (home, "1 Nature"). */
.hero--media{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;min-height:100svh;padding:var(--hero-top) 0 48px}  /* the headline at --hero-top */
.hero__bg{position:absolute;inset:0;z-index:-1;pointer-events:none;will-change:transform,opacity;-webkit-mask-image:linear-gradient(180deg,#000 80%,transparent 100%);mask-image:linear-gradient(180deg,#000 80%,transparent 100%)}  /* its lower edge melts into the section below */
.hero__bg > :is(img,video){width:100%;height:100%;object-fit:cover;will-change:transform}
.hero__bg--scrim::after{content:"";position:absolute;inset:0;background:radial-gradient(56% 46% at 50% 52%,rgba(12,14,26,.34) 0%,rgba(12,14,26,0) 100%),linear-gradient(180deg,rgba(12,14,26,.06) 0%,rgba(12,14,26,.24) 100%)}  /* keeps white copy legible on a light picture */
.hero--on-media .section-head{color:var(--white)}
.hero--on-media .section-head .t-muted{color:rgba(255,255,255,.88)}
.hero--on-media .section-head a:not(.btn){color:inherit}
.hero--on-media .btn--outline{color:var(--white);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}.hero--on-media .btn--outline:hover{background:rgba(255,255,255,.1)}
.hero--media [data-drift-fade]{will-change:opacity,transform}
@media (max-width:900px){.hero--media{padding:var(--hero-top) 0 32px}}
/* Breeze: a ribbon of fine dots twisting slowly like fabric in the wind, with dust drifting past, behind the hero copy
   (after mercury.com/payroll, in the brand colours on the soft fade). site.js draws it on a canvas ([data-breeze]);
   --breeze-a/b/c colour it from one edge of the ribbon to the other. A soft clearing behind the copy keeps it legible. */
.hero-breeze{--breeze-a:var(--pink);--breeze-b:var(--periwinkle-deep);--breeze-c:var(--blue);position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-breeze canvas{display:block;width:100%;height:100%}
.hero-breeze::after{content:"";position:absolute;inset:0;background:radial-gradient(30% 26% at 50% 52%,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 100%)}
@media (max-width:900px){.hero-breeze::after{background:radial-gradient(60% 34% at 50% 50%,rgba(255,255,255,.75) 0%,rgba(255,255,255,0) 100%)}}
/* Breeze variants (the shape and motion are data attributes, see site.js; these set the colours) */
.hero-breeze--night{--breeze-a:#e78fcc;--breeze-b:#8990c6;--breeze-c:#72b2db}  /* lit dots on the dark hero, with data-breeze-glow */
.hero-breeze--night::after{background:radial-gradient(34% 30% at 50% 52%,rgba(12,14,26,.62) 0%,rgba(12,14,26,0) 100%)}
@media (max-width:900px){.hero-breeze--night::after{background:radial-gradient(64% 36% at 50% 50%,rgba(12,14,26,.7) 0%,rgba(12,14,26,0) 100%)}}
/* Dark hero: Terminal 900 with a violet glow low down. Pair with --on-media for white copy, btn--light for the main
   button, and data-nav-tone="light" so the clear nav bar over it turns white */
.hero--dark{background:radial-gradient(90% 60% at 50% 100%,rgba(61,52,103,.9) 0%,rgba(61,52,103,0) 70%),var(--ink)}

/* ---------- Product render: Five POS on an iPad, drawn in HTML ----------
   Everything inside scales with the render's width (cqw), so it behaves like an image. */
.render{position:relative;container-type:inline-size;aspect-ratio:1.54}
.device{position:absolute;inset:0;padding:1.5cqw;border-radius:3.4cqw;background:var(--black);box-shadow:0 30px 80px -20px rgba(26,32,71,.25)}
.device__screen{height:100%;display:grid;grid-template-columns:1fr 31%;grid-template-rows:auto 1fr;border-radius:2cqw;overflow:hidden;background:var(--gray-100);font-size:1.15cqw;line-height:1.35;color:var(--ink)}
.device__bar{grid-column:1/-1;display:flex;justify-content:space-between;padding:1.5cqw 2.2cqw;background:var(--white);border-bottom:1px solid var(--gray-200);font-weight:500}
.device__bar span:last-child{color:var(--gray-600);font-weight:400}
.render-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3cqw;align-content:start;padding:2cqw}
.render-tile{display:flex;flex-direction:column;gap:.3cqw;padding:.9cqw .9cqw 1.1cqw;border-radius:1.2cqw;background:var(--white)}
.render-tile::before{content:"";aspect-ratio:1.7;margin-bottom:.6cqw;border-radius:.8cqw;background:var(--fill-periwinkle)}
.render-tile:nth-child(3n+2)::before{background:var(--fill-lilac)}
.render-tile:nth-child(3n)::before{background:var(--lilac)}
.render-tile span{color:var(--gray-600)}
.render-tile strong{font-weight:600}
.render-ticket{display:flex;flex-direction:column;gap:.9cqw;padding:2cqw;background:var(--white);border-left:1px solid var(--gray-200)}
.render-ticket h4{margin:0 0 .4cqw;font-size:1.35cqw;font-weight:600}
.render-ticket p{display:flex;justify-content:space-between;color:var(--gray-700)}
.render-ticket .render-total{margin-top:.6cqw;padding-top:1.1cqw;border-top:1px solid var(--gray-200);color:var(--ink);font-weight:600}
.render--phone{aspect-ratio:9/19.5}  /* the same render as a phone: an app screen */
.render--phone .device{padding:3.2cqw;border-radius:15cqw;box-shadow:inset 0 0 0 1.5px #3a3a3e,0 30px 80px -20px rgba(26,32,71,.25)}
.render--phone .device::before{content:"";position:absolute;z-index:1;top:6cqw;left:50%;width:28cqw;height:8cqw;margin-left:-14cqw;border-radius:var(--r-pill);background:var(--black)}  /* the camera island */
.render--phone .device__screen{grid-template-columns:1fr;border-radius:12cqw;background:var(--white);font-size:4.4cqw}
.render--phone .device__bar{padding:6cqw 9cqw 3cqw;border:0}
.render--phone .render-ticket{gap:3.4cqw;padding:7cqw;border:0}
.render--phone .render-ticket h4{margin:0 0 1cqw;font-size:6.4cqw;line-height:1.15}
.render--phone .render-ticket .render-total{margin-top:2cqw;padding-top:4cqw}
.render--phone .render-pay{padding:4.4cqw}
.render-option{display:flex;justify-content:space-between;align-items:center;margin-top:2cqw;padding:4cqw 4.4cqw;border-radius:3.2cqw;background:var(--gray-100);font-weight:500}
.render-option span:last-child{color:var(--gray-600);font-weight:400}
.render-pay{margin-top:.6cqw;padding:1.1cqw;border-radius:var(--r-pill);background:var(--black);color:var(--white);text-align:center;font-weight:500}
.event{position:absolute;z-index:1;display:flex;align-items:center;gap:1cqw;padding:1cqw 1.8cqw 1cqw 1cqw;border-radius:1.4cqw;background:var(--white);box-shadow:var(--shadow-float);font-size:1.1cqw;line-height:1.35;color:var(--gray-600);white-space:nowrap}
.event strong{display:block;font-size:1.3cqw;font-weight:600;color:var(--ink)}
.event__icon{flex:none;display:grid;place-items:center;width:3.2cqw;height:3.2cqw;border-radius:.8cqw;background:var(--ink);color:var(--white)}
.event__icon svg{width:55%;height:55%}
.event__icon--success{background:var(--success)}
.event--top-left{top:13%;left:-3.5%}
.event--right{top:13%;right:-4%}
/* A row of event cards side by side, sitting just above the device (Pay: the three points over the portal) */
.event-row{position:absolute;z-index:1;left:0;right:0;bottom:100%;margin-bottom:2.4cqw;display:flex;justify-content:center;gap:1.6cqw}
.event-row .event{position:static}
@media (max-width:600px){.hero--product:has(.event-row) > .container{padding-bottom:190px}.event-row{flex-direction:column;align-items:flex-start;gap:8px;left:calc(var(--gutter) - 5%);right:auto;width:calc(100vw - var(--gutter) * 2);margin-bottom:16px}.event-row .event{gap:10px;padding:8px 14px 8px 8px;border-radius:12px;white-space:normal}.event-row .event strong{font-size:var(--fs-label)}.event-row .event__icon{width:30px;height:30px;border-radius:8px}}  /* phones: stacked, at a readable size (the render is wider than the screen there) */
/* A screenshot in the device frame instead of the drawn POS screen (Pay: the Merchant Portal) */
.device__shot{display:block;width:100%;height:100%;object-fit:cover;object-position:0 0;border-radius:2cqw;background:var(--white)}

/* ---------- Cross-link: a narrow banner pointing to another product ----------
   (Framer "Access Cross-Link"): a band of the lilac fold artwork with one glass card across it: a short heading and line
   on the left, one button on the right */
.cross-link{margin-top:96px}
.cross-link__box{position:relative;isolation:isolate;overflow:hidden;padding:56px;border-radius:var(--r-lg);background:url(../tex-fold.jpg) center / cover}  /* the band sits within the page margins as one rounded box */
.cross-link__card{position:relative;z-index:1;max-width:660px;display:flex;align-items:center;justify-content:space-between;gap:48px;padding:36px 40px;border-radius:var(--r-md);background:rgba(255,255,255,.35);-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.5)}
.cross-link__copy{display:flex;flex-direction:column;gap:10px;max-width:640px}
.cross-link__copy p{color:var(--gray-700)}
/* The visual has no frame: it fills the banner's full height on the right and fades into the artwork on its left and
   along the top and bottom edges */
.cross-link__media{position:absolute;top:0;right:0;bottom:0;width:min(58%,900px);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 38%),linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,#000 38%),linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%);mask-composite:intersect}
.cross-link__media > :is(img,video){display:block;width:100%;height:100%;object-fit:cover;object-position:30% 55%}
/* An inline call to action at the end of a sentence: bold, underlined, with an arrow */
.link-arrow{font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;white-space:nowrap}
.link-arrow:hover{text-decoration-thickness:2.5px}
@media (max-width:700px){.cross-link{margin-top:56px}.cross-link__box{padding:0 16px 16px}.cross-link__card{flex-direction:column;align-items:flex-start;gap:24px;padding:28px 24px;margin-top:-56px}.cross-link__media{margin:0 -16px}.cross-link__media{position:relative;width:auto;aspect-ratio:16/10;-webkit-mask-image:linear-gradient(180deg,#000 60%,transparent 100%);mask-image:linear-gradient(180deg,#000 60%,transparent 100%)}}

/* ---------- Split: text beside media ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.split--media-first .split__media{order:-1}
.split__text{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.split__media{border-radius:var(--r-md);overflow:hidden;aspect-ratio:5/4;background:var(--fill-lilac)}
.split__media img{width:100%;height:100%;object-fit:cover}
.split__media.is-ui{padding:24px;background:var(--fill-lilac)}
.split__media.is-ui img{object-fit:contain}
/* Bleed: the visual has no frame; it runs out to the page's right edge, which cuts it hard, and fades out at the bottom */
.split__media--bleed{--bleed:max(var(--gutter),calc((100vw - var(--container)) / 2));position:relative;aspect-ratio:auto;height:min(620px,70vh);margin-right:calc(var(--bleed) * -1);border-radius:0;background:none;-webkit-mask-image:linear-gradient(180deg,#000 80%,transparent 98%);mask-image:linear-gradient(180deg,#000 80%,transparent 98%)}
.split__media--bleed > :is(img,video){position:absolute;top:17%;left:0;width:103%;max-width:none;height:auto;object-fit:contain}
@media (max-width:900px){.split__media--bleed{height:auto;aspect-ratio:4/3;margin-right:calc(var(--gutter) * -1)}}
.split__media--tall{aspect-ratio:auto;height:min(720px,calc(100svh - 160px))}  /* fills a .section--screen */
@media (max-width:900px){.split{grid-template-columns:1fr;gap:32px}.split--media-first .split__media{order:0}}

/* ---------- Card grid ---------- */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:var(--white);border:1px solid rgba(12,14,26,.07);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:10px;transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card)}
.card .t-h3,.card h3{font-weight:500;font-size:var(--fs-h4);line-height:1.15;letter-spacing:-0.02em}
.section--tint .card,.section--soft .card{border-color:rgba(12,14,26,.05)}
.card--soft{background:var(--white)}
.card p{color:var(--gray-600);font-size:var(--fs-body);line-height:1.55}
@media (max-width:1000px){.cards{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.cards,.cards--2{grid-template-columns:1fr}}

/* ---------- Highlights strip: short points, no boxes ---------- */
.highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 56px;max-width:1100px;margin:0 auto}
.highlight{display:flex;flex-direction:column;gap:10px}
.highlight__icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--fill-periwinkle);color:var(--periwinkle-deep);margin-bottom:6px}
.highlight__icon svg{width:22px;height:22px}
.highlight h3{font-weight:500;font-size:24px;line-height:1.15;letter-spacing:-0.02em}
.highlight p{font-size:var(--fs-body);line-height:1.55;color:var(--gray-600)}
.highlight-group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:32px 64px;max-width:1100px;margin:0 auto;padding:56px 0;border-top:1px solid var(--gray-200)}
.highlight-group:first-child{border-top:0;padding-top:0}
.highlight-group:last-child{padding-bottom:0}
.highlight-group > h2{font-weight:500;font-size:var(--fs-h3);line-height:1.08;letter-spacing:-0.025em}
.highlight-group .highlights{grid-template-columns:1fr 1fr;gap:40px 48px;margin:0}
.highlights--list{grid-template-columns:1fr;gap:28px;margin:16px 0 0}
.highlights--list .highlight{display:grid;grid-template-columns:44px 1fr;gap:4px 18px}
.highlights--list .highlight__icon{grid-row:span 2;margin:0}
@media (max-width:900px){.highlight-group{grid-template-columns:1fr;padding:40px 0}}
@media (max-width:1000px){.highlights{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.highlights{grid-template-columns:1fr;gap:32px}}

/* ---------- Bento grid ----------
   Tiles with a title (.t-h3) and a line (.t-small) at the bottom, and one visual (.bento__visual) above them, shown
   whole. Hardware tiles (--studio) show a studio shot on the studio backdrop's own colour, so the photo melts into the
   tile; software tiles (--screen) show the product itself, a screen or a clip, on the palest tint. */
.bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(420px,auto);gap:12px}
.bento__tile{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;gap:24px;padding:28px;border-radius:var(--r-md);color:var(--ink);text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.bento__tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-card)}
.bento__tile--wide{grid-column:span 2}
.bento__tile--studio{background:#eeedf8}  /* the studio backdrop's colour */
.bento__tile--screen{background:var(--fill-cool)}
.bento__visual{position:absolute;z-index:-1;inset:0 0 34%;display:grid;place-items:center;padding:28px 28px 0}
.bento__visual > :is(img,video){width:100%;height:100%;min-height:0;object-fit:contain}
.bento__tile--studio .bento__visual > img{-webkit-mask-image:radial-gradient(closest-side,#000 72%,transparent 100%);mask-image:radial-gradient(closest-side,#000 72%,transparent 100%)}  /* the shot's edges melt into the tile */
.bento__tile--screen .bento__visual > video{border-radius:12px}
.bento__tile--wide .bento__visual{inset:0 0 0 38%;padding:28px 28px 28px 0}  /* the wide tile: copy left, visual right */
.bento__tile--wide .bento__copy{max-width:36%}
.bento__copy{display:flex;flex-direction:column;gap:10px;max-width:340px}
.bento__copy p{color:var(--gray-600);font-size:var(--fs-body);line-height:1.55}
@media (max-width:1140px){.bento{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){
  .bento{grid-template-columns:1fr;grid-auto-rows:minmax(400px,auto)}
  .bento__tile--wide{grid-column:auto;min-height:480px}
  .bento__tile--wide .bento__visual{inset:0 0 34%;padding:28px 28px 0}
  .bento__tile--wide .bento__copy{max-width:340px}
}

/* ---------- FAQ accordion ---------- */
.faq{background:linear-gradient(180deg,var(--white) 0%,var(--fill-cool) 100%)}
.faq__list{max-width:900px;margin:0 auto;padding:0 28px;border-radius:20px;background:var(--white);border:1px solid rgba(12,14,26,.06)}
.faq__item+.faq__item{border-top:1px solid rgba(0,0,0,.05)}
.faq__q{all:unset;box-sizing:border-box;position:relative;display:block;width:100%;padding:20px 0 20px 40px;cursor:pointer;font-weight:600;font-size:var(--fs-body);line-height:1.5;color:#333}
.faq__q:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:6px}
.faq__q::before,.faq__q::after{content:"";position:absolute;left:4px;top:33px;width:15px;height:1.5px;background:rgba(0,0,0,.35);transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.faq__q::after{transform:rotate(90deg)}
.faq__q[aria-expanded="true"]::before{transform:rotate(45deg)}
.faq__q[aria-expanded="true"]::after{transform:rotate(135deg)}
.faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.2,.8,.2,1)}
.faq__a>div{overflow:hidden}
.faq__a p{padding:0 20px 20px 40px;font-size:var(--fs-body);line-height:1.5;color:#666}
.faq__item.is-open .faq__a{grid-template-rows:1fr}
@media (max-width:900px){.faq__list{padding:0 16px}}

/* ---------- Feature rows ----------
   Text one side, one media the other (.split, alternating with .split--media-first), stacked down a section.
   The media slot takes any of: a photo (.photo-grade, cropped to fill), a studio shot (--studio, on its backdrop
   colour) or a product screen or clip (--screen, shown whole on the palest tint) */
.feature-rows{display:flex;flex-direction:column;gap:var(--section-y)}
.row-media{position:relative;overflow:hidden;min-height:0;aspect-ratio:4/3;border-radius:var(--r-md);background:var(--fill-cool)}
.row-media > :is(img,video){width:100%;height:100%;object-fit:cover}
.row-media--studio{background:#eeedf8}
.row-media--screen{display:grid;place-items:center;padding:clamp(16px,3vw,40px)}
.row-media--screen > :is(img,video){width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:12px;box-shadow:var(--shadow-card)}

/* ---------- Comparison table ----------
   One standard table: Five's column on the palest tint; scrolls sideways on phones */
.compare{max-width:1100px;margin:0 auto;border-radius:var(--r-md);box-shadow:inset 0 0 0 1px var(--gray-200);overflow-x:auto}
.compare table{width:100%;min-width:640px;border-collapse:collapse;font-size:var(--fs-small);line-height:1.5}
.compare th,.compare td{padding:18px 24px;text-align:left;vertical-align:top;border-top:1px solid var(--gray-200)}
.compare thead th{border-top:0;font-weight:500;background:var(--fill-soft);color:var(--ink)}
.compare tbody th{font-weight:500;color:var(--ink)}
.compare td{color:var(--gray-600)}
.compare .is-five{background:var(--fill-cool);color:var(--ink)}
.compare thead .is-five{background:var(--fill-periwinkle);color:var(--periwinkle-deep)}
.compare strong{display:block;margin-bottom:4px;font-weight:600;color:var(--ink)}
.compare__hint{display:none;margin-top:12px;text-align:center}
@media (max-width:700px){.compare__hint{display:block}}

/* ---------- Product screen ----------
   A real product screen (assets/product/) on the palest tint, centred under a section head. Drop in any new screen */
.product-screen{margin:0 auto;max-width:1000px;padding:clamp(16px,3vw,32px);border-radius:var(--r-md);background:var(--fill-cool)}
.product-screen img{width:100%;border-radius:12px;box-shadow:var(--shadow-card)}

/* ---------- Photo grade ---------- */
/* On a photo's frame, or a container of them: each <img> gets the grade filter, and its frame (the parent) the wash and grain */
.photo-grade img{filter:var(--grade-filter)}
:is(.photo-grade:has(> img),.photo-grade :has(> img)){position:relative;isolation:isolate;overflow:hidden}
:is(.photo-grade:has(> img),.photo-grade :has(> img))::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:var(--grain),var(--grade-wash);mix-blend-mode:var(--grade-blend)}

/* ---------- Photo ticker ---------- */
.ticker{display:flex;align-items:center;overflow:hidden;-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,.05) 0%,#000 23%,#000 77%,rgba(0,0,0,.05) 100%);mask-image:linear-gradient(to right,rgba(0,0,0,.05) 0%,#000 23%,#000 77%,rgba(0,0,0,.05) 100%)}
.ticker__track{display:flex;gap:20px;will-change:transform}
.ticker__item{flex:none;width:250px;display:flex;flex-direction:column;align-items:center;gap:10px}
.ticker__item img{width:250px;height:250px;object-fit:cover;border-radius:30px}
.photo-grade .ticker__item{border-radius:30px}
.ticker__item figcaption{color:var(--gray-600)}  /* readable captions (was a 20% fade) */
@media (max-width:900px){
  .ticker__item,.ticker__item img{width:180px}
  .ticker__item img{height:180px;border-radius:var(--r-md)}
  .photo-grade .ticker__item{border-radius:var(--r-md)}
}

/* ---------- Problem → solution (versus) ----------
   Problems on the grey panel, Five's answers on a raised white card, an arrow between each pair; a headline and one
   short line per side. Phones: each problem, an arrow down, then its answer on a white card. */
.vs{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);max-width:1100px;margin:0 auto;padding:0 28px;border-radius:var(--r-xl);background:var(--fill-cool)}
.vs__bg{grid-column:3;grid-row:1 / span 6;margin-block:-20px;border-radius:var(--r-lg);background:var(--white);box-shadow:var(--shadow-float)}
.vs__head{grid-column:1;grid-row:1;padding:24px 0 16px;font-size:var(--fs-lead);font-weight:500;text-align:center;color:var(--gray-600)}
.vs__head--five{grid-column:3;position:relative;color:var(--ink)}
.vs__head--five::after{content:"";display:block;width:56px;height:4px;margin:10px auto 0;border-radius:4px;background:var(--periwinkle-deep)}
.vs__no,.vs__arr,.vs__yes{grid-row:var(--row)}
.vs__no,.vs__yes{position:relative;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:22px 0}
.vs__no{grid-column:1;border-top:1px solid rgba(12,14,26,.07)}
.vs__no h3{color:var(--gray-600);font-weight:500}
.vs__no p{font-size:var(--fs-small);color:var(--gray-500,#8a8ca0)}
.vs__yes{grid-column:3;padding-inline:28px;border-top:1px solid var(--gray-200)}
.vs__yes p{font-size:var(--fs-small);color:var(--gray-600)}
.vs__yes:last-child{padding-bottom:36px}
.vs__arr{grid-column:2;align-self:center;justify-self:center;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--white);box-shadow:var(--shadow-card),inset 0 0 0 1px var(--gray-200)}
@media (max-width:900px){.vs{grid-template-columns:1fr;padding:20px}.vs__bg,.vs__head{display:none}.vs__no,.vs__arr,.vs__yes{grid-column:1;grid-row:auto}.vs__no{border:0;padding:0}.vs__arr{margin:12px 0;rotate:90deg}.vs__yes{margin-bottom:28px;padding:20px;border:0;border-radius:var(--r-md);background:var(--white);box-shadow:var(--shadow-float)}}

/* ---------- Customer story ----------
   The one quote style, as five.id/premium: a headline, a line about the customer, their quote at body size in italics,
   then their logo and the speaker beside a hairline; a big edited photo of their venue on the right. At most one per page. */
.story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr);gap:clamp(32px,4vw,56px);align-items:center;margin:0}
.story__text{display:flex;flex-direction:column;gap:28px;max-width:470px}
.story__text p,.story__text blockquote{margin:0;font-size:var(--fs-lead);line-height:1.55}
.story__text blockquote{font-style:italic}
.story__who{display:flex;align-items:center;gap:20px}
.story__who img{height:44px;width:auto}
.story__who span{display:flex;flex-direction:column;padding-left:20px;border-left:1px solid var(--gray-300);font-size:var(--fs-label);line-height:1.6;color:var(--gray-600)}
.story__who strong{font-weight:500;color:var(--ink)}
.story__photo{aspect-ratio:3/2;border-radius:var(--r-md);overflow:hidden}
.story__photo img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){.story{grid-template-columns:1fr}.story__photo{order:-1}}

/* ---------- Closing CTA (Framer "Book a demo") ---------- */
.cta{position:relative;background:linear-gradient(180deg,#4b4e66 0%,#3a3d57 49%,#000 100%);color:var(--white);min-height:calc(100vh - var(--footer-h,0px));min-height:calc(100svh - var(--footer-h,0px));display:flex;align-items:center;justify-content:center;padding:136px var(--gutter) 128px;text-align:center}
.cta .section-head{margin-bottom:0}
.cta p{color:var(--gray-300);max-width:433px}
.cta .label{background:rgba(255,255,255,.5);color:var(--ink)}
.cta .btn--dark{background:#000;color:var(--white)}.cta .btn--dark:hover{background:var(--gray-800)}
.cta .btn--outline{color:var(--white);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}.cta .btn--outline:hover{background:rgba(255,255,255,.08)}
@media (max-width:900px){.cta{padding:112px var(--gutter)}}

/* ---------- Site header (glass navigation) ---------- */
.site-nav{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:16px;padding:8px 6px 8px 20px;border-radius:36px;background:rgba(255,255,255,.54);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:var(--shadow-float);white-space:nowrap}
.site-nav{transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .35s}
.site-nav.is-hidden{transform:translate(-50%,calc(-100% - 24px));opacity:0;pointer-events:none}
.site-nav__logo img{height:22px;width:auto}
.site-nav__links{display:flex;align-items:center;gap:4px}
.site-nav__links > a,.site-nav__dd > button{all:unset;cursor:pointer;padding:8px 12px;border-radius:var(--r-pill);font-weight:500;font-size:var(--fs-small);color:var(--black)}
.site-nav__links > a:hover,.site-nav__dd > button:hover{background:rgba(0,0,0,.05)}
.site-nav__dd{position:relative}
.site-nav__dd > button::after{content:"";display:inline-block;width:6px;height:6px;margin-left:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.site-nav__menu{position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:14px;display:none}
.site-nav__menu > div{min-width:230px;padding:8px;border-radius:20px;background:var(--white);box-shadow:var(--shadow-float)}
.site-nav__menu a{display:block;padding:10px 14px;border-radius:12px;text-decoration:none;font-size:var(--fs-small);color:var(--black)}
.site-nav__menu a:hover{background:var(--fill-soft)}
.site-nav__dd:hover .site-nav__menu,.site-nav__dd:focus-within .site-nav__menu{display:block}
.site-nav__burger{all:unset;display:none;cursor:pointer;width:40px;height:40px;border-radius:50%;position:relative}
.site-nav__burger span,.site-nav__burger span::before,.site-nav__burger span::after{position:absolute;left:11px;width:18px;height:1.6px;background:var(--black);content:"";transition:transform .25s}
.site-nav__burger span{top:19px}.site-nav__burger span::before{left:0;top:-6px}.site-nav__burger span::after{left:0;top:6px}
.site-nav.is-open .site-nav__burger span{background:transparent}
.site-nav.is-open .site-nav__burger span::before{transform:translateY(6px) rotate(45deg)}
.site-nav.is-open .site-nav__burger span::after{transform:translateY(-6px) rotate(-45deg)}
@media (max-width:900px){
  .site-nav{left:16px;right:16px;transform:none;justify-content:space-between;flex-wrap:wrap;border-radius:28px}
  .site-nav.is-hidden{transform:translateY(calc(-100% - 24px))}
  .site-nav__burger{display:block;order:3}
  .site-nav > .btn{order:2;margin-left:auto}
  .site-nav__links{display:none;order:4;width:100%;flex-direction:column;align-items:stretch;padding:8px 0 6px}
  .site-nav.is-open .site-nav__links{display:flex}
  .site-nav__menu{position:static;transform:none;padding:0;display:block}
  .site-nav__menu > div{box-shadow:none;background:transparent;padding:0 0 0 12px}
  .site-nav__dd > button::after{display:none}
}

/* Nav v2 (the default; the previous nav above stays for a revert, see site.js). Same width as the page content; links on the left, Log in and the
   CTA on the right; the Hospitality menu spans the whole bar, its right side kept for announcements. */
/* The bar's frosted glass sits on a layer behind it, so the open menu can blur the page behind it too
   (a frosted element inside another frosted element can only blur its parent) */
.site-nav--v2{width:min(var(--container),calc(100% - var(--gutter) * 2));gap:8px;padding:8px 8px 8px 22px;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
.site-nav--v2::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);box-shadow:var(--shadow-float),inset 0 0 0 1px rgba(255,255,255,.35)}
.site-nav--v2 .site-nav__links{flex:1;margin-left:20px}
.site-nav__actions{display:flex;align-items:center;gap:8px}
.site-nav__actions > .site-nav__login{all:unset;cursor:pointer;padding:8px 12px;border-radius:var(--r-pill);font-weight:500;font-size:var(--fs-small);color:var(--black)}
.site-nav__actions > .site-nav__login:hover{background:rgba(0,0,0,.05)}
.site-nav--v2 .site-nav__links > a.site-nav__login{display:none}  /* desktop uses the one beside Book a demo; the phone menu shows this one */
.site-nav--v2 .site-nav__dd{position:static}
.site-nav--v2 .site-nav__menu{left:0;right:0;transform:none;padding-top:10px}
.site-nav--v2 .site-nav__menu > div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;min-width:0;padding:16px;border-radius:36px;background:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);box-shadow:var(--shadow-float),inset 0 0 0 1px rgba(255,255,255,.35)}
.site-nav--v2 .site-nav__menu-links a:hover{background:rgba(0,0,0,.05)}  /* same hover as the bar's links */
/* Open and closed by the script (is-menu), with a short fade; closed, it lets clicks through */
@media (min-width:901px){
  .site-nav--v2 .site-nav__menu,.site-nav--v2 .site-nav__dd:hover .site-nav__menu,.site-nav--v2 .site-nav__dd:focus-within .site-nav__menu{display:block;pointer-events:none}
  .site-nav--v2 .site-nav__menu > div{opacity:0;visibility:hidden;translate:0 -6px;transition:opacity .22s,translate .3s cubic-bezier(.2,.8,.2,1),visibility 0s .3s}
  .site-nav--v2.is-menu .site-nav__dd .site-nav__menu{pointer-events:auto}
  .site-nav--v2.is-menu .site-nav__menu > div{opacity:1;visibility:visible;translate:none;transition:opacity .22s,translate .3s cubic-bezier(.2,.8,.2,1)}
  .site-nav--v2.is-menu .site-nav__dd > button{background:rgba(0,0,0,.05)}
}
/* Brighter glass while the menu is open, so the bar and menu stay light against the dimmed page */
/* Dims everything behind the bar while the menu is open */
.site-nav--v2 .site-nav__menu-links{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:4px}
.site-nav--v2 .site-nav__menu-links a{justify-self:start;padding:14px 16px;border-radius:var(--r-pill);font-weight:500;font-size:var(--fs-body)}  /* the hover pill hugs the text, like the bar's */
.site-nav__aside{min-height:150px;border-radius:20px;background:rgba(255,255,255,.25)}
/* Announcement in the menu's right-hand slot (from the Framer "Product Announcement"); not in the nav at the moment (it
   last showed Five Kiosk), kept for the next one:
   "Latest from Five", a title and one line on light glass like the menu, with the kiosk photo running into the card.
   One 16px gap from the menu edge to the card, and the card's corner is the menu's minus that gap so the curves run
   parallel: menu 36px (as the bar), card 20px.
   Two glass treatments: --duotone (shown) and --pane (kept as the alternative; preview with ?card=pane). */
.site-nav__menu a.site-nav__news{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:stretch;gap:16px;padding:16px;border-radius:20px;font-size:inherit;color:var(--ink);text-decoration:none;background:rgba(255,255,255,.5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.site-nav__news::before,.site-nav__news::after{content:"";position:absolute;z-index:-1;pointer-events:none}
.site-nav__news::after{inset:0 0 0 38%;background:url(../photos/terminal-and-pos-wood.jpg) 42% 48% / cover;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 55%);mask-image:linear-gradient(90deg,transparent 0%,#000 55%)}
.site-nav__news-text{flex:none;display:flex;flex-direction:column;justify-content:center;gap:6px;max-width:250px}
.site-nav__news .t-label{color:var(--periwinkle-deep)}
.site-nav__news .t-small{color:var(--gray-600)}
/* Pane: the photo fills the card; a frosted pane on the text side (a blurred copy of the photo under a white veil,
   since a blur inside the menu's own glass can't see the photo) softens into the clear photo */
.site-nav__news--pane::after{inset:0;z-index:-2;-webkit-mask-image:none;mask-image:none;background-position:70% 48%}
.site-nav__news--pane::before{inset:-20px;background:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,.55)),url(../photos/terminal-and-pos-wood.jpg) 70% 48% / cover;filter:blur(14px);-webkit-mask-image:linear-gradient(90deg,#000 50%,transparent 70%);mask-image:linear-gradient(90deg,#000 50%,transparent 70%)}
/* Duotone: the photo recoloured into the brand tint, so it reads as part of the glass */
.site-nav__menu a.site-nav__news--duotone{background:var(--fill-periwinkle)}
.site-nav__news--duotone::after{filter:grayscale(1) contrast(1.1);mix-blend-mode:multiply}
@media (max-width:900px){
  .site-nav--v2{width:auto;padding:8px 6px 8px 20px}
  .site-nav--v2 .site-nav__menu > div{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
  .site-nav--v2 .site-nav__links{flex:none;margin-left:0}
  .site-nav--v2 .site-nav__links > a.site-nav__login{display:block}
  .site-nav__actions{order:2;margin-left:auto}
  .site-nav__actions > .site-nav__login{display:none}
  .site-nav--v2 .site-nav__menu > div{display:block;padding:0 0 0 12px}
  .site-nav--v2 .site-nav__menu-links{display:block}
  .site-nav--v2 .site-nav__menu-links a{padding:10px 14px;font-size:var(--fs-small)}
  .site-nav__aside{display:none}
}

/* Full-width bar (the default nav style; the floating pill above stays available with ?navstyle=pill): no background at the top of the page, logo left,
   links centred, Log in and Book a demo right, all on the content edges. The menu opens inside the bar: its glass and
   the menu content grow down together (--menu-h, set by site.js) and fold back up together; the glass only clears once
   it has folded away. "Explore Hospitality", the products in one large column on the left, the right side kept for an
   announcement card (none for now). Frosted once the page scrolls under it; hides on the way down, back on the way up. */
.site-nav__menu-label{display:none}
@media (min-width:901px){
  .site-nav--v2.site-nav--bar{--edge:max(var(--gutter),calc((100% - var(--container)) / 2));--fold:.42s cubic-bezier(.2,.8,.2,1);top:0;left:0;right:0;width:auto;transform:none;opacity:1;display:grid;grid-template-columns:1fr auto 1fr;gap:16px;padding:16px var(--edge);border-radius:0}
  .site-nav--v2.site-nav--bar.is-hidden{transform:translateY(-100%);opacity:1}
  .site-nav--bar::before{border-radius:0;bottom:calc(var(--menu-h,0px) * -1);background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;transition:bottom var(--fold),background-color .2s .42s}
  .site-nav--bar.is-scrolled::before,.site-nav--bar.is-menu::before{background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);box-shadow:0 1px 0 rgba(12,14,26,.06)}
  .site-nav--bar.is-menu::before{transition:bottom var(--fold),background-color 0s}
  .site-nav--bar .site-nav__logo{justify-self:start}
  .site-nav--bar .site-nav__links{flex:none;margin:0;justify-self:center}
  .site-nav--bar .site-nav__actions{justify-self:end}
  .site-nav--bar .site-nav__menu{padding:0}
  .site-nav--bar .site-nav__menu > div,.site-nav--bar.is-menu .site-nav__menu > div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:16px;row-gap:12px;padding:12px var(--edge) 32px;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;opacity:1;translate:none;clip-path:inset(0 0 100% 0);transition:clip-path var(--fold),visibility 0s .42s}
  .site-nav--bar.is-menu .site-nav__menu > div{clip-path:inset(0);transition:clip-path var(--fold),visibility 0s}
  .site-nav--bar .site-nav__menu-label{display:block;grid-column:1;color:var(--gray-600)}
  .site-nav--bar .site-nav__menu-links{grid-column:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
  .site-nav--bar .site-nav__menu-links a{margin-left:-14px;padding:6px 14px;font-weight:600;font-size:var(--fs-h3);line-height:1.2;letter-spacing:-0.015em}  /* the .t-h3 size */
  .site-nav--bar .site-nav__aside{grid-column:2;grid-row:1 / span 2}
}

/* Nav v2 type, matched to five.id (computed styles, Oct 2026). Nav-only rules: the .t-* scale is untouched.
   Desktop: the bar's links and the menu's links in Regular 15px; phones: the menu in 22px / 33px rows, Medium for the
   top level and Light grey for the products under it */
@media (min-width:901px){
  .site-nav--v2 :is(.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > .site-nav__login){padding:0 12px;border-radius:var(--r-pill);font-weight:400;font-size:var(--fs-body);line-height:40px;letter-spacing:-0.2px}  /* Nevis-style: 40px tall; pill hover, same rounding as the CTAs hover box */
  .site-nav--v2 .site-nav__links{gap:4px}
  .site-nav--v2 .site-nav__menu-links{gap:0}
  .site-nav--v2 .site-nav__menu-links a,.site-nav--bar .site-nav__menu-links a{padding-block:0;font-weight:400;font-size:var(--fs-small);line-height:30px;letter-spacing:-0.2px}
}
@media (max-width:900px){
  .site-nav--v2 :is(.site-nav__links > a,.site-nav__dd > button){padding:0 12px;font-weight:500;font-size:var(--fs-nav-m);line-height:33px}
  .site-nav--v2 .site-nav__menu > div{padding-left:10px}
  .site-nav--v2 .site-nav__menu-links a{padding:0 12px;font-weight:300;font-size:var(--fs-nav-m);line-height:33px;color:#666}
}

/* Hospitality menu, desktop: a frosted-glass rounded panel (like the scrolled bar) that drops under the bar on click (like neviswealth.com).
   Products in titled columns, each with a one-line description; it fades in, and the page is not dimmed */
.site-nav__menu-desc{display:none}
@media (min-width:901px){
  .site-nav--v2.site-nav--bar::before{bottom:0}  /* the bar no longer grows into the menu */
  .site-nav--v2.site-nav--bar .site-nav__menu{left:var(--edge);right:var(--edge);padding-top:8px}
  .site-nav--v2.site-nav--bar .site-nav__menu > div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:24px;padding:24px;border-radius:var(--r-md);background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);box-shadow:var(--shadow-card),inset 0 0 0 1px rgba(12,14,26,.06);clip-path:none;opacity:0;visibility:hidden;translate:0 -6px;transition:opacity .24s cubic-bezier(.05,.7,.1,1),translate .24s cubic-bezier(.05,.7,.1,1),visibility 0s .24s}
  .site-nav--v2.site-nav--bar.is-menu .site-nav__menu > div{opacity:1;visibility:visible;translate:none;transition:opacity .24s cubic-bezier(.05,.7,.1,1),translate .24s cubic-bezier(.05,.7,.1,1)}
  .site-nav--v2.site-nav--bar .site-nav__menu-label{display:block;margin:0 0 8px;padding:0 12px;font-weight:500;font-size:var(--fs-lead);line-height:1.3;color:var(--ink)}
  .site-nav--v2.site-nav--bar .site-nav__menu-links{display:flex;flex-direction:column;align-items:stretch;gap:2px}
  .site-nav--v2.site-nav--bar .site-nav__menu-links a{display:flex;flex-direction:column;gap:2px;margin:0;padding:12px;border-radius:16px;font-weight:500;font-size:var(--fs-body);line-height:1.3;letter-spacing:-0.2px;color:var(--ink)}
  .site-nav--v2.site-nav--bar .site-nav__menu-links a:hover{background:rgba(0,0,0,.05)}  /* same hover as the bar's links */
  .site-nav--v2.site-nav--bar .site-nav__aside{grid-column:2 / -1;grid-row:auto}  /* the product preview fills the right of the menu */
  .site-nav--v2.site-nav--bar .site-nav__menu-desc{display:block;font-weight:400;font-size:var(--fs-label);line-height:1.4;letter-spacing:0;color:var(--gray-600)}
  .site-nav--v2.site-nav--bar.is-menu .site-nav__dd > button{background:rgba(0,0,0,.05)}
  /* The bar is slim, its links Medium, at the top of the page and when scrolled; the same 14px above and below, so its contents sit centred */
  .site-nav--v2.site-nav--bar{padding-block:14px;align-items:center}
  .site-nav--v2.site-nav--bar :is(.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > .site-nav__login){font-weight:500}
}


/* Over a dark hero (data-nav-tone="light", site.js sets is-on-dark): while the bar is clear at the top of the page, its
   logo and links are white and the CTA turns white; opening the menu or scrolling frosts the bar and they go back */
@media (min-width:901px){
  .site-nav--bar :is(.site-nav__logo img,.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > a){transition:color .2s,background-color .2s,filter .2s}
  .site-nav--bar.is-on-dark:not(.is-menu) :is(.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > .site-nav__login){color:var(--white)}
  .site-nav--bar.is-on-dark:not(.is-menu) :is(.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > .site-nav__login):hover{background:rgba(255,255,255,.12)}
  .site-nav--bar.is-on-dark:not(.is-menu) .site-nav__logo img{filter:brightness(0) invert(1)}
  .site-nav--bar.is-on-dark:not(.is-menu) .site-nav__actions > .btn--dark{background:var(--white);color:var(--black)}
}
@media (max-width:900px){.site-nav--v2.is-on-dark::before{background:rgba(255,255,255,.82)}}  /* phones: the pill turns opaque enough for its dark text */

/* ---------- Site footer ---------- */
.site-footer{background:#000;color:var(--white);padding:48px 0 72px}
.site-footer__inner{display:flex;justify-content:space-between;gap:48px;flex-wrap:wrap}
.site-footer__logo{display:inline-block}
.site-footer__logo img{display:block;height:20.2px;width:auto;margin-left:.9px}  /* matched to the nav logo's ink, not its box: the nav PNG has a little blank margin (0.9px at the side, its letters 20.2px tall at 22px), the footer SVG none, so both "five"s line up and match in size */
@media (max-width:900px){.site-footer__logo,.site-footer__legal{margin-left:20px}}  /* phones: the nav is a pill 16px in with 20px inside it, so its logo sits 36px in; the footer logo and the copyright line follow it */
.site-footer__cols{display:grid;grid-template-columns:repeat(4,minmax(120px,auto));gap:32px 56px}
.site-footer__cols h2{font-weight:500;font-size:var(--fs-lead);margin-bottom:8px}
.site-footer__cols a{display:block;padding:4px 0;text-decoration:none;font-size:var(--fs-body);color:#8c8c8c}  /* 5.9:1 on black (AA) */
.site-footer__cols a:hover{color:var(--white)}
.site-footer__legal{margin-top:48px;font-size:var(--fs-label);color:#8c8c8c}
@keyframes flow{to{background-position:-200% 0}}
@media (max-width:900px){.site-footer__cols{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto}
  .faq__a,.faq__q::before,.faq__q::after{transition:none}
  .site-nav{transition:none}
}

/* Hospitality menu: product preview on the right (from ~/five-website). The render of the link under the pointer (or
   focus) fades up; the slot is empty until then, and empties again once the menu has closed (site.js). */
.site-nav__preview{position:relative;min-height:190px;background:none}
.site-nav__preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;translate:0 8px;transition:opacity .3s,translate .45s cubic-bezier(.2,.8,.2,1)}
.site-nav__preview img.is-on{opacity:1;translate:none}
@media (prefers-reduced-motion:reduce){.site-nav__preview img{transition:none;translate:none}}

/* ---------- Contact pages (talk-to-us.html, book-a-demo.html) ----------
   A copy of five.id/talk-to-us and five.id/book-a-demo, measured from the live pages (Nov 2026, 1440 and 390 wide):
   standalone (no nav or footer); the logo 19px tall, 10px from the corner; the title and line on the left, the form
   (482px) on the right, 1,092px across in all, centred on the screen both ways, over the page's gradient (its
   background-image, set in the page). Phones: one column, 35px in from each side, title above the form. */
.contact{position:relative;min-height:100vh;min-height:100svh;display:flex;background:var(--white) center / cover no-repeat;color:#000}  /* each page sets its background-image (in the page, so the url resolves from the page) */
.contact__header{position:absolute;top:10px;left:10px}
.contact__header img{display:block;height:19px;width:auto}
.contact__main{display:grid;grid-template-columns:minmax(0,1fr) 482px;align-items:start;align-self:center;width:min(1092px,calc(100% - 70px));margin:0 auto;padding:48px 0;translate:clamp(0px,(100vw - 1092px) / 2,13px) 0}  /* live sits 13px right of centre on wide screens */
.contact__intro{padding-top:16px}
.contact__title{margin:0;font-weight:600;font-size:var(--fs-display-s);line-height:1.13;letter-spacing:normal}
.contact__lead{margin:15px 0 0;font-weight:300;font-size:var(--fs-lead);line-height:1.35}
.contact__form{display:flex;flex-direction:column;gap:20px}
.contact__form label{display:flex;flex-direction:column;gap:10px;font-weight:400;font-size:var(--fs-small);line-height:18px}
.contact__field{display:block;width:100%;height:40px;margin:0;padding:0 12px;font:inherit;font-size:var(--fs-body);line-height:16.8px;color:#000;background:rgba(255,255,255,.8);border:0;border-radius:10px}
textarea.contact__field{height:58px;padding:12px;resize:vertical}
.contact--demo textarea.contact__field{height:60px}  /* as live: Book a demo's message box is 2px taller */
.contact__field::placeholder{color:#999;opacity:1}
.contact__field:focus{outline:2px solid #000;outline-offset:1px}
.contact__form label.contact__check{flex-direction:row;align-items:center;gap:10px;font-weight:300;cursor:pointer}
.contact__check input{flex:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;margin:0;border-radius:4px;background:var(--white);cursor:pointer}
.contact__check input:checked{background:#000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat}
.contact__check input:focus-visible{outline:2px solid #000;outline-offset:2px}
.contact__form .btn{align-self:flex-start;width:142px;height:40px;padding:0;background:#000}
@media (max-width:900px){
  .contact__main{grid-template-columns:minmax(0,1fr);align-self:start;padding:96px 0 48px;translate:none}
  .contact__intro{padding:0 0 20px}
  .contact__title{line-height:52px}
  .contact__lead{margin-top:23px;line-height:1.35}
}

/* ---------- From ~/five-website (Nov 2026): the closing section's flip to dark, and the nav's dark tone ---------- */
/* The closing CTA as a tone blend "in": its colours as tone variables (the gradient itself now drawn by the tone blend below) */
.cta{--tone:#4b4e66;--tone-mid:#3a3d57;--tone-end:#000;--tone-bg:linear-gradient(180deg,#4b4e66 0%,#3a3d57 49%,#000 100%);--tone-band:128px}
@media (max-width:900px){.cta{--tone-band:96px}}
html.tone-live .cta:not(.is-dark) .label{background:var(--fill-periwinkle);color:var(--periwinkle-deep)}  /* the label in its light-page colours until the flip */

/* ---------- Tone blend: a dark section easing into the light page, and back ----------
   Where a dark section meets the light page there is no hard edge: the section's background (--tone-bg; --tone is its
   solid colour at the edge that meets the page) fades out over --tone-band at that edge, and with motion a veil in --tone
   covers the page and fades with the scroll (site.js, "Tone blend"), so the whole screen eases from one into the other.
   data-tone-blend="in": a dark section arriving after light content, fading in at its top (the closing .cta is one, with
   no markup); "out": a dark section at the top of a page, fading into the light page below it (Palm's hero). The
   section's content stays above the veil; the light content beside it dims under the veil as the dark one takes over.
   Reduced motion or no script: no veil, the edge stays a soft gradient into the page. */
:is([data-tone-blend],.cta){position:relative;isolation:isolate;background:none}
:is([data-tone-blend],.cta)::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:var(--tone-bg,var(--tone))}
:is([data-tone-blend="in"],.cta)::before{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 var(--tone-band,160px));mask-image:linear-gradient(180deg,transparent 0,#000 var(--tone-band,160px))}
[data-tone-blend="out"]::before{-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 var(--tone-band,160px));mask-image:linear-gradient(0deg,transparent 0,#000 var(--tone-band,160px))}
.tone-veil{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:0;background:var(--ink);will-change:opacity}
html.tone-live :is([data-tone-blend],.cta,.site-footer){position:relative;z-index:2}  /* above the veil */
/* The "in" flip (the closing .cta, as on mercury.com): the section first shows in the page's colours, its title in ink on
   light; site.js adds .is-dark once the title passes the middle of the screen, and the screen inverts in .5s (veil, background,
   text and buttons together). No script or reduced motion: no tone-live, so the section simply stays dark */
/* One step, no edge: the veil alone does the whole inversion and carries the section's gradient lined up with it on screen
   (site.js, --tone-mid/--tone-end), so the section never fades separately from the page above it */
.tone-veil.is-flip{transition:opacity .5s cubic-bezier(.4,0,.2,1)}
html.tone-live .cta::before{opacity:0}
/* The footer is part of the same flip: on a page with a closing .cta it drops its own black fill (the veil's gradient
   already runs on to black through it), and its type and logo turn with the section, ink on light, then white */
html.tone-live:has(.cta) .site-footer{background:none;transition:color .5s cubic-bezier(.4,0,.2,1)}
html.tone-live:has(.cta) .site-footer__logo img{transition:filter .5s cubic-bezier(.4,0,.2,1)}
html.tone-live:has(.cta:not(.is-dark)) .site-footer{color:var(--ink)}
html.tone-live:has(.cta:not(.is-dark)) .site-footer__logo img{filter:invert(1)}
html.tone-live:has(.cta:not(.is-dark)) .site-footer__cols a:hover{color:var(--ink)}
html.tone-live .cta,html.tone-live .cta :is(p,.btn--outline){transition:color .5s cubic-bezier(.4,0,.2,1),box-shadow .5s cubic-bezier(.4,0,.2,1),background-color .2s}
html.tone-live .cta:not(.is-dark){color:var(--ink)}
html.tone-live .cta:not(.is-dark) p{color:var(--gray-600)}
html.tone-live .cta:not(.is-dark) .btn--outline{color:var(--ink);box-shadow:inset 0 0 0 1px rgba(12,14,26,.2)}

/* Dark tone: while the bar sits over something dark (a data-nav-tone="light" section, or the dark side of a tone blend;
   site.js sets is-on-dark from what is under the bar), everything in it is inverted: the logo, links and Log in in white,
   Book a demo as a white button, and once it is frosted (scrolled) or open (the desktop menu, the phone menu) its glass is
   Terminal 900 instead of white, with the menu's products in white. Back to the light bar as the page under it turns light */
.site-nav--tone :is(.site-nav__logo img,.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > a,.site-nav__menu-label,.site-nav__menu-links a){transition:color .3s,background-color .3s,filter .3s}
.site-nav--bar.is-scrolled:not(.is-menu)::before{transition:bottom var(--fold,.42s),background-color .3s,box-shadow .3s}
.site-nav--tone.is-on-dark :is(.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > .site-nav__login,.site-nav__menu-links a){color:var(--white)}
.site-nav--tone.is-on-dark :is(.site-nav__links > a,.site-nav__dd > button,.site-nav__actions > .site-nav__login,.site-nav__menu-links a):hover,.site-nav--tone.is-on-dark.is-menu .site-nav__dd > button{background:rgba(255,255,255,.12)}
.site-nav--tone.is-on-dark .site-nav__menu-label{color:var(--gray-400)}
.site-nav--tone.is-on-dark .site-nav__logo img{filter:brightness(0) invert(1)}
.site-nav--tone.is-on-dark .site-nav__actions > .btn--dark{background:var(--white);color:var(--black)}
.site-nav--tone.is-on-dark .site-nav__actions > .btn--dark:hover{background:var(--gray-200)}
.site-nav--tone.is-on-dark:not(.is-open) .site-nav__burger span,.site-nav--tone.is-on-dark .site-nav__burger span::before,.site-nav--tone.is-on-dark .site-nav__burger span::after{background:var(--white)}
.site-nav--bar.is-on-dark:is(.is-scrolled,.is-menu,.is-open)::before{background:rgba(12,14,26,.72);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);box-shadow:0 1px 0 rgba(255,255,255,.08)}
.site-nav--tone .site-nav__preview{border-radius:20px;transition:background-color .3s}
.site-nav__preview .site-nav__on-dark{display:none}
.site-nav--tone.is-on-dark .site-nav__preview img{display:none}
.site-nav--tone.is-on-dark .site-nav__preview .site-nav__on-dark{display:block}  /* on dark: each product's light-line version (assets/devices/*-on-dark.png: white lines, clear body, dark screen), straight on the dark glass */
@media (max-width:900px){.site-nav--bar.is-on-dark.is-open::before{background:rgba(12,14,26,.94)}}
/* This version's Hospitality menu is its own glass panel under the bar: dark glass too while the bar is on dark, with the
   product descriptions in a light grey */
.site-nav--tone.is-on-dark .site-nav__menu > div{background:rgba(12,14,26,.72);box-shadow:var(--shadow-card),inset 0 0 0 1px rgba(255,255,255,.1)}
.site-nav--tone.is-on-dark .site-nav__menu-desc{color:var(--gray-400)}

/* ---------- Panel rows and the insights section (from the Framer product pages: POS, Click & Collect; Nov 2026) ----------
   .prow: a 452px square visual (.fpanel) beside a white text box (64px padding, 32px between its parts), 1,188px across;
   --flip puts the visual on the right. The first row's text box has no fill, as it sits on the fading tint.
   .insights: centred copy on the tint fading to white, a product screen rising from the bottom edge and fading out.
   .section--soft-quick: follows a .hero--fade, its tint gone within 280px; .section--tint-in: white easing into the tint. */
.prows{display:flex;flex-direction:column;gap:56px;max-width:calc(1188px + var(--gutter) * 2)}  /* 1,188px of content inside the container gutters */
.prow{display:grid;grid-template-columns:minmax(300px,452px) minmax(0,1fr);gap:14px;align-items:center}  /* the panel gives way a little on narrow laptops, so the text keeps room */
.prow--flip{grid-template-columns:minmax(0,1fr) minmax(300px,452px)}
.prow--flip .fpanel{order:2}
.prow__text{display:flex;flex-direction:column;align-items:flex-start;gap:32px;padding:clamp(28px,4.5vw,64px);border-radius:var(--r-md);background:var(--white)}  /* Framer's White Type Box */
.prow:first-child .prow__text{background:none}  /* the first row's sits clear on the fading tint */
.prow__text .ticks{gap:8px}
.fpanel{position:relative;overflow:hidden;aspect-ratio:1;border-radius:var(--r-md);background:linear-gradient(91deg,#dbd8fc 0%,#eff0fa 100%)}  /* Framer's Image Wrapper fill */
.fpanel > img{width:100%;height:100%;object-fit:cover}
.section--soft-quick{background:linear-gradient(180deg,var(--fill-cool) 0,var(--white) 280px)}  /* the hero's tint, gone to white within the first row's top */
.section--tint-in{background:linear-gradient(180deg,var(--white) 0%,var(--fill-cool) 100%)}
.insights{position:relative;overflow:hidden;padding:75px 0 0;text-align:center;background:linear-gradient(180deg,var(--fill-cool) 0%,var(--white) 100%)}  /* picks up the tint the comparison ends on, and fades to white */
.insights .section-head{gap:26px;margin-bottom:56px}
.insights .section-head h2{max-width:none;font-weight:600}  /* the closing CTA's heading style (.cta .t-h2) */
@media (min-width:901px){.insights .section-head h2{white-space:nowrap}}  /* one line; phones wrap */
.insights .section-head p{max-width:760px}
.insights__clip{height:520px;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 50%,transparent 100%);mask-image:linear-gradient(180deg,#000 50%,transparent 100%)}  /* as the hero visual: the screen fades out towards the section's foot */
.insights__screen{display:block;width:min(960px,calc(100% - var(--gutter) * 2));height:auto;margin:0 auto;border-radius:15px 15px 0 0}
@media (max-width:900px){
  .prow,.prow--flip{grid-template-columns:minmax(0,1fr);gap:8px}
  .prow--flip .fpanel{order:0}
  .prow__text{padding:24px 0 0;gap:20px}
  .prows{gap:56px}
  .insights__clip{height:300px}
}


/* A closing CTA that stays dark (data-tone-blend="off": Access, Palm): its own gradient shows from the start, with a hard
   edge where it meets the tinted FAQ above (no fade); the footer keeps its black. The nav still turns dark over it
   (data-nav-tone="light") */
.cta[data-tone-blend="off"]::before,html.tone-live .cta[data-tone-blend="off"]::before{opacity:1;-webkit-mask-image:none;mask-image:none}
html.tone-live:has(.cta[data-tone-blend="off"]) .site-footer{background:#000}

/* ---------- Breeze (from ~/five-website, Nov 2026; the engine is in site.js) ---------- */
/* Breeze: a ribbon of fine dots twisting slowly like fabric in the wind, with dust drifting past, behind the hero copy
   (after mercury.com/payroll, in the brand colours on the soft fade). site.js draws it on a canvas ([data-breeze]);
   --breeze-a/b/c colour it from one edge of the ribbon to the other. A soft clearing behind the copy keeps it legible. */
.hero-breeze{--breeze-a:var(--pink);--breeze-b:var(--periwinkle-deep);--breeze-c:var(--blue);position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-breeze canvas{display:block;width:100%;height:100%}
.hero-breeze::after{content:"";position:absolute;inset:0;background:radial-gradient(30% 26% at 50% 52%,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 100%)}
@media (max-width:900px){.hero-breeze::after{background:radial-gradient(60% 34% at 50% 50%,rgba(255,255,255,.75) 0%,rgba(255,255,255,0) 100%)}}
.hero-breeze--fill::after{content:none}  /* as a visual in a slot: full strength, no clearing */


/* ---------- Product UI cards (from the POS page, Nov 2026) ----------
   Small pieces of Five's product drawn in code, floating on a panel's gradient (after mercury.com's product visuals).
   .stage: a fixed 452px square, scaled to its panel's height by site.js (put data-stage on the panel), so the UI keeps
   its proportions on phones. .ui-card: a white card with the graphic-card shadow; .ui-row: icon, text, amount;
   .ui-ico: a rounded icon tile; .ui-pill: a small status pill (with <i></i> for a live dot). */
.stage{position:absolute;left:50%;top:50%;width:452px;height:452px;translate:-50% -50%;scale:var(--k,1)}
.ui-card{position:absolute;padding:16px 18px;border-radius:20px;background:var(--white);box-shadow:0 24px 60px -20px rgba(26,32,71,.28);color:var(--ink);font-size:var(--fs-label);line-height:1.3}
.ui-ico{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--fill-periwinkle);color:var(--periwinkle-deep)}
.ui-ico svg{width:18px;height:18px}
.ui-ico--ink{background:var(--ink);color:var(--white)}
.ui-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:var(--r-pill);background:var(--white);box-shadow:var(--shadow-float);font-weight:500;font-size:var(--fs-caption);line-height:1.2;white-space:nowrap}
@keyframes ui-live{50%{opacity:.35}}
.ui-pill i{width:7px;height:7px;border-radius:50%;background:var(--success);animation:ui-live 1.6s ease-in-out infinite}
.ui-pill--ok{background:#e3f4ea;box-shadow:none;color:#146c3e}  /* 5.3:1 on its tint (AA) */
.ui-pill--soft{background:var(--fill-periwinkle);box-shadow:none;color:var(--periwinkle-deep)}
.ui-row{display:flex;align-items:center;gap:12px}
.ui-row > div{flex:1;min-width:0}
.ui-row b{display:block;font-weight:500;font-size:var(--fs-label)}
.ui-row small{display:block;font-size:var(--fs-caption);color:var(--gray-600);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-amt{font-weight:500;font-size:var(--fs-small);font-variant-numeric:tabular-nums}
.ui-ico--ok{background:#e3f4ea;color:var(--success)}
@media (prefers-reduced-motion:reduce){.ui-pill i{animation:none}}

/* ---------- Guest cards (the "Know every guest" section on POS and Click & Collect, Nov 2026) ----------
   Sizes kept as designed rather than on the type scale (review, Nov 2026).
   Three example cards in place of a product screen inside .insights__clip: who your guests are, one guest's profile,
   and one guest recognised across channels (sample figures). The markup is injected by site.js into
   <div class="insights__cards" data-guest-cards>, so every page shows the same cards: edit them once, there. */
.insights__cards{display:flex;justify-content:center;align-items:flex-start;gap:20px;width:min(1100px,calc(100% - var(--gutter) * 2));margin:0 auto;padding-top:8px;text-align:left}
.insights__cards .ui-card{position:relative;flex:1 1 0;min-width:0;padding:22px;border-radius:var(--r-md)}
.guest-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-weight:500;font-size:var(--fs-small)}
.guest-who{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.guest-avatar{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--pink),var(--periwinkle-deep));color:var(--white);font-weight:500;font-size:var(--fs-small)}
.guest-who b{display:block;font-weight:500;font-size:17px}
.guest-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.guest-tags .ui-pill{box-shadow:none}
.guest-tags .ui-pill--muted{background:var(--gray-200);color:var(--gray-600)}
.guest-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
.guest-stats div{padding:12px;border-radius:12px;background:var(--gray-100)}
.guest-stats small{display:block;font-size:11px;color:var(--gray-600)}
.guest-stats strong{font-weight:500;font-size:20px;font-variant-numeric:tabular-nums}
.guest-line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--gray-200);font-size:13px}
.guest-line span{color:var(--gray-600)}
.guest-big{display:block;font-weight:500;font-size:40px;line-height:1.1;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.guest-sub{display:block;margin:4px 0 18px;font-size:13px;color:var(--gray-600)}
.guest-stack{display:flex;height:14px;gap:3px;margin-bottom:16px}
.guest-stack i{border-radius:4px}
.guest-stack .is-a{flex:24}.guest-stack .is-b{flex:52}.guest-stack .is-c{flex:24}
:is(.guest-stack,.guest-legend) .is-a{background:var(--ink)}:is(.guest-stack,.guest-legend) .is-b{background:var(--periwinkle)}:is(.guest-stack,.guest-legend) .is-c{background:var(--lilac)}
.guest-legend{display:flex;flex-direction:column;gap:10px;font-size:13px}
.guest-legend div{display:flex;align-items:center;gap:8px}
.guest-legend i{flex:none;width:10px;height:10px;border-radius:3px}
.guest-legend span{flex:1}
.guest-legend b{font-weight:500;font-variant-numeric:tabular-nums}
.guest-trail{position:relative;display:flex;flex-direction:column;gap:14px;margin:0;padding:0 0 0 20px;list-style:none}
.guest-trail::before{content:"";position:absolute;left:5px;top:6px;bottom:6px;width:1.5px;background:var(--gray-300)}
.guest-trail li{position:relative;display:flex;justify-content:space-between;gap:10px;font-size:13px}
.guest-trail li::before{content:"";position:absolute;left:-20px;top:4px;width:11px;height:11px;border-radius:50%;background:var(--white);box-shadow:inset 0 0 0 2px var(--periwinkle)}
.guest-trail b{display:block;font-weight:500}
.guest-trail small{display:block;font-size:var(--fs-caption);color:var(--gray-600)}
.guest-trail .ui-amt{font-size:inherit}
.guest-match{display:flex;align-items:center;gap:8px;margin-top:16px;padding:10px 12px;border-radius:12px;background:var(--fill-cool);font-size:13px}
.guest-match svg{flex:none;width:16px;height:16px;color:var(--periwinkle-deep)}
@media (max-width:900px){
  .insights__cards{flex-direction:column}
  .insights__cards .ui-card:nth-child(n+2){display:none}  /* phones: the first card only, as it fades out */
}

/* ---------- Routes (Kiosk, Click & Collect; Nov 2026) ----------
   Line icons in circles joined by soft curves to a card (after mercury.com's invoice diagram). Markup: a container with
   data-route="<ms between sends>", an <svg class="route-lines"> holding one <path data-route-path> per .route-node (same
   order). site.js sends a dot down one path at a time, lights its node, and fires a "route:land" event on the
   container with detail.index, for the page to update its card. Node positions are set by the page. */
.route-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.route-lines path{fill:none;stroke:var(--lilac);stroke-width:1.5}
.route-lines circle{fill:var(--periwinkle-deep)}
.route-node{position:absolute;display:flex;flex-direction:column;align-items:center;gap:8px;translate:-50% 0;font-weight:500;font-size:var(--fs-caption);color:var(--periwinkle-deep)}
.route-node > span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1.5px var(--lilac);color:var(--violet);transition:box-shadow .3s,background .3s}
.route-node > span svg{width:26px;height:26px}
.route-node.is-on > span{background:var(--white);box-shadow:inset 0 0 0 1.5px var(--periwinkle-deep)}

/* ---------- Review options (temporary, while choosing between versions) ----------
   A page lists its choices in <script type="application/json" data-review-options>[["group","Label",[["value","Name"],…]],…]</script>;
   site.js adds this panel (bottom left) and shows each [data-opt="group:value …"] only while that value is picked;
   [data-group="group"] gets data-look. ?group=value links straight to one; the pick is remembered while reviewing. */
[data-opt][hidden]{display:none!important}
.review-pick{position:fixed;left:16px;bottom:16px;z-index:100;display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:20px;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--shadow-float);font-size:var(--fs-caption);line-height:1.2;max-width:calc(100vw - 32px)}
.review-pick > button{all:unset;cursor:pointer;padding:4px 8px;font-weight:500}
.review-pick.is-closed > div{display:none}
.review-pick > div{display:flex;align-items:center;gap:2px;white-space:nowrap;overflow-x:auto}
.review-pick span{min-width:52px;padding:0 6px 0 8px;color:var(--gray-600)}
.review-pick a{padding:6px 11px;border-radius:var(--r-pill);text-decoration:none;color:var(--ink)}
.review-pick a:hover{background:var(--gray-200)}
.review-pick a[aria-current]{background:var(--black);color:var(--white)}

/* ---------- Grid lines (Kiosk, Pay, Click & Collect; Nov 2026) ----------
   Faint construction lines behind a product visual (after mercury.com), fading out towards the edges. Put
   <div class="gridlines" aria-hidden="true"></div> first inside a positioned panel. */
.gridlines{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(94,101,157,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(94,101,157,.1) 1px,transparent 1px);background-size:56px 56px;background-position:center center;-webkit-mask-image:radial-gradient(75% 75% at 50% 50%,#000 30%,transparent 100%);mask-image:radial-gradient(75% 75% at 50% 50%,#000 30%,transparent 100%)}

/* ---------- Bento rows (Pay; Nov 2026) ---------- (titles and text kept at their designed sizes, review Nov 2026)
   .prows--bento turns the panel rows (.prows > .prow > .fpanel + .prow__text) into a 2 × 2 grid of white cards, the
   text above its panel, the 452px panel shown at full size. Same markup as the rows, so either layout fits. */
.prows--bento{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:calc(1100px + var(--gutter) * 2)}
.prows--bento .prow{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px;border-radius:var(--r-lg);background:var(--white);box-shadow:var(--shadow-card)}
.prows--bento .fpanel{order:2;aspect-ratio:auto;height:452px;margin-top:auto}
.prows--bento .prow__text{gap:12px;padding:28px 24px 32px;background:none}
.prows--bento .t-h2{font-size:26px;line-height:1.2}
.prows--bento .t-lead{font-size:17px}
@media (max-width:900px){
  .prows--bento{grid-template-columns:minmax(0,1fr)}
  .prows--bento .prow__text{padding:20px 12px 24px}
  .prows--bento .fpanel{height:340px}
}

/* ---------- Brand screen (Kiosk, Click & Collect; Nov 2026) ----------
   One ordering screen in a brand's own colours, sharp among faded copies (.brand-ghosts; after mercury.com's virtual
   cards). With data-brand-cycle="<ms>", site.js swaps the sample brand (name, colours, a menu item) while it's on screen:
   mark the name with data-brand-name and an item with data-brand-item. Centred in its stage by default. */
.brand-ghosts{position:absolute;inset:-40px;display:grid;grid-template-columns:repeat(4,128px);grid-auto-rows:204px;gap:22px;justify-content:center;align-content:center}
.brand-ghosts i{border-radius:16px;border:1px solid rgba(94,101,157,.22);background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.15))}
.brand-ghosts i::before{content:"";display:block;height:30px;margin:10px;border-radius:8px;background:rgba(137,144,198,.14)}
.brand-screen{--brand:#2f6f4f;--brand-soft:#e6f0ea;left:50%;top:50%;width:176px;translate:-50% -52%;display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:20px;box-shadow:0 30px 70px -20px rgba(26,32,71,.35),0 0 0 6px var(--ink)}
.brand-screen *{transition:background-color .6s ease,color .6s ease}
.brand-screen__bar{display:flex;align-items:center;justify-content:space-between;padding:10px 10px;border-radius:12px;background:var(--brand);color:var(--white);font-weight:600;font-size:var(--fs-caption)}
.brand-screen__bar small{font-weight:400;font-size:var(--fs-caption);opacity:.8}
.brand-screen__tiles{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.brand-screen__tiles div{padding:6px;border-radius:10px;background:var(--brand-soft);font-size:var(--fs-caption);line-height:1.25}
.brand-screen__tiles div::before{content:"";display:block;aspect-ratio:1.4;margin-bottom:5px;border-radius:7px;background:var(--white);opacity:.75}
.brand-screen__tiles b{display:block;font-weight:500}
.brand-screen__pay{padding:9px;border-radius:10px;background:var(--brand);color:var(--white);text-align:center;font-weight:500;font-size:var(--fs-caption)}
@media (prefers-reduced-motion:reduce){.brand-screen *{transition:none}}

/* ---------- Device frames (Kiosk, Click & Collect; Nov 2026) ----------
   A phone (.live--phone) or kiosk (.live--kiosk) frame around a still of the real product: <div class="live live--phone">
   <div class="live__screen"><img src="…"></div></div>. The stills are rendered from the Kiosk Playground's templates
   (see ../five-website-tools/live-templates/README.md); --live-w/--live-h give the screen's size (default 390 × 844). */
.live{position:relative;padding:10px;border-radius:46px;background:var(--ink);box-shadow:0 40px 80px -30px rgba(26,32,71,.45),inset 0 0 0 1.5px #3a3a3e}
.live__screen{position:relative;overflow:hidden;aspect-ratio:var(--live-w,390)/var(--live-h,844);border-radius:36px;background:var(--white)}
.live__screen > img{display:block;width:100%;height:100%;object-fit:cover}  /* a still of the template, in the same frame */
.live--phone::before{content:"";position:absolute;z-index:1;top:18px;left:50%;width:30%;height:22px;margin-left:-15%;border-radius:var(--r-pill);background:var(--ink);pointer-events:none}  /* the camera island */
.live--kiosk{padding:14px 14px 34px;border-radius:26px}
.live--kiosk .live__screen{border-radius:12px}
.live--kiosk::after{content:"";position:absolute;left:50%;bottom:13px;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:#3a3a3e}  /* the chin's camera dot */

/* Pay's cross-link title kept at its designed size (review, Nov 2026) */
.cross-link .t-h3{font-size:24px}
@media (max-width:900px){.cross-link .t-h3{font-size:22px}}

/* ---------- Accessibility and motion helpers (Nov 2026) ---------- */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* site.js marks visuals that are off screen: their CSS animations pause until they're back */
.is-offscreen,.is-offscreen *{animation-play-state:paused!important}
/* a pause button on long looping films ([data-pausable]; WCAG 2.2.2) */
.video-pause{position:absolute;right:16px;bottom:16px;z-index:2;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:rgba(12,14,26,.55);color:var(--white);cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.video-pause svg{width:14px;height:14px}
.video-pause:focus-visible{outline:2px solid var(--white);outline-offset:2px}

/* ---------- Palm icon: the ripple (Nov 2026) ----------
   A solid dot with one ring rippling out of it, for palm payments and palm recognition, in place of a hand. In any
   24px icon: <circle cx="12" cy="12" r="4" fill="currentColor" stroke="none"/><circle class="icon-ripple" cx="12"
   cy="12" r="10"/>. Pauses off screen (.is-offscreen) and stays still, ring showing softly, with reduced motion. */
.icon-ripple{transform-box:fill-box;transform-origin:center;animation:icon-ripple 2s cubic-bezier(.2,.6,.3,1) infinite}
@keyframes icon-ripple{0%{transform:scale(.35);opacity:0}15%{opacity:1}100%{transform:scale(1);opacity:0}}
@media (prefers-reduced-motion:reduce){.icon-ripple{animation:none;opacity:.45}}

/* ---------- Eyebrow spacing (Nov 2026): 16px from every eyebrow to its heading ----------
   The eyebrow sits in containers with different gaps; its bottom margin evens them out (16px minus the gap). */
.prow__text > .label{margin-bottom:-16px}               /* gap 32 */
.prows--bento .prow__text > .label{margin-bottom:4px}    /* gap 12 */
.story__text > .label{margin-bottom:-12px}               /* gap 28 */
.insights .section-head > .label{margin-bottom:-10px}    /* gap 26 */
.cross-link__copy > .label{margin-bottom:6px}            /* gap 10 */
@media (max-width:900px){.prow__text > .label{margin-bottom:-4px}.prows--bento .prow__text > .label{margin-bottom:4px}}  /* gap 20 on phones */

/* Hero event cards on phones (Nov 2026): the render is wider than the screen there, so the cards would shrink to ~7px
   and the right-hand one would sit off screen. At a readable size, stacked on the left. */
@media (max-width:600px){
  .render > .event{gap:8px;padding:8px 12px 8px 8px;border-radius:12px;font-size:var(--fs-caption)}
  .render > .event strong{font-size:13px}
  .render > .event .event__icon{width:26px;height:26px;border-radius:7px}
  .render > .event--right{right:auto;left:-3.5%;top:calc(13% + 56px)}
}
