/* 42hz shell — dark mode, amber accents, homepage typography + widescreen gutters */

@font-face {
  font-family: "Univers Next Pro";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("./fonts/UniversNextPro-Thin.woff2") format("woff2"),
    url("./fonts/UniversNextPro-Thin.woff") format("woff");
}
@font-face {
  font-family: "Univers Next Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("./fonts/UniversNextPro-Light.woff2") format("woff2"),
    url("./fonts/UniversNextPro-Light.woff") format("woff");
}
@font-face {
  font-family: "Univers Next Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/UniversNextPro-Regular.woff2") format("woff2"),
    url("./fonts/UniversNextPro-Regular.woff") format("woff");
}

:root {
  --hz-bg: #050505;
  --hz-surface: #0e0e0e;
  --hz-elevated: #141414;
  --hz-ink: #f5f5f2;
  --hz-muted: rgba(245, 245, 242, 0.62);
  --hz-muted2: rgba(245, 245, 242, 0.38);
  --hz-line: rgba(255, 255, 255, 0.1);
  --hz-line2: rgba(255, 255, 255, 0.06);
  --hz-amber: #ffb320;
  --hz-amber2: #ffc24a;
  --hz-radius: 28px;
  --hz-max: none;
  --hz-col: 720px;
  --hz-nav-h: 88px;
  /*
    Homepage spacing review (what the eye actually sees):
    - Scroll-world / React nav chrome: clamp(18px, 5vw, 64px)  [scrub-engine, brand-assets]
    - Section content (onstyle):        clamp(20px, 4vw, 96px)  [--on-gutter]
    Insights/partners are text + media pages, so use the chrome gutter (5vw)
    with a higher floor so content never sits on the bezel.
  */
  --hz-gutter: clamp(40px, 5vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}

html {
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
  background: var(--hz-bg);
}

body {
  overscroll-behavior-y: none;
  background: var(--hz-bg);
}

body.hz-shell-page,
body.hz-has-shell-nav {
  animation: hz-body-fade-in 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes hz-body-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.hz-shell-page {
  margin: 0;
  background: var(--hz-bg);
  color: var(--hz-ink);
  font-family: "Univers Next Pro", Inter, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(251, 179, 32, 0.28);
}

a {
  color: inherit;
  text-decoration: none;
}

.hz-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--hz-gutter);
  padding-right: var(--hz-gutter);
}

/* ===== Floating dark glass nav — Kora-style compact pill, left-planted ===== */
.hz-shell-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 200;
  /* Keep top offset fixed (was jumping to 12px on scroll on home only) */
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 0 0 var(--hz-gutter);
  pointer-events: none;
  transition:
    transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.32s ease;
}

.hz-shell-nav.is-scroll-hidden:not(.is-open) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 12px));
}

.hz-shell-nav__inner {
  pointer-events: auto;
  width: max-content;
  max-width: calc(100vw - (var(--hz-gutter) * 2));
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hz-shell-nav.is-scrolled .hz-shell-nav__inner {
  background: rgba(12, 12, 12, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}

.hz-shell-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 4px;
}

.hz-shell-brand img {
  display: block;
  width: clamp(68px, 6vw, 82px);
  height: auto;
}

.hz-shell-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 0;
}

.hz-shell-links a {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hz-muted);
  padding: 9px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.hz-shell-links a:hover {
  color: var(--hz-ink);
  background: rgba(255, 255, 255, 0.06);
}

.hz-shell-links a.is-active {
  color: #050505;
  background: var(--hz-amber);
}

.hz-shell-cta {
  flex: 0 0 auto;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #050505;
  background: var(--hz-amber);
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hz-shell-cta:hover {
  transform: translateY(-1px);
  filter: brightness(0.85);
}

.hz-shell-menu {
  display: none;
  margin-left: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--hz-ink);
  cursor: pointer;
}

.hz-shell-menu span,
.hz-shell-menu span::before,
.hz-shell-menu span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hz-shell-menu span {
  position: relative;
}

.hz-shell-menu span::before,
.hz-shell-menu span::after {
  content: "";
  position: absolute;
  left: 0;
}

.hz-shell-menu span::before {
  top: -5px;
}

.hz-shell-menu span::after {
  top: 5px;
}

.hz-shell-nav.is-open .hz-shell-menu span {
  background: transparent;
}

