/* ==========================================================================
   Homepage campaign redesign: twelve full-screen compositions.
   Artwork sits in a frame that keeps its aspect ratio and is anchored right
   (landscape) or bottom-centre (portrait); the flat studio colour of each image
   equals the section colour, so the frame blends into a full-screen colour field
   at any screen shape. Copy is real HTML in the empty side (desktop) or top
   (mobile). The optical zoom between sections is assets/js/home.js.
   ========================================================================== */

:root {
  --c-lime: #D5F900;
  --c-pink: #F52B83;
  --c-lavender: #B28AF5;
  --c-cyan: #00D5DC;
  --c-black: #101010;
  --c-white: #FFFFFF;
  --hz-pad: clamp(20px, 4.6vw, 76px);
  --hz-top: clamp(64px, 9vh, 96px);
}

html.home { background: var(--c-black); }
html.home body { background: var(--c-black); color: var(--c-black); }
html.home body.is-home { overflow-x: hidden; }

/* ---------- Header ---------- */
.hz-top {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: clamp(12px, 2.2vh, 24px) var(--hz-pad) 0;
  color: var(--hz-ink, var(--c-black));
  pointer-events: none;
  transition: color .35s ease;
}
.hz-top > * { pointer-events: auto; }
.hz-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.hz-brand__mark { width: clamp(40px, 3.6vw, 56px); height: clamp(28px, 2.6vw, 40px); flex: none; }
.hz-brand__text { display: grid; line-height: 1; }
.hz-brand__word { font-family: var(--f-display, "Archivo", sans-serif); font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: .01em; }
.hz-brand__word b { font-weight: 900; }
.hz-brand__word small { font-size: .55em; font-weight: 800; margin-left: .25em; }
.hz-brand__tag { font-size: clamp(8px, .62vw, 10px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; }
.hz-top__actions { display: flex; align-items: center; gap: 10px; }
.hz-top .btn--sm { box-shadow: none; }
html[data-tone="black"] .hz-top { --hz-ink: var(--c-white); }
html[data-tone="black"] .hz-top .hz-top__cta { background: var(--c-lime); color: var(--c-black); }
.hz-burger { background: var(--c-white); border-radius: 999px; }
html[data-tone="white"] .hz-burger { box-shadow: inset 0 0 0 1.5px var(--c-black); }
@media (max-width: 560px) {
  .hz-brand__text { display: none; }
  .hz-top__cta { padding: 9px 14px; font-size: 14px; }
}

/* ---------- One composition ---------- */
.hz {
  --bg: var(--c-lime); --fg: var(--c-black);
  /* artwork frame: landscape 16:9, anchored right */
  --fw: min(100cqw, 100cqh * 16 / 9);
  --fh: calc(var(--fw) * 9 / 16);
  /* copy column: the empty left 45% of the artwork (plus any extra colour field) */
  --cw: calc(100cqw - var(--fw) * 0.55 - var(--hz-pad) * 1.6);
  position: relative;
  height: 100vh; height: 100svh;
  overflow: hidden;
  container-type: size;
  background: var(--bg); color: var(--fg);
}
.hz--lime { --bg: var(--c-lime); }
.hz--pink { --bg: var(--c-pink); }
.hz--lavender { --bg: var(--c-lavender); }
.hz--cyan { --bg: var(--c-cyan); }
.hz--white { --bg: var(--c-white); }
.hz--black { --bg: var(--c-black); --fg: var(--c-white); }

.hz__scene { position: absolute; inset: 0; background: var(--bg); transform-origin: var(--ox, 70%) var(--oy, 50%); }
.hz__frame {
  position: absolute; right: 0; bottom: 0;
  width: var(--fw); aspect-ratio: 16 / 9;
  container-type: inline-size;
}
.hz__frame picture, .hz__img { display: block; width: 100%; height: 100%; }
.hz__img { object-fit: cover; }

/* ---------- Copy ---------- */
.hz__copy {
  position: absolute; z-index: 2;
  left: var(--hz-pad); top: var(--hz-top); bottom: clamp(24px, 6vh, 64px);
  width: max(280px, var(--cw));
  display: flex; flex-direction: column; justify-content: center; gap: clamp(12px, 2.4cqh, 26px);
}
.hz__eyebrow {
  margin: 0; display: flex; align-items: center; gap: 14px;
  font: 700 clamp(11px, .85vw, 13px)/1 var(--f-body, "Montserrat", sans-serif);
  letter-spacing: .26em; text-transform: uppercase;
}
.hz__eyebrow::before { content: ""; width: clamp(36px, 4vw, 64px); height: 2px; background: currentColor; }
.hz__eyebrow span { font-weight: 800; }
.hz__head {
  margin: 0;
  font-family: var(--f-display, "Archivo", sans-serif); font-weight: 900; font-stretch: 100%;
  text-transform: uppercase; line-height: .9; letter-spacing: -.025em;
  font-size: var(--head, min(calc(var(--cw) / 5.6), 12.5cqh));
  text-wrap: balance;
}
.hz__head:focus { outline: none; }
.hz__sub {
  margin: 0; max-width: 34ch;
  font: 600 clamp(16px, 1.45vw, 22px)/1.35 var(--f-body, "Montserrat", sans-serif);
}
.hz__actions { margin: clamp(4px, 1cqh, 12px) 0 0; }
.hz__btn { font-size: clamp(15px, 1.15vw, 18px); padding: 14px 26px; }
.hz--black .hz__btn { background: var(--c-lime); color: var(--c-black); }
.hz--black .hz__btn:hover, .hz--black .hz__btn:focus-visible { box-shadow: 0 0 0 3px var(--c-white); }

.hz__chips, .hz__included { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hz__chips li, .hz__included li {
  font: 700 clamp(12px, .95vw, 15px)/1 var(--f-body, "Montserrat", sans-serif);
  padding: 9px 14px; border-radius: 999px; background: var(--c-white); color: var(--c-black);
}
.hz__included li::before { content: "✓"; margin-right: 6px; }
.hz__short { display: none; margin: 0; max-width: 34ch; font: 600 14px/1.4 var(--f-body, "Montserrat", sans-serif); }
.hz__fine { margin: 0; font: 700 clamp(13px, 1vw, 15px)/1.4 var(--f-body, "Montserrat", sans-serif); }

.hz__steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 10px; }
.hz__steps li {
  counter-increment: st; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline;
  font: 600 clamp(15px, 1.25vw, 19px)/1.3 var(--f-body, "Montserrat", sans-serif);
}
.hz__steps li::before {
  content: counter(st, decimal-leading-zero); grid-row: span 2;
  font: 900 clamp(22px, 2vw, 30px)/1 var(--f-display, "Archivo", sans-serif);
}
.hz__steps b { font-weight: 800; }
.hz__steps span { grid-column: 2; font-weight: 500; }

/* ---------- Live overlays on blank areas of the artwork ---------- */
.hz-o { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); display: grid; place-items: center; }
.hz-qr { height: 80%; width: auto; aspect-ratio: 1; display: block; }
.hz-o--bar span {
  position: absolute; left: 19%; right: 15%; top: 50%; transform: translateY(-50%);
  font: 600 1.12cqi/1 var(--f-body, "Montserrat", sans-serif); color: var(--c-black); letter-spacing: -.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hz-o--bar b { font-weight: 800; }
a.hz-o--bar { text-decoration: none; border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease; }
a.hz-o--bar:hover { transform: scale(1.025); }
a.hz-o--bar:focus-visible { outline: 3px solid var(--c-black); outline-offset: 4px; }
.hz-o--try { text-decoration: none; }
.hz-o--try span { padding: .5cqi 1.1cqi; border-radius: 999px; background: var(--c-black); color: var(--c-white); white-space: nowrap; font: 700 .95cqi/1 var(--f-body, "Montserrat", sans-serif); }
.hz-o--try i { font-style: normal; }
.hz-try-m { display: none; }
.hz.mo-on .hz-o--try span { animation: hz-try 2.6s ease-in-out infinite; }
@keyframes hz-try { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.35cqi); } }
.hz-price { margin: 0; display: grid; justify-items: center; gap: .3cqi; color: var(--c-white); text-align: center; }
.hz-price__name { font: 700 1.05cqi/1 var(--f-body, "Montserrat", sans-serif); letter-spacing: .2em; text-transform: uppercase; }
.hz-price b { font: 900 6.2cqi/0.95 var(--f-display, "Archivo", sans-serif); color: var(--c-lime); letter-spacing: -.02em; }
.hz-price [data-price-period] { font: 600 1.35cqi/1 var(--f-body, "Montserrat", sans-serif); }
.hz-screen { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: .25cqi; }
.hz-pending {
  margin: 0; width: 88%; height: 86%; display: grid; place-content: center; text-align: center;
  border: 2px dashed rgba(16,16,16,.35); border-radius: 1.2cqi; color: rgba(16,16,16,.7);
  font: 800 1.4cqi/1.3 var(--f-body, "Montserrat", sans-serif);
}
.hz-pending small { font-weight: 500; font-size: .75em; }

