:root {
  --navy: #071a32;
  --navy-deep: #041326;
  --gold: #c7a151;
  --gold-light: #deb963;
  --gold-gradient: linear-gradient(90deg, #9a722c 0%, #bc9547 7%, #deb963 13%, #f0cb71 49%, #c7a151 76%, #deb963 81%, #9a722c 100%);
  --white: #ffffff;
  --muted: #94a3b8;
  --border: rgba(199, 161, 81, 0.6);
  --panel: rgba(4, 19, 38, 0.66);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(4, 18, 36, 0.15), rgba(4, 18, 36, 0.15)),
    url("assets/funnel-background-v2.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  background: url("assets/Union.png") center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

body,
button,
input {
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  overflow: hidden;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 90px 0;
}

.section--narrow {
  width: min(920px, calc(100% - 40px));
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
}

h3 {
  margin: 0;
  color: var(--gold);
}

p {
  line-height: 1.65;
}

.lead-logo {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 58px;
}

.lead-logo__main {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.lead-logo__main span {
  display: inline-block;
  padding: 1px 5px;
  border: 2px solid #fff;
  border-radius: 5px;
}

.lead-logo__image {
  display: block;
  width: min(150px, 55vw);
  height: auto;
}

.lead-logo__sub {
  margin-top: 4px;
  font-size: 8px;
  opacity: 0.8;
}

.hero {
  padding-top: 70px;
  text-align: center;
}

.hero__content {
  max-width: 1000px;
  margin-inline: auto;
}

.hero__eyebrow {
  margin: 38px auto 0;
  max-width: 780px;
  font-size: 18px;
  font-weight: 600;
}

.revenue-highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__description {
  max-width: 900px;
  margin: 10px auto 50px;
  color: #d3d8df;
  font-size: 17px;
}

.hero__description--gradient {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.video-frame {
  width: min(700px, 100%);
  margin: 0 auto 24px;
  padding: 3px;
  border: 1px solid rgba(223, 167, 65, 0.65);
  background: rgba(0, 0, 0, 0.2);
}

.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050b14;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 18px 35px;
  border: 0;
  color: #07152a;
  background: var(--gold-gradient);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hero-button {
  width: min(640px, 100%);
  margin-inline: auto;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-heading p {
  max-width: 670px;
  margin: 16px auto 0;
  color: #cbd5e1;
  font-size: 15px;
}

.section-label {
  margin-bottom: 30px;
  color: #94a3b8;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.infrastructure {
  text-align: center;
}

.infrastructure h2,
.territory-section h2,
.process-section h2,
.standard-section h2,
.performance-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.process-section .section-heading p,
.standard-section .section-heading p,
.performance-section .section-heading p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.platforms {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-top: 55px;
}

.platform-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.platform-item img {
  display: block;
  width: min(180px, 100%);
  height: auto;
}

.platform-divider {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.18);
}

.ornate-panel {
  position: relative;
  padding: 55px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(9, 31, 56, 0.9), rgba(3, 18, 35, 0.75));
  box-shadow: inset 0 0 0 8px rgba(223, 167, 65, 0.05), 0 22px 60px rgba(0, 0, 0, 0.24);
}

.ornate-panel::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(223, 167, 65, 0.28);
  content: "";
  pointer-events: none;
}

.territory-card {
  aspect-ratio: 2048 / 1228;
  max-width: 800px;
  padding: 0;
  margin-inline: auto;
  border: 0;
  background: url("assets/territory-bgn.png") center / 100% 100% no-repeat;
  box-shadow: none;
  text-align: center;
}

.territory-card::before {
  display: none;
}

.zip-form {
  position: absolute;
  right: 14.3%;
  top: 66%;
  bottom: 5.4%;
  left: 14.3%;
  display: grid;
  grid-template-rows: 42% 48%;
  align-content: space-between;
  max-width: none;
  margin: 0;
}

.zip-field {
  display: flex;
  height: auto;
  margin: 0;
  align-items: center;
  border: 0;
  background: transparent;
}

.zip-field__icon {
  display: grid;
  width: 62px;
  height: 38px;
  place-items: center;
  border-right: 0;
  color: transparent;
}

.zip-field input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 20px;
  color: var(--white);
  background: transparent;
}

.zip-field input::placeholder {
  color: transparent;
}

.zip-form .primary-button {
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 0;
  color: transparent;
  background: transparent;
}

.form-message {
  position: absolute;
  right: 0;
  bottom: -32px;
  left: 0;
  min-height: 0;
  margin: 0;
  color: var(--gold-light);
  font-size: 13px;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 14px;
  max-width: 920px;
  margin-inline: auto;
}

.feature-card,
.standard-card {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(4, 21, 40, 0.56);
  box-shadow: inset 0 0 0 6px rgba(223, 167, 65, 0.035);
}

.feature-card {
  background:
    linear-gradient(rgba(4, 21, 40, 0.25), rgba(4, 21, 40, 0.25)),
    url("assets/funnel-background-v2.png") center / cover;
}

.process-arrow {
  align-self: center;
  justify-self: center;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 12px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(222, 185, 99, 0.22));
}

