:root {
  --ink: #102a43;
  --muted: #627d98;
  --paper: #f7fafc;
  --cream: #e8f1f5;
  --yellow: #ffb547;
  --sage: #b8e0d2;
  --line: #d9e2ec;
  --white: #fff;
  --coral: #f26b5e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1410px;
  padding: 0 24px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #030303;
  box-sizing: border-box;
}

.site-header a {
  color: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 1.35rem 'Space Grotesk', sans-serif;
  letter-spacing: -1px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--white);
  background: var(--coral);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9px;
}

.brand-dot {
  color: var(--coral);
}

.main-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: clamp(20px, 6vw, 110px);
  color: #486581;
  font-size: .9rem;
}

.main-nav a,
.text-link,
.loan-card a {
  transition: color .2s ease;
}

.main-nav a:hover,
.text-link:hover,
.loan-card a:hover {
  color: var(--coral);
}

.main-nav a.is-current {
  color: var(--yellow);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 51px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 41px;
  padding: 0 17px;
  font-size: .8rem;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: #1c4568;
  box-shadow: 0 8px 18px rgba(16, 42, 67, .18);
}

.button-primary {
  color: var(--ink);
  background: var(--yellow);
}

.button-primary:hover {
  background: #ffc766;
  box-shadow: 0 8px 18px rgba(255, 181, 71, .25);
}

.button-full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 610px;
  padding-top: 82px;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #718079;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .68rem;
  font-weight: 700;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  display: inline-block;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -3px;
  line-height: 1.02;
}

h1 {
  max-width: 560px;
  margin: 25px 0 25px;
  font-size: clamp(3.5rem, 6vw, 5.7rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 4.45rem);
}

h1 em,
h2 em {
  color: var(--coral);
  font-style: normal;
}

.hero-text {
  max-width: 390px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  font-weight: 700;
  font-size: .87rem;
}

.hero-note {
  margin-top: 32px;
  color: #84908c;
  font-size: .74rem;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #6b9c70;
}

.hero-visual {
  position: relative;
  min-height: 495px;
}

.sun-shape {
  position: absolute;
  top: 22px;
  right: 58px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--yellow);
}

.portrait-frame {
  position: absolute;
  right: 40px;
  bottom: 20px;
  width: 430px;
  height: 360px;
  overflow: hidden;
  background: var(--sage);
  border-radius: 20px;
  box-shadow: 18px 18px 0 var(--cream);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portrait-pattern {
  position: absolute;
  inset: 0;
  opacity: .35;
  background: repeating-linear-gradient(135deg, transparent 0 23px, rgba(255, 255, 255, .3) 24px 25px);
}

.portrait-silhouette {
  position: absolute;
  bottom: -25px;
  left: 74px;
  width: 175px;
  height: 360px;
}

.portrait-head {
  position: absolute;
  top: 0;
  left: 40px;
  width: 98px;
  height: 125px;
  border-radius: 45% 48% 50% 50%;
  background: #563d2c;
}

.portrait-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 175px;
  height: 255px;
  border-radius: 46% 46% 0 0;
  background: #2f4944;
}

.portrait-caption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  color: var(--white);
  font-size: .68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 19px 20px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(46, 56, 48, .12);
}

.card-top {
  top: 95px;
  left: 0;
  width: 167px;
}

.card-bottom {
  right: 0;
  bottom: 45px;
  width: 176px;
}

.card-label,
.card-foot {
  color: #7c8783;
  font-size: .67rem;
}

.floating-card strong {
  margin: 5px 0 3px;
  font: 600 1.75rem 'Space Grotesk', sans-serif;
}

.card-bottom strong {
  font-size: 1rem;
}

.trust-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #87928d;
  font-size: .76rem;
}

.trust-bar strong {
  color: var(--ink);
  font-size: .86rem;
}

.stars {
  color: #c99724;
  letter-spacing: 2px;
}

.trust-divider {
  width: 1px;
  height: 15px;
  background: var(--line);
  margin: 0 13px;
}

.home-cards-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: center;
  padding: 120px 0 105px;
}

.home-cards-copy h2 {
  margin: 25px 0 18px;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
}

.home-cards-copy>p:not(.eyebrow) {
  max-width: 310px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .9rem;
}

.home-card-stack {
  position: relative;
  height: 310px;
}

.home-card-stack .card-photo {
  transition: transform .25s ease;
}