.hz-shell-nav.is-open .hz-shell-menu span::before {
  transform: translateY(5px) rotate(45deg);
}

.hz-shell-nav.is-open .hz-shell-menu span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.hz-shell-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.62);
}

.hz-shell-nav.is-open + .hz-shell-backdrop,
body.hz-nav-open .hz-shell-backdrop {
  display: block;
}

.hz-shell-drawer {
  display: none;
  pointer-events: auto;
  position: fixed;
  left: var(--hz-gutter);
  right: auto;
  width: min(320px, calc(100vw - (var(--hz-gutter) * 2)));
  top: calc(var(--hz-nav-h) + 4px);
  z-index: 201;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 18, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Drawer is a sibling of the header, not a child — toggle via body/drawer class. */
body.hz-nav-open .hz-shell-drawer,
.hz-shell-drawer.is-open {
  display: block;
}

/* Overflow-only lock — avoid position:fixed on body (iOS phantom scroll past footer). */
html.hz-nav-open,
body.hz-nav-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  height: 100%;
}

.hz-shell-drawer a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--hz-muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hz-shell-drawer a:hover,
.hz-shell-drawer a.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hz-ink);
}

.hz-shell-drawer a.is-active {
  color: var(--hz-amber2);
}

@media (max-width: 860px) {
  .hz-shell-nav {
    right: 0;
    padding-right: var(--hz-gutter);
  }

  .hz-shell-nav__inner {
    width: 100%;
    max-width: none;
    justify-content: space-between;
    min-height: 48px;
    padding: 6px 6px 6px 14px;
    /* Keep glass — slightly denser fill so it reads over the canvas. */
    background: rgba(16, 16, 16, 0.48);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
  }

  .hz-shell-links,
  .hz-shell-cta {
    display: none;
  }

  .hz-shell-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
  }

  .hz-shell-drawer {
    left: var(--hz-gutter);
    right: var(--hz-gutter);
    width: auto;
  }

  .hz-shell-brand img {
    width: 76px;
  }
}

/* Homepage: hide React nav + scroll-world topbar */
body.hz-has-shell-nav [code-path="src/sections/Navigation.tsx:16:5"] {
  display: none !important;
}

body.hz-has-shell-nav #world.sw-root .sw-topbar {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Skip to platform stays hidden when shell nav is present — overlaps the
   glass pill on mobile, and Platform is already in the nav/drawer. */
body.hz-has-shell-nav #world.sw-root .sw-topbar .sw-topcta {
  display: none !important;
}

body.hz-has-shell-nav .hz-shell-nav--home.is-scroll-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 12px));
}

body.hz-has-shell-nav .hz-shell-nav--home.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.hz-has-shell-nav .hz-shell-nav--home.is-open {
  opacity: 1;
  pointer-events: none;
  transform: translateY(0);
}

/* ===== Page layout ===== */
.hz-page {
  /* Horizontal padding lives on .hz-wrap (same as homepage section gutters).
     Vertical clears the floating left pill nav. */
  padding-top: calc(var(--hz-nav-h) + 48px);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.hz-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hz-muted2);
}

.hz-kicker a:hover {
  color: var(--hz-amber2);
}

.hz-page h1 {
  margin: 0;
  max-width: 18ch;
  font-family: "Univers Next Pro", Inter, system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--hz-ink);
}

.hz-lead {
  margin: 24px 0 0;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--hz-muted);
}

.hz-page-hero {
  padding-bottom: clamp(40px, 5vw, 64px);
}

/* ===== Scroll reveals =====
   Multiple injectors use different "shown" classes (.is-visible / .hz-in / .in).
   Never leave filter:blur active after any of them — that frosted look on mobile
   was the Book-a-Demo → Return-on-signal stretch looking cooked. */
.hz-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hz-reveal.is-visible,
.hz-reveal.hz-in,
.hz-reveal.in,
.hzc-rev.in {
  opacity: 1;
  filter: none;
  transform: none;
}

/* ===== Featured article ===== */
.hz-featured.is-hidden {
  display: none;
}

.hz-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(300px, 42vw, 420px);
  margin: 0 0 clamp(36px, 4vw, 56px);
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--hz-radius);
  overflow: hidden;
  color: var(--hz-ink);
}

.hz-featured__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hz-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hz-featured__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.78) 100%);
  transition: opacity 0.35s ease;
}

