.hve-pro,
.hve-report {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--hve-text, #102038);
}

.hve-pro {
  --hve-accent: #2357ff;
  --hve-accent-dark: #1537b8;
  --hve-surface: #f5f8ff;
  --hve-text: #102038;
  --hve-radius-lg: 28px;
  --hve-radius-md: 22px;
  --hve-radius-sm: 16px;
  background:
    radial-gradient(circle at top right, rgba(35, 87, 255, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(35, 87, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, var(--hve-surface) 100%);
  border: 1px solid rgba(35, 87, 255, 0.12);
  border-radius: var(--hve-radius-lg);
  padding: clamp(18px, 2.2vw, 28px);
  box-shadow: 0 20px 60px rgba(16, 32, 56, 0.09);
  position: relative;
  overflow: hidden;
}

.hve-pro * {
  box-sizing: border-box;
}

.hve-pro__hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 22px;
  margin-bottom: 24px;
  align-items: stretch;
}

.hve-pro__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 87, 255, 0.1);
  color: var(--hve-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hve-pro__hero-copy h2 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.hve-pro__hero-copy p,
.hve-pro__small,
.hve-pro__feedback {
  color: #5b6f8a;
}

.hve-pro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hve-pro__chips span {
  padding: 10px 14px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(35,87,255,.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hve-pro__hero-card,
.hve-pro__panel,
.hve-pro__choice-card,
.hve-pro__step,
.hve-pro__success-screen {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(16, 32, 56, 0.08);
  border-radius: var(--hve-radius-md);
  box-shadow: 0 12px 30px rgba(16, 32, 56, 0.05);
}

.hve-pro__hero-card {
  padding: 18px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.hve-pro__hero-stat {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,248,255,.95));
  border: 1px solid rgba(35, 87, 255, 0.08);
}

.hve-pro__hero-stat strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.hve-pro__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hve-pro__progress-copy,
.hve-pro__progress-hint {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(35,87,255,.12);
  font-size: 13px;
  font-weight: 700;
}

.hve-pro__progress-copy {
  color: var(--hve-accent-dark);
}

.hve-pro__progress-hint {
  color: #5b6f8a;
}

.hve-pro__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.hve-pro__step {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .2s ease;
}

.hve-pro__step span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(35,87,255,.1);
  color: var(--hve-accent-dark);
  font-weight: 800;
  flex: 0 0 auto;
}

.hve-pro__step small {
  font-size: 13px;
  color: #5b6f8a;
  font-weight: 700;
  line-height: 1.2;
}

.hve-pro__step.is-active {
  border-color: rgba(35,87,255,.28);
  box-shadow: 0 16px 36px rgba(35,87,255,.10);
}

.hve-pro__step.is-active span,
.hve-pro__step.is-complete span {
  background: linear-gradient(135deg, var(--hve-accent), var(--hve-accent-dark));
  color: #fff;
}

.hve-pro__form {
  display: grid;
  gap: 18px;
}

.hve-pro__step-panel[hidden] {
  display: none !important;
}

.hve-pro__panel {
  padding: 22px;
}

.hve-pro__panel--nested {
  padding: 18px;
  margin-top: 10px;
}

.hve-pro__panel-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.hve-pro__panel-head p {
  margin: 0;
  color: #5b6f8a;
  line-height: 1.55;
}

.hve-pro__grid {
  display: grid;
  gap: 16px;
}

.hve-pro__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hve-pro__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hve-pro__grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hve-pro__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  min-width: 0;
}

.hve-pro__field--wide {
  grid-column: 1 / -1;
}