.home-card-stack:hover .credit-photo {
  transform: rotate(-4deg) translate(-8px, -8px);
}

.home-card-stack:hover .debit-photo {
  transform: rotate(5deg) translate(8px, 8px);
}

.loans-section {
  padding: 135px 0 145px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 55px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-intro {
  max-width: 290px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .9rem;
}

.loan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.loan-card {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.loan-card-light {
  background: var(--cream);
}

.loan-card-yellow {
  background: var(--yellow);
}

.loan-card-dark {
  color: var(--white);
  background: var(--ink);
}

.loan-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.15rem;
}

.loan-card h3 {
  margin-bottom: 10px;
  font: 600 1.34rem 'Space Grotesk', sans-serif;
}

.loan-card p {
  max-width: 245px;
  margin-bottom: auto;
  color: inherit;
  opacity: .7;
  font-size: .84rem;
}

.loan-card a {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: .78rem;
  font-weight: 700;
}

.loan-card a span {
  font-size: 1.1rem;
}

.process-section {
  color: var(--white);
  background: var(--ink);
}

.process-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 120px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.eyebrow-light {
  color: #aab8ae;
}

.process-intro h2 {
  margin: 27px 0;
}

.process-intro h2 em {
  color: var(--yellow);
}

.process-intro>p:last-child {
  max-width: 265px;
  color: #95a29b;
  font-size: .9rem;
}

.steps {
  padding-top: 12px;
}

.step {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid #37443e;
}

.step:first-child {
  border-top: 1px solid #37443e;
}

.step-number {
  color: var(--yellow);
  font: 600 .76rem 'Space Grotesk', sans-serif;
}

.step h3 {
  margin-bottom: 8px;
  font: 600 1.2rem 'Space Grotesk', sans-serif;
}

.step p {
  max-width: 330px;
  margin: 0;
  color: #95a29b;
  font-size: .82rem;
}

.calculator-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 125px;
  align-items: center;
  padding: 140px 0;
}

.calculator-copy>p:last-child {
  max-width: 270px;
  color: var(--muted);
  font-size: .9rem;
}

.calculator-panel {
  padding: 38px;
  background: var(--cream);
}

.field-row {
  margin-bottom: 35px;
}

.field-row label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 700;
}

.field-row output {
  color: #a4751d;
  font-weight: 700;
}

input[type='range'] {
  width: 100%;
  accent-color: var(--ink);
  cursor: pointer;
}

.estimate {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  margin: 12px 0 25px;
}

.estimate span {
  align-self: end;
  color: var(--muted);
  font-size: .78rem;
}

.estimate strong {
  font: 600 2rem 'Space Grotesk', sans-serif;
}

.estimate small {
  grid-column: 1 / -1;
  color: #89928d;
  font-size: .65rem;
}

.apply-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 130px;
  padding: 125px 0 140px;
  border-top: 1px solid var(--line);
}

.apply-form {
  padding-top: 10px;
}

.apply-form label {
  display: block;
  margin-bottom: 18px;
  color: #68746f;
  font-size: .75rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.apply-form input,
.apply-form select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #bfc6bf;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: 400 .92rem 'DM Sans', sans-serif;
}

.apply-form input:focus,
.apply-form select:focus {
  border-color: var(--ink);
}

.apply-form select {
  cursor: pointer;
}

.apply-form button {
  margin-top: 12px;
}

.apply-form small {
  display: block;
  margin-top: 15px;
  color: #8a9490;
  font-size: .64rem;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #52775b;
  font-size: .78rem;
  font-weight: 700;
}

.site-footer {
  color: #aab8ae;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 95px;
  font-size: .72rem;
}

.footer-inner>span:nth-last-child(1) {
  margin-left: auto;
}

.brand-light {
  color: var(--white);
}

.reveal {
  animation: rise-in .75s both;
}

.reveal-delay {
  animation-delay: .16s;
}

