:root {
  --hx-bg: #0a1214;
  --hx-ink: #f4f7f6;
  --hx-muted: rgba(244, 247, 246, 0.62);
  --hx-teal: #3ee0c8;
  --hx-teal-deep: #1fa892;
  --hx-sand: #e8c39a;
  --hx-line: rgba(255, 255, 255, 0.1);
  --hx-panel: rgba(14, 28, 32, 0.72);
  --hx-display: "Fraunces", Georgia, serif;
  --hx-sans: "Outfit", system-ui, sans-serif;
  --hx-grad: linear-gradient(135deg, #3ee0c8 0%, #2bb8d6 55%, #e8c39a 140%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hx-sans);
  background: var(--hx-bg);
  color: var(--hx-ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.hx-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--hx-bg);
}

.hx-bg__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(62, 224, 200, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(232, 195, 154, 0.1), transparent 50%),
    linear-gradient(180deg, #0d1a1c 0%, var(--hx-bg) 40%, #071012 100%);
}

.hx-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: hx-drift 16s ease-in-out infinite alternate;
}

.hx-bg__glow--a {
  width: 380px;
  height: 380px;
  top: 18%;
  left: -80px;
  background: radial-gradient(circle, rgba(62, 224, 200, 0.55), transparent 70%);
}

.hx-bg__glow--b {
  width: 320px;
  height: 320px;
  bottom: 10%;
  right: -60px;
  background: radial-gradient(circle, rgba(232, 195, 154, 0.35), transparent 70%);
  animation-delay: -7s;
}

@keyframes hx-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(24px, -18px);
  }
}

.hx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}

.hx-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hx-logo img {
  display: block;
  width: 32px;
  height: 32px;
}

.hx-logo__home {
  color: var(--hx-teal);
  font-weight: 500;
  font-size: 1.05rem;
}

.hx-nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hx-nav__biz {
  color: var(--hx-muted);
  font-size: 0.88rem;
}

.hx-nav__biz:hover {
  color: var(--hx-ink);
}

.hx-nav__phone {
  color: var(--hx-teal);
  font-weight: 600;
  font-size: 0.9rem;
}

.hx-nav__cta {
  background: var(--hx-grad);
  color: #061214;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 999px;
}

.hx-hero {
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 16, 18, 0.35) 45%, rgba(7, 16, 18, 0.88) 100%),
    url("assets/mesh-hero-lifestyle.png") center / cover no-repeat;
  border-radius: 28px;
  overflow: hidden;
  animation: hx-rise 0.9s ease-out both;
}

.hx-hero__copy {
  max-width: 34rem;
  padding: 0 36px 36px;
}

.hx-hero__brand {
  font-family: var(--hx-display);
  font-size: 1.15rem;
  color: var(--hx-teal);
  margin-bottom: 10px;
  animation: hx-rise 0.8s 0.1s ease-out both;
}

.hx-hero h1 {
  font-family: var(--hx-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  animation: hx-rise 0.85s 0.18s ease-out both;
}

.hx-hero__lead {
  color: rgba(244, 247, 246, 0.84);
  font-size: 1.08rem;
  max-width: 32ch;
  margin-bottom: 22px;
  animation: hx-rise 0.85s 0.28s ease-out both;
}

.hx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: hx-rise 0.85s 0.38s ease-out both;
}

@keyframes hx-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
}

.hx-btn--primary {
  background: var(--hx-grad);
  color: #061214;
}

.hx-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--hx-ink);
  background: rgba(0, 0, 0, 0.25);
}

.hx-btn--ghost:hover {
  border-color: var(--hx-teal);
}

.hx-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hx-sand);
  margin-bottom: 8px;
}

.hx-how {
  padding: 72px 0 24px;
}

.hx-how h2,
.hx-calc h2,
.hx-close h2 {
  font-family: var(--hx-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 28px;
}

.hx-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.hx-steps li {
  counter-increment: step;
  padding: 22px 20px;
  border: 1px solid var(--hx-line);
  border-radius: 18px;
  background: var(--hx-panel);
  backdrop-filter: blur(10px);
}

.hx-steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--hx-display);
  color: var(--hx-teal);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.hx-steps strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.hx-steps span {
  color: var(--hx-muted);
  font-size: 0.92rem;
}

.hx-calc {
  padding: 56px 0 40px;
}

.hx-calc__lead {
  color: var(--hx-muted);
  max-width: 46ch;
  margin: -12px 0 28px;
}

.hx-calc__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.hx-sliders {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--hx-line);
  border-radius: 22px;
  background: var(--hx-panel);
}

.hx-slider {
  display: grid;
  gap: 8px;
}

.hx-slider__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.hx-slider__top output {
  font-weight: 700;
  color: var(--hx-teal);
  font-variant-numeric: tabular-nums;
}

.hx-slider__hint {
  font-size: 0.78rem;
  color: var(--hx-muted);
}

.hx-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--hx-teal-deep),
    rgba(255, 255, 255, 0.14)
  );
  outline: none;
}

.hx-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hx-ink);
  border: 3px solid var(--hx-teal);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(62, 224, 200, 0.15);
  transition: transform 0.15s ease;
}

.hx-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.08);
}

.hx-slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hx-ink);
  border: 3px solid var(--hx-teal);
  cursor: pointer;
}

