/*
 * Landing page of pos.hyzmat.biz: the HZ2 system (same tokens and class names as the shared landing
 * kit of sms.hyzmat.biz, hz/kit.css), then the POS page's own pieces. Light by default, dark by
 * prefers-color-scheme or the stored choice (data-theme on <html>, set by landing.js). Geist
 * Variable is served from /landing/fonts (OFL-1.1). No inline styles anywhere: values that change
 * at run time go through custom properties.
 */

@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/landing/fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/landing/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/landing/fonts/geist-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- Tokens ---------- */

/* Light (and every .hz-light mock, in both themes). */
.hz,
.hz-light {
  color-scheme: light;
  --hz-inverse-edge: transparent;
  --hz-code-edge: transparent;
}
.hz {
  /* fixed in both themes */

  /* type */
  --hz-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
  --hz-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hz-t-h1: clamp(40px, 3.048vw + 28.11px, 72px);
  --hz-t-h1-collage: clamp(40px, 2.286vw + 31.09px, 64px);
  --hz-t-h2: clamp(30px, 1.714vw + 23.31px, 48px);
  --hz-t-h3: clamp(24px, 0.381vw + 22.51px, 28px);
  --hz-t-lead: clamp(18px, 0.19vw + 17.26px, 20px);
  --hz-t-card: clamp(18px, 0.19vw + 17.26px, 20px);
  --hz-t-stat: clamp(28px, 0.952vw + 24.29px, 38px);

  /* rhythm (desktop; smaller steps below) */
  --hz-gut: 80px;
  --hz-nav: 72px;
  --hz-padt: 120px;
  --hz-padb: 72px;
  --hz-hgap: 48px;
  --hz-hpadb: 64px;
  --hz-head-gap: 48px;

  /* radius */
  --hz-r-sm: 8px;
  --hz-r-md: 12px;
  --hz-r-lg: 20px;

  /* motion */
  --hz-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --hz-ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --hz-in: 150ms;
  --hz-out: 120ms;
  --hz-press: 90ms;
  --hz-panel: 200ms;
  --hz-slide: 240ms;
}
/* Dark: the stored choice (data-theme on <html>), or the system when nothing is stored. */
[data-theme="dark"] .hz {
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hz {
    color-scheme: dark;
  }
}

/* Inverse ground (the footer, an inverse section, old night bands): light text, the bright action. */
.hz .hz-closing,
.hz [data-ground="inverse"],
.hz .hz-on-night {
  color-scheme: dark;
}

/* Rhythm steps */
@media (max-width: 1023px) {
  .hz {
    --hz-gut: 48px;
  }
}
@media (max-width: 639px) {
  .hz {
    --hz-gut: 24px;
    --hz-nav: 56px;
    --hz-padt: 96px;
    --hz-padb: 48px;
    --hz-hgap: 40px;
    --hz-hpadb: 24px;
    --hz-head-gap: 32px;
  }
}
/* Dark grounds in both themes: the focus ring takes the bright action (3:1 on the inverse ground). */

/* ---------- Page ---------- */

html {
  font-size: 100%;
  background: var(--hzm-page-light);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html[data-theme="dark"] {
  background: var(--hzm-page-dark);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    background: var(--hzm-page-dark);
  }
}

