:root {
  --hg-ink: #201642;
  --hg-copy: #665e79;
  --hg-purple: #6947f5;
  --hg-purple-dark: #4428c8;
  --hg-blue: #3972ff;
  --hg-pink: #df4fb9;
  --hg-yellow: #ffd968;
  --hg-mint: #75e8c1;
  --hg-page: #f7f4ff;
  --hg-white: #ffffff;
  --hg-line: rgba(76, 54, 147, 0.14);
  --hg-shadow: 0 26px 70px rgba(62, 38, 129, 0.14);
  --hg-shadow-strong: 0 36px 90px rgba(44, 24, 112, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hg-public-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--hg-ink);
  background:
    radial-gradient(
      circle at 5% 4%,
      rgba(87, 106, 255, 0.13),
      transparent 28%
    ),
    radial-gradient(
      circle at 95% 12%,
      rgba(223, 79, 185, 0.12),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #fbfaff 0%,
      #f5f1ff 54%,
      #fff8e8 100%
    );
}

body.hg-public-page,
body.hg-public-page button,
body.hg-public-page input,
body.hg-public-page select,
body.hg-public-page textarea {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.hg-public-page a {
  color: inherit;
}

.hg-container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.hg-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  border-bottom: 1px solid rgba(76, 54, 147, 0.08);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.hg-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hg-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.hg-logo img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 168px;
  object-fit: contain;
}

.hg-nav-links,
.hg-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hg-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  color: #5e5672;
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.hg-nav-link:hover,
.hg-nav-link[aria-current="page"] {
  color: var(--hg-purple-dark);
  background: rgba(103, 71, 245, 0.08);
}

.hg-nav-link:hover {
  transform: translateY(-1px);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.hg-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 880;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    filter 0.18s ease;
}

.hg-button:hover {
  transform: translateY(-2px);
}

.hg-button-secondary {
  border-color: var(--hg-line);
  color: var(--hg-purple-dark);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(56, 35, 118, 0.07);
}

.hg-button-secondary:hover {
  border-color: rgba(103, 71, 245, 0.28);
  box-shadow: 0 15px 30px rgba(56, 35, 118, 0.12);
}

.hg-button-primary {
  color: #ffffff;
  background:
    linear-gradient(
      110deg,
      var(--hg-purple-dark),
      var(--hg-purple) 52%,
      var(--hg-pink)
    );
  box-shadow: 0 16px 32px rgba(94, 59, 218, 0.23);
}

.hg-button-primary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -120px;
  width: 90px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent
    );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.hg-button-primary:hover::before {
  left: 120%;
}

.hg-button-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 20px 38px rgba(94, 59, 218, 0.3);
}

/* =========================================================
   SHARED TYPOGRAPHY
   ========================================================= */

.hg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(103, 71, 245, 0.14);
  border-radius: 999px;
  color: var(--hg-purple-dark);
  background: rgba(103, 71, 245, 0.07);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hg-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--hg-blue),
      var(--hg-pink)
    );
  box-shadow: 0 0 0 5px rgba(103, 71, 245, 0.08);
}

.hg-eyebrow-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
}

.hg-eyebrow-light::before {
  background: var(--hg-yellow);
  box-shadow: 0 0 0 5px rgba(255, 217, 104, 0.12);
}

.hg-gradient-text {
  color: transparent;
  background:
    linear-gradient(
      110deg,
      var(--hg-purple-dark),
      var(--hg-blue) 45%,
      var(--hg-pink)
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.hg-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hg-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(103, 71, 245, 0.12);
  border-radius: 999px;
  color: #5f5872;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 20px rgba(58, 36, 126, 0.05);
  font-size: 12px;
  font-weight: 760;
}

.hg-check::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--hg-purple),
      var(--hg-pink)
    );
  font-size: 11px;
  font-weight: 900;
}

