@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist/GeistMono-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --neo-canvas: #fbfcfd;
  --neo-surface: #ffffff;
  --neo-surface-soft: #f4f5f9;
  --neo-surface-hover: #ecedf4;
  --neo-ink: #272735;
  --neo-muted: #535461;
  --neo-line: rgba(112, 115, 147, .2);
  --neo-line-soft: rgba(112, 115, 147, .12);
  --neo-inverse: #1e1e2a;
  --neo-parent: #126b8e;
  --neo-commerce: #ef5b24;
  --neo-homes: #10a99a;
  --neo-positive: #188554;
  --neo-radius-sm: 12px;
  --neo-radius-md: 16px;
  --neo-radius-lg: 32px;
  --neo-shadow-sm: 0 1px 2px rgba(28, 28, 35, .04);
  --neo-shadow-md: 0 4px 8px rgba(28, 28, 35, .06);
  --neo-shadow-lg: 0 20px 40px rgba(28, 28, 35, .08);
  --neo-font-sans: "Geist Sans", sans-serif;
  --neo-font-mono: "Geist Mono", monospace;
  --neo-shell: 1180px;
  --neo-gutter: clamp(20px, 4vw, 48px);
}

html { scroll-behavior: smooth; }
body.neo-web {
  min-width: 320px;
  margin: 0;
  background: var(--neo-canvas);
  color: var(--neo-ink);
  font-family: var(--neo-font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@keyframes neo-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes neo-proof-reveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0 round 16px); transform: translateY(22px) scale(.985); }
  to { opacity: 1; clip-path: inset(0 0 0 0 round 16px); transform: translateY(0) scale(1); }
}
@keyframes neo-scan {
  0% { left: -35%; opacity: 0; }
  18% { opacity: .7; }
  78% { opacity: .35; }
  100% { left: 120%; opacity: 0; }
}
@keyframes neo-signal {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-7px); }
}
@keyframes neo-route-pulse {
  0%, 24%, 100% { opacity: .34; transform: translateX(0); }
  12% { opacity: 1; transform: translateX(4px); }
}
@keyframes neo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.neo-web .hero-copy > *,
.neo-docs .docs-hero > * { animation: neo-rise .7s cubic-bezier(.16,1,.3,1) both; }
.neo-web .hero-copy > :nth-child(2),
.neo-docs .docs-hero > :nth-child(2) { animation-delay: .1s; }
.neo-web .hero-copy > :nth-child(3),
.neo-docs .docs-hero > :nth-child(3) { animation-delay: .2s; }
.neo-web .hero-copy > :nth-child(4),
.neo-docs .docs-hero > :nth-child(4) { animation-delay: .3s; }
.neo-web .hero-figure,
.neo-web .product-visual { position: relative; animation: neo-proof-reveal 1s cubic-bezier(.16,1,.3,1) both; }
.neo-web .hero-figure::after,
.neo-web .product-visual::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 22%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  transform: skewX(-11deg);
  pointer-events: none;
  content: "";
  animation: neo-scan 1.45s .25s cubic-bezier(.16,1,.3,1) both;
}
.neo-web .hero-branch,
.neo-web .visual-caption span { animation: neo-signal 4.8s ease-in-out infinite; }
.neo-web .hero-branch:nth-child(2),
.neo-web .visual-caption span:nth-child(2) { animation-delay: .6s; }
.neo-web .visual-caption span:nth-child(3) { animation-delay: 1.2s; }
.neo-web .route-arrow { animation: neo-route-pulse 2.8s ease-in-out infinite; }
.neo-web .route-arrow:nth-of-type(2) { animation-delay: 1.4s; }
.neo-motion-rail { overflow:hidden; border-block:1px solid var(--neo-line-soft); padding:14px 0; background:var(--neo-surface); }
.neo-motion-track { display:flex; width:max-content; align-items:center; gap:36px; animation:neo-marquee 32s linear infinite; }
.neo-motion-track span { color:var(--neo-muted); font-size:.72rem; font-weight:420; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; }
.neo-motion-track i { width:4px; height:4px; flex:0 0 4px; border-radius:50%; background:var(--neo-line); }

.neo-grid-canvas {
  background-color: var(--neo-surface);
  background-image:
    linear-gradient(to right, transparent calc(50% - .5px), var(--neo-line-soft) 50%, transparent calc(50% + .5px)),
    linear-gradient(to right, var(--neo-line-soft) 1px, transparent 1px),
    linear-gradient(to left, var(--neo-line-soft) 1px, transparent 1px);
  background-position: center, left, right;
  background-repeat: no-repeat;
  background-size: min(var(--neo-shell), calc(100% - (var(--neo-gutter) * 2))) 100%, 1px 100%, 1px 100%;
}

