:root {
  --bg: #eef4ff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --ink: #10285d;
  --ink-soft: #5b6f95;
  --brand: #1e57da;
  --line: rgba(16, 40, 93, 0.1);
  --shadow-lg: 0 30px 64px rgba(24, 52, 120, 0.14);
  --shadow-md: 0 14px 30px rgba(24, 52, 120, 0.09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --sans: "General Sans", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --serif: "Domine", Georgia, serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(
      840px 460px at 6% 0%,
      rgba(94, 146, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      780px 360px at 96% 4%,
      rgba(30, 87, 218, 0.1),
      transparent 58%
    ),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand);
}

.shell {
  width: min(calc(100% - 28px), 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
}

.frame {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.96fr);
  gap: 16px;
  align-items: stretch;
}

.panel,
.form-panel {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.panel {
  padding: 28px;
  background:
    radial-gradient(
      520px 260px at 0% 0%,
      rgba(30, 87, 218, 0.11),
      transparent 62%
    ),
    linear-gradient(160deg, #ffffff 0%, #f5f9ff 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
}

.form-panel {
  padding: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4ff;
  border: 1px solid rgba(30, 87, 218, 0.14);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  max-width: 14.5ch;
  margin-top: 14px;
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.accent {
  color: var(--brand);
}

.lede,
.summary,
.privacy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.lede {
  max-width: 50ch;
  margin-top: 13px;
  font-size: 0.96rem;
}

.trust-stack {
  display: grid;
  gap: 14px;
  padding: 0;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f2f7ff 0%, #e6efff 100%);
  border: 1px solid rgba(30, 87, 218, 0.14);
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.trust-icon svg {
  width: 18px;
  height: 18px;
}

.trust-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 20px;
}

.trust-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.trust-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  row-gap: 8px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 40, 93, 0.1);
}

.g2-rating-badge {
  display: block;
  width: 99px;
  height: auto;
  grid-column: 1;
  grid-row: 1;
}

.trust-note {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  grid-column: 2;
  grid-row: 1;
  max-width: none;
}

.g2-badges {
  margin-top: 8px;
}

.g2-badge-strip {
  display: block;
  width: min(100%, 470px);
  height: auto;
  margin-top: 0;
}

.g2-badges svg {
  display: none;
}

.form-shell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: 24px;
  border-radius: calc(var(--radius-xl) - 10px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  gap: 18px;
}

.form-intro {
  display: grid;
  gap: 12px;
}

.form-intro h2 {
  margin-top: 5px;
}

.brand-form {
  display: inline-flex;
  margin-bottom: 0;
  transform: translateY(-5px);
}

.brand-form img {
  width: 128px;
  height: auto;
}

.summary {
  margin-top: 5px;
  font-size: 0.92rem;
  max-width: none;
  line-height: 1.58;
}

.embed-box {
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.form-body {
  display: grid;
  gap: 19px;
  margin-top: 10px;
}

.form-support {
  display: grid;
  gap: 25px;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: -4px;
  padding: 3px 0 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 14px;
  animation: marquee 26s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 40, 93, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(246, 250, 255, 0.96) 100%
  );
}

.logo-item img {
  max-width: 100%;
  max-height: 22px;
  width: auto;
  height: auto;
  filter: none;
  opacity: 1;
}

[data-demo-root] {
  position: relative;
  display: block;
  min-height: 292px;
}

.form-mount {
  opacity: 0;
  transition: opacity 140ms ease;
}

[data-demo-root].is-ready .form-mount {
  opacity: 1;
}

.embed-state {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  pointer-events: none;
}

[data-demo-root].is-ready .embed-state {
  opacity: 0;
  transform: translateY(6px);
}

.embed-state strong {
  font-size: 0.98rem;
}
.embed-state p {
  margin: 0;
  color: var(--ink-soft);
}

.skeleton {
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(90deg, #edf3ff 0%, #f8fbff 50%, #edf3ff 100%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton-cta {
  width: 46%;
  min-width: 180px;
}

.privacy {
  margin-top: 0;
  font-size: 0.8rem;
  max-width: none;
  padding-right: 4px;
}

.hs-form,
.hs-form fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.hs-form {
  display: grid;
  gap: 14px;
}

.hs-form > fieldset,
.hs-form > .hs-form-field,
.hs-form > .hs_submit {
  margin: 0 !important;
}

.hs-form fieldset {
  display: grid;
  gap: 14px;
}

.hs-form .hs-form-field,
.hs-form .input,
.hs-form .actions,
.hs-form .hs_submit {
  margin: 0 !important;
  padding: 0 !important;
}

.hs-form label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.hs-form .hs-input,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form select,
.hs-form textarea {
  width: 100% !important;
  min-height: 48px;
  padding: 12px 15px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(16, 40, 93, 0.12) !important;
  background: #f7faff !important;
  color: var(--ink) !important;
  font: inherit !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  line-height: 20px !important;
}

.hs-form textarea {
  min-height: 88px;
  resize: vertical;
}

.hs-form .hs-input:focus,
.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
  outline: none !important;
  border-color: rgba(30, 87, 218, 0.28) !important;
  box-shadow: 0 0 0 4px rgba(30, 87, 218, 0.1) !important;
  background: #ffffff !important;
}

.hs-form ul,
.hs-form li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-form .inputs-list {
  display: grid;
  gap: 8px;
}

.hs-form .hs-button,
.hs-form input[type="submit"] {
  width: 100%;
  min-height: 54px;
  margin-top: 0 !important;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #3c7aff);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(30, 87, 218, 0.22);
  text-align: center;
}

.hs-form .hs-button:focus {
  background: linear-gradient(135deg, var(--brand), #3c7aff) !important;
}

.hs-form .hs-error-msg,
.hs-error-msgs label,
.hs-form .legal-consent-container,
.hs-form .hs-richtext,
.hs-form .hs-main-font-element,
.hs-form .submitted-message {
  color: var(--ink-soft) !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  body {
    overflow: auto;
  }
  .shell {
    min-height: auto;
    padding: 18px 0 28px;
    display: block;
  }
  .frame,
  .trust-stack {
    grid-template-columns: 1fr;
  }
  .form-panel {
    order: 1;
  }
  .panel {
    order: 2;
  }
  .panel,
  .form-shell {
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 20px), 1180px);
  }
  .panel {
    padding: 22px;
  }
  .form-panel {
    padding: 14px;
  }
  .form-shell {
    padding: 18px;
  }
  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
  body {
    overflow: auto;
  }
  .trust-proof {
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 10px;
  }
  .trust-note {
    grid-column: 1;
    grid-row: auto;
  }
}