.hg-check-light {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hg-check-light::before {
  color: var(--hg-purple-dark);
  background: #fff0a7;
}

.hg-section-heading {
  display: grid;
  gap: 13px;
  max-width: 730px;
  margin-bottom: 28px;
}

.hg-section-heading h2 {
  margin: 0;
  color: var(--hg-ink);
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.hg-section-heading p {
  margin: 0;
  color: var(--hg-copy);
  font-size: 16px;
  line-height: 1.7;
}

/* =========================================================
   SHARED HERO
   ========================================================= */

.hg-gradient-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 36px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(68, 108, 255, 0.27),
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 18%,
      rgba(224, 79, 185, 0.22),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #4025b1 0%,
      #6947d7 49%,
      #b044a4 100%
    );
  box-shadow: var(--hg-shadow-strong);
}

.hg-gradient-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.19;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    );
  background-size: 52px 52px;
}

.hg-gradient-hero > * {
  position: relative;
  z-index: 2;
}

/* =========================================================
   BOOK DEMO PAGE
   ========================================================= */

.demo-main {
  padding: 58px 0 0;
}

.demo-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(540px, 1.18fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px;
}

.demo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 12px;
}

.demo-title {
  max-width: 9ch;
  margin: 24px 0 18px;
  font-size: clamp(3.25rem, 6.6vw, 6.2rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
  font-weight: 980;
}

.demo-title span {
  display: block;
  color: #fff0a7;
}

.demo-subtitle {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.72;
}

.demo-mini-scene {
  position: relative;
  min-height: 245px;
  margin-top: 24px;
  display: grid;
  place-items: center;
}

.demo-cloud {
  width: min(310px, 78%);
  filter: drop-shadow(
    0 26px 25px rgba(27, 13, 85, 0.28)
  );
  animation: demo-cloud-float 5s ease-in-out infinite;
}

.demo-tip {
  position: absolute;
  top: 18px;
  right: 2%;
  width: 215px;
  padding: 13px 14px;
  border-radius: 17px;
  color: var(--hg-ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 38px rgba(35, 17, 101, 0.22);
  transform: rotate(3deg);
}

.demo-tip strong,
.demo-tip span {
  display: block;
}

.demo-tip strong {
  font-size: 12px;
}

.demo-tip span {
  margin-top: 4px;
  color: var(--hg-copy);
  font-size: 10px;
  line-height: 1.45;
}

.demo-calendar-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 68px rgba(37, 19, 103, 0.27);
}

.demo-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 6px 17px;
}

.demo-calendar-label strong,
.demo-calendar-label span {
  display: block;
}

.demo-calendar-label strong {
  color: var(--hg-ink);
  font-size: 15px;
}

.demo-calendar-label span {
  margin-top: 3px;
  color: var(--hg-copy);
  font-size: 11px;
}

.demo-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hg-purple-dark);
  text-decoration: none;
  font-size: 11px;
  font-weight: 850;
}

.demo-open-link:hover {
  text-decoration: underline;
}

.demo-frame-wrap {
  overflow: hidden;
  border: 1px solid var(--hg-line);
  border-radius: 20px;
  background: #ffffff;
}

.demo-iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: #ffffff;
}

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 4px 0;
  color: #81798f;
  font-size: 11px;
  line-height: 1.55;
}

.demo-note::before {
  content: "i";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: var(--hg-purple);
  font-size: 10px;
  font-weight: 900;
}

.demo-expect {
  padding: 76px 0 8px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.demo-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(103, 71, 245, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--hg-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 76px rgba(62, 38, 129, 0.2);
}

.demo-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--hg-purple),
      var(--hg-pink)
    );
  box-shadow: 0 14px 26px rgba(103, 71, 245, 0.2);
  font-weight: 900;
}

.demo-card h3 {
  margin: 20px 0 9px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.demo-card p {
  margin: 0;
  color: var(--hg-copy);
  font-size: 14px;
  line-height: 1.65;
}

@keyframes demo-cloud-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

/* =========================================================
   HOW IT WORKS PAGE
   ========================================================= */

.how-main {
  padding: 58px 0 0;
}

.how-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(390px, 0.82fr);
  gap: 42px;
  align-items: center;
  padding: 58px;
}