.reveal-delay-2 {
  animation-delay: .28s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .site-header {
    position: sticky;
    top: 0;
    height: 68px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #030303;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
  }

  .brand {
    order: 1;
    font-size: 1.15rem;
    gap: 8px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 0.9rem;
  }

  .site-header .button-small {
    order: 2;
    margin-left: auto;
    margin-right: 10px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 8px;
    white-space: nowrap;
  }

  .site-header .button-small:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .menu-toggle {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 10px 16px 18px;
    background: #080c10;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
  }

  .main-nav.is-open {
    display: flex;
    animation: menuSlideDown 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  }

  .main-nav a::after {
    content: '→';
    font-size: 0.88rem;
    opacity: 0.4;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    padding-left: 18px;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    opacity: 1;
    transform: translateX(4px);
    color: var(--coral);
  }

  .main-nav a.is-current {
    color: var(--yellow);
    font-weight: 700;
    background: rgba(255, 181, 71, 0.08);
  }

  .main-nav a.is-current::after {
    opacity: 0.9;
    color: var(--yellow);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .section-shell {
    width: min(100% - 36px, 600px);
  }

  .hero {
    display: block;
    padding-top: 65px;
  }

  .hero-visual {
    min-height: 445px;
    margin-top: 45px;
  }

  .portrait-frame {
    right: 8%;
    width: min(92%, 360px);
    height: 250px;
  }

  .portrait-silhouette {
    left: 45px;
    transform: scale(.82);
    transform-origin: bottom left;
  }

  .sun-shape {
    right: 5%;
    width: 230px;
    height: 230px;
  }

  .card-top {
    top: 55px;
  }

  .card-bottom {
    bottom: 25px;
  }

  .trust-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .trust-divider {
    display: none;
  }

  .loans-section,
  .calculator-section,
  .apply-section {
    padding: 90px 0;
  }

  .section-heading,
  .calculator-section,
  .apply-section,
  .process-inner {
    display: block;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-intro {
    margin-top: 22px;
  }

  .loan-grid {
    grid-template-columns: 1fr;
  }

  .loan-card {
    min-height: 225px;
  }

  .process-inner {
    padding: 85px 0;
  }

  .steps {
    margin-top: 55px;
  }

  .calculator-panel {
    margin-top: 45px;
    padding: 26px;
  }

  .apply-form {
    margin-top: 40px;
  }

  .footer-inner {
    flex-wrap: wrap;
    padding: 24px 0;
  }

  .footer-inner>span:nth-last-child(1) {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .home-cards-section {
    display: block;
    padding: 85px 0;
  }

  .home-card-stack {
    margin-top: 45px;
    transform: scale(.88);
    transform-origin: left center;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 1.08rem;
    gap: 7px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }

  .site-header .button-small {
    padding: 0 10px;
    font-size: 0.74rem;
    min-height: 34px;
    margin-right: 8px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .button-small {
    padding: 0 12px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .form-row {
    display: block;
  }

  .portrait-frame {
    right: 0;
  }

  .card-top {
    left: -8px;
  }

  .card-bottom {
    right: -8px;
  }
}

.inner-hero {
  padding: 105px 0 100px;
  border-bottom: 1px solid var(--line);
}

.inner-hero h1 {
  max-width: 760px;
  margin: 26px 0 25px;
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 130px;
  padding: 125px 0;
}

.story-block {
  align-self: center;
}

.story-block>p:last-child {
  max-width: 395px;
  color: var(--muted);
  font-size: .94rem;
}

.story-highlight {
  padding: 32px;
  background: var(--yellow);
}

.story-highlight p {
  max-width: 380px;
  margin: 0;
  font: 500 1.25rem/1.35 'Space Grotesk', sans-serif;
}

.big-letter {
  display: block;
  margin-bottom: 20px;
  font: 700 4rem/1 'Space Grotesk', sans-serif;
}

.values-section {
  padding: 105px 0 125px;
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 45px;
}

.values-grid article {
  padding-top: 20px;
  border-top: 1px solid #aeb5aa;
}

.values-grid span,
.loan-detail-number,
.timeline article>span {
  color: #a4751d;
  font: 600 .78rem 'Space Grotesk', sans-serif;
}

.values-grid h3 {
  margin: 25px 0 10px;
  font: 600 1.35rem 'Space Grotesk', sans-serif;
}

.values-grid p {
  max-width: 250px;
  color: var(--muted);
  font-size: .84rem;
}

.loan-list {
  padding: 35px 0 135px;
}

.loan-detail {
  display: grid;
  grid-template-columns: 70px 1fr 150px;
  gap: 25px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.loan-detail:first-child {
  border-top: 1px solid var(--line);
}

.loan-detail h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -1.5px;
}

.loan-detail p {
  max-width: 520px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .9rem;
}

.loan-detail>strong {
  color: #8f9891;
  font: 600 1.05rem/1.25 'Space Grotesk', sans-serif;
  text-align: right;
}

.loan-slider-section {
  padding: 0 0 105px;
}

.slider-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
}

.slider-heading h2 {
  margin: 22px 0 0;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  transition: .2s ease;
}

.slider-button:hover {
  color: var(--white);
  background: var(--ink);
}

.loan-slider {
  position: relative;
  height: 445px;
  overflow: hidden;
  background: var(--ink);
}

.loan-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .5s ease, transform .7s ease, visibility .5s;
}

.loan-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.loan-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.loan-slide::after {
  position: absolute;
  inset: 35% 0 0;
  content: '';
  background: linear-gradient(transparent, rgba(10, 24, 42, .82));
}

.slide-caption {
  position: absolute;
  z-index: 1;
  bottom: 35px;
  left: 42px;
  max-width: 470px;
  color: var(--white);
}

.slide-caption span {
  color: var(--yellow);
  font: 600 .7rem 'Space Grotesk', sans-serif;
  letter-spacing: 1px;
}

.slide-caption h3 {
  margin: 10px 0 6px;
  font: 600 2rem 'Space Grotesk', sans-serif;
}

.slide-caption p {
  margin: 0;
  color: #dbe4e0;
  font-size: .86rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 19px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7cfca;
  cursor: pointer;
}

.slider-dot.is-active {
  width: 25px;
  border-radius: 8px;
  background: var(--yellow);
}

.timeline-section {
  padding: 45px 0 125px;
  background: var(--ink);
}

.timeline {
  max-width: 860px;
}

.timeline article {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 25px;
  padding: 38px 0;
  border-bottom: 1px solid #37443e;
  color: var(--white);
}

.timeline article:first-child {
  border-top: 1px solid #37443e;
}

.timeline article>span {
  padding-top: 5px;
  color: var(--yellow);
}

.timeline h2 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  letter-spacing: -1px;
}

.timeline p {
  max-width: 480px;
  margin: 0;
  color: #9aa79f;
  font-size: .9rem;
}

.note-section {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 50px;
  align-items: end;
  padding: 125px 0;
}

.note-section>p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.contact-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 140px;
  padding: 50px 0 140px;
}

.contact-details h2 {
  margin-top: 25px;
}

.contact-item {
  margin-top: 35px;
}

.contact-item span {
  display: block;
  margin-bottom: 5px;
  color: #8a9490;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item a,
.contact-item p {
  margin: 0;
  font-size: .92rem;
}

.contact-item a {
  font-weight: 700;
}

.contact-item a:hover {
  color: #a4751d;
}

.contact-form {
  padding-top: 0;
}

.contact-form textarea {
  resize: vertical;
}

@media (max-width: 800px) {
  .inner-hero {
    padding: 75px 0 70px;
  }

  .story-section,
  .contact-section,
  .note-section {
    display: block;
    padding: 80px 0;
  }

  .story-block+.story-block,
  .contact-form,
  .note-section>p,
  .note-section .button {
    margin-top: 45px;
  }

  .values-section {
    padding: 75px 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .loan-list {
    padding-bottom: 80px;
  }

  .loan-detail {
    grid-template-columns: 45px 1fr;
    gap: 12px;
  }

  .loan-detail>strong {
    display: none;
  }

  .timeline-section {
    padding-bottom: 80px;
  }

  .timeline article {
    grid-template-columns: 45px 1fr;
    gap: 12px;
  }

  .note-section .button {
    display: inline-flex;
  }

  .contact-section {
    gap: 0;
  }
}

.cards-hero {
  position: relative;
  min-height: 600px;
}

.cards-hero .hero-text {
  max-width: 450px;
}

.card-showcase {
  position: absolute;
  right: 20px;
  bottom: 70px;
  width: 420px;
  height: 300px;
}

.card-photo {
  position: absolute;
  width: 280px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(23, 43, 77, .22);
  background: var(--white);
}

.credit-photo {
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-7deg);
}

.debit-photo {
  right: 0;
  bottom: 0;
  width: 300px;
  transform: rotate(7deg);
}

.bank-card {
  position: absolute;
  width: 300px;
  height: 185px;
  padding: 22px;
  border-radius: 13px;
  box-shadow: 0 18px 35px rgba(23, 43, 77, .2);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
}

.credit-card {
  top: 0;
  left: 0;
  z-index: 2;
  background: linear-gradient(135deg, #17345d, #387291);
  transform: rotate(-7deg);
}

.debit-card {
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #b9693c, #edaa62);
  transform: rotate(7deg);
}

.card-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.card-chip {
  display: block;
  width: 38px;
  height: 27px;
  margin-top: 35px;
  border-radius: 5px;
  background: linear-gradient(135deg, #e2bd74, #f6dfa5);
}

.card-number {
  display: block;
  margin-top: 14px;
  font-size: .82rem;
  letter-spacing: 1.5px;
}

.card-name,
.card-type {
  position: absolute;
  bottom: 18px;
  font-size: .54rem;
  letter-spacing: 1px;
}

.card-type {
  right: 20px;
  opacity: .8;
}

.card-name {
  left: 22px;
}

.cards-lifestyle {
  margin: 0 auto 50px;
  padding: 0;
}

.cards-lifestyle img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.cards-lifestyle figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .78rem;
}

.card-option-photo {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 42, 67, .1);
}

.card-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 0 130px;
}

.card-option {
  padding: 43px;
  background: var(--cream);
}

.debit-option {
  background: var(--sage);
}

.option-tag {
  color: #9b5b37;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-option h2 {
  margin: 25px 0 18px;
  font-size: 2.65rem;
  letter-spacing: -2px;
}

.card-option p {
  max-width: 390px;
  color: var(--muted);
  font-size: .87rem;
}

.card-option ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 35px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: .82rem;
}

