/* ==========================================================================
   Helpiz — implementation of design 4a
   "Combined home — 2a body with the 3b hero"

   Section 1 holds every value taken from the design. Components below only
   reference tokens, so a change to the design means a change here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens (from design 4a)
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces */
  --hz-page: #f5f7fa;
  --hz-surface: #ffffff;
  --hz-dark: #0f172a;
  --hz-dark-2: #1e293b;

  /* Text */
  --hz-ink: #0f172a;
  --hz-body: #475569;
  --hz-muted: #64748b;
  --hz-faint: #94a3b8;

  /* Lines */
  --hz-line: #dfe4ec;
  --hz-line-soft: #e5e9f0;
  --hz-line-dash: #cbd5e1;

  /* Brand blue */
  --hz-blue: #1e7ae0;
  --hz-blue-link: #1f7ae0;
  --hz-blue-grad: linear-gradient(135deg, #0aa5ff 0%, #1e7ae0 55%, #1e5fd8 100%);
  --hz-blue-grad-sm: linear-gradient(135deg, #0aa5ff, #1e5fd8);
  --hz-blue-tint: #e4effc;
  --hz-blue-tint-ink: #134a8a;

  /* CTA orange */
  --hz-orange-grad: linear-gradient(135deg, #ffb020 0%, #ff7a1a 55%, #ff4e1a 100%);
  --hz-orange-shadow: 0 6px 18px rgba(255, 110, 26, .3);
  --hz-orange-shadow-lg: 0 8px 24px rgba(255, 110, 26, .32);

  /* Warm panels */
  --hz-peach-hero: linear-gradient(160deg, #ffd8ac 0%, #ffb46e 55%, #ff8a3d 100%);
  --hz-peach-panel: linear-gradient(160deg, #ffe3c2 0%, #ffcf9e 45%, #ffb46e 100%);

  /* Type */
  --hz-font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hz-fs-h1: 62px;
  --hz-fs-h2: 40px;
  --hz-fs-h3: 24px;

  /* Layout */
  --hz-max: 1180px;
  --hz-pad: 56px;
  --hz-section-gap: 88px;

  /* Shape */
  --hz-r-pill: 999px;
  --hz-r-lg: 28px;
  --hz-r-md: 24px;
  --hz-r-sm: 20px;
  --hz-r-xs: 14px;

  /* Shadow */
  --hz-shadow-card: 0 12px 40px rgba(15, 23, 42, .05);
  --hz-shadow-lift: 0 24px 60px rgba(15, 23, 42, .12);
  --hz-shadow-blue: 0 20px 50px rgba(30, 122, 224, .12);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--hz-page);
  color: var(--hz-ink);
  font-family: var(--hz-font);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

.hz-wrap {
  max-width: var(--hz-max);
  margin-inline: auto;
  padding-inline: var(--hz-pad);
}

.hz-section { padding-top: var(--hz-section-gap); }

/* Panels that sit inset from the page edge (design uses margin:88px 56px). */
.hz-panel {
  max-width: var(--hz-max);
  margin: var(--hz-section-gap) auto 0;
  margin-inline: max(var(--hz-pad), calc(50% - var(--hz-max) / 2 + var(--hz-pad)));
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */

.hz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 17px 26px;
  border-radius: var(--hz-r-pill);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.hz-btn:hover { transform: translateY(-1px); }
.hz-btn:active { transform: translateY(0); }

.hz-btn--cta {
  background: var(--hz-orange-grad);
  color: #fff;
  box-shadow: var(--hz-orange-shadow-lg);
}

.hz-btn--ghost {
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  color: var(--hz-ink);
  font-weight: 600;
}

.hz-btn--on-blue {
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-weight: 600;
  background: transparent;
}

.hz-btn--white { background: #fff; color: var(--hz-ink); font-size: 16px; padding: 14px 22px; }
.hz-btn--sm { padding: 12px 20px; font-size: 16px; }

/* Stacked CTA: label over phone number */
.hz-btn--stack { flex-direction: column; padding: 16px 28px; }
.hz-btn--stack .hz-btn__label { font-size: 18px; font-weight: 700; line-height: 1.1; }
.hz-btn--stack .hz-btn__sub { font-size: 14px; font-weight: 600; opacity: .9; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */

.hz-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: var(--hz-max);
  margin-inline: auto;
  padding: 20px var(--hz-pad);
}

.hz-header__logo { justify-self: start; display: block; }
.hz-header__logo img { height: 40px; width: auto; display: block; }

.hz-nav {
  display: flex;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-pill);
  padding: 6px;
  list-style: none;
  margin: 0;
}

.hz-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--hz-r-pill);
  text-decoration: none;
  color: var(--hz-ink);
}

.hz-nav a:hover, .hz-nav .current-menu-item > a { background: var(--hz-page); }

.hz-header__end {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
}

.hz-header__row { display: flex; align-items: center; gap: 18px; }

.hz-header__login {
  font-size: 16px;
  font-weight: 600;
  color: var(--hz-body);
  text-decoration: none;
  white-space: nowrap;
}

.hz-header__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--hz-body);
  text-decoration: none;
  white-space: nowrap;
  padding-right: 20px;
}

.hz-burger { display: none; }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

.hz-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--hz-max);
  margin-inline: auto;
  padding: 40px var(--hz-pad) 0;
}