/* Reset (below the kit layer, so every kit rule wins over it). */
@layer base {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  body {
    min-height: 100svh;
    overflow-x: clip;
  }
  img,
  svg,
  video {
    display: block;
    max-width: 100%;
  }
  img,
  video {
    height: auto;
  }
  button,
  input,
  output {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    background: none;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    cursor: default;
  }
  a {
    color: inherit;
    text-decoration: inherit;
  }
  ol,
  ul {
    list-style: none;
  }
  h1,
  h2,
  h3,
  h4 {
    font-size: inherit;
    font-weight: inherit;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components {
  .hz {
    font-family: var(--hz-sans);
    font-size: 16px;
    line-height: 26px;
    color: var(--hz-ink);
    background: var(--hz-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  .hz-light {
    color: var(--hz-ink);
  }
  /* Beats ui-sdk's inline-code chip (OTA); utilities still win. */
  .hz code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-family: var(--hz-mono);
    font-size: inherit;
    color: inherit;
  }
  .hz h1,
  .hz h2,
  .hz h3 {
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .hz p {
    text-wrap: pretty;
  }

  /* Focus: 2px action ring, 2px off the control, never animated. */
  .hz :focus-visible {
    outline: 2px solid var(--hz-action);
    outline-offset: 2px;
    transition: none;
  }

  .hz-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  /* ---------- Layout ---------- */

  .hz-wrap {
    width: min(100% - 2 * var(--hz-gut), 1280px);
    margin-inline: auto;
  }
  .hz-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
  }
  /* Spans and starts apply from 1024px; below, every item takes the full row (splits stack). */
  .hz-grid > * {
    grid-column: 1 / -1;
  }
  @media (min-width: 1024px) {
    .hz-span-1 {
      grid-column: span 1 / span 1;
    }
    .hz-span-2 {
      grid-column: span 2 / span 2;
    }
    .hz-span-3 {
      grid-column: span 3 / span 3;
    }
    .hz-span-4 {
      grid-column: span 4 / span 4;
    }
    .hz-span-5 {
      grid-column: span 5 / span 5;
    }
    .hz-span-6 {
      grid-column: span 6 / span 6;
    }
    .hz-span-7 {
      grid-column: span 7 / span 7;
    }
    .hz-span-8 {
      grid-column: span 8 / span 8;
    }
    .hz-span-9 {
      grid-column: span 9 / span 9;
    }
    .hz-span-10 {
      grid-column: span 10 / span 10;
    }
    .hz-span-11 {
      grid-column: span 11 / span 11;
    }
    .hz-span-12 {
      grid-column: 1 / -1;
    }
    .hz-start-1 {
      grid-column-start: 1;
    }
    .hz-start-2 {
      grid-column-start: 2;
    }
    .hz-start-3 {
      grid-column-start: 3;
    }
    .hz-start-4 {
      grid-column-start: 4;
    }
    .hz-start-5 {
      grid-column-start: 5;
    }
    .hz-start-6 {
      grid-column-start: 6;
    }
    .hz-start-7 {
      grid-column-start: 7;
    }
    .hz-start-8 {
      grid-column-start: 8;
    }
    .hz-start-9 {
      grid-column-start: 9;
    }
    .hz-start-10 {
      grid-column-start: 10;
    }
    .hz-start-11 {
      grid-column-start: 11;
    }
    .hz-start-12 {
      grid-column-start: 12;
    }
  }
  /* 640 to 1023: two-up tiles (cards, figures) when asked. */
  @media (min-width: 640px) and (max-width: 1023px) {
    .hz-grid > .hz-tab-half {
      grid-column: span 6 / span 6;
    }
  }
  @media (max-width: 639px) {
    .hz-grid {
      column-gap: 12px;
      row-gap: 12px;
    }
    .hz-grid > .hz-phone-half {
      grid-column: span 6 / span 6;
    }
  }
  .hz-measure {
    max-width: 62ch;
  }

  /* Section box: one .hz-wrap inside, the h2 first. data-h = screens at 1440x900. */
  .hz-sec {
    --hz-h: 1;
    position: relative;
    min-height: calc(var(--hz-h) * 100svh);
    padding-top: var(--hz-padt);
    padding-bottom: var(--hz-padb);
    background: var(--hz-bg);
    color: var(--hz-ink);
  }
  .hz-sec[data-h="2"] {
    --hz-h: 2;
  }
  .hz [data-ground="main"] {
    background: var(--hz-bg);
  }
  .hz [data-ground="alt"] {
    background: var(--hz-alt);
  }
  .hz [data-ground="inverse"] {
    background: var(--hz-inverse);
    color: var(--hz-ink);
  }
  /* Two screens as two groups: row 2 starts --padt under the second screen's top. */
  .hz-g2 {
    display: grid;
    grid-template-rows: minmax(calc(100svh - var(--hz-padt) - var(--hz-padb)), auto) auto;
    row-gap: calc(var(--hz-padt) + var(--hz-padb));
  }
  .hz-sec__head {
    margin-bottom: var(--hz-head-gap);
  }
  .hz-sec__head > .hz-h2 + .hz-sec__intro {
    margin-top: 16px;
  }
  .hz-sec__intro {
    max-width: 62ch;
    font-size: var(--hz-t-lead);
    line-height: 1.5;
    color: var(--hz-muted);
  }
  @media (min-width: 1024px) {
    .hz-sec__head--split .hz-sec__intro {
      margin-top: 0;
      padding-top: 8px;
    }
  }

  /* Hero: exactly the first screen (grows on short screens), the header over its top. */
  .hz-hero {
    position: relative;
    min-height: 100svh;
    padding-top: calc(var(--hz-nav) + var(--hz-hgap));
    padding-bottom: var(--hz-hpadb);
    background: var(--hz-bg);
    color: var(--hz-ink);
  }
  .hz-hero--centred .hz-hero__text {
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
  }
  .hz-hero--centred .hz-actions {
    justify-content: center;
  }

  /* ---------- Type ---------- */

  .hz-h1 {
    font-size: var(--hz-t-h1);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 500;
  }
  .hz-h1--collage {
    font-size: var(--hz-t-h1-collage);
  }
  .hz-h2 {
    font-size: var(--hz-t-h2);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 500;
  }
  .hz-h3 {
    font-size: var(--hz-t-h3);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 500;
  }
  .hz-card-title {
    font-size: var(--hz-t-card);
    line-height: 1.35;
    letter-spacing: -0.01em;
    font-weight: 500;
  }
  .hz-lead {
    font-size: var(--hz-t-lead);
    line-height: 1.5;
    max-width: 62ch;
  }
  .hz-body {
    font-size: 16px;
    line-height: 26px;
  }
  .hz-small {
    font-size: 14px;
    line-height: 22px;
  }
  .hz-label {
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
  }
  .hz-stat {
    font-size: var(--hz-t-stat);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
  .hz-mono {
    font-family: var(--hz-mono);
    font-variant-ligatures: none;
  }
  .hz-muted {
    color: var(--hz-muted);
  }
  /* The hero's one quieter line: a grey fact line, or a pill above the h1. */
  .hz-fact {
    font-size: 14px;
    line-height: 22px;
    color: var(--hz-muted);
  }
  .hz-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 4px 14px;
    border: 1px solid var(--hz-line);
    border-radius: 999px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--hz-ink);
    background: var(--hz-card);
  }

  /* ---------- Buttons ---------- */

  .hz-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .hz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border-radius: var(--hz-r-sm);
    font-family: var(--hz-sans);
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition:
      background-color var(--hz-out) var(--hz-ease),
      color var(--hz-out) var(--hz-ease),
      transform var(--hz-out) var(--hz-ease);
  }
  .hz-btn--primary,
  .hz-btn--xl {
    background: var(--hz-action);
    color: var(--hz-on-action);
  }
  .hz-btn--secondary {
    background: var(--hz-tonal);
    color: var(--hz-ink);
  }
  .hz-btn--xl {
    width: 100%;
    height: 88px;
    padding: 0 32px;
    font-size: 32px;
    letter-spacing: -0.02em;
  }
  @media (hover: hover) and (pointer: fine) {
    .hz-btn:hover {
      transform: translateY(-1px);
      transition-duration: var(--hz-in);
    }
    .hz-btn--xl:hover {
      transform: translateY(-2px);
    }
    .hz-btn--primary:hover,
    .hz-btn--xl:hover {
      background: var(--hz-action-hover);
    }
    .hz-btn--secondary:hover {
      background: var(--hz-tonal-hover);
    }
  }
  .hz-btn:active {
    transform: translateY(1px) scale(0.985);
    transition-duration: var(--hz-press);
  }
  .hz-btn:focus-visible {
    transform: none;
  }
  .hz-btn svg {
    width: 16px;
    height: 16px;
    flex: none;
  }
  .hz-btn--xl svg {
    width: 28px;
    height: 28px;
  }
  @media (max-width: 639px) {
    .hz-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .hz-actions .hz-btn {
      width: 100%;
    }
    .hz-btn--xl {
      height: 48px;
      padding: 0 20px;
      font-size: 18px;
      letter-spacing: -0.01em;
    }
    .hz-btn--xl svg {
      width: 18px;
      height: 18px;
    }
  }

  /* The drawn arrow: moves 3px on hover of its link or button. */
  .hz-arrow {
    transition: transform var(--hz-out) var(--hz-ease);
  }
  @media (hover: hover) and (pointer: fine) {
    a:hover > .hz-arrow,
    button:hover > .hz-arrow {
      transform: translateX(3px);
      transition-duration: var(--hz-in);
    }
    a:hover > .hz-arrow--out,
    button:hover > .hz-arrow--out {
      transform: translate(2px, -2px);
    }
  }

  /* ---------- Links ---------- */

  /* Text link: rests on a hairline, an ink line draws left to right, leaves to the right. */
  .hz-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--hz-ink);
    font-weight: 500;
    text-decoration: none;
  }
  .hz-link__t,
  .hz-inline-link {
    position: relative;
    background:
      linear-gradient(var(--hz-line-strong), var(--hz-line-strong)) 0 100% / 100% 1px no-repeat;
    padding-bottom: 2px;
  }
  .hz-link__t::after,
  .hz-inline-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--hz-out) var(--hz-ease);
  }
  .hz-inline-link {
    color: inherit;
    text-decoration: none;
  }
  @media (hover: hover) and (pointer: fine) {
    .hz-link:hover .hz-link__t::after,
    .hz-inline-link:hover::after {
      transform: scaleX(1);
      transform-origin: left center;
      transition-duration: var(--hz-in);
    }
  }
  .hz-link:focus-visible .hz-link__t::after,
  .hz-inline-link:focus-visible::after {
    transform: scaleX(1);
  }

  /* ---------- Cards, rows, FAQ ---------- */

  .hz-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--hz-line);
    border-radius: var(--hz-r-lg);
    background: var(--hz-card);
    color: var(--hz-ink);
    text-decoration: none;
  }
  .hz-card__panel {
    position: relative;
    height: var(--hz-p-h, 240px);
    margin: -16px -16px 24px;
    border-radius: var(--hz-r-md);
    background: var(--hz-stage);
    overflow: hidden;
  }
  .hz-card__title {
    font-size: var(--hz-t-card);
    line-height: 1.35;
    letter-spacing: -0.01em;
    font-weight: 500;
  }
  .hz-card__text {
    margin-top: 8px;
    max-width: 46ch;
    font-size: 16px;
    line-height: 24px;
  }
  .hz-card__foot {
    margin-top: auto;
    padding-top: 24px;
  }
  .hz-card--link {
    transition:
      transform var(--hz-out) var(--hz-ease),
      border-color var(--hz-out) var(--hz-ease);
  }
  @media (hover: hover) and (pointer: fine) {
    .hz-card--link:hover {
      transform: translateY(-2px);
      border-color: var(--hz-line-strong);
      transition-duration: 180ms;
    }
  }

  .hz-rows {
    border-top: 1px solid var(--hz-line);
  }
  .hz-rows--bare {
    border-top: 0;
  }
  .hz-row {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hz-line);
  }
  .hz-row__label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
  }
  .hz-row__value {
    font-size: 16px;
    line-height: 26px;
  }
  .hz-rows--inline .hz-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 24px;
  }
  .hz-rows--inline .hz-row__label {
    font-weight: 400;
  }
  .hz-rows--inline .hz-row__value {
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
  }
  .hz-row__num {
    font-family: var(--hz-mono);
    font-size: 13px;
    line-height: 24px;
    color: var(--hz-muted);
    font-variant-numeric: tabular-nums;
  }
  /* Selectable rows (they switch a picture or a code block on click). */
  .hz-rows--select .hz-row {
    padding: 0;
  }
  .hz-row__btn {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    width: 100%;
    min-height: 56px;
    padding: 16px 0 16px 16px;
    text-align: left;
    color: var(--hz-muted);
    cursor: pointer;
    transition: color var(--hz-out) var(--hz-ease);
  }
  .hz-row__btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 2px;
    border-radius: 2px;
    background: var(--hz-action);
    opacity: 0;
  }
  .hz-row__btn > .hz-row__label,
  .hz-row__btn > .hz-row__value {
    grid-column: 2;
  }
  .hz-row__btn > .hz-row__num {
    grid-row: 1;
    grid-column: 1;
  }
  .hz-row__btn[aria-pressed="true"],
  .hz-row__btn[aria-selected="true"] {
    color: var(--hz-ink);
  }
  .hz-row__btn[aria-pressed="true"]::before,
  .hz-row__btn[aria-selected="true"]::before {
    opacity: 1;
  }
  @media (hover: hover) and (pointer: fine) {
    .hz-row__btn:hover {
      color: var(--hz-ink);
      transition-duration: var(--hz-in);
    }
  }

  .hz-faq {
    border-top: 1px solid var(--hz-line);
  }
  .hz-faq__item {
    padding: 24px 0;
    border-bottom: 1px solid var(--hz-line);
  }
  .hz-faq__q {
    font-size: var(--hz-t-card);
    line-height: 1.35;
    letter-spacing: -0.01em;
    font-weight: 500;
  }
  .hz-faq__a {
    margin-top: 8px;
    max-width: 62ch;
    font-size: 16px;
    line-height: 26px;
  }

  /* ---------- Frames ---------- */

  /* Lit frame behind product windows. data-cut: the frame's foot (or foot and right) cuts the content. */
  .hz-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px;
    border: 1px solid var(--hz-line);
    border-radius: var(--hz-r-lg);
    background: var(--hz-stage);
    overflow: hidden;
  }
  .hz-stage__in {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
  }
  .hz-stage[data-cut="bottom"] {
    padding-bottom: 0;
  }
  .hz-stage[data-cut="corner"] {
    padding-right: 0;
    padding-bottom: 0;
  }
  .hz-stage[data-cut="bottom"] > .hz-stage__in,
  .hz-stage[data-cut="corner"] > .hz-stage__in {
    overflow: hidden;
  }
  .hz-stage[data-cut="bottom"][data-fade] > .hz-stage__in {
    -webkit-mask-image: linear-gradient(
      to bottom,
      var(--hzm-black) calc(100% - var(--hz-fade-h, 64px)),
      transparent
    );
    mask-image: linear-gradient(
      to bottom,
      var(--hzm-black) calc(100% - var(--hz-fade-h, 64px)),
      transparent
    );
  }
  .hz-stage[data-cut="corner"][data-fade] > .hz-stage__in {
    -webkit-mask-image:
      linear-gradient(to bottom, var(--hzm-black) calc(100% - var(--hz-fade-h, 64px)), transparent),
      linear-gradient(to right, var(--hzm-black) calc(100% - var(--hz-fade-h, 64px)), transparent);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to bottom, var(--hzm-black) calc(100% - var(--hz-fade-h, 64px)), transparent),
      linear-gradient(to right, var(--hzm-black) calc(100% - var(--hz-fade-h, 64px)), transparent);
    mask-composite: intersect;
  }
  @media (max-width: 639px) {
    .hz-stage {
      padding: 16px;
    }
  }

  /* Software windows: one radius (12) and a 1px line. */
  .hz-window {
    overflow: hidden;
    border: 1px solid var(--hz-line);
    border-radius: var(--hz-r-md);
    background: var(--hz-card);
    color: var(--hz-ink);
  }
  .hz-window__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 36px;
    padding: 0 12px;
    border-bottom: 1px solid var(--hz-line);
    background: var(--hz-alt);
  }
  .hz-window__dots {
    display: flex;
    gap: 6px;
  }
  .hz-window__dots > i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--hz-line-strong);
  }
  .hz-window__url {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 60%;
    height: 22px;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid var(--hz-line);
    border-radius: 6px;
    background: var(--hz-card);
    color: var(--hz-muted);
    font-size: 11px;
  }

  /* Films: radius 20, 1px line, poster first, pause and sound buttons on the frame. */
  .hz-film {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hz-line);
    border-radius: var(--hz-r-lg);
    background: var(--hz-alt);
  }
  .hz-film > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hz-film--wide {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
  .hz-film--tall {
    aspect-ratio: 9 / 16;
    width: min(100%, 292px);
    max-height: 520px;
    margin-inline: auto;
  }
  .hz-film__ctrls {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
  }
  .hz-film__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--hzm-night);
    color: var(--hzm-night-ink);
    cursor: pointer;
    transition: background-color var(--hz-out) var(--hz-ease);
  }
  .hz-film__btn svg {
    width: 18px;
    height: 18px;
  }
  @media (hover: hover) and (pointer: fine) {
    .hz-film__btn:hover {
      background: var(--hzm-night-line);
      transition-duration: var(--hz-in);
    }
  }

  /* ---------- Header ---------- */

  .hz-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    height: var(--hz-nav);
    background: var(--hz-bg);
    border-bottom: 1px solid var(--hz-line);
    color: var(--hz-ink);
  }
  .hz-nav__in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    align-items: center;
    column-gap: 24px;
    height: 100%;
  }
  .hz-nav__brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-decoration: none;
    color: var(--hz-ink);
  }
  .hz-nav__brand svg {
    width: 32px;
    height: 32px;
    flex: none;
  }
  .hz-nav__links {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  @media (min-width: 1280px) {
    .hz-nav__links {
      gap: 32px;
    }
  }
  .hz-nav__word {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    color: var(--hz-muted);
    text-decoration: none;
    transition: color var(--hz-out) var(--hz-ease);
  }
  .hz-nav__word > span {
    position: relative;
  }
  .hz-nav__word > span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--hz-out) var(--hz-ease);
  }
  .hz-nav__word[aria-current="page"] {
    color: var(--hz-ink);
  }
  .hz-nav__word[aria-current="page"] > span::after {
    height: 2px;
    transform: none;
  }
  @media (hover: hover) and (pointer: fine) {
    .hz-nav__word:hover {
      color: var(--hz-ink);
      transition-duration: var(--hz-in);
    }
    .hz-nav__word:hover > span::after {
      transform: scaleX(1);
      transform-origin: left center;
      transition-duration: var(--hz-in);
    }
  }
  .hz-nav__end {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .hz-nav__controls {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .hz-nav__signin {
    margin-inline: 8px;
  }
  /* The main action keeps its size; the links give way first (data-tight), then the row (data-compact). */
  .hz-nav__action {
    flex: none;
    white-space: nowrap;
  }
  .hz-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .hz-nav__toggle svg {
    width: 20px;
    height: 20px;
  }
  @media (max-width: 1023px) {
    .hz-nav__in {
      grid-template-columns: minmax(0, 1fr) auto;
    }
    .hz-nav__links,
    .hz-nav__controls,
    .hz-nav__signin {
      display: none;
    }
    .hz-nav__toggle {
      display: inline-flex;
    }
  }
  /* Measured by landing.js (the kit's useNavFit): the same compact layout wherever the full row does not fit. */
  .hz-nav[data-compact] .hz-nav__in {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .hz-nav[data-compact] .hz-nav__links,
  .hz-nav[data-compact] .hz-nav__controls,
  .hz-nav[data-compact] .hz-nav__signin {
    display: none;
  }
  .hz-nav[data-compact] .hz-nav__toggle {
    display: inline-flex;
  }
  .hz-nav[data-tight] .hz-nav__links {
    gap: 20px;
  }
  /* Measuring pass only (never painted): natural widths, nothing shrinks or wraps. */
  .hz-nav[data-measure] .hz-nav__in {
    grid-template-columns: max-content max-content max-content;
  }
  .hz-nav[data-measure] .hz-nav__links {
    flex-wrap: nowrap;
  }
  /* Until the first measure (set by landing.js, so a page without script still shows its row). */
  @media (min-width: 1024px) {
    .hz-navwait .hz-nav__in {
      visibility: hidden;
    }
  }
  @media (max-width: 639px) {
    .hz-nav__action {
      display: none;
    }
  }

  /* Skip link: first in the header, out of the layout until focused, then over the logo. */
  .hz-skip {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--hz-r-sm);
    background: var(--hz-ink);
    color: var(--hz-bg);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transform: translate(0, -50%);
    clip-path: inset(50%);
    opacity: 0;
    pointer-events: none;
  }
  .hz-skip:focus,
  .hz-skip:focus-visible {
    clip-path: none;
    opacity: 1;
    pointer-events: auto;
  }

  /* Phone and tablet sheet: full screen under the bar, 56px rows. */
  .hz-sheet {
    position: fixed;
    inset: var(--hz-nav) 0 0 0;
    z-index: 39;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--hz-bg);
    color: var(--hz-ink);
    animation: hz-fade var(--hz-panel) var(--hz-ease) both;
  }
  .hz-sheet[hidden] {
    display: none;
  }
  .hz-sheet__in {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .hz-sheet__links a {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--hz-line);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    color: var(--hz-ink);
  }
  .hz-sheet__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
  }
  .hz-sheet__actions {
    display: grid;
    gap: 12px;
  }
  .hz-sheet__actions .hz-btn {
    width: 100%;
    height: 48px;
  }
  /* A compact nav keeps its sheet at any width. */
  @media (min-width: 1024px) {
    .hz-nav:not([data-compact]) .hz-sheet {
      display: none;
    }
  }

  /* ---------- Closing (close-type + footer-dark) ---------- */

  .hz-closing {
    min-height: 100svh;
    padding-top: var(--hz-padt);
    padding-bottom: var(--hz-padb);
    border-top: 1px solid var(--hz-inverse-edge);
    background: var(--hz-inverse);
    color: var(--hz-ink);
  }
  .hz-closing > .hz-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 96px;
    min-height: calc(100svh - var(--hz-padt) - var(--hz-padb));
  }
  .hz-close__line {
    margin-top: 16px;
    font-size: 14px;
    line-height: 22px;
    color: var(--hz-muted);
  }
  .hz-close__btn {
    margin-top: 48px;
  }
  .hz-foot__brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 48px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }
  .hz-foot__brand svg {
    width: 48px;
    height: 48px;
    flex: none;
  }
  .hz-foot__cols {
    display: grid;
    grid-template-columns: repeat(var(--hz-cols, 3), minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 32px;
  }
  .hz-foot__h {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    color: var(--hz-muted);
  }
  .hz-foot__list {
    margin-top: 8px;
  }
  .hz-foot__list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 15px;
    line-height: 1;
    color: var(--hz-ink);
    text-decoration: none;
  }
  .hz-foot__list a > span {
    position: relative;
  }
  .hz-foot__list a > span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--hz-out) var(--hz-ease);
  }
  .hz-foot__list a[aria-current="page"] {
    color: var(--hz-muted);
  }
  @media (hover: hover) and (pointer: fine) {
    .hz-foot__list a:hover > span::after {
      transform: scaleX(1);
      transform-origin: left center;
      transition-duration: var(--hz-in);
    }
  }
  .hz-foot__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--hz-line);
    font-size: 14px;
    line-height: 22px;
    color: var(--hz-muted);
  }
  .hz-foot__legal a {
    color: var(--hz-ink);
  }
  @media (max-width: 1023px) {
    .hz-foot__cols {
      margin-top: 48px;
    }
  }
  @media (max-width: 639px) {
    .hz-closing > .hz-wrap {
      gap: 64px;
    }
    .hz-foot__brand {
      font-size: 30px;
      gap: 12px;
    }
    .hz-foot__brand svg {
      width: 32px;
      height: 32px;
    }
    .hz-foot__cols {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 12px;
    }
    .hz-foot__list a {
      min-height: 44px;
    }
  }

  /* ---------- Motion ---------- */

  /* Hero entrance (kit/motion.tsx HeroEnter): words rise out of masks, the rest fades up 12px,
     the picture settles from .98. Nothing is hidden outside .hz-enter. */
  .hz-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0.06em 0 0.14em;
    margin: -0.06em 0 -0.14em;
  }
  .hz-w > span {
    display: inline-block;
  }
  .hz-enter.is-wait .hz-w > span {
    transform: translateY(110%);
  }
  .hz-enter.is-wait [data-enter="up"],
  .hz-enter.is-wait [data-enter="pill"] {
    opacity: 0;
  }
  .hz-enter.is-on .hz-w > span {
    animation: hz-rise 700ms var(--hz-ease-enter) both;
    animation-delay: calc(var(--hz-li, 0) * 80ms);
  }
  .hz-enter.is-on [data-enter="pill"] {
    animation: hz-up 520ms var(--hz-ease-enter) both;
  }
  .hz-enter.is-on [data-enter="up"] {
    animation: hz-up 520ms var(--hz-ease-enter) both;
    animation-delay: var(--hz-ed, 350ms);
  }
  .hz-enter.is-on [data-enter="media"] {
    animation: hz-settle 900ms var(--hz-ease-enter) both;
  }

  /* CounterRoll: each digit a one-line column clipping a strip moved by transform only. */
  .hz-roll {
    display: inline-flex;
    align-items: baseline;
    white-space: pre;
    font-variant-numeric: tabular-nums;
  }
  .hz-roll__col {
    display: inline-block;
    height: 1em;
    line-height: 1;
    overflow: hidden;
    vertical-align: top;
  }
  .hz-roll__strip {
    display: block;
  }
  .hz-roll__strip > span {
    display: block;
    height: 1em;
    line-height: 1;
  }
  .hz-roll__ch {
    display: inline-block;
    line-height: 1;
    white-space: pre;
  }
}

