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

:root {
  --hg-background-image: url("../../generator-stopki-e-mail/images/signature-background-16-9.jpg");
  --hg-shell-x: clamp(1.25rem, 4vw, 3rem);
  --hg-shell-y: clamp(1.05rem, 3.2vw, 2.65rem);
  --hg-content-x: clamp(1rem, 3vw, 2.2rem);
  --hg-quickbar-space: clamp(4.8rem, 8vh, 6.4rem);
  --hg-nav-top-space: calc(var(--hg-shell-y) + var(--hg-quickbar-space));
  --hg-layout-max: 76rem;
}

html {
  min-height: 100%;
  background: #ffffff;
}

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: #ffffff;
  color: #201d1d;
  font-family: "PP Neue Montreal", Arial, sans-serif;
  font-weight: 400;
  overscroll-behavior: none;
  isolation: isolate;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  background-color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)),
    var(--hg-background-image);
  background-position: center center, center center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}

body.is-detail-open {
  overflow: hidden;
}

body.is-info-open {
  overflow: hidden;
}

body.is-page-loading {
  height: 100dvh;
  overflow: hidden;
  background: #ffffff;
}

body.is-page-loading::before {
  display: none;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

main:has(.hg-header.is--loading) {
  height: 100dvh;
  overflow: hidden;
}

body.is-page-loading main {
  height: 100dvh;
  overflow: hidden;
}

main {
  position: relative;
  z-index: 1;
}

.hg-header {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
  overflow-x: clip;
  color: #201d1d;
  background: transparent;
}

.hg-header.is--loading {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #ffffff;
}

.hg-header.is--loading.is--hidden {
  display: none;
}

.hg-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #201d1d;
  background: #ffffff;
}

.hg-header.is--loading .hg-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  height: 100dvh;
  min-height: 100dvh;
}

.hg-loader__logo {
  --loader-mark-size: clamp(5.5rem, 18vw, 13rem);
  --loader-letter-size: calc(var(--loader-mark-size) * .64);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(64vw, 42rem);
  height: var(--loader-mark-size);
  line-height: 1;
}

.hg-logo-part {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--loader-letter-size);
  overflow: hidden;
}

.hg-logo-part--h {
  margin-right: .5rem;
  width: calc(var(--loader-letter-size) * .85);
  color: #201d1d;
}

.hg-logo-part--g {
  margin-left: .5rem;
  width: calc(var(--loader-letter-size) * .85);
  color: #201d1d;
}

.hg-logo-part__svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hg-loader__box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: var(--loader-mark-size);
  flex: 0 0 auto;
}

.hg-loader__box-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: var(--loader-mark-size);
  height: 100%;
}

.hg-growing-image {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0%;
  height: 100%;
  overflow: hidden;
}

.hg-growing-image__wrap {
  position: absolute;
  width: 100%;
  min-width: var(--loader-mark-size);
  height: 100%;
  background-color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)),
    var(--hg-background-image);
  background-position: center center, center center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
}

.hg-cover-image,
.hg-cover-image-extra {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.hg-cover-image-extra.is--1 {
  z-index: 4;
}

.hg-cover-image-extra.is--2 {
  z-index: 3;
}

.hg-cover-image-extra.is--3 {
  z-index: 2;
}

.hg-cover-image-extra.is--4 {
  z-index: 1;
}

@media (min-aspect-ratio: 21 / 9) {
  :root {
    --hg-background-image: url("../../generator-stopki-e-mail/images/signature-background-21-9.jpg");
  }
}

@media (min-width: 768px) and (max-aspect-ratio: 3 / 2) {
  :root {
    --hg-background-image: url("../../generator-stopki-e-mail/images/signature-background-1-1.jpg");
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  :root {
    --hg-background-image: url("../../generator-stopki-e-mail/images/signature-background-9-16.jpg");
  }
}

.hg-header__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: var(--hg-nav-top-space) var(--hg-shell-x) 0;
  pointer-events: none;
}

.hg-header__top,
.hg-header__bottom {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hg-header__top {
  position: fixed;
  top: var(--hg-shell-y);
  left: var(--hg-shell-x);
  right: var(--hg-shell-x);
  width: auto;
  z-index: 80;
  overflow: visible;
  pointer-events: none;
}

.hg-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: visible;
  pointer-events: auto;
}

.hg-nav__brand {
  display: inline-flex;
  width: clamp(9rem, 18vw, 15rem);
  pointer-events: auto;
}

.hg-nav__logo {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}

.hg-nav__logo-primary {
  fill: #000000;
}

.hg-nav__logo-secondary {
  fill: #1d1d1b;
}

.hg-quickbar {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  margin-left: auto;
  min-height: clamp(3.35rem, 4.3vw, 3.85rem);
  padding: .4rem .46rem .4rem 2.2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: "Poppins", "PP Neue Montreal", "Segoe UI", Arial, sans-serif;
  pointer-events: auto;
  transform-origin: right center;
  will-change: transform;
}

.hg-date-pill,
.hg-icon-pill,
.hg-menu-pill {
  background: transparent;
}

.hg-date-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(14.4rem, 24vw, 21rem);
  min-height: 2.55rem;
  padding: 0 .55rem 0 1.05rem;
  border-radius: 999px;
  color: #000000;
  line-height: 1;
  white-space: nowrap;
  font-family: "Poppins", "PP Neue Montreal", "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 .7rem, #000 calc(100% - .7rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 .7rem, #000 calc(100% - .7rem), transparent 100%);
}

.hg-date-pill::after {
  content: "";
  position: absolute;
  left: .66rem;
  top: 50%;
  width: 1px;
  height: 1.14rem;
  border-radius: 999px;
  background: rgba(8, 35, 143, .28);
  transform: translateY(-50%) scaleY(.72);
  transform-origin: center center;
  opacity: .68;
  transition:
    opacity .32s ease,
    transform .42s cubic-bezier(.22, 1, .36, 1),
    background .32s ease;
}

.hg-date-pill.is-switching::after {
  opacity: .96;
  background: rgba(8, 35, 143, .46);
  transform: translateY(-50%) scaleY(1.22);
}

.hg-date-pill > span {
  display: block;
  color: #000000;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(.82rem, 1vw, .98rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: left;
  will-change: transform, opacity;
}

.hg-date-word {
  display: inline-block;
  white-space: pre;
  will-change: transform, opacity, filter;
}

.hg-icon-pill,
.hg-menu-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #000000;
  cursor: pointer;
  transition:
    transform .24s cubic-bezier(.22, 1, .36, 1),
    background .24s ease,
    color .24s ease;
}

.hg-icon-pill {
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 2.7rem;
  border-radius: 50%;
  background: rgba(20, 35, 84, .06);
  overflow: hidden;
  isolation: isolate;
}

.hg-icon-pill::before,
.hg-icon-pill::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.02rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg) scaleX(.35);
  transition:
    opacity .24s ease,
    transform .42s cubic-bezier(.22, 1, .36, 1);
}

.hg-icon-pill.is-active::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
}

.hg-icon-pill.is-active::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg) scaleX(1);
}

.hg-icon-pill::before,
.hg-icon-pill::after {
  content: none;
  display: none;
}

.hg-menu-pill {
  gap: .65rem;
  min-height: 2.7rem;
  padding: 0 1.08rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: clamp(.82rem, 1vw, .95rem);
  font-weight: 500;
  letter-spacing: 0;
}

.hg-icon-pill:hover,
.hg-menu-pill:hover {
  transform: translateY(-1px);
}

.hg-icon-pill:hover {
  background: rgba(204, 204, 204, 0.08);
  color: #000000;
}

.hg-icon-pill.is-active {
  background: rgba(20, 35, 84, .08);
}

.hg-menu-pill:hover {
  background: #000000;
}

.hg-icon-pill svg,
.hg-menu-pill svg {
  display: block;
  width: 1.14rem;
  height: 1.14rem;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity .24s ease,
    transform .34s cubic-bezier(.22, 1, .36, 1);
}

.hg-icon-pill svg {
  stroke: black;
}

.hg-icon-pill .hg-help-icon {
  width: 1.62rem;
  height: 1.62rem;
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}

.hg-icon-pill .hg-help-icon path {
  fill: currentColor;
}

.hg-menu-pill svg {
  stroke: white;
}
.hg-icon-pill--help svg {
  width: 1.62rem;
  height: 1.62rem;
  stroke-width: 0;
}

.hg-help-icon {
  position: relative;
  z-index: 1;
  transform-origin: center center;
  will-change: transform, opacity;
}

.hg-help-x {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hg-help-x__line {
  position: absolute;
  width: 1.08rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

.hg-help-x__line--one {
  transform: rotate(45deg) scaleX(0);
}

.hg-help-x__line--two {
  transform: rotate(-45deg) scaleX(0);
}

.hg-header.is--loading .hg-header__top,
.hg-header.is--loading .hg-quickbar {
  opacity: 0;
  visibility: hidden;
}

.hg-info-space {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.hg-info-space__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background: rgba(9, 15, 28, .075);
  opacity: 0;
  pointer-events: none;
}

.hg-info-space.is-open {
  pointer-events: auto;
}

.hg-info-space__panels,
.hg-info-panel,
.hg-info-space__content {
  position: absolute;
  inset: 0;
}

.hg-info-space__panels {
  z-index: 1;
}

.hg-info-panel {
  display: block;
  background: var(--panel-color, #ffffff);
  inset: auto;
  width: 1px;
  height: 1px;
  border-radius: 999px;
  transform: translateZ(0) scale(1);
  transform-origin: center center;
  will-change: transform, opacity;
}

.hg-info-panel--blue {
  --panel-color: #08238f;
}

.hg-info-panel--soft {
  --panel-color: #edf0f4;
}

.hg-info-panel--white {
  --panel-color: #ffffff;
}

.hg-info-space__content {
  z-index: 2;
  background:
    radial-gradient(circle at 82% 16%, rgba(20, 35, 84, .05), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(31, 179, 223, .06), transparent 30%),
    transparent;
  padding-inline: calc(var(--hg-shell-x) + var(--hg-content-x));
  scroll-padding-top: calc(var(--hg-shell-y) + var(--hg-quickbar-space));
  overflow-y: auto;
  opacity: 0;
}

.hg-help-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, .82fr) minmax(25rem, 1.12fr);
  align-items: center;
  gap: clamp(1.7rem, 4vw, 4.2rem);
  width: min(100%, var(--hg-layout-max));
  min-height: 100%;
  margin: 0 auto;
  padding: calc(var(--hg-shell-y) + var(--hg-quickbar-space)) 0 clamp(3.2rem, 7vh, 5.5rem);
  color: #111827;
  pointer-events: auto;
}

.hg-help-page__copy {
  min-width: 0;
}

.hg-help-reveal {
  overflow: hidden;
  padding-bottom: .15rem;
}

.hg-help-title {
  max-width: 12ch;
  margin: 0;
  color: #05070d;
  font-family: "Poppins", "PP Neue Montreal", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.35rem, 4.45vw, 4.55rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: 0;
}

.hg-help-lead {
  max-width: 32rem;
  margin: clamp(1rem, 1.8vw, 1.35rem) 0 0;
  color: rgba(17, 24, 39, .68);
  font-size: clamp(.88rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.34;
}

.hg-help-brands {
  margin-top: clamp(2.3rem, 5.5vh, 4.2rem);
}

.hg-help-brands p {
  margin: 0 0 .9rem;
  color: rgba(17, 24, 39, .55);
  font-size: clamp(.76rem, .95vw, .84rem);
  font-weight: 400;
  line-height: 1.35;
}

.hg-help-brand-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(.58rem, .9vw, .86rem);
  width: 100%;
  overflow: visible;
}

.hg-help-brand {
  --brand-w: 3rem;
  --brand-h: .7rem;
  --canvas-w: 4.8rem;
  position: relative;
  display: block;
  flex: 0 0 var(--brand-w);
  width: var(--brand-w);
  height: var(--brand-h);
  overflow: hidden;
}

.hg-help-brand--hg {
  --brand-w: 4.4rem;
  --brand-h: .91rem;
  --canvas-w: 4.24rem;
}

.hg-help-brand--pc {
  --brand-w: 3.6rem;
  --brand-h: .52rem;
  --canvas-w: 4.84rem;
}

.hg-help-brand--ab {
  --brand-w: 2.3rem;
  --brand-h: .57rem;
  --canvas-w: 4.85rem;
}

.hg-help-brand--is {
  --brand-w: 4.8rem;
  --brand-h: .54rem;
  --canvas-w: 4.85rem;
}

.hg-help-brand--at {
  --brand-w: 2rem;
  --brand-h: .66rem;
  --canvas-w: 5.39rem;
}

.hg-help-brand--cejs {
  --brand-w: 4.3rem;
  --brand-h: .62rem;
  --canvas-w: 4.66rem;
}

.hg-help-brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: var(--canvas-w);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(.2);
  opacity: .58;
  transform: translate(-50%, -50%);
}

.hg-help-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(clamp(14.8rem, 28vh, 17.2rem), 1fr) minmax(clamp(11.2rem, 20vh, 12.9rem), .76fr);
  gap: clamp(.85rem, 1.55vw, 1.1rem);
  perspective: 1200px;
}

.hg-help-video {
  min-width: 0;
  min-height: 0;
}

.hg-help-video--large {
  grid-column: 1 / -1;
}

