:root {
  --ink: #061742;
  --blue: #1358ef;
  --blue-dark: #0a2a66;
  --green: #0d9c62;
  --purple: #7928c7;
  --paper: #fdfcf9;
  --mist: #edf6f5;
  --line: #dfe4ed;
  --muted: #4a5874;
  --max: 1200px;
  --gold: #c9a227;
  --danger: #b42318;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(10, 42, 102, 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.shell.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; z-index: 100; background: #fff; padding: 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Ads front and center */
.ad-top-band {
  background: linear-gradient(180deg, #0a2a66 0%, #0d347a 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 8px 0 10px;
}
.ad-slot {
  margin: 0.75rem 0 1rem;
  padding: 10px 12px;
  border: 1px dashed rgba(19, 88, 239, 0.35);
  border-radius: 12px;
  background: rgba(255,255,255,0.75);
  min-height: 90px;
  text-align: center;
  overflow: hidden;
}
.ad-top-band .ad-slot {
  background: rgba(255,255,255,0.96);
  margin: 0;
  min-height: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.ad-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ad-slot-bottom { margin: 2rem auto; width: min(calc(100% - 2rem), var(--max)); }
.ad-fallback {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.ad-fallback .button { margin-top: 0.35rem; }

/* Media / video / photos */
.media-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  background: #e8eef8;
}
.hero-media { position: relative; display: grid; gap: 0.75rem; }
.hero-img { min-height: 200px; box-shadow: var(--shadow); }
.page-hero-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.page-hero-img { border-radius: 18px; box-shadow: var(--shadow); }
.article-img { margin: 0.5rem 0 1rem; border-radius: 14px; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 140px;
  box-shadow: 0 8px 24px rgba(10, 42, 102, 0.08);
  transition: transform 0.2s ease;
}
.photo-card:hover { transform: translateY(-3px); }
.photo-card .media-img { height: 140px; object-fit: cover; }
.photo-label {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem 0.8rem;
}
.photo-label b { font-size: 0.92rem; }
.photo-label em { font-style: normal; font-size: 0.72rem; color: var(--muted); font-weight: 700; }
.video-showcase, .media-showcase { padding: 2rem 0; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.video-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a2a66;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem 1rem;
}
.video-card figcaption span { color: var(--muted); font-size: 0.88rem; }
.offer-thumb { border-radius: 10px; overflow: hidden; margin: -0.15rem 0 0.25rem; }
.offer-thumb img { width: 100%; height: 110px; object-fit: cover; display: block; }

/* Sticky monetization bar */
.monetize-bar {
  position: sticky;
  bottom: 0;
  z-index: 45;
  background: linear-gradient(90deg, #0a2a66, #1358ef 55%, #0d9c62);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.18);
}
.monetize-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0;
}
.monetize-bar p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
.monetize-bar .button.ghost.light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.monetize-bar .button.primary { background: #fff; color: var(--blue-dark); }
.monetize-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #7dffb3;
  box-shadow: 0 0 0 0 rgba(125, 255, 179, 0.7);
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(125, 255, 179, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(125, 255, 179, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 255, 179, 0); }
}
@media (max-width: 750px) {
  .page-hero-media { grid-template-columns: 1fr; }
  .monetize-bar-inner { padding: 0.65rem 0 0.85rem; }
}

.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #edf0f5;
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wordmark {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.wordmark > span:last-child > span { color: var(--blue); }
.mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 3px solid var(--blue); border-radius: 50%; color: var(--green); font-size: 0.85rem; font-weight: 800;
}
.site-header nav {
  display: flex; gap: 1rem; margin: auto; font-size: 0.9rem; font-weight: 600; flex-wrap: wrap; justify-content: center;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.sign-in, .menu-toggle {
  border: 1px solid var(--blue); border-radius: 11px; padding: 10px 16px;
  background: #fff; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer;
}
.sign-in { background: var(--blue); color: #fff; }
.menu-toggle { display: none; }

.hero {
  overflow: hidden;
  background: linear-gradient(140deg, #fff 12%, #f5fbf9 72%, #edf6fb);
  padding: 3rem 0 2rem;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) 220px;
  gap: 1.75rem;
  align-items: center;
}
.eyebrow { margin: 0 0 0.75rem; color: var(--blue); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1, .route-page h1 {
  margin: 0;
  font: clamp(2.4rem, 5vw, 4.2rem)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--blue); }
.intro { max-width: 640px; color: #53617d; font-size: 1.05rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }

.button {
  border: 0; border-radius: 14px; padding: 0.85rem 1.25rem;
  font: inherit; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.primary { background: var(--blue); color: #fff; box-shadow: 0 10px 23px #1358ef30; }
.ghost { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.text-cta { color: var(--blue); font-weight: 800; }

.map-visual {
  height: 280px; position: relative; border-radius: 48% 52% 46% 55%;
  background:
    radial-gradient(circle at 15% 10%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 70% 28%, #e6f7ee 0 14%, transparent 15%),
    radial-gradient(circle at 25% 70%, #dceff1 0 12%, transparent 13%),
    linear-gradient(160deg, #eaf3ff, #f7fffb);
}
.map-path {
  position: absolute; inset: 26px 40px; border: 14px solid #c3ddff; border-left-color: transparent;
  border-radius: 45% 58% 49% 52%; transform: rotate(28deg);
}
.pin {
  position: absolute; padding: 8px 12px; border-radius: 999px; background: #fff;
  box-shadow: 0 8px 20px #0a2a6624; font-size: 0.72rem; font-weight: 800;
}
.pin-home { top: 22%; left: 18%; color: var(--green); }
.pin-save { top: 40%; left: 52%; color: var(--blue); }
.pin-car { top: 58%; left: 66%; color: var(--purple); }
.pin-loan { bottom: 16%; left: 38%; color: var(--ink); }

.trust-list { display: grid; gap: 1rem; }
.trust-list div { padding-left: 14px; border-left: 2px solid var(--green); }
.trust-list b, .trust-list span { display: block; }
.trust-list span { color: var(--muted); font-size: 0.86rem; }

.money-strip, .move-section, .hubs-section, .guide-strip, .revenue-modules, .newsletter-cta {
  padding: 2.5rem 0;
}
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem;
}
.section-head h2, .route-page h2 {
  margin: 0 0 0.35rem;
  font: clamp(1.4rem, 2.5vw, 1.85rem)/1.15 Georgia, serif;
}
.section-head p, .muted { color: var(--muted); margin: 0; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.offer-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.15rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.55rem;
  align-content: start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.offer-card:hover { transform: translateY(-3px); border-color: #b7c9f5; }
.offer-card.is-pulse { border-color: var(--blue); animation: offerPulse 1.2s ease-in-out 2; }
@keyframes offerPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.offer-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.offer-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.offer-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #ffe29a, #d4af37);
  color: #1a1200; font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
}
.offer-meta { font-size: 0.72rem !important; color: #8a95aa !important; }
.offer-cta { margin-top: 0.35rem; width: 100%; }

.move-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1rem;
}
.move-map, .calculator {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.25rem;
}
.goal-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}
.goal {
  min-height: 100px; text-align: left; padding: 0.9rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  display: grid; align-content: center; gap: 0.25rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.goal:hover, .goal:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 88, 239, 0.12);
}
.goal b { font-size: 0.95rem; }
.goal span { color: var(--muted); font-size: 0.78rem; }

.calculator { display: grid; align-content: start; gap: 0.65rem; }
.calculator label { display: grid; gap: 4px; color: #5d6a85; font-size: 0.76rem; font-weight: 800; }
.calculator input, .calculator select, .newsletter-form input[type="email"] {
  width: 100%; border: 1px solid #ccd5e4; border-radius: 8px; padding: 10px;
  background: #fff; color: var(--ink); font: inherit;
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.calculator output, .calc-out {
  display: block; margin-top: 4px; padding: 14px; border-radius: 9px;
  background: #eff7ff; color: var(--blue); font-size: 0.88rem; font-weight: 700;
}
.calc-note { font-size: 0.75rem; color: var(--muted); margin: 0; }
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.hub-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: #fff;
  display: grid; gap: 0.35rem;
}
.hub-card:hover { border-color: var(--blue); }
.hub-card b { font-size: 1rem; }
.hub-card span { color: var(--muted); font-size: 0.85rem; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.guide-grid a, .guide-grid.large a {
  display: grid; gap: 0.4rem; padding: 1rem;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.guide-grid a:hover { border-color: var(--blue); background: #f8fbff; }
.guide-grid span { color: var(--muted); font-size: 0.88rem; }
.guide-grid em { color: var(--blue); font-style: normal; font-size: 0.75rem; font-weight: 700; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.module-grid article {
  border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: linear-gradient(180deg, #fff, #f7faff);
}
.module-grid h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.module-grid p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.center-cta { text-align: center; margin-top: 1.5rem; }

.newsletter-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: center;
  border-radius: 20px;
  padding: 1.5rem;
  background: linear-gradient(125deg, #0a2a66, #1358ef 55%, #0d9c62);
  color: #fff;
  box-shadow: var(--shadow);
}
.newsletter-card .eyebrow { color: #cfe0ff; }
.newsletter-card p { color: rgba(255,255,255,0.88); }
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter-form.stacked { flex-direction: column; align-items: stretch; }
.newsletter-form input[type="email"] { flex: 1; min-width: 200px; }
.newsletter-card .button.primary { background: #fff; color: var(--blue-dark); }
.check { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.form-note { color: var(--green); font-weight: 700; }

.route-page { padding: 2rem 0 3rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--blue); }
.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.check-list { padding-left: 1.1rem; color: #3d4b66; }
.check-list li { margin: 0.4rem 0; }
.related { margin-top: 2.5rem; }
.article section { margin: 1.5rem 0; }
.article p { color: #3a4760; }
.faq {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem; margin: 0.5rem 0; background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 0.5rem 0 0; }
.offer-category { margin: 2rem 0; }
.intent {
  display: inline-block; margin-left: 0.5rem; font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; vertical-align: middle;
}
.intent-high { background: #e8f8ef; color: #0a7a4b; }
.intent-medium { background: #eef3ff; color: #1358ef; }
.steps-ol { line-height: 1.8; }
code { background: #eef2f8; padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: #fbfcff;
  font-size: 0.82rem;
  color: #4c5870;
}
.footer-grid {
  display: grid;
  gap: 1rem;
}
.footer-brand { font-weight: 800; font-size: 1rem; color: var(--ink); margin: 0 0 0.5rem; }
.disclosure { margin: 0; max-width: 70ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: 1fr 1fr; }
  .trust-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .move-grid, .split-2, .newsletter-card { grid-template-columns: 1fr; }
  .goal-options { grid-template-columns: 1fr 1fr; }
  .map-visual { height: 220px; }
}
@media (max-width: 750px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .sign-in { display: none; }
  .site-header nav {
    display: none; order: 3; width: 100%; margin: 0; padding: 0.5rem 0 1rem;
    flex-direction: column; align-items: stretch; gap: 0.35rem;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a {
    padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  }
  .hero-layout { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .goal-options { grid-template-columns: 1fr; }
  .nav-shell { min-height: 64px; flex-wrap: wrap; }
  .ad-top-band { padding: 6px 0 8px; }
}
body.ads-likely-blocked .ad-fallback {
  border-color: var(--blue);
  background: #eff7ff;
  padding: 0.75rem;
  border-radius: 10px;
}
body.ads-likely-blocked .monetize-bar {
  outline: 2px solid #ffe29a;
}

a:focus-visible, button:focus-visible, .button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .button, .offer-card, .monetize-pulse { transition: none; animation: none; }
}