@keyframes hz-rise {
  from {
    transform: translateY(110%);
  }
  to {
    transform: none;
  }
}
@keyframes hz-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hz-settle {
  from {
    transform: scale(0.98);
  }
  to {
    transform: none;
  }
}
@keyframes hz-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hz-glyph {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Reduced motion: everything rests in its finished state; colours still change, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  .hz *,
  .hz *::before,
  .hz *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .hz-enter.is-wait .hz-w > span {
    transform: none;
  }
  .hz-enter.is-wait [data-enter] {
    opacity: 1;
  }
  .hz .hz-btn,
  .hz .hz-card--link,
  .hz .hz-arrow,
  .hz .hz-link__t::after,
  .hz .hz-inline-link::after,
  .hz .hz-nav__word > span::after,
  .hz .hz-foot__list a > span::after {
    transition-property: color, background-color, border-color, opacity;
  }
  .hz .hz-btn:hover,
  .hz .hz-btn:active,
  .hz .hz-card--link:hover,
  .hz a:hover > .hz-arrow {
    transform: none;
  }
  .hz .hz-btn--primary:active,
  .hz .hz-btn--xl:active {
    background: var(--hz-action-hover);
  }
  .hz .hz-btn--secondary:active {
    background: var(--hz-tonal-hover);
  }
}