.hg-help-video__surface {
  position: relative;
  height: 100%;
  min-height: clamp(11.2rem, 20vh, 12.9rem);
  overflow: hidden;
  border: 1px solid rgba(20, 35, 84, .09);
  border-radius: clamp(1.35rem, 2.4vw, 2rem);
  background:
    radial-gradient(circle at 78% 22%, rgba(8, 35, 143, .22), transparent 34%),
    radial-gradient(circle at 18% 92%, rgba(31, 179, 223, .12), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(238, 243, 250, .68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 1.3rem 3rem rgba(22, 34, 84, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hg-help-video--large .hg-help-video__surface {
  min-height: clamp(14.8rem, 28vh, 17.2rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(8, 35, 143, .25), transparent 32%),
    radial-gradient(circle at 22% 80%, rgba(129, 174, 185, .16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(231, 236, 247, .72));
}

.hg-help-video__surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(20, 35, 84, .14) 1px, transparent 1px);
  background-size: 1.1rem 1.1rem;
  opacity: .14;
  mask-image: linear-gradient(135deg, transparent, #000 28%, #000 74%, transparent);
}

.hg-help-video__surface::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -12%;
  width: 48%;
  aspect-ratio: 1;
  border: clamp(1.2rem, 3vw, 2.3rem) solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  opacity: .7;
}

.hg-help-video__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.hg-help-video__orb--one {
  right: 13%;
  top: 14%;
  width: clamp(7rem, 13vw, 10.5rem);
  aspect-ratio: 1;
  background: radial-gradient(circle at 42% 38%, rgba(255, 255, 255, .92), rgba(8, 35, 143, .28) 42%, transparent 68%);
}

.hg-help-video__orb--two {
  right: 0;
  bottom: -8%;
  width: clamp(7rem, 13.5vw, 10.75rem);
  aspect-ratio: 1;
  border: clamp(1.6rem, 4vw, 3rem) solid rgba(8, 35, 143, .08);
}

.hg-help-video__orb--three,
.hg-help-video__orb--four {
  right: 4%;
  top: -5%;
  width: clamp(5.7rem, 10vw, 7.8rem);
  aspect-ratio: 1;
  background: radial-gradient(circle at 42% 38%, rgba(255, 255, 255, .86), rgba(31, 179, 223, .22) 44%, transparent 70%);
}

.hg-help-video__orb--four {
  background: radial-gradient(circle at 42% 38%, rgba(255, 255, 255, .86), rgba(20, 35, 84, .2) 44%, transparent 70%);
}

.hg-help-video__text {
  position: absolute;
  left: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 2;
  display: grid;
  gap: .45rem;
}

.hg-help-video__text strong {
  color: #101827;
  font-family: "Poppins", "PP Neue Montreal", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1;
}

.hg-help-video:not(.hg-help-video--large) .hg-help-video__text strong {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.hg-help-video__text span {
  max-width: 18rem;
  color: rgba(17, 24, 39, .62);
  font-size: clamp(.78rem, 1vw, .9rem);
  font-weight: 400;
  line-height: 1.4;
}

.hg-help-play {
  position: absolute;
  right: clamp(1rem, 2vw, 1.45rem);
  top: clamp(1rem, 2vw, 1.45rem);
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(2.65rem, 4vw, 3.45rem);
  aspect-ratio: 1;
  border: 1px solid rgba(20, 35, 84, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 .75rem 1.6rem rgba(20, 35, 84, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hg-help-play span {
  display: block;
  width: 0;
  height: 0;
  margin-left: .18rem;
  border-top: .42rem solid transparent;
  border-bottom: .42rem solid transparent;
  border-left: .64rem solid #142354;
}

.hg-help-play:hover {
  background: #ffffff;
}

.hg-header.is--loading .hg-info-space {
  opacity: 0;
  visibility: hidden;
}

.hg-card-section {
  flex: 1 1 auto;
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding: clamp(1.1rem, 3vh, 2.2rem) var(--hg-content-x) clamp(1rem, 2.6vh, 2rem);
  pointer-events: auto;
}

.hg-card-layout {
  display: grid;
  grid-template-columns: minmax(14rem, .76fr) minmax(0, 2.24fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.8rem);
  width: min(100%, var(--hg-layout-max));
  margin: 0 auto;
}

.hg-card-intro {
  max-width: clamp(18rem, 22vw, 22rem);
  align-self: center;
}

.hg-card-intro__eyebrow {
  display: block;
  margin: 0 0 clamp(.5rem, 1vw, .72rem);
  color: rgba(20, 35, 84, .58);
  font-family: "PP Neue Montreal", "Segoe UI", Arial, sans-serif;
  font-size: clamp(.72rem, .88vw, .84rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hg-card-intro h1 {
  margin: 0;
  color: #111827;
  font-family: "Poppins", "PP Neue Montreal", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 3.45vw, 3.75rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: 0;
}

.hg-card-intro p {
  max-width: 19rem;
  margin: clamp(1rem, 2vw, 1.35rem) 0 0;
  color: rgba(17, 24, 39, .62);
  font-size: clamp(.9rem, 1.12vw, 1rem);
  font-weight: 400;
  line-height: 1.45;
}

.hg-header.is--loading .hg-card-section,
.hg-header.is--loading .hg-footer {
  opacity: 0;
  visibility: hidden;
}

.hg-footer {
  position: relative;
  z-index: 20;
  display: grid;
  place-items: center;
  flex: 0 0 60px;
  width: 100%;
  min-height: 60px;
  margin-top: auto;
  border-top: 1px solid rgba(210, 214, 220, .78);
  color: #a7adb5;
  font-size: clamp(.75rem, .9vw, .8125rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
  transform-origin: center bottom;
  pointer-events: auto;
}

.hg-footer p {
  margin: 0;
}

body.is-detail-open .hg-footer {
  pointer-events: none;
}

.hg-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 1.25vw, 1.05rem);
  width: 100%;
  margin: 0;
}

.ux-parent {
  --ux-orbit-1: clamp(4.45rem, 6.9vw, 6.45rem);
  --ux-orbit-gap: clamp(.35rem, .7vw, .55rem);
  width: 100%;
  max-width: none;
  height: clamp(9.8rem, 11.3vw, 11.75rem);
  margin-inline: auto;
  perspective: 1000px;
  perspective-origin: 50% 50%;
}

.ux-parent--mint {
  --ux-grad: linear-gradient(135deg, rgb(0, 255, 214) 0%, rgb(8, 226, 96) 100%);
  --ux-title: #00894d;
  --ux-body: rgba(0, 137, 78, .82);
  --ux-cta: #00a969;
  --ux-orbit: rgba(0, 249, 203, .22);
  --ux-fill: #00894d;
  --ux-shadow: rgba(61, 61, 61, 0.192);
  --ux-hover-shadow: rgba(5, 71, 17, .45);
  --ux-glow: rgba(0, 255, 214, .12);
  --ux-logo-url: url("../../generator-stopki-e-mail/cards-logo-svg/logo-hg.svg");
  --detail-a: #00ffd6;
  --detail-b: #08e260;
  --detail-c: #dffcf6;
}

.hg-card-grid .ux-parent:nth-child(1) {
  --ux-grad: linear-gradient(135deg, #858ca3 0%, #344e9c 58%, #4c64c6 100%);
  --ux-title: #0f1d55;
  --ux-body: #0f1d55;
  --ux-cta:#000000;
  --ux-orbit: rgba(71, 97, 186, .28);
  --ux-fill: #08238f;
  --ux-shadow: rgba(61, 61, 61, 0.192);
  --ux-hover-shadow: rgba(22, 34, 84, .52);
  --ux-glow: rgba(120, 146, 255, .18);
  --ux-logo-url: url("../../generator-stopki-e-mail/cards-logo-svg/logo-hg.svg");
  --detail-a: #142354;
  --detail-b: #4c64c6;
  --detail-c: #dbe4ff;
}

.hg-card-grid .ux-parent:nth-child(2) {
  --ux-grad: linear-gradient(135deg, #42b4df 0%, #6dd3f3 54%, #2189bd 100%);
  --ux-title: #073f5c;
  --ux-body: rgba(4, 61, 89, .78);
  --ux-cta:#000000;
  --ux-orbit: rgba(190, 238, 252, .34);
  --ux-fill: #42b4df;
  --ux-shadow: rgba(61, 61, 61, 0.192);
  --ux-hover-shadow: rgba(33, 137, 189, .52);
  --ux-glow: rgba(66, 180, 223, .2);
  --ux-logo-url: url("../../generator-stopki-e-mail/cards-logo-svg/logo-pc.svg");
  --detail-a: #1fb3df;
  --detail-b: #6dd3f3;
  --detail-c: #d6f4ff;
}

.hg-card-grid .ux-parent:nth-child(3) {
  --ux-grad: linear-gradient(135deg, #00973a 0%, #25bf61 56%, #006d2a 100%);
  --ux-title: #003b19;
  --ux-body: rgba(0, 59, 25, .78);
  --ux-cta:#000000;
  --ux-orbit: rgba(172, 239, 195, .32);
  --ux-fill: #00973a;
  --ux-shadow: rgba(61, 61, 61, 0.192);
  --ux-hover-shadow: rgba(0, 109, 42, .52);
  --ux-glow: rgba(0, 151, 58, .18);
  --ux-logo-url: url("../../generator-stopki-e-mail/cards-logo-svg/logo-ab.svg");
  --detail-a: #188930;
  --detail-b: #25bf61;
  --detail-c: #dff8e8;
}

.hg-card-grid .ux-parent:nth-child(4) {
  --ux-grad: linear-gradient(135deg, #3c9381 0%, #62baa8 55%, #26715f 100%);
  --ux-title: #0d4238;
  --ux-body: rgba(13, 66, 56, .8);
  --ux-cta:#000000;
  --ux-orbit: rgba(190, 231, 222, .34);
  --ux-fill: #3c9381;
  --ux-shadow: rgba(61, 61, 61, 0.192);
  --ux-hover-shadow: rgba(38, 113, 95, .52);
  --ux-glow: rgba(60, 147, 129, .2);
  --ux-logo-url: url("../../generator-stopki-e-mail/cards-logo-svg/logo-is.svg");
  --detail-a: #308f80;
  --detail-b: #62baa8;
  --detail-c: #dff5ef;
}

.hg-card-grid .ux-parent:nth-child(5) {
  --ux-grad: linear-gradient(135deg, #085c99 0%, #1679bd 54%, #043f6d 100%);
  --ux-title: #044b7e;
  --ux-body: rgba(0, 84, 148, 0.945);
  --ux-cta:#000000;
  --ux-orbit: rgba(128, 198, 242, .3);
  --ux-fill: #085c99;
  --ux-shadow: rgba(61, 61, 61, 0.192);
  --ux-hover-shadow: rgba(8, 92, 153, .54);
  --ux-glow: rgba(22, 121, 189, .2);
  --ux-logo-url: url("../../generator-stopki-e-mail/cards-logo-svg/logo-at.svg");
  --detail-a: #355d96;
  --detail-b: #1679bd;
  --detail-c: #d9efff;
}

.hg-card-grid .ux-parent:nth-child(6) {
  --ux-grad: linear-gradient(135deg, #6eb1bf 0%, #9dc6e5 50%, #a1c042 100%);
  --ux-title: #244e5a;
  --ux-body: rgba(36, 78, 90, .8);
  --ux-cta:#000000;
  --ux-orbit: rgba(255, 255, 255, .34);
  --ux-fill: #6eb1bf;
  --ux-shadow: rgba(61, 61, 61, 0.192);
  --ux-hover-shadow: rgba(110, 177, 191, .5);
  --ux-glow: rgba(161, 192, 66, .18);
  --ux-logo-url: url("../../generator-stopki-e-mail/cards-logo-svg/logo-cejs.svg");
  --detail-a: #81aeb9;
  --detail-b: #9dc6e5;
  --detail-c: #81aeb9;
}

.ux-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(193, 204, 219, .54);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(246, 249, 253, .72)),
    color-mix(in srgb, var(--detail-a) 7%, white);
  transform-style: preserve-3d;
  transition:
    transform .55s cubic-bezier(.22, 1, .36, 1),
    box-shadow .55s ease;
  box-shadow:
    0 .65rem 1.45rem rgba(23, 35, 58, .055),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  will-change: transform, box-shadow;
}

.ux-card::before {
  content: "";
  position: absolute;
  right: -7%;
  top: -22%;
  z-index: 0;
  width: clamp(8rem, 17vw, 12.5rem);
  height: clamp(7rem, 14vw, 10.5rem);
  border-radius: 44% 0 0 76%;
  background:
    radial-gradient(circle at 64% 34%, rgba(255, 255, 255, .74), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--detail-a) 24%, transparent), color-mix(in srgb, var(--detail-b) 18%, transparent));
  opacity: .86;
  transform: rotate(-8deg);
  transition:
    background .34s ease,
    opacity .34s ease,
    transform .55s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

.ux-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--detail-c) 38%, transparent), transparent 27%),
    linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 45%);
  transform: translateZ(0) scale(1);
  transition:
    background .34s ease,
    opacity .34s ease,
    transform .55s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

.ux-parent.is-opening-card .ux-card::before,
.ux-parent.is-opening-card .ux-card::after {
  opacity: 0;
}

.ux-parent:hover .ux-card {
  transform: rotate3d(.45, .65, 0, 7deg) translateY(-2px) scale(1.01);
  box-shadow:
    0 1rem 2.4rem rgba(23, 35, 58, .095),
    0 0 3.35rem color-mix(in srgb, var(--detail-a) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .96);
}

.ux-parent:hover .ux-card::before {
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 255, 255, .88), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--detail-a) 68%, transparent), color-mix(in srgb, var(--detail-b) 56%, transparent));
  opacity: 1;
  transform: translate3d(.35rem, -.25rem, 0) rotate(-11deg) scale(1.18);
}

.ux-parent:hover .ux-card::after {
  background:
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--detail-c) 82%, transparent), transparent 26%),
    radial-gradient(circle at 76% 2%, color-mix(in srgb, var(--detail-a) 30%, transparent), transparent 23%),
    linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 45%);
  opacity: 1;
  transform: translateZ(0) scale(1.025);
}

.ux-parent.is-opening-card .ux-card {
  transform: rotate3d(.38, .3, 0, 6deg) scale(.99);
  transition:
    transform .28s cubic-bezier(.2, .82, .22, 1),
    box-shadow .28s ease;
  box-shadow:
    var(--ux-hover-shadow) 1.15rem 2rem 1.35rem -2rem,
    var(--ux-glow) 0 0 3.2rem -.75rem,
    rgba(5, 71, 17, .12) 0 1.1rem 1.8rem 0;
}

.ux-parent.is-motion-active {
  perspective: none;
  transform-style: flat;
}

