:root {
  --navy: #112a46;
  --navy-2: #173b61;
  --green: #5f7f6c;
  --sage: #a4b9ad;
  --gold: #b79a65;

  --text: #182235;
  --muted: #677386;

  --white: #ffffff;
  --cream: #f8f7f2;
  --soft-blue: #f0f5f8;

  --border: #dfe5e8;

  --shadow:
    0 24px 70px rgba(17, 42, 70, 0.09);
}


/* =========================
   RESET
========================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background: var(--white);

  line-height: 1.55;
}


button,
input,
textarea,
select {
  font: inherit;
}


.container {
  width: min(
    1160px,
    calc(100% - 40px)
  );

  margin: 0 auto;
}


/* =========================
   HEADER
========================== */

.site-header {
  position: sticky;

  top: 0;

  z-index: 100;

  background:
    rgba(255, 255, 255, 0.9);

  backdrop-filter:
    blur(16px);

  border-bottom:
    1px solid rgba(220, 226, 230, 0.75);
}


.nav {
  min-height: 76px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 28px;
}


/* =========================
   BRAND
========================== */

.brand {
  display: flex;

  align-items: center;

  gap: 12px;

  text-decoration: none;

  color: var(--navy);
}


.brand-bars {
  display: flex;

  align-items: end;

  gap: 3px;

  height: 32px;

  padding-right: 10px;

  border-right:
    1px solid #bbb;
}


.brand-bars span {
  width: 6px;

  display: block;

  background:
    linear-gradient(
      180deg,
      #d0b274,
      #9c773c
    );
}


.brand-bars span:nth-child(1) {
  height: 13px;
}

.brand-bars span:nth-child(2) {
  height: 21px;
}

.brand-bars span:nth-child(3) {
  height: 29px;
}


.brand-copy {
  display: flex;

  flex-direction: column;

  line-height: 1;
}


.brand-copy strong {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 27px;

  font-weight: 500;

  letter-spacing: -0.6px;
}


.brand-copy small {
  margin-top: 6px;

  font-size: 9px;

  letter-spacing: 4px;

  color: #8d7755;
}


/* =========================
   NAVIGATION
========================== */

.desktop-nav {
  display: flex;

  gap: 27px;
}


.desktop-nav a {
  text-decoration: none;

  color: #4b5769;

  font-size: 14px;
}


.desktop-nav a:hover {
  color: var(--navy);
}


/* =========================
   BUTTONS
========================== */

.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 14px 22px;

  border: none;

  border-radius: 999px;

  color: var(--white);

  background: var(--navy);

  text-decoration: none;

  font-weight: 650;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.button:hover {
  background: var(--navy-2);

  transform:
    translateY(-2px);

  box-shadow:
    0 12px 30px
    rgba(17, 42, 70, 0.2);
}


.button-small {
  padding:
    10px 16px;

  font-size: 13px;
}


/* =========================
   HERO
========================== */

.hero {
  position: relative;

  overflow: hidden;

  padding:
    95px 0 80px;

  background:
    linear-gradient(
      180deg,
      #fbfbf8 0%,
      #ffffff 85%
    );
}


.hero-glow {
  position: absolute;

  border-radius: 100%;

  pointer-events: none;

  opacity: 0.7;

  animation:
    floatingGlow
    10s ease-in-out
    infinite;
}


.glow-one {
  width: 430px;

  height: 430px;

  right: 4%;

  top: -160px;

  background:
    radial-gradient(
      circle,
      #e3eee7,
      transparent 68%
    );
}


.glow-two {
  width: 310px;

  height: 310px;

  left: -100px;

  bottom: -100px;

  background:
    radial-gradient(
      circle,
      #eaf1f6,
      transparent 70%
    );

  animation-delay:
    -4s;
}


@keyframes floatingGlow {

  50% {
    transform:
      translate(20px, 18px)
      scale(1.05);
  }

}


.hero-grid {
  display: grid;

  grid-template-columns:
    1.05fr
    0.95fr;

  gap: 65px;

  align-items: center;
}


.eyebrow {
  margin-bottom: 18px;

  color: #8d764d;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 2.2px;
}


.hero h1 {
  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight: 500;

  font-size:
    clamp(
      46px,
      5.3vw,
      74px
    );

  line-height: 1.03;

  letter-spacing: -2.2px;
}


.hero h1 span {
  display: block;

  color: var(--green);
}


.hero-text {
  max-width: 650px;

  margin:
    28px 0;

  font-size: 19px;

  color: #586476;
}


.hero-actions {
  display: flex;

  align-items: center;

  gap: 25px;
}