.feature-card {
  overflow: hidden;
  min-height: 330px;
  padding: 58px 24px 28px;
  text-align: center;
}

.feature-card::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(199, 161, 81, 0.32);
  content: "";
  pointer-events: none;
}

.step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  place-items: center;
  border-radius: 50%;
  color: #071a32;
  background: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.feature-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  place-items: center;
  color: var(--gold);
  font-size: 40px;
  font-weight: 700;
}

.feature-icon img {
  display: block;
  width: 62px;
  height: 62px;
}

.feature-card h3 {
  min-height: 48px;
  font-size: 15px;
  line-height: 1.4;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card p {
  max-width: 220px;
  margin: 12px auto 0;
  color: #c4cad1;
  font-size: 12px;
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.trust-features span {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 8px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(4, 21, 40, 0.45);
  box-shadow: inset 0 0 0 3px rgba(222, 185, 99, 0.08);
}

.trust-features span img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.standard-card {
  min-height: 390px;
  padding: 40px 24px 30px;
  text-align: center;
}

.standard-card__icon {
  display: grid;
  height: 68px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--gold);
}

.standard-card__icon img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.standard-card h3 {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 14px;
}

.standard-card p {
  margin-top: 16px;
  color: #bcc4ce;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.guarantee-bar {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  max-width: 1210px;
  margin: 56px auto 0;
  padding: 22px 24px 20px 18px;
  border: 1px solid rgba(223, 167, 65, 0.9);
  background: linear-gradient(180deg, rgba(6, 20, 36, 0.96), rgba(2, 14, 26, 0.94));
  box-shadow: inset 0 0 0 3px rgba(223, 167, 65, 0.08);
}

.guarantee-icon {
  display: grid;
  align-items: center;
  justify-items: center;
  color: var(--gold);
}

.guarantee-icon img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(222, 185, 99, 0.38));
}

.guarantee-copy {
  display: grid;
  gap: 18px;
}

.guarantee-main {
  color: #fff;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
}

.guarantee-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
  align-items: start;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 76px;
  color: #dfe6ee;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.guarantee-item__icon {
  display: grid;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(223, 167, 65, 0.7);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(223, 167, 65, 0.08);
}

.guarantee-item__icon img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.guarantee-item span:last-child {
  max-width: 150px;
  color: #dfe6ee;
  font-weight: 500;
}

.performance-section {
  background: transparent;
  box-shadow: none;
}

