/* Main stylesheet. Edit this file directly; no CSS build step. */
/* Bundled Inter, licensed under the SIL Open Font License. See Inter-OFL.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2?v=f0df4f2ea180dd79) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2?v=49316341ddbe091a) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

/* Shared tokens, base elements, navigation, controls and footer. */
:root {
  --primary: #ff8b18;
  --primary-dark: #E97808;
  --primary-soft: #FFF1E3;
  --primary-ink: #FFFFFF;
  --accent: #1D1D1F;
  --accent-soft: #F5F5F7;
  --bg: #fff;
  --fg: #171717;
  --muted: #6B7280;
  --muted-bg: #F7F4F1;
  --card: #fff;
  --border: #ECE5DE;
  --danger: #D64545;
  --shadow: 0 20px 50px rgba(17,17,17,.08);
  --shadow-lg: 0 26px 70px rgba(17,17,17,.12);
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter,Helvetica,Arial,sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(var(--container),calc(100% - 32px));
  margin: auto;
}

.container.narrow {
  max-width: 1152px;
}

.announcement {
  background: var(--primary);
  color: var(--primary-ink);
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 16px;
}

.site-header {
  position: relative;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227,232,227,.9);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Keep navigation in its final position while the language control is parsed. */
html[data-page="home"] .site-header .nav {
  justify-content: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.035em;
}

.brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#FF8B18,#FFB661);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,139,24,.22);
}

.brand-symbol svg {
  width: 20px;
  height: 20px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: #3f4641;
}

.navlinks a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn.primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 10px 25px rgba(255,139,24,.18);
}

.btn.primary:hover {
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(255,139,24,.28);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  background: var(--muted-bg);
}

.btn.wide {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.burger svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 16px 18px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu a:not(.btn) {
  justify-content: flex-start;
}

.mobile-menu a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mobile-menu .btn {
  margin-top: 6px;
  padding: 0 16px;
}

.mobile-menu .btn.wide {
  width: 100%;
}

h1,h2,h3,p {
  margin-top: 0;
}

.icon-box {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255,139,24,.10);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex: 0 0 auto;
}

.icon-box svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

input[type=range] {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right,var(--primary) 0 35%,var(--accent) 35% 100%);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 7px rgba(0,0,0,.15);
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  cursor: pointer;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,139,24,.12);
  color: #6E3100;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

footer {
  background: #171717;
  color: #fff;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .7fr .7fr 1fr;
  gap: 34px;
}

.footer-brand p,.footer-col a,.footer-col p {
  color: #B7B7B7;
  font-size: 12px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 12px;
  color: #fff;
}

.footer-col a,.footer-col .pending-link {
  display: block;
  margin: 7px 0;
}

.footer-col .pending-link {
  color: #8F9290;
  font-size: 12px;
  line-height: 1.7;
  cursor: default;
}

.company {
  margin-top: 18px;
  border: 1px solid #303030;
  border-radius: 16px;
  padding: 16px;
  color: #C9C9C9;
  font-size: 11px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid #2B2B2B;
  margin-top: 30px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8A8A8A;
  font-size: 10px;
}

@media(max-width:1024px) {
  .navlinks {
    display: none;
  }

  .burger {
    display: grid;
    place-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:640px) {
  .container {
    width: min(100% - 24px,var(--container));
  }

  .announcement {
    font-size: 10px;
    padding: 6px 12px;
  }

  .nav {
    height: 58px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-symbol {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .nav-actions>.btn.primary {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 6px;
  }
}

/* Shared behavior and accessibility, independent of page design. */
[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 16px;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-height, 64px));
  overflow-y: auto;
}

:where(a, button, input, select):focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

input[type=range]:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Quiet, consistent feedback for pointer and keyboard interaction. */
.burger .menu-close, .burger[aria-expanded="true"] .menu-lines {
  display: none;
}

.burger[aria-expanded="true"] .menu-close {
  display: block;
}

.burger[aria-expanded="true"] {
  background: var(--primary-soft);
}

.btn:active:not(:disabled) {
  box-shadow: inset 0 2px 4px #17171712;
}

.navlinks a, footer a {
  text-underline-offset: 4px;
}

.navlinks a:hover, .footer-col a:hover {
  text-decoration: underline;
}

.footer-col .contact-link {
  width: fit-content;
  min-height: 36px;
  display: flex;
  align-items: center;
  margin-block: 0;
  overflow-wrap: anywhere;
}

.footer-brand > .brand {
  width: fit-content;
}

@media (hover: hover) {
  .burger:hover, .mobile-menu a:not(.btn):hover {
    background: var(--primary-soft);
  }
}


/* Original landing design, isolated from the application and offers. */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(150px - var(--header-height, 98px)) 0 76px;
  background: linear-gradient(135deg,rgba(255,139,24,.075),#fff 46%,rgba(29,29,31,.035));
}

.hero:before,.hero:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero:before {
  width: 600px;
  height: 600px;
  background: rgba(255,139,24,.10);
  right: -140px;
  top: -280px;
}

.hero:after {
  width: 500px;
  height: 500px;
  background: rgba(29,29,31,.06);
  left: -180px;
  bottom: -270px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

:where(.hero) h1 {
  font-size: 72px;
  line-height: 1.045;
  letter-spacing: -.055em;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 620px;
}

:where(.hero) h1 .accent {
  color: var(--primary);
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-copy strong {
  color: var(--fg);
  font-weight: 600;
}

.hero-points {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 12px;
}

.loan-shell {
  position: relative;
}

.loan-glow {
  position: absolute;
  inset: -5px;
  border-radius: 26px;
  background: linear-gradient(90deg,rgba(255,139,24,.18),rgba(255,139,24,.12));
  filter: blur(18px);
  opacity: .9;
}

.loan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.loan-card h2 {
  font-size: 21px;
  letter-spacing: -.025em;
  margin-bottom: 4px;
}

.loan-card .sub {
  font-size: 14px;
  color: var(--muted);
}

.amount-block {
  text-align: center;
  margin: 32px 0 24px;
}

.amount-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 7px;
}

.amount-value {
  font-size: 58px;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.055em;
}

.range-wrap {
  padding: 0 6px;
  margin-bottom: 26px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 9px;
  margin-bottom: 22px;
}

.quick-grid button {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 6px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,.10);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.quick-grid button:hover {
  background: rgba(255,139,24,.12);
  color: #6E3100;
  border-color: rgba(255,139,24,.22);
}

.term-selector {
  margin-bottom: 18px;
}

.term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 12px;
  color: var(--muted);
}

.term-head strong {
  color: var(--fg);
  font-size: 13px;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 7px;
}

.term-grid button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 9px 5px;
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  transition: .2s ease;
}

.term-grid button:hover {
  background: var(--primary-soft);
  border-color: rgba(255,139,24,.30);
  color: #6E3100;
}

.hero-disclosure {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 14px auto 0;
  line-height: 1.55;
  max-width: 440px;
}

.estimate-line {
  margin: 16px 0 18px;
  background: var(--muted-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
}

.estimate-line strong {
  color: var(--fg);
  white-space: nowrap;
}

.estimate-line.estimate-stack {
  display: grid;
  gap: 4px;
}

.estimate-line.estimate-stack strong:last-child {
  font-size: 14px;
}

section:where(.hero, .app-section, .steps-section, .benefits-section, .disclosure-section) {
  padding: 80px 0;
}

.section-center {
  text-align: center;
  margin: 0 auto 46px;
  max-width: 720px;
}

.section-center h2 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.section-center p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}

.steps-section {
  position: relative;
  overflow: hidden;
}

.steps-section:before,.steps-section:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
}

.steps-section:before {
  width: 280px;
  height: 280px;
  background: rgba(255,139,24,.06);
  right: 3%;
  top: 90px;
}

