:root {
  --blue: #0e6fd0;
  --blue-600: #0b5cae;
  --blue-700: #094a8c;
  --navy: #10233d;
  --ink: #172033;
  --muted: #5c6b80;
  --line: #d9e2ee;
  --paper: #f4f0e8;
  --white: #fff;
  --teal: #0f766e;
  --ok: #0f766e;
  --err: #b91c1c;
  --wa: #128c7e;
  --shadow: 0 18px 50px rgba(16, 35, 61, 0.12);
  --radius: 18px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
a:hover { color: var(--blue-700); }

.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: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.narrow { width: min(760px, calc(100% - 32px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: color-mix(in srgb, var(--paper) 82%, white);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-menus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 52px;
  width: auto;
  max-width: none;
  border-radius: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--blue) 10%, white);
  color: var(--blue-700);
}

.header-cta { display: flex; gap: 8px; }

.btn.header-cta-compact { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font: 600 0.95rem var(--font);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--blue) 35%, transparent); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-primary:disabled:hover,
.btn-primary[disabled]:hover { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 14px 22px; font-size: 1rem; }

.hero, .page-hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-600);
  margin: 0 0 12px;
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h1 em { font-style: italic; color: var(--blue-700); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.hero-actions, .hero-note { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { color: var(--muted); font-size: 0.92rem; }

.strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, white 70%, var(--paper));
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 18px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.section { padding: 72px 0; }
.section--paper { background: color-mix(in srgb, white 55%, var(--paper)); }
.section-head { margin-bottom: 32px; max-width: 40rem; }

.split, .feature, .form-layout, .price-layout, .prose-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.feature--flip { grid-template-columns: 0.9fr 1.1fr; }
.feature--flip > div:first-child { order: 2; }

.checklist { padding: 0; margin: 16px 0 24px; list-style: none; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--blue) 14%, white);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
}

.text-link { font-weight: 650; text-decoration: none; }

.stat-stack, .price-aside { display: grid; gap: 14px; }
.stat-stack article,
.price-aside article,
.note-card,
.cta-mini,
.quote-panel,
.mini-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.stat-stack strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--blue-700);
}

.bento, .cards-3, .cards-2 { display: grid; gap: 16px; }
.bento { grid-template-columns: 1.3fr 1fr 1fr; }
.bento .card--wide { grid-column: span 2; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: 1fr 1fr; }

.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(16, 35, 61, 0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.steps span {
  font-family: var(--display);
  color: var(--blue);
  font-size: 1.4rem;
}

.cta-band {
  margin: 0 16px 48px;
  background: linear-gradient(145deg, var(--navy), #16365e);
  color: #fff;
  border-radius: 28px;
}
.cta-band a:not(.btn) { color: #fff; }
.cta-band .btn-light {
  background: #fff;
  color: var(--navy);
}
.cta-band .btn-light:hover {
  background: #f4f7fb;
  color: var(--navy);
}
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 48px 8px;
}
.cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.mock {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
}
.mock__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
}
.mock__bar span:first-child { background: #f87171; }
.mock__bar span:nth-child(3) { background: #34d399; }
.mock__bar strong { margin-left: 8px; font-weight: 600; }
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 280px; }
.mock__body aside {
  background: #f7fafc;
  border-right: 1px solid var(--line);
  padding: 16px;
}
.mock__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.mock__body ul { list-style: none; padding: 0; margin: 8px 0 0; }
.mock__body li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.88rem;
}
.mock__body li.is-on { color: var(--blue-700); font-weight: 700; }
.mock__list { padding: 12px; display: grid; gap: 8px; }
.mock__list article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.mock__list h3 { font-family: var(--font); font-size: 0.92rem; margin: 6px 0 2px; letter-spacing: 0; }
.mock__list p { margin: 0; color: var(--muted); font-size: 0.78rem; }

.pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f1fb;
  color: var(--blue-700);
}
.pill--chat { background: #e7f6f4; color: var(--teal); }
.pill--wa { background: #e4f7f0; color: var(--wa); }
.pill--sla { background: #fff4e5; color: #c2410c; }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
}
.toc a {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 0.88rem;
}

.price-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.price-card__value {
  font-family: var(--display);
  font-size: 3rem;
  margin: 0;
}
.price-card__value span { font-size: 1.1rem; color: var(--muted); }
.price-card__year { color: var(--muted); }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 650; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.35rem; margin-top: 12px; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-span { grid-column: 1 / -1; }
.form-card label, .form-card .check { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 12px; }
.form-card label span { color: var(--muted); font-weight: 400; }
.form-card input,
.form-card textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: 400 1rem var(--font);
  background: #fbfcfe;
}
.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--blue) 40%, white);
  border-color: var(--blue);
}
.form-hint, .form-card small { display: block; color: var(--muted); font-weight: 400; margin: 4px 0 12px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: auto; margin: 4px 0 0; }
.hp { position: absolute; left: -9999px; }