.hz-hero__col { display: flex; flex-direction: column; gap: 22px; }

.hz-hero__title {
  font-size: var(--hz-fs-h1);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: pretty;
}

.hz-grad-text {
  background: var(--hz-blue-grad-sm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hz-hero__sub { font-size: 21px; line-height: 1.45; color: var(--hz-body); max-width: 520px; }
.hz-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hz-hero__note { font-size: 16px; color: var(--hz-muted); }

.hz-hero__art {
  position: relative;
  border-radius: var(--hz-r-lg);
  background: var(--hz-peach-hero);
  padding: 36px 24px 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
}

.hz-hero__art img {
  width: 100%;
  max-width: 480px;
  display: block;
  filter: hue-rotate(-38deg) saturate(1.05);
  animation: hzfloat 6s ease-in-out infinite;
}

@keyframes hzfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   6. Queue widget (live ticker)
   -------------------------------------------------------------------------- */

.hz-queue {
  margin-top: 8px;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-sm);
  padding: 18px 20px;
  max-width: 520px;
  min-height: 262px;
  display: flex;
  flex-direction: column;
}

.hz-queue__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hz-muted);
  margin-bottom: 10px;
}

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

.hz-queue__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--hz-line-soft);
}

.hz-queue__dot {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  transition: all .4s;
  border: 2px solid var(--hz-faint);
}

.hz-queue__item[data-live="1"] .hz-queue__dot {
  background: var(--hz-blue-grad-sm);
  color: #fff;
  border-color: transparent;
}

.hz-queue__text { font-size: 16px; font-weight: 500; transition: all .4s; color: var(--hz-ink); }
.hz-queue__item[data-live="1"] .hz-queue__text { color: var(--hz-faint); text-decoration: line-through; }

.hz-queue__label {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.hz-queue__input {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  border-radius: var(--hz-r-pill);
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
}

.hz-queue__typed {
  flex: 1;
  font-size: 16px;
  color: var(--hz-ink);
  min-height: 22px;
  display: flex;
  align-items: center;
  white-space: pre;
}

.hz-queue__caret {
  width: 2px;
  height: 18px;
  margin-left: 1px;
  background: var(--hz-blue);
  animation: hzblink 1s steps(1) infinite;
}

@keyframes hzblink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hz-queue__add {
  padding: 9px 16px;
  border-radius: var(--hz-r-pill);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--hz-blue-grad-sm);
  transition: transform .15s;
}

.hz-queue__add[data-flash="1"] { transform: scale(.94); }

/* --------------------------------------------------------------------------
   7. Proof strip
   -------------------------------------------------------------------------- */

.hz-proof {
  margin-top: 48px;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  box-shadow: var(--hz-shadow-card);
}

.hz-proof__cell {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--hz-line-soft);
}

.hz-proof__cell:last-child { border-right: 0; }

.hz-proof__num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  background: var(--hz-blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hz-proof__label { font-size: 17px; font-weight: 600; color: var(--hz-ink); }
.hz-proof__text { font-size: 14px; color: var(--hz-muted); line-height: 1.4; }

/* --------------------------------------------------------------------------
   8. Problems table
   -------------------------------------------------------------------------- */

.hz-problems { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.hz-problems__title { font-size: var(--hz-fs-h2); margin-bottom: 14px; }
.hz-problems__lede { font-size: 19px; color: var(--hz-body); line-height: 1.5; }
.hz-problems__cta { margin-top: 28px; }

.hz-table {
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-md);
  overflow: hidden;
  box-shadow: var(--hz-shadow-card);
}

.hz-table__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 28px;
  border-bottom: 1px solid var(--hz-line-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hz-faint);
}