.ux-parent.is-motion-active .ux-card,
.ux-parent.is-motion-active:hover .ux-card {
  transform: none;
  transition: none;
  will-change: transform, box-shadow;
}

.ux-parent.is-motion-active .ux-bottom {
  transform: none;
  transform-style: flat;
}

.ux-glass {
  position: absolute;
  right: -.8rem;
  top: -.85rem;
  width: clamp(7.5rem, 15vw, 11rem);
  height: clamp(5.8rem, 11vw, 8rem);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 48% 0 0 72%;
  background:
    radial-gradient(circle at 68% 30%, rgba(255, 255, 255, .72), transparent 34%),
    color-mix(in srgb, var(--detail-a) 13%, rgba(255, 255, 255, .25));
  transform: translate3d(0, 0, 25px);
  transform-style: preserve-3d;
  opacity: .86;
  transition:
    background .34s ease,
    opacity .38s ease,
    transform .5s ease-in-out;
  pointer-events: none;
}

.ux-parent:hover .ux-glass {
  background:
    radial-gradient(circle at 66% 26%, rgba(255, 255, 255, .88), transparent 30%),
    color-mix(in srgb, var(--detail-a) 44%, rgba(255, 255, 255, .18));
  opacity: 1;
  transform: translate3d(.2rem, -.12rem, 42px) scale(1.08);
}

.ux-logo {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  z-index: 2;
  transform-style: preserve-3d;
  pointer-events: none;
}

.ux-circle {
  display: block;
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--detail-a) 12%, rgba(255, 255, 255, .46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: .68;
  transition: all .5s ease-in-out;
}

.ux-parent:hover .ux-circle {
  background: color-mix(in srgb, var(--detail-a) 46%, rgba(255, 255, 255, .3));
  opacity: .98;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .62),
    0 .9rem 2.15rem color-mix(in srgb, var(--detail-a) 25%, transparent);
}

.ux-circle:nth-child(1) {
  width: var(--ux-orbit-1);
  top: var(--ux-orbit-gap);
  inset-inline-end: var(--ux-orbit-gap);
  transform: translate3d(0, 0, 20px);
}

.ux-circle:nth-child(2) {
  width: calc(var(--ux-orbit-1) * .82);
  top: calc(var(--ux-orbit-gap) + .125rem);
  inset-inline-end: calc(var(--ux-orbit-gap) + .125rem);
  transform: translate3d(0, 0, 40px);
  backdrop-filter: blur(4px);
  transition-delay: .05s;
}

.ux-circle:nth-child(3) {
  width: calc(var(--ux-orbit-1) * .65);
  top: calc(var(--ux-orbit-gap) + .55rem);
  inset-inline-end: calc(var(--ux-orbit-gap) + .55rem);
  transform: translate3d(0, 0, 60px);
  transition-delay: .1s;
}

.ux-circle:nth-child(4) {
  width: calc(var(--ux-orbit-1) * .47);
  top: calc(var(--ux-orbit-gap) + .95rem);
  inset-inline-end: calc(var(--ux-orbit-gap) + .95rem);
  transform: translate3d(0, 0, 80px);
  transition-delay: .15s;
}

.ux-circle:nth-child(5) {
  width: calc(var(--ux-orbit-1) * .3);
  min-width: 2.05rem;
  top: calc(var(--ux-orbit-gap) + 1.35rem);
  inset-inline-end: calc(var(--ux-orbit-gap) + 1.35rem);
  display: grid;
  place-content: center;
  transform: translate3d(0, 0, 100px);
  transition-delay: .2s;
}

.ux-circle:nth-child(5) svg {
  display: none;
}

.ux-circle:nth-child(5)::before {
  content: "";
  display: block;
  width: clamp(1.05rem, 1.75vw, 1.45rem);
  height: clamp(1.05rem, 1.75vw, 1.45rem);
  background-image: var(--ux-logo-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
}

.hg-card-grid .ux-parent:nth-child(6) .ux-circle:nth-child(5)::before {
  width: clamp(1.22rem, 2vw, 1.65rem);
  height: clamp(1.22rem, 2vw, 1.65rem);
}

.ux-parent:hover .ux-circle:nth-child(1) {
  transform: translate3d(.1rem, -.08rem, 42px) scale(1.04);
}

.ux-parent:hover .ux-circle:nth-child(2) {
  transform: translate3d(.16rem, -.1rem, 66px) scale(1.055);
}

.ux-parent.is-opening-card .ux-circle:nth-child(2) {
  transform: translate3d(0, 0, 46px);
}

.ux-parent:hover .ux-circle:nth-child(3) {
  transform: translate3d(.22rem, -.14rem, 90px) scale(1.07);
}

.ux-parent.is-opening-card .ux-circle:nth-child(3) {
  transform: translate3d(0, 0, 62px);
}

.ux-parent:hover .ux-circle:nth-child(4) {
  transform: translate3d(.28rem, -.18rem, 114px) scale(1.085);
}

.ux-parent.is-opening-card .ux-circle:nth-child(4) {
  transform: translate3d(0, 0, 78px);
}

.ux-parent:hover .ux-circle:nth-child(5) {
  transform: translate3d(.34rem, -.22rem, 136px) scale(1.1);
}

.ux-parent.is-opening-card .ux-circle:nth-child(5) {
  transform: translate3d(0, 0, 94px);
}

.ux-parent.is-motion-active .ux-circle,
.ux-parent.is-motion-active:hover .ux-circle {
  transform: translate3d(0, 0, 0);
  transition: none;
}

.ux-content {
  position: relative;
  z-index: 3;
  padding: clamp(1.15rem, 2vw, 1.55rem) clamp(6.6rem, 13vw, 8.6rem) 0 clamp(1.05rem, 1.7vw, 1.35rem);
  transform: translate3d(0, 0, 26px);
}

.ux-title {
  display: block;
  color: var(--ux-title);
  max-width: 12.5rem;
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  will-change: transform, opacity;
}

.ux-text {
  display: block;
  max-width: 13.5rem;
  margin-top: clamp(.38rem, .7vw, .55rem);
  color: var(--ux-body);
  font-size: clamp(.74rem, .95vw, .84rem);
  font-weight: 300;
  line-height: 1.34;
  overflow-wrap: anywhere;
  will-change: transform, opacity;
}

.ux-bottom {
  position: absolute;
  right: clamp(.85rem, 1.35vw, 1.05rem);
  bottom: clamp(.75rem, 1.2vw, .95rem);
  left: clamp(.85rem, 1.35vw, 1.05rem);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  transform: translate3d(0, 0, 26px);
  transform-style: preserve-3d;
}

.ux-social {
  display: none;
  gap: .625rem;
  transform-style: preserve-3d;
}

.ux-social-btn {
  display: grid;
  place-content: center;
  width: 2rem;
  aspect-ratio: 1;
  padding: .375rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: rgba(5, 71, 17, .45) 0 .5rem .375rem -.3125rem;
  transition:
    transform .2s ease-in-out,
    box-shadow .2s ease-in-out,
    background .2s;
}

.ux-social-btn:nth-child(1) {
  transition-delay: .05s;
}

.ux-social-btn:nth-child(2) {
  transition-delay: .1s;
}

.ux-social-btn:nth-child(3) {
  transition-delay: .15s;
}

.ux-social-btn svg {
  width: .9375rem;
  height: .9375rem;
  fill: var(--ux-fill);
}

.ux-social-btn:hover {
  background: #0f172a;
}

.ux-social-btn:hover svg {
  fill: #fff;
}

.ux-parent:hover .ux-social-btn {
  transform: translate3d(0, 0, 50px);
  box-shadow: rgba(5, 71, 17, .25) -.3125rem 1.25rem .75rem 0;
}

.ux-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
  width: auto;
  transition: transform .2s ease;
}

.ux-more:hover {
  transform: translate3d(0, 0, 10px);
}

.ux-parent.is-motion-active .ux-more,
.ux-parent.is-motion-active .ux-more:hover {
  transform: translate3d(0, 0, 0);
  transition: none;
}

.ux-more-btn {
  position: relative;
  min-height: 2.15rem;
  padding: .55rem .92rem;
  border: 1px solid color-mix(in srgb, var(--detail-a) 15%, rgba(255, 255, 255, .7));
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ux-cta);
  cursor: pointer;
  font: inherit;
  font-size: clamp(.68rem, .95vw, .75rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow:
    0 .55rem 1rem rgba(23, 35, 58, .08),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
  will-change: transform, opacity;
}

.ux-more-btn span {
  display: inline-block;
  transform-origin: center center;
  will-change: transform, opacity;
}

.ux-more-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .62);
}

.ux-parent.is-motion-active .ux-more-btn,
.ux-parent.is-motion-active .ux-more-btn:hover {
  transform: translate3d(0, 0, 0);
  transition: none;
}

.ux-more svg {
  display: none;
}

.hg-detail {
  --detail-a: #142354;
  --detail-b: #4c64c6;
  --detail-c: #dbe4ff;
  position: fixed;
  inset: 0;
  z-index: 700;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.4rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hg-detail.is-open {
  pointer-events: auto;
}

.hg-detail__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hg-detail__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: .54;
  filter: blur(.2px);
  transform: scale(.25);
}

.hg-detail__orb::before,
.hg-detail__orb::after {
  content: "";
  position: absolute;
  inset: -34%;
  border-radius: inherit;
  border: clamp(2.08rem, 5.2vw, 4.68rem) solid currentColor;
  filter: blur(20px);
  opacity: .18;
}

.hg-detail__orb::after {
  inset: -64%;
  opacity: .08;
}

.hg-detail__orb--one {
  right: min(-3rem, -4vw);
  top: -3rem;
  width: clamp(12rem, 25vw, 24rem);
  color: var(--detail-b);
  aspect-ratio: 1;
  background: radial-gradient(circle at 42% 42%, rgba(255, 255, 255, 0.815), var(--detail-c) 34%, transparent 68%);
}

.hg-detail__orb--two {
  left: clamp(-4rem, -5vw, -2rem);
  bottom: clamp(-5rem, -7vw, -2rem);
  width: clamp(11rem, 23vw, 22rem);
  color: var(--detail-a);
  aspect-ratio: 1;
  background: radial-gradient(circle at 48% 46%, rgba(255, 255, 255, .66), color-mix(in srgb, var(--detail-a) 26%, transparent) 38%, transparent 70%);
}

.hg-detail__orb--three {
  right: clamp(7rem, 18vw, 19rem);
  bottom: clamp(-6rem, -9vw, -3rem);
  width: clamp(13rem, 27vw, 26rem);
  color: var(--detail-c);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--detail-c) 70%, white) 0%, color-mix(in srgb, var(--detail-c) 38%, transparent) 44%, transparent 72%);
}

.hg-detail__panel {
  position: relative;
  width: min(63rem, calc(100vw - clamp(2rem, 8vw, 7rem)));
  max-height: min(45rem, calc(100dvh - 2rem));
  border: 1px solid rgba(210, 222, 232, .74);
  border-radius: clamp(1.35rem, 2.5vw, 2rem);
  background: rgba(255, 255, 255, .45);
  box-shadow:
    0 1.5rem 4rem rgba(38, 57, 77, .14),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, opacity, border-radius;
}

.hg-detail__glass-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 94% 5%, color-mix(in srgb, var(--detail-b) 8%, transparent), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .84) 100%),
    rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform-origin: left center;
}

.hg-detail__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  overflow: auto;
  max-height: inherit;
}

.hg-detail__close {
  position: absolute;
  top: clamp(.85rem, 1.8vw, 1.25rem);
  right: clamp(.85rem, 1.8vw, 1.25rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
  color: #152238;
  cursor: pointer;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  box-shadow: 0 .45rem 1rem rgba(28, 44, 62, .08);
  transition: transform .2s ease, background .2s ease;
}

.hg-detail__close:hover {
  transform: rotate(90deg) scale(1.04);
  background: #fff;
}

.hg-detail__head {
  margin: 0 3rem 1.3rem 0;
}

.hg-detail__eyebrow {
  display: block;
  margin-bottom: .35rem;
  color: var(--detail-a);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hg-detail__head h2 {
  margin: 0;
  color: #17243a;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.08;
}

.hg-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 1.8vw, 1.25rem);
}

.hg-field,
.hg-switch {
  display: grid;
  gap: .45rem;
  color: var(--detail-a);
  font-size: .82rem;
  font-weight: 500;
}

.hg-field--wide {
  grid-column: 1 / -1;
}

.hg-field.is-hidden {
  display: none;
}

.hg-field__control {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 3rem;
  padding: 0 .95rem;
  border: 1px solid color-mix(in srgb, var(--detail-a) 24%, transparent);
  border-radius: .55rem;
  background: rgba(255, 255, 255, .68);
  box-shadow: inset 0 1px 2px rgba(31, 45, 61, .04);
}

.hg-field__control svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  fill: color-mix(in srgb, var(--detail-a) 55%, #a0adba);
}

.hg-field__control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #152238;
  font: inherit;
  font-weight: 400;
  font-size: .88rem;
}

.hg-field__control input::placeholder {
  color: #9da9b7;
}

.hg-switch {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 3.35rem;
  margin-top: .2rem;
  padding: .75rem .9rem;
  border: 1px solid color-mix(in srgb, var(--detail-a) 24%, transparent);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .72);
}

.hg-switch strong,
.hg-switch small {
  display: block;
}

.hg-switch strong {
  color: var(--detail-a);
  font-size: .94rem;
  font-weight: 500;
}

.hg-switch small {
  margin-top: .15rem;
  color: #8795a6;
  font-size: .76rem;
  font-weight: 400;
}

.hg-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hg-switch__track {
  position: relative;
  width: 3rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #d9dee5;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .14);
}

.hg-switch__track::before {
  content: "";
  position: absolute;
  top: .18rem;
  left: .18rem;
  width: 1.24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .16rem .45rem rgba(31, 45, 61, .18);
  transition: transform .24s ease, background .24s ease;
}

.hg-switch input:checked + .hg-switch__track {
  background: color-mix(in srgb, var(--detail-a) 72%, white);
}