.steps-section:after {
  width: 320px;
  height: 320px;
  background: rgba(29,29,31,.05);
  left: 0;
  bottom: -90px;
}

.step-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto 34px;
  position: relative;
  z-index: 1;
}

.step-tab {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-width: 112px;
  padding: 0;
  color: var(--muted);
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--border);
  background: var(--muted-bg);
  transition: .25s;
  color: var(--muted);
}

.step-circle svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-tab.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 9px 22px rgba(255,139,24,.24);
}

.step-tab span {
  font-size: 13px;
  font-weight: 600;
  margin-top: 9px;
}

.step-tab.active > span:last-child {
  color: var(--primary);
}

.connector {
  height: 2px;
  width: 120px;
  background: var(--border);
  margin-top: 27px;
  overflow: hidden;
}

.connector i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: .3s;
}

.connector.done i {
  width: 100%;
}

.step-card {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  min-height: 258px;
}

.step-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-bigicon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,139,24,.10);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex: 0 0 auto;
}

.step-bigicon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.step-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(255,139,24,.10);
  padding: 4px 8px;
  border-radius: 6px;
}

.step-time {
  font-size: 12px;
  font-weight: 700;
  color: #A45C0F;
}

.step-content h3 {
  font-size: 24px;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.step-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 28px;
}

.step-dots {
  display: flex;
  gap: 7px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--border);
}

.step-dot.active {
  width: 24px;
  background: var(--primary);
}

.benefits-section {
  background: rgba(244,247,244,.72);
  position: relative;
  overflow: hidden;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin: -10px 0 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}

.trust-item .icon-box {
  width: 30px;
  height: 30px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(17,17,17,.04);
}

.feature-card .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255,139,24,.10);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 26px;
}

.feature-card:nth-child(2) .feature-icon {
  background: #FFF4EA;
  color: #FF8B18;
}

.feature-card:nth-child(3) .feature-icon {
  background: #F3F4F6;
  color: #3F3F46;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 9px;
  letter-spacing: -.025em;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.metric {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric strong {
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(90deg,#FF8B18,#171717);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card:nth-child(2) .metric strong {
  background: linear-gradient(90deg,#1D1D1F,#5F5F66);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card:nth-child(3) .metric strong {
  background: linear-gradient(90deg,#FF8B18,#8A4A0C);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric span {
  font-size: 13px;
  color: var(--muted);
}

.corner-shape {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 96px;
  height: 96px;
  border-radius: 96px 0 0 0;
  background: linear-gradient(315deg,rgba(255,139,24,.11),transparent 70%);
}

.disclosure-section {
  padding-top: 58px;
  padding-bottom: 58px;
  background: var(--muted-bg);
}

.disclosure-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
}

.disclosure-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.disclosure-head h2 {
  font-size: 28px;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.disclosure-head p {
  color: var(--muted);
  font-size: 13px;
  max-width: 670px;
  margin-bottom: 0;
}

.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.d-cell {
  background: var(--muted-bg);
  border-radius: 14px;
  padding: 15px;
}

.d-cell span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 4px;
}

.d-cell strong {
  font-size: 15px;
}

.example {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.example strong {
  color: var(--fg);
}

.loan-card,.step-card,.feature-card,.disclosure-card,.app-promo,.app-float {
  transition: transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1),border-color .28s ease,background-color .28s ease,color .28s ease,opacity .28s ease;
}

.app-section {
  padding-top: 64px;
  padding-bottom: 72px;
}

.app-promo {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg,#1D1D1F 0%,#2A2A2D 38%,#FF8B18 145%);
  color: #fff;
  padding: 56px;
  box-shadow: 0 34px 90px rgba(17,17,17,.18);
}

.app-promo:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.13) 1px,transparent 1px);
  background-size: 30px 30px;
}

.app-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 44px;
  align-items: center;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.app-badge svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-title {
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -.055em;
  margin: 0 0 18px;
  max-width: 560px;
}

.app-title span {
  color: #FFB661;
}

.app-copy-text {
  max-width: 560px;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 30px;
}

.app-actions .btn {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 14px;
  background: #fff;
  color: #171717;
  box-shadow: none;
}

.app-actions .btn:hover {
  background: #fff5ea;
  color: #171717;
}

.app-actions .app-install-placeholder:disabled {
  opacity: .82;
  cursor: not-allowed;
  transform: none;
  background: #fff;
  color: #171717;
}

.app-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 58px;
}

.app-stat strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
}

.app-stat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.76);
}

.app-visual {
  position: relative;
  min-height: 592px;
}

.app-float {
  position: absolute;
  z-index: 2;
  background: #fff;
  color: #171717;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
  font-weight: 700;
}

.app-float small {
  display: block;
  color: #6B7280;
  font-weight: 600;
  font-size: 13px;
}

.app-float.top {
  left: 0;
  top: 18px;
}

.app-float.side {
  right: -8px;
  top: 300px;
  background: var(--primary);
  color: #fff;
}

.phone-shell {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 292px;
  height: 592px;
  background: #171717;
  border-radius: 40px;
  padding: 8px;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: #F4F4F5;
  color: #171717;
  padding: 18px 14px 12px;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: #171717;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #171717;
  padding: 4px 8px 8px;
}

.phone-center {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #171717;
  margin-bottom: 10px;
}

.phone-card {
  background: #fff;
  color: #171717;
  border-radius: 15px;
  padding: 10px 10px;
  margin-bottom: 8px;
  box-shadow: 0 8px 18px rgba(17,17,17,.06);
}

.phone-card.center {
  text-align: center;
}

.phone-card h4 {
  margin: 0 0 5px;
  font-size: 12px;
  color: #333;
}

.phone-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,139,24,.12);
  color: #7a4708;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.phone-progress {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
  margin-top: 8px;
}

.phone-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.phone-progress-step span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #E5E7EB;
  color: #6B7280;
  font-size: 10px;
  font-weight: 800;
}

.phone-progress-step.done span {
  background: rgba(255,139,24,.16);
  color: #A45C0F;
}

.phone-progress-step.current span {
  background: var(--primary);
  color: #fff;
}

.phone-progress-step small {
  font-size: 8px;
  color: #6B7280;
  line-height: 1.2;
}

.phone-offer-card.selected {
  border: 1px solid rgba(255,139,24,.28);
  box-shadow: 0 10px 22px rgba(255,139,24,.10);
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.phone-offer-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.phone-offer-meta span {
  font-size: 10px;
  color: #555;
  padding: 4px 6px;
  border-radius: 999px;
  background: #F3F4F6;
}

.phone-offer-list h4 {
  margin-bottom: 6px;
}

.phone-offer-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.phone-offer-item + .phone-offer-item {
  border-top: 1px solid #ECEFF3;
}

.phone-offer-item strong {
  display: block;
  font-size: 11px;
  color: #171717;
}

.phone-offer-item small {
  display: block;
  font-size: 9px;
  color: #6B7280;
  line-height: 1.3;
  margin-top: 2px;
}

.phone-offer-total {
  font-size: 11px;
  font-weight: 800;
  color: #171717;
  white-space: nowrap;
}

.phone-card-compact .phone-cta {
  margin-top: 8px;
}

.phone-selection {
  font-size: 18px;
  font-weight: 800;
  color: #171717;
  letter-spacing: -.03em;
  margin-bottom: 2px;
}

.phone-caption {
  font-size: 9px;
  color: #6B7280;
  margin-bottom: 1px;
}

.phone-price {
  font-size: 24px;
  font-weight: 800;
  color: #171717;
  letter-spacing: -.04em;
  margin-bottom: 4px;
}

.phone-range {
  height: 5px;
  border-radius: 999px;
  background: #D1D5DB;
  position: relative;
  margin: 7px 0 11px;
}

.phone-range i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 33%;
  background: var(--primary);
  border-radius: 999px;
}