.hz-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--hz-line-soft);
  align-items: center;
}

.hz-table__row:last-child { border-bottom: 0; }
.hz-table__q { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.hz-table__a { font-size: 17px; line-height: 1.5; color: var(--hz-body); display: flex; gap: 12px; }

.hz-tick {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--hz-blue-grad-sm);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. How it works
   -------------------------------------------------------------------------- */

.hz-how {
  padding: 56px 48px;
  border-radius: 32px;
  background: var(--hz-peach-panel);
}

.hz-how__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  gap: 24px;
}

.hz-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hz-blue);
  margin-bottom: 10px;
}

.hz-how__title { font-size: var(--hz-fs-h2); }
.hz-how__lede { font-size: 18px; color: var(--hz-body); max-width: 380px; line-height: 1.5; }
.hz-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.hz-step {
  position: relative;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-md);
  padding: 28px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.hz-step__head { display: flex; align-items: center; gap: 12px; }

.hz-step__num {
  width: 44px;
  height: 44px;
  border-radius: var(--hz-r-xs);
  background: var(--hz-blue-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(30, 122, 224, .28);
}

.hz-step__name { font-size: var(--hz-fs-h3); font-weight: 700; letter-spacing: -.02em; }
.hz-step__text { font-size: 17px; line-height: 1.55; color: var(--hz-body); min-height: 78px; }

.hz-step__demo {
  margin-top: auto;
  background: var(--hz-page);
  border-radius: 16px 16px 0 0;
  padding: 18px 18px 22px;
  border: 1px solid var(--hz-line-soft);
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hz-bubble {
  max-width: 85%;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.hz-bubble--in {
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line-soft);
  color: var(--hz-ink);
}

.hz-bubble--out {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: var(--hz-blue-grad);
  color: #fff;
}

.hz-checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--hz-ink);
}

.hz-checkline--todo { border-style: dashed; border-color: var(--hz-line-dash); color: var(--hz-muted); }

.hz-checkline__dot {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--hz-blue-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.hz-checkline--todo .hz-checkline__dot { background: none; border: 2px solid var(--hz-line-dash); }
.hz-demo__caption { font-size: 11px; font-weight: 600; color: var(--hz-faint); text-align: center; }

/* --------------------------------------------------------------------------
   10. Customer highlight
   -------------------------------------------------------------------------- */

.hz-tagrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }

.hz-tag {
  padding: 5px 12px;
  border-radius: var(--hz-r-pill);
  background: var(--hz-blue-tint);
  color: var(--hz-blue-link);
  font-size: 14px;
  font-weight: 600;
}

.hz-tagrow__meta { font-size: 15px; color: var(--hz-muted); }
.hz-case { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }

.hz-compare {
  position: relative;
  border-radius: var(--hz-r-sm);
  overflow: hidden;
  border: 1px solid var(--hz-line);
  box-shadow: var(--hz-shadow-lift);
  aspect-ratio: 16 / 10;
  background: var(--hz-surface);
}

.hz-compare__layer { position: absolute; inset: 0; }
.hz-compare__before { position: absolute; inset: 0; overflow: hidden; width: 72%; }
.hz-compare__before-inner { position: absolute; inset: 0; min-width: 100%; background: #f1f4f8; }

.hz-slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hz-faint);
  background: repeating-linear-gradient(45deg, #f8fafc 0 10px, #f1f5f9 10px 20px);
}

/* The two slots overlap, so pin their captions to opposite edges. */
.hz-slot--before { align-items: start; padding-top: 64px; }
.hz-slot--after { align-items: end; padding-bottom: 64px; }

.hz-compare__pill {
  position: absolute;
  top: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  font: 600 11px var(--hz-font);
  color: #fff;
  pointer-events: none;
}

.hz-compare__pill--old { left: 12px; background: rgba(15, 23, 42, .8); }
.hz-compare__pill--new { right: 12px; background: var(--hz-blue); }

.hz-compare__cap {
  position: absolute;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
}