.hg-switch input:checked + .hg-switch__track::before {
  transform: translateX(1.4rem);
}

.hg-result {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding-top: clamp(.95rem, 1.8vw, 1.25rem);
  border-top: 1px solid rgba(211, 221, 230, .8);
}

.hg-result__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  color: #17243a;
  font-size: .88rem;
  font-weight: 700;
}

.hg-result__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .45rem;
}

.hg-result__head button,
.hg-result__actions button {
  min-height: 2.35rem;
  padding: 0 .95rem;
  border: 1px solid color-mix(in srgb, var(--detail-a) 26%, transparent);
  border-radius: .55rem;
  background: color-mix(in srgb, var(--detail-a) 7%, rgba(255, 255, 255, .74));
  color: var(--detail-a);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
}

.hg-result__head button:disabled,
.hg-result__actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.hg-result__box {
  min-height: 12rem;
  max-height: 20rem;
  padding: 1rem;
  border: 1px solid rgba(211, 221, 230, .86);
  border-radius: .65rem;
  background: rgba(255, 255, 255, .62);
  color: #17243a;
  font-size: .9rem;
  overflow: auto;
}

.hg-result__box:empty::before {
  content: "Tutaj pojawi się wynik...";
  color: #9aa7b4;
}

.hg-result__status {
  min-height: 1.1rem;
  margin: .55rem 0 0;
  color: #617083;
  font-size: .78rem;
  font-weight: 600;
}

.hg-card-grid.is-detail-active .ux-parent {
  pointer-events: none;
}

@media (max-width: 1280px) and (min-width: 1111px) {
  :root {
    --hg-shell-y: clamp(1rem, 2.3vw, 2rem);
    --hg-layout-max: 68rem;
  }

  .hg-header__content {
    padding-top: var(--hg-nav-top-space);
  }

  .hg-card-layout {
    grid-template-columns: minmax(13rem, .68fr) minmax(0, 2.2fr);
    gap: clamp(1.25rem, 2.8vw, 2.6rem);
  }

  .hg-card-intro {
    max-width: 18.5rem;
  }

  .hg-card-intro h1 {
    font-size: clamp(2rem, 3.3vw, 3.25rem);
  }

  .hg-card-intro p {
    max-width: 17.5rem;
    font-size: .92rem;
    line-height: 1.4;
  }

  .ux-parent {
    --ux-orbit-1: clamp(4.25rem, 6.2vw, 5.85rem);
    height: clamp(9.45rem, 12vw, 10.85rem);
  }

  .ux-content {
    padding-right: clamp(6rem, 11vw, 7.4rem);
  }

  .hg-help-page {
    grid-template-columns: minmax(17rem, .86fr) minmax(24rem, 1.14fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

@media (min-aspect-ratio: 21 / 9) {
  :root {
    --hg-layout-max: 82rem;
  }
}

@media (max-width: 1100px) {
  :root {
    --hg-shell-x: clamp(1rem, 3vw, 2rem);
    --hg-shell-y: clamp(1rem, 3vw, 2rem);
    --hg-quickbar-space: clamp(4.5rem, 7vh, 5.6rem);
    --hg-layout-max: 50rem;
  }

  .hg-header__content {
    padding: var(--hg-nav-top-space) var(--hg-shell-x) 0;
  }

  .hg-help-page {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 2.4rem);
    padding-top: calc(var(--hg-shell-y) + var(--hg-quickbar-space));
    padding-bottom: clamp(2.4rem, 5vh, 4rem);
  }

  .hg-help-title {
    max-width: 13ch;
    font-size: clamp(2.15rem, 5.8vw, 3.35rem);
    line-height: .96;
  }

  .hg-help-lead {
    max-width: 38rem;
    font-size: clamp(.86rem, 1.8vw, .96rem);
    line-height: 1.36;
  }

  .hg-help-brands {
    margin-top: clamp(2.2rem, 4vh, 3rem);
  }

  .hg-help-videos {
    grid-template-rows: minmax(14rem, auto) minmax(11.4rem, auto);
  }

  .hg-card-section {
    padding-top: clamp(1rem, 2.4vh, 1.7rem);
    padding-bottom: clamp(1rem, 2.8vh, 1.8rem);
  }

  .hg-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-card-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(1.15rem, 3vw, 1.8rem);
  }

  .hg-card-intro {
    max-width: 34rem;
  }

  .hg-card-intro h1 {
    max-width: 14ch;
    font-size: clamp(1.95rem, 4.7vw, 2.85rem);
  }

  .hg-card-intro p {
    max-width: 29rem;
  }

  .ux-parent {
    --ux-orbit-1: clamp(4.35rem, 12vw, 5.9rem);
    height: clamp(9.55rem, 20vw, 11.25rem);
  }
}

@media (max-width: 767px) {
  :root {
    --hg-background-image: url("../../generator-stopki-e-mail/images/signature-background-9-16.jpg");
    --hg-shell-x: clamp(1rem, 5vw, 1.45rem);
    --hg-shell-y: clamp(.85rem, 4vw, 1.25rem);
    --hg-content-x: clamp(1rem, 2.6vh, 2rem);
    --hg-quickbar-space: clamp(3.7rem, 9vh, 4.6rem);
    --hg-layout-max: 100%;
  }

  .hg-header__content {
    min-height: 100dvh;
    padding: var(--hg-nav-top-space) var(--hg-shell-x) 0;
  }

  .hg-loader__logo {
    --loader-mark-size: clamp(4.5rem, 29vw, 8.5rem);
    --loader-letter-size: calc(var(--loader-mark-size) * .64);
    width: min(88vw, 22rem);
  }

  .hg-nav {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    gap: .8rem;
  }

  .hg-nav__brand {
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(.82rem, 3vw, 1.05rem);
    z-index: 72;
    align-items: center;
    width: clamp(7.1rem, 31vw, 9.35rem);
    height: max-content;
    min-width: 0;
    margin: auto 0;
    transform: none;
  }

  .hg-quickbar {
    width: 100%;
    max-width: 100%;
    gap: .46rem;
    margin-top: 0;
    margin-left: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-height: 3rem;
    padding: .3rem .34rem .3rem clamp(8.6rem, 36vw, 10.6rem);
    transform-origin: center center;
  }

  .hg-date-pill {
    display: none;
  }

  .hg-date-pill > span {
    font-size: .8rem;
  }

  .hg-icon-pill {
    width: 2.36rem;
    height: 2.36rem;
    flex-basis: 2.36rem;
  }

  .hg-menu-pill {
    min-height: 2.36rem;
    gap: .48rem;
    padding: 0 .84rem;
    font-size: .84rem;
  }

  .hg-icon-pill svg,
  .hg-menu-pill svg {
    width: 1rem;
    height: 1rem;
  }

  .hg-icon-pill--help svg {
    width: 1.38rem;
    height: 1.38rem;
  }

  .hg-help-page {
    gap: 1.2rem;
    padding: calc(var(--hg-shell-y) + var(--hg-quickbar-space)) 0 2.2rem;
  }

  .hg-help-title {
    max-width: 13ch;
    font-size: clamp(1.85rem, 8.7vw, 2.55rem);
    line-height: .98;
  }

  .hg-help-lead {
    max-width: 100%;
    font-size: clamp(.82rem, 3.25vw, .88rem);
    line-height: 1.36;
  }

  .hg-help-brands {
    margin-top: 1.75rem;
  }

  .hg-help-brand-row {
    flex-wrap: wrap;
    gap: .78rem 1rem;
  }

  .hg-help-brand {
    transform: scale(.9);
    transform-origin: left center;
  }

  .hg-help-videos {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: .9rem;
  }

  .hg-help-video--large {
    grid-column: auto;
  }

  .hg-help-video__surface,
  .hg-help-video--large .hg-help-video__surface {
    min-height: clamp(10.8rem, 40vw, 12.35rem);
    border-radius: 1.25rem;
  }

  .hg-help-video__text strong,
  .hg-help-video:not(.hg-help-video--large) .hg-help-video__text strong {
    font-size: 1.05rem;
  }

  .hg-help-video__text span {
    max-width: 15rem;
    font-size: .78rem;
  }

  .hg-help-play {
    width: 2.55rem;
  }

  .hg-card-section {
    align-items: start;
    padding-top: clamp(1.1rem, 5vw, 1.75rem);
    padding-bottom: clamp(1.4rem, 7vw, 2.4rem);
  }

  .hg-card-layout {
    gap: clamp(1.15rem, 5vw, 1.45rem);
  }

  .hg-card-intro {
    max-width: 22rem;
  }

  .hg-card-intro h1 {
    font-size: clamp(1.72rem, 7.5vw, 2.28rem);
    line-height: 1;
  }

  .hg-card-intro p {
    max-width: 21rem;
    font-size: clamp(.82rem, 3.5vw, .88rem);
    line-height: 1.4;
  }

  .hg-card-grid {
    grid-template-columns: 1fr;
    gap: clamp(.9rem, 4vw, 1.2rem);
    width: 100%;
  }

  .ux-parent {
    --ux-orbit-1: clamp(4.15rem, 21vw, 5.65rem);
    --ux-orbit-gap: clamp(.28rem, 1vw, .42rem);
    height: clamp(9.45rem, 41vw, 10.95rem);
    max-width: none;
  }

  .ux-card {
    border-radius: 1.15rem;
  }

  .ux-glass {
    right: -.65rem;
    top: -.65rem;
    width: clamp(6.2rem, 31vw, 7rem);
    height: clamp(5.05rem, 24vw, 5.65rem);
    border-radius: 48% 0 0 72%;
  }

  .ux-content {
    padding-top: clamp(1rem, 5vw, 1.25rem);
    padding-right: clamp(5.8rem, 27vw, 6.8rem);
    padding-left: clamp(1rem, 4vw, 1.35rem);
  }

  .ux-title {
    max-width: 9.8rem;
    font-size: clamp(.96rem, 4vw, 1.08rem);
  }

  .ux-text {
    max-width: 10.8rem;
    font-size: clamp(.74rem, 3.2vw, .82rem);
    line-height: 1.36;
  }

  .ux-bottom {
    right: .85rem;
    bottom: .75rem;
    left: .85rem;
  }

  .ux-more-btn {
    min-height: 2.05rem;
    padding: .5rem .78rem;
    font-size: .66rem;
  }
}

@media (max-width: 390px) {
  :root {
    --hg-shell-x: .95rem;
    --hg-quickbar-space: 3.55rem;
  }

  .hg-header__content {
    padding-right: var(--hg-shell-x);
    padding-left: var(--hg-shell-x);
  }

  .hg-nav__brand {
    left: .72rem;
    width: clamp(6.75rem, 30vw, 8rem);
  }

  .hg-quickbar {
    gap: .34rem;
    padding: .26rem .28rem .26rem clamp(7.65rem, 35vw, 8.6rem);
  }

  .hg-date-pill {
    display: none;
  }

  .hg-date-pill > span {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .74rem;
  }

  .hg-icon-pill {
    width: 2.22rem;
    height: 2.22rem;
    flex-basis: 2.22rem;
  }

  .hg-menu-pill {
    min-height: 2.22rem;
    padding: 0 .72rem;
    font-size: .8rem;
  }

  .hg-help-page {
    padding-top: calc(var(--hg-shell-y) + var(--hg-quickbar-space));
  }

  .hg-help-title {
    font-size: clamp(1.72rem, 8.8vw, 1.95rem);
    line-height: 1;
  }

  .hg-help-lead {
    font-size: .82rem;
    line-height: 1.35;
  }

  .hg-help-video__surface,
  .hg-help-video--large .hg-help-video__surface {
    min-height: 11.5rem;
  }

  .ux-parent {
    --ux-orbit-1: clamp(3.9rem, 21vw, 5rem);
    height: clamp(9.1rem, 42vw, 10.2rem);
    max-width: none;
  }

  .hg-card-grid {
    width: 100%;
  }

  .ux-content {
    padding-top: clamp(.95rem, 4.5vw, 1.15rem);
    padding-left: .95rem;
    padding-right: 5.4rem;
  }

  .ux-title {
    max-width: 8.8rem;
    font-size: .92rem;
  }

  .ux-text {
    max-width: 9.4rem;
    font-size: .72rem;
  }

  .ux-more-btn {
    min-height: 1.95rem;
    padding: .45rem .72rem;
  }

  .hg-detail {
    padding: .7rem;
  }

  .hg-detail__panel {
    width: min(100%, 31rem);
    max-height: calc(100dvh - 1.4rem);
  }

  .hg-detail__content {
    padding: 1rem;
  }

  .hg-form {
    grid-template-columns: 1fr;
  }

  .hg-detail__head {
    margin-right: 2.7rem;
  }

  .hg-result__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("https://cdn.prod.website-files.com/6819ed8312518f61b84824df/6819ed8312518f61b84825ba_PPNeueMontreal-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body::before {
  display: none;
}

body,
.hg-header,
.hg-header__content {
  background: #ffffff;
}

.hg-icon-pill--form {
  background: transparent;
  color: #000000;
}

.hg-icon-pill--form:hover {
  background: transparent;
  color: #000000;
  transform: none;
}

.hg-icon-pill--form img {
  display: block;
  width: 1.62rem;
  height: 1.62rem;
  object-fit: contain;
}

.form-shell {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(14rem, .72fr) minmax(0, 1.92fr);
  align-items: center;
  gap: clamp(2rem, 5.4vw, 5.8rem);
  width: min(100%, 76rem);
  min-height: calc(100dvh - var(--hg-nav-top-space));
  margin: 0 auto;
  padding: clamp(1.2rem, 3.5vh, 2.8rem) 0 clamp(2rem, 6vh, 4rem);
  pointer-events: auto;
  font-family: "Poppins", Arial, sans-serif;
}

.form-shell::before,
.form-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
}

.form-shell::before {
  left: clamp(-7rem, -8vw, -3rem);
  bottom: clamp(-4rem, -7vh, -2rem);
  width: clamp(16rem, 30vw, 28rem);
  height: clamp(16rem, 30vw, 28rem);
  background:
    radial-gradient(circle at 28% 28%, rgba(8, 35, 143, .08), transparent 38%),
    radial-gradient(circle at 64% 64%, rgba(133, 156, 201, .15), transparent 56%);
  opacity: .8;
}

.form-shell::after {
  top: clamp(4rem, 13vh, 9rem);
  left: clamp(7rem, 14vw, 18rem);
  width: clamp(9rem, 16vw, 14rem);
  height: clamp(9rem, 16vw, 14rem);
  background: radial-gradient(circle, rgba(8, 35, 143, .06), transparent 68%);
  opacity: .82;
}

.form-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 17.5rem;
}

