:root {
  --bg-gradient: linear-gradient(180deg, #eaf4ff 0%, #ffffff 60%);
  --primary: #2563eb;
  --primary-deep: #1e40af;
  --accent: #0f9b8e;
  --accent-soft: #dff8f3;
  --ink: #0f172a;
  --muted: #5b687e;
  --card: #ffffff;
  --border: #dbe8ff;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  --radius: 16px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Urbanist", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg-gradient);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3 { font-family: "Urbanist", system-ui, sans-serif; line-height: 1.2; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }

.shell { width: min(1140px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(234, 244, 255, 0.75);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1rem; }
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7dd3fc 0%, #2563eb 65%, #1e3a8a 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.nav-links { display: flex; gap: 1.25rem; justify-self: center; white-space: nowrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: 0.94rem; }
.nav-links a:hover { color: var(--primary); }
.nav .btn { justify-self: end; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  padding: 0.72rem 1.22rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #0f172a 0%, #1f2f52 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 34, 62, 0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #101b33 0%, #263a62 100%); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #b8ceff; }

main section { padding: 4.6rem 0; }
main section + section {
  border-top: 1px solid #e1ebff;
}
.hero { text-align: center; padding-top: 0.8rem; padding-bottom: 0.4rem; }
.hero-focus {
  position: relative;
  background: radial-gradient(ellipse at center, rgba(52, 126, 245, 0.16) 0%, rgba(237, 247, 255, 0) 68%);
  border: 1px solid #d8e8ff;
  border-radius: 26px;
  padding: 2.2rem 1.1rem 0.4rem;
  overflow: hidden;
}
.hero-focus::before,
.hero-focus::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.45));
}
.hero-focus::before {
  left: 8%;
  transform: translateY(-50%) rotate(6deg);
}
.hero-focus::after {
  right: 8%;
  transform: translateY(-50%) rotate(-6deg);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.45), rgba(37, 99, 235, 0));
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  color: var(--primary);
  font-weight: 800;
}
.hero-title {
  display: grid;
  gap: 0.28rem;
  justify-items: center;
  width: fit-content;
  max-width: none;
  margin: 0.5rem auto 1rem;
  margin-inline: auto;
  text-align: center;
  line-height: 1.03;
}
.hero-title .beat {
  display: block;
  font-size: clamp(2.1rem, 6.1vw, 4.4rem);
  font-weight: 700;
  white-space: nowrap;
}
.hero-title .beat-one {
  letter-spacing: -0.03em;
  color: #1a2947;
  /* 5.4/4.4 = 1.2273 ratio to beat-two across min/preferred/max. */
  font-size: clamp(2.58rem, 7.49vw, 5.4rem);
}
.hero-title .beat-two {
  letter-spacing: -0.035em;
  background: linear-gradient(90deg, #1d4ed8 0%, #0f9b8e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  padding-bottom: 0.1rem;
}
.hero-title .beat-two::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -0.14rem;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), rgba(15, 155, 142, 0.2));
}
.subhead { color: var(--muted); max-width: 68ch; margin: 0 auto 1.4rem; font-size: 1.03rem; }
.cta-row { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero .cta-row {
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.hero .cta-row .btn-primary {
  min-width: 290px;
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}
.hero .cta-row .btn-ghost {
  min-width: 220px;
}
.hero-orbits {
  pointer-events: none;
}
.orbit {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #31516f;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.11);
}
.orbit-left-top { left: 8%; top: 27%; transform: rotate(-8deg); }
.orbit-right-top { right: 8%; top: 24%; transform: rotate(8deg); }
.orbit-left-bottom { left: 10%; bottom: 20%; transform: rotate(-6deg); }
.orbit-right-bottom { right: 9%; bottom: 19%; transform: rotate(6deg); }
.hero-points { list-style: none; display: flex; gap: 1rem; justify-content: center; padding: 0; margin: 1rem 0 0; flex-wrap: wrap; }
.hero-points li {
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
}

.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); max-width: 70ch; }
.section-head { margin-bottom: 1rem; }
#proof .section-head p { max-width: none; }
#demo .section-head p { max-width: none; }
.section-band {
  background: linear-gradient(180deg, #f7fbff 0%, #f2f8ff 100%);
  border: 1px solid #dbe8ff;
  border-radius: 22px;
  padding: 2.1rem 1.15rem;
}
.section-band-soft {
  background: linear-gradient(180deg, #fbfeff 0%, #f8fcff 100%);
  border: 1px solid #e3efff;
  border-radius: 22px;
  padding: 2.1rem 1.15rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.proof-strip span {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d5d6e;
  background: #f0fbf9;
  border: 1px solid #bfe9df;
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr;
  gap: 1.1rem;
}
.proof-card p { color: #2f476e; margin-bottom: 0; text-wrap: pretty; max-width: none; }
.proof-metrics ul { margin: 0; padding-left: 1.1rem; }
.proof-metrics li { margin-bottom: 0.4rem; }

.demo-grid {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
}

.card, .chat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.05rem;
}

.chat-log {
  min-height: 300px;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid #e5ecfa;
  border-radius: 12px;
  padding: 0.8rem;
  background: #f8fbff;
}

.msg { margin: 0 0 0.7rem; max-width: 90%; padding: 0.55rem 0.7rem; border-radius: 12px; }
.msg.user { margin-left: auto; background: #e7f0ff; }
.msg.bot { background: #fff; border: 1px solid #dce9ff; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.8rem 0; }
.chip {
  border: 1px dashed #9acfc6;
  background: var(--accent-soft);
  color: #206258;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}

.chat-form { display: flex; gap: 0.55rem; }
.chat-form input {
  flex: 1;
  border: 1px solid #c8dbff;
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  font: inherit;
}
.chat-handoff {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #f6f9ff;
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}
.chat-handoff p { margin: 0; font-size: 0.9rem; color: #2c4469; font-weight: 600; }

.demo-side .card + .card { margin-top: 1rem; }

.steps, .faq-grid, .pricing-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step-num {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #3283f8 100%);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.amount { font-family: "Urbanist", system-ui, sans-serif; font-size: 1.55rem; font-weight: 700; }
.amount span { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.featured { border-color: #9ec0ff; background: linear-gradient(180deg, #f6f9ff, #ffffff); }
.plan-fit { color: #3a5481; font-size: 0.9rem; margin: 0; }
.price-cta { margin-top: 1rem; }
.price-cta .btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #1b9d91 100%);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
}
.price-cta .btn-primary:hover {
  background: linear-gradient(135deg, #0f6b64 0%, #188a80 100%);
}
.guarantee {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--accent);
  background: #ecfbf8;
  border-radius: 8px;
}

.final-cta {
  text-align: center;
  border: 1px solid #dce8ff;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  border-radius: 18px;
  padding: 2.1rem 1rem 2.6rem;
  margin-top: 1rem;
  margin-bottom: 4.8rem;
}
.qual-form {
  margin: 1.1rem auto 0;
  max-width: 760px;
  text-align: left;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qual-form label { display: grid; gap: 0.35rem; font-weight: 600; color: #1e2f4f; }
.qual-form input {
  border: 1px solid #c9ddff;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}
.qual-form .btn { grid-column: 1 / -1; justify-self: center; margin-top: 0.4rem; }

.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; }
body.js .reveal.show { animation: fade-up 420ms ease both; }

@keyframes fade-up {
  from { opacity: 0.72; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid #dce8ff;
  padding: 1.1rem 0 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #3a4f77;
}
.site-footer p { margin: 0; font-size: 0.92rem; }
.site-footer a { color: #1f4aa0; text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 1rem; font-size: 0.92rem; }

.legal-main {
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}
.legal-main h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 0.9rem;
}
.legal-main h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}
.legal-main p,
.legal-main li {
  color: #273c60;
}
.legal-main ul {
  padding-left: 1.15rem;
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 0.65rem 0;
  }
  .nav-links { display: none; }
  .nav .btn {
    justify-self: end;
    font-size: 0.88rem;
    padding: 0.62rem 0.95rem;
  }
  .proof-strip { grid-template-columns: 1fr 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .steps, .faq-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .hero-focus::before,
  .hero-focus::after,
  .hero-orbits { display: none; }
}

@media (max-width: 640px) {
  .site-header { display: none; }
  .hero { padding-top: 1.3rem; }
  main section { padding: 3.4rem 0; }
  .hero-title { max-width: 20ch; gap: 0.1rem; }
  .hero-title .beat { white-space: normal; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .steps, .faq-grid, .pricing-grid, .qual-form { grid-template-columns: 1fr; }
  .chat-handoff .btn { width: 100%; }
  .chat-form { flex-direction: column; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .btn, .card, .chip { transition: none; }
}