/* ---------- FAQ (white, no artwork) ---------- */
.hz--plain .hz__copy { left: 50%; transform: translateX(-50%); width: min(880px, calc(100cqw - var(--hz-pad) * 2)); justify-content: flex-start; padding-top: clamp(8px, 4cqh, 48px); }
.hz--plain .hz__head { --head: min(13cqw, 11cqh, 120px); }
.hz-faq {
  overflow-y: auto; min-height: 0; flex: 1 1 auto;
  border-top: 2px solid var(--c-black);
  scrollbar-width: thin;
}
.hz-faq details { border-bottom: 1px solid rgba(16,16,16,.18); }
.hz-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: clamp(12px, 2.1cqh, 20px) 2px;
  font: 800 clamp(16px, 1.35vw, 21px)/1.25 var(--f-body, "Montserrat", sans-serif);
}
.hz-faq summary::-webkit-details-marker { display: none; }
.hz-faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23D5F900' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .25s ease;
}
.hz-faq details[open] summary::after { transform: rotate(45deg); }
.hz-faq summary:hover, .hz-faq summary:focus-visible { color: #000; text-decoration: underline; text-decoration-color: var(--c-pink); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hz-faq p { margin: 0 0 clamp(12px, 2cqh, 20px); max-width: 64ch; font: 500 clamp(15px, 1.1vw, 17px)/1.5 var(--f-body, "Montserrat", sans-serif); }

/* ---------- Footer (scrolls up over the last composition) ---------- */
.hz-footer { position: relative; z-index: 20; background: var(--c-black); color: var(--c-white); padding: clamp(40px, 7vh, 80px) var(--hz-pad) clamp(28px, 5vh, 56px); }
.hz-footer__grid { display: grid; gap: 22px; max-width: 1400px; }
.hz-brand--footer { color: var(--c-white); }
.hz-footer__nav, .hz-footer__legal { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hz-footer a { color: var(--c-white); text-decoration: none; font-weight: 600; }
.hz-footer__nav a { font-family: var(--f-display, "Archivo", sans-serif); font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); text-transform: uppercase; }
.hz-footer a:hover, .hz-footer a:focus-visible { color: var(--c-lime); }
.hz-footer__legal a { font-size: 14px; }
.hz-footer__notice { margin: 0; max-width: 80ch; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.75); border-left: 3px solid var(--c-lime); padding-left: 12px; }
.hz-footer__small { margin: 0; font-size: 12px; color: rgba(255,255,255,.6); }
.hz-footer__contact { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #fff; }
.hz-footer__contact a { color: var(--c-lime); }

/* ---------- Portrait (phones, portrait tablets): art bottom-centre, copy on top ---------- */
@media (max-aspect-ratio: 4/5) {
  .hz {
    --fw: min(100cqw, 100cqh * 9 / 16);
    --fh: calc(var(--fw) * 16 / 9);
    /* the empty top 40% of the artwork, plus any extra colour above it */
    --ch: calc(100cqh - var(--fh) * 0.6);
  }
  .hz__frame { aspect-ratio: 9 / 16; left: calc(50% - var(--fw) / 2); right: auto; }
  .hz-o { left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); }
  .hz__copy {
    top: calc(var(--hz-top) - 4px); bottom: auto; height: calc(var(--ch) - var(--hz-top) + 4px);
    left: var(--hz-pad); right: var(--hz-pad); width: auto;
    justify-content: center; gap: clamp(8px, 1.6cqh, 16px);
  }
  .hz__head { font-size: var(--head, min(11.5cqw, 7cqh)); }
  .hz__sub { font-size: clamp(14px, 4cqw, 18px); max-width: 30ch; }
  .hz__btn { padding: 12px 22px; font-size: 15px; }
  .hz__chips li, .hz__included li { padding: 7px 11px; font-size: 12px; }
  .hz__steps li { font-size: 14px; }
  .hz-o--bar span { font-size: 1.8cqi; }
  .hz-o--try span { font-size: 2.3cqi; padding: 1.2cqi 2.4cqi; }
  .hz-try-d { display: none; } .hz-try-m { display: inline; }
  .hz-price__name { font-size: 2.2cqi; }
  .hz-price b { font-size: 9cqi; }
  .hz-price [data-price-period] { font-size: 2.8cqi; }
  .hz-pending { font-size: 3.2cqi; }
  .hz--plain .hz__copy { left: var(--hz-pad); right: var(--hz-pad); transform: none; width: auto; height: auto; bottom: 24px; justify-content: flex-start; }
  /* content-heavy pages: smaller artwork, shorter copy */
  .hz--dense { --fw: min(82cqw, 100cqh * 9 / 16 * 0.82); }
  .hz--dense .hz__included { display: none; }
  .hz--dense .hz__short { display: block; }
  .hz--dense .hz__steps span { display: none; }
  .hz--dense .hz__steps li::before { font-size: 20px; }
  .hz--plain .hz__head { --head: min(14cqw, 9cqh); }
  .hz-faq { padding-bottom: 76px; } /* the last answer can scroll clear of the Ask FrontDesk button */
}

