/* ==========================================================================
   Ops-V — marketing site
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f4f7ff;
  --surface-2: #eaf0ff;
  --ink: #0b1533;
  --ink-2: #26324f;
  --muted: #5b6680;
  --line: #e3e8f4;
  --line-2: #d3dbee;

  --blue: #1a56ff;
  --blue-600: #0f43e0;
  --blue-50: #eef3ff;
  --pink: #ffe2f1;
  --red: #f0364a;
  --orange: #f59f3a;
  --purple: #7b4dff;
  --green: #1fb574;
  --teal: #17b4d4;
  --slate: #3b4a66;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 51, .06), 0 2px 8px rgba(11, 21, 51, .04);
  --shadow: 0 2px 4px rgba(11, 21, 51, .04), 0 12px 32px -8px rgba(11, 21, 51, .12);
  --shadow-lg: 0 4px 8px rgba(11, 21, 51, .04), 0 30px 70px -20px rgba(26, 86, 255, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(26, 86, 255, .45); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* Layout ------------------------------------------------------------------ */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.section { padding: 112px 0; position: relative; }
@media (max-width: 767px) { .section { padding: 76px 0; } }
.section--tint { background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.section--dark { background: #0b1533; color: #fff; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

/* Type -------------------------------------------------------------------- */
.eyebrow { display: inline-block; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.h1 { font-size: clamp(42px, 5.1vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.mark { color: var(--blue); background: linear-gradient(transparent 58%, var(--pink) 58%, var(--pink) 92%, transparent 92%); padding: 0 .06em; }
.section--dark .mark { color: #8fb0ff; background: linear-gradient(transparent 60%, rgba(255, 90, 170, .28) 60%, rgba(255, 90, 170, .28) 92%, transparent 92%); }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; font-size: 17px; font-weight: 700; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px rgba(26, 86, 255, .7); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(26, 86, 255, .8); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; transition: gap .25s var(--ease); }
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 12px; }

/* Header ------------------------------------------------------------------ */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 21, 51, .35); }
.header__row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -.04em; color: var(--blue); }
.brand__mark { width: 34px; height: 34px; }
.brand sup { font-size: 13px; color: var(--pink); -webkit-text-stroke: .5px var(--blue); margin-left: -4px; }
.nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1080px) { .nav { display: flex; } }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 10px; color: var(--ink-2); font-size: 16px; font-weight: 550; transition: color .2s, background-color .2s; }
.nav__link:hover, .nav__item.is-open .nav__link { color: var(--blue); background: var(--blue-50); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: 620px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; transition: background-color .15s; }
.mega a:hover { background: var(--surface); }
.mega b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.mega span.muted { display: block; font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__text-link { display: none; color: var(--ink-2); font-weight: 550; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.header__text-link:hover { color: var(--blue); text-decoration-color: currentColor; }
@media (min-width: 1080px) { .header__text-link { display: inline; } }
.header .btn--primary { display: none; }
@media (min-width: 640px) { .header .btn--primary { display: inline-flex; } }
.burger { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.burger:hover { background: var(--surface); }
.burger svg { width: 26px; height: 26px; }
@media (min-width: 1080px) { .burger { display: none; } }
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.mnav.is-open { display: block; }
.mnav a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav .btn { width: 100%; margin: 20px 0 24px; }
@media (min-width: 1080px) { .mnav { display: none !important; } }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; padding: 56px 0 88px; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: 88px 0 112px; } }
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.hero .h1 { margin-top: 18px; }
.hero .lead { margin-top: 24px; max-width: 580px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 20px; height: 20px; color: var(--green); }
.email-form { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; max-width: 580px; }
@media (min-width: 560px) { .email-form { flex-direction: row; } }
.email-form input { flex: 1; min-width: 0; height: 58px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.email-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 86, 255, .14); }
.email-form .btn { height: 58px; }
.hero__sub-cta { margin-top: 26px; }
.hero__visual { position: relative; }
.hero__panel { position: relative; border-radius: 32px; background: linear-gradient(160deg, #eaf0ff, #f6f8ff 60%, #fdf0f7); padding: 28px; }
@media (max-width: 639px) { .hero__panel { padding: 14px; border-radius: 22px; } }
.hero__panel::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 86, 255, .14), transparent); pointer-events: none; }

