@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0a3250;
  --navy-deep: #072740;
  --ink: #0b2a42;
  --blue: #1380c8;
  --blue-hover: #0f6faf;
  --sky: #5cc0f5;
  --tint: #e8f3fb;
  --card: #eaf4fb;
  --line: #d6e3ee;
  --muted: #5a6f80;
  --white: #fff;
  --display: "Plus Jakarta Sans", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
svg { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(100% - 40px, 1080px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 820px); }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 18ch; }
h3 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; }

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.lede { font-size: 1.15rem; max-width: 46ch; margin-top: 18px; }
.muted { color: var(--muted); }
.fine { font-size: 0.875rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); border-radius: 999px; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding-bottom: 88px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand {
  font-family: var(--display); font-weight: 800;
  font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px; align-items: center; padding-top: 48px;
}
.hero-turn {
  margin-top: 28px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.5;
}

/* Rolling provider carousel: app-icon tile + name, inline in the headline */
.roller {
  --h: 1.5em;
  display: inline-block;
  vertical-align: bottom;
  height: var(--h);
  margin-left: 0.2em;
  overflow: hidden;
  line-height: var(--h);
}
.roller-track {
  display: block;
  transition: transform .55s cubic-bezier(.7, 0, .2, 1);
  will-change: transform;
}
.roller-track.no-anim { transition: none; }
.roller-item {
  display: flex; align-items: center; gap: 0.3em;
  height: var(--h);
  white-space: nowrap;
}
.tile {
  flex: none;
  display: grid; place-items: center;
  width: 1.1em; height: 1.1em;
  border-radius: 0.26em;
  background: var(--white);
}
.tile svg { width: 0.7em; height: 0.7em; fill: currentColor; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.link-light { font-weight: 600; font-size: 0.95rem; text-underline-offset: 4px; }
.link-light:hover { color: var(--sky); }
.hero-fine { margin-top: 22px; font-size: 0.9rem; color: #c3d6e4; max-width: 38ch; }

/* Chat mock */
.chat {
  background: var(--white); color: var(--ink);
  border-radius: 16px; padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  font-size: 0.9rem;
  max-width: 440px; width: 100%; justify-self: end;
}
.chat-head { display: flex; justify-content: space-between; align-items: baseline; }
.chat-head strong { font-size: 1rem; }
.chat-head span { font-size: 0.75rem; color: var(--muted); }
.chat-body { display: grid; gap: 10px; margin: 16px 0 18px; }
.bubble { border-radius: 12px; padding: 12px 14px; max-width: 92%; }
.bubble-user { background: var(--tint); justify-self: end; border-bottom-right-radius: 4px; }
.bubble-ai { background: var(--navy); color: var(--white); border-bottom-left-radius: 4px; display: grid; gap: 8px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.stat { background: #10466e; border-radius: 8px; padding: 9px 12px; display: grid; }
.stat span { font-size: 0.72rem; color: #b9d3e6; }
.stat strong { font-size: 1.05rem; color: var(--sky); }
.chat-today { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 2px; }
.chat-today .eyebrow { font-size: 0.7rem; margin-bottom: 2px; }
.chat-today .muted { font-size: 0.8rem; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .eyebrow { color: var(--sky); }

/* Checklist */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.check {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 600; line-height: 1.35;
  cursor: pointer; user-select: none;
  box-shadow: 0 1px 2px rgba(10, 50, 80, .08);
  transition: border-color .15s, background-color .15s, transform .1s;
}
.check:hover { border-color: #a9cfe9; }
.check:active { transform: scale(.985); }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.box {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border: 2px solid var(--blue); border-radius: 5px;
  display: grid; place-items: center;
  color: var(--white);
  transition: background-color .15s;
}
.box svg { width: 14px; height: 14px; transform: scale(0); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.check:has(input:checked) { border-color: var(--blue); background: #f3f9fe; }
.check input:checked + .box { background: var(--blue); }
.check input:checked + .box svg { transform: scale(1); }
.check:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 3px; }
.checks-result { margin-top: 24px; font-size: 0.95rem; color: var(--muted); min-height: 1.6em; }
.checks-result.hit { color: var(--ink); font-weight: 700; }
.checks-result a { color: var(--blue); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px 24px; }
.card p { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.card-num {
  display: block; margin-bottom: 22px;
  font-family: var(--display); font-weight: 800;
  font-size: 1.9rem; line-height: 1; color: var(--blue);
}
.card-outline { background: var(--navy-deep); border: 1px solid #2b5a7d; }
.card-outline p { color: #c3d6e4; }
.card-outline .eyebrow { font-size: 0.7rem; }

/* Objections */
.objections { margin-top: 36px; }
.objection {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.objection:last-child { border-bottom: 0; }
.objection dt { font-style: italic; font-weight: 600; color: var(--muted); }
.objection dd { display: flex; gap: 12px; }
.objection dd svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 24px; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 24px; display: flex; flex-direction: column;
}
.plan-featured { border: 2px solid var(--ink); }
.plan-head { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.plan h3 { font-size: 1.1rem; }
.badge { background: var(--ink); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.price { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.price strong {
  font-family: var(--display); font-weight: 800;
  font-size: 2.6rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink);
}
.plan-note { font-size: 0.85rem; color: var(--muted); margin: 6px 0 20px; flex: 1; }
.plan-guarantee { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan-guarantee .shield { width: 34px; height: 34px; color: var(--sky); margin-bottom: 14px; }
.plan-guarantee h3 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.15; }
.plan-guarantee p { font-size: 0.85rem; color: #c3d6e4; margin-top: 10px; }

/* FAQ */
.faq { margin-top: 28px; }
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 0; }
.faq dt { font-weight: 700; font-size: 1.1rem; }
.faq dd { margin-top: 8px; font-size: 1.05rem; color: #2c4a60; }

/* Final CTA */
.cta { text-align: center; padding: 80px 0; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta .btn { margin: 28px 0 18px; }
.cta .fine { color: #c3d6e4; }

.footer { background: #111; color: #a8b0b6; font-size: 0.75rem; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; }
.footer-inner span:last-child { max-width: 60ch; }

@media (max-width: 860px) {
  .hero { padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 24px; }
  .chat { justify-self: start; }
  .section { padding: 64px 0; }
  .checks, .cards, .plans { grid-template-columns: 1fr; }
  .objection { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { flex-direction: column; gap: 10px; }
}
@media (min-width: 560px) and (max-width: 860px) {
  .checks { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Success page */
.success { min-height: 100vh; padding-bottom: 64px; }
.success-body { max-width: 640px; padding-top: 12vh; }
.success-body .eyebrow { color: var(--sky); }
.success-body .lede { color: #dbe8f2; }
.success-body .btn { margin-top: 28px; }
