:root {
  --bg: #06080d;
  --bg-2: #0a0e16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #e9edf5;
  --muted: #8b94a8;
  --dim: #5d6679;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --green: #34d399;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
::selection { background: rgba(34, 211, 238, 0.3); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s ease-in-out infinite;
}
.grad--alt { animation-delay: -4s; }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 60;
}

/* Buttons */
.btn {
  --pad-y: 12px; --pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font: 500 15px/1 var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn--sm { --pad-y: 9px; --pad-x: 16px; font-size: 14px; }
.btn--lg { --pad-y: 15px; --pad-x: 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #041018;
  background: linear-gradient(100deg, #5eead4, var(--cyan) 35%, #818cf8);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 8px 30px -8px rgba(34, 211, 238, .55);
  font-weight: 600;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 14px 40px -8px rgba(34, 211, 238, .7); }
.btn--ghost { color: var(--text); background: var(--surface); border-color: var(--border-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6, 8, 13, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__word { font: 500 19px/1 var(--font-display); letter-spacing: -0.02em; }
.brand__word b { font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 20px; background: rgba(6, 8, 13, .96); border-bottom: 1px solid var(--border); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; color: var(--text); text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 12px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 200px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero__orb { position: absolute; border-radius: 50%; z-index: -2; opacity: .5; pointer-events: none; }
.hero__orb--a { width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(34,211,238,.45), rgba(34,211,238,.12) 55%, transparent); top: -300px; left: -260px; animation: drift 18s ease-in-out infinite; }
.hero__orb--b { width: 820px; height: 820px; background: radial-gradient(closest-side, rgba(139,92,246,.42), rgba(139,92,246,.1) 55%, transparent); bottom: -380px; right: -260px; animation: drift 22s ease-in-out infinite reverse; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface);
  font: 500 12.5px/1.3 var(--font-mono); color: var(--muted); letter-spacing: .01em;
  backdrop-filter: blur(8px);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } }
.hero h1 { font-size: clamp(40px, 5vw, 64px); margin: 22px 0 22px; font-weight: 600; letter-spacing: -0.035em; }
.lede { font-size: clamp(16.5px, 1.35vw, 18.5px); color: #b3bbcc; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.terminal { margin-top: 34px; font: 400 13.5px/1.4 var(--font-mono); color: var(--dim); min-height: 1.4em; }
.terminal__prompt { color: var(--cyan); margin-right: 4px; }
.terminal__type { color: var(--text); }
.terminal__caret { display: inline-block; width: 8px; height: 1.05em; background: var(--cyan); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Hero visual: browser mockup */
.hero__visual { position: relative; perspective: 1400px; }
.browser {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,26,40,.9), rgba(10,14,22,.92));
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03), 0 0 80px -20px rgba(34,211,238,.25);
  transform: rotateY(-9deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
  overflow: hidden;
}
.hero__visual:hover .browser { transform: rotateY(-3deg) rotateX(2deg); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.browser__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #2a3142; }
.browser__bar > span:nth-child(1) { background: #ff5f57; opacity: .8; }
.browser__bar > span:nth-child(2) { background: #febc2e; opacity: .8; }
.browser__bar > span:nth-child(3) { background: #28c840; opacity: .8; }
.browser__url { margin-left: 12px; flex: 1; max-width: 260px; padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,.05); font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.browser__body { padding: 18px 20px 22px; min-height: 330px; }

.mock i { display: block; border-radius: 6px; transition: background .8s var(--ease), border-color .8s var(--ease), box-shadow .8s var(--ease), transform .8s var(--ease); border: 1px dashed rgba(139,148,168,.35); background: transparent; }
.mock__nav { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.mock__nav i { height: 8px; width: 34px; }
.mock__nav .mock__logo { width: 22px; height: 22px; border-radius: 7px; margin-right: auto; }
.mock__nav .mock__cta { width: 58px; height: 22px; border-radius: 999px; }
.mock__hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: center; margin-bottom: 24px; }
.mock__text i { margin-bottom: 10px; }
.mock__h { height: 18px; }
.mock__h--1 { width: 92%; }
.mock__h--2 { width: 64%; margin-bottom: 16px !important; }
.mock__p { height: 7px; width: 100%; }
.mock__p--short { width: 72%; }
.mock__btn { width: 96px; height: 28px; border-radius: 999px !important; margin-top: 16px; }
.mock__img { height: 128px; border-radius: 12px !important; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__cards i { height: 64px; border-radius: 10px; }

.mock.is-built i { border-style: solid; border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.07); }
.mock.is-built .mock__logo { background: var(--grad); border-color: transparent; }
.mock.is-built .mock__h { background: linear-gradient(90deg, #e9edf5, #b7c0d3); }
.mock.is-built .mock__btn, .mock.is-built .mock__cta { background: linear-gradient(100deg, #5eead4, var(--cyan), #818cf8); border-color: transparent; box-shadow: 0 6px 18px -6px rgba(34,211,238,.6); }
.mock.is-built .mock__img {
  background:
    radial-gradient(circle at 30% 35%, rgba(34,211,238,.55), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(139,92,246,.6), transparent 55%),
    linear-gradient(135deg, #0f1a2e, #1b1235);
  border-color: rgba(255,255,255,.08);
}
.mock.is-built .mock__cards i { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); }
.mock i:nth-child(2) { transition-delay: .06s; } .mock i:nth-child(3) { transition-delay: .12s; }
.mock i:nth-child(4) { transition-delay: .18s; } .mock i:nth-child(5) { transition-delay: .24s; }
.mock__img, .mock__cards i:nth-child(1) { transition-delay: .3s !important; }
.mock__cards i:nth-child(2) { transition-delay: .38s !important; }
.mock__cards i:nth-child(3) { transition-delay: .46s !important; }
.mock:not(.is-built) i { animation: shimmer 1.6s ease-in-out infinite; }
@keyframes shimmer { 50% { border-color: rgba(34,211,238,.45); } }

.toasts { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 12px;
  background: rgba(14, 19, 30, .92); border: 1px solid var(--border-2);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.7);
  backdrop-filter: blur(10px);
  font-size: 12.5px; line-height: 1.3; color: var(--text);
  animation: toastIn .5s var(--ease) both;
  max-width: 270px;
}
.toast.is-leaving { animation: toastOut .4s var(--ease) both; }
.toast__icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: 13px; }
.toast small { display: block; color: var(--muted); font-size: 11.5px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 999px;
  background: rgba(12, 16, 26, .85); border: 1px solid var(--border-2);
  font: 500 12.5px/1 var(--font-body); color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.7);
  animation: bob 6s ease-in-out infinite;
}
.float-chip .ok { color: var(--green); font-weight: 700; }
.float-chip--a { top: -16px; left: 8%; }
.float-chip--b { top: 38%; right: -18px; animation-delay: -2s; }
.float-chip--c { bottom: -18px; left: -14px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Marquee */
.marquee { padding: 34px 0 30px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.012); }
.marquee__label { text-align: center; font: 500 12.5px/1.4 var(--font-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; padding: 0 var(--gutter); }
.marquee__track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__list { display: flex; flex: none; gap: 48px; padding: 0 24px; margin: 0; list-style: none; animation: marquee 40s linear infinite; }
.marquee__list li { font: 500 20px/1 var(--font-display); color: #6f7890; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee__list li::after { content: "\25C6"; font-size: 8px; color: rgba(34,211,238,.5); }
.marquee:hover .marquee__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.eyebrow { font: 500 12.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--cyan); }
.section h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.03em; }
.section__sub { margin-top: 20px; color: #a9b1c3; font-size: 17.5px; max-width: 620px; }

/* Problem */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pain { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.pain__num { font: 500 13px/1 var(--font-mono); color: var(--dim); }
.pain h3 { font-size: 21px; margin: 18px 0 10px; line-height: 1.25; }
.pain p { color: var(--muted); font-size: 15.5px; }
.problem__fix { margin-top: 44px; font: 500 clamp(20px, 2.2vw, 26px)/1.35 var(--font-display); letter-spacing: -0.01em; }
.problem__fix em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 18px; margin-top: 56px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(34,211,238,.10), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(34,211,238,.7), rgba(139,92,246,.4) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { font-size: 21px; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(139,92,246,.15)); border: 1px solid rgba(255,255,255,.1); }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: #b8f3fc; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card--feature { grid-row: span 2; padding: 34px; background: linear-gradient(160deg, rgba(34,211,238,.08), rgba(139,92,246,.06) 60%, rgba(255,255,255,.02)); border-color: rgba(34,211,238,.2); }
.card--feature h3 { font-size: 30px; margin-top: 28px; }
.card--feature p { font-size: 16.5px; color: #b3bbcc; }
.card__head { display: flex; align-items: center; justify-content: space-between; }
.card__tag { font: 500 11.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); padding: 7px 10px; border: 1px solid rgba(34,211,238,.3); border-radius: 999px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); font-size: 15.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(52,211,153,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid rgba(52,211,153,.3);
}

/* Pipeline */
.flow { background: radial-gradient(900px 400px at 50% 30%, rgba(59,130,246,.07), transparent 70%); }
.pipeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 64px; }
.pipeline__track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 13px; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; }
.pipeline__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); border-radius: 2px; box-shadow: 0 0 12px rgba(34,211,238,.6); }
.pipeline__pulse { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(34,211,238,.35), 0 0 24px 6px rgba(34,211,238,.7); }
.pipeline__node { position: relative; text-align: center; padding: 0 4px; }
.pipeline__dot { display: block; width: 28px; height: 28px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg-2); border: 2px solid rgba(255,255,255,.15); position: relative; transition: border-color .4s, box-shadow .4s, background .4s; }
.pipeline__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255,255,255,.15); transition: background .4s; }
.pipeline__node strong { display: block; font: 600 16px/1.3 var(--font-display); transition: color .4s; color: var(--muted); }
.pipeline__node small { display: block; margin-top: 6px; color: var(--dim); font-size: 13.5px; line-height: 1.45; transition: color .4s; }
.pipeline__node.is-on .pipeline__dot { border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,238,.1), 0 0 22px rgba(34,211,238,.5); }
.pipeline__node.is-on .pipeline__dot::after { background: var(--grad); }
.pipeline__node.is-on strong { color: var(--text); }
.pipeline__node.is-on small { color: var(--muted); }