/* ======================= Optical zoom mode (JS on) ======================= */
html.hz-on { scroll-snap-type: y mandatory; scroll-behavior: auto; }
html.hz-on.hz-anim { scroll-snap-type: none; }
/* before the zoom engine starts, keep distant compositions (and their images) unloaded */
html.hz-pre .hz-stage > .hz:nth-child(n+4) { display: none; }
html.hz-on .hz-stage { position: fixed; inset: 0; z-index: 1; overflow: hidden; background: var(--c-black); }
html.hz-on .hz { position: absolute; inset: 0; height: auto; visibility: hidden; pointer-events: none; background: transparent; }
html.hz-on .hz.is-near { display: block; }
html.hz-on .hz.is-far { display: none; }
html.hz-on .hz.is-live { visibility: visible; }
html.hz-on .hz.is-settled { pointer-events: auto; }
html.hz-on .hz__scene, html.hz-on .hz__copy { will-change: auto; }
html.hz-on .hz.is-live .hz__scene { will-change: transform, opacity; }
.hz-track { position: relative; z-index: 0; pointer-events: none; }
.hz-track > div { height: 100vh; height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; }
html.hz-on .hz-footer { scroll-snap-align: end; }
html.hz-on.is-jumping .hz-stage { animation: hz-jump .45s ease both; }
@keyframes hz-jump { from { opacity: .15; } to { opacity: 1; } }

