@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://www.ratespedia.com/_next/static/media/e4af272ccee01ff0-s.p.woff2")
    format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://www.ratespedia.com/_next/static/media/eafabf029ad39a43-s.p.woff2")
    format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://www.ratespedia.com/_next/static/media/8888a3826f4a3af4-s.p.woff2")
    format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://www.ratespedia.com/_next/static/media/0484562807a97172-s.p.woff2")
    format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://www.ratespedia.com/_next/static/media/b957ea75a84b6ea7-s.p.woff2")
    format("woff2");
}

:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-heading: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --primary-50: rgb(239 246 255);
  --primary-100: rgb(219 234 254);
  --primary-400: rgb(54 166 247);
  --primary-500: rgb(59 130 246);
  --primary-600: rgb(37 99 235);
  --primary-700: rgb(29 78 216);
  --slate-50: rgb(248 250 252);
  --slate-100: rgb(241 245 249);
  --slate-200: rgb(226 232 240);
  --slate-300: rgb(203 213 225);
  --slate-400: rgb(148 163 184);
  --slate-500: rgb(100 116 139);
  --slate-600: rgb(71 85 105);
  --slate-700: rgb(51 65 85);
  --slate-800: rgb(30 41 59);
  --slate-900: rgb(15 23 42);
  --gray-50: rgb(249 250 251);
  --gray-100: rgb(243 244 246);
  --gray-200: rgb(229 231 235);
  --gray-300: rgb(209 213 219);
  --gray-500: rgb(107 114 128);
  --gray-600: rgb(75 85 99);
  --gray-700: rgb(55 65 81);
  --gray-900: rgb(17 24 39);
  --green-50: rgb(240 253 244);
  --green-100: rgb(220 252 231);
  --green-400: rgb(74 222 128);
  --green-500: rgb(34 197 94);
  --green-600: rgb(22 163 74);
  --yellow-50: rgb(254 252 232);
  --yellow-400: rgb(250 204 21);
  --red-50: rgb(254 242 242);
  --red-500: rgb(239 68 68);
  --red-600: rgb(220 38 38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: rgb(255 255 255);
  color: var(--gray-900);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--gray-200);
  background: rgb(255 255 255 / 0.82);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  height: 4.5rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-800);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.brand img {
  width: 3rem;
  height: 3rem;
  transition: transform 200ms ease;
}

.brand:hover img {
  transform: scale(1.1);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), rgb(30 58 138), var(--slate-800));
  color: rgb(255 255 255);
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: 3.45rem;
  line-height: 1.12;
  font-weight: 700;
}

.hero h1 span {
  color: rgb(239 246 255);
  background: linear-gradient(90deg, rgb(219 234 254), rgb(241 245 249), rgb(191 219 254));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--primary-100);
  font-size: 1.125rem;
  line-height: 2rem;
}

.hero-orb {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  filter: blur(64px);
  mix-blend-mode: screen;
  opacity: 0.05;
  animation: float 6s ease-in-out infinite;
}

.hero-orb-one {
  top: 0;
  left: -1rem;
  background: rgb(96 165 250);
}

.hero-orb-two {
  top: 0;
  right: -1rem;
  background: var(--slate-300);
  animation-delay: 2s;
}

.hero-orb-three {
  bottom: -2rem;
  left: 5rem;
  background: rgb(147 197 253);
  animation-delay: 4s;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  color: var(--gray-50);
}

.hero-wave svg {
  width: 100%;
  height: 3rem;
}

.application-section {
  padding: 1.25rem 1rem 3rem;
  background: linear-gradient(180deg, var(--gray-50), rgb(255 255 255));
}

.form-shell {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

.progress-row span:last-child {
  color: var(--primary-600);
}

.progress-track {
  width: 100%;
  height: 0.75rem;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--gray-200);
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}

.progress-bar {
  height: 100%;
  width: 9.090909%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  box-shadow: 0 4px 6px -1px rgb(37 99 235 / 0.25);
  transition: width 500ms ease-out;
}

.disclosure-note {
  margin: 0.5rem 0;
  text-align: right;
  color: var(--gray-500);
  font-size: 0.75rem;
  line-height: 1rem;
}

.step-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--slate-300);
  border-radius: 1rem;
  background: rgb(241 245 249 / 0.9);
  box-shadow:
    0 20px 25px -5px rgb(2 6 23 / 0.1),
    0 8px 10px -6px rgb(2 6 23 / 0.1);
}

.step-content {
  flex: 1;
  min-height: 360px;
  animation: fade-in 450ms ease;
}

.step-title {
  margin: 0 0 0.5rem;
  color: var(--gray-900);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
}

.step-description {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
}

.choice-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choice-button {
  position: relative;
  display: block;
  min-height: 122px;
  padding: 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  background: rgb(255 255 255);
  color: var(--gray-700);
  text-align: center;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}

.choice-button:hover,
.choice-button:focus-visible {
  border-color: rgb(96 165 250);
  background: var(--primary-50);
  outline: none;
}

.choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  background: var(--gray-100);
  color: var(--primary-600);
  transition:
    background-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}

.choice-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.choice-button:hover .choice-icon,
.choice-button:focus-visible .choice-icon {
  background: rgb(219 234 254);
}

.choice-button.selected .choice-icon {
  background: rgb(255 255 255);
  box-shadow: 0 4px 12px rgb(15 23 42 / 0.12);
}

.choice-copy {
  display: block;
  min-width: 0;
}

.choice-button.selected {
  border-color: var(--primary-500);
  background: var(--primary-50);
  box-shadow: 0 0 0 2px rgb(59 130 246);
}

.choice-button.selected::after {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--primary-600);
  color: rgb(255 255 255);
  content: "\2713";
  font-size: 0.75rem;
  font-weight: 700;
  animation: scale-in 240ms ease;
}