.hve-pro__address-card {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.hve-pro__field-group[hidden] {
  display: none !important;
}

.hve-pro__field-group.is-active {
  animation: hveFadeIn .18s ease;
}

.hve-pro__readonly {
  background: #f7f9ff !important;
  color: #6f8097 !important;
  border-style: dashed !important;
}

@keyframes hveFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hve-pro input:not([type="checkbox"]):not([type="radio"]),
.hve-pro select,
.hve-pro textarea {
  appearance: none;
  width: 100%;
  min-height: 52px;
  border: 1px solid #d7e2f7;
  border-radius: var(--hve-radius-sm);
  padding: 14px 15px;
  background: #fff;
  font-size: 16px;
  line-height: 1.3;
  color: var(--hve-text, #102038);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hve-pro input:not([type="checkbox"]):not([type="radio"]):focus,
.hve-pro select:focus,
.hve-pro textarea:focus {
  border-color: var(--hve-accent, #2357ff);
  box-shadow: 0 0 0 4px rgba(35, 87, 255, 0.12);
  outline: none;
}

.hve-pro__panel--details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hve-pro__panel--details summary::-webkit-details-marker {
  display: none;
}

.hve-pro__panel--details summary span {
  font-weight: 800;
  font-size: 18px;
}

.hve-pro__panel--details summary small {
  color: #5b6f8a;
  line-height: 1.45;
}

.hve-pro__toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.hve-pro__choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  min-height: 64px;
}

.hve-pro__choice-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--hve-accent, #2357ff);
  flex: none;
}

.hve-pro__choice-card:hover,
.hve-pro__choice-card:focus-within {
  border-color: rgba(35,87,255,.18);
  transform: translateY(-1px);
}

.hve-pro__checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  margin-top: 8px;
}

.hve-pro__checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--hve-accent, #2357ff);
  flex: 0 0 auto;
}

.hve-pro__checkbox-row span {
  line-height: 1.5;
}

.hve-pro__step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hve-pro__submit,
.hve-pro__secondary {
  border: 0;
  border-radius: 18px;
  min-height: 54px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  text-align: center;
}

.hve-pro__submit {
  background: linear-gradient(135deg, var(--hve-accent), var(--hve-accent-dark));
  color: #fff;
  box-shadow: 0 16px 28px rgba(35, 87, 255, 0.26);
}

.hve-pro__secondary {
  background: #fff;
  color: var(--hve-text, #102038);
  border: 1px solid #d7e2f7;
}

.hve-pro__submit:hover,
.hve-pro__secondary:hover {
  transform: translateY(-1px);
}

.hve-pro__submit:disabled,
.hve-pro__secondary:disabled {
  opacity: .72;
  cursor: wait;
}

.hve-pro__feedback {
  min-height: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.hve-pro__feedback.is-error {
  color: #b42318;
}

.hve-pro__feedback.is-success {
  color: #027a48;
}

.hve-pro__success-screen {
  padding: 42px 28px;
  text-align: center;
}

.hve-pro__success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hve-accent), var(--hve-accent-dark));
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(35, 87, 255, 0.26);
}

.hve-pro__success-screen h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.hve-pro__success-screen p {
  margin: 0 auto 16px;
  max-width: 620px;
  color: #5b6f8a;
  font-size: 16px;
  line-height: 1.55;
}

