:root {
  --bg: #050608;
  --bg-2: #0a0d12;
  --fg: #f3f5f7;
  --fg-2: rgba(243, 245, 247, .66);
  --fg-3: rgba(243, 245, 247, .42);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --slate: #a0acbb;
  --block: #e0896b;
  --display: 'Poppins', 'Poppins Placeholder', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: var(--text);
  --max: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, canvas { display: block; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker, .eyebrow { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 100px; font: 500 14px/1 var(--display); letter-spacing: -.005em; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-primary { background: var(--fg); color: #07090c; }
.btn-primary:hover { background: #fff; }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--fg); background: rgba(255, 255, 255, .02); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06); }
.btn .ne { display: inline-block; font-family: var(--text); transition: transform .25s var(--ease); }
.btn:hover .ne { transform: translate(2px, -2px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-open { background: rgba(5, 6, 8, .78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 17px/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 22px; height: 22px; }
.links { display: flex; align-items: center; gap: 2px; margin-left: 28px; }
.dd { position: relative; }
.dd-btn, .nav-link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 8px; font: 400 14px/1 var(--text); color: var(--fg-2); transition: color .2s, background .2s; }
.dd-btn svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .7; transition: transform .25s var(--ease); }
.dd-btn:hover, .nav-link:hover, .dd.is-open .dd-btn { color: var(--fg); }
.dd.is-open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9, 11, 15, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.dd-menu::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd.is-open .dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.dd-menu a { display: flex; gap: 14px; padding: 11px 12px; border-radius: 8px; transition: background .15s; }
.dd-menu a:hover, .dd-menu a:focus-visible { background: rgba(255, 255, 255, .05); }
.dd-menu b { display: block; font: 500 14px/1.3 var(--display); color: var(--fg); }
.dd-menu em { display: block; margin-top: 3px; font: 400 13px/1.35 var(--text); font-style: normal; color: var(--fg-3); }
.dd-i { font: 500 11px/1.7 var(--mono); color: var(--fg-3); padding-top: 1px; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 100px; border: 1px solid var(--line); color: var(--fg-2); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--fg); border-color: var(--line-2); }
.icon-btn svg { width: 15px; height: 15px; fill: currentColor; }
.burger { display: none; width: 36px; height: 36px; border-radius: 100px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 14px; } .burger span:last-child { top: 20px; }
.nav.is-open .burger span:first-child { top: 17px; transform: rotate(45deg); }
.nav.is-open .burger span:last-child { top: 17px; transform: rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); padding: 8px 0 28px; max-height: calc(100svh - 68px); overflow: auto; }
.mnav a { display: block; padding: 11px 0; font: 400 17px/1.3 var(--display); border-bottom: 1px solid var(--line); }
.mnav-h { margin-top: 22px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding-bottom: 4px; }
.mnav-doc { margin-top: 22px; border-bottom: 0 !important; color: var(--fg-2); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding: 132px 0 0; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #07090c; }
.hero-bg canvas { width: 100%; height: 100%; opacity: 0; filter: blur(30px); transition: opacity 1.8s var(--ease), filter 1.8s var(--ease); }
.hero-bg canvas.is-ready { opacity: 1; filter: none; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 55% at 50% 48%, rgba(5, 6, 8, .55), rgba(5, 6, 8, .15) 70%),
  linear-gradient(180deg, rgba(5, 6, 8, .35) 0%, rgba(5, 6, 8, 0) 22%, rgba(5, 6, 8, 0) 66%, var(--bg) 100%); }
.hero-grid { flex: 1; display: flex; justify-content: center; align-items: center; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--fg-2); }
.eb-mark, .hero .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--fg-2); }
h1 { margin-top: 28px; font: 500 clamp(40px, 4.9vw, 70px)/1.03 var(--display); letter-spacing: -.04em; max-width: 14em; text-wrap: balance; }
.lede { margin-top: 26px; max-width: 52ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--fg-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero .ctas { justify-content: center; }

.hero-foot { display: flex; gap: 0; border-top: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.hero-foot span { flex: 1; padding: 20px 0; }
.hero-foot span + span { padding-left: 20px; border-left: 1px solid var(--line); }

/* ---------- platform: see platform.css ---------- */
/* ---------- closing + footer ---------- */
.closing { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.closing-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.closing .ctas { margin-top: 0; }
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-in { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--fg-3); }
.foot .brand { font-size: 15px; color: var(--fg); }
.foot .brand img { width: 18px; height: 18px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a:hover { color: var(--fg); }
.foot p { margin-left: auto; }

/* ---------- reveal ---------- */
.rv { animation: rv-in 1.1s var(--ease) var(--d, 0s) backwards; }
@keyframes rv-in { from { opacity: 0; filter: blur(14px); transform: translateY(14px); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .links { display: none; }
  .burger { display: block; }
  .hero { padding-top: 120px; }
  h1 { max-width: 14em; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(5, 6, 8, .45) 0%, rgba(5, 6, 8, .25) 40%, var(--bg) 100%); }
}
@media (max-width: 860px) {
  .hero-foot { flex-wrap: wrap; }
  .hero-foot span { flex: 1 1 50%; padding: 16px 0; }
  .hero-foot span + span { padding-left: 0; border-left: 0; }
  .hero-foot span:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .hero-foot span:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .nav-actions .btn-sm { display: none; }
  .hero { padding-top: 104px; }
  .ctas .btn { flex: 1 1 auto; }
  .foot p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { animation: none; }
  .hero-bg canvas { transition: none; filter: none; }
}

/* ---------- platform bento ---------- */
.platform { padding: clamp(56px, 8vw, 110px) var(--gut) clamp(56px, 8vw, 100px); }
#ix-platform { --ib-page: #050608; --ib-hatch: rgba(255, 255, 255, .045); --ib-paper: #07090c; --ib-card: #0a0c10; --ib-raise: #0e1115; --ib-ink: #eef1f4; --ib-soft: #c3cad3; --ib-muted: #8a939e; --ib-faint: #58606a; --ib-line: #1b2027; --ib-line-strong: #2a313a; --ib-bracket: #3a424c; --ib-inv: #eef1f4; --ib-inv-ink: #0a0d11; --ib-block: #e0896b; --ib-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7); --ib-sans: var(--text); --ib-mono: var(--mono);
  position: relative; max-width: var(--max); margin: 0 auto; color: var(--ib-ink); background-color: var(--ib-page); background-image: repeating-linear-gradient(135deg, var(--ib-hatch) 0 1px, transparent 1px 10px); border: 1px solid var(--ib-line); padding: 28px clamp(10px, 2.4vw, 28px); }
#ix-platform :where(svg) { display: block; max-width: none; flex: none; }
.ib-shell { width: 100%; margin: 0 auto; container-type: inline-size; }
.ib-sec { position: relative; background: var(--ib-paper); border: 1px solid var(--ib-line); padding: clamp(36px, 6cqw, 72px) clamp(16px, 4cqw, 48px); }
.ib-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.ib-reveal[data-in="true"] { opacity: 1; transform: none; }
.ib-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: clamp(32px, 5cqw, 56px); }
.ib-tag { display: inline-block; padding: 5px 10px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ib-soft); background: var(--ib-card); border: 1px solid var(--ib-line); }
.ib-h2 { font: 500 clamp(28px, 4.4cqw, 46px)/1.08 var(--display); letter-spacing: -.035em; }
.ib-h2 > span { display: block; }
.ib-muted { color: var(--ib-faint); }
.ib-lede { max-width: 52ch; color: var(--ib-muted); font-size: 15px; }
.ib-frame { position: relative; display: flex; flex-direction: column; color: inherit; }
.ib-c { position: absolute; width: 12px; height: 12px; border: 0 solid var(--ib-bracket); pointer-events: none; transition: border-color .3s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.ib-c-tl { top: -6px; left: -6px; border-top-width: 1.5px; border-left-width: 1.5px; }
.ib-c-tr { top: -6px; right: -6px; border-top-width: 1.5px; border-right-width: 1.5px; }
.ib-c-bl { bottom: -6px; left: -6px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.ib-c-br { bottom: -6px; right: -6px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.ib-frame-hover:hover > .ib-c { border-color: var(--ib-ink); }
.ib-frame-hover:hover > .ib-c-tl { transform: translate(-3px, -3px); }
.ib-frame-hover:hover > .ib-c-tr { transform: translate(3px, -3px); }
.ib-frame-hover:hover > .ib-c-bl { transform: translate(-3px, 3px); }
.ib-frame-hover:hover > .ib-c-br { transform: translate(3px, 3px); }
.ib-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3cqw, 34px); }
@container (min-width: 720px) { .ib-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ib-wide { grid-column: 1 / -1; } }
.ib-card { flex: 1; background: linear-gradient(180deg, var(--ib-raise), var(--ib-card)); border: 1px solid var(--ib-line); padding: clamp(14px, 2cqw, 22px); display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, box-shadow .35s; }
.ib-card:hover { border-color: var(--ib-line-strong); box-shadow: var(--ib-shadow); }
.ib-card h3 { font: 500 16px/1.3 var(--display); letter-spacing: -.015em; }
.ib-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--ib-muted); max-width: 44ch; }
.ib-arr { display: inline-block; margin-left: 4px; color: var(--ib-faint); transition: transform .3s var(--ease), color .3s; }
.ib-frame:hover .ib-arr, .ib-wide-copy a:hover .ib-arr { transform: translateX(3px); color: var(--ib-ink); }
.ib-copy { margin-top: auto; }
.ib-diagram { width: 100%; height: auto; overflow: visible; }
.ib-wide-copy { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 0 22px 22px; }
.ib-wide-copy a { color: inherit; }
@container (min-width: 560px) { .ib-wide-copy { grid-template-columns: 1fr 1fr; } }
.ib-flow { stroke: var(--ib-line-strong); fill: none; stroke-width: 1.2; transition: stroke .3s; }
.ib-flow-on { stroke: var(--ib-ink); }
.ib-dash { stroke-dasharray: 3 4; animation: ib-dash 1.2s linear infinite; }
.ib-pkt { fill: var(--ib-ink); }
.ib-node { fill: var(--ib-raise); stroke: var(--ib-line-strong); transition: stroke .3s; }
.ib-av { cursor: default; outline: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1); transform-box: fill-box; transform-origin: center; }
.ib-av:hover, .ib-av:focus-visible { transform: scale(1.15); }
.ib-av-tip { opacity: 0; transition: opacity .2s; pointer-events: none; }
.ib-av:hover .ib-av-tip, .ib-av:focus .ib-av-tip { opacity: 1; }
.ib-presence { animation: ib-pulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ib-sheet-new { animation: ib-sheet-in .7s cubic-bezier(.2, .8, .2, 1) both; }
.ib-tool { transition: transform .3s cubic-bezier(.2, .8, .2, 1); transform-box: fill-box; transform-origin: center; }
.ib-tool-on { transform: translateY(-2px); }
.ib-tool-t { opacity: 0; transition: opacity .25s; }
.ib-tool-on .ib-tool-t { opacity: 1; }
.ib-tool-on rect.ib-node { stroke: var(--ib-ink); }
.ib-chart { cursor: crosshair; }
.ib-line-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.4, .1, .2, 1); }
[data-in="true"] .ib-line-draw { stroke-dashoffset: 0; }
.ib-glow { animation: ib-pulse 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ib-note { margin-top: clamp(28px, 4cqw, 40px); text-align: center; font: 400 11px/1.5 var(--mono); color: var(--ib-faint); }
@keyframes ib-dash { to { stroke-dashoffset: -14; } }
@keyframes ib-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.35); } }
@keyframes ib-sheet-in { from { opacity: 0; transform: translate(14px, -10px) rotate(4deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ib-reveal { opacity: 1; transform: none; transition: none; }
  .ib-dash, .ib-presence, .ib-glow, .ib-sheet-new { animation: none; }
  .ib-line-draw { transition: none; stroke-dashoffset: 0; }
}
h2 { font: 500 clamp(30px, 3.4vw, 48px)/1.08 var(--display); letter-spacing: -.035em; }
#ix-platform { max-width: calc(var(--max) - 2 * var(--gut)); }
#ix-platform svg text { font-variant-numeric: tabular-nums; }

/* ---------- closing + footer over the blurred liquid field ---------- */
.end { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); }
.end-bg { position: absolute; inset: -80px; z-index: -1; background: #07090c; }
.end-bg canvas { width: 100%; height: 100%; filter: blur(44px) brightness(1.35); transform: scale(1.08); opacity: 0; transition: opacity 1.6s var(--ease); }
.end-bg canvas.is-ready { opacity: 1; }
.end-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 6, 8, .08) 32%, rgba(5, 6, 8, 0) 70%, rgba(5, 6, 8, .4) 100%); }
.end .closing { border-top: 0; background: none; }
.end .foot { background: rgba(5, 6, 8, .35); border-top-color: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (prefers-reduced-motion: reduce) { .end-bg canvas { transition: none; } }