.form-intro::after {
  content: "";
  position: absolute;
  top: -1rem;
  right: clamp(-2.25rem, -4vw, -1rem);
  width: 1px;
  height: min(100%, 34rem);
  background: linear-gradient(180deg, transparent, rgba(8, 35, 143, .16), transparent);
}

.form-kicker {
  margin: 0 0 2rem;
  color: #004dff;
  font-size: clamp(.68rem, .76vw, .78rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
}

.form-kicker::after {
  content: "";
  display: block;
  width: 1.55rem;
  height: 2px;
  margin-top: 1.2rem;
  background: #004dff;
  border-radius: 999px;
}

.form-intro h1 {
  margin: 0;
  color: #081022;
  font-size: clamp(2.65rem, 4.5vw, 4.85rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.045em;
}

.form-lead {
  max-width: 13.5rem;
  margin: 1.55rem 0 0;
  color: rgba(20, 35, 84, .62);
  font-size: clamp(.9rem, 1vw, 1.04rem);
  line-height: 1.75;
}

.form-info-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  width: min(100%, 15.5rem);
  margin-top: clamp(2.2rem, 6vh, 4.2rem);
  padding: 1rem 1.05rem;
  border: 1px solid rgba(8, 35, 143, .08);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 1rem 2.4rem rgba(8, 35, 143, .06);
  backdrop-filter: blur(18px);
}

.form-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  color: #004dff;
}

.form-info-card svg,
.form-input svg,
.form-primary-btn svg,
.form-nav-btn svg,
.form-company-toggle svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.form-info-card strong {
  display: block;
  color: #0c1327;
  font-size: .82rem;
  font-weight: 700;
}

.form-info-card p {
  margin: .55rem 0 0;
  color: rgba(20, 35, 84, .52);
  font-size: .72rem;
  line-height: 1.75;
}

.form-form {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(.2rem, 1vh, .8rem) 0;
}

.form-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 3vw, 3.2rem);
  margin: 0 0 clamp(1.8rem, 4vh, 2.6rem);
  padding: 0;
  list-style: none;
}

.form-step {
  position: relative;
  display: grid;
  gap: .45rem;
  min-width: 0;
  padding-bottom: .95rem;
  color: rgba(20, 35, 84, .46);
}

.form-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(20, 35, 84, .25);
}

.form-step::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #004dff;
  border-radius: 999px;
  transition: width .34s cubic-bezier(.22, 1, .36, 1);
}

.form-step span {
  color: inherit;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}

.form-step strong {
  overflow: hidden;
  color: inherit;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-step.is-active,
.form-step.is-complete {
  color: #004dff;
}

.form-step.is-active::before,
.form-step.is-complete::before {
  width: 100%;
}

.form-step-mobile {
  display: none;
}

.form-panel {
  min-width: 0;
}

.form-panel[hidden] {
  display: none;
}

.form-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.form-panel h2 {
  margin: 0;
  color: #10182b;
  font-size: clamp(1.18rem, 1.45vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.form-panel p {
  margin: .48rem 0 0;
  color: rgba(20, 35, 84, .55);
  font-size: clamp(.76rem, .84vw, .86rem);
  line-height: 1.5;
}

.form-primary-btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.form-fields {
  display: grid;
  gap: 1.05rem;
}

.form-field,
.form-company {
  display: grid;
  gap: .48rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field > span:first-child,
.form-field > label:first-child,
.form-company legend {
  color: #111827;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.2;
}

.form-field em,
.form-field > label:first-child em,
.form-company legend em {
  color: #ff2d2d;
  font-style: normal;
}

.form-input {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border: 1px solid rgba(20, 35, 84, .13);
  border-radius: .72rem;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.form-input:focus-within {
  border-color: rgba(0, 77, 255, .52);
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 4px rgba(0, 77, 255, .07);
}

.form-input svg {
  width: 1.08rem;
  height: 1.08rem;
  margin-left: 1rem;
  color: rgba(20, 35, 84, .5);
  flex: 0 0 auto;
}

.form-input input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 1rem 0 .9rem;
  background: transparent;
  color: #111827;
  font: 500 .84rem/1.2 "Poppins", Arial, sans-serif;
}

.form-input input::placeholder {
  color: rgba(20, 35, 84, .44);
}

.form-field small,
.form-company small {
  min-height: .85rem;
  color: #d12f2f;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.2;
}

.form-field.is-invalid .form-input,
.form-company.is-invalid .form-company-card[aria-pressed="false"] {
  border-color: rgba(209, 47, 47, .34);
}

.form-company-grid,
.form-company-more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(3.25rem, .34fr);
  gap: .72rem;
}

.form-company-more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-.35rem);
  transition: max-height .42s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, transform .32s ease;
}

.form-company-more.is-open {
  max-height: 8rem;
  opacity: 1;
  transform: translateY(0);
}

.form-company-more[hidden] {
  display: none;
}

.form-company-card,
.form-company-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3.25rem;
  border: 1px solid rgba(20, 35, 84, .13);
  border-radius: .72rem;
  background: rgba(255, 255, 255, .72);
  color: #142354;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84);
  cursor: pointer;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.form-company-card:hover,
.form-company-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 77, 255, .22);
  background: rgba(255, 255, 255, .9);
}

.form-company-card[aria-pressed="true"] {
  border-color: rgba(0, 77, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 3px rgba(0, 77, 255, .08);
}

.form-company-card[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: .42rem;
  right: .42rem;
  width: .82rem;
  height: .82rem;
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%) 52% 44% / 55% 55% no-repeat,
    #004dff;
}

.form-company-card img {
  display: block;
  max-width: 72%;
  max-height: 1.38rem;
  object-fit: contain;
  filter: saturate(.6) contrast(.92);
  opacity: .82;
}

.form-company-card--text {
  padding: 0 .8rem;
  font: 700 .82rem/1.2 "Poppins", Arial, sans-serif;
}

.form-company-toggle {
  flex-direction: column;
  gap: .14rem;
  padding: 0 .6rem;
}

.form-company-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.form-company-toggle span {
  color: rgba(20, 35, 84, .5);
  font-size: .58rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.form-company-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.form-other-company[hidden] {
  display: none;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(1.3rem, 3vh, 2rem);
}

.form-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
  min-width: clamp(10.6rem, 16vw, 12.8rem);
  min-height: 3.2rem;
  padding: 0 1.35rem;
  border-radius: .56rem;
  background: linear-gradient(135deg, #0058ff, #0039ef);
  color: #ffffff;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: 0 1rem 2.4rem rgba(0, 77, 255, .22);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease, background .24s ease;
}

.form-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 1.25rem 2.7rem rgba(0, 77, 255, .28);
}

.form-primary-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.form-side-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .68rem;
  width: min(100%, 18.5rem);
  margin-top: 1rem;
  padding: .42rem;
  border: 1px solid rgba(20, 35, 84, .08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
}

.form-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  min-width: 0;
  min-height: 2.56rem;
  border: 1px solid rgba(20, 35, 84, .1);
  border-radius: .72rem;
  background: rgba(255, 255, 255, .68);
  color: #142354;
  font: 600 .78rem/1 "Poppins", Arial, sans-serif;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), border-color .22s ease, background .22s ease, color .22s ease, opacity .22s ease;
}

.form-nav-btn svg {
  width: 1rem;
  height: 1rem;
}

.form-nav-btn:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(0, 77, 255, .2);
  background: rgba(255, 255, 255, .92);
}

.form-nav-btn--next {
  border-color: rgba(0, 77, 255, .2);
  background: rgba(0, 77, 255, .08);
  color: #0039ef;
}

.form-nav-btn:disabled {
  opacity: .42;
  cursor: default;
}

.form-panel:not(.is-active) {
  padding: clamp(2rem, 6vh, 4rem);
  border: 1px solid rgba(20, 35, 84, .1);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}



@media (max-width: 520px) {
  .form-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-company-toggle {
    min-height: 2.9rem;
    grid-column: span 2;
    flex-direction: row;
  }

  .form-company-toggle span {
    font-size: .68rem;
  }

  .form-company-more {
    grid-template-columns: 1fr;
  }
}


.form-side-actions {
  position: relative;
  margin-top: clamp(1.45rem, 3.1vh, 2.25rem);
}

.form-side-actions::before {
  content: "";
  position: absolute;
  top: calc(-1 * clamp(.82rem, 1.8vh, 1.25rem));
  left: .42rem;
  right: .42rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 35, 84, .12), transparent);
}


/* FORM page refinement layer */
body,
.hg-header {
  background: #fbfcff;
}

.hg-header {
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at 12% 24%, rgba(8, 35, 143, .035), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 48%, #f7f9fd 100%);
}

.hg-header::before,
.hg-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hg-header::before {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 6% 86%, rgba(8, 35, 143, .045) 0 12rem, transparent 12.2rem),
    radial-gradient(circle at 18% 76%, rgba(151, 164, 190, .13) 0 8.5rem, transparent 8.7rem),
    radial-gradient(circle at 22% 18%, rgba(151, 164, 190, .09) 0 11rem, transparent 11.2rem),
    radial-gradient(circle at 1px 1px, rgba(20, 35, 84, .075) 1px, transparent 1.5px) 0 0 / 18px 18px;
  mask-image:
    radial-gradient(circle at 7% 84%, #000 0 18rem, transparent 30rem),
    radial-gradient(circle at 20% 22%, #000 0 15rem, transparent 27rem);
  opacity: .72;
}

.hg-header::after {
  left: -8rem;
  bottom: -10rem;
  z-index: 1;
  width: min(42vw, 34rem);
  height: min(42vw, 34rem);
  border: 1px solid rgba(20, 35, 84, .07);
  border-radius: 44% 56% 58% 42%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 72% 38%, rgba(8, 35, 143, .045), transparent 44%);
  transform: rotate(-18deg);
}

.hg-header__content {
  background: transparent;
}

.form-shell {
  grid-template-columns: minmax(23rem, .95fr) minmax(0, 1.68fr);
  gap: clamp(1.8rem, 3.1vw, 3.6rem);
  width: min(100%, 96rem);
  padding-top: clamp(.6rem, 2vh, 1.6rem);
  padding-bottom: clamp(1.6rem, 4vh, 3rem);
}

.form-shell::before {
  left: clamp(-6rem, -5vw, -3rem);
  bottom: clamp(-5rem, -8vh, -3rem);
  width: clamp(20rem, 28vw, 34rem);
  height: clamp(20rem, 28vw, 34rem);
  background:
    radial-gradient(circle at 27% 30%, rgba(8, 35, 143, .045), transparent 36%),
    radial-gradient(circle at 66% 62%, rgba(151, 164, 190, .13), transparent 55%);
  filter: blur(2px);
  opacity: .68;
}

.form-shell::after {
  top: clamp(2.4rem, 9vh, 6rem);
  left: clamp(9rem, 18vw, 24rem);
  width: clamp(10rem, 14vw, 16rem);
  height: clamp(10rem, 14vw, 16rem);
  background: radial-gradient(circle, rgba(20, 35, 84, .045), transparent 70%);
  opacity: .7;
}

.form-intro {
  max-width: 27rem;
  padding-right: clamp(.6rem, 1.5vw, 1.2rem);
}

.form-intro::after {
  right: clamp(-1.15rem, -1.8vw, -.65rem);
  top: -.3rem;
  height: min(100%, 30rem);
  background: linear-gradient(180deg, transparent, rgba(20, 35, 84, .1), transparent);
}

.form-kicker {
  margin-bottom: clamp(1.3rem, 2.4vh, 1.8rem);
  font-size: clamp(.66rem, .68vw, .74rem);
  line-height: 1.1;
}

.form-kicker::after {
  margin-top: .82rem;
}

.form-intro h1 {
  max-width: 24.5rem;
  font-size: clamp(2.8rem, 3.75vw, 4.28rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.form-lead {
  max-width: 19rem;
  margin-top: 1.25rem;
  font-size: clamp(.9rem, .92vw, 1rem);
  line-height: 1.58;
}

.form-info-card {
  position: relative;
  width: min(100%, 18.5rem);
  margin-top: clamp(2rem, 4.8vh, 3.4rem);
  padding: 1.05rem 1.08rem;
  border-color: rgba(20, 35, 84, .075);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .48)),
    radial-gradient(circle at 100% 0%, rgba(8, 35, 143, .035), transparent 45%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 .8rem 1.9rem rgba(20, 35, 84, .045);
}

.form-side-actions {
  width: min(100%, 18.5rem);
}

.form-info-card::after {
  content: "";
  position: absolute;
  right: .85rem;
  bottom: .75rem;
  width: 3.3rem;
  height: 3.3rem;
  border: 1px solid rgba(8, 35, 143, .055);
  border-radius: 50%;
  opacity: .8;
}

.form-info-card__icon {
  width: 1.95rem;
  height: 1.95rem;
  border: 1px solid rgba(0, 77, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
}

.form-info-card strong {
  font-size: .8rem;
  line-height: 1.25;
}

.form-info-card p {
  margin-top: .46rem;
  font-size: .7rem;
  line-height: 1.62;
}

.form-form {
  padding-top: 0;
  padding-bottom: 0;
}

.form-steps {
  gap: clamp(1.1rem, 2.3vw, 2.5rem);
  margin-bottom: clamp(1.35rem, 3vh, 2rem);
}

.form-step {
  gap: .36rem;
  padding-bottom: .78rem;
}

.form-step strong {
  font-size: .68rem;
  line-height: 1.24;
}

.form-panel__head {
  margin-bottom: 1rem;
}

.form-panel h2 {
  font-size: clamp(1.1rem, 1.22vw, 1.34rem);
  line-height: 1.18;
}

.form-panel p {
  margin-top: .38rem;
  font-size: clamp(.74rem, .78vw, .82rem);
  line-height: 1.42;
}

.form-fields {
  gap: .78rem;
}

.form-field,
.form-company {
  gap: .34rem;
}

.form-field > span:first-child,
.form-company legend {
  font-size: .72rem;
  line-height: 1.22;
}

.form-input,
.form-company-card,
.form-company-toggle {
  min-height: 3rem;
  border-radius: .68rem;
}

.form-input input {
  font-size: .8rem;
  line-height: 1.25;
}

.form-field small,
.form-company small {
  min-height: .68rem;
  font-size: .64rem;
}

.form-company-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 3rem;
  gap: .62rem;
}

.form-company-more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .62rem;
}