/* ---------- POS page (unlayered: the page's own pieces on top of the kit) ---------- */

/* Mock screens and diagrams stay light in both themes; their own names map onto the light kit tokens. */
.hz-light {
  --color-ink: var(--hz-ink);
  --color-ink-muted: var(--hz-muted);
  --color-ink-subtle: var(--hz-faint);
  --color-ink-inverse: var(--hzm-white);
  --color-surface: var(--hz-surface);
  --color-surface-sunken: var(--hz-sunken);
  --color-line: var(--hz-line);
  --color-accent: var(--hz-action);
  --color-accent-soft: var(--hzm-green-soft);
  --color-accent-bright: var(--hzm-mint);
  --font-ui: var(--hz-sans);
  --font-mono: var(--hz-mono);
  --land-shadow-card: 0 1px 2px var(--hzm-night-a4), 0 8px 24px -12px var(--hzm-night-a15);
  --land-shadow-frame:
    0 0 0 1px var(--hzm-night-a8), 0 2px 4px var(--hzm-night-a4),
    0 28px 64px -24px var(--hzm-night-a25);
}

/* The mark: Hyzmat POS storefront. Transparent on light grounds; a white app-icon tile on dark ones so the teal stays visible. */
.hz-mark__tile {
  fill: transparent;
}
.hz-closing .hz-mark__tile,
[data-theme="dark"] .hz-mark__tile {
  fill: var(--hzm-white);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hz-mark__tile {
    fill: var(--hzm-white);
  }
}