.how-title {
  max-width: 10ch;
  margin: 24px 0 18px;
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 980;
}

.how-title span {
  display: block;
  color: #fff0a7;
}

.how-subtitle {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.72;
}

.how-visual-card {
  position: relative;
  min-height: 490px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 32px 70px rgba(35, 18, 104, 0.27);
  transform: rotate(2deg);
}

.how-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 4px 17px;
  color: var(--hg-ink);
}

.how-window-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
}

.how-window-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hg-mint);
  box-shadow: 0 0 0 5px rgba(117, 232, 193, 0.15);
}

.how-window-status {
  padding: 6px 10px;
  border-radius: 999px;
  color: #187452;
  background: #ebfff7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.how-window-body {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--hg-line);
  border-radius: 22px;
  background: #f8f6ff;
}

.how-progress-panel,
.how-activity {
  padding: 16px;
  border: 1px solid rgba(103, 71, 245, 0.11);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(53, 34, 117, 0.06);
}

.how-progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.how-progress-copy span,
.how-progress-copy strong {
  display: block;
}

.how-progress-copy span {
  color: var(--hg-copy);
  font-size: 11px;
  font-weight: 750;
}

.how-progress-copy strong {
  margin-top: 4px;
  color: var(--hg-ink);
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.how-progress-note {
  color: var(--hg-copy);
  font-size: 10px;
  text-align: right;
}

.how-progress-rail {
  height: 10px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe7f8;
}

.how-progress-fill {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--hg-purple),
      var(--hg-blue),
      var(--hg-pink)
    );
}

.how-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.how-metric {
  padding: 14px;
  border: 1px solid rgba(103, 71, 245, 0.1);
  border-radius: 16px;
  color: var(--hg-ink);
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f4f0ff
    );
}

.how-metric strong,
.how-metric span {
  display: block;
}

.how-metric strong {
  font-size: 23px;
  letter-spacing: -0.04em;
}

.how-metric span {
  margin-top: 4px;
  color: var(--hg-copy);
  font-size: 9px;
  line-height: 1.4;
  font-weight: 750;
}

.how-activity {
  display: grid;
  gap: 9px;
}

.how-activity-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(103, 71, 245, 0.08);
}

.how-activity-row:last-child {
  border-bottom: 0;
}

.how-activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--hg-blue),
      var(--hg-pink)
    );
}

.how-activity-copy strong,
.how-activity-copy span {
  display: block;
}

.how-activity-copy strong {
  color: var(--hg-ink);
  font-size: 11px;
}

.how-activity-copy span {
  margin-top: 2px;
  color: var(--hg-copy);
  font-size: 9px;
}

.how-activity-state {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--hg-purple-dark);
  background: rgba(103, 71, 245, 0.08);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.how-flow-section {
  padding: 82px 0 0;
}

.how-flow-line {
  position: relative;
  display: grid;
  gap: 18px;
}

.how-flow-line::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 40px;
  width: 2px;
  opacity: 0.25;
  background:
    linear-gradient(
      var(--hg-purple),
      var(--hg-blue),
      var(--hg-pink),
      var(--hg-yellow)
    );
}

.how-step {
  position: relative;
  display: grid;
  grid-template-columns:
    82px
    minmax(0, 0.85fr)
    minmax(320px, 1.15fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(103, 71, 245, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--hg-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.how-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 78px rgba(62, 38, 129, 0.2);
}

.how-step:nth-child(even) {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92),
      rgba(247, 242, 255, 0.94)
    );
}

.how-step-number {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 6px solid #f8f5ff;
  border-radius: 20px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--hg-purple),
      var(--hg-pink)
    );
  box-shadow: 0 16px 30px rgba(103, 71, 245, 0.22);
  font-size: 18px;
  font-weight: 950;
}

.how-step-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.how-step-copy p {
  margin: 13px 0 0;
  color: var(--hg-copy);
  font-size: 15px;
  line-height: 1.7;
}