.hz-featured:hover .hz-featured__media img {
  transform: scale(1.04);
  filter: blur(3px);
}

.hz-featured:hover .hz-featured__overlay {
  opacity: 0.95;
}

.hz-featured__body {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hz-featured__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(251, 179, 32, 0.16);
  border: 1px solid rgba(251, 179, 32, 0.28);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hz-amber2);
}

.hz-featured__title {
  margin: 0;
  font-family: "Univers Next Pro", Inter, system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 300;
}

.hz-featured__desc {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(245, 245, 242, 0.78);
}

/* ===== Filters ===== */
.hz-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
}

.hz-filter {
  appearance: none;
  border: 1px solid var(--hz-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--hz-muted);
  font: 400 0.86rem/1 "Univers Next Pro", Inter, sans-serif;
  letter-spacing: -0.02em;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hz-filter:hover {
  color: var(--hz-ink);
  border-color: rgba(255, 255, 255, 0.2);
}

.hz-filter.is-active {
  color: #050505;
  background: var(--hz-amber);
  border-color: var(--hz-amber);
}

/* ===== Insight cards ===== */
.hz-cardgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 0;
}

.hz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(280px, 36vw, 360px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--hz-radius);
  overflow: hidden;
  color: var(--hz-ink);
  transition: transform 0.28s ease;
}

.hz-card:hover {
  transform: translateY(-2px);
}

.hz-card.is-hidden {
  display: none;
}

.hz-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hz-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hz-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.hz-card:hover .hz-card__media img {
  transform: scale(1.06);
  filter: blur(4px);
}

.hz-card:hover .hz-card__overlay {
  opacity: 0.88;
}

.hz-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hz-card__tag {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hz-amber2);
}

.hz-card__title {
  margin: 0;
  font-family: "Univers Next Pro", Inter, system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 28ch;
}

.hz-card__date {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 245, 242, 0.48);
}

@media (max-width: 809px) {
  .hz-cardgrid {
    grid-template-columns: 1fr;
  }

  .hz-page h1 {
    max-width: none;
  }
}

/* ===== Article pages ===== */
.hz-article {
  max-width: var(--hz-col);
  margin: 0 auto;
  padding-top: calc(var(--hz-nav-h) + 36px);
  padding-bottom: 56px;
}

.hz-article h1 {
  max-width: none;
  font-family: "Univers Next Pro", Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--hz-ink);
}

.hz-asof {
  display: inline-block;
  margin: 0 0 20px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 179, 32, 0.28);
  background: rgba(251, 179, 32, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--hz-amber2);
}

.hz-meta {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0 0 40px;
  padding: 16px 0;
  border-top: 1px solid var(--hz-line2);
  border-bottom: 1px solid var(--hz-line2);
  font-size: 13px;
  font-weight: 600;
  color: var(--hz-muted2);
}

.hz-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hz-muted2);
}

.hz-prose h2 {
  margin: 44px 0 14px;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--hz-ink);
}

.hz-prose p {
  margin: 0 0 18px;
  color: var(--hz-muted);
  font-size: 17px;
  line-height: 1.65;
}

.hz-prose p strong {
  color: var(--hz-ink);
  font-weight: 600;
}

.hz-prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--hz-muted);
}

.hz-faq {
  margin-top: 56px;
}

.hz-faq h2 {
  margin: 0 0 20px;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  letter-spacing: -0.03em;
  color: var(--hz-ink);
}

.hz-qa {
  padding: 22px 0;
  border-top: 1px solid var(--hz-line2);
}

.hz-qa:last-child {
  border-bottom: 1px solid var(--hz-line2);
}

.hz-qa .q {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hz-ink);
}

.hz-qa .a {
  margin: 0;
  font-size: 16px;
  color: var(--hz-muted);
  line-height: 1.55;
}

.hz-related {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hz-line);
}

.hz-related a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hz-line2);
  color: var(--hz-muted);
  transition: color 0.18s ease, padding 0.2s ease;
}

.hz-related a:hover {
  padding-left: 6px;
  color: var(--hz-ink);
}

.hz-related a .arw {
  flex: none;
  font-size: 14px;
}

.hz-related a:hover .arw {
  color: var(--hz-amber2);
}

/* ===== Partners page ===== */
.hz-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 4vw, 56px);
}

.hz-lane {
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--hz-radius);
  border: 1px solid var(--hz-line);
  background: var(--hz-surface);
}