/* The service name in the wordmark ("Hyzmat POS"): brand teal on light grounds, brand cyan on dark ones. */
.hz-brand__svc {
  color: var(--hzm-brand-teal);
}
.hz-closing .hz-brand__svc,
[data-theme="dark"] .hz-brand__svc {
  color: var(--hzm-brand-cyan);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hz-brand__svc {
    color: var(--hzm-brand-cyan);
  }
}

/* Scrollbars: thin, rounded, ink at low contrast on a transparent track; light ink on dark. WebKit/Blink
   draw the inset thumb, Firefox gets the standard thin + colour pair. */
:root {
  --land-sb: var(--hzm-night-a25);
  --land-sb-hover: var(--hzm-night-a45);
}
[data-theme="dark"],
.hz-closing {
  --land-sb: var(--hzm-night-ink-a25);
  --land-sb-hover: var(--hzm-night-ink-a45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --land-sb: var(--hzm-night-ink-a25);
    --land-sb-hover: var(--hzm-night-ink-a45);
  }
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  min-height: 40px;
  border: 3px solid transparent;
  border-radius: 999px;
  background-color: var(--land-sb);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--land-sb-hover);
}
@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--land-sb) transparent;
  }
}

/* ---------- Header controls ---------- */

/* The language switch and the theme button as on the other three pages (kit.css, "Small controls"):
   a bare row, 44x44 buttons, the current language on the tonal ground, no fill behind the group. */