.hz-compare__cap--before { left: 14px; background: rgba(15, 23, 42, .8); }
.hz-compare__cap--after { right: 14px; background: var(--hz-blue-link); }

.hz-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 72%;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  pointer-events: none;
}

.hz-compare__handle {
  position: absolute;
  top: 50%;
  left: 72%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--hz-ink);
  pointer-events: none;
}

.hz-compare__range {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.hz-case__body { display: flex; flex-direction: column; gap: 18px; }
.hz-case__title { font-size: 36px; line-height: 1.1; }
.hz-case__text { font-size: 18px; line-height: 1.55; color: var(--hz-body); }

.hz-quote {
  padding: 18px 20px;
  border-radius: var(--hz-r-xs);
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  font-size: 17px;
  line-height: 1.5;
  color: var(--hz-body);
}

.hz-quote__text { font-size: 19px; font-weight: 600; color: var(--hz-ink); margin-bottom: 6px; }
.hz-stats { display: flex; gap: 28px; font-size: 15px; color: var(--hz-muted); flex-wrap: wrap; }
.hz-stats__num { font-size: 26px; font-weight: 700; color: var(--hz-ink); letter-spacing: -.02em; }
.hz-link { font-size: 17px; font-weight: 600; color: var(--hz-blue-link); text-decoration: none; }

/* --------------------------------------------------------------------------
   11. Pricing
   -------------------------------------------------------------------------- */

.hz-pricing__title { font-size: var(--hz-fs-h2); text-align: center; margin-bottom: 12px; }

.hz-pricing__lede {
  font-size: 19px;
  color: var(--hz-body);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hz-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }

.hz-plan {
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.hz-plan--featured { border: 2px solid var(--hz-blue); box-shadow: var(--hz-shadow-blue); }

.hz-plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: var(--hz-r-pill);
  background: var(--hz-blue-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hz-plan__name { font-size: 16px; font-weight: 600; color: var(--hz-body); }
.hz-plan--featured .hz-plan__name { color: var(--hz-blue-link); }
.hz-plan__price { font-size: 48px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.hz-plan__per { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--hz-muted); }
.hz-plan__list { font-size: 17px; line-height: 1.65; color: var(--hz-body); }

.hz-note {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--hz-blue-tint);
  color: var(--hz-blue-tint-ink);
  font-size: 15px;
  line-height: 1.45;
}

.hz-plan__cta {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--hz-r-pill);
  border: 1px solid var(--hz-line);
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  color: var(--hz-ink);
  display: block;
}

.hz-plan__cta--cta {
  border: 0;
  background: var(--hz-orange-grad);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--hz-orange-shadow);
}

.hz-oneoff {
  max-width: 820px;
  margin: 16px auto 0;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 17px;
  overflow: hidden;
}

.hz-oneoff__cell { padding: 20px 24px; border-right: 1px solid var(--hz-line-soft); }
.hz-oneoff__cell:last-of-type { border-right: 0; }
.hz-oneoff__label { color: var(--hz-body); font-size: 15px; }
.hz-oneoff__price { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.hz-oneoff__price span { font-size: 14px; font-weight: 500; color: var(--hz-muted); }
.hz-oneoff__text { font-size: 14px; color: var(--hz-muted); margin-top: 2px; }

.hz-oneoff__foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--hz-line-soft);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hz-oneoff__foot span { font-size: 16px; color: var(--hz-body); }

.hz-callout {
  max-width: 820px;
  margin: 16px auto 0;
  padding: 18px 24px;
  border-radius: var(--hz-r-sm);
  background: var(--hz-blue-tint);
  font-size: 16px;
  line-height: 1.55;
  color: var(--hz-blue-tint-ink);
}

.hz-custom {
  max-width: 820px;
  margin: 16px auto 0;
  padding: 20px 24px;
  border-radius: var(--hz-r-sm);
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hz-custom__text { font-size: 16px; line-height: 1.5; color: var(--hz-body); }
.hz-custom__text b { color: var(--hz-ink); font-size: 18px; }

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */

.hz-faq { max-width: 820px; margin-inline: auto; }
.hz-faq__title { font-size: var(--hz-fs-h2); text-align: center; margin-bottom: 28px; }

.hz-faq__list {
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-sm);
  padding: 0 24px;
}

.hz-faq__item { border-bottom: 1px solid var(--hz-line-soft); }