.hz-lane h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--hz-ink);
}

.hz-lane p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--hz-muted);
}

.hz-section {
  /* Homepage section rhythm is ~7rem — give partners the same air */
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.hz-section h2 {
  margin: 0 0 14px;
  font-family: "Univers Next Pro", Inter, system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--hz-ink);
}

.hz-section .hz-lead {
  margin-top: 0;
  margin-bottom: 8px;
}

.hz-chipgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 3.5vw, 40px);
}

.hz-chipcard {
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: 20px;
  border: 1px solid var(--hz-line);
  background: var(--hz-elevated);
}

.hz-chipcard h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--hz-ink);
}

.hz-chipcard p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--hz-muted2);
}

.hz-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 3.5vw, 40px);
}

.hz-step {
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: 20px;
  border: 1px solid var(--hz-line);
  background: linear-gradient(180deg, rgba(251, 179, 32, 0.08), rgba(255, 255, 255, 0.02));
}

.hz-step .num {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--hz-amber2);
}

.hz-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--hz-ink);
}

.hz-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hz-muted);
}

.hz-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.hz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.hz-btn--primary {
  color: #050505;
  background: var(--hz-amber);
}

.hz-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hz-btn--ghost {
  color: var(--hz-ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.hz-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hz-notice {
  margin: 0 0 28px;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--hz-amber);
  font-size: 15px;
  line-height: 1.6;
  color: var(--hz-muted);
}

.hz-updated {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hz-muted2);
}

@media (max-width: 900px) {
  .hz-lanes,
  .hz-chipgrid,
  .hz-steps {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact form tokens (homepage contact.js / onstyle subset) ===== */
:root {
  --on-gold: #ffb320;
  --on-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.hzc-band {
  width: 100%;
  padding: 7rem var(--hz-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hzc-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hzc-eyebrow {
  font-family: "JetBrains Mono", "SF Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-gold);
  opacity: 0.7;
  margin: 0 0 1.4rem;
}

.hzc-h2 {
  font-family: "Univers Next Pro", sans-serif;
  font-weight: 300;
  font-size: clamp(1.9rem, 4.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.6rem;
  max-width: 20ch;
}

.hzc-h2 .accent {
  color: var(--on-gold);
}

.hzc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Univers Next Pro", Inter, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: -0.01em;
  background: var(--on-gold);
  color: #050505;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--on-ease);
}

.hzc-btn:hover {
  background: #ff9b2f;
}

.hz-contact {
  margin-top: clamp(2rem, 5vw, 4rem);
}

/* ===== Footer — matches homepage legal bar ===== */
.hz-footer {
  margin-top: 0;
  background: var(--hz-bg);
}

.hz-footer .hz-wrap {
  padding-top: 0;
  padding-left: var(--hz-gutter);
  padding-right: var(--hz-gutter);
}

.hz-footer__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 640px) {
  .hz-footer__bar {
    flex-direction: row;
  }
}

.hz-footer__mark {
  display: inline-flex;
  align-items: center;
}

.hz-footer__mark img {
  display: block;
  width: 96px;
  height: auto;
  opacity: 0.55;
}

.hz-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hz-footer__links a {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease;
}

.hz-footer__links a:hover {
  color: rgba(255, 255, 255, 0.45);
}

.hz-footer__copy {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
}

/* Contrast fix: the dimmed second-clause span in section headlines
   (Problem/Platform/InterfacePreview) renders at text-white/25, which is
   ~2:1 against the #050505 background — well under the 3:1 floor for large
   text. Bump it to something still clearly secondary but legible. Small
   metadata spans (font-mono / text-[10px] / text-[11px]) keep their original
   25% — that tier is meant to recede. */
[class*="text-white/25"]:not([class*="font-mono"]):not([class*="text-[10px]"]):not([class*="text-[11px]"]) {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Section rhythm: keep section backgrounds pure black (matches the rest of
   the page); put the lighter surface on the How It Works step cards
   instead so the lift reads as a card, not a section-wide gray band.
   #how-it-works .step-item id+class selector needed to out-specificity the
   inline bg-[#050505]/hover:bg-[#0a0a0a] Tailwind utility classes baked
   into the built bundle. */
#how-it-works .step-item {
  background: var(--hz-elevated);
}
#how-it-works .step-item:hover {
  background: #1a1a1a;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hz-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