.hz-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--hz-r-sm);
  background: none;
}
.hz-lang button,
.hz-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: var(--hz-r-sm);
  background: transparent;
  color: var(--hz-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    color var(--hz-out) var(--hz-ease),
    background-color var(--hz-out) var(--hz-ease);
}
.hz-lang button[aria-pressed="true"] {
  background: var(--hz-tonal);
  color: var(--hz-ink);
}
@media (hover: hover) and (pointer: fine) {
  .hz-lang button:hover,
  .hz-iconbtn:hover {
    background: var(--hz-tonal-hover);
    color: var(--hz-ink);
    transition-duration: var(--hz-in);
  }
}
.hz-iconbtn {
  padding: 0;
}
.hz-iconbtn svg {
  width: 18px;
  height: 18px;
}
.hz-nav__toggle svg {
  width: 20px;
  height: 20px;
}
.hz-theme .i-sun,
.hz-nav__toggle .i-close,
.hz-nav__toggle[aria-expanded="true"] .i-menu {
  display: none;
}
.hz-nav__toggle[aria-expanded="true"] .i-close {
  display: block;
}
[data-theme="dark"] .hz-theme .i-sun {
  display: block;
}
[data-theme="dark"] .hz-theme .i-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hz-theme .i-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .hz-theme .i-moon {
    display: none;
  }
}
.hz-sheet__controls {
  flex-wrap: wrap;
}
main:focus {
  outline: none;
}