.hx-result {
  padding: 28px 26px;
  border-radius: 22px;
  border: 1px solid rgba(62, 224, 200, 0.28);
  background:
    linear-gradient(160deg, rgba(62, 224, 200, 0.12), transparent 42%),
    rgba(10, 24, 28, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hx-result__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--hx-sand);
  margin-bottom: 10px;
}

.hx-result__time {
  font-family: var(--hx-display);
  font-size: clamp(3rem, 8vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hx-result__time small {
  display: block;
  font-family: var(--hx-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--hx-muted);
  margin-top: 8px;
  letter-spacing: 0;
}

.hx-result__stats {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.hx-result__stats div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hx-line);
}

.hx-result__stats dt {
  color: var(--hx-muted);
  font-size: 0.88rem;
}

.hx-result__stats dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.hx-result__roi {
  color: rgba(244, 247, 246, 0.9);
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.hx-result__roi strong {
  color: var(--hx-teal);
}

.hx-result__fine {
  font-size: 0.78rem;
  color: var(--hx-muted);
  margin-bottom: 18px;
}

.hx-result__cta {
  width: 100%;
}

.hx-result__spoof {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--hx-sand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hx-result__spoof:hover {
  color: var(--hx-ink);
}

.hx-invoice {
  padding: 56px 0 24px;
}

.hx-invoice h2 {
  font-family: var(--hx-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hx-invoice__lead {
  color: var(--hx-muted);
  max-width: 52ch;
  margin-bottom: 28px;
}

.hx-invoice__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.hx-invoice__form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--hx-line);
  border-radius: 22px;
  background: var(--hx-panel);
}

.hx-invoice__form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: rgba(244, 247, 246, 0.9);
}

.hx-invoice__form input[type="text"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--hx-line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--hx-ink);
  font: inherit;
}

.hx-invoice__form input[type="text"]:focus {
  outline: 2px solid rgba(62, 224, 200, 0.45);
  border-color: transparent;
}

.hx-invoice__form input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hx-teal-deep), rgba(255, 255, 255, 0.14));
}

.hx-invoice__form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hx-ink);
  border: 3px solid var(--hx-teal);
  cursor: pointer;
}

.hx-bill {
  padding: 26px 24px;
  border-radius: 18px;
  background: #f7f3eb;
  color: #1a1a18;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hx-bill__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid #1a1a18;
  margin-bottom: 14px;
}

.hx-bill__brand {
  font-family: var(--hx-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.hx-bill__tag {
  font-size: 0.78rem;
  color: #5c584f;
  margin-top: 2px;
}

.hx-bill__meta {
  text-align: right;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: #3d3a34;
}

.hx-bill__parties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.hx-bill__memo {
  font-size: 0.88rem;
  color: #3d3a34;
  margin-bottom: 14px;
  font-style: italic;
}

.hx-bill__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.hx-bill__table th,
.hx-bill__table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
  vertical-align: top;
}

.hx-bill__table th:nth-child(2),
.hx-bill__table th:nth-child(3),
.hx-bill__table th:nth-child(4),
.hx-bill__table td:nth-child(2),
.hx-bill__table td:nth-child(3),
.hx-bill__table td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hx-bill__table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c584f;
}

.hx-bill__table tfoot td {
  font-weight: 700;
  border-bottom: none;
  padding-top: 10px;
}

.hx-bill__table tfoot tr:last-child td {
  font-size: 1.02rem;
  color: #0d5c52;
  padding-top: 8px;
  border-top: 2px solid #1a1a18;
}

.hx-bill__punch {
  font-family: var(--hx-display);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.hx-bill__fine {
  font-size: 0.72rem;
  color: #6b665c;
  line-height: 1.4;
}

.hx-close {
  padding: 48px 0 72px;
  text-align: center;
}

.hx-close p {
  color: var(--hx-muted);
  max-width: 42ch;
  margin: -12px auto 22px;
}

.hx-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hx-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--hx-line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
}

.hx-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.hx-footer a {
  color: var(--hx-muted);
  font-size: 0.86rem;
}

.hx-footer a:hover {
  color: var(--hx-teal);
}

.hx-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.hx-footer p {
  color: var(--hx-muted);
  font-size: 0.82rem;
}

.hx-footer__powered {
  font-size: 0.72rem;
  color: var(--hx-muted);
  opacity: 0.7;
  letter-spacing: 0.01em;
}

@media (max-width: 860px) {
  .hx-calc__layout,
  .hx-steps,
  .hx-invoice__layout {
    grid-template-columns: 1fr;
  }

  .hx-footer__meta {
    align-items: flex-start;
  }

  .hx-hero {
    min-height: 72vh;
    align-items: end;
  }

  .hx-hero__copy {
    padding: 0 22px 28px;
  }

  .hx-nav__cta {
    display: none;
  }
}

@media print {
  .hx-bg,
  .hx-nav,
  .hx-hero,
  .hx-how,
  .hx-calc,
  .hx-close,
  .hx-footer,
  .hx-invoice__form,
  .hx-invoice__lead,
  .hx-invoice .hx-kicker,
  .hx-invoice > h2 {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hx-invoice {
    padding: 0;
  }

  .hx-bill {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

@media (max-width: 520px) {
  .hx-nav__cta {
    display: none;
  }

  .hx-nav__phone {
    font-size: 0.82rem;
  }
}
