:root {
  --navy: #0a1f44;
  --navy-2: #102a5c;
  --blue: #2563eb;
  --sky: #38bdf8;
  --soft: #eef4ff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --chat-accent: var(--blue);
  --chat-accent-ink: #fff;
  --chat-soft: var(--soft);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; }
p { margin: 0 0 12px; }

.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.button:hover { background: #1d4ed8; }
.button.small { padding: 9px 16px; font-size: 15px; box-shadow: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px max(16px, calc((100% - 1160px) / 2));
  background: rgba(10, 31, 68, 0.96);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand .logo { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px max(16px, calc((100% - 1160px) / 2)) 104px;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.eyebrow, .kicker { font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.eyebrow { color: var(--sky); }
.kicker { color: var(--blue); margin-bottom: 8px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.lead { font-size: 19px; color: #d6e2f5; max-width: 33em; }
.badges { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  padding: 8px 14px 8px 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%2338bdf8'/%3E%3Cpath d='m5.8 10.4 2.8 2.8 5.6-6.4' fill='none' stroke='%230a1f44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 10px center / 18px no-repeat;
  font-weight: 600;
  font-size: 15px;
}

.section { padding: 72px max(16px, calc((100% - 1160px) / 2)); }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); }
.intro { font-size: 18px; color: var(--muted); max-width: 40em; }
.tint { background: var(--soft); }
.dark { background: var(--navy); color: #fff; }
.dark .kicker { color: var(--sky); }
.dark p { color: #d6e2f5; }
.small-print { font-size: 14px; color: #94a3b8 !important; }

.cards { display: grid; gap: 20px; margin-top: 28px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); }
.card.featured { border: 2px solid var(--blue); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12); }
.fit { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; }
.fit b { color: var(--blue); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > div > p { font-size: 18px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { background: #fff; border-radius: 12px; padding: 14px 16px 14px 46px; position: relative; border: 1px solid #dbe6fb; }
.rules li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.steps .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--blue); font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); margin: 0; }

.calc { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.calc label { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 12px; margin-bottom: 22px; font-weight: 600; }
.calc output { font-size: 22px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.calc input[type=range] {
  grid-column: 1 / -1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) var(--fill, 50%), #e2e8f0 var(--fill, 50%));
  outline: none;
}
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: pointer; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.results div { background: var(--soft); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.results small { color: var(--muted); font-size: 14px; }
.results strong { font-size: 28px; font-variant-numeric: tabular-nums; }
.calc-note { margin: 14px 0 0; color: var(--muted) !important; font-size: 15px; }

.faq { display: grid; gap: 10px; margin-top: 24px; max-width: 840px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.cta { text-align: center; padding: 72px 16px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: #d6e2f5; margin-bottom: 24px; }

.footer { padding: 40px max(16px, calc((100% - 1160px) / 2)) 96px; background: #061430; color: #9fb0c8; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; flex-wrap: wrap; margin-bottom: 16px; }
.footer-brand .logo { height: 24px; width: auto; }
.footer-brand span { color: #9fb0c8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.footer-links a { color: #cbd5e1; }
.copy { margin: 0; }

.sticky-cta { display: none; }
.sticky-cta.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .button.small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; padding-bottom: 32px; }
  .lead { font-size: 17px; }
  .badges { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .badges li { font-size: 13px; padding: 6px 8px 6px 28px; background-position: 7px center; background-size: 15px; }
  .cards.three, .steps, .split { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .results strong { font-size: 24px; }
  .sticky-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 20; text-align: center; transition: opacity .2s, transform .2s; }
}
@media (min-width: 961px) and (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* Hero: button-led, chat opens in a dialog */
button.button { font: inherit; font-weight: 800; border: 0; cursor: pointer; }
.button.big { font-size: 18px; padding: 16px 28px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.text-link { color: #d6e2f5; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #fff; }
.sample {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 430px;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.sample-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.live-dot { font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: #15803d; }
.live-dot::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; margin-right: 7px; box-shadow: 0 0 0 4px rgba(34,197,94,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }
.sample-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f1f5f9; border-radius: 999px; padding: 3px 9px; }
.sample-title { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.sample dl { margin: 0; display: grid; gap: 0; }
.sample dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eef2f7; font-size: 15px; }
.sample dt { color: var(--muted); }
.sample dd { margin: 0; font-weight: 700; text-align: right; }
.sample-checks { display: flex; gap: 10px; margin: 14px 0 10px; flex-wrap: wrap; }
.sample-checks span { font-size: 13px; font-weight: 700; color: var(--blue); background: var(--soft); border-radius: 999px; padding: 5px 10px; }
.sample-foot { margin: 0; font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }
@media (max-width: 960px) {
  .button.big { width: 100%; text-align: center; }
  .hero-actions { gap: 12px; }
  .sample { justify-self: stretch; max-width: none; transform: none; }
}

.hero h1 { max-width: 13em; }
.hero h1 span { display: block; color: var(--sky); }
.hero .lead { max-width: 28em; }
.sample-foot { margin-top: 14px; font-weight: 700; color: var(--blue); }
.strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1160px, calc(100% - 32px));
  margin: -44px auto 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(2, 12, 32, 0.12);
}
.strip div { background: #fff; padding: 20px 16px; text-align: center; display: flex; flex-direction: column; }
.strip strong { font-size: 18px; }
.strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .hero { padding-bottom: 72px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
}
.contact { margin: 0 0 12px; }
.contact a { color: inherit; }
