:root {
  --ink: #0b0d17;
  --ink-2: #151829;
  --text: #1d2033;
  --muted: #5b6078;
  --line: #e4e6ef;
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --brand: #5b4bff;
  --brand-2: #22d3a6;
  --brand-ink: #3b2fd6;
  --danger: #d6334a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 13, 23, .05), 0 8px 24px rgba(11, 13, 23, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
.todo { background: #fff4c2; color: #6b5200; border-radius: 4px; padding: 0 .3em; font-style: italic; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; padding: .85em 1.4em; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, background .15s; }
.btn:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 23, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55em; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.logo b { color: var(--brand-2); font-weight: 700; margin: 0 .1em; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .95rem; letter-spacing: -.05em; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { color: #d8dbea; text-decoration: none; font-weight: 500; }
.nav-link:hover { color: #fff; }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); display: none; grid-template-columns: repeat(3, minmax(210px, 1fr)); gap: 1.5rem; background: #fff; padding: 1.4rem 1.6rem; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); width: max-content; max-width: 92vw; }
.has-mega.small .mega { grid-template-columns: 1fr; }
.has-mega::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.mega-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .5em; font-weight: 600; }
.mega a { display: block; color: var(--text); text-decoration: none; padding: .3em 0; font-size: .95rem; }
.mega a:hover, .mega a[aria-current] { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* hero */
.hero, .page-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(91,75,255,.45), transparent 60%), radial-gradient(800px 400px at 0% 110%, rgba(34,211,166,.22), transparent 60%), var(--ink); color: #c9cde0; }
.hero { padding: 88px 0 96px; }
.page-hero { padding: 56px 0 64px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero .slash { color: var(--brand); }
.hero .hash { color: var(--brand-2); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.hero-panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 20px; padding: 10px; }
.hp-row { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; }
.hp-row + .hp-row { border-top: 1px solid rgba(255,255,255,.06); }
.hp-row b { color: #fff; display: block; font-family: var(--display); }
.hp-row small { color: #9aa0bb; }
.hp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(91,75,255,.18); flex: none; }
.hp-dot.alt { background: var(--brand-2); box-shadow: 0 0 0 6px rgba(34,211,166,.18); }
.crumbs { font-size: .88rem; margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: .5em; color: #9aa0bb; }
.crumbs a { color: #c9cde0; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-hero a:not(.btn) { color: #fff; }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; margin-top: 1rem; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #c9cde0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 2.4rem; }
.sec-head p:last-child { color: var(--muted); }
.dark .sec-head p:last-child { color: #9aa0bb; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .8em; }
.eyebrow.light { color: var(--brand-2); }
.big { font-size: 1.12rem; }

.grid { display: grid; gap: 22px; }
.grid.cards, .grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); border-color: rgba(91,75,255,.4); }
.card > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(91,75,255,.1); color: var(--brand); margin-bottom: 1rem; }
.card p { color: var(--muted); font-size: .97rem; }
.more { display: inline-flex; align-items: center; gap: .4em; color: var(--brand); font-weight: 600; font-size: .92rem; }
.more .ic { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more .ic { transform: translateX(3px); }
.prod-card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.prod-card h3 { font-size: 1.8rem; }
.prod-card p { color: #a9aec6; }
.prod-card .prod-tag { color: #fff; font-weight: 500; }
.prod-card .more { color: var(--brand-2); }
.prod-badge { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2); border: 1px solid rgba(34,211,166,.35); border-radius: 999px; padding: .2em .8em; margin-bottom: 1rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.section.alt .steps li { background: #fff; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 700; color: var(--brand); font-size: 1.3rem; margin-bottom: .4rem; }
.steps b { display: block; font-family: var(--display); color: var(--ink); font-size: 1.08rem; margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

.why > div > .ic, .outcomes .ic { width: 40px; height: 40px; color: var(--brand); margin-bottom: .8rem; }
.outcomes .ic { color: var(--brand-2); }
.outcomes p { color: #e6e8f2; font-size: 1.08rem; }
.why p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.problems h3 { margin-bottom: .8em; }
.problems ul { margin: 0; padding-left: 1.1em; }
.problems li { margin-bottom: .55em; color: var(--muted); }
.deliverables { list-style: none; padding: 0; margin: 0; }
.deliverables li { display: flex; gap: .7em; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.deliverables .ic { color: var(--brand-2); margin-top: 2px; }
.feats .card > .ic { background: rgba(34,211,166,.12); color: #109274; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-size: .93rem; }

.faqs details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faqs summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faqs details[open] summary::after { content: '−'; }
.faqs details p { color: var(--muted); margin: .7em 0 0; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* form */
.form-section { padding: 80px 0; background: linear-gradient(180deg, var(--bg-alt), #fff); border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.form-intro p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.ticks li { display: flex; gap: .6em; align-items: center; margin-bottom: .6em; }
.ticks .ic { color: var(--brand-2); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.lead-form .full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f > span { font-size: .88rem; font-weight: 600; color: var(--ink); }
.f i { color: var(--danger); font-style: normal; }
.f input, .f select, .f textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .72em .9em; transition: border-color .15s, box-shadow .15s; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91,75,255,.14); }
.f.invalid input, .f.invalid select, .f.invalid textarea { border-color: var(--danger); }
.f .err { color: var(--danger); font-size: .82rem; }
.industry-note { background: rgba(34,211,166,.09); border: 1px solid rgba(34,211,166,.35); border-radius: 10px; padding: 12px 14px; font-size: .93rem; }
.industry-note b { display: block; color: #0d7a60; margin-bottom: .15em; }
.consent { display: flex; gap: .6em; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .3em; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.consent.invalid { color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.ok { color: #0d7a60; font-weight: 600; }
.form-status.bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.site-footer { background: var(--ink); color: #9aa0bb; padding: 64px 0 28px; font-size: .94rem; }
.f-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; }
.site-footer a { color: #c9cde0; text-decoration: none; display: flex; align-items: center; gap: .45em; padding: .22em 0; }
.site-footer a:hover { color: #fff; }
.site-footer .ic { width: 16px; height: 16px; }
.f-brand .logo { margin-bottom: 1rem; }
.f-h { color: #fff; font-weight: 600; margin-bottom: .6em; font-family: var(--display); }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; }
.f-base a { display: inline; }

/* responsive */
@media (max-width: 1000px) {
  .grid.cards, .grid.three { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .form-grid, .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; background: var(--ink); }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 68px 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .site-nav.open { transform: none; visibility: visible; transition: transform .25s; }
  .site-nav > a, .has-mega > .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1.05rem; }
  .site-nav > .btn { margin-top: 18px; justify-content: center; }
  .mega { position: static; transform: none; display: grid; grid-template-columns: 1fr; box-shadow: none; background: transparent; padding: 6px 0 12px 12px; width: auto; max-width: none; gap: .8rem; }
  .has-mega::after { display: none; }
  .mega a { color: #c9cde0; }
  .mega-h { color: #7d83a0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section, .form-section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .grid.cards, .grid.three, .grid.two, .steps, .f-grid { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* products */
.prod-pills, .platforms { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-pills li { font-size: .8rem; color: #d8dbea; background: rgba(255,255,255,.06); border-radius: 999px; padding: .25em .75em; }
.platforms { margin-top: 1.4rem; }
.platforms li { font-size: .85rem; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .3em .9em; }
.mini-list { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.mini-list li { margin-bottom: .3em; }
.flow { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: f; }
.flow li { counter-increment: f; display: flex; align-items: center; gap: .55em; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .8em 1.1em; color: #fff; font-family: var(--display); font-weight: 600; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); font-size: .8rem; }
.flow li:last-child::before { background: var(--brand-2); color: var(--ink); }
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.partners li { border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; background: #fff; }
.partners b { display: block; font-family: var(--display); color: var(--ink); font-size: 1.1rem; }
.partners span { color: var(--muted); font-size: .88rem; }
.disclaimer { color: var(--muted); font-size: .85rem; margin-top: 1.2rem; }
.plans .featured { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,75,255,.12), var(--shadow); }
.notes { margin-top: 28px; }
.notes > div { background: var(--bg-alt); border-radius: 12px; padding: 20px 22px; }
.notes p { color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .partners { grid-template-columns: 1fr 1fr; } }
