:root {
  --ink: #10242a;
  --muted: #5b6c72;
  --line: #dce7e8;
  --paper: #f7fbfb;
  --white: #ffffff;
  --teal: #007f83;
  --teal-dark: #07545b;
  --lime: #8bd642;
  --amber: #f7b733;
  --coral: #ef6f61;
  --shadow: 0 24px 70px rgba(16, 36, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 251, 251, 0.9);
  border-bottom: 1px solid rgba(220, 231, 232, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(16, 36, 42, 0.12);
  box-shadow: 0 8px 22px rgba(16, 36, 42, 0.12);
  font-size: 0.86rem;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.nav-cta,
.primary-button,
.full-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(7, 84, 91, 0.22);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(16, 36, 42, 0.14);
  border-radius: 8px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px) 34px;
  background: linear-gradient(110deg, rgba(247, 251, 251, 0.98) 0%, rgba(247, 251, 251, 0.92) 44%, rgba(247, 251, 251, 0.54) 100%);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62vw, 900px);
  background-image: linear-gradient(90deg, rgba(247, 251, 251, 0.98), rgba(247, 251, 251, 0.08)), url("assets/hero-finance-trust.webp");
  background-position: center right;
  background-size: cover;
  opacity: 0.82;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 450px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1240px;
  min-height: 720px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.18;
}

.lead {
  max-width: 600px;
  color: #31464d;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-row li {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 36, 42, 0.1);
  border-radius: 8px;
  color: #2d4a50;
  font-size: 0.92rem;
  font-weight: 700;
}

.rate-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 231, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-heading h2 {
  margin-bottom: 18px;
  font-size: 1.75rem;
}

