:root {
  color-scheme: dark;
  --black: #080a0e;
  --ink: #eef3f8;
  --muted: #aab4c3;
  --blue: #245af5;
  --ice: #edf3f5;
  --dark-ink: #141c29;
  --gutter: clamp(22px, 4vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--black); color: var(--ink); font: 400 16px/1.6 'DM Sans', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(40px, 4.8vw, 74px); font-weight: 450; line-height: 1.06; letter-spacing: -.055em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; }
svg, img { display: block; }
button, a, input, select, textarea { outline-offset: 6px; }
:focus-visible { outline: 3px solid #88baff; }
::selection { background: #245af5; color: white; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 1560px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 15px; left: 15px; padding: 12px 18px; background: var(--blue); z-index: 20; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; transition: transform .3s var(--ease); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 26px; font-size: 14px; }
.text-link::after { display: none; }
.text-link:hover .arrow, .button:hover .arrow, .nav-contact:hover .arrow, .contact-email:hover .arrow { transform: translate(3px, -3px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { min-height: 58px; padding: 17px 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; border: 0; border-radius: 3px; font-size: 14px; font-weight: 550; transition: background .25s, transform .25s var(--ease); }
.button:active { transform: scale(.98); }
.button-blue { color: #fff; background: var(--blue); }
.button-blue:hover { background: #356aff; }
.button-white { color: var(--dark-ink); background: var(--ice); }
.button-white:hover { background: #fff; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 8; }
.brand { display: inline-flex; align-items: center; }
.logo { width: 147px; height: auto; }
.main-nav { display: flex; gap: clamp(22px, 3vw, 48px); align-items: center; font-size: 14px; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.main-nav a:hover { color: #92baff; }
.main-nav .nav-contact { gap: 30px; margin-left: 26px; }
.menu-toggle { background: transparent; border: 0; min-height: 44px; padding: 8px 0 8px 16px; gap: 18px; align-items: center; display: none; }
.scroll-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; color: var(--ink); }
.scroll-link span { font-size: 23px; }
.motion-toggle:hover { color: #fff; }
.light-section { color-scheme: light; color: var(--dark-ink); background: var(--ice); }
.light-section :focus-visible { outline-color: #245af5; }
.services { padding-block: clamp(80px, 8vw, 128px); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 10%; margin-bottom: 64px; }
.section-heading>p { font-size: 16px; color: #445267; max-width: 390px; }
.service-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 54px; }
.service-choice { text-align: left; background: none; color: #657080; border: 0; border-bottom: 1px solid #bac5cd; padding: 20px 30px 24px 0; position: relative; display: grid; gap: 5px; transition: color .25s; }
.service-choice>span:first-child { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.035em; }
.choice-description { font-size: 13px; }
.service-choice .arrow { position: absolute; right: 0; top: 31px; width: 20px; height: 20px; }
.service-choice.is-selected { color: #173fbb; border-bottom: 2px solid #245af5; }
.service-choice:hover { color: #173fbb; }
.service-choice.is-selected .arrow { transform: rotate(45deg); }
.service-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 108px); align-items: center; }
.service-panel+.service-panel { margin-top: 50px; }
.enhanced .service-panel+.service-panel { margin-top: 0; }
.demo-stage { min-height: 450px; background: #dce6ec; border-radius: 12px; display: flex; flex-direction: column; padding: 26px; position: relative; overflow: hidden; }
.panel-top { display: flex; justify-content: space-between; gap: 15px; color: #4d5b6d; font-size: 13px; }
.conversation { display: flex; flex-direction: column; gap: 15px; width: 92%; margin: auto; padding-block: 30px; }
.message { padding: 18px 22px; border-radius: 14px; max-width: 92%; box-shadow: 0 8px 24px #1a395609; }
.message>span { display: flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 550; margin-bottom: 8px; }
.message p { font-size: 15px; line-height: 1.5; }
.message svg { width: 17px; height: 17px; }
.human { align-self: flex-end; background: #fafcfd; border-bottom-right-radius: 3px; }
.assistant { background: #245af5; color: #fff; border-bottom-left-radius: 3px; }
.context-note { font-size: 13px; color: #58667a; display: flex; gap: 8px; align-items: center; margin-left: 5px; }
.context-note svg { width: 18px; height: 18px; stroke: #245af5; stroke-width: 1.5; fill: none; flex: none; }
.demo-bottom { display: flex; align-items: baseline; gap: 9px; margin-top: auto; font-size: 13px; color: #4d5b6d; }
.signal-dot { width: 5px; height: 5px; background: #245af5; border-radius: 50%; flex: none; }
.section-index { display: block; font-size: 13px; line-height: 1.4; margin-bottom: 24px; color: #617086; }
.panel-copy h3 { font-size: clamp(32px, 3.2vw, 48px); letter-spacing: -.05em; font-weight: 450; line-height: 1.1; margin-bottom: 22px; }
.panel-copy>p { font-size: 16px; max-width: 46ch; color: #445267; }
.capabilities { padding: 0; margin: 24px 0; list-style: none; color: #39475b; font-size: 14px; display: grid; gap: 8px; }
.capabilities li { padding-left: 15px; position: relative; }
.capabilities li::before { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; left: 0; top: 10px; background: #245af5; }
.panel-copy .text-link { color: #173fbb; }
.flow-diagram { padding: 30px 0; margin: auto 0; list-style: none; display: grid; gap: 22px; }
.flow-diagram li { display: flex; gap: 18px; align-items: center; position: relative; }
.flow-number { width: 44px; height: 44px; display: grid; place-items: center; background: #245af5; color: white; border-radius: 50%; flex: none; font-size: 14px; }
.flow-diagram strong { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.flow-diagram div>span { font-size: 13px; color: #445267; }
.knowledge-demo { margin-block: auto; padding-block: 35px; display: grid; gap: 22px; }
.demo-query { font-size: 20px; letter-spacing: -.03em; line-height: 1.4; padding: 20px; background: #fafcfd; border-radius: 9px; position: relative; }
.demo-query>span { position: absolute; right: 16px; bottom: 12px; color: #66778c; }
.document-result { display: flex; align-items: center; gap: 22px; padding: 24px; border-radius: 9px; background: #c4d4f4; color: #193a81; }
.document-result svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.document-result span { font-size: 15px; font-weight: 550; }
.document-result p { font-size: 13px; line-height: 1.5; margin-top: 8px; }
.bot-section { min-height: 650px; position: relative; isolation: isolate; overflow: hidden; background: #070e22; }
.bot-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 20% 75%, #1648e8ab, transparent 57%), radial-gradient(ellipse at 88% 10%, #17316c66, transparent 58%); }
.bot-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10%; padding-block: 100px 65px; align-items: center; }
.bot-emblem { aspect-ratio: 1.2; position: relative; display: grid; place-items: center; perspective: 900px; }
.bot-copy .section-index { color: #a9bee8; }
.bot-copy h2 { font-size: clamp(64px, 7.5vw, 116px); }
.bot-copy p { font-size: 17px; line-height: 1.6; max-width: 345px; margin: 26px 0; color: #bac9e6; }
.bot-domain { display: inline-block; margin-left: 22px; color: #b4c9ee; font-size: 13px; }
.bot-foot { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: #9db2d6; padding-bottom: 35px; }
.method { padding-block: clamp(80px, 9vw, 140px); background: #fafcfd; }
.method-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 11%; align-items: start; }
.method-intro h2 { font-size: clamp(38px, 4vw, 62px); }
.method-intro p { margin-block: 26px 18px; max-width: 365px; color: #445267; }
.method-list { list-style: none; padding: 0; margin: 0; display: grid; }
.method-list li { display: flex; gap: 30px; padding-block: 30px; }
.method-list li:first-child { padding-top: 0; }
.method-list li:last-child { border: 0; padding-bottom: 0; }
.step { font-size: 13px; color: #245af5; padding-top: 10px; }
.method-list h3 { font-weight: 450; letter-spacing: -.035em; font-size: 32px; line-height: 1.2; margin-bottom: 14px; }
.method-list p { color: #445267; font-size: 15px; max-width: 44ch; }
.contact-section { padding-block: clamp(80px, 9vw, 140px); background: #10141d; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12%; align-items: start; }
.contact-intro .section-index { color: #8d9bb4; }
.contact-intro h2 { font-size: clamp(44px, 5.5vw, 84px); }
.contact-intro>p { margin-top: 28px; max-width: 360px; font-size: 16px; color: #a9b5c8; }
.contact-email { display: inline-flex; align-items: center; gap: 26px; font-size: clamp(20px, 2.1vw, 31px); margin-top: 26px; letter-spacing: -.035em; min-height: 50px; }
.contact-email:hover { color: #92baff; }
.contact-form { display: grid; gap: 30px; padding-top: 8px; }
.contact-form label { display: grid; gap: 10px; font-size: 13px; color: #b5c0d3; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; padding: 14px 0; color: #eef3f8; background: transparent; border: 0; border-bottom: 1px solid #4c5a70; border-radius: 0; font-size: 15px; line-height: 1.5; }
.contact-form select { background: #10141d; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8d9bb0; opacity: 1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.copy-button { background: transparent; color: #c1cbdb; border: 0; padding: 12px 0; font-size: 13px; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.form-note, .form-status { font-size: 13px; color: #96a4ba; max-width: 390px; }
.form-status { color: #b4d6ff; }
.form-status:empty { display: none; }
.site-footer { padding-block: 55px 26px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 50px; }
.footer-top p { color: #8c9ab0; font-size: 15px; }
.footer-bottom { display: flex; align-items: center; gap: 30px; font-size: 13px; color: #8c9ab0; }
.footer-bottom>span { margin-right: auto; }
.footer-bottom a { min-height: 44px; display: flex; align-items: center; gap: 10px; }
.footer-bottom a:hover { color: #eef3f8; }
.footer-bottom .arrow { width: 12px; height: 12px; }
html:not(.enhanced) .service-choices { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .panel-enter .demo-stage { animation: panel-in .5s var(--ease) both; }
  .panel-enter .panel-copy { animation: panel-in .65s var(--ease) both; }
}
@keyframes intro-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mark-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-in { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media(min-width:1800px) {
}
@media(max-width:1100px) {
  .main-nav { gap: 22px; }
  .main-nav .nav-contact { margin-left: 0; gap: 16px; }
  .section-heading { grid-template-columns: 1.1fr 1fr; gap: 8%; }
  .service-panel { gap: 40px; }
  .demo-stage { padding: 22px; }
  .conversation { width: 100%; }
  .message { max-width: 96%; padding: 16px; }
  .service-choices { gap: 24px; }
  .choice-description { font-size: 13px; }
  .bot-domain { display: block; margin: 18px 0 0; }
  .bot-layout { gap: 6%; }
  .method-layout, .contact-layout { gap: 8%; }
  .form-row { grid-template-columns: 1fr; gap: 26px; }
}
@media(max-width:760px) {
  :root { --gutter: 24px; }
  .site-header { min-height: 84px; flex-wrap: wrap; gap: 0; }
  .logo { width: 120px; }
  .enhanced .menu-toggle { display: inline-flex; }
  .main-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 10px 20px; }
  .enhanced .main-nav { position: absolute; top: 75px; left: 0; width: 100%; display: flex; flex-direction: column; align-items: stretch; padding: 22px; background: #182235; border-radius: 5px; box-shadow: 0 20px 40px #0004; gap: 6px; }
  .enhanced .nav-contact { justify-content: space-between; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 35px; }
  .section-heading>p { font-size: 15px; }
  .service-choices { gap: 16px; margin-bottom: 30px; }
  .service-choice { padding: 14px 0 16px; min-height: 76px; }
  .service-choice>span:first-child { font-size: 17px; line-height: 1.25; max-width: 110px; }
  .service-choice .arrow, .choice-description { display: none; }
  .service-panel { grid-template-columns: 1fr; gap: 35px; }
  .demo-stage { min-height: 400px; padding: 20px; }
  .message { max-width: 93%; }
  .message p { font-size: 14px; }
  .panel-copy h3 { font-size: 37px; }
  .panel-copy .section-index { margin-bottom: 18px; }
  .panel-copy>p { font-size: 15px; }
  .capabilities { font-size: 13px; }
  .demo-bottom { font-size: 13px; }
  .bot-layout { grid-template-columns: 1fr; gap: 20px; padding-block: 25px 50px; }
  .bot-emblem { width: min(310px, 85%); margin: auto; aspect-ratio: 1.25; }
  .bot-copy h2 { font-size: 72px; }
  .bot-copy .section-index { margin-bottom: 20px; }
  .bot-copy p { font-size: 16px; max-width: 320px; }
  .bot-domain { display: inline-block; margin: 0 0 0 20px; font-size: 13px; }
  .bot-foot { font-size: 13px; align-items: start; }
  .bot-foot>span:first-child { max-width: 220px; }
  .method-layout, .contact-layout { grid-template-columns: 1fr; gap: 55px; }
  .method-intro h2 { font-size: 40px; }
  .method-list li { gap: 24px; padding-block: 28px; }
  .method-list h3 { font-size: 30px; }
  .method-list p { font-size: 15px; }
  .contact-intro h2 { font-size: 54px; }
  .contact-email { font-size: 25px; gap: 20px; }
  .form-row { gap: 28px; }
  .contact-form { gap: 28px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; }
  .footer-top { flex-wrap: wrap; gap: 25px; padding-bottom: 30px; }
  .footer-top p { order: 3; width: 100%; font-size: 14px; }
  .footer-top .text-link { font-size: 13px; gap: 20px; }
  .footer-bottom { flex-wrap: wrap; gap: 5px 24px; }
  .footer-bottom>span { width: 100%; }
}
@media(max-width:380px) {
  :root { --gutter: 20px; }
  .service-choices { gap: 10px; }
  .service-choice>span:first-child { font-size: 15px; }
  .demo-stage { padding: 16px; min-height: 430px; }
  .panel-top { font-size: 13px; }
  .panel-copy h3 { font-size: 34px; }
  .bot-copy h2 { font-size: 62px; }
  .bot-domain { margin: 14px 0 0; display: block; }
  .contact-intro h2 { font-size: 47px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Live visual direction: composition first, controls second. */
.hero { min-height: clamp(730px, calc(100svh - 104px), 920px); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; }
.hero-haze { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 85% 60%, #0a235466, transparent 61%); z-index: 0; }
.hero-intro { position: relative; z-index: 3; padding-top: clamp(70px, 7vw, 110px); pointer-events: none; }
.hero-intro h1 { font-size: clamp(64px, 6.5vw, 104px); line-height: 1.02; font-weight: 450; letter-spacing: -.06em; max-width: 760px; }
.hero-intro>p { max-width: 365px; font-size: 16px; line-height: 1.65; color: #aebcd0; margin-top: 32px; }
.hero-intro .button { margin-top: 28px; pointer-events: auto; }
.hero-art { position: absolute; top: -6%; bottom: 4%; left: 30%; width: 82%; z-index: 1; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 15%, #000 78%, transparent); mask-composite: intersect; }
#visual-canvas, .visual-fallback { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
#visual-canvas { opacity: 0; }
.hero[data-renderer="webgl"] #visual-canvas { opacity: 1; }
.hero[data-renderer="webgl"] .visual-fallback { opacity: 0; }
.hero-art { transition: opacity .42s ease; }
.hero-art.is-changing { opacity: 0; }
.hero-caption { position: relative; z-index: 4; margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-block: 64px 32px; font-size: 13px; color: #9eacc1; }
.hero-caption>p { width: 190px; flex-shrink: 0; }
.visual-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.visual-label { font-size: 12px; color: #9eacc1; }
.visual-options { display: flex; align-items: center; gap: 6px; padding: 5px; background: #ffffff08; border: 1px solid #ffffff12; border-radius: 12px; backdrop-filter: blur(18px); }
.visual-option { background: transparent; border: 0; color: #9eaec6; padding: 12px 17px; min-height: 48px; display: flex; gap: 10px; align-items: center; font-size: 13px; border-radius: 7px; transition: color .25s, background .25s; }
.visual-option:hover { color: #eef3f8; background: #ffffff08; }
.visual-option.is-active { color: #eef3f8; background: #243958; box-shadow: inset 0 1px 0 #ffffff0d; }
.mode-icon { display: block; width: 17px; height: 17px; flex: none; }
.mode-flow { border: 1px solid currentColor; border-radius: 70% 30% 60% 40%; transform: rotate(-20deg); }
.mode-network { background: radial-gradient(circle, currentColor 1.2px, transparent 1.5px); background-size: 6px 6px; }
.mode-prism { border: 1px solid currentColor; transform: rotate(45deg) scale(.72); }
.motion-toggle { font-size: 13px; background: transparent; border: 0; display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 44px; padding: 8px 0; min-width: 170px; color: #a6b5cb; }
.motion-toggle:hover:not(:disabled) { color: #fff; }
.motion-toggle:disabled { color: #92a1b8; }
.bot-emblem .bot-connections { width: 100%; height: auto; transform: none; filter: none; }
@media(max-width:1100px) {
  .hero { min-height: 750px; }
  .hero-intro h1 { font-size: clamp(60px, 7vw, 88px); }
  .hero-intro>p { max-width: 340px; font-size: 15px; }
  .hero-art { left: 28%; width: 95%; top: 0; bottom: 4%; opacity: .9; }
  .hero-caption { gap: 20px; }
  .hero-caption>p { width: 150px; }
  .visual-option { padding-inline: 13px; }
}
@media(max-width:760px) {
  .hero { min-height: 760px; }
  .hero-intro { padding-top: 40px; }
  .hero-intro h1 { font-size: clamp(46px, 8.5vw, 64px); }
  .hero-intro>p { max-width: 325px; margin-top: 24px; font-size: 15px; }
  .hero-intro .button { margin-top: 25px; }
  .hero-art { top: 265px; bottom: 110px; left: -18%; width: 136%; mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent); opacity: 1; }
  .hero-haze { background: radial-gradient(ellipse at 75% 58%, #0a235466, transparent 60%); }
  .hero-caption { padding-block: 260px 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 10px; }
  .hero-caption>p { width: auto; font-size: 12px; }
  .visual-controls { order: -1; width: 100%; }
  .visual-label { font-size: 12px; }
  .visual-options { width: 100%; max-width: 420px; justify-content: center; }
  .visual-option { flex: 1; justify-content: center; padding-inline: 10px; }
  .motion-toggle { min-width: 0; font-size: 12px; }
  .bot-emblem { width: 100%; max-width: 420px; }
}
@media(max-width:380px) {
  .hero { min-height: 760px; }
  .hero-intro h1 { font-size: 43px; }
  .hero-caption>p { max-width: 130px; }
  .visual-option { font-size: 12px; gap: 8px; padding-inline: 8px; }
}
@media(prefers-reduced-motion:no-preference) {
  .hero-intro { animation: intro-in .9s var(--ease) both; }
}