.how-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.how-step-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 68px;
  padding: 13px;
  border: 1px solid rgba(103, 71, 245, 0.1);
  border-radius: 16px;
  color: #554d69;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 720;
}

.how-step-item::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--hg-purple),
      var(--hg-pink)
    );
  font-size: 10px;
  font-weight: 900;
}

.how-monitor {
  display: grid;
  grid-template-columns:
    minmax(0, 0.86fr)
    minmax(420px, 1.14fr);
  gap: 30px;
  align-items: center;
  margin-top: 78px;
  padding: 42px;
  border: 1px solid rgba(103, 71, 245, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(
      140deg,
      #ffffff 0%,
      #f6f0ff 54%,
      #fff9e8 100%
    );
  box-shadow: var(--hg-shadow);
}

.how-monitor h2 {
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.how-monitor p {
  margin: 17px 0 0;
  color: var(--hg-copy);
  font-size: 16px;
  line-height: 1.7;
}

.monitor-feed {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #322080,
      #5d39bd 54%,
      #943988
    );
  box-shadow: 0 28px 60px rgba(53, 29, 134, 0.23);
}

.monitor-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 10px;
  font-size: 12px;
  font-weight: 900;
}

.monitor-live {
  color: #8ff0cc;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.monitor-event {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.monitor-time {
  color: #fff0a7;
  font-size: 11px;
  font-weight: 900;
}

.monitor-event strong,
.monitor-event span {
  display: block;
}

.monitor-event strong {
  font-size: 12px;
}

.monitor-event span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  line-height: 1.45;
}

.how-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 72px;
  padding: 36px;
  border-radius: 30px;
  color: #ffffff;
  background:
    linear-gradient(
      120deg,
      var(--hg-purple-dark),
      var(--hg-purple) 55%,
      var(--hg-pink)
    );
  box-shadow: var(--hg-shadow-strong);
}

.how-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.how-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.how-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.how-cta .hg-button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.how-cta .hg-button-primary {
  color: var(--hg-purple-dark);
  background: #fff0a7;
  box-shadow: 0 16px 30px rgba(25, 13, 79, 0.2);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-main {
  padding: 58px 0 0;
}

.contact-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(440px, 1.08fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
}

.contact-copy {
  padding: 28px 10px;
}

.contact-title {
  max-width: 8.5ch;
  margin: 24px 0 18px;
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 980;
}

.contact-title span {
  display: block;
  color: #fff0a7;
}

.contact-subtitle {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.72;
}

.contact-email-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 17px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.contact-email-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.contact-email-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--hg-purple-dark);
  background: #fff0a7;
  font-weight: 900;
}

.contact-email-copy strong,
.contact-email-copy span {
  display: block;
}

.contact-email-copy strong {
  font-size: 12px;
}

