:root {
  --bg: #060314;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --blue: #3784f8;
  --blue-light: #7db1ff;
  --green: #12b76a;
  --muted: #bababa;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

.landing-page {
  color: #fff;
  font-family: Inter, sans-serif;
}

:root {
  color-scheme: light;
}

body {
  background: #f5f7fa;
  color: #1e2a3a;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  margin: 0;
}

.header {
  background: #1e3a5f;
  color: #fff;
  padding: 20px 24px;
}

.header h1 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0;
}

.header .subtitle {
  font-size: 14px;
  margin: 4px 0 0;
  opacity: 0.85;
}

#intake {
  margin: 24px auto;
  max-width: 1250px;
  padding: 0 16px;
}

#intake iframe {
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(30, 42, 58, 0.12);
  display: block;
  min-height: 800px;
  width: 100%;
}

body.intake-pending .header,
body.showing-ai1-landing .header {
  display: none;
}

body.showing-ai1-landing {
  background: #060314;
  color: #fff;
  font-family: Inter, sans-serif;
}

body.showing-ai1-landing #intake {
  margin: 0;
  max-width: none;
  padding: 0;
}

body.showing-ai1-landing #intake .landing-page {
  min-height: 100vh;
}

.error {
  color: #b00020;
  padding: 24px;
  text-align: center;
}

.landing-page {
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      ellipse 55% 49% at 50% 40%,
      #1a0b36 0%,
      rgba(5, 2, 18, 0) 72%
    ),
    linear-gradient(
      90deg,
      transparent 8.3%,
      rgba(255, 255, 255, 0.035) 8.35%,
      transparent 8.45%,
      transparent 33.3%,
      rgba(255, 255, 255, 0.035) 33.35%,
      transparent 33.45%,
      transparent 58.3%,
      rgba(255, 255, 255, 0.035) 58.35%,
      transparent 58.45%,
      transparent 83.3%,
      rgba(255, 255, 255, 0.035) 83.35%,
      transparent 83.45%
    ),
    var(--bg);
}

.section-shell {
  padding-left: max(64px, calc((100vw - 1312px) / 2));
  padding-right: max(64px, calc((100vw - 1312px) / 2));
  position: relative;
  z-index: 1;
}

.background-art {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.orb {
  border-radius: 50%;
  filter: blur(3px);
  position: absolute;
}
.orb-top {
  background: radial-gradient(
    circle,
    rgba(71, 88, 255, 0.28),
    rgba(71, 88, 255, 0) 70%
  );
  height: 360px;
  right: -8px;
  top: -112px;
  width: 360px;
}
.orb-left {
  background: radial-gradient(
    circle,
    rgba(32, 70, 200, 0.23),
    rgba(32, 70, 200, 0) 70%
  );
  height: 340px;
  left: -120px;
  top: 430px;
  width: 340px;
}
.orb-center {
  background: radial-gradient(
    circle,
    rgba(98, 44, 240, 0.18),
    rgba(98, 44, 240, 0) 70%
  );
  height: 220px;
  left: calc(50% - 20px);
  top: 176px;
  width: 220px;
}
.rings {
  border: 1px solid rgba(125, 177, 255, 0.16);
  border-radius: 50%;
  position: absolute;
}
.rings::before,
.rings::after {
  border: inherit;
  border-radius: inherit;
  content: "";
  inset: 9%;
  position: absolute;
}
.rings::after {
  inset: 20%;
}
.rings-top {
  height: 404px;
  right: 70px;
  top: 32px;
  width: 404px;
}
.rings-left {
  height: 276px;
  left: 84px;
  top: 444px;
  width: 276px;
}
.network {
  height: 145px;
  position: absolute;
  width: 240px;
  background-image:
    linear-gradient(
      28deg,
      transparent 49.5%,
      rgba(125, 177, 255, 0.3) 50%,
      transparent 50.5%
    ),
    linear-gradient(
      110deg,
      transparent 49.5%,
      rgba(125, 177, 255, 0.2) 50%,
      transparent 50.5%
    );
}
.network::before,
.network::after {
  background: var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--blue-light);
  content: "";
  height: 7px;
  position: absolute;
  width: 7px;
}
.network-left {
  left: 110px;
  top: 110px;
  transform: rotate(15deg);
}
.network-left::before {
  left: 36px;
  top: 24px;
}
.network-left::after {
  right: 18px;
  bottom: 16px;
}
.network-right {
  bottom: 165px;
  right: 116px;
  transform: rotate(-15deg);
}
.network-right::before {
  left: 24px;
  top: 18px;
}
.network-right::after {
  right: 28px;
  bottom: 12px;
}
.floating-panel {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  height: 124px;
  opacity: 0.6;
  position: absolute;
  width: 124px;
}
.floating-panel-left {
  left: 72px;
  top: 230px;
  transform: rotate(18deg);
}
.floating-panel-right {
  bottom: 170px;
  height: 148px;
  right: 80px;
  transform: rotate(-14deg);
  width: 148px;
}

.hero {
  align-items: center;
  display: flex;
  gap: 56px;
  justify-content: space-between;
  padding-block: clamp(40px, 6vh, 120px);
}
.hero-copy {
  max-width: 720px;
}
.status {
  align-items: center;
  background: rgba(18, 183, 106, 0.08);
  border: 1px solid rgba(18, 183, 106, 0.2);
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  padding: 6px 12px;
  text-transform: uppercase;
}
.status span {
  background: var(--green);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}
