@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; }
[hidden] { display: none !important; }

.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;
  display: inline-flex; align-items: center; gap: 8px;
}
.brand img { display: block; width: 28px; height: 28px; }
.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; }

/* Shared form pieces */
.section-cta { margin-top: 36px; }
.stack { display: grid; gap: 12px; margin-top: 20px; }
.field { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.field em { font-weight: 400; font-style: normal; color: var(--muted); }
.field input {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); width: 100%;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19, 128, 200, .18); }
.form-error { color: #b42318; font-size: 0.875rem; min-height: 1.4em; margin: 4px 0 10px; }
button.btn { font-family: inherit; }
.footer a { color: inherit; }

/* Onboarding modal */
body.ob-open { overflow: hidden; }
.ob {
  width: min(100% - 24px, 480px); max-height: min(100dvh - 24px, 760px);
  padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4); overflow: auto;
}
.ob::backdrop { background: rgba(7, 39, 64, .72); }
.ob-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
.ob-back, .ob-close {
  flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--tint);
  color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.ob-back:hover, .ob-close:hover { background: var(--line); }
.ob-progress { flex: 1; height: 6px; border-radius: 3px; background: var(--tint); overflow: hidden; }
.ob-progress span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px; transition: width .3s; }
.ob-body { padding: 22px 24px 26px; }
.ob-title { font-size: 1.6rem; max-width: none; }
.ob-sub { color: var(--muted); margin: 8px 0 0; font-size: 0.95rem; }
#ob-fields { margin-top: 20px; }
.ob-label { font-size: 0.8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.ob-label:first-child { margin-top: 0; }
.ob-choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.ob-choices:has(small) { grid-template-columns: 1fr; }
.ob-choice { position: relative; cursor: pointer; }
.ob-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ob-choice span {
  display: grid; gap: 2px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 0.95rem; transition: border-color .15s, background-color .15s;
}
.ob-choice small { color: var(--muted); font-size: 0.82rem; }
.ob-choice:hover span { border-color: #a9cfe9; }
.ob-choice input:checked + span { border-color: var(--blue); background: #f3f9fe; box-shadow: inset 0 0 0 1px var(--blue); }
.ob-choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.ob-units { display: inline-flex; padding: 3px; border-radius: 8px; background: var(--tint); margin-bottom: 16px; }
.ob-units button { border: 0; background: none; font: inherit; font-size: 0.82rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; cursor: pointer; color: var(--muted); }
.ob-units button.on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(10, 50, 80, .15); }
.ob-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-foot { margin-top: 14px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.ob-foot a, .ob-link { color: var(--blue); }
.ob-link { border: 0; background: none; font: inherit; padding: 0; cursor: pointer; text-decoration: underline; }
.ob-plans { display: grid; gap: 10px; }
.ob-plan {
  position: relative; display: grid; gap: 2px; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink); transition: border-color .15s, transform .1s;
}
.ob-plan:hover { border-color: var(--blue); }
.ob-plan:active { transform: scale(.99); }
.ob-plan-featured { border: 2px solid var(--ink); }
.ob-plan .badge { position: absolute; top: 14px; right: 14px; }
.ob-plan small { color: var(--muted); font-size: 0.85rem; }
.ob-price { font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.2; }
.ob-price small { font-family: var(--body); font-weight: 400; margin-left: 4px; }
.ob-guarantee { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--tint); font-size: 0.85rem; }
.ob-wait { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* Sign-in and consent pages shown while connecting an AI app */
.auth-page { background: var(--navy); min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { background: var(--white); border-radius: 16px; padding: 28px; width: min(100%, 420px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.auth-card .brand { color: var(--ink); margin-bottom: 18px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 8px; }
.auth-card p { margin-top: 10px; font-size: 0.95rem; }
.auth-card .fine { margin-top: 16px; }
.auth-card a { color: var(--blue); }
.auth-card .btn-primary { color: var(--white); }

/* Success / setup page */
.setup { max-width: 720px; padding-top: 6vh; }
.setup h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.setup .lede { color: #dbe8f2; max-width: none; }
.setup-card { background: var(--white); color: var(--ink); border-radius: 14px; padding: 24px; margin-top: 28px; }
.setup-card h2 { font-size: 1.25rem; max-width: none; }
.setup-card ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 0.95rem; }
.copy { display: flex; gap: 8px; margin-top: 14px; }
.copy code { flex: 1; padding: 12px 14px; border-radius: 8px; background: var(--tint); font-size: 0.9rem; overflow-x: auto; white-space: nowrap; }
.copy .btn { padding: 10px 16px; }
.tabs { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.tabs button { border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.say { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 600; }
.setup .hero-fine { max-width: none; }
.setup .hero-fine a { color: inherit; }

/* Terms and privacy */
.legal { padding: 56px 0 88px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; max-width: none; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #2c4a60; margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--blue); }
.legal-nav { background: var(--navy); color: var(--white); }
