/* NeoMarketing website — shared styles */
:root {
  --ink: #0b1026;
  --ink-2: #131a3d;
  --ink-3: #1d2552;
  --text: #1a2040;
  --muted: #5a6283;
  --muted-2: #8a91ad;
  --line: #e5e8f2;
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-400: #818cf8;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --accent: #f2b544;
  --accent-50: #fff6e3;
  --wa: #1fae5b;
  --wa-50: #e7f8ee;
  --sms: #0b93d6;
  --sms-50: #e3f4fd;
  --rose: #e5486f;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 64, .06), 0 1px 1px rgba(16, 24, 64, .04);
  --shadow: 0 10px 30px -12px rgba(16, 24, 64, .18), 0 2px 6px rgba(16, 24, 64, .05);
  --shadow-lg: 0 30px 70px -25px rgba(11, 16, 38, .45);
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: var(--brand-50); color: var(--brand-600); padding: .12em .4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { margin-bottom: 56px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--font);
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--brand); border-color: var(--brand-100); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.on-dark:not(.scrolled) { background: transparent; }
.site-header.on-dark:not(.scrolled) .nav-links a, .site-header.on-dark:not(.scrolled) .brand { color: #fff; }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { color: var(--accent); }
.site-header.on-dark:not(.scrolled) .nav-signin { color: #fff; }
.site-header.on-dark:not(.scrolled) .menu-toggle { color: #fff; border-color: rgba(255,255,255,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: inherit; }
.brand img, .brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .94rem; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--brand); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-signin { color: var(--text); font-weight: 600; font-size: .94rem; padding: 8px 12px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .nav-signin, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 72px 0 0; background: #fff; padding: 16px 24px 32px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; overflow-y: auto; border-top: 1px solid var(--line); }
  .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a:not(.btn) { display: block; padding: 14px 4px; font-weight: 600; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 20px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: #fff; }
  body.menu-open .site-header .brand, body.menu-open .site-header .menu-toggle { color: var(--ink) !important; border-color: var(--line) !important; }
}

/* Hero (dark) */
.hero {
  position: relative; background: var(--ink); color: #c9cde3; overflow: hidden; margin-top: -72px; padding: 150px 0 110px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 12% 10%, rgba(79, 70, 229, .55), transparent 65%),
    radial-gradient(600px 400px at 92% 20%, rgba(242, 181, 68, .22), transparent 60%),
    radial-gradient(800px 500px at 60% 110%, rgba(31, 174, 91, .18), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero h1, .hero h2 { color: #fff; }
.hero h1 .hl { background: linear-gradient(100deg, #a5b4fc, #f2b544 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b5bad6; }
.hero .eyebrow { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #9ea4c4; }
.hero-note svg { width: 18px; height: 18px; color: var(--wa); flex: none; }
.page-hero { padding: 140px 0 80px; }
.page-hero .lead { max-width: 760px; }
.page-hero.center .lead { margin: 0 auto; }

/* Journey mock */
.mock {
  position: relative; background: linear-gradient(180deg, #161d45, #11173a); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06); padding: 16px; color: #dfe2f5;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 14px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 14px; font-size: .78rem; color: #8f95b8; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3463; }
.mock-bar span { margin-left: 10px; }
.mock-bar b { margin-left: auto; font-weight: 600; color: #bfe9cf; background: rgba(31,174,91,.15); border: 1px solid rgba(31,174,91,.35); padding: 3px 9px; border-radius: 99px; font-size: .72rem; }
.canvas { position: relative; height: 400px; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 18px 18px; border-radius: 12px; }
.canvas svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.node {
  position: absolute; width: 196px; background: #1d2554; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 12px; font-size: .78rem;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
}
.node .k { display: flex; align-items: center; gap: 7px; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.node .k i { width: 8px; height: 8px; border-radius: 3px; }
.node .t { color: #fff; font-weight: 600; font-size: .84rem; line-height: 1.3; }
.node .s { color: #9097bd; font-size: .72rem; margin-top: 2px; }
.node.trigger .k { color: #fbd38d; } .node.trigger .k i { background: var(--accent); }
.node.wa .k { color: #86efac; } .node.wa .k i { background: var(--wa); }
.node.wait .k { color: #c7d2fe; } .node.wait .k i { background: var(--brand-400); }
.node.branch .k { color: #f9a8d4; } .node.branch .k i { background: var(--rose); }
.node.email .k { color: #a5b4fc; } .node.email .k i { background: #6366f1; }
.node.agent .k { color: #7dd3fc; } .node.agent .k i { background: var(--sms); }
.float-card {
  position: absolute; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: .8rem; width: 210px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.float-card .lbl { color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.float-card .big { font: 700 1.5rem/1.1 var(--font-display); color: var(--ink); }
.float-card .bar { height: 6px; background: var(--brand-50); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.float-card .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--wa)); border-radius: 99px; }
.float-card.fc-1 { right: -26px; top: 64px; }
.float-card.fc-2 { left: 28px; bottom: -54px; animation-delay: -3s; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--wa-50); color: #147a40; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Channel strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip .container { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; justify-content: center; }
.strip p { margin: 0; font-size: .82rem; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.strip li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); font-size: .95rem; }
.strip li svg { width: 20px; height: 20px; }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card { color: inherit; display: block; }
a.card:hover, .card.hover:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card ul.ticks { margin-top: 14px; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 18px; flex: none; }
.ico svg { width: 22px; height: 22px; }
.ico.gold { background: var(--accent-50); color: #b07610; }
.ico.green { background: var(--wa-50); color: var(--wa); }
.ico.blue { background: var(--sms-50); color: var(--sms); }
.ico.rose { background: #fdeaf0; color: var(--rose); }
.ico.ink { background: #eceef7; color: var(--ink-3); }
.card .tag { display: inline-block; margin-top: 16px; font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 9px; border-radius: 99px; }

ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: .97rem; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.dark ul.ticks li { color: #cfd3ea; }
.dark ul.ticks li::before { background-color: rgba(129,140,248,.18); }

/* Flow (campaign -> agent) */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; position: relative; }
.flow::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-100) 0 8px, transparent 8px 14px); z-index: 0; }
.flow-step { position: relative; z-index: 1; text-align: center; }
.flow-step .ico { margin: 0 auto 16px; width: 68px; height: 68px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.flow-step .ico svg { width: 28px; height: 28px; }
.flow-step h4 { font-size: 1rem; margin-bottom: 4px; }
.flow-step p { font-size: .86rem; color: var(--muted); margin: 0; }
.flow-step .n { counter-increment: step; display: block; font-size: .7rem; font-weight: 700; color: var(--brand); letter-spacing: .1em; margin-bottom: 4px; }
.flow-step .n::before { content: "STEP " counter(step); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.split .lead { font-size: 1.05rem; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.panel.tint { background: linear-gradient(160deg, var(--brand-50), #fff 60%); }
.panel-title { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.prompt { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--brand-100); border-radius: 12px; padding: 14px; font-size: .95rem; color: var(--ink); box-shadow: 0 0 0 4px rgba(79,70,229,.06); }
.prompt svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.conds { display: grid; gap: 8px; margin: 16px 0; }
.cond { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .84rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.cond b { color: var(--ink); font-weight: 600; }
.cond .op { color: var(--brand); font-weight: 600; }
.cond .and { font-size: .66rem; font-weight: 700; color: #fff; background: var(--brand); border-radius: 5px; padding: 2px 6px; letter-spacing: .05em; }
.count { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; }
.count strong { font: 700 1.5rem/1 var(--font-display); color: var(--ink); }

.contact-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), #8b5cf6); flex: none; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.metric { background: var(--bg-soft); border-radius: 12px; padding: 12px; }
.metric .lbl { font-size: .7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.metric .val { font: 700 1.25rem/1.2 var(--font-display); color: var(--ink); margin-top: 4px; }
.metric .val.good { color: var(--wa); }
.reasons { display: grid; gap: 8px; font-size: .86rem; }
.reasons div { display: flex; gap: 8px; align-items: center; }
.reasons .up { color: var(--wa); font-weight: 700; } .reasons .down { color: var(--rose); font-weight: 700; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.chip.c-wa { background: var(--wa-50); border-color: #c4ecd5; color: #147a40; }
.chip.c-sms { background: var(--sms-50); border-color: #bfe5f8; color: #086c9e; }
.chip.c-em { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-600); }
.chip.c-gold { background: var(--accent-50); border-color: #f6dfa9; color: #8a5a06; }

/* Dark band */
.dark { background: var(--ink); color: #b9bed9; position: relative; overflow: hidden; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead, .dark p { color: #aeb3d1; }
.dark .eyebrow { color: var(--accent); }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); }
.dark .card p { color: #a3a9c9; }
.dark .ico { background: rgba(129,140,248,.14); color: #a5b4fc; }
.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(79,70,229,.35), transparent 70%); pointer-events: none; }
.dark > .container { position: relative; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font: 700 2.6rem/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; }
.stat .num span { color: var(--brand); }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }

/* Pricing */
.billing-note { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 99px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(79,70,229,.55); }
.price-card .badge { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; letter-spacing: .04em; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: .95rem; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.price .cur { font-weight: 600; color: var(--muted); }
.price .amt { font: 700 3rem/1 var(--font-display); color: var(--ink); letter-spacing: -.04em; }
.price .per { color: var(--muted); font-size: .92rem; }
.price-card .btn { margin: 20px 0 24px; }
.price-card ul.ticks { font-size: .93rem; }
.price-card .incl { font-size: .78rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
table.cmp th, table.cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; }
table.cmp thead th { position: sticky; top: 0; background: #fff; font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
table.cmp thead th.hl { color: var(--brand); }
table.cmp tr.grp td { background: var(--bg-soft); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
table.cmp td.y { color: var(--wa); font-weight: 700; }
table.cmp td.n { color: #c2c6d8; }
table.cmp tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 600; color: var(--ink); position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, #3b2fc4 55%, #1c1660 100%); border-radius: 28px; padding: 64px; color: #dfe1ff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(242,181,68,.45), transparent 65%); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #d4d6fb; font-size: 1.08rem; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-light { border-color: transparent; }

/* Sub-nav (features) */
.subnav { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 99px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.subnav a:hover { color: var(--brand); background: var(--brand-50); }
.subnav a.active { color: #fff; background: var(--ink); }
.module-group { scroll-margin-top: 140px; }
.module-group + .module-group { margin-top: 96px; }
.group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.group-head h2 { margin: 0; }
.group-head p { margin: 6px 0 0; color: var(--muted); max-width: 560px; }
.module { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.module .meta h3 { font-size: 1.35rem; }
.module .meta p { color: var(--muted); font-size: .97rem; }
.module .plans { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.module .body ul.ticks { grid-template-columns: 1fr 1fr; gap: 12px 28px; }

/* Code */
pre.code { background: var(--ink); color: #d6daf3; border-radius: var(--radius); padding: 22px; overflow-x: auto; font: .85rem/1.65 var(--mono); margin: 0; border: 1px solid var(--ink-3); }
pre.code .c { color: #6f78a8; } pre.code .s { color: #a7f3d0; } pre.code .k { color: #c4b5fd; } pre.code .p { color: #fcd34d; }

/* Integrations list */
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.int { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.int .logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font: 700 .95rem/1 var(--font-display); color: #fff; flex: none; }
.int h4 { margin: 0 0 2px; font-size: 1rem; }
.int p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.45; }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.fl { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.fl .opt { color: var(--muted-2); font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; font-size: .97rem; color: var(--text); background: #fff; border: 1px solid #d6daea; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6283' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.input.invalid { border-color: var(--rose); }
.err { color: var(--rose); font-size: .8rem; margin-top: 6px; display: none; }
.field.has-error .err { display: block; }
.field.has-error .input { border-color: var(--rose); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; border: 1px solid #d6daea; border-radius: 10px; padding: 9px 12px; cursor: pointer; user-select: none; }
.checks input { accent-color: var(--brand); }
.checks label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: 12px; padding: 16px 18px; font-size: .95rem; margin-top: 18px; }
.form-status.ok { display: block; background: var(--wa-50); color: #146c3a; border: 1px solid #c4ecd5; }
.form-status.bad { display: block; background: #fdeaf0; color: #a3133a; border: 1px solid #f7c5d3; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .ico { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; }

/* Contact aside */
.aside-list { display: grid; gap: 22px; }
.aside-item { display: flex; gap: 16px; }
.aside-item .ico { margin: 0; }
.aside-item h4 { margin: 0 0 4px; font-size: 1.02rem; }
.aside-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: #3b4263; }
.prose ul { padding-left: 1.2em; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa0c3; padding: 72px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-family: var(--font); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #9aa0c3; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.footer-badges span { font-size: .75rem; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; padding: 4px 10px; color: #c3c7e0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  * { transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .float-card.fc-1 { right: -8px; }
  .float-card.fc-2 { left: 20px; }
}
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 80px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .split.rev > :first-child { order: 0; }
  .split + .split { margin-top: 80px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .flow::before { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .module { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .card { padding: 22px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .module .body ul.ticks { grid-template-columns: 1fr; }
  .stat { padding: 22px 18px; }
  .stat .num { font-size: 2rem; }
  .canvas { height: 500px; }
  .node { padding: 9px 10px; }
  .node .t { font-size: .8rem; }
  .hero-grid .mock { margin-bottom: 0; }
  .float-card { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .metric-row { grid-template-columns: 1fr 1fr 1fr; }
  .metric .val { font-size: 1.05rem; }
  .cta-band { padding: 36px 22px; border-radius: 20px; }
  .cta-band .actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.panel-title svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.hero-grid .mock { margin-bottom: 40px; }
.contact-split { grid-template-columns: 1.35fr 1fr; }
@media (max-width: 980px) { .contact-split { grid-template-columns: 1fr; } }

/* ==========================================================================
   Dark theme (palette from reference): page #000, header #080c14,
   surfaces #11172e, primary #436aeb, link/accent blue #6a8dfd.
   Delete this block to return to the light theme.
   ========================================================================== */
:root {
  --page: #000000;
  --header: #080c14;
  --surface: #11172e;
  --surface-2: #0b1022;
  --ink: #ffffff;
  --ink-2: #e6e9f2;
  --ink-3: #2a3352;
  --text: #d5d9e6;
  --muted: #9aa3b5;
  --muted-2: #7c8499;
  --line: #222a45;
  --bg: #000000;
  --bg-soft: #070a14;
  --brand: #436aeb;
  --brand-600: #3557d4;
  --brand-400: #6a8dfd;
  --brand-50: rgba(67, 106, 235, .14);
  --brand-100: rgba(106, 141, 253, .32);
  --accent-50: rgba(242, 181, 68, .14);
  --wa-50: rgba(31, 174, 91, .15);
  --sms-50: rgba(11, 147, 214, .16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 16px 40px -18px rgba(0, 0, 0, .8);
}
body { background: var(--page); color: var(--text); }
a { color: var(--brand-400); }
a:hover { color: #93abff; }
.eyebrow { color: var(--brand-400); }
code { background: var(--brand-50); color: #a9bcff; }
.skip { background: var(--brand); }

/* Header & menus */
.site-header, .site-header.on-dark:not(.scrolled) { background: var(--header); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header.scrolled { border-bottom-color: rgba(255,255,255,.08); }
.site-header .brand, .site-header .nav-signin { color: #fff; }
.nav-links a, .site-header.on-dark:not(.scrolled) .nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"], .site-header.on-dark:not(.scrolled) .nav-links a:hover { color: #fff; }
.menu-toggle, .site-header.on-dark:not(.scrolled) .menu-toggle { color: #fff; border-color: rgba(255,255,255,.18); }
@media (max-width: 980px) {
  .mobile-menu { background: var(--header); border-top-color: rgba(255,255,255,.08); }
  .mobile-menu a:not(.btn) { color: #fff; border-bottom-color: var(--line); }
  body.menu-open .site-header { background: var(--header); }
  body.menu-open .site-header .brand, body.menu-open .site-header .menu-toggle { color: #fff !important; border-color: rgba(255,255,255,.18) !important; }
}

/* Buttons */
.btn-primary { background: var(--brand); box-shadow: 0 8px 22px -10px rgba(67,106,235,.8); }
.btn-primary:hover { background: #5479f0; }
.btn-light { background: #1e232b; color: #fff; border-color: #3d4f8f; box-shadow: none; }
.btn-light:hover { background: #262c36; color: #fff; border-color: var(--brand-400); }

/* Hero & dark bands */
.hero { background: var(--page); }
.hero::before {
  background:
    radial-gradient(700px 420px at 12% 10%, rgba(67,106,235,.42), transparent 65%),
    radial-gradient(600px 400px at 92% 20%, rgba(242,181,68,.16), transparent 60%),
    radial-gradient(800px 500px at 60% 110%, rgba(67,106,235,.18), transparent 60%);
}
.dark { background: var(--header); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark::before { background: radial-gradient(600px 300px at 85% 0%, rgba(67,106,235,.28), transparent 70%); }
.dark .card { background: var(--surface); border-color: var(--line); }
.soft { background: var(--bg-soft); }
.site-footer { background: var(--header); border-top: 1px solid var(--line); }

/* Surfaces */
.card, .panel, .price-card, .faq details, .table-wrap, .form-card, .int, .stats, .flow-step .ico,
.float-card, .chip, .prompt { background: var(--surface); border-color: var(--line); }
.panel.tint { background: linear-gradient(160deg, rgba(67,106,235,.16), var(--surface) 60%); }
a.card:hover, .card.hover:hover, .faq details[open] { border-color: var(--brand-100); }
.strip { background: var(--header); border-bottom-color: var(--line); }
.stat { border-color: var(--line) !important; }
.metric, .cond { background: var(--surface-2); border-color: var(--line); }
.float-card { color: var(--text); border: 1px solid var(--line); }
.float-card .bar { background: rgba(255,255,255,.08); }
.prompt { color: #fff; box-shadow: 0 0 0 4px rgba(67,106,235,.12); }
.avatar { background: linear-gradient(135deg, var(--brand), #7b5cf6); }
pre.code { background: var(--header); border-color: var(--line); }

/* Icons, chips, ticks */
.ico.rose { background: rgba(229,72,111,.15); }
.ico.ink { background: rgba(255,255,255,.07); color: #c9cfe3; }
.ico.gold { color: var(--accent); }
.chip { color: var(--text); }
.chip.c-wa { background: var(--wa-50); border-color: rgba(31,174,91,.4); color: #5fe39a; }
.chip.c-sms { background: var(--sms-50); border-color: rgba(11,147,214,.4); color: #6cc9f5; }
.chip.c-em { background: var(--brand-50); border-color: var(--brand-100); color: #a9bcff; }
.chip.c-gold { background: var(--accent-50); border-color: rgba(242,181,68,.4); color: #f6cd7a; }
.pill { background: var(--wa-50); color: #5fe39a; }
.cond .op { color: var(--brand-400); }
ul.ticks li::before {
  background-color: rgba(106,141,253,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a8dfd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Tables, FAQ, pricing */
table.cmp thead th { background: var(--surface); }
table.cmp thead th.hl { color: var(--brand-400); }
table.cmp tr.grp td { background: var(--surface-2); }
table.cmp td.n { color: #4b5470; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 30px 60px -30px rgba(67,106,235,.6); }
.billing-note { background: var(--surface); border-color: var(--line); }
.faq summary::after { color: var(--brand-400); }

/* Sub-nav (features) */
.subnav { background: rgba(8,12,20,.94); border-bottom-color: var(--line); }
.subnav a:hover { color: #fff; background: var(--brand-50); }
.subnav a.active { background: var(--brand); color: #fff; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, #2a46b8 55%, #0e1a4a 100%); }

/* Forms */
.input, select.input, textarea.input { background: var(--surface-2); border-color: #2a3352; color: #fff; }
.input::placeholder { color: #6b7390; }
.input:focus { border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(67,106,235,.2); }
select.input option { background: var(--surface); color: #fff; }
.checks label { border-color: #2a3352; color: var(--text); }
.checks label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: #fff; }
.form-status.ok { background: var(--wa-50); color: #7ff0b0; border-color: rgba(31,174,91,.4); }
.form-status.bad { background: rgba(229,72,111,.14); color: #ff9db6; border-color: rgba(229,72,111,.4); }
.prose p, .prose li { color: var(--text); }

/* Headline font: Open Sans ExtraBold, uppercase page headlines */
:root { --font-display: "Open Sans", "Inter", ui-sans-serif, system-ui, sans-serif; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: .005em; }
h1 { text-transform: uppercase; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: .02em; }
h3, h4 { font-weight: 700; }
.brand { font-family: var(--font-display); font-weight: 800; letter-spacing: 0; }
/* Section titles in capitals too */
h2 { text-transform: uppercase; letter-spacing: .015em; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.18; }
.split h2 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
.prose h2 { font-size: 1.25rem; }