.form-company-more.is-open {
  max-height: 7.5rem;
  margin-top: .04rem;
}

.form-company-toggle {
  padding: 0;
}

.form-company-toggle span {
  display: none;
}

.form-company-toggle svg {
  width: 1.18rem;
  height: 1.18rem;
}

.form-company-card img {
  max-width: 76%;
  max-height: 1.32rem;
}

.form-company-card--text {
  font-size: .78rem;
}

.form-actions {
  margin-top: clamp(1rem, 2.4vh, 1.5rem);
}

.form-primary-btn {
  min-height: 3rem;
}





/* FORM final overflow lock - must stay at EOF */
@media (min-width: 1101px) {
  html,
  body {
    min-height: 100dvh;
  }

  body {
    overflow: hidden;
  }

  main,
  .hg-header,
  .hg-header__content {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .hg-header {
    overflow-x: clip;
    overflow-y: clip;
  }

  .form-shell {
    height: calc(100dvh - var(--hg-nav-top-space));
    min-height: 0;
    max-height: calc(100dvh - var(--hg-nav-top-space));
    padding-top: clamp(.25rem, 1vh, .85rem);
    padding-bottom: clamp(.55rem, 1.6vh, 1.25rem);
  }

  .hg-header::after {
    bottom: -3.6rem;
  }

  .form-shell::before {
    bottom: -1.8rem;
  }
}

/* FORM problem step */
.form-panel__head--stacked {
  display: block;
  max-width: 42rem;
  margin-bottom: clamp(1.35rem, 3vh, 2rem);
}

.form-panel__head--stacked p {
  max-width: 36rem;
}

.form-problem {
  display: grid;
  gap: .62rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-problem legend {
  color: #111827;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.22;
}

.form-problem legend em {
  color: #ff2d2d;
  font-style: normal;
}

.form-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.05rem);
}

.form-problem-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: .62rem;
  min-height: clamp(6rem, 10vw, 7.15rem);
  padding: .95rem .75rem;
  border: 1px solid rgba(20, 35, 84, .11);
  border-radius: .75rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(248, 251, 255, .66)),
    radial-gradient(circle at 0% 0%, rgba(0, 77, 255, .035), transparent 45%);
  color: #15213f;
  font-family: "Poppins", Arial, sans-serif;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
  transition:
    transform .22s cubic-bezier(.22, 1, .36, 1),
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    color .22s ease;
}

.form-problem-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 77, 255, .24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(248, 251, 255, .76)),
    radial-gradient(circle at 0% 0%, rgba(0, 77, 255, .055), transparent 45%);
}

.form-problem-card[aria-pressed="true"] {
  border-color: rgba(0, 77, 255, .72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(247, 250, 255, .72)),
    radial-gradient(circle at 0% 0%, rgba(0, 77, 255, .09), transparent 52%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 3px rgba(0, 77, 255, .07);
}

.form-problem-card[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: .48rem;
  right: .48rem;
  width: .95rem;
  height: .95rem;
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%) 52% 44% / 55% 55% no-repeat,
    #004dff;
}

.form-problem-card svg {
  display: block;
  width: clamp(1.45rem, 2.1vw, 1.85rem);
  height: clamp(1.45rem, 2.1vw, 1.85rem);
  fill: none;
  stroke: rgba(20, 35, 84, .58);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  transition: stroke .22s ease, transform .22s ease;
}

.form-problem-card:hover svg,
.form-problem-card[aria-pressed="true"] svg {
  stroke: #004dff;
  transform: translateY(-1px);
}

.form-problem-card span {
  display: block;
  color: currentColor;
  font-size: clamp(.75rem, .82vw, .86rem);
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
}

.form-problem > small {
  min-height: .68rem;
  color: #d12f2f;
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.2;
}

.form-problem.is-invalid .form-problem-card[aria-pressed="false"] {
  border-color: rgba(209, 47, 47, .26);
}

.form-other-problem {
  overflow: hidden;
  margin-top: .15rem;
}

.form-other-problem[hidden] {
  display: none;
}

.form-problem-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 1.6vw, 1.25rem);
  margin-top: clamp(1.9rem, 4.6vh, 3.35rem);
}

.form-field > span:first-child small {
  color: rgba(20, 35, 84, .52);
  font: inherit;
  font-weight: 500;
}


@media (max-width: 420px) {
  .form-problem-grid {
    grid-template-columns: 1fr;
  }
}

/* FORM step stability and problem spacing polish */
.form-progress-card {
  display: block;
  width: 100%;
  min-height: clamp(4.25rem, 6vh, 4.9rem);
  margin-bottom: clamp(1.35rem, 3vh, 2rem);
  padding: .18rem 0 0;
}

.form-steps {
  min-height: 3.65rem;
  align-items: start;
  transform: translateZ(0);
}

.form-step {
  min-height: 3.65rem;
}

.form-step span {
  font-size: clamp(.7rem, .68vw, .78rem);
}

.form-step strong {
  font-size: clamp(.62rem, .58vw, .7rem);
}

.form-step::after {
  height: 1px;
}

.form-step::before {
  height: 2px;
}

.form-panel {
  transform: translateZ(0);
}

.form-shell {
  align-items: start;
}

.form-form {
  align-self: start;
  justify-self: stretch;
  width: 100%;
  min-height: 0;
}

.form-panel-stack {
  position: relative;
  width: 100%;
  min-height: 0;
}

.form-info-card {
  width: min(100%, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.form-info-card::after {
  display: none;
}

.form-info-card__icon {
  background: transparent;
}

.form-side-actions {
  width: 100%;
  max-width: 100%;
}


.form-panel__head--stacked {
  max-width: 44rem;
  margin-bottom: clamp(1.05rem, 2.2vh, 1.55rem);
}

.form-panel__head--stacked p {
  max-width: 37rem;
  line-height: 1.48;
}

.form-problem {
  gap: .52rem;
}

.form-problem-grid {
  gap: clamp(.72rem, 1.15vw, .95rem);
}

.form-problem-card {
  gap: .52rem;
  min-height: clamp(5.75rem, 8.5vw, 6.75rem);
  padding: .82rem .72rem;
}

.form-problem-card span {
  font-size: clamp(.72rem, .78vw, .82rem);
}

.form-problem > small {
  min-height: .56rem;
}

.form-other-problem {
  margin-top: .28rem;
}

.form-problem-details {
  gap: clamp(.78rem, 1.35vw, 1.05rem);
  margin-top: clamp(1.45rem, 3.5vh, 2.45rem);
}


/* FORM canonical shell layout audit */
.form-shell {
  width: min(100%, 94rem);
  min-height: calc(100dvh - var(--hg-nav-top-space));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(20rem, 26rem) minmax(0, 58rem);
  justify-content: center;
  align-items: center;
  gap: clamp(2.25rem, 3.25vw, 4rem);
  padding: clamp(.65rem, 1.8vh, 1.35rem) 0 clamp(.9rem, 2.4vh, 1.8rem);
}

.form-intro {
  width: 100%;
  max-width: 26rem;
  align-self: center;
  justify-self: stretch;
  padding: 0 clamp(.75rem, 1.2vw, 1.15rem) 0 0;
}

.form-intro-head {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: clamp(4rem, 5.7vh, 4.65rem);
  margin-bottom: clamp(1.15rem, 2.45vh, 1.75rem);
  padding: .18rem 0 0;
}

.form-intro-head .form-kicker {
  margin-bottom: 0;
}

.form-intro-stack {
  width: 100%;
}

.form-intro::after {
  right: clamp(-1.4rem, -1.5vw, -.8rem);
}

.form-form {
  width: 100%;
  max-width: 58rem;
  align-self: start;
  justify-self: stretch;
  padding: 0;
}

.form-progress-card {
  min-height: clamp(4rem, 5.7vh, 4.65rem);
  margin-bottom: clamp(1.15rem, 2.45vh, 1.75rem);
}

.form-panel-stack {
  width: 100%;
}

.form-info-card {
  width: 100%;
  max-width: 23.5rem;
  margin-top: clamp(2rem, 4.2vh, 3rem);
}

.form-side-actions {
  width: 100%;
  max-width: 23.5rem;
  margin-top: clamp(2rem, 4vh, 3rem);
}

@media (min-width: 1600px) {
  .form-shell {
    width: min(100%, 98rem);
    grid-template-columns: minmax(22rem, 27rem) minmax(0, 62rem);
    gap: clamp(3rem, 4vw, 5rem);
  }

  .form-form {
    max-width: 62rem;
  }
}

/* FORM description and attachment steps */
.form-description-fields {
  display: grid;
  gap: clamp(.86rem, 1.55vh, 1.08rem);
}

.form-textarea {
  align-items: stretch;
  min-height: auto;
  padding: 0;
}

.form-textarea textarea {
  width: 100%;
  min-width: 0;
  min-height: clamp(8.5rem, 20vh, 11.2rem);
  border: 0;
  outline: 0;
  resize: vertical;
  padding: .95rem 1.05rem;
  background: transparent;
  color: #111827;
  font: 500 .84rem/1.48 "Poppins", Arial, sans-serif;
}

.form-textarea--compact textarea {
  min-height: clamp(4.7rem, 11vh, 6.4rem);
}

.form-textarea textarea::placeholder {
  color: rgba(20, 35, 84, .44);
}

.form-error-choice {
  display: grid;
  gap: .46rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-error-choice legend {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  min-height: 1rem;
  margin: 0;
  color: #111827;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.22;
}

.form-error-choice legend em {
  color: #ff2d2d;
  font-style: normal;
}

.form-error-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.35vw, 1.05rem);
  margin-top: .08rem;
}

.form-error-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: .62rem;
  min-height: clamp(5.75rem, 9vw, 6.8rem);
  padding: .86rem .7rem;
  border: 1px solid rgba(20, 35, 84, .11);
  border-radius: .78rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(248, 251, 255, .7)),
    radial-gradient(circle at 0% 0%, rgba(0, 77, 255, .035), transparent 45%);
  color: #15213f;
  font-family: "Poppins", Arial, sans-serif;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
  transition:
    transform .22s cubic-bezier(.22, 1, .36, 1),
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.form-error-card::after {
  content: "";
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 50%;
  background: #0058ff;
  box-shadow: 0 .35rem .9rem rgba(0, 77, 255, .24);
  opacity: 0;
  transform: scale(.72);
  transition: opacity .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
}

.form-error-card[aria-pressed="true"] {
  border-color: rgba(0, 77, 255, .58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(241, 246, 255, .82)),
    radial-gradient(circle at 0% 0%, rgba(0, 77, 255, .085), transparent 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 .8rem 1.8rem rgba(0, 77, 255, .07);
}

.form-error-card[aria-pressed="true"]::after {
  opacity: 1;
  transform: scale(1);
}

.form-error-card:not([aria-pressed="true"]):hover {
  transform: translateY(-1px);
  border-color: rgba(0, 77, 255, .24);
}

.form-error-card__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(20, 35, 84, .16);
  border-radius: 999px;
  color: rgba(20, 35, 84, .68);
  background: rgba(255, 255, 255, .68);
}

.form-error-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.form-error-card strong {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.24;
}

.form-error-choice > small {
  min-height: .56rem;
  color: #d12f2f;
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.2;
}

.form-error-choice.is-invalid .form-error-card[aria-pressed="false"] {
  border-color: rgba(209, 47, 47, .26);
}

.form-error-message-field[hidden] {
  display: none;
}

.form-attachment-panel {
  display: grid;
  gap: clamp(.9rem, 1.8vh, 1.2rem);
}

.form-screenshot-guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: .72rem;
  padding: .92rem;
  border: 1px solid rgba(20, 35, 84, .09);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(247, 250, 255, .58)),
    radial-gradient(circle at 0% 0%, rgba(8, 35, 143, .035), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84);
}

.form-screenshot-guide > span {
  align-self: center;
  color: #111827;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.form-screenshot-guide div {
  display: grid;
  gap: .18rem;
  min-width: 0;
  padding: .72rem .8rem;
  border: 1px solid rgba(20, 35, 84, .08);
  border-radius: .82rem;
  background: rgba(255, 255, 255, .62);
}

.form-screenshot-guide strong {
  color: #08238f;
  font-size: .78rem;
  font-weight: 700;
}

.form-screenshot-guide p {
  margin: 0;
  color: rgba(20, 35, 84, .52);
  font-size: .7rem;
  line-height: 1.32;
}

.form-screenshot-guide em {
  align-self: center;
  color: rgba(20, 35, 84, .42);
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
}

.form-upload-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: clamp(7rem, 16vh, 9rem);
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px dashed rgba(20, 35, 84, .2);
  border-radius: 1.08rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(248, 251, 255, .66)),
    radial-gradient(circle at 100% 0%, rgba(0, 77, 255, .05), transparent 48%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
  transition: border-color .22s ease, background .22s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
}

.form-upload-card.is-dragging {
  transform: translateY(-1px);
  border-color: rgba(0, 77, 255, .46);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(241, 246, 255, .78)),
    radial-gradient(circle at 100% 0%, rgba(0, 77, 255, .085), transparent 50%);
}

.form-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-upload-card span {
  display: block;
  color: #111827;
  font-size: .78rem;
  font-weight: 700;
}

