:root {
  color-scheme: light;
  --ink: #10201b;
  --muted: #53635e;
  --paper: #f2efe6;
  --surface: #ffffff;
  --line: #d4cec0;
  --accent: #0f6d55;
  --accent-dark: #0a382f;
  --gold: #c49138;
  --blue: #244b62;
  --cream: #fff9ea;
  --shadow: 0 24px 70px rgba(14, 31, 25, 0.2);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(15, 109, 85, 0.08), transparent 28rem),
    linear-gradient(315deg, rgba(196, 145, 56, 0.1), transparent 24rem),
    var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--accent-dark);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.header-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #0d211c;
}

.hero__visual,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__visual {
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 34%, rgba(196, 145, 56, 0.24), transparent 18rem),
    radial-gradient(circle at 80% 72%, rgba(36, 75, 98, 0.36), transparent 20rem),
    linear-gradient(135deg, #09251f, #0d382e 48%, #152f41);
}

.deal-sheet,
.deal-tablet,
.deal-line {
  position: absolute;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.deal-sheet {
  width: 270px;
  height: 176px;
  gap: 14px;
  padding: 28px;
  border-radius: 4px;
  background: rgba(255, 249, 234, 0.88);
}

.deal-sheet span,
.deal-tablet span {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: rgba(15, 109, 85, 0.42);
}

.deal-sheet span:first-child {
  width: 42%;
  background: rgba(196, 145, 56, 0.8);
}

.deal-sheet span:nth-child(2) {
  width: 78%;
}

.deal-sheet span:nth-child(3) {
  width: 62%;
}

.deal-sheet--one {
  top: 18%;
  right: 11%;
  transform: rotate(-8deg);
}

.deal-sheet--two {
  right: 24%;
  bottom: 14%;
  transform: rotate(7deg);
}

.deal-tablet {
  right: 4%;
  bottom: 29%;
  width: 230px;
  height: 142px;
  gap: 18px;
  padding: 30px;
  border-radius: 18px;
  background: rgba(13, 29, 35, 0.78);
}

.deal-tablet span {
  height: 18px;
  background: rgba(255, 249, 234, 0.86);
}

.deal-tablet span:last-child {
  width: 62%;
  background: rgba(196, 145, 56, 0.88);
}

.deal-line {
  top: 28%;
  right: 31%;
  width: 1px;
  height: 430px;
  background: linear-gradient(180deg, transparent, rgba(196, 145, 56, 0.8), transparent);
  transform: rotate(34deg);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 24, 20, 0.92), rgba(8, 24, 20, 0.76) 42%, rgba(8, 24, 20, 0.12)),
    linear-gradient(0deg, rgba(8, 24, 20, 0.66), transparent 38%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(92vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.72fr);
  gap: 44px;
  align-items: end;
  margin: 0 auto;
  padding: 56px 0 42px;
}

.hero__copy {
  max-width: 760px;
  color: #fff;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 650;
  line-height: 1.18;
}

.supporting {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.03rem;
}

.loan-selector {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 249, 234, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.loan-selector h2,
.suitability h2 {
  margin-bottom: 18px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.loan-options {
  display: grid;
  gap: 14px;
}

.loan-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 20px;
  border: 1px solid rgba(15, 109, 85, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 243, 0.94));
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.loan-card:hover,
.loan-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(13, 107, 87, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.loan-card__label {
  font-size: 1.12rem;
  font-weight: 800;
}

.loan-card__note {
  color: var(--muted);
}

.loan-card__action {
  align-self: end;
  color: var(--accent-dark);
  font-weight: 800;
}

.proof-strip,
.section-grid,
.suitability,
.site-footer {
  width: min(1120px, calc(100% - 32px));
}

.proof-strip {
  margin: 28px auto 0;
  padding: 18px 22px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.proof-strip p {
  margin: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.section-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e8f1ee;
  color: var(--accent-dark);
  font-weight: 800;
}

.section-grid h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.section-grid p,
.suitability p,
.site-footer p {
  color: var(--muted);
}

.suitability {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  margin: 34px auto 44px;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 109, 85, 0.12), rgba(36, 75, 98, 0.08)),
    #e8ede8;
}

.suitability__copy p:last-child,
.site-footer p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.site-footer p {
  max-width: 820px;
}

.site-footer nav {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__inner,
  .section-grid,
  .suitability {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 24, 20, 0.94), rgba(8, 24, 20, 0.78) 58%, rgba(8, 24, 20, 0.58)),
      linear-gradient(0deg, rgba(8, 24, 20, 0.68), transparent 38%);
  }

  .deal-sheet--one {
    top: 6%;
    right: -98px;
  }

  .deal-sheet--two,
  .deal-tablet,
  .deal-line {
    display: none;
  }

  .hero__inner {
    min-height: auto;
    align-items: start;
    padding: 52px 0 28px;
  }

  h1 {
    font-size: 4rem;
  }

  .loan-selector {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 3.35rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .loan-card {
    min-height: 126px;
    padding: 18px;
  }

  .suitability {
    padding: 22px;
  }
}

.survey-embed {
  scroll-margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(28, 47, 75, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 34, 51, 0.08);
}

.survey-embed iframe {
  display: block;
  min-height: 760px;
}

.survey-fallback {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.survey-fallback a {
  color: var(--accent-dark);
  font-weight: 800;
}

.intake {
  padding-bottom: min(60vh, 520px);
}