.panel-heading p:not(.kicker) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.embed-note {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  margin-bottom: 18px;
  color: #17474d;
  background: linear-gradient(135deg, #e7f6f1, #f7fbfb);
  border: 1px solid #c8e2dc;
  border-left: 5px solid var(--lime);
  border-radius: 8px;
}

.embed-note strong {
  font-size: 0.98rem;
}

.embed-note span {
  color: var(--muted);
  font-size: 0.86rem;
}

.affiliate-widget {
  min-height: 280px;
  margin: 18px 0;
  overflow: hidden;
  background: #f6fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.widget-loading,
.affiliate-widget.is-unavailable p {
  display: grid;
  min-height: 120px;
  margin: 0;
  padding: 22px;
  place-items: center;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.affiliate-widget iframe {
  width: 100%;
  border: 0;
}

.affiliate-widget.large {
  min-height: 620px;
  margin: 0;
  box-shadow: var(--shadow);
}

.fallback-label {
  margin: 20px 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

label {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

label span {
  color: var(--ink);
  font-size: 1.05rem;
}

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

.result-box {
  display: grid;
  gap: 6px;
  padding: 18px;
  margin: 18px 0;
  background: #edf7f4;
  border: 1px solid #cfe5df;
  border-radius: 8px;
}

.result-box span {
  color: var(--teal-dark);
  font-weight: 900;
}

.result-box strong {
  font-size: 2.45rem;
  line-height: 1;
}

.result-box small,
.disclosure {
  color: var(--muted);
  font-size: 0.84rem;
}

.full-button {
  width: 100%;
}

.pulse-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 56px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  font-size: 1.02rem;
}

.pulse-button::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 2px solid rgba(139, 214, 66, 0.62);
  border-radius: 12px;
  animation: pulse 1.8s ease-out infinite;
}

.swipe-button {
  min-height: 68px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  letter-spacing: 0;
  box-shadow: 0 18px 40px rgba(7, 84, 91, 0.34);
}

.swipe-button::before {
  content: "";
  position: absolute;
  inset: -30% auto -30% -45%;
  z-index: -1;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: skewX(-18deg);
  animation: swipe 2.25s ease-in-out infinite;
}

.wiggle-button {
  animation: button-wiggle 4.8s ease-in-out infinite;
  transform-origin: center;
}

.cta-panel {
  display: grid;
  align-content: center;
  gap: 18px;
}

.cta-panel .panel-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.cta-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cta-points li {
  position: relative;
  padding: 10px 12px 10px 34px;
  color: #294a50;
  background: rgba(232, 246, 240, 0.78);
  border: 1px solid #cae5dd;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 800;
}

.cta-points li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--lime);
  border-radius: 50%;
  transform: translateY(-50%);
}

@keyframes swipe {
  0% {
    left: -45%;
  }
  48%,
  100% {
    left: 118%;
  }
}

@keyframes button-wiggle {
  0%,
  82%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  86% {
    transform: rotate(-1.2deg) scale(1.015);
  }
  90% {
    transform: rotate(1.2deg) scale(1.015);
  }
  94% {
    transform: rotate(-0.7deg) scale(1.01);
  }
  98% {
    transform: rotate(0.5deg) scale(1.005);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.85;
    transform: scale(0.98);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.disclosure {
  margin: 14px 0 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 34px auto 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: relative;
  z-index: 3;
}

.proof-strip div {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.proof-strip strong {
  font-size: 1.02rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.narrow {
  max-width: 820px;
}

.intent-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intent-grid article,
.product-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intent-grid p,
.product-grid p,
.tips-list p,
.faq-list p {
  color: var(--muted);
}

.inline-cta {
  display: flex;
  justify-content: center;
  max-width: 1240px;
  margin: -46px auto 0;
  padding: 0 clamp(18px, 4vw, 56px) clamp(58px, 7vw, 88px);
}

.inline-cta .full-button {
  width: min(100%, 420px);
}

.mini-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--teal-dark);
  background: #e8f6f0;
  border-radius: 8px;
  font-weight: 900;
}

.tips {
  max-width: none;
  background: #10242a;
  color: var(--white);
}

.tips > * {
  max-width: 1130px;
  margin-left: auto;
  margin-right: auto;
}

.tips .section-copy p:not(.eyebrow) {
  color: #b6c9cd;
}

.tips-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tips-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.tips-list span {
  color: var(--amber);
  font-size: 1.15rem;
  font-weight: 900;
}

.tips-list p {
  margin-bottom: 0;
  color: #c8dadd;
}

.product-grid a {
  color: var(--teal-dark);
  font-weight: 900;
}

.partner-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 56px);
  background: #e6f3f1;
}

.partner-section > * {
  max-width: 600px;
}

.partner-widget {
  width: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid #cce0df;
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(16, 36, 42, 0.12);
}

.widget-line {
  height: 22px;
  width: 78%;
  background: #d7e6e6;
  border-radius: 7px;
}

.widget-line.short {
  width: 46%;
  margin-top: 12px;
}

.widget-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.widget-options span {
  height: 84px;
  background: linear-gradient(180deg, #f5faf9, #e8f1ef);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-widget a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

details {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(18px, 4vw, 56px);
  color: #d2e1e2;
  background: #0b1a1f;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
  color: #9cb4b9;
}

.site-footer .footer-disclosure {
  color: #748d93;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
}

.compare-page {
  background: linear-gradient(180deg, #f7fbfb 0%, #e9f4f2 100%);
}

.compare-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) clamp(18px, 4vw, 44px) 80px;
}

.compare-hero {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.compare-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.compare-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.compare-disclosure {
  display: inline-flex;
  max-width: 760px;
  padding: 12px 14px;
  color: #4f6268;
  background: #fff8e7;
  border: 1px solid #f2d99c;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.compare-footer-disclosure {
  max-width: 880px;
  margin: 22px auto 0;
  color: #748d93;
  font-size: 0.82rem;
  text-align: center;
}

.compare-widget-shell {
  max-width: 880px;
  margin: 0 auto;
}

.compare-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 26px auto 0;
}

.compare-notes article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare-notes h2 {
  font-size: 1.25rem;
}

.compare-notes p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-page {
  background: linear-gradient(180deg, #f7fbfb 0%, #eef6f4 100%);
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 44px);
}

.legal-card {
  padding: clamp(26px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(16, 36, 42, 0.08);
}

.legal-card h1 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.legal-content {
  color: #294a50;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content h2 {
  margin: 30px 0 10px;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.18;
  color: var(--teal-dark);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 18px;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .intro,
  .partner-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-media {
    width: 100%;
    opacity: 0.2;
  }

  .hero-grid {
    min-height: auto;
  }

  .rate-panel {
    max-width: 520px;
  }

  .proof-strip,
  .intent-grid,
  .product-grid,
  .tips-list,
  .compare-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-cta {
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
  }

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

  .proof-strip {
    margin-top: 0;
  }

  .tips-list article {
    grid-template-columns: 1fr;
  }

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