.form-upload-card span small {
  color: rgba(20, 35, 84, .52);
  font: inherit;
  font-weight: 500;
}

.form-upload-card p {
  max-width: 31rem;
  margin: .42rem 0 0;
  color: rgba(20, 35, 84, .54);
  font-size: .76rem;
  line-height: 1.48;
}

.form-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  min-height: 2.7rem;
  padding: 0 1rem;
  border: 1px solid rgba(0, 77, 255, .18);
  border-radius: .82rem;
  background: rgba(0, 77, 255, .08);
  color: #0039ef;
  font: 700 .78rem/1 "Poppins", Arial, sans-serif;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), background .22s ease, border-color .22s ease;
}

.form-upload-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 77, 255, .28);
  background: rgba(0, 77, 255, .12);
}

.form-upload-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.form-upload-error {
  min-height: .68rem;
  color: #d12f2f;
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.2;
}

.form-file-list {
  display: grid;
  gap: .58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-file-list[hidden] {
  display: none;
}

.form-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: 2.9rem;
  padding: .55rem .72rem;
  border: 1px solid rgba(20, 35, 84, .09);
  border-radius: .76rem;
  background: rgba(255, 255, 255, .68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
}

.form-file-list span {
  display: grid;
  min-width: 0;
}

.form-file-list strong {
  overflow: hidden;
  color: #111827;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-file-list em {
  color: rgba(20, 35, 84, .48);
  font-size: .66rem;
  font-style: normal;
  font-weight: 600;
}

.form-file-list button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: rgba(20, 35, 84, .62);
  font: 700 .7rem/1 "Poppins", Arial, sans-serif;
  cursor: pointer;
}

.form-file-list button:hover {
  color: #d12f2f;
}

.form-submit-btn {
  --primary: #0058ff;
  --primary-dark: #0048e6;
  --primary-darkest: #08238f;
  --text-opacity: 1;
  --success-scale: .2;
  --success-opacity: 0;
  --border-radius: 10;
  --rotate: 0;
  --plane-x: 0;
  --plane-y: 0;
  --plane-opacity: 1;
  --left-wing-background: var(--primary);
  --left-wing-first-x: 0;
  --left-wing-first-y: 0;
  --left-wing-second-x: 50;
  --left-wing-second-y: 0;
  --left-wing-third-x: 0;
  --left-wing-third-y: 100;
  --left-body-background: var(--primary);
  --left-body-first-x: 50;
  --left-body-first-y: 0;
  --left-body-second-x: 50;
  --left-body-second-y: 100;
  --left-body-third-x: 0;
  --left-body-third-y: 100;
  --right-wing-background: var(--primary);
  --right-wing-first-x: 50;
  --right-wing-first-y: 0;
  --right-wing-second-x: 100;
  --right-wing-second-y: 0;
  --right-wing-third-x: 100;
  --right-wing-third-y: 100;
  --right-body-background: var(--primary);
  --right-body-first-x: 50;
  --right-body-first-y: 0;
  --right-body-second-x: 50;
  --right-body-second-y: 100;
  --right-body-third-x: 100;
  --right-body-third-y: 100;
  overflow: hidden;
  border-color: rgba(0, 77, 255, .24);
  background: none;
  color: #ffffff;
  transform: rotate(calc(var(--rotate) * 1deg)) translateZ(0);
}

.form-submit-btn .default,
.form-submit-btn .success {
  position: relative;
  z-index: 4;
  display: block;
}

.form-submit-btn .default {
  opacity: var(--text-opacity);
}

.form-submit-btn .success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #142354;
  opacity: var(--success-opacity);
  transform: rotate(calc(var(--rotate) * -1deg)) scale(var(--success-scale)) translateZ(0);
}

.form-submit-btn .left,
.form-submit-btn .right {
  position: absolute;
  inset: 0;
  opacity: var(--plane-opacity);
  transform: translate(calc(var(--plane-x) * 1px), calc(var(--plane-y) * 1px)) translateZ(0);
}

.form-submit-btn .left::before,
.form-submit-btn .left::after,
.form-submit-btn .right::before,
.form-submit-btn .right::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--border-radius) * 1px);
  background: var(--background, var(--left-wing-background));
  clip-path: polygon(
    calc(var(--first-x, var(--left-wing-first-x)) * 1%) calc(var(--first-y, var(--left-wing-first-y)) * 1%),
    calc(var(--second-x, var(--left-wing-second-x)) * 1%) calc(var(--second-y, var(--left-wing-second-y)) * 1%),
    calc(var(--third-x, var(--left-wing-third-x)) * 1%) calc(var(--third-y, var(--left-wing-third-y)) * 1%)
  );
  transform: translate(var(--x, .4%), var(--y, 0)) translateZ(0);
  z-index: var(--z-index, 2);
}

.form-submit-btn .left::after {
  --x: 0;
  --z-index: 1;
  --background: var(--left-body-background);
  --first-x: var(--left-body-first-x);
  --first-y: var(--left-body-first-y);
  --second-x: var(--left-body-second-x);
  --second-y: var(--left-body-second-y);
  --third-x: var(--left-body-third-x);
  --third-y: var(--left-body-third-y);
}

.form-submit-btn .right::before {
  --x: -.4%;
  --background: var(--right-wing-background);
  --first-x: var(--right-wing-first-x);
  --first-y: var(--right-wing-first-y);
  --second-x: var(--right-wing-second-x);
  --second-y: var(--right-wing-second-y);
  --third-x: var(--right-wing-third-x);
  --third-y: var(--right-wing-third-y);
}

.form-submit-btn .right::after {
  --x: 0;
  --z-index: 1;
  --background: var(--right-body-background);
  --first-x: var(--right-body-first-x);
  --first-y: var(--right-body-first-y);
  --second-x: var(--right-body-second-x);
  --second-y: var(--right-body-second-y);
  --third-x: var(--right-body-third-x);
  --third-y: var(--right-body-third-y);
}

body.is-form-submitting .hg-quickbar,
body.is-form-submitting .form-shell {
  pointer-events: none;
}

.form-form.is-submitting {
  filter: saturate(.94);
}

@media (max-width: 1180px) {
  .form-intro h1 {
    font-size: clamp(2.45rem, 4.5vw, 3.65rem);
  }

  .form-problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-problem-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
  }

  .form-screenshot-guide > span,
  .form-screenshot-guide em {
    justify-self: start;
  }
}