.landing-page h1 {
  font-size: 44px;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  text-transform: uppercase;
}
.landing-page h1 em {
  color: var(--green);
  font-style: normal;
}
.intro {
  margin-top: 20px;
}
.intro p {
  margin: 0;
}
.intro p:first-child {
  color: var(--blue-light);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.intro p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  max-width: 680px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}
.button {
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--blue);
}

.button-lenders {
  background: #087443;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.capabilities {
  backdrop-filter: blur(12px);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  flex: 0 0 440px;
  padding: 32px;
}
.eyebrow,
.audience-heading p {
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  text-transform: uppercase;
}
.conversion-chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  margin: 20px 0;
  padding: 16px;
}
.conversion-chart > div:first-child {
  display: flex;
  font-size: 11px;
  font-weight: 600;
  justify-content: space-between;
}
.conversion-chart strong {
  color: var(--blue-light);
  font-size: 12px;
}
.bars {
  align-items: end;
  display: flex;
  gap: 4px;
  height: 30px;
  padding-top: 8px;
}
.bars i {
  background: var(--blue);
  border-radius: 2px;
  flex: 1;
  opacity: 0.2;
}
.bars i:nth-child(1) {
  height: 8px;
}
.bars i:nth-child(2) {
  height: 12px;
  opacity: 0.3;
}
.bars i:nth-child(3) {
  height: 10px;
  opacity: 0.4;
}
.bars i:nth-child(4) {
  height: 18px;
  opacity: 0.6;
}
.bars i:nth-child(5) {
  height: 24px;
  opacity: 0.8;
}
.bars i:nth-child(6) {
  height: 16px;
  opacity: 0.5;
}
.bars i:nth-child(7) {
  height: 28px;
  opacity: 1;
}
.capabilities ul {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.capabilities li {
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 12px;
}
.capabilities li::before {
  align-items: center;
  background: rgba(18, 183, 106, 0.11);
  border-radius: 10px;
  color: var(--green);
  content: "✓";
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.audiences {
  min-height: 320px;
  padding-top: 40px;
}
.audience-heading {
  align-items: center;
  display: flex;
  gap: 28px;
}
.audience-heading p {
  color: var(--green);
  white-space: nowrap;
}
.audience-heading span {
  background: rgba(255, 255, 255, 0.18);
  height: 1px;
  width: 100%;
}
.audience-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}
.audience-card {
  backdrop-filter: blur(10px);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  min-height: 158px;
  padding: 24px;
}
.card-title {
  align-items: center;
  display: flex;
  gap: 12px;
}
.icon {
  align-items: center;
  background: #1565dc;
  border-radius: 10px;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  position: relative;
  width: 36px;
}
.card-title h2 {
  font-size: 18px;
  margin: 0;
}
.audience-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
  margin: 14px 0 0;
}

.footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  min-height: 110px;
}
.outcomes {
  align-items: center;
  color: var(--blue-light);
  display: flex;
  font-size: 18px;
  font-weight: 600;
  gap: 12px;
  margin: 0;
}
.outcomes b {
  background: var(--blue-light);
  border-radius: 50%;
  height: 4px;
  width: 4px;
}
.footer-callout {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}
.footer-callout i {
  color: var(--green);
  font-size: 24px;
  font-style: normal;
}

.video-overview {
  align-items: center;
  display: grid;
  gap: clamp(32px, 7vw, 112px);
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  padding-bottom: clamp(64px, 10vh, 128px);
  padding-top: clamp(64px, 10vh, 128px);
  scroll-margin-top: 24px;
}
.video-overview-copy h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.15;
  margin: 16px 0;
}
.video-overview-copy > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 360px;
}
.video-frame {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  padding: 10px;
}
.video-frame video {
  aspect-ratio: 16 / 9;
  background: #020109;
  border-radius: 16px;
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

@media (max-width: 900px) {
  .section-shell {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero {
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
    min-height: auto;
    padding-bottom: 0;
    padding-top: 56px;
  }
  .hero-copy {
    max-width: none;
  }
  .capabilities {
    flex-basis: auto;
    max-width: 560px;
  }
  .audience-cards {
    grid-template-columns: 1fr;
  }
  .audiences {
    padding-bottom: 40px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 28px;
    padding-top: 28px;
  }
  .video-overview {
    grid-template-columns: 1fr;
  }
  .outcomes {
    flex-wrap: wrap;
  }
  .rings-top {
    right: -90px;
  }
  .network-right,
  .floating-panel-right {
    display: none;
  }
}

@media (max-width: 560px) {
  .section-shell {
    padding-left: 20px;
    padding-right: 20px;
  }
  h1 {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.15;
  }
  .status {
    font-size: 9px;
  }
  .intro p:first-child {
    font-size: 16px;
  }
  .actions {
    gap: 10px;
  }
  .button {
    text-align: center;
    width: 100%;
  }
  .capabilities {
    border-radius: 18px;
    padding: 22px;
  }
  .audience-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .audience-heading span {
    width: 100%;
  }
  .audience-card {
    min-height: 0;
  }
  .outcomes {
    font-size: 16px;
    gap: 8px;
  }
  .footer-callout {
    font-size: 12px;
  }
  .video-frame {
    border-radius: 18px;
    padding: 6px;
  }
  .video-frame video {
    border-radius: 12px;
  }
  .orb-left,
  .rings-left,
  .floating-panel-left,
  .network-left {
    opacity: 0.45;
  }
}