.secondary-link {
  color: var(--navy);

  text-decoration: none;

  font-weight: 650;
}


.capital-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 36px;
}


.capital-tags span {
  padding:
    7px 11px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  background: white;

  color: #647083;

  font-size: 12px;
}


/* =========================
   HERO CARD
========================== */

.hero-card {
  padding: 28px;

  border:
    1px solid #e2e7e5;

  border-radius: 28px;

  background:
    rgba(255, 255, 255, 0.9);

  box-shadow:
    var(--shadow);
}


.hero-card-label {
  margin:
    0 0 12px;

  font-size: 14px;

  font-weight: 700;

  color: #415065;
}


.capital-search {
  min-height: 75px;

  padding:
    13px 13px
    13px 17px;

  display: grid;

  grid-template-columns:
    auto
    1fr
    auto;

  align-items: center;

  gap: 13px;

  background: white;

  border:
    1px solid #d8dfdf;

  border-radius: 20px;

  box-shadow:
    0 6px 22px
    rgba(21, 32, 51, 0.04);
}


.search-symbol {
  font-size: 25px;

  color: #789784;
}


#rotatingPrompt {
  font-size: 15px;

  color: #516071;

  transition:
    opacity 0.25s ease;
}


.capital-search button {
  width: 46px;

  height: 46px;

  border: 0;

  border-radius: 14px;

  background: var(--navy);

  color: white;

  font-size: 20px;

  cursor: pointer;
}


/* =========================
   CAPITAL FLOW
========================== */

.capital-flow {
  margin:
    27px 4px 20px;

  display: flex;

  align-items: center;
}


.flow-item {
  min-width: 52px;

  text-align: center;

  font-size: 10px;

  color: #748093;
}


.flow-item.active {
  color: var(--navy);

  font-weight: 800;
}


.flow-line {
  position: relative;

  flex: 1;

  height: 2px;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      #9fb8aa,
      #dae3df
    );
}


.flow-line::after {
  content: "";

  position: absolute;

  left: -30%;

  top: 0;

  width: 25%;

  height: 100%;

  background: #507661;

  animation:
    movingFlow
    3s linear infinite;
}


@keyframes movingFlow {

  to {
    left: 110%;
  }

}


/* =========================
   CAPITAL OPTIONS
========================== */

.capital-options {
  display: grid;

  gap: 8px;
}


.capital-option {
  display: flex;

  justify-content: space-between;

  gap: 15px;

  padding: 13px 15px;

  border-radius: 15px;

  background: #f7f9f8;
}


.capital-option strong {
  color: var(--navy);

  font-size: 13px;
}


.capital-option span {
  color: #718093;

  font-size: 11px;

  text-align: right;
}


/* =========================
   POSITIONING STRIP
========================== */

.positioning-strip {
  padding:
    60px 0;

  color: white;

  background: var(--navy);
}


.positioning-grid {
  display: grid;

  grid-template-columns:
    0.32fr
    1.25fr
    0.72fr;

  gap: 45px;

  align-items: start;
}


.eyebrow.light {
  color: #d4b779;
}


.positioning-grid h2 {
  margin: 0;

  font-family:
    Georgia,
    serif;

  font-size: 38px;

  line-height: 1.08;

  font-weight: 500;
}


.positioning-grid p {
  margin: 0;

  color: #c6d2dd;
}


/* =========================
   COMMON SECTIONS
========================== */

.section {
  padding:
    95px 0;
}


.section-soft {
  background:
    var(--cream);
}


.section-header {
  display: flex;

  align-items: end;

  justify-content: space-between;

  gap: 40px;

  margin-bottom: 40px;
}


.section-header h2,
.about-section h2,
.diagnostic-section h2 {
  margin: 0;

  font-family:
    Georgia,
    serif;

  font-size: 47px;

  line-height: 1.07;

  font-weight: 500;

  letter-spacing: -1.4px;
}


.section-header > p {
  max-width: 440px;

  margin: 0;

  color: var(--muted);
}


/* =========================
   JOURNEY CARDS
========================== */

.journey-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 14px;
}


.journey-card {
  padding: 27px 22px;

  border:
    1px solid var(--border);

  border-radius: 22px;

  background: white;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.journey-card:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow);
}


.step-number {
  color: #9c8558;

  font-size: 11px;

  font-weight: 800;
}


.journey-card h3 {
  margin:
    18px 0 8px;

  font-family:
    Georgia,
    serif;

  font-size: 24px;

  color: var(--navy);
}


.journey-card > p {
  min-height: 44px;

  color: #687386;

  font-size: 14px;
}