/* Product window ---------------------------------------------------------- */
.window { position: relative; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; background: var(--blue); color: #fff; }
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.window__title { font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.window__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 99px; }
.window__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6dffb6; box-shadow: 0 0 8px #6dffb6; animation: blink 1.6s infinite; }
.window__body { position: relative; }
.graph-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.graph { min-width: 640px; width: 100%; height: auto; }
.graph .edge { stroke: #c9d3ea; stroke-width: 2; fill: none; }
.graph .edge--hot { stroke: var(--red); stroke-width: 3.5; }
.graph .edge--flow { stroke: #ffffff; stroke-width: 3.5; stroke-dasharray: 6 26; fill: none; animation: flow 1.4s linear infinite; opacity: .9; }
.graph .edge--ai { stroke: var(--purple); stroke-width: 2.4; stroke-dasharray: 5 6; }
.graph .edge--support { stroke: var(--orange); stroke-width: 2.4; }
.graph .node circle.ring { stroke-width: 3; fill: #fff; }
.graph .node circle.halo { fill: currentColor; opacity: .12; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
.graph .node text { font: 600 12.5px var(--font); fill: var(--ink-2); text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.graph .node .glyph { stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.graph .node { cursor: pointer; }
.graph .node:hover circle.ring, .graph .node:focus-visible circle.ring { stroke-width: 5; }
.graph__tools { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.graph__tools span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 14px; font-weight: 700; }
.graph__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.graph__legend i { display: inline-block; width: 18px; height: 3px; border-radius: 3px; vertical-align: middle; margin-right: 8px; }
@keyframes flow { to { stroke-dashoffset: -64; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .14; } 50% { transform: scale(1.35); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; display: none; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; }
@media (min-width: 1180px) { .float-card { display: flex; } }
.float-card small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.float-card .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card .ico svg { width: 20px; height: 20px; }

/* Logos strip ------------------------------------------------------------- */
.logos { padding: 36px 0 12px; }
.logos__label { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.marquee { margin-top: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 56px; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--slate); white-space: nowrap; }
.logo img { width: 28px; height: 28px; }
.logo .wordmark { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* Cards ------------------------------------------------------------------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: 0 10px 20px -10px currentColor; }
.icon svg { width: 24px; height: 24px; }
.icon--sm { width: 40px; height: 40px; border-radius: 12px; }
.icon--sm svg { width: 20px; height: 20px; }
.bg-blue { background: var(--blue); } .bg-red { background: var(--red); } .bg-orange { background: var(--orange); } .bg-purple { background: var(--purple); } .bg-green { background: var(--green); } .bg-teal { background: var(--teal); } .bg-slate { background: var(--slate); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.chip--soon { background: #fff4e5; border-color: #ffd9a8; color: #a35a00; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Problem vs platform ----------------------------------------------------- */
.versus { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .versus { grid-template-columns: 1fr 1fr; } }
.versus__col { border-radius: 26px; padding: 32px; }
@media (max-width: 639px) { .versus__col { padding: 24px; } }
.versus__col--bad { background: #fff6f7; border: 1px solid #ffd5da; }
.versus__col--good { background: var(--blue-50); border: 1px solid #cddbff; }
.versus__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.versus__col--bad .versus__tag { color: var(--red); }
.versus__col--good .versus__tag { color: var(--blue); }
.versus h3 { margin-top: 12px; }
.versus ul { margin-top: 22px; display: grid; gap: 14px; }
.versus li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; color: var(--ink-2); }
.versus li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.versus__col--bad li svg { color: var(--red); }
.versus__col--good li svg { color: var(--blue); }

/* Savings calculator ------------------------------------------------------ */
.calc { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 1000px) { .calc { grid-template-columns: 1.1fr .9fr; } }
.calc__inputs { padding: 32px; display: grid; gap: 26px; }
@media (max-width: 639px) { .calc__inputs { padding: 22px; } }
.field label { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 15px; }
.field output { font-family: var(--mono); color: var(--blue); font-weight: 700; white-space: nowrap; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), var(--surface-2) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 10px -2px rgba(26, 86, 255, .5); cursor: pointer; transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: pointer; }
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px rgba(26, 86, 255, .2); }
.calc__result { border-radius: var(--radius); padding: 34px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #5b3dff 0%, transparent 55%), linear-gradient(160deg, #1a56ff, #0b2fa8); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
@media (max-width: 639px) { .calc__result { padding: 24px; } }
.calc__total { font-size: clamp(44px, 6vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.calc__rows { margin-top: 28px; display: grid; gap: 14px; }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-weight: 600; }
.calc__row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__stack { display: flex; height: 12px; margin-top: 26px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.calc__stack span { height: 100%; transition: width .5s var(--ease); }
.calc__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.calc__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.calc__note { margin-top: auto; padding-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .78); }

/* Platform tabs ----------------------------------------------------------- */
.tabs { margin-top: 52px; }
.tabs__list { display: flex; gap: 8px; overflow-x: auto; padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 13px; font-weight: 700; font-size: 15px; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.tab svg { width: 20px; height: 20px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.tabs__panel { display: grid; gap: 40px; align-items: center; margin-top: 40px; }
.tabs__panel[hidden] { display: none; }
@media (min-width: 1000px) { .tabs__panel { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.tabs__panel .h3 { margin-top: 18px; }
.tabs__panel p.lead { margin-top: 14px; font-size: 18px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-weight: 600; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--green); }
.panel-anim { animation: panelIn .5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Mock UI ----------------------------------------------------------------- */
.mock { padding: 22px; background: linear-gradient(180deg, #fff, #fbfcff); }
@media (max-width: 639px) { .mock { padding: 16px; } }
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock__title { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.mock__kicker { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); color: var(--muted); font-weight: 550; }
.search svg { width: 18px; height: 18px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 520px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 650; font-size: 14px; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); min-width: 0; }
.tile:hover { border-color: var(--blue); box-shadow: 0 6px 16px -10px rgba(26, 86, 255, .6); transform: translateY(-2px); }
.tile img { width: 22px; height: 22px; flex-shrink: 0; }
.tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.row + .row { margin-top: 8px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--green); } .status--run { color: var(--blue); } .status--warn { color: var(--orange); } .status--off { color: #98a2b8; }
.status--run::before { animation: blink 1.4s infinite; }
.mono { font-family: var(--mono); font-size: 13px; }
.bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 700; transition: all .2s; }
.seg button.is-on { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stage { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.stage svg { width: 15px; height: 15px; }
.stage--ok svg { color: var(--green); }
.stage--run { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.stage--wait { color: #98a2b8; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-grid > div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.mini-grid small { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mini-grid b { display: block; font-size: 15px; margin-top: 2px; }
.mini-grid .is-today { border-color: var(--blue); background: var(--blue-50); }
.spark { width: 100%; height: 90px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }

/* New service ------------------------------------------------------------- */
.why-grid { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-grid .card { padding: 26px; }
.why-grid h3 { font-size: 19px; font-weight: 750; margin-top: 18px; letter-spacing: -.01em; }
.why-grid p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.wizard { margin-top: 28px; display: grid; }
@media (min-width: 1000px) { .wizard { grid-template-columns: 280px 1fr; } }
.wizard__steps { padding: 26px; border-bottom: 1px solid var(--line); background: var(--surface); }
@media (min-width: 1000px) { .wizard__steps { border-bottom: 0; border-right: 1px solid var(--line); border-radius: var(--radius) 0 0 var(--radius); } }
.wizard__steps ol { display: flex; gap: 8px; overflow-x: auto; }
@media (min-width: 1000px) { .wizard__steps ol { display: grid; gap: 6px; } }
.wstep { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 650; font-size: 14.5px; color: var(--muted); flex-shrink: 0; }
.wstep__num { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: #fff; border: 1.5px solid var(--line-2); flex-shrink: 0; }
.wstep.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.wstep.is-active .wstep__num { background: var(--blue); border-color: var(--blue); color: #fff; }
.wstep.is-done .wstep__num { background: var(--green); border-color: var(--green); color: #fff; }
.wizard__body { padding: 30px; min-height: 380px; display: flex; flex-direction: column; }
@media (max-width: 639px) { .wizard__body { padding: 20px; min-height: 0; } }
.form-grid { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.input { display: block; }
.input span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.input input, .input select { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.input input:focus, .input select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 86, 255, .12); }
.checkbox { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.checkbox + .checkbox { margin-top: 8px; }
.wizard__nav { margin-top: auto; padding-top: 26px; display: flex; justify-content: space-between; gap: 12px; }
.runlog { margin-top: 18px; display: grid; gap: 8px; }
.runlog li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; opacity: .35; transition: opacity .35s, border-color .35s, background-color .35s; }
.runlog li.is-done { opacity: 1; border-color: #bfe9d4; background: #f2fbf6; }
.runlog li .tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; flex-shrink: 0; }
.runlog li.is-done .tick { background: var(--green); }
.runlog li .tick svg { width: 14px; height: 14px; }
.demo-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fff8e8; border: 1px solid #ffe0a3; color: #7a4a00; font-weight: 600; font-size: 14.5px; }
.demo-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* Infra ------------------------------------------------------------------- */
.layers { display: grid; gap: 14px; margin-top: 56px; }
.layer { display: grid; gap: 16px; align-items: center; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
@media (min-width: 900px) { .layer { grid-template-columns: 230px 1fr; padding: 22px 28px; } }
.layer__name { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 17px; }
.layer__items { display: flex; flex-wrap: wrap; gap: 10px; }
.layer__item { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: 14.5px; transition: border-color .2s, transform .2s var(--ease), background-color .2s; }
.layer__item:hover { border-color: var(--blue); background: #fff; transform: translateY(-2px); }
.layer__item img { width: 22px; height: 22px; }
.layer__arrow { display: flex; justify-content: center; color: var(--line-2); }
.layer__arrow svg { width: 26px; height: 26px; }
.layer--portal { background: linear-gradient(90deg, var(--blue-50), #fff); border-color: #cddbff; }

/* Support funnel ---------------------------------------------------------- */
.support { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 1000px) { .support { grid-template-columns: 1fr 1fr; gap: 40px; } }
.issue-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.issue-picker button { height: 44px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14.5px; transition: all .2s; }
.issue-picker button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.funnel { display: grid; gap: 12px; }
.level { position: relative; display: flex; gap: 16px; padding: 20px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: border-color .35s, box-shadow .35s, opacity .35s, transform .35s var(--ease); }
.level h3 { font-size: 17px; font-weight: 800; }
.level p { color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.5; }
.level__num { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: #98a2b8; }
.level__answer { margin-top: 10px; font-size: 14px; font-weight: 650; color: var(--ink-2); display: none; }
.level.is-hit { border-color: var(--green); box-shadow: 0 12px 30px -16px rgba(31, 181, 116, .55); }
.level.is-hit .level__answer { display: block; }
.level.is-skip { opacity: .45; }
.level.is-pass { border-color: #cddbff; }
.level__result { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 800; }
.level__result.ok { color: var(--green); } .level__result.next { color: var(--blue); }
.level__arrow { display: flex; justify-content: center; color: var(--line-2); height: 10px; margin: -4px 0; }

/* AI section -------------------------------------------------------------- */
.ai { display: grid; gap: 40px; align-items: center; margin-top: 56px; }
@media (min-width: 1000px) { .ai { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ai__features { display: grid; gap: 14px; }
.ai__feature { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .25s, border-color .25s; }
.ai__feature:hover { background: rgba(255, 255, 255, .08); border-color: rgba(143, 176, 255, .4); }
.ai__feature h3 { font-size: 17px; font-weight: 750; }
.ai__feature p { color: #aab6d3; font-size: 15px; margin-top: 4px; }
.chat { border-radius: 22px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat__head b { font-size: 15px; }
.chat__head small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.chat__body { height: 360px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; font-weight: 500; animation: panelIn .35s var(--ease) both; }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--bot code { font-family: var(--mono); font-size: 12.5px; background: var(--surface); padding: 1px 6px; border-radius: 6px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #98a2b8; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat__prompts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); }
.chat__prompts button { flex-shrink: 0; height: 38px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line-2); font-size: 13.5px; font-weight: 700; transition: all .2s; }
.chat__prompts button:hover { border-color: var(--blue); color: var(--blue); }
.chat__prompts button:disabled { opacity: .45; cursor: default; }

/* Compare ----------------------------------------------------------------- */
.compare { margin-top: 56px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare__scroll { overflow-x: auto; }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font-size: 16px; font-weight: 800; background: var(--surface); }
.compare thead th.is-us { background: var(--blue); color: #fff; }
.compare td.is-us { background: #f7f9ff; font-weight: 650; color: var(--ink); }
.compare td:first-child, .compare th:first-child { font-weight: 750; width: 24%; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes, .compare .no { display: inline-flex; align-items: flex-start; gap: 10px; }
.compare .yes svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.compare .no svg { width: 20px; height: 20px; color: #98a2b8; flex-shrink: 0; margin-top: 2px; }
.compare td:not(.is-us) { color: var(--muted); }
.compare__foot { padding: 18px 24px; font-size: 13.5px; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }

/* Feature grid ------------------------------------------------------------ */
.feature-grid { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-grid .card { padding: 26px; display: flex; flex-direction: column; }
.feature-grid h3 { font-size: 18px; font-weight: 750; margin-top: 18px; }
.feature-grid p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.feature-grid .card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.feature-grid button.link-arrow { margin-top: auto; padding-top: 18px; font-size: 15px; }

/* Steps ------------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 28px; margin-top: 64px; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps::before { content: ""; position: absolute; background: linear-gradient(90deg, var(--blue), var(--purple), var(--red), var(--orange)); opacity: .35; }
@media (min-width: 1000px) { .steps::before { left: 12%; right: 12%; top: 32px; height: 3px; border-radius: 3px; } }
@media (max-width: 999px) { .steps::before { left: 31px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--blue), var(--purple), var(--red), var(--orange)); } }
.step { position: relative; display: flex; gap: 20px; align-items: flex-start; }
@media (min-width: 1000px) { .step { flex-direction: column; align-items: center; text-align: center; } }
.step__num { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; flex-shrink: 0; box-shadow: 0 0 0 8px #fff, 0 14px 24px -12px currentColor; }
.step h3 { font-size: 20px; font-weight: 800; }
.step p { color: var(--muted); margin-top: 6px; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 56px auto 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cddbff; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-weight: 750; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* CTA + footer ------------------------------------------------------------ */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: 80px 28px; text-align: center; color: #fff; background: radial-gradient(80% 120% at 0% 0%, #7b4dff 0%, transparent 55%), radial-gradient(80% 120% at 100% 100%, #f0364a55 0%, transparent 55%), linear-gradient(140deg, #1a56ff, #0b2fa8); }
@media (min-width: 768px) { .cta { padding: 104px 48px; } }
.cta .h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, .85); margin: 18px auto 0; max-width: 620px; }
.cta .email-form { margin: 36px auto 0; }
.cta .email-form input { border-color: transparent; }
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer h4 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer ul { margin-top: 14px; display: grid; gap: 10px; }
.footer a:hover { color: var(--blue); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }

/* Demo toast -------------------------------------------------------------- */
.toast-host { position: fixed; z-index: 400; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: grid; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #0b1533; color: #fff; box-shadow: 0 24px 60px -20px rgba(11, 21, 51, .7); animation: toastIn .4s var(--ease) both; }
.toast.is-leaving { animation: toastOut .3s var(--ease) both; }
.toast .icon { width: 36px; height: 36px; border-radius: 11px; box-shadow: none; }
.toast .icon svg { width: 18px; height: 18px; }
.toast b { display: block; font-size: 15px; }
.toast p { font-size: 14px; color: #c3cde6; margin-top: 2px; line-height: 1.5; }
.toast button { margin-left: auto; color: #8f9bb8; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; flex-shrink: 0; }
.toast button:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.toast button svg { width: 16px; height: 16px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* Demo ribbon ------------------------------------------------------------- */
.ribbon { background: linear-gradient(90deg, #0b1533, #1a2a5e); color: #dfe6ff; font-size: 14px; font-weight: 600; }
.ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; text-align: center; padding-top: 8px; padding-bottom: 8px; }
.ribbon b { color: #fff; }
.ribbon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* Reveal ------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .graph .edge--flow, .graph .node circle.halo, .window__live::before, .status--run::before, .typing i { animation: none !important; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .card:hover, .btn:hover, .tile:hover, .layer__item:hover { transform: none; }
}

/* Grid children may shrink below their content (the platform map scrolls instead). */
.hero__grid > *, .tabs__panel > *, .calc > *, .support > *, .ai > *, .versus > *, .wizard > * { min-width: 0; }
body { overflow-x: clip; }
@media (max-width: 559px) { .email-form input { flex: none; } }
.graph-hint { display: none; align-items: center; gap: 6px; padding: 10px 18px 0; font-size: 12.5px; font-weight: 700; color: var(--blue); }
@media (max-width: 639px) { .graph-hint { display: flex; } }