/* Process */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,.02); overflow: hidden; }
.step::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--grad); opacity: .6; }
.step__num { font: 600 44px/1 var(--font-display); background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.04)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.04em; }
.step h3 { font-size: 21px; margin: 22px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Principles */
.principles { border-top: 1px solid var(--border); }
.principles__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.principles h2, .faq h2 { font-size: clamp(32px, 3.6vw, 46px); }
.principles__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.principles__list dt { font: 600 18px/1.3 var(--font-display); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.principles__list dt::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--grad); flex: none; }
.principles__list dd { margin: 0; color: var(--muted); font-size: 15.5px; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--border); }
.faq__list details:first-child { border-top: 1px solid var(--border); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 500 18px/1.4 var(--font-display); transition: color .2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--cyan); }
.faq__list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { color: var(--muted); padding: 0 40px 24px 0; font-size: 16px; }

/* Contact */
.contact { overflow: hidden; border-top: 1px solid var(--border); }
.contact__glow { position: absolute; width: 900px; height: 600px; left: 50%; top: 10%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(34,211,238,.12), rgba(139,92,246,.08) 50%, transparent); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(38px, 5vw, 62px); }
.next { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.next li { display: flex; align-items: center; gap: 14px; color: #b3bbcc; }
.next li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 500 13px/1 var(--font-mono); color: var(--cyan); border: 1px solid rgba(34,211,238,.35); background: rgba(34,211,238,.06); }
.contact__email { margin-top: 32px; color: var(--muted); }
.contact__email a { color: var(--text); text-decoration-color: rgba(34,211,238,.5); text-underline-offset: 4px; }
.contact__email a:hover { color: var(--cyan); }

.form {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20,26,40,.75), rgba(10,14,22,.75));
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 60px -30px rgba(34,211,238,.3);
  backdrop-filter: blur(16px);
}
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.form legend, .field label { font-size: 14px; font-weight: 500; color: #c9d0dd; margin-bottom: 10px; padding: 0; }
.field label { display: block; margin-bottom: 8px; }
.opt { color: var(--dim); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255,255,255,.03);
  font-size: 14px; color: #c9d0dd;
  transition: all .25s var(--ease);
  user-select: none;
}
.chip span::before { content: "+"; font-family: var(--font-mono); color: var(--dim); transition: color .25s, transform .25s var(--ease); display: inline-block; }
.chip:hover span { border-color: rgba(255,255,255,.3); }
.chip input:checked + span { border-color: rgba(34,211,238,.7); background: rgba(34,211,238,.12); color: #e6fbff; box-shadow: 0 0 20px -6px rgba(34,211,238,.6); }
.chip input:checked + span::before { content: "\2713"; color: var(--cyan); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,.28);
  border: 1px solid var(--border-2);
  color: var(--text);
  font: 400 15.5px/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238b94a8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px;
}
.field select option { background: #0f1420; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: rgba(34,211,238,.7); box-shadow: 0 0 0 4px rgba(34,211,238,.12); background: rgba(0,0,0,.4); }
.field.has-error input, .field.has-error textarea { border-color: #f87171; }
.hp { position: absolute !important; left: -9999px !important; }
.form .btn--block { margin-top: 8px; }
.form__status { min-height: 1.5em; margin-top: 14px; font-size: 14.5px; text-align: center; }
.form__status.is-error { color: #fca5a5; }
.form__fine { font-size: 13px; color: var(--dim); text-align: center; }
.form__fine a { color: var(--muted); }

.form__success { text-align: center; padding: 40px 10px; }
.form__success .check {
  width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.4);
  box-shadow: 0 0 40px -6px rgba(52,211,153,.5);
  animation: pop .6s var(--ease) both;
}
.form__success .check svg { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .25s var(--ease) forwards; }
.form__success h3 { font-size: 28px; margin-bottom: 10px; }
.form__success p { color: var(--muted); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer__tag { color: var(--dim); margin-top: 12px; font-size: 14.5px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--dim); font-size: 13px; }

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

/* Subpages */
.page { padding: 150px 0 100px; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 14px; letter-spacing: -0.03em; }
.page h2 { font-size: 22px; margin: 40px 0 10px; }
.page p, .page li { color: #b3bbcc; }
.page p + p { margin-top: 14px; }
.page ul { padding-left: 20px; }
.page li { margin: 6px 0; }
.page .updated { font: 500 13px/1 var(--font-mono); color: var(--dim); margin-bottom: 30px; }
.page a:not(.btn) { color: var(--cyan); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.notfound__code { font: 700 clamp(100px, 22vw, 200px)/1 var(--font-display); letter-spacing: -0.06em; }
.notfound p { color: var(--muted); margin: 10px 0 30px; font-size: 18px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 600px; margin: 0 auto; width: 100%; }
  .browser { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .principles__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .problem__grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .pipeline__track { left: 17px; right: auto; top: 14px; bottom: 60px; width: 2px; height: auto; }
  .pipeline__fill { inset: 0 0 auto 0; width: 100%; height: 0; }
  .pipeline__pulse { left: 50%; top: 0; margin: -7px 0 0 -7px; }
  .pipeline__node { text-align: left; display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; padding: 0 0 30px; }
  .pipeline__dot { grid-row: span 2; margin: 0; }
  .pipeline__node small { margin-top: 2px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 104px; min-height: auto; }
  .hero__ctas .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .principles__list { grid-template-columns: 1fr; gap: 26px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .browser__body { padding: 14px 14px 18px; min-height: 270px; }
  .mock__img { height: 96px; }
  .float-chip--b { right: -6px; }
  .float-chip--c { left: -4px; }
  .toast { max-width: 220px; font-size: 12px; }
  .marquee__list li { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__list { animation: none; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; }
}