.neo-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--neo-line);
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--neo-surface);
  color: var(--neo-ink);
  box-shadow: var(--neo-shadow-sm);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.neo-pill--dark { border-color: var(--neo-inverse); background: var(--neo-inverse); color: #fff; }
.neo-pill:hover { background: var(--neo-surface-soft); }
.neo-pill--dark:hover { background: #111118; }

.neo-proof-card {
  border: 1px solid var(--neo-line);
  border-radius: var(--neo-radius-md);
  background: var(--neo-surface);
  box-shadow: var(--neo-shadow-md);
}

.neo-label {
  color: var(--neo-muted);
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.neo-web-lockup {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 10px;
  color: var(--neo-ink);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1;
  text-decoration: none;
}
.neo-web-lockup img { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.neo-web-lockup small { color: var(--neo-product-accent, var(--neo-muted)); font: inherit; }
.product-logo.neo-web-lockup { width: auto; height: 48px; max-width: none; }
.product-logo.neo-web-lockup img { width: 48px; height: 48px; flex-basis: 48px; }
.product-logo.neo-web-lockup span { font-size: 1.35rem; }
.product-section.commerce .neo-web-lockup small { color: var(--neo-commerce); }
.product-section.homes .neo-web-lockup small { color: var(--neo-homes); }

body.neo-marketing-product { background: var(--neo-surface); }
.neo-marketing-product .site-frame { width: 100%; margin: 0; border-radius: 0; background: var(--neo-surface); box-shadow: none; }
.neo-marketing-product .shell { width: min(calc(100% - (var(--neo-gutter) * 2)), var(--neo-shell)); }
.neo-marketing-product .site-frame > header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--neo-line); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.neo-marketing-product .nav { min-height: 72px; }
.neo-marketing-product .brand-link img { width: 38px; height: 38px; filter: none; }
.neo-marketing-product .nav-links { gap: 3px; border: 1px solid var(--neo-line); border-radius: 999px; padding: 4px; background: var(--neo-surface); box-shadow: var(--neo-shadow-sm); color: var(--neo-muted); font-size: .78rem; font-weight: 550; }
.neo-marketing-product .nav-links a { border: 0; border-radius: 999px; padding: 8px 13px; }
.neo-marketing-product .nav-links a:hover,
.neo-marketing-product .nav-links a:focus-visible { border: 0; background: var(--neo-surface-soft); color: var(--neo-ink); }
.neo-marketing-product .nav-button,
.neo-marketing-product .button { min-height: 44px; border: 1px solid var(--neo-line); border-radius: 999px; padding: 10px 17px; background: var(--neo-surface); color: var(--neo-ink); box-shadow: var(--neo-shadow-sm); font-size: .8rem; font-weight: 600; }
.neo-marketing-product .nav-button,
.neo-marketing-product .button.primary { border-color: var(--neo-inverse); background: var(--neo-inverse); color: #fff; }
.neo-marketing-product .button.secondary { background: var(--neo-surface); }
.neo-marketing-product .hero { grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); gap: clamp(64px, 7vw, 104px); min-height: 690px; padding: clamp(96px, 11vw, 148px) 0 92px; }
.neo-marketing-product .kicker { font-weight: 650; letter-spacing: .1em; }
.neo-marketing-product .hero h1 { max-width: 680px; font-size: clamp(3.9rem, 6vw, 5.4rem); font-weight: 480; letter-spacing: -.058em; line-height: .98; }
.neo-marketing-product .hero h1 span:last-child { color: var(--neo-ink); }
.neo-marketing-product .hero-lede { color: var(--neo-muted); font-size: 1rem; line-height: 1.55; }
.neo-marketing-product .hero-lede strong { color: var(--neo-ink); font-weight: 650; }
.neo-marketing-product .hero-figure { border-color: var(--neo-line); border-radius: var(--neo-radius-md); background: var(--neo-surface-soft); box-shadow: var(--neo-shadow-lg); }
.neo-marketing-product .visual-caption { border-color: var(--neo-line); background: var(--neo-surface); }
.neo-marketing-product .visual-caption span { color: var(--neo-muted); font-weight: 600; }
.neo-marketing-product .visual-caption span + span { border-color: var(--neo-line); }
.neo-marketing-product .channel-note { margin-top: 0; border: 0; border-block: 1px solid var(--neo-line); border-radius: 0; padding: 22px 0; background: var(--neo-surface); }
.neo-marketing-product .channel-note img { width: 34px; height: 34px; }
.neo-marketing-product .channel-note p { color: var(--neo-muted); font-size: .86rem; }
.neo-marketing-product .section { padding: clamp(112px, 13vw, 176px) 0; }
.neo-marketing-product .section-head { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
.neo-marketing-product .section-head h2,
.neo-marketing-product .closing h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 560; letter-spacing: -.052em; line-height: 1; }
.neo-marketing-product .section-head p { margin-inline: auto; color: var(--neo-muted); }
.neo-marketing-product .audience-grid { gap: 24px; margin-top: 64px; }
.neo-marketing-product .audience-card { border: 1px solid var(--neo-line); border-radius: var(--neo-radius-md); background: var(--neo-surface); color: var(--neo-ink); box-shadow: var(--neo-shadow-sm); }
.neo-marketing-product .audience-card:nth-child(2) { background: var(--neo-surface-soft); }
.neo-marketing-product .audience-card h3 { font-size: clamp(2.25rem, 4vw, 3.55rem); font-weight: 560; letter-spacing: -.05em; line-height: 1; }
.neo-marketing-product .feature-list li { border-color: var(--neo-line); }
.neo-marketing-product .feature-list strong { font-weight: 600; }
.neo-marketing-product .order-strip { border-color: var(--neo-line); background: var(--neo-surface-soft); }
.neo-marketing-product .order-step { border-color: var(--neo-line); }
.neo-marketing-product .order-step strong { font-weight: 560; }
.neo-marketing-product .closing { padding: clamp(120px, 14vw, 188px) 0; }
.neo-marketing-product .closing-copy p { color: var(--neo-muted); }
.neo-marketing-product .footer { border-top: 1px solid var(--neo-line); color: var(--neo-muted); }

.neo-docs .docs-brand.neo-web-lockup > span:last-child { display:inline-flex; gap:4px; align-items:baseline; }
.neo-docs .docs-brand.neo-web-lockup small { display:inline; color:var(--neo-parent); font:inherit; text-transform:none; letter-spacing:-.02em; }

body.neo-marketing-product--commerce { --neo-product-accent: var(--neo-commerce); }
body.neo-marketing-product--homes { --neo-product-accent: var(--neo-homes); }
.neo-marketing-product .eyebrow,
.neo-marketing-product .kicker,
.neo-marketing-product .feature-list span,
.neo-marketing-product .order-step span { color: var(--neo-product-accent); }

.neo-grid-canvas .hero { gap:clamp(64px,7vw,104px); min-height:690px; padding:clamp(96px,11vw,148px) 0 92px; }
.neo-grid-canvas .products-intro { padding:clamp(120px,14vw,184px) 0 76px; }
.neo-grid-canvas .product-section { padding:clamp(112px,13vw,176px) 0; }
.neo-grid-canvas .product-layout { gap:clamp(64px,7vw,104px); }

body.neo-app-shell {
  --ink: var(--neo-ink);
  --muted: var(--neo-muted);
  --line: var(--neo-line);
  --paper: var(--neo-canvas);
  --panel: var(--neo-surface);
  --trust: var(--neo-parent);
  --soft: var(--neo-surface-soft);
  background: var(--neo-canvas);
}
.neo-app-shell .site-brand { position: sticky; z-index: 20; top: 0; width: 100%; min-height: 72px; margin: 0; border-bottom: 1px solid var(--neo-line); padding: 15px max(20px,calc((100vw - var(--neo-shell))/2)); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.neo-app-shell .neo-mark { width: 38px; height: 38px; border-radius: 0; }
.neo-app-shell .site-brand .neo-web-lockup small { color: var(--neo-commerce); }
.neo-app-shell main { width: min(var(--neo-shell), 100%); padding: 64px var(--neo-gutter); }
.neo-app-shell h1 { font-size: clamp(2.9rem,6vw,4.8rem); font-weight: 520; letter-spacing: -.055em; line-height: .98; }
.neo-app-shell h2 { font-weight: 600; }
.neo-app-shell .eyebrow { font-weight: 650; letter-spacing: .1em; }
.neo-app-shell .primary,
.neo-app-shell .secondary,
.neo-app-shell .card-actions a,
.neo-app-shell button.primary,
.neo-app-shell button.secondary { min-height: 42px; border-radius: 999px; padding: 10px 16px; box-shadow: var(--neo-shadow-sm); font-weight: 600; }
.neo-app-shell .primary { background: var(--neo-inverse); color: #fff; }
.neo-app-shell .secondary,
.neo-app-shell .card-actions a { border-color: var(--neo-line); background: var(--neo-surface); }
.neo-app-shell .badges span,
.neo-app-shell .chip,
.neo-app-shell .seller-sidebar a,
.neo-app-shell .seller-sidebar span,
.neo-app-shell .seller-status span,
.neo-app-shell .seller-filter,
.neo-app-shell .order-status { border-color: var(--neo-line); background: var(--neo-surface-soft); font-weight: 600; }
.neo-app-shell .product-card,
.neo-app-shell .empty,
.neo-app-shell .checkout-form,
.neo-app-shell .summary,
.neo-app-shell .seller-metrics article,
.neo-app-shell .seller-next-grid article,
.neo-app-shell .seller-panel { border-color: var(--neo-line); border-radius: var(--neo-radius-md); background: var(--neo-surface); box-shadow: var(--neo-shadow-sm); }
.neo-app-shell .product-card { padding: 12px; }
.neo-app-shell .product-card img,
.neo-app-shell .hero-image,
.neo-app-shell .image-fallback { border-radius: 12px; background: var(--neo-surface-soft); }
.neo-app-shell input,
.neo-app-shell select,
.neo-app-shell textarea { border-color: var(--neo-line); border-radius: 12px; background: var(--neo-surface); }
.neo-app-shell input:focus-visible,
.neo-app-shell select:focus-visible,
.neo-app-shell textarea:focus-visible,
.neo-app-shell a:focus-visible,
.neo-app-shell button:focus-visible { outline: 3px solid rgba(18,107,142,.28); outline-offset: 3px; }
.neo-app-shell .site-footer { width: min(var(--neo-shell),100%); border-color: var(--neo-line); }
body.neo-app-shell:has(.legal) { --paper: var(--neo-canvas); --panel: var(--neo-surface); background: var(--neo-canvas); }
body.neo-app-shell:has(.legal) .site-brand { width: 100%; margin: 0; border: 0; border-bottom: 1px solid var(--neo-line); border-radius: 0; background: rgba(255,255,255,.94); }
body.neo-app-shell:has(.legal) .legal { width:min(960px,calc(100% - 32px)); margin:32px auto 0; border:1px solid var(--neo-line); border-radius:var(--neo-radius-lg); padding:64px clamp(28px,8vw,90px); background:var(--neo-surface); box-shadow:var(--neo-shadow-md); }
body.neo-app-shell:has(.legal) .legal h1 { font-size:clamp(3.4rem,7vw,5.5rem); font-weight:520; letter-spacing:-.055em; line-height:.98; }

body.neo-lab { --canvas:var(--neo-canvas); --paper:var(--neo-surface); --paper-light:var(--neo-surface); --paper-deep:var(--neo-surface-soft); --ink:var(--neo-ink); --muted:var(--neo-muted); --line:var(--neo-line); background:var(--neo-canvas); }
.neo-lab .site-frame { width:100%; min-height:100vh; margin:0; border:0; border-radius:0; background:var(--neo-surface); box-shadow:none; }
.neo-lab .topbar { position:sticky; z-index:20; top:0; min-height:72px; border-color:var(--neo-line); padding:12px clamp(20px,3vw,42px); background:rgba(255,255,255,.94); backdrop-filter:blur(16px); }
.neo-lab .lab-brand img { width:38px; height:38px; filter:none; }
.neo-lab .brand-kicker,
.neo-lab .eyebrow,
.neo-lab .panel-label,
.neo-lab .card-kicker { font-weight:650; letter-spacing:.1em; }
.neo-lab .lab-brand h1 { font-weight:600; }
.neo-lab .environment-pill { min-height:40px; border-color:var(--neo-line); border-radius:999px; background:var(--neo-surface); box-shadow:var(--neo-shadow-sm); font-weight:600; }
.neo-lab .lab-layout { grid-template-columns:minmax(220px,248px) minmax(480px,1fr) minmax(320px,390px); min-height:calc(100vh - 72px); }
.neo-lab .control-panel { min-height:calc(100vh - 72px); border-color:var(--neo-line); background:var(--neo-surface-soft); }
.neo-lab input,
.neo-lab select,
.neo-lab textarea { border-color:var(--neo-line); border-radius:12px; background:var(--neo-surface); }
.neo-lab .button,
.neo-lab button { min-height:42px; border-radius:999px; font-weight:600; box-shadow:var(--neo-shadow-sm); }
.neo-lab button.secondary { border-color:var(--neo-line); background:var(--neo-surface); }
.neo-lab .status-card { border-color:var(--neo-line); border-radius:14px; background:var(--neo-surface); box-shadow:var(--neo-shadow-sm); }
.neo-lab .workspace { padding:clamp(42px,5vw,72px); background-color:var(--neo-surface); background-image:linear-gradient(to right,transparent calc(50% - .5px),var(--neo-line-soft) 50%,transparent calc(50% + .5px)); }
.neo-lab .intro h2 { font-size:clamp(3rem,4.6vw,4.8rem); font-weight:520; letter-spacing:-.055em; line-height:.96; }
.neo-lab .card { border-color:var(--neo-line); border-radius:16px; background:var(--neo-surface); box-shadow:var(--neo-shadow-sm); }
.neo-lab .conversation-card { border-top:1px solid var(--neo-line); }
.neo-lab .card-head { min-height:68px; justify-content:flex-start; gap:11px; background:#f0f2f5; }
.neo-lab .chat-avatar { width:40px; height:40px; flex:0 0 40px; object-fit:contain; }
.neo-lab .chat-title { min-width:0; margin-right:auto; }
.neo-lab .card-head h3 { margin:0; font-weight:600; }
.neo-lab .chat-title p { margin:3px 0 0; color:var(--neo-muted); font-size:.72rem; }
.neo-lab .presence { color:#667781; font-weight:500; }
.neo-lab .presence::before { display:none; }
.neo-lab .messages {
  border-color:var(--neo-line);
  background-color:#efeae2;
  background-image:
    radial-gradient(circle at 18px 18px,rgba(84,101,111,.055) 1px,transparent 1.5px),
    radial-gradient(circle at 54px 48px,rgba(84,101,111,.04) 1px,transparent 1.5px);
  background-size:72px 72px;
  gap:6px;
  padding:20px 18px;
}
.neo-lab .message { position:relative; max-width:min(82%,520px); border:0; border-radius:8px 0 8px 8px; padding:8px 9px 6px; background:#d9fdd3; box-shadow:0 1px 1px rgba(11,20,26,.12); color:#111b21; font-size:.9rem; }
.neo-lab .message::after { position:absolute; top:0; right:-7px; border-width:0 0 9px 8px; border-style:solid; border-color:transparent transparent transparent #d9fdd3; content:""; }
.neo-lab .message.outbound { border:0; border-radius:0 8px 8px; background:#fff; }
.neo-lab .message.outbound::after { right:auto; left:-7px; border-width:0 8px 9px 0; border-color:transparent #fff transparent transparent; }
.neo-lab .bubble-meta { display:block; margin:3px 0 0 18px; color:#667781; font-size:.62rem; font-weight:400; text-align:right; }
.neo-lab .message-image { display:block; width:min(320px,100%); max-height:260px; margin:-3px -4px 7px; border-radius:6px; object-fit:cover; }
.neo-lab .message button { display:block; width:calc(100% + 18px); min-height:38px; margin:8px -9px -6px; border:0; border-top:1px solid #e5e7eb; border-radius:0 0 8px 8px; background:#fff; box-shadow:none; color:#027eb5; font-size:.8rem; font-weight:600; }
.neo-lab .message button + button { margin-top:6px; border-radius:0; }
.neo-lab .message a { color:#027eb5; }
.neo-lab .composer { grid-template-columns:minmax(0,1fr) auto; background:#f0f2f5; }
.neo-lab .composer input { border:0; border-radius:999px; background:#fff; box-shadow:none; }
.neo-lab .composer button { width:44px; min-width:44px; overflow:hidden; border-radius:50%; padding:0; background:#00a884; color:transparent; }
.neo-lab .composer button::after { display:grid; place-items:center; color:#fff; font-size:1.05rem; content:"➤"; }
.neo-lab .utility-panel { border-color:var(--neo-line); background:var(--neo-canvas); }
.neo-lab .utility-grid { grid-template-columns:1fr; }
.neo-lab .debug { min-height:calc(100vh - 72px); border-color:#343444; background:var(--neo-inverse); }
.neo-lab .debug h2 { font-weight:560; }
.neo-lab .debug select { border-color:#434354; background:#292937; }
.neo-lab .modal { align-items:center; background:rgba(17,27,33,.72); }
.neo-lab .flow { width:min(430px,100%); max-height:min(860px,94vh); border:0; border-radius:18px; padding:0; background:#fff; box-shadow:0 24px 90px rgba(0,0,0,.34); }
.neo-lab .flow-appbar { position:sticky; z-index:2; top:0; display:grid; grid-template-columns:40px 1fr 40px; gap:8px; align-items:center; min-height:64px; padding:9px 10px; background:#fff; border-bottom:1px solid #e9edef; }
.neo-lab .flow-appbar div { display:grid; gap:2px; }
.neo-lab .flow-appbar strong { font-size:.94rem; }
.neo-lab .flow-appbar span { color:#667781; font-size:.7rem; }
.neo-lab .flow .flow-icon { width:40px; min-height:40px; margin:0; border:0; border-radius:50%; padding:0; background:transparent; box-shadow:none; color:#3b4a54; font-size:1.35rem; }
.neo-lab .flow .flow-icon:disabled { opacity:.25; }
.neo-lab .flow-progress { position:sticky; z-index:2; top:64px; height:3px; background:#e9edef; }
.neo-lab .flow-progress span { display:block; width:14%; height:100%; background:#00a884; transition:width .2s ease; }
.neo-lab #flow-content { padding:24px 22px 22px; }
.neo-lab .flow-screen-label { margin:0 0 18px; color:#667781; font-size:.69rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.neo-lab .flow h2 { font-weight:560; letter-spacing:-.04em; }
.neo-lab .flow h3 { color:#111b21; font-size:1.02rem; font-weight:600; }
.neo-lab .flow p { color:#667781; font-size:.86rem; line-height:1.45; }
.neo-lab .flow label { color:#3b4a54; font-weight:550; }
.neo-lab .flow input,.neo-lab .flow select,.neo-lab .flow textarea { border-color:#d4d8db; border-radius:8px; background:#fff; }
.neo-lab .flow .option { border:1px solid #e3e6e8; border-radius:9px; padding:11px; }
.neo-lab .flow .flow-primary { position:sticky; bottom:0; width:100%; min-height:48px; margin:22px 0 0; border-radius:8px; background:#00a884; color:#fff; box-shadow:none; }

/* Scroll-scrubbed outcome sequence. The page owns the scene and maps scroll to
   a continuous camera move, following the Oil Motion interaction model. */
.neo-web .site-frame:has(.neo-motion-story),
.neo-marketing-product .site-frame:has(.neo-motion-story) { overflow:clip; }
.neo-motion-story {
  --motion-p:0;
  --motion-start:1;
  --motion-middle:0;
  --motion-end:0;
  --motion-origin-x:24;
  --motion-origin-y:58;
  --motion-scale:1.34;
  --motion-accent:var(--neo-blue);
  position:relative;
  min-height:185svh;
  border-block:1px solid var(--neo-line);
  background:var(--neo-inverse);
  color:#fff;
}
.neo-motion-story[data-motion-theme="commerce"] { --motion-accent:var(--neo-commerce); }
.neo-motion-story[data-motion-theme="homes"] { --motion-accent:var(--neo-homes); }
.neo-motion-pin {
  position:sticky;
  top:72px;
  display:grid;
  grid-template-columns:minmax(220px,.62fr) minmax(0,1.38fr);
  gap:clamp(28px,5vw,74px);
  align-items:center;
  width:min(calc(100% - (var(--neo-gutter) * 2)),var(--neo-shell));
  min-height:calc(100svh - 72px);
  margin-inline:auto;
  padding-block:clamp(48px,7vw,86px);
}
.neo-motion-copy { position:relative; z-index:3; }
.neo-motion-copy .neo-motion-kicker { margin:0 0 18px; color:var(--motion-accent); font-size:.7rem; font-weight:650; letter-spacing:.12em; text-transform:uppercase; }
.neo-motion-copy h2 { max-width:480px; margin:0; font-size:clamp(3.3rem,5.8vw,6rem); font-weight:520; letter-spacing:-.065em; line-height:.9; }
.neo-motion-steps { display:grid; gap:0; max-width:340px; margin-top:34px; border-top:1px solid rgba(255,255,255,.16); }
.neo-motion-step { display:grid; grid-template-columns:36px 1fr; gap:10px; align-items:center; min-height:52px; border-bottom:1px solid rgba(255,255,255,.16); color:rgba(255,255,255,.42); font-size:.82rem; font-weight:600; }
.neo-motion-step::before { color:var(--motion-accent); font-family:var(--neo-mono); font-size:.63rem; letter-spacing:.08em; }
.neo-motion-step:nth-child(1)::before { content:"01"; }
.neo-motion-step:nth-child(2)::before { content:"02"; }
.neo-motion-step:nth-child(3)::before { content:"03"; }
.neo-motion-step:nth-child(1) { opacity:calc(.28 + (var(--motion-start) * .72)); }
.neo-motion-step:nth-child(2) { opacity:calc(.28 + (var(--motion-middle) * .72)); }
.neo-motion-step:nth-child(3) { opacity:calc(.28 + (var(--motion-end) * .72)); }
.neo-motion-stage {
  position:relative;
  min-width:0;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:clamp(18px,3vw,32px);
  background:#15151e;
  box-shadow:0 38px 110px rgba(0,0,0,.38);
  isolation:isolate;
}
.neo-motion-stage::after { position:absolute; z-index:1; inset:0; background:linear-gradient(90deg,rgba(15,15,22,.3),transparent 45%,rgba(15,15,22,.08)); pointer-events:none; content:""; }
.neo-motion-scene { width:100%; height:100%; object-fit:cover; transform:scale(var(--motion-scale)); transform-origin:calc(var(--motion-origin-x) * 1%) calc(var(--motion-origin-y) * 1%); filter:saturate(.82) contrast(1.04); will-change:transform,transform-origin; }
.neo-motion-focus { position:absolute; z-index:2; left:calc(var(--motion-origin-x) * 1%); top:calc(var(--motion-origin-y) * 1%); width:clamp(74px,11vw,150px); aspect-ratio:1; border:1px solid color-mix(in srgb,var(--motion-accent) 76%,white); border-radius:50%; opacity:calc(.2 + (var(--motion-middle) * .78)); box-shadow:0 0 0 18px color-mix(in srgb,var(--motion-accent) 10%,transparent),0 0 54px color-mix(in srgb,var(--motion-accent) 26%,transparent); transform:translate(-50%,-50%) scale(calc(.78 + (var(--motion-middle) * .22))); pointer-events:none; }
.neo-motion-bubble,
.neo-motion-result { position:absolute; z-index:3; max-width:min(310px,48%); border-radius:14px; box-shadow:0 18px 50px rgba(0,0,0,.28); }
.neo-motion-bubble { padding:13px 16px; color:#111b21; font-size:clamp(.78rem,1.2vw,.94rem); font-weight:560; line-height:1.35; }
.neo-motion-bubble--start { top:9%; right:6%; border-radius:14px 3px 14px 14px; background:#d9fdd3; opacity:var(--motion-start); transform:translate3d(0,calc((1 - var(--motion-start)) * -24px),0) scale(calc(.94 + (var(--motion-start) * .06))); }
.neo-motion-bubble--middle { left:7%; bottom:9%; border-radius:3px 14px 14px; background:#fff; opacity:var(--motion-middle); transform:translate3d(calc((1 - var(--motion-middle)) * -26px),0,0); }
.neo-motion-bubble--middle::before { display:inline-block; width:8px; height:8px; margin-right:8px; border-radius:50%; background:var(--motion-accent); box-shadow:12px 0 color-mix(in srgb,var(--motion-accent) 62%,white),24px 0 color-mix(in srgb,var(--motion-accent) 30%,white); content:""; }
.neo-motion-result { right:5%; bottom:6%; display:grid; grid-template-columns:74px minmax(0,1fr); gap:12px; align-items:center; width:min(330px,54%); padding:9px; background:#fff; color:var(--neo-ink); opacity:var(--motion-end); transform:translate3d(0,calc((1 - var(--motion-end)) * 38px),0) rotate(calc((1 - var(--motion-end)) * 2deg)); }
.neo-motion-result img { width:74px; aspect-ratio:1; border-radius:9px; object-fit:cover; }
.neo-motion-result strong { display:block; font-size:.84rem; line-height:1.2; }
.neo-motion-result span { display:block; margin-top:4px; color:var(--neo-muted); font-size:.7rem; line-height:1.25; }
.neo-motion-progress { position:absolute; z-index:4; right:0; bottom:24px; left:0; width:min(calc(100% - (var(--neo-gutter) * 2)),var(--neo-shell)); height:2px; margin:auto; overflow:hidden; background:rgba(255,255,255,.15); }
.neo-motion-progress::after { display:block; width:100%; height:100%; background:var(--motion-accent); transform:scaleX(var(--motion-p)); transform-origin:left; content:""; }

@supports (animation-timeline: view()) {
  .neo-web .product-section,
  .neo-marketing-product .audience-card,
  .neo-docs .feature-card,
  .neo-docs .docs-article > section,
  .neo-app-shell .product-card,
  .neo-app-shell .seller-panel {
    animation: neo-rise .8s cubic-bezier(.16,1,.3,1) both;
    animation-timeline: view();
    animation-range: entry 8% cover 34%;
  }
}

@media (max-width: 1600px) {
  .neo-lab .lab-layout { grid-template-columns:240px minmax(0,1fr); }
  .neo-lab .debug { position:relative; grid-column:1 / -1; min-height:0; border-top:1px solid #343444; border-left:0; }
  .neo-lab .debug pre { max-height:380px; }
}

@media (max-width: 900px) {
  .neo-marketing-product .hero { grid-template-columns:1fr; min-height:0; padding-top:54px; }
  .neo-marketing-product .hero-copy { display:block; }
  .neo-marketing-product .hero-lede { margin-top:24px; }
  .neo-marketing-product .hero-copy .actions { margin-top:24px; }
  .neo-lab .topbar { align-items:flex-start; flex-direction:column; }
  .neo-lab .top-actions { width:100%; justify-content:space-between; }
  .neo-lab .lab-layout { grid-template-columns:1fr; }
  .neo-lab .control-panel { position:relative; min-height:0; border-right:0; border-bottom:1px solid var(--neo-line); }
  .neo-lab .debug { grid-column:auto; }
}

@media (max-width: 760px) {
  .neo-motion-story { min-height:170svh; }
  .neo-motion-pin { top:0; grid-template-columns:1fr; grid-template-rows:auto auto; gap:24px; align-content:center; min-height:100svh; padding-block:30px 42px; }
  .neo-motion-copy { display:grid; grid-template-columns:1fr auto; gap:10px 18px; align-items:end; }
  .neo-motion-copy .neo-motion-kicker { grid-column:1 / -1; margin:0; }
  .neo-motion-copy h2 { max-width:340px; font-size:clamp(2.7rem,12vw,4rem); }
  .neo-motion-steps { grid-template-columns:repeat(3,1fr); grid-column:1 / -1; max-width:none; margin-top:8px; }
  .neo-motion-step { grid-template-columns:1fr; gap:4px; align-content:center; padding:10px 8px; font-size:.7rem; }
  .neo-motion-step + .neo-motion-step { border-left:1px solid rgba(255,255,255,.16); }
  .neo-motion-stage { aspect-ratio:4 / 3; }
  .neo-motion-bubble,.neo-motion-result { max-width:66%; }
  .neo-motion-result { grid-template-columns:58px minmax(0,1fr); width:68%; }
  .neo-motion-result img { width:58px; }
  .neo-motion-progress { bottom:16px; }
}

@media (max-width: 640px) {
  :root { --neo-gutter: 18px; }
  .neo-docs .header-actions > a { display:none !important; }
  .neo-grid-canvas { background-image: none; }
  .neo-marketing-product .site-frame { width: 100%; margin: 0; border-radius: 0; }
  .neo-marketing-product .site-frame { overflow: visible; }
  .neo-marketing-product .hero-copy,
  .neo-marketing-product .hero-figure { min-width: 0; }
  .neo-marketing-product .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 52px; }
  .neo-marketing-product .hero h1 { font-size: clamp(3.1rem, 14vw, 3.75rem); }
  .neo-marketing-product .visual-caption { grid-template-columns: 1fr; }
  .neo-marketing-product .actions { display: grid; }
  .neo-marketing-product .button { width: 100%; }
  .neo-marketing-product .section-head { justify-items: start; text-align: left; }
  .neo-app-shell main { padding: 28px 18px; }
  .neo-app-shell .site-brand { min-height: 64px; padding: 13px 18px; }
  body.neo-app-shell:has(.legal) .site-brand { padding:13px 18px; }
  body.neo-app-shell:has(.legal) .legal { width:100%; margin:0; border:0; border-radius:0; padding:42px 20px; box-shadow:none; }
  .neo-lab .site-frame { width:100%; margin:0; border-radius:0; }
  .neo-lab .workspace { background-image:none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .neo-web .hero-copy > *,
  .neo-docs .docs-hero > *,
  .neo-web .hero-figure,
  .neo-web .product-visual,
  .neo-web .hero-branch,
  .neo-web .visual-caption span,
  .neo-web .route-arrow { opacity:1; clip-path:none; transform:none; }
  .neo-motion-track { animation:none; transform:none; }
  .neo-motion-story { min-height:auto; }
  .neo-motion-pin { position:relative; top:auto; min-height:0; }
  .neo-motion-scene { transform:scale(1.08); transform-origin:74% 66%; }
}