.hz-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 20px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--hz-ink);
}

.hz-faq__icon { font-size: 24px; color: var(--hz-muted); font-weight: 400; flex: none; }
.hz-faq__a { font-size: 18px; line-height: 1.55; color: var(--hz-body); padding-bottom: 20px; margin-top: -6px; }

.hz-faq__author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--hz-body);
}

.hz-faq__author b { color: var(--hz-ink); }
.hz-faq__author u { color: var(--hz-blue-link); }

.hz-avatar {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--hz-page);
  border: 1px solid var(--hz-line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--hz-faint);
  overflow: hidden;
}

.hz-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   13. Closing CTA + Fast Response band
   -------------------------------------------------------------------------- */

.hz-close {
  padding: 64px;
  border-radius: var(--hz-r-lg);
  background: var(--hz-blue-grad);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hz-close__title { font-size: 44px; letter-spacing: -.03em; line-height: 1.05; max-width: 640px; }
.hz-close__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hz-close__phone { font-size: 17px; color: rgba(255, 255, 255, .85); }

.hz-fra {
  margin-top: 24px;
  padding: 36px 40px;
  border-radius: var(--hz-r-lg);
  background: var(--hz-dark);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.hz-fra__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--hz-blue-grad);
  display: grid;
  place-items: center;
  flex: none;
}

.hz-fra__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hz-faint);
  margin-bottom: 6px;
}

.hz-fra__title { font-size: var(--hz-fs-h3); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hz-fra__text { margin-top: 6px; font-size: 17px; line-height: 1.5; color: #cbd5e1; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.hz-footer {
  max-width: var(--hz-max);
  margin-inline: auto;
  padding: 40px var(--hz-pad) 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--hz-muted);
}

.hz-footer__nav, .hz-footer__end { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.hz-footer__end { gap: 20px; }
.hz-footer a { text-decoration: none; color: inherit; }
.hz-footer a:hover { color: var(--hz-ink); }
.hz-footer__phone { color: var(--hz-ink); font-weight: 600; }
.hz-footer__fra u { color: var(--hz-blue-link); }

/* --------------------------------------------------------------------------
   15. Inner pages (blog, single, 404 — not part of 4a, styled to match)
   -------------------------------------------------------------------------- */

.hz-page__header { padding-top: 56px; }
.hz-page__title { font-size: var(--hz-fs-h2); }
.hz-page__media { margin-top: 28px; border-radius: var(--hz-r-sm); overflow: hidden; }
.hz-prose { font-size: 18px; line-height: 1.65; color: var(--hz-body); padding-block: 28px 88px; }
.hz-prose > * + * { margin-top: 1.25rem; }
.hz-prose h2 { font-size: 30px; margin-top: 44px; }
.hz-prose h3 { font-size: 22px; margin-top: 32px; }
.hz-prose a { color: var(--hz-blue-link); }

.hz-card {
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--hz-shadow-card);
}

.hz-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hz-card__title { font-size: 20px; }
.hz-card__title a { text-decoration: none; }
.hz-card__title a:hover { color: var(--hz-blue-link); }
.hz-card__meta { font-size: 13px; font-weight: 600; color: var(--hz-faint); text-transform: uppercase; letter-spacing: .06em; }
.hz-card__text { font-size: 16px; color: var(--hz-body); line-height: 1.5; }
.hz-card__link { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--hz-blue-link); text-decoration: none; }

.hz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.hz-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.hz-sidebar .widget + .widget { margin-top: 32px; }
.hz-sidebar ul { list-style: none; padding: 0; margin: 0; }
.hz-sidebar li { padding-block: 8px; border-bottom: 1px solid var(--hz-line); }
.hz-sidebar a { text-decoration: none; color: var(--hz-body); }
.hz-sidebar a:hover { color: var(--hz-blue-link); }

.hz-searchform .hz-searchform__row { display: flex; gap: 8px; }

.hz-searchform input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--hz-r-pill);
  border: 1px solid var(--hz-line);
  font-family: inherit;
  font-size: 16px;
  background: var(--hz-surface);
}