/* section dots */
.hz-dots { position: fixed; z-index: 25; right: clamp(10px, 1.4vw, 22px); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; }
.hz-dots button {
  width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--hz-ink, var(--c-black));
}
.hz-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; transition: transform .25s ease, opacity .25s ease; }
.hz-dots button[aria-current="true"]::before { opacity: 1; transform: scale(1.5); }
.hz-dots button:hover::before, .hz-dots button:focus-visible::before { opacity: 1; }
html[data-tone="black"] .hz-dots { --hz-ink: var(--c-white); }
@media (max-aspect-ratio: 4/5) { .hz-dots { display: none; } }

/* Keep the Ask FrontDesk button clear of copy and controls */
html.home .ask__fab { z-index: 26; }

/* review builds only (HOME_PREVIEW=1): pages not shown at launch */
.hz-preview-tag { margin: 0; align-self: flex-start; font: 800 11px/1 var(--f-body, "Montserrat", sans-serif); letter-spacing: .12em; text-transform: uppercase; background: var(--c-black); color: var(--c-lime); padding: 7px 10px; border-radius: 6px; }
.hz__more { margin-left: 14px; font: 700 clamp(14px, 1vw, 16px)/1 var(--f-body, "Montserrat", sans-serif); color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hz__more:hover, .hz__more:focus-visible { text-decoration-color: var(--c-pink); }

/* page 08: the phone screen invites a demo with Ask FrontDesk (real buttons) */
.hz-demo { width: 86%; height: 90%; display: flex; flex-direction: column; justify-content: center; gap: 4.5cqi; color: var(--c-black); }
.hz-demo__who { margin: 0; display: flex; align-items: center; gap: 1cqi; font: 800 1.25cqi/1 var(--f-body, "Montserrat", sans-serif); }
.hz-demo__who svg { width: 2.4cqi; height: 1.7cqi; }
.hz-demo__bubble { margin: 0; padding: 1.2cqi 1.4cqi; border-radius: 1.4cqi 1.4cqi 1.4cqi .3cqi; background: #F1F1EE; font: 600 1.15cqi/1.4 var(--f-body, "Montserrat", sans-serif); }
.hz-demo__chips { margin: 0; display: flex; gap: .8cqi; flex-wrap: wrap; }
.hz-demo__chips button { padding: .7cqi 1.1cqi; border-radius: 99px; border: 1.5px solid var(--c-black); background: none; color: var(--c-black); cursor: pointer; font: 700 1cqi/1 var(--f-body, "Montserrat", sans-serif); }
.hz-demo__chips button:hover, .hz-demo__chips button:focus-visible { background: var(--c-black); color: var(--c-lime); }
.hz-demo__go { align-self: stretch; padding: 1.3cqi; border: 0; border-radius: 99px; background: var(--c-black); color: var(--c-lime); cursor: pointer; font: 800 1.2cqi/1 var(--f-body, "Montserrat", sans-serif); }
.hz-demo__go:hover, .hz-demo__go:focus-visible { box-shadow: 0 0 0 3px var(--c-cyan), 0 0 0 5px var(--c-black); }
@media (max-aspect-ratio: 4/5) {
  .hz-demo { gap: 4cqi; }
  .hz-demo__who { font-size: 2.8cqi; } .hz-demo__who svg { width: 5cqi; height: 3.6cqi; }
  .hz-demo__bubble { font-size: 2.6cqi; padding: 2.4cqi 2.8cqi; border-radius: 3cqi 3cqi 3cqi .6cqi; }
  .hz-demo__chips button { font-size: 2.3cqi; padding: 1.4cqi 2.2cqi; }
  .hz-demo__go { font-size: 2.8cqi; padding: 2.8cqi; }
}

/* page 08 on phones: the phone screen has its own "Try a demo" button */
@media (max-aspect-ratio: 4/5) { #demo .hz__actions { display: none; } }

/* ==========================================================================
   Motion: live overlays on the artwork (assets/js/motion.js runs them while a
   page is on screen: it adds .mo-on to that section). Without JavaScript or with
   reduced motion, every overlay shows a complete still state.
   ========================================================================== */
@keyframes mo-breathe { from { transform: scale(1); } to { transform: scale(1.014); } }
.hz.mo-on .hz__frame { animation: mo-breathe 9s ease-in-out infinite alternate; transform-origin: 70% 60%; }

/* ---- page 02: questions in the speech bubbles ---- */
.mo-q { display: grid; place-items: center; }
.mo-q p {
  margin: 0; width: 100%; transform: rotate(var(--r)); text-align: center;
  display: grid; justify-items: center; gap: .5cqi;
}
.mo-q span {
  display: block; max-width: 100%; text-wrap: balance; color: #111;
  font: 800 var(--fs, 1.95cqi)/1.04 var(--f-body, "Montserrat", sans-serif); letter-spacing: -.03em;
  transition: opacity .28s ease, transform .4s cubic-bezier(.2, 1.4, .4, 1), filter .28s ease;
}
.mo-q.is-out span { opacity: 0; transform: scale(.82); filter: blur(3px); }
.mo-q.is-in span { animation: mo-pop .5s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes mo-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.mo-dots { display: flex; gap: .45cqi; height: .7cqi; }
.mo-dots b { width: .62cqi; height: .62cqi; border-radius: 50%; background: rgba(16,16,16,.22); }
.mo-q.is-typing .mo-dots b { animation: mo-dot .9s ease-in-out infinite; background: rgba(16,16,16,.45); }
.mo-q.is-typing .mo-dots b:nth-child(2) { animation-delay: .15s; }
.mo-q.is-typing .mo-dots b:nth-child(3) { animation-delay: .3s; }
@keyframes mo-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-.45cqi); opacity: 1; } }

/* ---- chat (page 03 glass screen, page 04 website widget) ---- */
.mo-chat { overflow: hidden; display: block; place-items: normal; }
/* (.hz-o centres its content with place-items, which recent browsers also apply in block layout) */
.mo-toasts, .mo-rise, .mo-rings { place-items: normal; }
.mo-list {
  list-style: none; margin: 0; padding: 0; height: 100%; width: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: opacity .4s ease;
}
.mo-list.is-clearing { opacity: 0; }
.mo-m { display: flex; align-items: center; flex: none; width: max-content; max-width: 92%; animation: mo-in .45s cubic-bezier(.2, 1.2, .4, 1) both; }
.mo-m--c { align-self: flex-start; }
.mo-m--r { align-self: flex-end; }
@keyframes mo-in { from { opacity: 0; transform: translateY(1cqi) scale(.94); } to { opacity: 1; transform: none; } }
.mo-av { flex: none; display: grid; place-items: center; border-radius: 50%; }
.mo-av svg { width: 62%; height: 62%; }
.mo-t { display: block; min-width: 0; }
.mo-typing .mo-t { display: flex; gap: .35em; padding-block: .62em; }
.mo-typing .mo-t b { width: .45em; height: .45em; border-radius: 50%; background: currentColor; animation: mo-dot2 .9s ease-in-out infinite; }
.mo-typing .mo-t b:nth-child(2) { animation-delay: .15s; } .mo-typing .mo-t b:nth-child(3) { animation-delay: .3s; }
@keyframes mo-dot2 { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.35em); opacity: 1; } }