.phone-range b {
  position: absolute;
  left: 33%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}

.phone-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #555;
  margin: 5px 0;
}

.phone-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.mobile-bottom-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(23,23,23,.96);
  color: #fff;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}

.mobile-bottom-cta strong {
  font-size: 14px;
  line-height: 1.3;
  display: block;
  max-width: 170px;
}

.mobile-bottom-cta .btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  white-space: nowrap;
}

.mobile-bottom-cta.show {
  display: flex;
  animation: slideUp .24s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media(max-width:1024px) {
  .hero {
    padding-top: calc(138px - var(--header-height, 98px));
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  :where(.hero) h1 {
    font-size: 58px;
  }

  .amount-value {
    font-size: 48px;
  }

  .loan-card {
    padding: 26px;
  }

  .benefit-grid {
    gap: 16px;
  }
}

@media(max-width:820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero {
    padding-bottom: 58px;
  }

  .loan-shell {
    max-width: 650px;
    width: 100%;
    margin: auto;
  }

  .app-section {
    padding-top: 52px;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .app-copy {
    max-width: none;
  }

  .app-title {
    font-size: 48px;
    max-width: none;
  }

  .app-visual {
    min-height: 592px;
  }

  .app-float.top {
    left: 24px;
  }

  .app-float.side {
    right: 24px;
  }

  :where(.hero) h1 {
    font-size: 60px;
    max-width: 680px;
  }

  .section-center h2 {
    font-size: 36px;
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-grid .feature-card:last-child {
    grid-column: 1/-1;
  }

  .disclosure-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:640px) {

  .hero {
    padding: calc(116px - var(--header-height, 86px)) 0 52px;
  }

  .hero-grid {
    gap: 34px;
  }

  :where(.hero) h1 {
    font-size: 42px;
    line-height: 1.06;
    margin-bottom: 18px;
  }

  .hero-copy {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-points {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .loan-shell {
    margin-top: 0;
  }

  .app-section {
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .app-promo {
    padding: 26px 20px 24px;
    border-radius: 24px;
  }

  .app-badge {
    font-size: 12px;
    padding: 8px 12px;
    margin-bottom: 16px;
  }

  .app-title {
    font-size: 40px;
    margin-bottom: 14px;
  }

  .app-copy-text {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .app-stats {
    gap: 18px;
    margin-top: 28px;
  }

  .app-stat strong {
    font-size: 32px;
  }

  .app-stat span {
    font-size: 12px;
  }

  .app-visual {
    min-height: 560px;
  }

  .phone-shell {
    width: 220px;
    height: 492px;
    top: 48px;
  }

  .phone-screen {
    padding: 14px 10px 10px;
  }

  .phone-center {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .phone-card {
    padding: 7px 8px;
    margin-bottom: 6px;
  }

  .phone-card h4 {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .phone-status-pill {
    font-size: 7px;
    padding: 3px 6px;
  }

  .phone-progress {
    gap: 4px;
    margin-top: 6px;
  }

  .phone-progress-step span {
    width: 15px;
    height: 15px;
    font-size: 8px;
  }

  .phone-progress-step small {
    font-size: 7px;
  }

  .phone-selection {
    font-size: 15px;
  }

  .phone-caption {
    font-size: 8px;
  }

  .phone-price {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .phone-offer-meta {
    gap: 6px;
  }

  .phone-offer-meta span {
    font-size: 8px;
    padding: 3px 5px;
  }

  .phone-offer-item {
    padding: 6px 0;
  }

  .phone-offer-item strong {
    font-size: 10px;
  }

  .phone-offer-item small {
    font-size: 8px;
  }

  .phone-offer-total {
    font-size: 10px;
  }

  .phone-row {
    font-size: 9px;
    margin: 4px 0;
  }

  .phone-cta {
    height: 28px;
    font-size: 10px;
    margin-top: 4px;
  }

  .app-float {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  .app-float small {
    font-size: 11px;
  }

  .app-float.top {
    left: 0;
    top: 0;
  }

  .app-float.side {
    display: none;
  }

  .mobile-bottom-cta strong {
    max-width: 145px;
  }

  .loan-card {
    padding: 22px;
    border-radius: 22px;
  }

  .loan-card h2 {
    font-size: 19px;
  }

  .amount-block {
    margin: 26px 0 22px;
  }

  .amount-value {
    font-size: 45px;
  }

  .quick-grid {
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
  }

  .quick-grid button {
    padding: 10px 3px;
    font-size: 12px;
  }

  .term-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .estimate-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .estimate-line strong {
    white-space: normal;
  }

  section:where(.hero, .app-section, .steps-section, .benefits-section, .disclosure-section) {
    padding: 58px 0;
  }

  .section-center {
    margin-bottom: 34px;
  }

  .section-center h2 {
    font-size: 31px;
  }

  .section-center p {
    font-size: 14px;
  }

  .step-tabs {
    margin-bottom: 28px;
  }

  .step-tab {
    min-width: 74px;
  }

  .step-circle {
    width: 48px;
    height: 48px;
  }

  .connector {
    width: 42px;
    margin-top: 23px;
  }

  .step-tab span {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    max-width: 78px;
  }

  .step-card {
    padding: 22px;
    min-height: 330px;
  }

  .step-body {
    display: block;
  }

  .step-bigicon {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
  }

  .step-content h3 {
    font-size: 22px;
  }

  .step-footer {
    margin-top: 24px;
  }

  .step-footer .btn {
    padding: 0 15px;
  }

  .trust-row {
    justify-content: flex-start;
    gap: 14px;
    display: grid;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid .feature-card:last-child {
    grid-column: auto;
  }

  .feature-card {
    min-height: 265px;
  }

  .disclosure-card {
    padding: 20px;
  }

  .disclosure-head {
    display: block;
  }

  .disclosure-head h2 {
    font-size: 24px;
  }

  .disclosure-head>.btn {
    display: none;
  }

  .disclosure-grid {
    grid-template-columns: 1fr;
  }
}

.phone-range-78 i {
  width: 78%;
}

.phone-range-78 b {
  left: 78%;
}


/* Clear selection without moving the surrounding card. */
.quick-grid button.active, .term-grid button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}

.quick-grid button, .term-grid button {
  min-height: 44px;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.loan-card:focus-within {
  border-color: rgba(255,139,24,.42);
}

.step-circle {
  flex-shrink: 0;
}

.step-tab:focus-visible {
  border-radius: 12px;
}

/* Original six-step application layout. */

.flow-main {
  padding: calc(88px - var(--header-height, 65px)) 0 38px;
  background: linear-gradient(135deg,rgba(255,139,24,.055),#fff 44%,rgba(29,29,31,.025));
  min-height: 100dvh;
  display: block;
}

.flow-container {
  max-width: 940px;
  margin: 0 auto;
}

.flow-shell {
  scroll-margin-top: 0;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px 28px 22px;
  box-shadow: 0 22px 58px rgba(17,17,17,.09);
  overflow: visible;
}

.flow-shell:before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  right: -92px;
  top: -120px;
  background: rgba(255,139,24,.07);
  filter: blur(34px);
  pointer-events: none;
}

.flow-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.flow-head .pill {
  margin-bottom: 7px;
  padding: 6px 10px;
  font-size: 10px;
}

.flow-head h1 {
  font-size: 31px;
  line-height: 1.05;
  margin: 0 0 5px;
  letter-spacing: -.042em;
}

.flow-head p {
  max-width: 570px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.flow-progress {
  height: 4px;
  background: #F0ECE8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.flow-progress span {
  display: block;
  height: 100%;
  width: 16.666%;
  background: var(--primary);
  border-radius: inherit;
  transition: width .28s ease;
}

.flow-form {
  position: relative;
}

.flow-step {
  animation: flowFade .18s ease;
  min-height: 0;
  padding: 0;
}

@keyframes flowFade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.step-heading {
  display: block;
  margin-bottom: 16px;
}

.step-heading h2 {
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 3px;
}

.step-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.flow-amount-card {
  background: var(--muted-bg);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 13px 16px 11px;
  margin-bottom: 12px;
}

.flow-label-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}

.flow-label-row label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.flow-label-row strong {
  font-size: 22px;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -.035em;
}

.flow-amount-card input[type=range] {
  background: linear-gradient(to right,var(--primary) 0 var(--range-progress, 21.74%), #E9E4DF var(--range-progress, 21.74%) 100%);
}

.flow-range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}

.flow-grid {
  display: grid;
  gap: 10px 12px;
}

.flow-grid.two {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.flow-grid .full {
  grid-column: 1/-1;
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field>label,.choice-group>legend {
  font-size: 12px;
  font-weight: 700;
  color: #454545;
  margin: 0 0 5px;
}

.field input:not([type=range]),.field select {
  width: 100%;
  height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #F4F4F5;
  color: var(--fg);
  padding: 0 14px;
  outline: none;
  font-size: 16px;
  transition: border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.field input::placeholder {
  color: #7D828A;
}

.field input:focus,.field select:focus {
  background: #fff;
  border-color: rgba(255,139,24,.65);
  box-shadow: 0 0 0 3px rgba(255,139,24,.10);
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #F4F4F5;
  overflow: hidden;
  transition: border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.phone-input-wrap:focus-within {
  background: #fff;
  border-color: rgba(255,139,24,.65);
  box-shadow: 0 0 0 3px rgba(255,139,24,.10);
}

.phone-prefix {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 11px 0 14px;
  margin: 8px 0;
  color: var(--fg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  border-right: 1px solid #DDD9D5;
}

.field .phone-input-wrap input:not([type=range]) {
  height: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none!important;
  padding: 0 14px 0 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
}

.field.invalid .phone-input-wrap {
  border-color: rgba(214,69,69,.65);
  background: #fff;
}

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 38px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-image: linear-gradient(45deg,transparent 50%,#5f6368 50%),linear-gradient(135deg,#5f6368 50%,transparent 50%);
  background-position: calc(100% - 17px) 19px,calc(100% - 12px) 19px;
  background-size: 5px 5px,5px 5px;
  background-repeat: no-repeat;
}

.field select:focus {
  background-color: #fff;
}

.field-hint {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}

.field.invalid input,.field.invalid select {
  border-color: rgba(214,69,69,.65);
  background-color: #fff;
}

.field.invalid .field-error,.choice-group.invalid>.group-error {
  display: block;
}

.email-field {
  position: relative;
}

.email-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  z-index: 30;
  background: #fff;
  border: 1px solid rgba(255,139,24,.32);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(17,17,17,.12);
  padding: 6px;
  max-height: 220px;
  overflow: auto;
}

.email-suggestion {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--fg);
  text-align: left;
  padding: 10px 11px;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.email-suggestion:hover,.email-suggestion.active {
  background: var(--primary-soft);
}

.email-suggestion strong {
  font-weight: 700;
}

.email-suggestion span {
  color: var(--muted);
  font-size: 12px;
}

.choice-group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.choice-group>legend {
  padding: 0;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  transition: .18s ease;
  min-width: 0;
}

.choice-card+.choice-card {
  margin-top: 8px;
}

.choice-card:hover {
  border-color: rgba(255,139,24,.35);
  background: #FFF9F3;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-control {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #CBD0D5;
  background: #fff;
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  transition: .18s ease;
}

.choice-control:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%,-50%) scale(0);
  transform-origin: center;
  transition: .18s ease;
}

.choice-card input:checked+.choice-control {
  border-color: var(--primary);
  background: var(--primary);
}

.choice-card input:checked+.choice-control:after {
  transform: translate(-50%,-50%) scale(1);
}

.choice-card:has(input:checked) {
  border-color: rgba(255,139,24,.45);
  background: var(--primary-soft);
}

.choice-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.choice-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  margin-top: 2px;
}

.choice-inline {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}

.choice-inline .choice-card,.choice-grid .choice-card {
  margin: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}

.choice-group.compact {
  margin-top: 12px;
}

.consent-field {
  margin-top: 2px;
}

.consent-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-size: 12px;
  line-height: 1.5;
}

.consent-control {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.consent-control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.consent-control .consent-box {
  pointer-events: none;
}

.consent-copy label {
  display: inline;
  cursor: pointer;
}

.consent-box {
  position: relative;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  flex: 0 0 19px;
  border: 1.5px solid #C8CDD3;
  border-radius: 6px;
  background: #fff;
  transition: .18s ease;
  margin-top: 1px;
}

.consent-box svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(.7);
  transition: .18s ease;
}

.consent-check input:checked+.consent-box {
  background: var(--primary);
  border-color: var(--primary);
}

.consent-check input:checked+.consent-box svg {
  opacity: 1;
  transform: scale(1);
}

.consent-check input:focus-visible+.consent-box {
  outline: 3px solid rgba(255,139,24,.18);
  outline-offset: 2px;
}

.consent-copy {
  min-width: 0;
}

.consent-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.consent-field.invalid .consent-box {
  border-color: #D64545;
  background: #FFF5F5;
}

.consent-field .field-error {
  display: block;
  margin-left: 54px;
}

.flow-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 16px;
}

.flow-actions .btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 13px;
}

.flow-actions .flow-next {
  min-width: 190px;
}

.flow-actions .flow-back {
  margin-right: auto;
}

.flow-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 620px;
  margin: 12px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
}

.flow-help-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.flow-help-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-help strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--muted);
}

.sr-only {
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  margin: -1px!important;
  overflow: hidden!important;
  clip: rect(0,0,0,0)!important;
  white-space: nowrap!important;
  border: 0!important;
}

.flow-step[data-step="2"] .choice-group {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.flow-step[data-step="2"] .choice-card {
  margin: 0;
}

.flow-step[data-step="5"] .flow-grid {
  align-items: end;
}

.flow-step[data-step="6"] .flow-grid {
  margin-top: 4px;
}

@media(max-width:820px) {
  .flow-main {
    padding-top: calc(86px - var(--header-height, 65px));
    padding-bottom: 30px;
  }

  .flow-shell {
    padding: 22px 24px;
  }

  .flow-head h1 {
    font-size: 29px;
  }
}

@media(max-width:640px) {
  .flow-shell {
    scroll-margin-top: 0;
  }

  .flow-main {
    padding: calc(76px - var(--header-height, 59px)) 0 24px;
    min-height: 100dvh;
  }

  .flow-container {
    width: min(100% - 16px,var(--container));
  }

  .flow-shell {
    padding: 14px 12px 12px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(17,17,17,.07);
  }

  .flow-shell:before {
    display: none;
  }

  .flow-head {
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
  }

  .flow-head .pill,.flow-head p {
    display: none;
  }

  .flow-head h1 {
    font-size: 22px;
    margin: 0;
  }

  .flow-progress {
    height: 3px;
    margin-bottom: 12px;
  }

  .flow-step {
    min-height: 0;
  }

  .step-heading {
    margin-bottom: 10px;
  }

  .step-heading h2 {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .step-heading p {
    font-size: 12px;
    line-height: 1.3;
  }

  .flow-step[data-step="1"] .step-heading {
    display: none;
  }

  .flow-step[data-step="1"] {
    padding-top: 2px;
  }

  .flow-amount-card {
    padding: 9px 11px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .flow-label-row {
    margin-bottom: 6px;
  }

  .flow-label-row label {
    font-size: 11px;
  }

  .flow-label-row strong {
    font-size: 18px;
  }

  .flow-range-labels {
    font-size: 10px;
    margin-top: 3px;
  }

  .flow-grid {
    gap: 7px;
  }

  .flow-grid.two {
    grid-template-columns: 1fr;
  }

  .field>label,.choice-group>legend {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .field input:not([type=range]),.field select {
    height: 44px;
    border-radius: 11px;
    font-size: 16px;
    padding: 0 12px;
  }

  .phone-input-wrap {
    height: 44px;
    border-radius: 11px;
  }

  .phone-prefix {
    padding-left: 12px;
    font-size: 16px;
  }

  .field .phone-input-wrap input:not([type=range]) {
    padding-left: 5px;
    padding-right: 12px;
  }

  .field select {
    padding-right: 34px;
    background-position: calc(100% - 16px) 17px,calc(100% - 11px) 17px;
  }

  .field-hint,.field-error {
    font-size: 11px;
    margin-top: 3px;
  }

  .consent-check {
    font-size: 12px;
    line-height: 1.5;
    gap: 8px;
  }

  .consent-box {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    border-radius: 5px;
  }

  .consent-box svg {
    width: 12px;
    height: 12px;
  }

  .consent-field .field-error {
    margin-left: 52px;
  }

  .email-suggestions {
    padding: 5px;
    border-radius: 11px;
    max-height: 190px;
  }

  .email-suggestion {
    padding: 10px;
    font-size: 13px;
  }

  .choice-card {
    min-height: 44px;
    border-radius: 11px;
    padding: 7px 9px;
    gap: 8px;
  }

  .choice-control {
    width: 16px;
    height: 16px;
  }

  .choice-control:after {
    width: 7px;
    height: 7px;
  }

  .choice-card strong {
    font-size: 13px;
  }

  .choice-card small {
    font-size: 11px;
  }

  .choice-inline,.choice-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .choice-group.compact {
    margin-top: 8px;
  }

  .flow-step[data-step="2"] .choice-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .flow-step[data-step="2"],.flow-step[data-step="4"] {
    min-height: 0;
  }

  .flow-actions {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    padding-top: 9px;
  }

  .flow-actions .btn {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 12px;
  }

  .flow-actions .flow-next {
    min-width: 0;
    flex: 1;
  }

  .flow-actions .flow-back {
    margin: 0;
    flex: 0 0 auto;
    min-width: 88px;
  }

  .flow-help {
    margin-top: 8px;
    padding: 0;
    gap: 6px;
  }

  .flow-help-icon {
    width: 20px;
    height: 20px;
  }

  .flow-help-icon svg {
    width: 16px;
    height: 16px;
  }

  .flow-help strong {
    font-size: 11px;
  }
}

@media(max-width:390px) and (max-height:760px) {
  .flow-main {
    padding-top: calc(72px - var(--header-height, 59px));
    padding-bottom: 16px;
  }

  .flow-shell {
    padding: 11px 10px 10px;
  }

  .flow-head h1 {
    font-size: 20px;
  }

  .flow-progress {
    margin-bottom: 9px;
  }

  .step-heading {
    margin-bottom: 8px;
  }

  .step-heading h2 {
    font-size: 17px;
  }

  .flow-amount-card {
    padding: 8px 10px 7px;
  }

  .field input:not([type=range]),.field select {
    height: 44px;
  }

  .phone-input-wrap {
    height: 44px;
  }

  .choice-card {
    min-height: 44px;
  }

  .flow-actions {
    margin-top: 8px;
    padding-top: 8px;
  }

  .flow-actions .btn {
    min-height: 44px;
  }

  .flow-help {
    margin-top: 7px;
  }
}



.flow-actions .flow-back[hidden] {
  display: none!important;
}

#companySizeField[hidden] {
  display: none!important;
}

/* Contain only decorative paint; form fields and suggestion lists stay visible. */
.flow-main {
  overflow-x: clip;
}

.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.step-heading h2:focus {
  outline: none;
}

/* Progress and feedback complement the original form composition. */
.flow-step-status {
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.flow-head > div {
  min-width: 0;
}

.flow-head h1:focus {
  outline: none;
}

.field-error {
  font-size: 12px;
}

.email-suggestion {
  min-height: 44px;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
}

.email-suggestion span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.email-suggestions {
  max-height: min(220px, 35dvh);
  overscroll-behavior: contain;
}

.choice-card, .consent-check {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 640px) {
  .flow-head h1 {
    font-size: 21px;
  }
  .flow-actions .btn {
    font-size: 13px;
  }
  .choice-card {
    min-height: 44px;
  }
}

/* Offer comparison components. */
:root {
  --offers-nav-height: 72px;
  --offer-action: var(--primary);
  --offer-action-hover: var(--primary);
  --offer-muted: #626975;
}

.offers-container {
  width: min(1200px, calc(100% - 64px));
}

.site-header:has(~ .offers-main) {
  position: relative;
  inset: 0 0 auto;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e8e6e4;
  flex: 0 0 auto;
}

.site-header:has(~ .offers-main) .nav {
  height: var(--offers-nav-height);
  min-height: 0;
}

.site-header:has(~ .offers-main) .brand {
  font-size: 25px;
  gap: 11px;
}

.site-header:has(~ .offers-main) .brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  box-shadow: none;
}

.site-header:has(~ .offers-main) .brand-symbol svg {
  width: 25px;
  height: 25px;
}

.site-header:has(~ .offers-main) .navlinks {
  display: flex;
  gap: 36px;
  color: #475264;
}

.site-header:has(~ .offers-main) .nav-actions {
  display: none;
}

.site-header:has(~ .offers-main) .mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 15px 24px #1717170d;
}

.offers-main {
  flex: 1 0 auto;
  /* Keep the full footer beyond the first viewport, even with one offer.
     dvh follows mobile browser chrome; the extra space keeps its edge off-screen. */
  min-height: calc(100vh - var(--offers-nav-height) - 1px + 24px);
  min-height: calc(100dvh - var(--offers-nav-height) - 1px + 24px);
  padding: 40px 0 30px;
  background: radial-gradient(ellipse at 10% 10%, #fff8f1 0, transparent 65%), linear-gradient(110deg, #f9f6f2, #fff 75%);
}

.offers-head, .offers-grid {
  padding: 0;
}

.offers-head {
  margin-bottom: 36px;
}

.offers-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--offer-muted);
  font-size: 14px;
  margin-bottom: 23px;
}

.offers-back:hover {
  color: var(--offer-action);
}

.offers-head h1 {
  max-width: none;
  margin: 0 0 7px;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 750;
}

.offers-head p {
  margin: 0;
  color: var(--offer-muted);
  font-size: 17px;
  line-height: 1.45;
}

.offers-mobile-copy {
  display: none;
}

.offers-grid {
  --offer-columns: 3;
  --offer-gap: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--offer-gap);
  margin-inline: auto;
}

.offers-grid[data-offer-count="1"] {
  --offer-columns: 1;
  max-width: 400px;
}

.offers-grid[data-offer-count="2"] {
  --offer-columns: 2;
  max-width: 820px;
}

.offers-grid[data-offer-count="4"] {
  --offer-columns: 4;
}

.offer-card {
  flex: 0 0 calc((100% - var(--offer-gap) * (var(--offer-columns) - 1)) / var(--offer-columns));
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  border: 1px solid #e2e3e6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px #17171703;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.offer-card[hidden] {
  display: none;
}

@media (min-width: 761px) {
  .offers-main[data-offer-count="1"] .offers-head,
  .offers-main[data-offer-count="2"] .offers-head {
    text-align: center;
  }
}

/* Four desktop cards retain readable brand details at narrower card widths. */
@media (min-width: 1101px) {
  .offers-grid[data-offer-count="4"] .offer-card {
    padding-inline: 16px;
  }
  .offers-grid[data-offer-count="4"] .offer-brand-block {
    gap: 10px;
  }
  .offers-grid[data-offer-count="4"] .offer-logo-square {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 34px;
  }
  .offers-grid[data-offer-count="4"] .offer-logo-square svg {
    width: 34px;
    height: 34px;
  }
  .offers-grid[data-offer-count="4"] .offer-brand-copy h2 {
    font-size: 18px;
  }
  .offers-grid[data-offer-count="4"] .offer-rating {
    font-size: 10px;
    gap: 4px;
  }
  .offers-grid[data-offer-count="4"] .offer-rating small {
    margin-left: 2px;
    padding-left: 6px;
  }
  .offers-grid[data-offer-count="4"] .offer-support-item {
    font-size: 12px;
    gap: 8px;
  }
}

.offer-card-featured {
  border-color: var(--primary);
  background: linear-gradient(140deg, #fff8ef, #fffcf8);
}

.offer-card.selected {
  border-color: var(--offer-action);
  box-shadow: 0 0 0 2px #ff8b1826;
}

.offer-card-header {
  display: flex;
  flex-direction: column;
}

.offer-flag {
  align-self: flex-end;
  display: inline-flex;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 11px;
  color: #515864;
  background: #f0f0f2;
  border: 1px solid #e9e9ec;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-flag-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}

.offer-brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 16px 0 18px;
}

.offer-logo-square {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e6e8;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 2px 5px #17171705;
}

.offer-logo-square svg {
  width: 48px;
  height: 48px;
}

.creditify-logo {
  color: var(--primary);
  font-size: 43px;
  font-weight: 800;
  line-height: 1;
}

.finpug-logo {
  background: #111;
  border-color: #111;
  color: #fff;
  font: italic 700 48px/1 Georgia, serif;
  padding-bottom: 4px;
}

.offer-brand-copy {
  min-width: 0;
}

.offer-brand-copy h2 {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 750;
  margin: 0 0 8px;
}

.offer-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--offer-muted);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.offer-star {
  color: var(--primary);
  font-size: 19px;
}

.offer-rating strong {
  font-weight: 600;
}

.offer-rating small {
  font-size: inherit;
  border-left: 1px solid #dbdce0;
  padding-left: 10px;
  margin-left: 4px;
}

.offer-metrics {
  margin: 0;
}

.offer-metrics > div {
  border-top: 1px solid #e6e4e2;
  padding: 15px 5px 17px;
}

.offer-metrics dt {
  font-size: 13px;
  line-height: 1.4;
  color: var(--offer-muted);
  margin-bottom: 6px;
}

.offer-metrics dd {
  margin: 0;
}

.offer-amount-prefix {
  display: block;
  color: #566173;
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 3px;
}

.offer-metrics strong {
  display: block;
  color: #171717;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  font-size: 36px;
  letter-spacing: -.045em;
  line-height: 1.1;
  white-space: nowrap;
}

.offer-interest strong {
  font-size: 32px;
}

.offer-support-row {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e6e4e2;
  padding: 17px 5px 20px;
  color: var(--offer-muted);
}

.offer-support-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.offer-support-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-support-item strong {
  font-weight: 500;
}

.offer-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--offer-action);
  color: var(--primary-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.offer-cta > span {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.offer-cta:hover {
  background: var(--offer-action-hover);
}

.offer-card.selected .offer-cta {
  background: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary-ink);
}

.offers-main a:focus-visible, .offers-main button:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Tablet: retain the aligned comparison grid, with proportionate spacing. */
@media (min-width: 761px) and (max-width: 1100px) {
  .offers-container {
    width: calc(100% - 40px);
  }
  .offers-grid {
    --offer-gap: 14px;
  }
  .offers-grid[data-offer-count="4"] {
    --offer-columns: 2;
    max-width: 820px;
  }
  .offer-card {
    padding: 16px 14px;
  }
  .offer-brand-block {
    gap: 10px;
  }
  .offer-logo-square {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .offer-logo-square svg {
    width: 35px;
    height: 35px;
  }
  .creditify-logo {
    font-size: 34px;
  }
  .finpug-logo {
    font-size: 36px;
  }
  .offer-brand-copy h2 {
    font-size: 18px;
  }
  .offer-rating {
    font-size: 10px;
    gap: 4px;
  }
  .offer-rating small {
    padding-left: 6px;
    margin-left: 2px;
  }
  .offer-metrics strong {
    font-size: 30px;
  }
  .offer-support-item {
    font-size: 11px;
    gap: 7px;
  }
}

/* Short laptops keep the complete comparison and all actions in view. */
@media (min-width: 761px) and (max-height: 800px) {
  .offers-main {
    padding: 24px 0;
  }
  .offers-head {
    margin-bottom: 24px;
  }
  .offers-back {
    margin-bottom: 12px;
  }
  .offers-head h1 {
    font-size: 32px;
  }
  .offer-card {
    padding-block: 16px;
  }
  .offer-brand-block {
    margin: 10px 0 12px;
  }
  .offer-logo-square {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }
  .offer-logo-square svg {
    width: 36px;
    height: 36px;
  }
  .creditify-logo {
    font-size: 34px;
  }
  .finpug-logo {
    font-size: 36px;
  }
  .offer-metrics > div {
    padding-block: 12px;
  }
  .offer-support-row {
    padding-block: 12px 14px;
  }
}

/* Low tablet/laptop windows compare the two main figures side by side. */
@media (min-width: 761px) and (min-height: 581px) and (max-height: 700px) {
  :root {
    --offers-nav-height: 60px;
}
  .offers-main {
    padding-top: 16px;
  }
  .offers-head {
    margin-bottom: 16px;
  }
  .offers-back {
    margin-bottom: 8px;
  }
  .offers-head h1 {
    font-size: 30px;
  }
  .offer-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 12px;
  }
  .offer-metrics > div {
    padding-inline: 0;
    min-width: 0;
  }
  .offer-metrics strong {
    font-size: 26px;
  }
}

/* Compact single-column layout: the first three offers fit on portrait phones. */
@media (max-width: 760px) {
  :root {
    --offers-nav-height: 56px;
}
  .offers-container {
    width: calc(100% - 28px);
    max-width: 520px;
  }
  .site-header:has(~ .offers-main) .brand {
    font-size: 21px;
    gap: 8px;
  }
  .site-header:has(~ .offers-main) .brand-symbol {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .site-header:has(~ .offers-main) .brand-symbol svg {
    width: 20px;
    height: 20px;
  }
  .site-header:has(~ .offers-main) .navlinks {
    display: none;
  }
  .site-header:has(~ .offers-main) .nav-actions {
    display: flex;
  }
  .site-header:has(~ .offers-main) .burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }
  .site-header:has(~ .offers-main) .burger svg {
    width: 26px;
    height: 26px;
  }
  .offers-main {
    padding: 14px 0 max(20px, env(safe-area-inset-bottom));
  }
  .offers-head {
    margin-bottom: 16px;
  }
  .offers-back, .offers-desktop-copy {
    display: none;
  }
  .offers-mobile-copy {
    display: inline;
  }
  .offers-head h1 {
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.035em;
    margin-bottom: 6px;
  }
  .offers-head p {
    font-size: 13px;
    line-height: 1.4;
  }
  .offers-grid {
    --offer-gap: 10px;
  }
  .offers-grid[data-offer-count] {
    --offer-columns: 1;
    max-width: none;
  }
  .offer-card {
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
  }
  .offer-card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
  }
  .offer-brand-block {
    grid-column: 1;
    grid-row: 1;
    gap: 9px;
    margin: 0;
  }
  .offer-flag {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding: 6px 7px;
    font-size: 8px;
    line-height: 1.2;
    border-radius: 8px;
  }
  .offer-logo-square {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .offer-logo-square svg {
    width: 29px;
    height: 29px;
  }
  .creditify-logo {
    font-size: 29px;
  }
  .finpug-logo {
    font-size: 31px;
    padding-bottom: 3px;
  }
  .offer-brand-copy h2 {
    font-size: 16px;
    line-height: 1.12;
    margin-bottom: 5px;
  }
  .offer-rating {
    font-size: 10px;
    line-height: 1;
    gap: 4px;
  }
  .offer-star {
    font-size: 13px;
  }
  .offer-rating small {
    padding-left: 6px;
    margin-left: 2px;
  }
  .offer-metrics {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
    margin: 10px 0 9px;
  }
  .offer-metrics > div {
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .offer-metrics dt {
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .offer-metrics dd {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .offer-amount-prefix {
    display: inline;
    font-size: 17px;
    line-height: 1.15;
    margin: 0;
    font-weight: 700;
    letter-spacing: -.035em;
    color: #171717;
    white-space: nowrap;
  }
  .offer-metrics strong {
    font-size: 20px;
    line-height: 1.1;
  }
  .offer-interest {
    border-left: 1px solid #e2e3e6 !important;
    padding-left: 14px !important;
  }
  .offer-interest strong {
    font-size: 22px;
    line-height: 1;
  }
  .offer-support-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
    row-gap: 2px;
    padding: 0;
    border: 0;
    margin: 0 0 10px;
  }
  .offer-support-item {
    display: inline-flex;
    gap: 0;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
  }
  .offer-support-item svg, .offer-transfer-word {
    display: none;
  }
  .offer-support-approval::before {
    content: '·';
    margin-right: 6px;
  }
  .offer-cta {
    min-height: 44px;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    gap: 8px;
  }
  .offer-cta > span {
    font-size: 21px;
  }
}

/* Short phones keep usable type and controls. */
@media (max-width: 760px) and (max-height: 740px) {
  :root {
    --offers-nav-height: 52px;
}
  .offers-main {
    padding-top: 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .offers-head {
    margin-bottom: 10px;
  }
  .offers-head h1 {
    font-size: 24px;
    margin-bottom: 4px;
  }
  .offers-grid {
    --offer-gap: 8px;
  }
  .offer-card {
    padding: 8px 12px;
  }
  .offer-metrics {
    margin-top: 7px;
    margin-bottom: 6px;
  }
  .offer-support-row {
    margin-bottom: 7px;
  }
}

/* Small portrait screens place the action beside the figures to save a row. */
@media (max-width: 760px) and (max-height: 660px) {
  .offers-grid {
    --offer-gap: 6px;
  }
  .offer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 6px 10px;
    padding: 8px 10px;
  }
  .offer-card-header {
    grid-column: 1 / -1;
  }
  .offer-metrics {
    grid-template-columns: minmax(0, 1fr) minmax(0, .68fr);
    gap: 8px;
    margin: 0;
  }
  .offer-metrics dt {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .offer-amount dd {
    display: block;
  }
  .offer-amount-prefix {
    display: block;
    font-size: 10px;
    line-height: 1.2;
  }
  .offer-metrics strong {
    font-size: 18px;
  }
  .offer-interest {
    padding-left: 8px !important;
  }
  .offer-cta {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    padding-inline: 6px;
    font-size: 12px;
  }
  .offer-cta > span {
    display: none;
  }
  .offer-support-row {
    grid-column: 1 / -1;
    margin: 0;
  }
}

/* Older/small portrait viewports retain three offers and 44px actions. */
@media (max-width: 499px) and (max-height: 560px) {
  :root {
    --offers-nav-height: 44px;
}
  .offers-main {
    padding-top: 8px;
  }
  .offers-head {
    margin-bottom: 8px;
  }
  .offers-head h1 {
    font-size: 22px;
  }
  .offer-card {
    padding-block: 6px;
    row-gap: 4px;
  }
  .offer-logo-square {
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .offer-logo-square svg {
    width: 23px;
    height: 23px;
  }
  .offer-brand-copy h2 {
    font-size: 14px;
    margin-bottom: 3px;
  }
  .offer-rating {
    font-size: 9px;
  }
  .offer-support-item {
    font-size: 10px;
  }
}

/* Landscape phones use three compact columns instead of a tall list.
   Further offers continue on the next row, in the same reading order. */
@media (min-width: 500px) and (max-height: 580px) and (orientation: landscape) {
  :root {
    --offers-nav-height: 44px;
}
  .offers-container {
    width: calc(100% - 24px);
    max-width: 1200px;
  }
  .site-header:has(~ .offers-main) {
    position: relative;
  }
  .site-header:has(~ .offers-main) .brand {
    font-size: 20px;
    gap: 8px;
  }
  .site-header:has(~ .offers-main) .brand-symbol {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
  .site-header:has(~ .offers-main) .brand-symbol svg {
    width: 19px;
    height: 19px;
  }
  .offers-main {
    padding: 8px 0 16px;
  }
  .offers-head {
    margin-bottom: 8px;
  }
  .offers-head h1 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
  }
  .offers-back, .offers-desktop-copy, .offers-head p {
    display: none;
  }
  .offers-mobile-copy {
    display: inline;
  }
  .offers-grid[data-offer-count] {
    --offer-columns: 3;
    --offer-gap: 8px;
    max-width: none;
  }
  .offers-grid[data-offer-count="1"] {
    --offer-columns: 1;
    max-width: 360px;
  }
  .offers-grid[data-offer-count="2"] {
    --offer-columns: 2;
    max-width: 720px;
  }
  .offer-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 12px;
  }
  .offer-card-header {
    display: block;
  }
  .offer-flag {
    display: none;
  }
  .offer-brand-block {
    margin: 0;
    gap: 6px;
  }
  .offer-logo-square {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 24px;
  }
  .offer-logo-square svg {
    width: 22px;
    height: 22px;
  }
  .offer-brand-copy h2 {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 3px;
  }
  .offer-rating {
    font-size: 9px;
    gap: 3px;
  }
  .offer-star {
    font-size: 11px;
  }
  .offer-rating small {
    padding-left: 4px;
    margin-left: 1px;
  }
  .offer-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
    gap: 6px;
    margin: 8px 0;
  }
  .offer-metrics > div {
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .offer-metrics dt {
    font-size: 10px;
    line-height: 1.3;
    margin-bottom: 2px;
  }
  .offer-metrics dd {
    display: block;
    margin: 0;
  }
  .offer-amount-prefix {
    display: block;
    font-size: 10px;
    line-height: 1.2;
    margin: 0;
  }
  .offer-metrics strong {
    font-size: 18px;
    line-height: 1.1;
  }
  .offer-interest {
    padding-left: 6px !important;
    border-left: 1px solid #e2e3e6 !important;
  }
  .offer-support-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0;
    border: 0;
    margin: 0 0 8px;
  }
  .offer-support-item {
    font-size: 10px;
    line-height: 1.3;
    gap: 0;
  }
  .offer-support-item svg, .offer-transfer-word, .offer-support-approval::before {
    display: none;
  }
  .offer-cta {
    align-self: stretch;
    min-height: 44px;
    padding: 6px;
    font-size: 12px;
    border-radius: 8px;
  }
  .offer-cta > span {
    display: none;
  }
}

@media (min-width: 1101px) and (max-height: 580px) {
  .offers-grid[data-offer-count="4"] {
    --offer-columns: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offers-main *, .offers-main *::before, .offers-main *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-height: 500px) and (max-width: 960px) {
  .site-header:has(~ .offers-main) {
    position: relative;
  }
}

/* Confirmation appears below the grid; selection never shifts the cards. */
.offer-selection-message {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid #ffcf9e;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--fg);
  font-size: 13px;
  line-height: 1.5;
}

.offer-cta {
  transition: box-shadow .18s ease;
}

.offer-cta:hover {
  box-shadow: 0 3px 12px #ff8b1833;
}


/* Shared header variants follow the actual content blocks. No body class needed. */
.site-header:not(:has(~ main .hero)) .landing-only,
.site-header:not(:has(~ .offers-main)) .offers-only,
.site-header:has(~ .offers-main) .not-offers { display: none; }

/* Legal documents */
.legal-main { padding: 44px 0 72px; background: #faf8f5; min-height: 75vh; }
.legal-container { max-width: 960px; }
.legal-heading { padding: 0 8px; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.legal-back:hover { color: var(--fg); }
.legal-eyebrow { display: block; margin: 20px 0 10px; color: #9b4600; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal-heading h1 { margin: 0 0 28px; font-size: clamp(30px, 5vw, 48px); line-height: 1.15; letter-spacing: -.035em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; background: #fff; }
.legal-nav a:hover { background: var(--primary-soft); }
.legal-nav a[aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.legal-document { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 44px 52px; color: #41434a; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-document h2 { color: var(--fg); font-size: 23px; font-weight: 700; line-height: 1.35; margin: 36px 0 16px; padding-top: 26px; border-top: 1px solid var(--border); scroll-margin-top: 110px; }
.legal-document > h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.legal-document p, .legal-document ul, .legal-document ol { margin: 0 0 20px; }
.legal-document ul, .legal-document ol { padding-left: 26px; }
.legal-document li { padding-left: 6px; margin: 10px 0; }
.legal-document li::marker { color: #9b4600; }
.legal-document a { color: #9b4600; text-decoration: underline; text-underline-offset: 3px; }
.legal-document strong { color: var(--fg); font-weight: 600; }
.legal-document .legal-updated { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .legal-main { padding-top: 24px; padding-bottom: 40px; }
  .legal-document { padding: 24px 20px; border-radius: 16px; font-size: 15px; line-height: 1.8; }
  .legal-document h2 { font-size: 20px; margin-top: 28px; }
  .legal-nav { gap: 6px; }
  .legal-nav a { padding: 9px 12px; font-size: 13px; }
}

/* Email reminder after successful contact verification. */
.email-popup { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 32px; border: 1px solid var(--border); border-radius: 24px; background: #fff; color: var(--fg); box-shadow: var(--shadow-lg); }
.email-popup::backdrop { background: #17171780; backdrop-filter: blur(4px); }
.email-popup-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.email-popup-close:hover { background: var(--primary-soft); }
.email-popup-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: var(--primary-soft); color: #9b4600; font-size: 30px; }
.email-popup h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 14px; }
.email-popup p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
@media (max-width: 640px) { .email-popup { padding: 28px 24px; } .email-popup h2 { font-size: 22px; } }

/* Application processing, business details and live partner results. */
.business-fields { grid-column: 1 / -1; padding: 18px; background: var(--accent-soft); border: 1px solid var(--border); border-radius: 16px; }
.business-fields h3 { font-size: 17px; margin-bottom: 6px; }
.business-description, #geographyStatus { font-size: 13px; color: var(--muted); }
#ewalletGroup { margin-top: 20px; }
#ewalletGroup legend { margin-bottom: 12px; font-weight: 600; }
.contact-status { font-size: 14px; line-height: 1.6; margin: 12px 0; color: var(--muted); }
.contact-status:empty { display: none; }
.flow-form[aria-busy="true"] .flow-next { opacity: .75; cursor: wait; }
.offers-empty { max-width: 680px; padding: 32px; margin: 24px auto; border: 1px solid var(--border); background: #fff; border-radius: 20px; }
.offers-empty h2 { font-size: 24px; }
.offers-result-note { max-width: 900px; margin: 20px auto; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.offer-letter-logo { color: #9b4600; background: var(--primary-soft); font-weight: 800; font-size: 24px; }
.offer-live-subtitle { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.offers-main[data-live-offers] .offer-interest strong { font-size: 19px; line-height: 1.4; }
.offers-main[data-live-offers] .offer-card { height: auto; }
.offer-disclosure { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 8px; }
.offer-disclosure summary { cursor: pointer; min-height: 30px; display: list-item; }
.offer-disclosure p { margin: 8px 0 0; white-space: normal; overflow-wrap: anywhere; }

/* Application API processing indicator */
.application-progress { margin: 12px 0 20px; padding: 18px 20px; border: 1px solid #ffe0bc; border-radius: 14px; background: #fff8f0; }
.application-progress[hidden] { display: none; }
.application-progress p { margin: 0 0 12px; color: #70451f; font-size: 14px; line-height: 1.5; }
.application-progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #ffe4c4; }
.application-progress-track span { display: block; width: 38%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb34c, #ff880a); animation: application-checking 1.6s ease-in-out infinite alternate; }
@keyframes application-checking { from { transform: translateX(-100%); } to { transform: translateX(265%); } }
.flow-form button:disabled, form[aria-busy="true"] button:disabled { cursor: wait; opacity: .6; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .application-progress-track span { animation: none; width: 100%; opacity: .65; } }

.offer-letter-logo { position: relative; overflow: hidden; }
.offer-catalog-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #fff; box-sizing: border-box; }

/* Catalog text can be longer than the original static demo values. */
.offers-main[data-live-offers] .offer-metrics strong,
.offers-main[data-live-offers] .offer-support-item,
.offers-main[data-live-offers] .offer-brand-copy h2,
.offers-main[data-live-offers] .offer-disclosure p {
  white-space: normal;
  overflow-wrap: anywhere;
}
.offers-main[data-live-offers] .offer-metrics dd,
.offers-main[data-live-offers] .offer-brand-block,
.offers-main[data-live-offers] .offer-brand-copy,
.offers-main[data-live-offers] .offer-support-item { min-width: 0; max-width: 100%; }
.offers-main[data-live-offers] .offer-logo-square { flex-shrink: 0; }
@media (max-width: 767px) {
  .offers-main[data-live-offers] .offer-metrics { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .offers-main[data-live-offers] .offer-metrics dd { display: block; }
  .offers-main[data-live-offers] .offer-interest strong { font-size: 18px; line-height: 1.3; }
  .offers-main[data-live-offers] .offer-support-row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .offers-main[data-live-offers] .offer-support-item { display: block; line-height: 1.4; }
}

/* Shared catalog cards: ratings, selection labels and responsive details. */
.offers-main[data-live-offers] .offer-rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; white-space: normal; }
.offers-main[data-live-offers] .offer-rating small { white-space: normal; overflow-wrap: anywhere; }
.offers-main[data-live-offers] .offer-flag { display: inline-block; white-space: normal; }
.offers-main[data-live-offers] .offer-support-dot { display: none; }
.offers-main[data-live-offers] .offer-amount dd { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.offers-main[data-live-offers] .offer-amount-prefix { display: block; margin: 0; }
.offers-main[data-live-offers] .offer-support-row { display: flex; flex-wrap: wrap; flex-direction: row; align-items: center; gap: 6px 12px; }
.offers-main[data-live-offers] .offer-support-item { display: inline-flex; align-items: center; gap: 6px; }
.offers-main[data-live-offers] .offer-support-item svg { display: block; width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 767px) {
  .offers-main[data-live-offers] .offer-amount dd { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px; }
  .offers-main[data-live-offers] .offer-amount-prefix { display: inline; font-size: 14px; line-height: 1.3; white-space: nowrap; }
  .offers-main[data-live-offers] .offer-support-row { display: block; line-height: 1.5; }
  .offers-main[data-live-offers] .offer-support-item { display: inline; }
  .offers-main[data-live-offers] .offer-support-item svg { display: none; }
  .offers-main[data-live-offers] .offer-support-dot { display: inline; margin: 0 5px; }
}

@media (min-width:1025px) {
  html[data-page="home"] .site-header .navlinks { margin-left:auto; }
  html[data-page="home"] .site-header .language-switcher { margin-left:0; }
}