.performance-visual {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.performance-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.final-cta {
  display: flex;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 150px;
}

.final-cta .primary-button {
  width: min(570px, 100%);
}

.footer {
  padding-top: 40px;
  padding-bottom: 70px;
  text-align: center;
}

.lead-logo--footer {
  margin-bottom: 30px;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-family: "Inter", sans-serif;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-copy {
  color: #9099a5;
  font-size: 10px;
}

/* FORM PAGE */
.form-page {
  min-height: 100vh;
}

.form-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 60px 0 90px;
}

.form-card {
  position: relative;
  padding: 42px;
  border: 1px solid var(--border);
  background: rgba(4, 19, 38, 0.82);
  box-shadow: inset 0 0 0 8px rgba(223, 167, 65, 0.04), 0 22px 60px rgba(0, 0, 0, 0.24);
}

.form-card h1 {
  font-size: clamp(34px, 5vw, 54px);
  text-align: center;
}

.form-card__intro {
  max-width: 580px;
  margin: 14px auto 34px;
  color: #c4cbd4;
  text-align: center;
}

.progress {
  margin-bottom: 30px;
}

.progress__track {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}

.progress__bar {
  width: 20%;
  height: 100%;
  background: var(--gold);
  transition: width .25s ease;
}

.progress__label {
  display: block;
  margin-top: 10px;
  color: #aeb6c1;
  font-size: 12px;
  text-align: right;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  margin-bottom: 24px;
  font-size: 26px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #d9dee5;
  font-size: 13px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(223, 167, 65, 0.42);
  outline: none;
  color: #fff;
  background: rgba(0, 8, 20, 0.44);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(223, 167, 65, 0.42);
  background: rgba(0, 8, 20, 0.35);
  cursor: pointer;
}

.choice input {
  accent-color: var(--gold);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.secondary-button {
  min-height: 56px;
  padding: 14px 26px;
  border: 1px solid rgba(223, 167, 65, 0.6);
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.form-actions .primary-button {
  min-width: 180px;
}

.thankyou-card {
  max-width: 760px;
  margin: 14vh auto 0;
  padding: 50px;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(4, 19, 38, 0.82);
}

.thankyou-card p {
  max-width: 560px;
  margin: 18px auto 28px;
  color: #c6ccd4;
}

@media (max-width: 1000px) {
  .standard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standard-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .process-grid {
    gap: 25px;
  }
}

@media (max-width: 720px) {
  body {
    background-size: auto 100%;
  }

  .section {
    width: min(100% - 30px, 1180px);
    padding: 65px 0;
  }

  .lead-logo {
    margin-bottom: 48px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero__eyebrow {
    font-size: 15px;
  }

  .hero__description {
    font-size: 14px;
  }

  .process-grid,
  .standard-grid {
    grid-template-columns: 1fr;
  }

  .process-arrow {
    display: none;
  }

  .feature-card {
    min-height: initial;
  }

  .standard-card {
    min-height: initial;
  }

  .standard-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .trust-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .platform-divider {
    display: none;
  }

  .platform-item {
    justify-content: flex-start;
  }

  .ornate-panel {
    padding: 40px 22px;
  }

  .territory-card {
    aspect-ratio: auto;
    min-height: 250px;
    padding: 32px 20px;
    background: linear-gradient(145deg, rgba(9, 31, 56, 0.96), rgba(3, 18, 35, 0.92));
    border: 1px solid var(--border);
  }

  .zip-form {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-rows: auto auto;
    gap: 14px;
    height: auto;
  }

  .zip-field {
    min-height: 54px;
    border: 1px solid rgba(223, 167, 65, 0.6);
    background: rgba(0, 8, 20, 0.44);
  }

  .zip-field__icon {
    width: 48px;
    color: var(--gold);
  }

  .zip-form .primary-button {
    min-height: 54px;
    color: #07152a;
    background: var(--gold-gradient);
  }

  .form-message {
    position: static;
    grid-column: 1;
    min-height: 18px;
  }

  .territory-card h3 {
    font-size: 23px;
  }

  .performance-visual {
    width: 100%;
  }

  .guarantee-bar {
    grid-template-columns: 1fr;
    margin-top: 42px;
    padding: 22px 18px 20px;
    text-align: left;
  }

  .guarantee-icon {
    margin-inline: auto;
  }

  .guarantee-copy {
    gap: 14px;
  }

  .guarantee-main {
    font-size: 20px;
    letter-spacing: 0.01em;
    text-align: left;
  }

  .guarantee-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
  }

  .guarantee-item {
    min-height: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .bottom-line {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bottom-line__icon {
    margin-inline: auto;
  }

  .final-cta {
    padding-bottom: 100px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions > * {
    width: 100%;
  }

  .thankyou-card {
    width: calc(100% - 30px);
    margin-top: 10vh;
    padding: 36px 22px;
  }
}