/* glass screen on page 03: tilted with the screen's perspective */
.mo-chat--glass { transform: rotate(-2.6deg); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%); }
.mo-chat--glass .mo-list { gap: 1.05cqi; padding: 0 .4cqi .6cqi; }
.mo-chat--glass .mo-m { gap: .6cqi; font: 600 .94cqi/1.3 var(--f-body, "Montserrat", sans-serif); }
.mo-chat--glass .mo-t { padding: .62cqi 1.05cqi; }
.mo-chat--glass .mo-m--c .mo-t { background: #fff; color: #222; border-radius: 99px; box-shadow: 0 .3cqi .8cqi rgba(60, 30, 140, .18); }
.mo-chat--glass .mo-m--r .mo-t { background: rgba(80, 46, 170, .3); color: #fff; border-radius: 1.4cqi; }
.mo-chat--glass .mo-m--c .mo-av { order: -1; width: 2cqi; height: 2cqi; background: #fff; color: #7B5BE6; }
.mo-chat--glass .mo-m--r .mo-av { width: 2cqi; height: 2cqi; background: #fff; color: #6A46DB; }

/* website widget on page 04 */
.mo-chat--widget { background: #F3F4F7; border-radius: 0 0 .25cqi .25cqi; }
.mo-chat--widget .mo-list { gap: .5cqi; padding: .7cqi .7cqi .5cqi; }
.mo-chat--widget .mo-m { gap: .4cqi; font: 600 .62cqi/1.32 var(--f-body, "Montserrat", sans-serif); }
.mo-chat--widget .mo-t { padding: .42cqi .62cqi; border-radius: .6cqi; }
.mo-chat--widget .mo-m--r { align-self: flex-start; flex-direction: row-reverse; }
.mo-chat--widget .mo-m--r .mo-t { background: #E2E4EA; color: #1c1c1c; }
.mo-chat--widget .mo-m--c .mo-t { background: #101010; color: #fff; }
.mo-chat--widget .mo-m--c .mo-av { display: none; }
.mo-chat--widget .mo-m--r .mo-av { width: 1.1cqi; height: 1.1cqi; background: #101010; color: #fff; }
.mo-chips { display: grid; justify-items: end; gap: .32cqi; flex: none; animation: mo-in .45s ease both; }
.mo-chips span { padding: .38cqi .7cqi; border-radius: 99px; background: #fff; border: 1px solid #DADCE3; font: 600 .6cqi/1 var(--f-body, "Montserrat", sans-serif); color: #1c1c1c; transition: background .25s, color .25s, transform .25s; }
.mo-chips span.is-picked { background: #101010; color: var(--c-lime); transform: scale(1.05); }

/* ---- notifications (page 06 open space, page 07 Office screen) ---- */
.mo-toasts { display: block; }
.mo-toasts ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .8cqi; }
.mo-toast {
  display: flex; align-items: center; gap: .9cqi; padding: .8cqi 1.2cqi .8cqi .8cqi;
  border-radius: 1.2cqi; background: #fff; color: #111; box-shadow: 0 .6cqi 1.6cqi rgba(0, 40, 50, .18);
  animation: mo-toast-in .6s cubic-bezier(.2, 1.3, .4, 1) both;
}
.mo-toast.is-leaving { animation: mo-toast-out .45s ease both; }
@keyframes mo-toast-in { from { opacity: 0; transform: translateY(-1.4cqi) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes mo-toast-out { to { opacity: 0; transform: translateX(2cqi) scale(.95); } }
.mo-toast__icon { flex: none; width: 2.5cqi; height: 2.5cqi; border-radius: .8cqi; display: grid; place-items: center; background: var(--c-lime); color: #111; }
.mo-toast__icon svg { width: 58%; height: 58%; }
.mo-toast--callback .mo-toast__icon { background: var(--c-lavender); }
.mo-toast--chat .mo-toast__icon { background: var(--c-pink); color: #fff; }
.mo-toast b { display: block; font: 800 1.02cqi/1.2 var(--f-body, "Montserrat", sans-serif); }
.mo-toast small { display: block; font: 600 .86cqi/1.3 var(--f-body, "Montserrat", sans-serif); color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-toast > span:last-child { min-width: 0; }
/* on the Office screen: smaller, top right */
.hz-o.mo-toasts--screen { left: auto; right: 3%; top: 4%; width: 36%; height: auto; }
.mo-toasts--screen .mo-toast { padding: .45cqi .7cqi .45cqi .45cqi; gap: .5cqi; border-radius: .6cqi; box-shadow: 0 .4cqi 1.2cqi rgba(0, 0, 0, .22); outline: 2px solid var(--c-lime); }
.mo-toasts--screen .mo-toast__icon { width: 1.4cqi; height: 1.4cqi; border-radius: .4cqi; }
.mo-toasts--screen .mo-toast b { font-size: .6cqi; } .mo-toasts--screen .mo-toast small { font-size: .52cqi; }

/* ---- page 01: questions float up from the phone ---- */
.mo-rise { display: block; overflow: visible; pointer-events: none; }
.mo-pill {
  position: absolute; bottom: 0; padding: .55cqi 1cqi; border-radius: 1cqi 1cqi 1cqi .2cqi;
  background: #fff; color: #111; white-space: nowrap; box-shadow: 0 .4cqi 1cqi rgba(40, 60, 0, .18);
  font: 700 1cqi/1.2 var(--f-body, "Montserrat", sans-serif);
}
.mo-pill--dark { background: #111; color: var(--c-lime); }

/* ---- page 05: link types out business names; scan line over the QR code ---- */
.mo-qr { position: relative; display: block; height: 80%; aspect-ratio: 1; overflow: hidden; }
.mo-qr .hz-qr { height: 100%; }
.mo-scan { position: absolute; left: -4%; right: -4%; top: 0; height: 14%; opacity: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(213, 249, 0, 0), rgba(213, 249, 0, .55) 80%, #D5F900 100%); }
.hz.mo-on .mo-scan { animation: mo-scan 3.2s ease-in-out infinite; }
@keyframes mo-scan { 0% { transform: translateY(-100%); opacity: 0; } 12% { opacity: 1; } 50% { transform: translateY(620%); opacity: 1; } 62%, 100% { transform: translateY(620%); opacity: 0; } }
.mo-caret { display: none; width: .12em; height: 1.05em; margin: 0 -.12em 0 0; vertical-align: -.16em; background: currentColor; }
.hz.mo-on .mo-caret { display: inline-block; animation: mo-blink 1s steps(1) infinite; }
@keyframes mo-blink { 50% { opacity: 0; } }

/* ---- page 08: the demo phone ---- */
.hz.mo-on .hz-demo__go { animation: mo-glow 2.4s ease-out infinite; }
@keyframes mo-glow { 0% { box-shadow: 0 0 0 0 rgba(16, 16, 16, .45); } 70%, 100% { box-shadow: 0 0 0 1.6cqi rgba(16, 16, 16, 0); } }
.hz-demo.is-typing .hz-demo__bubble { color: transparent; position: relative; }
.hz-demo.is-typing .hz-demo__bubble::after { content: "• • •"; position: absolute; left: 1.4cqi; top: 50%; transform: translateY(-50%); color: #555; letter-spacing: .1em; animation: mo-blink .8s steps(1) infinite; }
.hz-demo .is-hidden { opacity: 0; transform: translateY(.8cqi); }
.hz-demo__chips, .hz-demo__go, .hz-demo__bubble { transition: opacity .45s ease, transform .45s cubic-bezier(.2, 1.3, .4, 1); }

/* ---- page 09: the steps light up in turn ---- */
.hz__steps.mo-steps li { transition: opacity .5s ease; opacity: .45; }
.hz__steps.mo-steps li.is-on { opacity: 1; }
.hz__steps.mo-steps li::before { transition: color .5s ease, transform .5s cubic-bezier(.2, 1.4, .4, 1); display: inline-block; }
.hz__steps.mo-steps li.is-on::before { color: var(--c-white); transform: scale(1.12); }

/* ---- page 10: light runs across the price ---- */
.hz.mo-on .hz-price b {
  background: linear-gradient(100deg, var(--c-lime) 42%, #F6FFD0 50%, var(--c-lime) 58%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: mo-sheen 4.2s ease-in-out infinite;
}
@keyframes mo-sheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }

/* ---- page 12: the bell rings ---- */
.mo-rings { display: block; pointer-events: none; }
.mo-rings i { position: absolute; inset: 0; border: .25cqi solid var(--c-lime); border-radius: 50%; opacity: 0; }
.hz.mo-on .mo-rings i { animation: mo-ring 3.6s cubic-bezier(.2, .7, .3, 1) infinite; }
.hz.mo-on .mo-rings i:nth-child(2) { animation-delay: .45s; }
.hz.mo-on .mo-rings i:nth-child(3) { animation-delay: .9s; }
@keyframes mo-ring { 0% { transform: scale(.25); opacity: 0; } 8% { opacity: .9; } 55%, 100% { transform: scale(1.15); opacity: 0; } }

/* ---- phones: the artwork is narrower, so overlay type is set larger ---- */
@media (max-aspect-ratio: 4/5) {
  .mo-q span { font-size: var(--fs, 3.7cqi); }
  .mo-dots { gap: .9cqi; height: 1.2cqi; } .mo-dots b { width: 1.1cqi; height: 1.1cqi; }
  .mo-chat--glass .mo-list { gap: 1.8cqi; }
  .mo-chat--glass .mo-m { font-size: 2.05cqi; gap: 1.3cqi; }
  .mo-chat--glass .mo-t { padding: 1.3cqi 2.2cqi; }
  .mo-chat--glass .mo-av, .mo-chat--glass .mo-m--c .mo-av { width: 4.2cqi; height: 4.2cqi; }
  .mo-chat--widget .mo-list { gap: 1cqi; padding: 1.4cqi; }
  .mo-chat--widget .mo-m { font-size: 1.3cqi; gap: .8cqi; }
  .mo-chat--widget .mo-t { padding: .8cqi 1.2cqi; border-radius: 1.2cqi; }
  .mo-chat--widget .mo-m--r .mo-av { width: 2.2cqi; height: 2.2cqi; }
  .mo-chips { gap: .7cqi; } .mo-chips span { font-size: 1.25cqi; padding: .8cqi 1.4cqi; }
  .mo-toasts ol { gap: 1.6cqi; }
  .mo-toast { gap: 1.8cqi; padding: 1.6cqi 2.4cqi 1.6cqi 1.6cqi; border-radius: 2.4cqi; }
  .mo-toast__icon { width: 5.4cqi; height: 5.4cqi; border-radius: 1.6cqi; }
  .mo-toast b { font-size: 2.3cqi; } .mo-toast small { font-size: 1.95cqi; }
  .mo-toasts--screen .mo-toast { padding: .9cqi 1.4cqi .9cqi .9cqi; gap: 1cqi; border-radius: 1.2cqi; }
  .mo-toasts--screen .mo-toast__icon { width: 3cqi; height: 3cqi; border-radius: .8cqi; }
  .mo-toasts--screen .mo-toast b { font-size: 1.3cqi; } .mo-toasts--screen .mo-toast small { font-size: 1.1cqi; }
  .hz-o.mo-toasts--screen { width: 44%; }
  .mo-pill { font-size: 2.4cqi; padding: 1.2cqi 2.2cqi; border-radius: 2.4cqi 2.4cqi 2.4cqi .5cqi; }
  .mo-rings i { border-width: .6cqi; }
}
/* page 09: "Welcome Desk" opens the example Welcome Desk */
.hz__wd { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hz__wd:hover, .hz__wd:focus-visible { text-decoration-color: var(--c-pink); }
#start .hz__more { white-space: nowrap; }
@media (max-width: 560px) { #start .hz__more { display: none; } }

/* a picture that couldn't load (assets/js/home.js): show the page colour, not a broken-image icon */
.hz__img.is-broken, .hz-screen.is-broken { visibility: hidden; }
