/* The home's first screen at night (templates/home.html, js/live.js phoneScene): the ads' look — a dark ground, two warm
   lights drifting, a fine grain, the title's number on an orange marker — and the CRM working by itself on a phone that
   stands in space, turned towards the words. Around the phone, at their own depths: a light in the niche's colour, a ring
   with what the CRM talks to, the bot's chat and the payment's card; the mouse turns it all a little (--mx, --my) and
   leaving the screen lays it back (--away). The header lies dark over it. Transforms and opacity only; under «reduce
   motion» it stands still. */

/* the niche's colours glide from one to the next */
@property --lv-accent { syntax: '<color>'; inherits: true; initial-value: #f2551d; }
@property --lv-accent2 { syntax: '<color>'; inherits: true; initial-value: #ff8a4c; }

.hx {
  --hx-bg: #0a0a0c; --hx-ink: #f5f5f7; --hx-ink-2: #b3b3bc; --hx-ink-3: #8b8b95; --hx-line: rgba(255, 255, 255, .12);
  position: relative; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 20px) 0 36px;
  background: var(--hx-bg); color: var(--hx-ink); isolation: isolate;
}
.hx > .container { position: relative; z-index: 1; }

/* ---- the ground: two warm lights, a dot grid where the phone stands, a grain ---- */
.hx-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hx-bg i { position: absolute; border-radius: 50%; }
.hx-bg i:nth-child(1) { right: -520px; top: -360px; width: 1000px; height: 1000px;
  background: radial-gradient(closest-side, rgba(242, 85, 29, .40), rgba(242, 85, 29, .12) 48%, transparent); animation: hx-drift-a 20s ease-in-out infinite alternate; }
.hx-bg i:nth-child(2) { left: -420px; bottom: -460px; width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(255, 150, 70, .2), transparent); animation: hx-drift-b 26s ease-in-out infinite alternate; }
.hx-bg i:nth-child(3) { inset: 0; border-radius: 0; opacity: .08;
  background: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hx-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.6px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(52% 58% at 74% 46%, #000, transparent 78%); mask-image: radial-gradient(52% 58% at 74% 46%, #000, transparent 78%); }
@keyframes hx-drift-a { to { transform: translate(-140px, 90px) scale(1.08); } }
@keyframes hx-drift-b { to { transform: translate(150px, -70px) scale(1.12); } }

/* ---- the words ---- */
.hx .badge { border-color: var(--hx-line); background: rgba(255, 255, 255, .04); color: #e6e6ea; }
.hx .h1 { color: var(--hx-ink); }
/* the number of kinds of business on an orange marker drawn under it, as in the ads */
.hx .h1__many { color: #fff; padding: 0 .1em; margin: 0 -.04em; border-radius: .1em;
  background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 64% / 0 80%; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: hx-mark .8s .35s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes hx-mark { to { background-size: 100% 80%; } }
.hx .h1__accent { color: var(--hx-ink-3); }
.hx .hero__sub { color: var(--hx-ink-2); }
.hx .hero__note { color: var(--hx-ink-3); }
.hx .btn--signal { box-shadow: 0 14px 34px -14px rgba(242, 85, 29, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--glass { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #fff; }
.btn--glass:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .13); }
.btn--glass .ic { color: #ffb08f; }
.hx .nchip { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #e7e7ea; }
.hx .nchip:hover { border-color: rgba(255, 255, 255, .34); }
.hx .nchip[aria-current="true"] { border-color: #fff; background: #fff; color: #0f0f10; }
.hx .nchip[aria-current="true"] .ic { color: var(--nchip, var(--signal)); }
.hx .lv-now { justify-content: center; margin: 6px 0 0; color: var(--hx-ink-2); }
.hx .lv-now__name { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hx .lv-now__demo { margin-left: 4px; color: #ff8a5c; }
.hx .trust { border-top-color: var(--hx-line); color: #d6d6db; }
.hx .pulse { border-color: var(--hx-line); background: rgba(255, 255, 255, .04); }
.hx .pulse__item { background: rgba(255, 255, 255, .06); color: #cfcfd5; }
.hx .pulse__item b { color: #fff; }
.hx .pulse__item:hover { background: rgba(255, 255, 255, .11); }
.hx .tryon { border-color: var(--hx-line); background: rgba(255, 255, 255, .05); box-shadow: none; backdrop-filter: none; }
.hx .tryon__label { color: #d6d6db; }
.hx .tryon__input { border-color: rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .25); color: #fff; }
.hx .tryon__input:focus { border-color: #fff; }
.hx .tryon__hint { color: var(--hx-ink-3); }

/* ---- the stage: the phone in space ---- */
.hx-stage { --mx: 0; --my: 0; --away: 0; --k: 1; --ry: -17deg; --rx: 9deg;
  position: relative; height: 680px; perspective: 1500px; perspective-origin: 40% 32%; transition: --lv-accent .9s ease, --lv-accent2 .9s ease; }
.hx-rise { position: absolute; left: 60%; top: 50%; width: 300px; height: 620px; margin: -310px 0 0 -150px; transform-style: preserve-3d; scale: var(--k);
  animation: hx-rise 1.5s .1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hx-rise { from { opacity: 0; transform: translateY(150px) rotateX(36deg) scale(.86); } }
.hx-rig { position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateY(calc(var(--away) * -30px)) rotateX(calc(var(--rx) - var(--my) * 5deg + var(--away) * 16deg)) rotateY(calc(var(--ry) + var(--mx) * 9deg)) rotateZ(1.5deg); }
/* the light behind the phone in the niche's colours, and the ring with the bot, the calendar and the till going round */
.hx-halo { position: absolute; left: 50%; top: 46%; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; transform: translateZ(-170px);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--lv-accent) 72%, transparent), color-mix(in srgb, var(--lv-accent2) 30%, transparent) 55%, transparent); opacity: .9; }
.hx-ring { position: absolute; left: 50%; top: 50%; width: 480px; height: 480px; margin: -240px 0 0 -240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09);
  transform: translateZ(-90px); animation: hx-spin 48s linear infinite; }
.hx-ring::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 62%, color-mix(in srgb, var(--lv-accent2) 85%, #fff) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); }
.hx-ring__node { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px; border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(22, 22, 26, .9); color: #fff; animation: hx-spin 48s linear infinite reverse; }
.hx-ring__node .ic { width: 18px; height: 18px; }
.hx-ring__node:nth-child(1) { left: 50%; top: 0; }
.hx-ring__node:nth-child(2) { left: calc(50% + 207.8px); top: calc(50% + 120px); }
.hx-ring__node:nth-child(3) { left: calc(50% - 207.8px); top: calc(50% + 120px); }
@keyframes hx-spin { to { rotate: 360deg; } }

/* ---- the phone ---- */
.hx-phone { position: absolute; inset: 0; padding: 10px; border-radius: 50px;
  background: linear-gradient(150deg, #55555e 0%, #1e1e22 20%, #0c0c0e 58%, #2d2d33 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 0 3px #070708, 0 70px 110px -44px rgba(0, 0, 0, .95),
    0 40px 90px -50px color-mix(in srgb, var(--lv-accent) 70%, transparent); }
.hx-phone::before { content: ""; position: absolute; right: -2px; top: 168px; width: 3px; height: 74px; border-radius: 0 2px 2px 0; background: #26262b; }
.hx-phone::after { content: ""; position: absolute; left: -2px; top: 132px; width: 3px; height: 36px; border-radius: 2px 0 0 2px; background: #26262b; box-shadow: 0 52px 0 #26262b; }
.hx-screen { position: relative; height: 100%; overflow: hidden; border-radius: 41px; background: #f4f4f2; color: #0f0f10; isolation: isolate; }
/* the glass catches the light as the phone turns */
.hx-screen::after { content: ""; position: absolute; inset: 0; z-index: 7; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 26%, transparent 42%); translate: calc(var(--mx) * 26px) 0; }
.hx-island { position: absolute; z-index: 6; top: 9px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 20px; background: #000; }
.hx-status { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 4px 24px 0 30px; font: 600 13px/1 var(--font-display); }
.hx-status__icons { position: relative; width: 48px; height: 11px; }
.hx-status__icons::before { content: ""; position: absolute; left: 0; bottom: 0; width: 17px; height: 11px;
  background: linear-gradient(#0f0f10, #0f0f10) 0 100% / 3px 40% no-repeat, linear-gradient(#0f0f10, #0f0f10) 4.6px 100% / 3px 60% no-repeat,
    linear-gradient(#0f0f10, #0f0f10) 9.2px 100% / 3px 80% no-repeat, linear-gradient(#0f0f10, #0f0f10) 13.8px 100% / 3px 100% no-repeat; }
.hx-status__icons::after { content: ""; position: absolute; right: 0; top: 0; width: 24px; height: 11px; border: 1.2px solid rgba(15, 15, 16, .4); border-radius: 3.5px;
  background: linear-gradient(#0f0f10, #0f0f10) 1.5px 50% / 72% calc(100% - 3px) no-repeat; }

/* the app */
.hx-app { position: relative; transition: opacity .26s, translate .3s var(--ease); }
.hx-app.is-out { opacity: 0; translate: 0 -10px; }
.hx-head { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; }
.hx-logo { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--lv-accent); color: #fff; font: 700 16px/1 var(--font-display); }
.hx-named { flex: 1; min-width: 0; }
.hx-named b { display: block; overflow: hidden; font: 650 14.5px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.hx-named small { display: block; font-size: 11px; color: #75757d; }
.hx-me { flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--lv-accent2), var(--lv-accent)); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(0, 0, 0, .06); }
.hx-rev { margin: 0 12px; padding: 13px 14px 12px; border-radius: 20px; color: #fff;
  background: radial-gradient(130% 150% at 100% 0%, color-mix(in srgb, var(--lv-accent2) 80%, transparent), transparent 62%), var(--lv-accent);
  box-shadow: 0 16px 30px -18px var(--lv-accent); }
.hx-rev__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hx-rev__top small { font-size: 11px; opacity: .88; }
.hx-rev__up { padding: 2px 7px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.hx-rev__sum { display: block; margin: 3px 0 10px; font: 700 28px/1.1 var(--font-display); letter-spacing: -.02em; }
.hx-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 6px; height: 40px; }
.hx-bars i { height: 100%; border-radius: 5px 5px 2px 2px; background: rgba(255, 255, 255, .3); transform-origin: 50% 100%; transform: scaleY(var(--h, .5));
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1); }
.hx-bars i:last-child { background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .55); }
.hx-lh { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 8px; }
.hx-lh b { font: 650 13px/1 var(--font-display); }
.hx-lh__n { min-width: 26px; padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--lv-accent) 12%, #fff); color: var(--lv-accent); font: 700 11px/1 var(--font-display); text-align: center; }
.hx-list { position: relative; display: grid; gap: 6px; padding: 0 10px; }
.hx-row { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px 10px 9px 12px; border-radius: 15px;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .035);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .35s, box-shadow .35s; }
.hx-row::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lv-accent); }
.hx-row__t { font: 700 12px/1 var(--font-display); }
.hx-row__b { min-width: 0; }
.hx-row__b b { display: block; overflow: hidden; font-size: 12.5px; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.hx-row__b small { display: block; overflow: hidden; font-size: 10.5px; line-height: 1.3; color: #75757d; text-overflow: ellipsis; white-space: nowrap; }
.hx-row__s { display: grid; justify-items: end; gap: 4px; }
.hx-row__s b { font: 700 12px/1 var(--font-display); transition: color .3s; }
.hx-chip { padding: 2px 7px; border-radius: 99px; background: #f0f0ee; color: #5b5b62; font-size: 9.5px; font-weight: 700; line-height: 1.35; white-space: nowrap; transition: background .3s, color .3s; }
.hx-row.is-arrived::before { background: var(--ok); }
.hx-row.is-arrived .hx-chip, .hx-row.is-confirmed .hx-chip { background: color-mix(in srgb, var(--ok) 13%, #fff); color: var(--ok); }
.hx-row.is-confirmed .hx-chip::before { content: "✓ "; }
.hx-row.is-online { box-shadow: 0 0 0 1.5px var(--signal), 0 8px 18px -10px rgba(242, 85, 29, .6); }
.hx-row.is-online .hx-chip { background: var(--signal); color: #fff; }
.hx-row.is-paid .hx-chip { background: var(--ok); color: #fff; }
.hx-row.is-paid .hx-row__s b { color: var(--ok); }
.hx-row.is-new { opacity: 0; transform: translateX(46px) scale(.94); }
.hx-row.is-pop { transform: scale(1.04); }
.hx-tabs { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 70px; padding: 9px 8px 22px;
  border-top: 1px solid #ebebe8; background: rgba(255, 255, 255, .94); }
.hx-tabs span { display: grid; justify-items: center; align-content: start; gap: 3px; min-width: 0; color: #9a9aa2; }
.hx-tabs .ic { width: 19px; height: 19px; }
.hx-tabs small { max-width: 100%; overflow: hidden; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hx-tabs span.is-on { color: var(--lv-accent); }
.hx-tabs::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 108px; height: 4px; margin-left: -54px; border-radius: 4px; background: #0f0f10; }
/* the bot's banner drops over the app */
.hx-push { position: absolute; z-index: 5; top: 44px; left: 8px; right: 8px; display: flex; gap: 10px; padding: 10px 12px 11px; border-radius: 20px;
  background: rgba(255, 255, 255, .97); box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .05);
  opacity: 0; transform: translateY(-130%); transition: transform .6s cubic-bezier(.34, 1.4, .64, 1), opacity .3s; }
.hx-push.is-in { opacity: 1; transform: none; }
.hx-push__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #2aa3e0; color: #fff; }
.hx-push__ic .ic { width: 18px; height: 18px; }
.hx-push__body { flex: 1; min-width: 0; }
.hx-push__head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.hx-push__head b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.hx-push__head small { flex: none; font-size: 10px; color: #8a8a92; }
.hx-push__text { display: block; font-size: 11.5px; line-height: 1.32; color: #1c1c1f; }
/* the money flies from its row to the day's revenue; a tap's ring where a finger pressed */
.hx-fly { position: absolute; z-index: 6; left: 0; top: 0; padding: 5px 10px; border-radius: 99px; background: var(--ok); color: #fff; font: 700 12px/1 var(--font-display);
  box-shadow: 0 10px 22px -8px rgba(19, 128, 79, .7); opacity: 0; pointer-events: none; transform: translate(var(--x0, 0), var(--y0, 0)); }
.hx-fly.is-on { animation: hx-fly .95s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes hx-fly {
  0% { opacity: 0; transform: translate(var(--x0), var(--y0)) scale(.7); }
  18% { opacity: 1; transform: translate(var(--x0), calc(var(--y0) - 12px)) scale(1.06); }
  82% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x1), var(--y1)) scale(.8); }
}
.hx-tap { position: absolute; z-index: 6; left: 0; top: 0; width: 38px; height: 38px; margin: -19px; border-radius: 50%; background: rgba(15, 15, 16, .16);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); opacity: 0; pointer-events: none; transform: translate(var(--x, 0), var(--y, 0)); }
.hx-tap.is-on { animation: hx-tap .7s ease-out; }
@keyframes hx-tap { 0% { opacity: 1; transform: translate(var(--x), var(--y)) scale(.4); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.7); } }

/* ---- beside the phone: the bot's chat and the payment's card, nearer to us than the phone ---- */
.hx-card { position: absolute; border-radius: 18px; box-shadow: 0 34px 60px -22px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .06);
  opacity: 0; scale: .82; transition: opacity .35s, scale .65s cubic-bezier(.34, 1.56, .64, 1); }
.hx-card.is-in { opacity: 1; scale: 1; }
.hx-tg { left: -150px; bottom: 58px; width: 230px; transform: translateZ(110px); translate: calc(var(--mx) * -18px) calc(var(--my) * -12px); }
.hx-tg .lv-chat { min-height: 52px; }
/* the answer buttons take room only while they are shown: the chat grows upward like a real one */
.hx-tg .lv-kb.is-hidden { display: none; }
.hx-pay { right: -158px; top: 36px; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 6px 10px; width: 218px; padding: 13px 14px;
  background: #fff; color: #0f0f10; transform: translateZ(160px); translate: calc(var(--mx) * -28px) calc(var(--my) * -16px); }
.hx-pay__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ok); color: #fff; }
.hx-pay__ic .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.hx-pay b { display: block; font-size: 12.5px; line-height: 1.25; }
.hx-pay small { display: block; overflow: hidden; font-size: 10.5px; color: #75757d; text-overflow: ellipsis; white-space: nowrap; }
.hx-pay__sum { grid-column: 1 / -1; font: 700 24px/1 var(--font-display); letter-spacing: -.02em; color: var(--ok); }

/* ---- the header lies dark over the first screen ---- */
.header { transition: border-color .2s, color .3s; }
.header::before { transition: background .3s; }
body:not(.menu-open) .header.is-on-dark { color: #f5f5f7; }
body:not(.menu-open) .header.is-on-dark::before { background: rgba(10, 10, 12, .5); }
body:not(.menu-open) .header.is-on-dark.is-scrolled { border-bottom-color: rgba(255, 255, 255, .08); }
body:not(.menu-open) .header.is-on-dark .logo__mark { background: #fff; }
body:not(.menu-open) .header.is-on-dark .logo__mark::before { background: #0f0f10; }
body:not(.menu-open) .header.is-on-dark .lang-chip { border-color: rgba(255, 255, 255, .22); }
body:not(.menu-open) .header.is-on-dark .lang-chip:hover { border-color: #fff; }
body:not(.menu-open) .header.is-on-dark .btn--dark { background: #fff; color: #0f0f10; }
body:not(.menu-open) .header.is-on-dark .btn--dark:hover { background: #e7e7ea; }
body:not(.menu-open) .header.is-on-dark .nav a:hover { color: #ff8a5c; }

/* ---- a phone and a tablet: the phone right under the title, its lower part fading into the night, then the buttons ---- */
@media (max-width: 959px) {
  .hx { padding: calc(var(--header-h) + 14px) 0 32px; }
  .hx__grid { gap: 0; grid-template-areas: "badge" "title" "visual" "cta" "chips" "note" "sub" "tryon"; }
  .hx__copy { display: contents; }
  .hx .badge { grid-area: badge; justify-self: start; margin-bottom: 14px; }
  .hx .h1 { grid-area: title; }
  .hx .hero__visual { grid-area: visual; min-width: 0; }
  .hx .hero__cta { grid-area: cta; margin-top: 2px; }
  .hx .nchips { grid-area: chips; margin-top: 18px; }
  .hx .hero__note { grid-area: note; }
  .hx .hero__sub { grid-area: sub; margin-top: 18px; }
  .hx .tryon { grid-area: tryon; margin-top: 22px; }
  .hx-stage { --k: .74; --ry: -13deg; --rx: 12deg; height: 392px; margin: 0 calc(-1 * var(--gutter)); overflow: clip;
    -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
  .hx-rise { left: 50%; top: 44px; margin: 0 0 0 -150px; transform-origin: 50% 0; }
  .hx-tg { left: -66px; bottom: 200px; }
  /* one card at a time on a narrow screen: the chat steps away when the payment comes, and the payment takes its place —
     over the phone's top it hid a long business name (its own, typed in «Özünüzə yoxlayın») */
  .hx-pay { right: auto; left: -66px; top: auto; bottom: 200px; }
  .hx-stage.is-paying .hx-tg { opacity: 0; scale: .82; }
  .hx-halo { top: 34%; }
  .hx .lv-now { margin-top: -10px; margin-bottom: 14px; }
  .hx-bg i:nth-child(1) { right: -560px; top: -260px; width: 900px; height: 900px; }
  .hx-bg::after { -webkit-mask-image: radial-gradient(70% 34% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(70% 34% at 50% 40%, #000, transparent 80%); }
}
/* a tablet: the phone larger */
@media (min-width: 600px) and (max-width: 959px) {
  .hx-stage { --k: .9; height: 470px; }
  .hx-tg { left: -120px; }
  .hx-pay { left: -120px; }
}
@media (max-width: 599px) {
  /* every pixel of the first screen is the phone's and the buttons': the days to launch are said again further down */
  .hx .badge { display: none; }
  /* the line under the phone names the niche; its demo is the button right below */
  .hx .lv-now__demo { display: none; }
  .hx .h1 { font-size: clamp(30px, 8.6vw, 40px); }
}
@media (min-width: 960px) {
  .hx { padding: calc(var(--header-h) + 40px) 0 56px; }
  .hx__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .hx .hero__visual { align-self: center; }
  .hx .tryon { margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-bg i, .hx-ring, .hx-ring__node, .hx-rise { animation: none !important; }
  .hx .h1__many { animation: none; background-size: 100% 80%; }
}