.contact-email-copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.contact-form-card {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 28px;
  color: var(--hg-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 70px rgba(33, 17, 99, 0.27);
}

.contact-form-tag {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--hg-purple-dark);
  background: rgba(103, 71, 245, 0.08);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-form-head h2 {
  margin: 16px 0 8px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-form-head p {
  margin: 0;
  color: var(--hg-copy);
  font-size: 13px;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field-label {
  color: #3d3557;
  font-size: 11px;
  font-weight: 850;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  border: 1px solid var(--hg-line);
  border-radius: 14px;
  outline: none;
  color: var(--hg-ink);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(59, 38, 122, 0.04);
  font-size: 14px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.contact-input,
.contact-select {
  min-height: 53px;
  padding: 0 15px;
}

.contact-select {
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--hg-purple) 50%
    ),
    linear-gradient(
      135deg,
      var(--hg-purple) 50%,
      transparent 50%
    );
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-textarea {
  min-height: 126px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #aaa3b9;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: rgba(103, 71, 245, 0.55);
  box-shadow: 0 0 0 4px rgba(103, 71, 245, 0.1);
}

.contact-submit {
  width: 100%;
  min-height: 55px;
  margin-top: 2px;
}

.contact-form-note {
  margin: 0;
  color: #888095;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.support-form-status {
  padding: 12px 13px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.contact-path {
  padding: 78px 0 0;
}

.contact-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-path-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(103, 71, 245, 0.12);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--hg-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 76px rgba(62, 38, 129, 0.2);
}

.contact-path-card::after {
  content: attr(data-number);
  position: absolute;
  right: 14px;
  bottom: -10px;
  color: rgba(103, 71, 245, 0.07);
  font-size: 76px;
  font-weight: 980;
  letter-spacing: -0.06em;
}

.contact-path-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--hg-purple),
      var(--hg-pink)
    );
  box-shadow: 0 13px 25px rgba(103, 71, 245, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.contact-path-card h3 {
  position: relative;
  z-index: 2;
  margin: 19px 0 9px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.contact-path-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--hg-copy);
  font-size: 13px;
  line-height: 1.65;
}

.contact-topics {
  margin-top: 72px;
  padding: 38px;
  border: 1px solid rgba(103, 71, 245, 0.12);
  border-radius: 31px;
  background:
    linear-gradient(
      140deg,
      #ffffff,
      #f6f0ff 55%,
      #fff9e8
    );
  box-shadow: var(--hg-shadow);
}

.contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-topic {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 126px;
  padding: 20px;
  border: 1px solid rgba(103, 71, 245, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.contact-topic-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--hg-purple-dark);
  background: rgba(103, 71, 245, 0.09);
  font-weight: 900;
}

.contact-topic h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.contact-topic p {
  margin: 7px 0 0;
  color: var(--hg-copy);
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */

.hg-footer {
  margin-top: 70px;
  padding: 34px 0;
  border-top: 1px solid rgba(76, 54, 147, 0.1);
  color: #817a91;
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.hg-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hg-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hg-footer a {
  text-decoration: none;
}

.hg-footer a:hover {
  color: var(--hg-purple-dark);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .demo-hero,
  .how-hero,
  .contact-hero,
  .how-monitor {
    grid-template-columns: 1fr;
  }

  .demo-title,
  .contact-title {
    max-width: 11ch;
  }

  .how-visual-card {
    min-height: auto;
    transform: none;
  }

  .how-step {
    grid-template-columns: 72px 1fr;
  }

  .how-step-list {
    grid-column: 2;
  }

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

@media (max-width: 980px) {
  .hg-nav-links {
    display: none;
  }

  .hg-container {
    width: min(100% - 28px, 1220px);
  }
}

@media (max-width: 760px) {
  .demo-main,
  .how-main,
  .contact-main {
    padding-top: 28px;
  }

  .demo-hero,
  .how-hero,
  .contact-hero {
    padding: 22px;
    border-radius: 27px;
  }

  .demo-copy,
  .contact-copy {
    padding: 16px 2px;
  }

  .demo-title,
  .how-title,
  .contact-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .demo-tip {
    right: 0;
    width: 180px;
  }

  .demo-calendar-card {
    padding: 11px;
    border-radius: 22px;
  }

  .demo-calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-iframe {
    min-height: 680px;
  }

  .demo-grid,
  .how-metrics,
  .contact-row,
  .contact-path-grid,
  .contact-topic-grid {
    grid-template-columns: 1fr;
  }

  .how-flow-line::before {
    display: none;
  }

  .how-step {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .how-step-list {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .how-step-number {
    width: 56px;
    height: 56px;
  }

  .how-monitor {
    padding: 25px 20px;
  }

  .how-cta {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .how-cta-actions {
    justify-content: flex-start;
  }

  .contact-form-card {
    padding: 21px 17px;
    border-radius: 23px;
  }

  .contact-topics {
    padding: 24px 18px;
  }
}

@media (max-width: 640px) {
  .hg-topbar {
    padding: 11px 0;
  }

  .hg-logo img {
    height: 37px;
  }

  .hg-nav-actions .hg-button-secondary {
    display: none;
  }

  .hg-button {
    min-height: 43px;
    padding: 0 14px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}