.hve-pro__success-email {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(35,87,255,.08);
  color: var(--hve-accent-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

@media (max-width: 1180px) {
  .hve-pro__hero {
    grid-template-columns: 1.1fr .9fr;
  }

  .hve-pro__grid--four,
  .hve-pro__toggle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hve-pro {
    border-radius: 24px;
  }

  .hve-pro__hero,
  .hve-pro__steps,
  .hve-pro__grid--three,
  .hve-pro__grid--two,
  .hve-pro__grid--four,
  .hve-pro__toggle-grid {
    grid-template-columns: 1fr;
  }

  .hve-pro__hero-copy h2 {
    max-width: 14ch;
  }

  .hve-pro__step-actions {
    flex-direction: column;
  }

  .hve-pro__submit,
  .hve-pro__secondary {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .hve-pro {
    padding: 18px;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(16, 32, 56, 0.08);
  }

  .hve-pro__hero {
    gap: 14px;
    margin-bottom: 18px;
  }

  .hve-pro__hero-copy h2 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: clamp(26px, 8vw, 34px);
    max-width: none;
  }

  .hve-pro__hero-copy p {
    font-size: 15px;
    line-height: 1.55;
  }

  .hve-pro__chips {
    gap: 8px;
    margin-top: 14px;
  }

  .hve-pro__chips span {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hve-pro__hero-card {
    padding: 14px;
  }

  .hve-pro__hero-stat {
    padding: 14px;
  }

  .hve-pro__hero-stat strong {
    font-size: 16px;
  }

  .hve-pro__progress-meta {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }

  .hve-pro__progress-copy,
  .hve-pro__progress-hint {
    width: 100%;
    justify-content: center;
  }

  .hve-pro__steps {
    gap: 8px;
    margin-bottom: 14px;
  }

  .hve-pro__step {
    padding: 10px 12px;
    border-radius: 18px;
    box-shadow: none;
  }

  .hve-pro__step span {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .hve-pro__step small {
    font-size: 12px;
  }

  .hve-pro__panel {
    padding: 16px;
    border-radius: 20px;
  }

  .hve-pro__panel--nested {
    padding: 14px;
  }

  .hve-pro__panel-head h3 {
    font-size: 20px;
  }

  .hve-pro__field {
    gap: 7px;
  }

  .hve-pro input:not([type="checkbox"]):not([type="radio"]),
  .hve-pro select,
  .hve-pro textarea {
    min-height: 50px;
    padding: 13px 14px;
  }

  .hve-pro__toggle-grid {
    gap: 10px;
  }

  .hve-pro__choice-card {
    min-height: 58px;
    padding: 14px 15px;
  }

  .hve-pro__checkbox-row {
    align-items: flex-start;
  }

  .hve-pro__step-actions {
    position: sticky;
    bottom: 0;
    padding-top: 12px;
    background: linear-gradient(180deg, rgba(245,248,255,0), rgba(245,248,255,.96) 28%, rgba(245,248,255,.98));
    z-index: 3;
  }

  .hve-pro__submit,
  .hve-pro__secondary {
    min-height: 52px;
    border-radius: 16px;
  }

  .hve-pro__small {
    font-size: 13px;
    line-height: 1.55;
  }

  .hve-pro__feedback {
    font-size: 14px;
  }

  .hve-pro__success-screen {
    padding: 28px 18px;
  }

  .hve-pro__success-icon {
    width: 64px;
    height: 64px;
    font-size: 30px;
  }

  .hve-pro__success-screen p {
    font-size: 15px;
  }

  .hve-pro__success-email {
    width: 100%;
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .hve-pro {
    padding: 14px;
    border-radius: 18px;
  }

  .hve-pro__badge {
    font-size: 11px;
    letter-spacing: .06em;
  }

  .hve-pro__hero-card {
    display: none;
  }

  .hve-pro__chips span:nth-child(n+3) {
    display: none;
  }

  .hve-pro__progress-meta {
    gap: 8px;
  }

  .hve-pro__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hve-pro__step {
    justify-content: center;
    padding: 8px 6px;
    min-height: 54px;
    gap: 6px;
    flex-direction: column;
    text-align: center;
  }

  .hve-pro__step small {
    font-size: 10px;
  }

  .hve-pro__panel {
    padding: 14px;
  }

  .hve-pro__panel-head h3 {
    font-size: 18px;
  }

  .hve-pro__panel-head p,
  .hve-pro__small,
  .hve-pro__field,
  .hve-pro__checkbox-row span {
    font-size: 13px;
  }

  .hve-pro__choice-card {
    min-height: 54px;
    padding: 12px 13px;
    font-size: 13px;
  }

  .hve-pro__step-actions {
    padding-top: 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .hve-pro__submit,
  .hve-pro__secondary {
    min-height: 50px;
    font-size: 15px;
    padding: 14px 16px;
  }

  .hve-pro__success-screen {
    padding: 24px 14px;
  }

  .hve-pro__success-screen h3 {
    font-size: clamp(24px, 8vw, 30px);
  }
}

.hve-pro__verify-banner {
  margin-bottom: 14px;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  border: 1px solid #d9e2f4;
  background: #f7f9ff;
  color: #1d2d4f;
}

.hve-pro__verify-banner.is-loading {
  background: #eef4ff;
  border-color: #c8d8ff;
}

.hve-pro__verify-banner.is-success {
  background: #edf9f1;
  border-color: #b7e4c7;
  color: #14532d;
}

.hve-pro__verify-banner.is-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.hve-pro__small--muted {
  opacity: .78;
}
