:root {
  --purple: #4830a8;
  --purple-dark: #1b0a3c;
  --magenta: #8a0e86;
  --pink: #c2186a;
  --orange: #f0742b;
  --blue: #1baae4;

  --text-muted: #584a7e;
  --placeholder: #9a8fbe;
  --surface-soft: #f5f2fd;

  --border: rgba(72, 48, 168, 0.18);
  --focus: rgba(72, 48, 168, 0.12);

  --gradient:
    linear-gradient(
      112deg,
      var(--blue) 0%,
      var(--purple) 32%,
      var(--magenta) 56%,
      var(--pink) 76%,
      var(--orange) 100%
    );
}

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

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;

  font-family:
    "Segoe UI",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  color: var(--purple-dark);
  background: #fff;
}

button,
input,
textarea,
select {
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: var(--placeholder);
}

.page-shell {
  position: relative;

  width: 100%;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  overflow: hidden;

  padding: 48px 24px;
}

.page-shell::before,
.page-shell::after {
  content: "";

  position: absolute;
  z-index: 0;

  width: 320px;
  height: 320px;

  border-radius: 999px;

  filter: blur(80px);
  opacity: 0.26;

  pointer-events: none;
}

.page-shell::before {
  top: -80px;
  left: calc(50% - 400px);

  background: var(--blue);
}

.page-shell::after {
  top: 60px;
  right: calc(50% - 430px);

  width: 300px;
  height: 300px;

  background: var(--orange);
}

.card {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 560px;

  padding: 40px 34px;

  background: #fff;

  border: 1.5px solid rgba(72, 48, 168, 0.13);
  border-radius: 28px;

  box-shadow:
    0 14px 44px rgba(27, 10, 60, 0.10);
}

.eyebrow {
  margin: 0 0 8px;

  font-weight: 700;
  font-size: 0.8rem;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--magenta);
}

h1,
h2 {
  font-family:
    ui-rounded,
    "Trebuchet MS",
    "Segoe UI",
    system-ui,
    sans-serif;

  color: var(--purple-dark);
}

h1 {
  margin: 0 0 10px;

  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 800;
}

.intro {
  margin: 0 0 28px;

  color: var(--text-muted);
  font-size: 0.98rem;
}

#inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field > span,
.interest-fieldset legend {
  font-size: 0.85rem;
  font-weight: 700;

  color: var(--purple-dark);
}

input,
textarea,
select {
  width: 100%;

  padding: 0.75em 0.9em;

  color: var(--purple-dark);
  background: #fff;

  border: 1.5px solid var(--border);
  border-radius: 12px;

  font-size: 0.95rem;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;

  border-color: var(--purple);

  box-shadow:
    0 0 0 4px var(--focus);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
.chip input:focus-visible + span {
  outline: 3px solid rgba(72, 48, 168, 0.28);
  outline-offset: 2px;
}

.interest-fieldset {
  margin: 0;
  padding: 0;

  border: 0;
}

.interest-fieldset legend {
  margin-bottom: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;

  padding: 0.5em 1em;

  border: 1.5px solid rgba(72, 48, 168, 0.30);
  border-radius: 999px;

  background: #fff;
  color: var(--purple);

  font-size: 0.85rem;
  font-weight: 700;

  cursor: pointer;

  user-select: none;

  transition:
    transform 150ms ease,
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.chip span:hover {
  transform: translateY(-1px);
}

.chip input:checked + span {
  color: #fff;
  border-color: transparent;

  background: var(--gradient);
}

.conditional-section {
  display: flex;
  flex-direction: column;

  gap: 18px;

  padding: 16px 18px;

  background: var(--surface-soft);

  border-radius: 16px;
}

.submit-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  margin-top: 8px;
  padding: 0.9em 1.7em;

  border: 0;
  border-radius: 999px;

  color: #fff;
  background: var(--gradient);

  font-weight: 700;
  font-size: 1.05rem;

  cursor: pointer;

  box-shadow:
    0 10px 26px rgba(138, 14, 134, 0.32);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-3px);

  box-shadow:
    0 16px 34px rgba(138, 14, 134, 0.40);
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  min-height: 1.4em;
  margin: 0;

  color: var(--text-muted);

  font-size: 0.9rem;
  text-align: center;
}

.form-status.error,
.form-error {
  color: #9a1c1c;
}

.success-view {
  padding: 24px 4px;

  text-align: center;
}

.success-view h2 {
  margin: 0 0 8px;

  font-size: 1.5rem;
  font-weight: 800;
}

.success-view p {
  margin: 0;

  color: var(--text-muted);
}

.success-icon {
  display: grid;
  place-items: center;

  width: 64px;
  height: 64px;

  margin: 0 auto 18px;

  border-radius: 50%;

  background: var(--gradient);
}

.success-icon svg {
  fill: none;
  stroke: #fff;

  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.honeypot {
  position: absolute !important;

  left: -10000px !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;
}

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

  border: 0;
}

@media (max-width: 600px) {
  .page-shell {
    padding: 24px 14px;
  }

  .card {
    padding: 30px 22px;

    border-radius: 22px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}