:root {
  --navy: #0c112e;
  --navy-light: #151b43;
  --coral: #ff8562;
  --coral-soft: #ffe2d9;
  --blue: #2015ff;
  --ink: #10142f;
  --muted: #6c718d;
  --paper: #f4f5f8;
  --line: #dfe2ec;
  --white: #ffffff;
  --shadow: 0 24px 75px rgba(12, 17, 46, .14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  display: block;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  filter: blur(2px);
}

body::before {
  top: -16rem;
  right: -14rem;
  background: rgba(255, 133, 98, .17);
}

body::after {
  bottom: -20rem;
  left: -17rem;
  background: rgba(32, 21, 255, .08);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.background-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(12, 17, 46, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 17, 46, .045) 1px, transparent 1px);
  background-position: center;
  background-size: 72px 72px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, black 66%, transparent 100%);
}

.site-header,
.page-shell,
.site-footer {
  width: min(1280px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 22px;
}

.official-logo {
  display: block;
  width: min(190px, 46vw);
  height: auto;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.1em;
  transform: rotate(-7deg);
  box-shadow: 5px 5px 0 var(--coral);
}

.brand-name {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.055em;
}

.brand-name span {
  color: var(--blue);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.header-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 133, 98, .16);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 540px);
  align-items: center;
  gap: clamp(54px, 9vw, 150px);
  min-height: calc(100vh - 148px);
  padding: 50px 0 82px;
}

.hero-copy {
  position: relative;
  padding: 18px 0 20px;
}

.eyebrow,
.card-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
}

.eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--coral);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 30px;
  color: var(--navy);
  font-size: clamp(62px, 8.2vw, 116px);
  font-weight: 850;
  line-height: .88;
  letter-spacing: -.085em;
}

h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero-lead {
  max-width: 460px;
  margin-bottom: 0;
  color: #5f6580;
  font-size: 17px;
  line-height: 1.65;
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
  gap: 16px;
  margin-top: 46px;
}

.detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px 17px;
  border-top: 1px solid rgba(12, 17, 46, .17);
}

.detail-index {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.detail-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.detail-item strong {
  color: var(--navy);
  font-size: 13px;
}

.hero-stamp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.hero-stamp span {
  color: var(--blue);
  font-size: 17px;
}

.form-card {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  padding: clamp(30px, 4.4vw, 50px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.form-card::before {
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -140px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 133, 98, .34);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 133, 98, .05), 0 0 0 54px rgba(255, 133, 98, .035);
  content: "";
}

.form-card::after {
  position: absolute;
  z-index: -1;
  right: 33px;
  bottom: 31px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(32, 21, 255, .7);
  content: "";
  transform: rotate(45deg);
}

.card-corner {
  position: absolute;
  top: 37px;
  right: 42px;
  color: var(--coral);
  font-size: 24px;
  font-weight: 300;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 31px;
}

.form-card .card-kicker {
  color: var(--coral);
}

.card-number {
  color: rgba(255, 255, 255, .28);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.form-card h2 {
  max-width: 340px;
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.065em;
}

.form-intro {
  max-width: 360px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.55;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 780;
}

input,
textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

input {
  height: 50px;
  padding: 0 15px;
}

textarea {
  min-height: 104px;
  padding: 13px 15px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #9b9fb1;
}

input:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, .55);
}

input:focus,
textarea:focus {
  border-color: var(--coral);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 133, 98, .2);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #ffb4a1;
  box-shadow: 0 0 0 3px rgba(255, 133, 98, .18);
}

.field-error {
  min-height: 0;
  margin: 6px 0 0;
  color: #ffb4a1;
  font-size: 11px;
  line-height: 1.35;
}

.form-status {
  margin: 4px 0 15px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  line-height: 1.4;
}

.form-status[data-kind="error"] {
  border-color: rgba(255, 133, 98, .55);
  color: #ffd1c5;
  background: rgba(255, 133, 98, .13);
}

.form-status[data-kind="loading"] {
  color: rgba(255, 255, 255, .72);
}

.submit-button,
.secondary-button {
  width: 100%;
  min-height: 55px;
  border: 0;
  border-radius: 12px;
  font-weight: 850;
  transition: transform .2s, color .2s, background .2s, box-shadow .2s;
}

.submit-button {
  color: var(--navy);
  background: var(--coral);
  box-shadow: 0 13px 25px rgba(0, 0, 0, .2);
}

.submit-button:hover {
  background: #ff9a7d;
  box-shadow: 0 17px 32px rgba(0, 0, 0, .28);
  transform: translateY(-2px);
}

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

.button-progress {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-button.is-loading .button-label {
  display: none;
}

.submit-button.is-loading .button-progress {
  display: inline-flex;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(12, 17, 46, .28);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.privacy-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.success-view {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  justify-content: center;
}

.success-icon {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--coral);
  font-size: 27px;
  font-weight: 950;
}

.success-view .card-kicker {
  margin-bottom: 11px;
}

.success-view h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(37px, 4.3vw, 56px);
  line-height: .95;
  letter-spacing: -.075em;
}

.success-copy {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  line-height: 1.55;
}

.lead-number-wrap {
  margin: 25px 0 27px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 133, 98, .42);
  border-radius: 13px;
  background: rgba(255, 133, 98, .1);
}

.lead-number-wrap span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lead-number-wrap strong {
  color: var(--coral);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: .02em;
}

.secondary-button {
  color: var(--navy);
  background: var(--white);
}

.secondary-button:hover {
  color: var(--blue);
  background: #ececff;
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(12, 17, 46, .12);
  color: #9196aa;
  font-size: 11px;
}

.site-footer > span:first-child {
  color: var(--navy);
  font-weight: 850;
}

.footer-dot {
  padding-left: 5px;
  color: var(--coral);
}

@media (max-width: 920px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 48px, 650px);
  }

  .hero-grid {
    display: block;
    min-height: 0;
    padding-top: 48px;
  }

  .hero-copy {
    margin-bottom: 55px;
  }

  h1 {
    font-size: clamp(62px, 13vw, 104px);
  }

  .form-card {
    min-height: 0;
  }
}

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

@media (max-width: 560px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    padding-top: 22px;
  }

  .header-meta {
    display: none;
  }

  .hero-grid {
    padding-top: 38px;
    padding-bottom: 50px;
  }

  .hero-copy {
    margin-bottom: 42px;
  }

  h1 {
    font-size: clamp(56px, 17vw, 88px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-details {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
  }

  .detail-item {
    padding: 14px 0;
  }

  .form-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .card-corner {
    top: 30px;
    right: 25px;
  }

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

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