.card-option li::before {
  content: '✓';
  margin-right: 10px;
  color: #bf6d37;
  font-weight: 700;
}

.card-apply-section {
  background: var(--yellow);
}

.card-apply-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 120px;
  padding-top: 110px;
  padding-bottom: 120px;
}

.card-apply-inner>div>p:last-child {
  max-width: 300px;
  color: #6d6256;
  font-size: .9rem;
}

.card-apply-inner .apply-form {
  padding-top: 0;
}

@media (max-width: 800px) {
  .cards-hero {
    min-height: 720px;
  }

  .card-showcase {
    right: 0;
    bottom: 55px;
    transform: scale(.82);
    transform-origin: right bottom;
  }

  .card-options,
  .card-apply-inner {
    display: block;
  }

  .card-option+.card-option,
  .card-apply-inner .apply-form {
    margin-top: 16px;
  }

  .card-apply-inner {
    padding-top: 80px;
    padding-bottom: 85px;
  }

  .card-apply-inner .apply-form {
    padding-top: 25px;
  }
}

/* Modern fintech finish */
.menu-toggle {
  border-radius: 8px;
}

.trust-bar {
  color: #829ab1;
}

.stars {
  color: var(--coral);
}

.loan-card {
  box-shadow: 0 14px 30px rgba(16, 42, 67, .08);
}