.journey-card ul {
  padding: 0;

  margin:
    20px 0 0;

  list-style: none;
}


.journey-card li {
  padding:
    8px 0;

  border-top:
    1px solid #edf0f1;

  font-size: 13px;

  color: #405065;
}


/* =========================
   SOLUTIONS
========================== */

.solutions-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
}


.solution-card {
  min-height: 265px;

  padding: 28px;

  background: white;

  border:
    1px solid #e7e4dd;

  border-radius: 22px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.solution-card:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow);
}


.solution-icon {
  width: 43px;

  height: 43px;

  display: grid;

  place-items: center;

  border-radius: 13px;

  background: #edf4ef;

  color: #50745e;

  font-size: 22px;
}


.solution-card h3 {
  margin:
    22px 0 10px;

  font-family:
    Georgia,
    serif;

  font-size: 25px;

  color: var(--navy);
}


.solution-card p {
  color: #687386;

  font-size: 14px;
}


.solution-card a {
  display: inline-block;

  margin-top: 13px;

  color: #587360;

  text-decoration: none;

  font-size: 13px;

  font-weight: 700;
}


/* =========================
   PROCESS
========================== */

.process-section {
  background:
    var(--soft-blue);
}


.process-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top:
    1px solid #cdd9df;
}


.process-card {
  position: relative;

  padding:
    30px 28px
    10px 0;
}


.process-card span {
  width: 38px;

  height: 38px;

  display: grid;

  place-items: center;

  border:
    1px solid #b7c8d0;

  border-radius: 100%;

  color: #31536a;

  font-size: 12px;

  font-weight: 800;
}


.process-card h3 {
  font-family:
    Georgia,
    serif;

  font-size: 22px;

  color: var(--navy);
}


.process-card p {
  color: #6a7788;

  font-size: 14px;
}


/* =========================
   QUESTIONS
========================== */

.question-list {
  display: grid;

  gap: 10px;
}


.question-card {
  width: 100%;

  padding:
    22px 25px;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background: white;

  color: var(--navy);

  text-align: left;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}


.question-card span {
  font-family:
    Georgia,
    serif;

  font-size: 23px;
}


.question-card:hover {
  background: #f7faf8;

  transform:
    translateX(5px);
}


/* =========================
   ABOUT
========================== */

.about-section {
  color: white;

  background: var(--navy);
}


.about-grid {
  display: grid;

  grid-template-columns:
    0.8fr
    1.2fr;

  gap: 100px;
}


.about-section h2 {
  color: white;
}


.about-content p {
  color: #cad5df;

  font-size: 17px;
}


.about-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 27px;
}


.about-tags span {
  padding:
    7px 11px;

  border:
    1px solid rgba(255,255,255,0.22);

  border-radius: 999px;

  font-size: 12px;

  color: #e2e8ee;
}


/* =========================
   DIAGNOSTIC
========================== */

.diagnostic-section {
  background:
    linear-gradient(
      180deg,
      #f9faf8,
      white
    );
}


.diagnostic-grid {
  display: grid;

  grid-template-columns:
    0.7fr
    1.3fr;

  gap: 70px;
}


.diagnostic-intro > p {
  color: var(--muted);

  font-size: 16px;
}


.contact-box {
  margin-top: 36px;

  padding-top: 20px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 5px;

  border-top:
    1px solid var(--border);
}


.contact-box span {
  margin-bottom: 8px;

  color: #778292;

  font-size: 13px;
}


.contact-box a {
  color: var(--navy);

  text-decoration: none;

  font-size: 14px;
}


/* =========================
   FORM
========================== */

.capital-form {
  padding: 30px;

  border:
    1px solid var(--border);

  border-radius: 24px;

  background: white;

  box-shadow:
    var(--shadow);
}


.form-row {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 14px;
}


label {
  display: block;

  margin-bottom: 15px;

  color: #445165;

  font-size: 12px;

  font-weight: 750;
}


input,
textarea,
select {
  width: 100%;

  margin-top: 7px;

  padding:
    13px 14px;

  border:
    1px solid #d6dfe2;

  border-radius: 12px;

  outline: none;

  background: #fbfcfc;

  color: #1f2c3b;

  font-size: 14px;
}


input:focus,
textarea:focus,
select:focus {
  border-color: #7fa08e;

  box-shadow:
    0 0 0 3px
    rgba(127, 160, 142, 0.12);
}


.form-button {
  width: 100%;
}


.form-disclaimer {
  margin:
    12px 5px 0;

  text-align: center;

  color: #87919e;

  font-size: 10px;
}