/* ---------- Hero: the film frame fills the first screen, the words in an inverse box at its foot ---------- */

.hz-fh {
  display: flex;
  flex-direction: column;
}
.hz-fh__wrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.hz-fh__frame {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-lg);
  background: var(--hzm-black);
}
.hz-fh__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hz-fh__over {
  position: relative;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hz-fh__box,
.hz-fh__play {
  pointer-events: auto;
  transition:
    opacity var(--hz-panel) var(--hz-ease),
    visibility 0s linear 0s;
}
.hz-fh__box {
  width: 100%;
  max-width: min(720px, calc(100% - 300px));
  padding: 48px;
  border-top-right-radius: var(--hz-r-lg);
}
.hz-fh__box .hz-h1 {
  max-width: 15ch;
}
.hz-fh__box .hz-lead {
  margin-top: 16px;
}
.hz-fh__box .hz-fact {
  margin-top: 12px;
}
.hz-fh__box .hz-actions {
  margin-top: 24px;
}
/* One control: the disc, the words and the running time in a pill at the frame's right foot. */
.hz-fh__play {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  background: var(--hzm-night);
  cursor: pointer;
  color: var(--hzm-night-ink);
}
.hz-fh__disc {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--hzm-white);
  color: var(--hzm-night);
  transition: transform var(--hz-out) var(--hz-ease);
}
.hz-fh__disc svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.hz-fh__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}
.hz-fh__time {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: var(--hzm-night-muted);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) {
  .hz-fh__play:hover .hz-fh__disc {
    transform: scale(1.04);
    transition-duration: var(--hz-in);
  }
}
.hz-fh__play:active .hz-fh__disc {
  transform: scale(0.97);
  transition-duration: var(--hz-press);
}
.hz-fh__ctrls {
  top: 16px;
  right: 16px;
  bottom: auto;
  display: none;
}
.hz-fh__frame[data-state="playing"] .hz-fh__ctrls {
  display: flex;
}
.hz-fh__frame[data-state="playing"] .hz-fh__box,
.hz-fh__frame[data-state="playing"] .hz-fh__play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--hz-panel) var(--hz-ease),
    visibility 0s linear var(--hz-panel);
}
.hz-film__btn .i-on,
.hz-film__btn[data-muted="false"] .i-off {
  display: none;
}
.hz-film__btn[data-muted="false"] .i-on {
  display: block;
}
/* Under 1024 the words box spans the frame; the play control moves to the top right corner,
   clear of the box and of the caption the film carries at its top left. */
@media (max-width: 1023px) {
  .hz-fh__over {
    padding: 12px;
  }
  .hz-fh__play {
    top: 12px;
    right: 12px;
    bottom: auto;
    gap: 8px;
    padding: 4px 16px 4px 4px;
  }
  .hz-fh__disc {
    width: 44px;
    height: 44px;
  }
  .hz-fh__disc svg {
    width: 18px;
    height: 18px;
  }
  .hz-fh__box {
    max-width: none;
    padding: 24px;
    border-radius: var(--hz-r-md);
  }
}
/* Phones get the upright cut: the frame takes its 9:16 shape so nothing of it is cropped, and the
   play control shows the disc and the running time (the words stay for screen readers). */
@media (max-width: 699px) {
  .hz-fh__frame {
    flex: none;
    min-height: min-content;
    aspect-ratio: 9 / 16;
  }
  .hz-fh__word {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 639px) {
  .hz-fh__box .hz-lead {
    font-size: 17px;
  }
}

/* ---------- Section pieces ---------- */

.hz-split__rows {
  margin-top: 40px;
}
.hz-stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

/* Pause for a looping demo: a 32px disc inside a 44px target. */
.hz-pause {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 6px;
  border-radius: 999px;
  background: var(--hzm-night);
  background-clip: content-box;
  color: var(--hzm-night-ink);
  cursor: pointer;
}
.hz-pause svg {
  width: 14px;
  height: 14px;
}
.hz-pause svg + svg,
.hz-pause[aria-pressed="true"] svg:first-child {
  display: none;
}
.hz-pause[aria-pressed="true"] svg + svg {
  display: block;
}
.hz-stage > .hz-pause {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

/* Click-only tabs with a sliding indicator (240ms). */
.hz-tabs {
  --hz-tab: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hz-line);
}
.hz-tab {
  display: grid;
  align-content: start;
  gap: 2px;
  min-height: 44px;
  padding: 12px 16px 14px 0;
  text-align: left;
  color: var(--hz-muted);
  cursor: pointer;
  transition: color var(--hz-out) var(--hz-ease);
}
.hz-tab[aria-selected="true"] {
  color: var(--hz-ink);
}
.hz-tab__name {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.hz-tab__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--hz-muted);
}
.hz-tabs__ind {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(100% / 3);
  height: 2px;
  background: var(--hz-action);
  transform: translateX(calc(var(--hz-tab) * 100%));
  transition: transform var(--hz-slide) var(--hz-ease);
}
@media (hover: hover) and (pointer: fine) {
  .hz-tab:hover {
    color: var(--hz-ink);
    transition-duration: var(--hz-in);
  }
}
@media (max-width: 767px) {
  .hz-tab__desc {
    display: none;
  }
}