.choice-title {
  display: block;
  color: var(--gray-700);
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}

.choice-description {
  display: block;
  margin-top: 0.375rem;
  color: var(--slate-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.bullets {
  max-width: 17rem;
  margin: 1rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.bullets li {
  position: relative;
  margin-top: 0.625rem;
  padding-left: 1.625rem;
  color: var(--slate-600);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.bullets li::before {
  position: absolute;
  top: 0.125rem;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--primary-500);
  color: rgb(255 255 255);
  content: "\2713";
  font-size: 0.7rem;
  font-weight: 700;
}

.input-stack {
  display: grid;
  max-width: 32rem;
  gap: 1.5rem;
  margin: 0 auto;
}

.contact-stack {
  max-width: 46rem;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.text-field {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 1rem 1.5rem;
  border: 2px solid var(--gray-300);
  border-radius: 0.75rem;
  background: rgb(255 255 255);
  color: var(--gray-900);
  font-size: 1.125rem;
  line-height: 1.75rem;
  text-align: center;
}

.text-field::placeholder {
  color: rgb(156 163 175);
}

.text-field:focus {
  border-color: transparent;
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-500);
}

.helper-text {
  margin: 0.5rem 0 0;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: center;
}

.range-wrap {
  max-width: 40rem;
  margin: 0 auto;
}

.range-value {
  margin-bottom: 1.25rem;
  color: var(--primary-600);
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  text-align: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary-600);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0 1rem;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

.turnstile-wrap {
  display: flex;
  min-height: 72px;
  justify-content: center;
}

.consent-box {
  padding: 1.25rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  background: var(--gray-50);
  color: var(--gray-700);
  font-size: 0.75rem;
  line-height: 1.55;
}

.consent-box a {
  color: var(--primary-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pac-container {
  z-index: 9999;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 25px -5px rgb(2 6 23 / 0.14);
  font-family: var(--font-sans);
}

.form-error {
  min-height: 1.5rem;
  margin: 0.25rem 0 0;
  color: var(--red-600);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition:
    background-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}

.primary-button {
  margin-left: auto;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
  color: rgb(255 255 255);
  box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.35);
}

.primary-button:hover {
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.secondary-button {
  border: 1px solid var(--gray-300);
  background: rgb(255 255 255);
  color: var(--gray-700);
}

.secondary-button:hover {
  background: var(--gray-50);
}

.success {
  display: grid;
  max-width: 42rem;
  gap: 1rem;
  justify-items: center;
  margin: 2rem auto;
  text-align: center;
}

.success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  background: var(--green-100);
  color: var(--green-600);
  font-size: 2rem;
  font-weight: 700;
}

.promo-strip {
  padding: 0.5rem 0 2.5rem;
  background: rgb(255 255 255);
}

.promo-shell {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(90deg, var(--slate-50), rgb(255 255 255), var(--primary-50));
}

.promo-marquee {
  position: relative;
  display: flex;
  min-height: 7rem;
  align-items: center;
  overflow: hidden;
}

.promo-marquee::before,
.promo-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(8rem, 18vw);
  content: "";
  pointer-events: none;
}

.promo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgb(248 250 252), rgb(248 250 252 / 0));
}

.promo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgb(239 246 255), rgb(239 246 255 / 0));
}

.promo-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 1.25rem 1rem;
  animation: promo-scroll 42s linear infinite;
}

.promo-marquee:hover .promo-track {
  animation-play-state: paused;
}

.promo-item {
  display: inline-flex;
  align-items: center;
  min-width: 18rem;
  max-width: 26rem;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.88);
  color: var(--slate-800);
  box-shadow: 0 10px 20px -18px rgb(15 23 42 / 0.3);
}

a.promo-item:hover {
  border-color: var(--primary-400);
  transform: translateY(-1px);
}

.promo-logo {
  display: inline-flex;
  flex: 0 0 auto;
  width: 3.75rem;
  height: 3.75rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 800;
}

.promo-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-name {
  color: var(--slate-800);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.legal {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.5rem 1rem 3rem;
  color: var(--gray-600);
  font-size: 0.75rem;
  line-height: 1.55;
}

.legal p + p {
  margin-top: 0.875rem;
}

.legal strong {
  color: var(--gray-900);
}

.legal a {
  color: var(--primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  gap: 1rem;
  justify-content: space-between;
}

.footer-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-700);
  font-weight: 600;
}

.footer-brand-line a {
  color: var(--primary-600);
}

.footer-brand-line a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand-line span {
  color: var(--gray-500);
  font-weight: 600;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes promo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-nav {
    height: 4rem;
    padding: 0 1rem;
  }

  .brand {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .brand img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-inner {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65rem;
  }

  .application-section {
    padding-top: 1rem;
  }

  .step-card {
    min-height: 0;
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .step-content {
    min-height: 0;
  }

  .step-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .choice-button {
    display: flex;
    align-items: center;
    min-height: 84px;
    gap: 0.75rem;
    padding: 0.75rem;
    text-align: left;
  }

  .choice-icon {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
  }

  .choice-icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .choice-title {
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .bullets {
    margin-top: 0.375rem;
  }

  .bullets li {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .range-value {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column-reverse;
  }

  .promo-marquee {
    min-height: 6.25rem;
  }

  .promo-track {
    gap: 0.75rem;
    padding: 1rem 0.75rem;
    animation-duration: 34s;
  }

  .promo-item {
    min-width: 16rem;
    max-width: 18rem;
    padding: 0.65rem 0.75rem;
  }

  .promo-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 0.625rem;
  }

  .promo-name {
    font-size: 0.9rem;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