.captcha-field .captcha-question {
  display: block;
  margin: 6px 0 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.captcha-field input {
  max-width: 160px;
}

.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; }
.alert--ok { background: #e7f6f4; color: var(--ok); }
.alert--err { background: #fee2e2; color: var(--err); }

.alert-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 6px;
}

.alert-list li {
  margin: 0;
  line-height: 1.4;
}

.prose { max-width: 42rem; }
.prose p { color: #314056; }
.note-card strong { color: var(--navy); }

.founder-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.founder-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 28px 44px;
  box-shadow: 0 10px 24px rgba(16, 35, 61, 0.04);
}
.founder-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: var(--line);
}
.founder-timeline li {
  position: relative;
  padding: 0 0 22px 8px;
}
.founder-timeline li:last-child { padding-bottom: 0; }
.founder-timeline li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, white);
}
.founder-timeline strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 4px;
}
.founder-timeline p {
  margin: 0;
  color: #314056;
}

.client-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 10px 24px rgba(16, 35, 61, 0.04);
  max-width: 52rem;
}
.client-feature__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 88px;
  padding: 16px 24px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.client-feature__logo img {
  height: 44px;
  width: auto;
}
.client-feature__logo:hover {
  box-shadow: var(--shadow);
  color: inherit;
}
.client-feature h2 { margin-bottom: 8px; }
.client-feature p { margin: 0; color: #314056; }
code {
  font-size: 0.88em;
  background: color-mix(in srgb, var(--blue) 8%, white);
  padding: 1px 6px;
  border-radius: 6px;
}

.site-footer {
  background: var(--navy);
  color: #d7e3f2;
  padding: 56px 0 28px;
  margin-top: 24px;
}
.site-footer .brand img {
  height: 44px;
  filter: brightness(0) invert(1);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-lead { color: #b7c6d8; max-width: 22rem; }
.site-footer h2 { font-family: var(--font); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8aa0ba; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.footer-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #2a4566;
  color: #8aa0ba;
  font-size: 0.88rem;
}

.success-card { background: linear-gradient(180deg, #fff, #eef6ff); }

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

html.is-preloading {
  overflow: hidden;
}

html.is-preloading .site-preloader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-duration: 0.55s;
}

.site-preloader__spinner {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  animation: site-preloader-rotate 0.9s linear infinite;
}

.site-preloader__spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid color-mix(in srgb, var(--blue) 18%, transparent);
}

.site-preloader__spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 8%, var(--blue) 78%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.6px), #000 calc(100% - 3.4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.6px), #000 calc(100% - 3.4px));
}

@keyframes site-preloader-rotate {
  100% { transform: rotate(360deg); }
}

.site-stage {
  transition: opacity 0.55s ease, filter 0.55s ease;
}

html.is-preloading-out .site-stage {
  opacity: 0;
  filter: blur(16px);
  pointer-events: none;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.wa-float__bubble {
  position: relative;
  max-width: min(220px, calc(100vw - 96px));
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  animation: wa-bubble-in 0.45s ease both;
}

.wa-float__bubble::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-right: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  transform: rotate(45deg);
}

.wa-float__btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover .wa-float__btn,
.wa-float:focus-visible .wa-float__btn {
  transform: scale(1.06);
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.42);
}

.wa-float:focus-visible {
  outline: none;
}

.wa-float:focus-visible .wa-float__btn {
  outline: 3px solid color-mix(in srgb, var(--blue) 55%, white);
  outline-offset: 3px;
}

.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  pointer-events: none;
}

.wa-float.is-online .wa-float__pulse {
  animation: wa-pulse 2s ease-out infinite;
}

.wa-float.is-offline .wa-float__btn {
  background: #1f9a56;
  box-shadow: 0 12px 28px rgba(16, 35, 61, 0.22);
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@keyframes wa-bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader,
  .site-stage {
    transition: none;
  }

  .site-preloader__spinner {
    animation: none;
  }

  html.is-preloading-out .site-stage {
    filter: none;
  }

  .wa-float__bubble,
  .wa-float__pulse {
    animation: none;
  }
}

@media (max-width: 900px) {
  .brand img { height: 40px; }
  .btn.header-cta-compact { display: inline-flex; margin-left: auto; padding: 8px 12px; font-size: 0.85rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-menus {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header) + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  body.nav-open .header-menus { display: flex; }
  .nav, .header-cta { flex-direction: column; }
  .hero-grid,
  .split, .feature, .feature--flip, .form-layout, .price-layout, .prose-grid,
  .founder-grid, .client-feature,
  .bento, .cards-3, .cards-2, .steps ol, .strip-grid, .footer-grid, .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .bento .card--wide { grid-column: auto; }
  .feature--flip > div:first-child { order: 0; }
  .mock__body { grid-template-columns: 1fr; }
  .fields-2 { grid-template-columns: 1fr; }
  .cta-band { margin: 0 12px 32px; }
  .footer-copy { flex-direction: column; }
}