/* =========================
   FOOTER
========================== */

footer {
  padding:
    50px 0 20px;

  color: #d6e0e8;

  background:
    #0b1e33;
}


.footer-grid {
  display: grid;

  grid-template-columns:
    1.2fr
    0.7fr
    1fr;

  gap: 40px;
}


.footer-brand {
  color: white;
}


.footer-grid > div > strong {
  display: block;

  margin-bottom: 10px;

  color: white;

  font-size: 12px;

  letter-spacing: 1px;
}


.footer-grid p,
.footer-grid a {
  display: block;

  margin:
    5px 0;

  color: #abb8c6;

  text-decoration: none;

  font-size: 13px;
}


.legal {
  margin-top: 30px;

  padding-top: 18px;

  display: flex;

  justify-content: space-between;

  gap: 30px;

  border-top:
    1px solid rgba(255,255,255,0.12);

  color: #8191a1;

  font-size: 10px;
}


.legal span:last-child {
  max-width: 720px;
}


/* =========================
   REVEAL ANIMATION
========================== */

.reveal {
  opacity: 0;

  transform:
    translateY(18px);

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}


.reveal.visible {
  opacity: 1;

  transform: none;
}


.delay-one {
  transition-delay:
    0.08s;
}


.delay-two {
  transition-delay:
    0.16s;
}


.delay-three {
  transition-delay:
    0.24s;
}


/* =========================
   TABLET
========================== */

@media (max-width: 920px) {

  .desktop-nav {
    display: none;
  }


  .hero-grid,
  .positioning-grid,
  .about-grid,
  .diagnostic-grid {
    grid-template-columns:
      1fr;
  }


  .hero {
    padding-top:
      65px;
  }


  .positioning-grid {
    gap: 18px;
  }


  .journey-grid {
    grid-template-columns:
      1fr 1fr;
  }


  .solutions-grid {
    grid-template-columns:
      1fr 1fr;
  }


  .process-grid {
    grid-template-columns:
      1fr 1fr;
  }


  .about-grid,
  .diagnostic-grid {
    gap: 42px;
  }


  .capital-option {
    display: block;
  }


  .capital-option span {
    display: block;

    margin-top: 3px;

    text-align: left;
  }


  .legal {
    flex-direction:
      column;
  }

}


/* =========================
   MOBILE
========================== */

@media (max-width: 620px) {

  .container {
    width:
      calc(100% - 28px);
  }


  .nav {
    min-height: 68px;
  }


  .brand-copy strong {
    font-size: 22px;
  }


  .button-small {
    display: none;
  }


  .hero {
    padding:
      52px 0;
  }


  .hero h1 {
    font-size: 44px;
  }


  .hero-text {
    font-size: 17px;
  }


  .hero-actions {
    align-items: flex-start;

    flex-direction:
      column;

    gap: 15px;
  }


  .hero-card {
    padding: 18px;

    border-radius: 22px;
  }


  .section {
    padding:
      70px 0;
  }


  .section-header {
    display: block;
  }


  .section-header > p {
    margin-top: 17px;
  }


  .section-header h2,
  .about-section h2,
  .diagnostic-section h2 {
    font-size: 35px;
  }


  .positioning-grid h2 {
    font-size: 34px;
  }


  .journey-grid,
  .solutions-grid,
  .process-grid,
  .form-row,
  .footer-grid {
    grid-template-columns:
      1fr;
  }


  .journey-card > p {
    min-height: auto;
  }


  .question-card {
    padding: 18px;
  }


  .question-card span {
    font-size: 19px;
  }


  .capital-form {
    padding: 20px;
  }


  .footer-grid {
    gap: 28px;
  }


  .legal {
    gap: 12px;
  }

}
/* ===== FinAssist contact section alignment fix ===== */

.diagnostic-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.capital-form {
  width: 100%;
  max-width: 720px;
  justify-self: end;
}

@media (max-width: 920px) {
  .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .capital-form {
    max-width: 100%;
    justify-self: stretch;
  }
}
/* ===== Final Capital Diagnostic Section ===== */

.diagnostic-grid {
  display: block !important;
  max-width: 760px;
  margin: 0 auto;
}

.diagnostic-intro {
  text-align: center;
  margin-bottom: 32px;
}

.contact-box {
  align-items: center;
  text-align: center;
  margin-top: 24px;
}

.capital-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  justify-self: auto;
}

@media (max-width: 620px) {
  .diagnostic-grid {
    max-width: 100%;
  }

  .diagnostic-intro {
    text-align: left;
  }

  .contact-box {
    align-items: flex-start;
    text-align: left;
  }
}