/* FORM mirrored left/right column rhythm */
.form-intro,
.form-form {
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.form-intro {
  justify-self: stretch;
}

.form-intro-head,
.form-progress-card {
  flex: 0 0 auto;
  min-height: clamp(4rem, 5.7vh, 4.65rem);
  margin-bottom: clamp(1.15rem, 2.45vh, 1.75rem);
  padding-top: .18rem;
}

.form-intro-head {
  display: flex;
  align-items: flex-start;
}

.form-intro-head .form-kicker {
  margin: 0;
}

.form-intro-stack,
.form-panel-stack {
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
}

.form-info-card,
.form-side-actions {
  max-width: 100%;
}


/* FORM internal form rhythm */
.form-field,
.form-company,
.form-problem {
  gap: .46rem;
}

.form-field > span:first-child,
.form-company legend,
.form-problem legend {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  min-height: 1rem;
  margin: 0;
  line-height: 1.22;
}

.form-company-grid,
.form-problem-grid {
  margin-top: .08rem;
}

.form-fields {
  gap: .82rem;
}

.form-problem-grid {
  gap: clamp(.78rem, 1.2vw, 1rem);
}

.form-problem-details .form-field > span:first-child small {
  display: inline-block;
  white-space: nowrap;
}


/* FORM final active-step safeguards */
.form-nav-btn[aria-disabled="true"] {
  pointer-events: none;
}

.form-submit-btn[aria-disabled="true"] {
  opacity: 1;
}


/* FORM layout and submit polish */
.form-panel__head {
  align-items: flex-start;
}

.form-screenshot-guide {
  grid-template-columns: minmax(0, .85fr) minmax(18rem, 1.15fr);
  align-items: center;
}

.form-screenshot-guide .form-screenshot-guide__copy,
.form-screenshot-guide .form-shortcut-list {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.form-screenshot-guide__copy {
  display: grid;
  gap: .3rem;
}

.form-screenshot-guide__copy span {
  color: #111827;
  font-size: .78rem;
  font-weight: 700;
}

.form-screenshot-guide__copy p {
  max-width: 24rem;
  margin: 0;
  color: rgba(20, 35, 84, .54);
  font-size: .74rem;
  line-height: 1.46;
}

.form-shortcut-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .62rem;
}

.form-shortcut-card {
  display: grid;
  gap: .18rem;
  min-width: 0;
  padding: .78rem .86rem;
  border: 1px solid rgba(20, 35, 84, .08);
  border-radius: .82rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(248, 251, 255, .62)),
    radial-gradient(circle at 100% 0%, rgba(8, 35, 143, .035), transparent 52%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.form-shortcut-card strong {
  color: #08238f;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
}

.form-shortcut-card em {
  color: rgba(20, 35, 84, .5);
  font-size: .68rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.28;
}

.form-submit-btn {
  --success: #142354;
  display: block;
  min-width: 100%;
  min-height: 2.56rem;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: .72rem;
  outline: 0;
  text-align: center;
  line-height: 24px;
  overflow: visible;
  box-shadow: none;
  isolation: isolate;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.form-submit-btn.is-animating {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.form-submit-btn:not(:disabled):hover,
.form-submit-btn[aria-disabled="true"] {
  transform: rotate(calc(var(--rotate) * 1deg)) translateZ(0);
}

.form-submit-btn .success {
  z-index: 0;
  inset: auto 0 auto 0;
  top: 8px;
  display: block;
  color: var(--success);
}

.form-submit-btn .left,
.form-submit-btn .right {
  overflow: visible;
  pointer-events: none;
  will-change: transform, opacity;
}

.form-side-actions,
.form-nav-btn.form-submit-btn {
  overflow: visible;
}

.form-submit-btn.is-animating {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.form-submit-btn .left::before,
.form-submit-btn .left::after,
.form-submit-btn .right::before,
.form-submit-btn .right::after {
  -webkit-clip-path: polygon(
    calc(var(--first-x, var(--left-wing-first-x)) * 1%) calc(var(--first-y, var(--left-wing-first-y)) * 1%),
    calc(var(--second-x, var(--left-wing-second-x)) * 1%) calc(var(--second-y, var(--left-wing-second-y)) * 1%),
    calc(var(--third-x, var(--left-wing-third-x)) * 1%) calc(var(--third-y, var(--left-wing-third-y)) * 1%)
  );
}

@media (min-width: 1101px) {
  .form-panel-stack {
    max-height: calc(100dvh - var(--hg-nav-top-space) - clamp(7.45rem, 8.8vh, 8.7rem));
    margin-right: calc(-1 * clamp(.35rem, .6vw, .55rem));
    padding-right: clamp(.85rem, 1.05vw, 1.12rem);
    padding-bottom: clamp(1.05rem, 2.3vh, 1.7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  .form-panel-stack::-webkit-scrollbar {
    width: .55rem;
  }

  .form-panel-stack::-webkit-scrollbar-track {
    background: transparent;
  }

  .form-panel-stack::-webkit-scrollbar-thumb {
    border: .16rem solid transparent;
    border-radius: 999px;
    background: rgba(20, 35, 84, .18);
    background-clip: content-box;
  }
}

@media (min-width: 1101px) and (max-height: 720px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  main,
  .hg-header,
  .hg-header__content {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .hg-header {
    overflow-x: clip;
    overflow-y: clip;
  }

  .hg-header::after {
    top: clamp(17rem, 48vh, 23rem);
    bottom: auto;
    width: min(30vw, 22rem);
    height: min(30vw, 22rem);
  }

  .form-shell {
    height: auto;
    min-height: calc(100dvh - var(--hg-nav-top-space));
    max-height: none;
    align-items: start;
    padding-bottom: clamp(2rem, 5vh, 3rem);
  }

  .form-shell::before {
    top: clamp(14rem, 42vh, 22rem);
    bottom: auto;
    left: clamp(-3rem, -3vw, -1.25rem);
    width: clamp(14rem, 22vw, 22rem);
    height: clamp(14rem, 22vw, 22rem);
  }

  .form-shell::after {
    top: clamp(1.5rem, 8vh, 4rem);
    left: clamp(6rem, 14vw, 16rem);
    width: clamp(8rem, 12vw, 12rem);
    height: clamp(8rem, 12vw, 12rem);
  }

  .form-panel-stack {
    max-height: none;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  main,
  .hg-header,
  .hg-header__content {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .hg-header {
    overflow-x: clip;
  }

  .hg-header::after {
    bottom: auto;
    top: clamp(26rem, 44vh, 36rem);
  }

  .form-shell {
    width: min(100%, calc(100vw - (var(--hg-shell-x) * 2)));
    height: auto;
    min-height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(1.75rem, 4vw, 2.65rem);
    padding: clamp(1rem, 2.6vh, 1.6rem) 0 clamp(2.2rem, 5vh, 3.2rem);
  }

  .form-shell::before {
    bottom: auto;
    top: clamp(18rem, 32vh, 28rem);
  }

  .form-intro,
  .form-form {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .form-intro::after {
    display: none;
  }

  .form-intro-head,
  .form-progress-card {
    min-height: auto;
    margin-bottom: .9rem;
  }

  .form-info-card {
    max-width: 100%;
    margin-top: clamp(1.2rem, 2.4vh, 1.7rem);
  }

  .form-side-actions {
    z-index: 5;
    max-width: 24rem;
    margin-top: clamp(1.35rem, 3vh, 2rem);
  }

  .form-panel-stack {
    max-height: none;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .form-screenshot-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  main,
  .hg-header,
  .hg-header__content {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .hg-icon-pill--form img {
    width: 1.38rem;
    height: 1.38rem;
  }

  .hg-header {
    overflow-x: clip;
    overflow-y: auto;
  }

  .hg-header::before {
    background:
      radial-gradient(circle at 4% 36%, rgba(8, 35, 143, .04) 0 10rem, transparent 10.2rem),
      radial-gradient(circle at 5% 84%, rgba(151, 164, 190, .12) 0 8rem, transparent 8.2rem),
      radial-gradient(circle at 1px 1px, rgba(20, 35, 84, .055) 1px, transparent 1.5px) 0 0 / 18px 18px;
    mask-image: radial-gradient(circle at 0% 82%, #000 0 18rem, transparent 29rem);
  }

  .hg-header::after {
    width: 18rem;
    height: 18rem;
    left: -8rem;
    bottom: auto;
    top: 25rem;
  }

  .form-shell {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.45rem;
    padding: .8rem 0 2.3rem;
  }

  .form-shell::before,
  .form-shell::after {
    display: none;
  }

  .form-intro {
    max-width: 100%;
    padding-right: 0;
  }

  .form-intro::after {
    display: none;
  }

  .form-intro h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3.15rem);
    line-height: 1.02;
  }

  .form-kicker {
    margin-bottom: 1.1rem;
  }

  .form-lead {
    max-width: 28rem;
    line-height: 1.48;
  }

  .form-steps {
    display: none;
    min-height: 0;
  }

  .form-step {
    min-height: 0;
  }

  .form-step-mobile {
    display: grid;
    gap: .32rem;
    margin-bottom: 1.3rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(20, 35, 84, .15);
    color: #004dff;
  }

  .form-step-mobile span {
    font-size: .74rem;
    font-weight: 700;
  }

  .form-step-mobile strong {
    color: #10182b;
    font-size: 1rem;
    font-weight: 700;
  }

  .form-step-mobile em {
    color: rgba(20, 35, 84, .52);
    font-size: .74rem;
    font-style: normal;
    font-weight: 600;
  }

  .form-progress-card {
    min-height: auto;
    margin-bottom: .9rem;
  }

  .form-panel__head {
    display: grid;
    align-items: start;
    gap: .85rem;
  }

  .form-panel__head--stacked {
    margin-bottom: 1.1rem;
  }

  .form-intro-head {
    min-height: auto;
    margin-bottom: .85rem;
  }

  .form-fields {
    gap: .72rem;
  }

  .form-info-card {
    max-width: 100%;
    margin-top: 1.1rem;
  }

  .form-side-actions {
    width: 100%;
    max-width: 100%;
    margin-top: .82rem;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-primary-btn {
    width: 100%;
  }

  .form-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 3rem;
    gap: .58rem;
  }

  .form-company-grid .form-company-card:nth-of-type(3),
  .form-company-grid .form-company-card:nth-of-type(4) {
    grid-column: span 1;
  }

  .form-company-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .58rem;
  }

  .form-company-more.is-open {
    max-height: 12rem;
  }

  .form-problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .62rem;
  }

  .form-problem-card {
    min-height: 5.85rem;
  }

  .form-problem-details {
    grid-template-columns: 1fr;
  }

  .form-error-choice-grid,
  .form-upload-card {
    grid-template-columns: 1fr;
  }

  .form-upload-button {
    width: 100%;
  }

  .form-panel-stack {
    max-height: none;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .form-screenshot-guide,
  .form-shortcut-list {
    grid-template-columns: 1fr;
  }
}

/* Shared multi-form additions */
.form-page--zakup .form-lead {
  max-width: 28rem;
}

.form-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.7rem, 1.15vw, .95rem);
}

.form-option-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: .2rem;
  min-height: 4.55rem;
  padding: .82rem .72rem;
  border: 1px solid rgba(20, 35, 84, .11);
  border-radius: .82rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(248, 251, 255, .66));
  color: #15213f;
  font-family: "Poppins", Arial, sans-serif;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.form-option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 77, 255, .24);
}

.form-option-card[aria-pressed="true"] {
  border-color: rgba(0, 77, 255, .72);
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(247, 250, 255, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 3px rgba(0, 77, 255, .07);
}

.form-option-card strong {
  color: #111827;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.22;
}

.form-option-card span {
  color: rgba(20, 35, 84, .54);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.28;
}

.form-date-custom[hidden],
.form-other-platform[hidden] {
  display: none;
}

.form-shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-logo-card--shop img {
  width: min(86%, 9.8rem);
  max-height: 2.5rem;
  opacity: 1;
  filter: none;
  object-fit: contain;
}

.form-amount-grid,
.form-amount-stack {
  display: grid;
  gap: clamp(.86rem, 1.4vw, 1.05rem);
  align-items: start;
}

.form-amount-grid {
  grid-template-columns: minmax(0, 1fr) minmax(12rem, .62fr);
}

.form-amount-stack {
  grid-template-columns: 1fr;
}

.form-amount-field {
  gap: .42rem;
}

.form-input--amount {
  gap: .55rem;
  padding-right: .42rem;
}

.form-input--amount input {
  flex: 1 1 auto;
  padding-right: .2rem;
}

.form-amount-choice {
  flex: 0 0 auto;
  margin: 0;
}

.form-amount-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: clamp(8.15rem, 18vw, 9.5rem);
  gap: .36rem;
  margin: 0;
  justify-content: start;
}

.form-amount-choice-grid .form-error-card {
  min-height: 2.34rem;
  padding: .36rem .44rem;
  border-radius: .54rem;
}

.form-amount-choice-grid .form-error-card::after {
  top: .28rem;
  right: .28rem;
  width: .56rem;
  height: .56rem;
}

.form-amount-choice-grid .form-error-card strong {
  font-size: .7rem;
}

.form-input textarea,
.form-textarea textarea {
  width: 100%;
}

.form-textarea--large textarea {
  min-height: clamp(13rem, 28vh, 18rem);
}

.form-page--serwis .form-lead {
  max-width: 32rem;
}

.form-page--serwis .form-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.58rem, 1.35vw, 1.35rem);
}

.form-page--serwis .form-step strong {
  font-size: clamp(.58rem, .72vw, .66rem);
}

.form-priority-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .58rem;
}

.form-priority-card {
  min-height: 3.9rem;
  padding: .62rem .7rem;
  border-radius: .68rem;
}

.form-priority-card strong {
  font-size: .78rem;
}

.form-priority-card--critical[aria-pressed="true"] {
  border-color: rgba(209, 47, 47, .62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 246, 246, .82)),
    radial-gradient(circle at 0% 0%, rgba(209, 47, 47, .095), transparent 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 .8rem 1.8rem rgba(209, 47, 47, .07);
}

.form-service-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-service-type-card {
  place-items: start;
  align-content: start;
  gap: .52rem;
  min-height: clamp(9.2rem, 18vh, 11.5rem);
  padding: .92rem .95rem;
  text-align: left;
}

.form-service-type-card svg {
  width: 1.55rem;
  height: 1.55rem;
}

.form-service-type-card span {
  text-align: left;
}

.form-service-type-card p {
  margin: 0;
  color: rgba(20, 35, 84, .58);
  font-size: .66rem;
  font-weight: 500;
  line-height: 1.42;
}

.form-service-type-card--other {
  grid-column: 1 / -1;
  min-height: auto;
}

@media (max-width: 767px) {
  .form-option-grid,
  .form-shop-grid,
  .form-amount-grid,
  .form-amount-stack {
    grid-template-columns: 1fr;
  }

  .form-amount-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: clamp(7.6rem, 36vw, 8.8rem);
  }

  .form-priority-grid,
  .form-service-type-grid {
    grid-template-columns: 1fr;
  }

  .form-service-type-card,
  .form-service-type-card--other {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .form-input--amount {
    align-items: stretch;
    flex-wrap: wrap;
    gap: .48rem;
    padding: .48rem;
  }

  .form-input--amount svg {
    margin-left: .55rem;
  }

  .form-input--amount input {
    min-height: 2.7rem;
  }

  .form-amount-choice {
    width: 100%;
    padding-left: 2.45rem;
  }

  .form-amount-choice-grid {
    width: 100%;
  }
}

/* FORM flow refresh */
.form-shell {
  align-items: center;
}

.form-intro,
.form-form {
  align-self: center;
}

.form-intro {
  justify-content: center;
}

.form-intro-head {
  min-height: auto;
  margin-bottom: clamp(.72rem, 1.65vh, 1.05rem);
}

.form-kicker {
  font-size: clamp(.62rem, .68vw, .72rem);
  letter-spacing: .09em;
}

.form-kicker::after {
  width: 1.25rem;
  margin-top: .82rem;
}

.form-intro h1 {
  max-width: 10ch;
  font-size: clamp(2.02rem, 3.15vw, 3.35rem);
  line-height: .98;
  letter-spacing: -.032em;
}

.form-lead {
  max-width: 19.5rem;
  margin-top: clamp(.92rem, 2vh, 1.25rem);
  font-size: clamp(.82rem, .86vw, .92rem);
  line-height: 1.55;
}

.form-info-card {
  max-width: 21.5rem;
  margin-top: clamp(1.35rem, 3vh, 2.15rem);
}

.form-info-card__icon {
  width: 1.55rem;
  height: 1.55rem;
}

.form-info-card strong {
  font-size: .76rem;
}

.form-info-card p {
  margin-top: .42rem;
  font-size: .68rem;
  line-height: 1.56;
}

.form-progress-card--inline {
  --form-progress-ratio: 0;
  --form-step-size: 2rem;
  position: relative;
  width: 100%;
  max-width: 23.5rem;
  min-height: auto;
  margin: clamp(1.2rem, 2.8vh, 1.85rem) 0 clamp(.72rem, 1.8vh, 1.05rem);
  padding: .36rem 0;
}

.form-progress-card--inline::before,
.form-progress-card--inline::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--form-step-size) / 2);
  left: calc(var(--form-step-size) / 2);
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  transform: translateY(-50%);
}

.form-progress-card--inline::before {
  background: rgba(20, 35, 84, .14);
}

.form-progress-card--inline::after {
  background: linear-gradient(90deg, rgba(0, 77, 255, .42), rgba(0, 77, 255, .72));
  transform: translateY(-50%) scaleX(var(--form-progress-ratio));
  transform-origin: left center;
  transition: transform .46s cubic-bezier(.16, 1, .3, 1);
}

.form-progress-card--inline .form-steps {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 2rem;
  margin: 0;
  padding: 0;
  gap: 0;
}

.form-progress-card--inline .form-step {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 var(--form-step-size);
  width: var(--form-step-size);
  min-width: var(--form-step-size);
  min-height: var(--form-step-size);
  padding: 0;
  color: rgba(20, 35, 84, .38);
}

.form-progress-card--inline .form-step::before {
  content: none;
  display: none;
}

.form-progress-card--inline .form-step::after {
  display: none;
}

.form-progress-card--inline .form-step span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--form-step-size);
  height: var(--form-step-size);
  border: 1px solid rgba(20, 35, 84, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow:
    0 .4rem .95rem rgba(20, 35, 84, .045),
    inset 0 1px 0 rgba(255, 255, 255, .84);
  color: transparent;
  font-size: 0;
  line-height: 0;
  transition:
    transform .32s cubic-bezier(.16, 1, .3, 1),
    border-color .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.form-progress-card--inline .form-step span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: currentColor;
  color: rgba(20, 35, 84, .46);
  transform: translate(-50%, -50%);
  transition:
    color .28s ease,
    background .28s ease,
    border-color .28s ease,
    transform .32s cubic-bezier(.16, 1, .3, 1);
}

.form-progress-card--inline .form-step strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-progress-card--inline .form-step.is-active {
  color: #004dff;
}

.form-progress-card--inline .form-step.is-active span {
  border-color: rgba(0, 77, 255, .26);
  background: #eff5ff;
  box-shadow:
    0 .48rem 1.1rem rgba(0, 77, 255, .085),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  transform: scale(1.06);
}

.form-progress-card--inline .form-step.is-active span::before {
  color: #004dff;
  transform: translate(-50%, -50%) scale(1.1);
}

.form-progress-card--inline .form-step.is-complete {
  color: #004dff;
}

.form-progress-card--inline .form-step.is-complete span {
  border-color: rgba(0, 77, 255, .34);
  background: #004dff;
}

.form-progress-card--inline .form-step.is-complete span::before {
  width: .4rem;
  height: .68rem;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  background: transparent;
  transform: translate(-50%, -58%) rotate(45deg);
}

.form-step-mobile {
  display: none !important;
}

.form-side-actions {
  max-width: 23.5rem;
  margin-top: 0;
}

.form-panel-stack {
  isolation: isolate;
  transform: translateZ(0);
}

.form-panel-stack.is-switching {
  overflow: hidden;
}

.form-panel-stack.is-switching .form-panel {
  pointer-events: none;
}

.form-panel {
  will-change: transform, opacity, filter;
}

@media (min-width: 1101px) {
  .form-shell {
    width: min(100%, 100rem);
    grid-template-columns: minmax(16.5rem, 22rem) minmax(0, 68rem);
    gap: clamp(2.5rem, 3.6vw, 5rem);
  }

  .form-form {
    max-width: 68rem;
  }

  .form-panel-stack {
    max-height: calc(100dvh - var(--hg-nav-top-space) - clamp(4.2rem, 6.5vh, 6rem));
  }
}

@media (min-width: 1600px) {
  .form-shell {
    width: min(100%, 104rem);
    grid-template-columns: minmax(17rem, 22.5rem) minmax(0, 70rem);
  }

  .form-form {
    max-width: 70rem;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .form-intro,
  .form-form {
    align-self: stretch;
  }

  .form-progress-card--inline,
  .form-side-actions {
    max-width: 24rem;
  }
}

@media (max-width: 767px) {
  .form-intro h1 {
    max-width: 11ch;
    font-size: clamp(1.82rem, 8.6vw, 2.55rem);
    line-height: 1.02;
  }

  .form-lead {
    max-width: 25rem;
    font-size: .84rem;
    line-height: 1.45;
  }

  .form-info-card {
    margin-top: 1rem;
  }

  .form-progress-card--inline,
  .form-side-actions {
    max-width: 24rem;
  }

  .form-progress-card--inline {
    margin-top: 1.05rem;
    margin-bottom: .66rem;
  }
}