.loan-card-yellow {
  color: var(--ink);
  background: #ffd166;
}

.loan-card-dark {
  box-shadow: 0 14px 30px rgba(16, 42, 67, .16);
}

.calculator-panel {
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(16, 42, 67, .07);
}

.field-row output,
.values-grid span,
.loan-detail-number,
.timeline article>span {
  color: var(--coral);
}

.apply-section {
  background: #ffffff;
}

.apply-form input,
.apply-form select {
  border-color: #b8c9d8;
}

.process-section {
  background: #102a43;
}

.step {
  border-color: #294b68;
}

.step:first-child {
  border-color: #294b68;
}

.step-number,
.process-intro h2 em {
  color: var(--yellow);
}

.card-option {
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(16, 42, 67, .08);
}

.story-highlight {
  border-radius: 14px;
}

.values-section {
  background: var(--cream);
}

.bank-card {
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(16, 42, 67, .24);
}

.credit-card {
  background: linear-gradient(135deg, #102a43, #247ba0);
}

.debit-card {
  background: linear-gradient(135deg, #f26b5e, #ffb547);
}

.card-apply-section {
  background: #ffd166;
}

.home-card-stack .credit-photo {
  top: 8px;
  left: 24px;
}

.home-card-stack .debit-photo {
  right: 8px;
  bottom: 0;
}

@media (max-width: 800px) {
  .cards-lifestyle img {
    height: 200px;
  }

  .home-card-stack {
    height: 260px;
  }

  .home-card-stack .card-photo,
  .card-showcase .card-photo {
    width: 220px;
  }

  .home-card-stack .debit-photo,
  .card-showcase .debit-photo {
    width: 240px;
  }
}