/* Showcase: the product window across the wrap, cut by the frame's foot. */
.sc-stage {
  height: max(360px, calc(100svh - var(--hz-padt) - var(--hz-padb) - 252px));
}
.sc-stage .hz-window {
  box-shadow: none;
}
@media (max-width: 767px) {
  .sc-stage {
    height: auto;
    padding-bottom: 16px;
  }
  .sc-stage[data-cut="bottom"] > .hz-stage__in {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .sc-stage > .hz-pause {
    bottom: 24px;
    right: 24px;
  }
}

/* Offline: the upright network diagram. The stage is a light mock in both themes (hz-light on the
   stage itself); from 1024 it is 700 tall, the diagram fills it at about 0.97 scale with no card of its
   own, and the status line shares the foot row with the switch and the pause button. */
.nw-stage-frame .hz-stage__in {
  display: flex;
  justify-content: center;
}
.nw-stage-frame .nw {
  width: 100%;
  max-width: 360px;
}
.nw-stage-frame .nw-m {
  display: block;
}
@media (min-width: 1024px) {
  .nw-stage-frame {
    height: 700px;
    padding: 24px;
  }
  .nw-stage-frame .hz-stage__bar {
    justify-content: flex-end;
    margin-top: 12px;
  }
  .nw-stage-frame .nw {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: none;
    height: 100%;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .nw-stage-frame .nw-stage {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 0;
  }
  .nw-stage-frame .nw-m {
    height: 100%;
  }
  .nw-stage-frame .nw-svg.m {
    width: auto;
    height: 100%;
    max-width: none;
    aspect-ratio: 320 / 616;
  }
  /* the node labels at 13px, so they read at 12px or more at this scale */
  .nw-stage-frame .nw-l1,
  .nw-stage-frame .nw-l2,
  .nw-stage-frame .nw-every,
  .nw-stage-frame .nw-wifi,
  .nw-stage-frame .nw-pill {
    font-size: 13px;
  }
  .nw-stage-frame .nw-state {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 280px;
    margin: 0;
    padding: 0;
    border: 0;
  }
}

/* The page behind the open phone menu does not scroll. */
html.hz-lock {
  overflow: hidden;
}

/* Phone modes: one phone frame; the scanner screen is dark. */
.dv-pair {
  margin-top: 24px;
}
.dv-cloud {
  margin-top: 8px;
}
.dv-stage .hz-stage__in {
  display: flex;
  justify-content: center;
}
.dv[data-active="2"] .ph-body {
  background: var(--hzm-night);
  color: var(--hzm-night-ink-soft);
}

/* Hardware: the receipt printer prints. */
.rc-stage .hz-stage__in {
  display: flex;
  justify-content: center;
  min-height: 560px;
}
.rc-stage .rc {
  align-self: flex-start;
}

/* ---------- Pricing ---------- */

/* Pricing: the four figures large on the left half, the worked example on the right at the same height. */
.pr-main {
  align-items: stretch;
  row-gap: 40px;
}
.pr-figs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 32px 24px;
}
.pr-fig {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid var(--hz-line);
}
.pr-figs .hz-stat {
  font-size: clamp(48px, 4vw + 24px, 88px);
  line-height: 1;
}
.pr-fig__label {
  margin-top: 12px;
  max-width: 28ch;
  font-size: 15px;
  line-height: 22px;
}
.pr-calc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pr-after {
  margin-top: auto;
  padding-top: 24px;
}
.pr-calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pr-calc__total {
  padding-top: 16px;
  border-top: 1px solid var(--hz-line);
}
.pr-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pr-step__btn {
  width: 44px;
  padding: 0;
}
.pr-step__btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.pr-step__n {
  min-width: 2ch;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pr-total {
  font-size: var(--hz-t-card);
  line-height: 1.35;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pr-after__h {
  margin-bottom: 12px;
  font-size: var(--hz-t-card);
  line-height: 1.35;
  font-weight: 500;
}
.pr-pay {
  margin-top: 12px;
}

/* ---------- Questions ---------- */

.fq-steps {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
.fq-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  font-size: var(--hz-t-card);
  line-height: 1.4;
}
.fq-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--hz-tonal);
  font-size: 15px;
  font-weight: 500;
  transform: translateY(-2px);
}
@media (min-width: 1024px) {
  .hz-faq .hz-faq__item {
    padding: 32px 0;
  }
}
.hz-faq .hz-faq__item:first-child {
  padding-top: 0;
}
.hz-faq {
  border-top: 0;
}
.fq-support {
  margin-top: 8px;
}
/* The Windows "Run anyway" hint under the Windows download link. */
.ft-help {
  margin-top: 4px;
  max-width: 32ch;
}
/* The inline support number keeps its line; an invisible 44px band makes the hit area. */
.fq-support .hz-inline-link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 44px;
  transform: translateY(-50%);
}
@media (max-width: 1023px) {
  .hz-faq {
    margin-top: 48px;
  }
}

/* ---------- Closing ---------- */

.ft-cols {
  --hz-cols: 3;
}
.ft-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.ft-qr__img {
  flex: none;
  width: 112px;
  height: 112px;
  padding: 8px;
  border-radius: var(--hz-r-md);
  background: var(--hzm-white);
}
@media (max-width: 639px) {
  .ft-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Phone action bar (under 640, hidden while the hero's button shows) ---------- */

.hz-bar {
  display: none;
}
@media (max-width: 639px) {
  .hz-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 30;
    display: flex;
    gap: 8px;
    padding: 12px var(--hz-gut) calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--hz-line);
    background: var(--hz-bg);
    transition:
      transform var(--hz-panel) var(--hz-ease),
      visibility 0s linear 0s;
  }
  /* The bar fits 320 to 639: the main action takes the room (and may wrap, never clips); the support
     call is a 48px icon button with a localised label. */
  .hz-bar .hz-btn {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding-block: 8px;
    white-space: normal;
    text-align: center;
  }
  .hz-bar .hz-bar__call {
    flex: none;
    width: 48px;
    padding: 0;
  }
  .hz-bar[data-off] {
    visibility: hidden;
    transform: translateY(100%);
    transition:
      transform var(--hz-panel) var(--hz-ease),
      visibility 0s linear var(--hz-panel);
  }
  .hz-closing {
    padding-bottom: calc(var(--hz-padb) + 72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hz-pause {
    display: none;
  }
  .hz-fh__box,
  .hz-fh__play,
  .hz-bar,
  .hz-tabs__ind {
    transition: none;
  }
}
