:root {
  --violet: #312999;
  --violet-deep: #211a77;
  --violet-ink: #171340;
  --lime: #b7d62f;
  --paper: #f6f4ec;
  --white: #fff;
  --ink: #1b1b26;
  --muted: #686775;
  --rule: #d9d5c9;
  --danger: #b63c48;
  --success: #287653;
  --font-display: "Avenir Next", "Century Gothic", sans-serif;
  --font-body: "Avenir Next", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--violet);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(540px, 1.08fr);
  min-height: 100vh;
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: clamp(28px, 4vw, 64px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 84%, rgb(183 214 47 / 18%), transparent 27%),
    linear-gradient(140deg, var(--violet) 0%, var(--violet) 56%, var(--violet-deep) 100%);
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.27'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.brand-panel__top,
.brand-copy,
.privacy-note {
  position: relative;
  z-index: 2;
}

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

.logo-frame {

  height: 54px;
  overflow: hidden;
  background: transparent;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.service-label,
.eyebrow,
.step-marker,
.result__label,
footer {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.service-label {
  font-size: 0.69rem;
  font-weight: 700;
  color: rgb(255 255 255 / 68%);
}

.brand-copy {
  max-width: 630px;
  margin-block: auto;
  padding: 9vh 0 12vh;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
}

.brand-copy h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.5vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.brand-copy > p:last-child {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(0.97rem, 1.2vw, 1.12rem);
  line-height: 1.7;
}

.range-map {
  position: absolute;
  right: -90px;
  bottom: 13%;
  z-index: 1;
  width: min(39vw, 540px);
  height: 220px;
  transform: rotate(-9deg);
  opacity: 0.8;
}

.range-map__line {
  position: absolute;
  left: 0;
  height: 1px;
  background: rgb(255 255 255 / 18%);
}

.range-map__line::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
}

.range-map__line--one { top: 10px; width: 56%; }
.range-map__line--two { top: 72px; width: 78%; }
.range-map__line--three { top: 134px; width: 93%; }
.range-map__line--four { top: 196px; width: 100%; }

.range-map__marker {
  position: absolute;
  top: 83px;
  left: 58%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: var(--violet-ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 0 0 12px rgb(183 214 47 / 12%);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: rgb(255 255 255 / 66%);
  font-size: 0.76rem;
}

.privacy-note__icon {
  width: 9px;
  height: 9px;
  border: 2px solid var(--lime);
  border-radius: 50%;
}

.form-panel {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 80px) clamp(24px, 7vw, 110px) 28px;
  background:
    linear-gradient(90deg, rgb(49 41 153 / 5%) 1px, transparent 1px) 0 0 / 84px 100%,
    var(--paper);
}

.form-wrap {
  position: relative;
  width: min(100%, 570px);
  margin: auto;
}

.step-marker {
  position: absolute;
  top: 6px;
  right: 0;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.step-marker span {
  color: var(--violet);
}

.form-heading {
  padding-right: 78px;
  margin-bottom: 42px;
}

.eyebrow--dark {
  margin-bottom: 17px;
  color: var(--violet);
}

.form-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.form-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.field {
  margin-bottom: 25px;
}

.field label,
.captcha-field legend {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.81rem;
  font-weight: 700;
}

.field label span,
.captcha-field legend span {
  color: var(--violet);
}

input,
select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: rgb(255 255 255 / 58%);
  border: 1px solid var(--rule);
  border-radius: 0;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input::placeholder {
  color: #96929b;
}

input:focus,
select:focus {
  background: var(--white);
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgb(49 41 153 / 12%);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "⌄";
  position: absolute;
  top: 14px;
  right: 17px;
  color: var(--violet);
  font-size: 1.1rem;
  pointer-events: none;
}

select {
  appearance: none;
  padding-right: 48px;
}

.field-hint,
.field-error {
  margin: 7px 0 0;
  font-size: 0.72rem;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  min-height: 0.9em;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

.captcha-field {
  padding: 0;
  margin: 0 0 29px;
  border: 0;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 1fr 54px;
  gap: 9px;
}

.captcha-question {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  color: var(--white);
  background:
    repeating-linear-gradient(-45deg, rgb(255 255 255 / 5%) 0 7px, transparent 7px 14px),
    var(--violet-ink);
  font-family: "Courier New", monospace;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.captcha-refresh {
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  color: var(--violet);
  background: transparent;
  border: 1px solid var(--rule);
  font-size: 1.35rem;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.captcha-refresh:hover {
  color: var(--white);
  background: var(--violet);
}

.captcha-refresh:active span {
  transform: rotate(45deg);
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: 0 7px 0 21px;
  color: var(--white);
  background: var(--violet);
  border: 0;
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-button:hover {
  background: var(--violet-deep);
  transform: translateY(-2px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.submit-button__arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--violet-ink);
  background: var(--lime);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.submit-button:hover .submit-button__arrow {
  transform: translateX(2px);
}

.result {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  margin-top: 24px;
  padding: 22px 50px 22px 20px;
  color: var(--white);
  background: var(--success);
  animation: result-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.result[hidden] {
  display: none;
}

.result__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--success);
  background: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.result__label {
  margin: 2px 0 7px;
  color: rgb(255 255 255 / 70%);
  font-size: 0.61rem;
  font-weight: 800;
}

.result h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.result p:last-child {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: 0.69rem;
}

.result button {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 1.4rem;
}

.status-message {
  min-height: 1.2em;
  margin: 15px 0 0;
  color: var(--danger);
  font-size: 0.78rem;
  line-height: 1.45;
}

.status-message[data-type="success"] {
  color: var(--success);
}

.form-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
  font-size: 0.76rem;
  font-weight: 800;
}

.form-links a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.secondary-form {
  padding-top: 8px;
}

.result-link {
  color: var(--white);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding-top: 30px;
  color: #85818a;
  font-size: 0.56rem;
  font-weight: 700;
}

.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;
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: auto;
    padding: 28px clamp(24px, 7vw, 70px) 44px;
  }

  .brand-copy {
    max-width: 720px;
    padding: 70px 0 58px;
  }

  .brand-copy h1 {
    font-size: clamp(2.7rem, 8vw, 5.2rem);
  }

  .range-map {
    right: -60px;
    bottom: 8%;
    width: 55vw;
    opacity: 0.45;
  }

  .form-panel {
    min-height: auto;
    padding: 68px clamp(24px, 9vw, 90px) 26px;
  }

  .form-wrap {
    margin: 0 auto 50px;
  }
}

@media (max-width: 560px) {
  .brand-panel__top {
    align-items: flex-start;
  }

  .service-label {
    max-width: 90px;
    text-align: right;
    line-height: 1.5;
  }

  .brand-copy {
    padding: 55px 0 42px;
  }

  .brand-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.8rem);
  }

  .brand-copy > p:last-child {
    margin-top: 22px;
  }

  .form-panel {
    padding-top: 52px;
  }

  .form-heading {
    padding-right: 0;
    margin-top: 44px;
    margin-bottom: 34px;
  }

  .captcha-row {
    grid-template-columns: 1fr 54px;
  }

  .captcha-question {
    grid-column: 1 / -1;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