.hz-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; list-style: none; padding: 0; }
.hz-pagination a, .hz-pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border-radius: var(--hz-r-pill);
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  text-decoration: none;
  font-weight: 600;
}
.hz-pagination .current { background: var(--hz-blue-grad); color: #fff; border-color: transparent; }

.hz-portal__card {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  background: var(--hz-surface);
  border: 1px solid var(--hz-line);
  border-radius: var(--hz-r-md);
  box-shadow: var(--hz-shadow-card);
  padding: 48px 40px;
}

.hz-portal__note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--hz-line);
  font-size: 13px;
  color: var(--hz-muted);
}

.hz-empty { padding-block: 32px; color: var(--hz-muted); }

/* --------------------------------------------------------------------------
   16. Reveal on scroll
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal="in"] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hz-hero__art img { animation: none; }
  .hz-queue__caret { animation: none; }
  .hz-btn:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   17. Responsive
   The design is specified at 1180px desktop only; below that it collapses
   to a single column while keeping the same type scale relationships.
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  :root { --hz-fs-h1: 50px; --hz-fs-h2: 34px; --hz-pad: 32px; --hz-section-gap: 64px; }

  .hz-hero { grid-template-columns: 1fr; gap: 36px; }
  .hz-hero__art { min-height: 380px; order: -1; }
  .hz-queue { max-width: none; }
  .hz-proof { grid-template-columns: 1fr 1fr; }
  .hz-proof__cell:nth-child(2) { border-right: 0; }
  .hz-proof__cell:nth-child(-n+2) { border-bottom: 1px solid var(--hz-line-soft); }
  .hz-problems { grid-template-columns: 1fr; gap: 32px; }
  .hz-how__grid { grid-template-columns: 1fr; }
  .hz-how__head { flex-direction: column; align-items: start; gap: 12px; }
  .hz-case { grid-template-columns: 1fr; gap: 28px; }
  .hz-layout { grid-template-columns: 1fr; gap: 32px; }
  .hz-step__text { min-height: 0; }
}

@media (max-width: 860px) {
  /* Logo | CTA | burger on one row; the nav drops to a second row when open. */
  .hz-header { grid-template-columns: 1fr auto auto; gap: 12px; }
  .hz-header__logo { grid-column: 1; grid-row: 1; }
  .hz-header__end { grid-column: 2; grid-row: 1; }
  .hz-header__login { display: none; }
  .hz-header__end .hz-btn { font-size: 14px; padding: 10px 14px; }

  .hz-burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--hz-line);
    background: var(--hz-surface);
    cursor: pointer;
    grid-column: 3;
    grid-row: 1;
  }

  .hz-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    border-radius: var(--hz-r-sm);
    padding: 8px;
  }

  .hz-nav[data-open="1"] { display: flex; }
  .hz-nav a { padding: 12px 16px; }
  .hz-header__phone { display: none; }
}

@media (max-width: 720px) {
  :root { --hz-fs-h1: 38px; --hz-fs-h2: 28px; --hz-fs-h3: 20px; --hz-pad: 20px; }

  body { font-size: 16px; }
  .hz-hero__sub { font-size: 18px; }
  .hz-hero__title { line-height: 1.08; }
  .hz-proof { grid-template-columns: 1fr; }
  .hz-proof__cell { border-right: 0; border-bottom: 1px solid var(--hz-line-soft); }
  .hz-proof__cell:last-child { border-bottom: 0; }
  .hz-table__head { display: none; }
  .hz-table__row { grid-template-columns: 1fr; gap: 12px; }
  .hz-table__q { font-size: 19px; }
  .hz-plans { grid-template-columns: 1fr; }
  .hz-plan--featured { margin-top: 16px; }
  .hz-oneoff { grid-template-columns: 1fr; }
  .hz-oneoff__cell { border-right: 0; border-bottom: 1px solid var(--hz-line-soft); }
  .hz-how { padding: 32px 20px; border-radius: var(--hz-r-md); }
  .hz-close { padding: 40px 24px; }
  .hz-close__title { font-size: 30px; }
  .hz-fra { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .hz-footer { flex-direction: column; align-items: flex-start; }
  .hz-btn { font-size: 16px; padding: 15px 22px; }
  .hz-grid { grid-template-columns: 1fr; }
  .hz-header__logo img { height: 32px; }
}

/* --------------------------------------------------------------------------
   18. Accessibility
   -------------------------------------------------------------------------- */

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 20px;
  border-radius: var(--hz-r-pill);
  background: var(--hz-ink);
  color: #fff;
}

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(30, 122, 224, .5);
  outline-offset: 2px;
}
