:root {
  color-scheme: dark;
  --bg: #070a0e;
  --bg-2: #0a0e13;
  --surface: rgba(14, 20, 27, .78);
  --surface-solid: #0d131a;
  --line: rgba(159, 188, 187, .13);
  --line-strong: rgba(159, 188, 187, .24);
  --text: #edf4f1;
  --muted: #9aa9aa;
  --dim: #627173;
  --mint: #79efcc;
  --mint-soft: rgba(121, 239, 204, .11);
  --gold: #d8bd83;
  --blue: #72aef7;
  --radius: 16px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); overflow-x: hidden; }
body, button, a { -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { color: inherit; }
a { text-decoration: none; }
button { border: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .92;
  filter: saturate(.9) contrast(1.08);
  transition: opacity .4s;
}
.scene-glow {
  position: fixed;
  z-index: 0;
  width: min(62vw, 900px);
  aspect-ratio: 1;
  left: 52%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(66, 155, 137, .09), rgba(28, 83, 78, .025) 42%, transparent 69%);
  transition: opacity .5s, left .8s;
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 72px;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled { background: rgba(7, 10, 14, .76); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-shell { width: min(1480px, calc(100% - 64px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 720; letter-spacing: -.02em; }
.brand small { margin-left: -4px; padding-left: 8px; border-left: 1px solid var(--line-strong); color: var(--mint); font: 9px/1 var(--mono); letter-spacing: .16em; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 3px); grid-template-rows: repeat(3, 3px); gap: 2px; width: 19px; height: 19px; place-content: center; border: 1px solid rgba(121, 239, 204, .45); border-radius: 4px; box-shadow: 0 0 18px rgba(121, 239, 204, .14); }
.brand-mark i { width: 3px; height: 3px; background: var(--mint); opacity: .5; }
.brand-mark i:nth-child(5) { opacity: 1; box-shadow: 0 0 5px var(--mint); }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-right: auto; }
.desktop-nav a, .login-link { color: var(--muted); font-size: 12px; letter-spacing: .02em; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.is-active, .login-link:hover { color: var(--text); }
.desktop-nav a.is-active::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); vertical-align: 2px; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 0 19px; border: 1px solid rgba(121, 239, 204, .45); border-radius: 8px; background: var(--mint); color: #07110e; font-size: 13px; font-weight: 720; box-shadow: 0 10px 38px rgba(60, 180, 148, .12); transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #91f7d8; box-shadow: 0 16px 44px rgba(60, 180, 148, .2); }
.button-small { min-height: 36px; padding: 0 14px; font-size: 11px; border-radius: 6px; }
.menu-toggle { display: none; width: 36px; height: 36px; background: transparent; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px 0; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 71px; left: 0; right: 0; padding: 18px 24px 24px; display: grid; gap: 0; background: rgba(7, 10, 14, .96); border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font: 12px var(--mono); }

main, footer { position: relative; z-index: 2; }
.hero, .final { position: relative; min-height: 100svh; }
.hero::before, .final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,10,14,.88) 0%, rgba(7,10,14,.46) 33%, transparent 56%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 4; left: max(5vw, calc((100vw - 1480px) / 2)); top: 50%; width: min(570px, 43vw); translate: 0 -50%; padding-top: 12px; }
.eyebrow { margin: 0 0 22px; color: var(--mint); font: 10px/1.3 var(--mono); letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 1px; margin-right: 10px; background: currentColor; vertical-align: 3px; opacity: .6; }
h1, h2, h3, p { text-wrap: balance; }
h1, h2 { margin: 0; font-weight: 510; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(42px, 4.1vw, 70px); }
h2 { font-size: clamp(40px, 4.2vw, 68px); }
.line-reveal span { display: block; }
.hero-text { max-width: 510px; margin: 26px 0 0; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; transition: color .2s; }
.text-link:hover { color: var(--text); }
.hero-orbit-label { position: absolute; z-index: 3; top: 25%; right: 7vw; display: flex; align-items: center; gap: 9px; color: rgba(191, 213, 207, .45); font: 8px var(--mono); letter-spacing: .12em; }
.hero-orbit-label i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.scroll-cue { position: absolute; z-index: 4; bottom: 30px; left: 50%; display: grid; gap: 10px; justify-items: center; translate: -50% 0; color: var(--dim); font: 8px var(--mono); letter-spacing: .15em; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--dim), transparent); }

.section { position: relative; min-height: 100svh; padding: 136px 0; display: flex; align-items: center; }
.section-shell { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.split-left { display: grid; grid-template-columns: minmax(460px, .8fr) 1.2fr; }
.content-column { max-width: 620px; }
.lead { margin: 26px 0 0; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; }
.section-heading { margin-bottom: 54px; }
.section-heading.centered { text-align: center; }
.section-heading.centered .eyebrow::before { display: none; }
.section-heading.narrow { max-width: 930px; margin-left: auto; margin-right: auto; }
.section-heading.compact { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 70px; }
.section-heading.compact h2 { font-size: clamp(38px, 3.7vw, 61px); }
.section-heading.compact .lead { margin-bottom: 3px; }

.auto-intro { min-height: 115svh; background: linear-gradient(90deg, rgba(7,10,14,.98) 0%, rgba(7,10,14,.76) 48%, rgba(7,10,14,.18) 72%, transparent); }
.capability-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; max-width: 560px; }
.capability-list span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 100px; background: rgba(13,19,26,.5); color: #aebdbc; font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.decision-section { background: linear-gradient(180deg, rgba(7,10,14,.22), rgba(7,10,14,.9) 17%, var(--bg) 82%, rgba(7,10,14,.4)); }
.routing-demo { width: min(880px, 100%); margin: 0 auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(10, 15, 21, .88); box-shadow: 0 40px 100px rgba(0,0,0,.28); overflow: hidden; backdrop-filter: blur(20px); }
.task-switcher { display: flex; padding: 7px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); }
.task-switcher button { padding: 10px 14px; border-radius: 7px; background: transparent; color: var(--dim); font: 9px var(--mono); letter-spacing: .08em; cursor: pointer; }
.task-switcher button.is-active { background: var(--mint-soft); color: var(--mint); }
.task-prompt { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 32px 34px; border-bottom: 1px solid var(--line); }
.prompt-mark { color: var(--dim); font: 9px var(--mono); letter-spacing: .12em; }
.task-prompt p { margin: -4px 0 0; font-size: clamp(19px, 2vw, 26px); line-height: 1.4; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 34px 28px; gap: 18px 28px; }
.signal-grid div { display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 7px; }
.signal-grid span { color: var(--dim); font: 8px var(--mono); letter-spacing: .1em; }
.signal-grid i { grid-column: 1; height: 2px; background: var(--line); overflow: hidden; }
.signal-grid i::after { content: ""; display: block; width: calc(var(--signal, 50) * 1%); height: 100%; background: var(--mint); box-shadow: 0 0 8px var(--mint); transition: width .5s ease; }
.signal-grid b { grid-column: 2; grid-row: 1 / 3; color: var(--muted); font: 12px var(--mono); text-align: right; }
.route-result { display: flex; align-items: center; gap: 28px; padding: 20px 34px; border-top: 1px solid var(--line); background: rgba(121,239,204,.035); }
.route-result > span { width: 110px; color: var(--mint); font: 8px var(--mono); letter-spacing: .12em; }
.route-result > div { display: flex; align-items: center; gap: 12px; flex: 1; }
.model-glyph { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.04); color: var(--mint); font: 11px var(--mono); font-style: normal; }
.route-result p { margin: 0; }
.route-result b, .route-result small { display: block; }
.route-result b { font-size: 13px; }
.route-result small { margin-top: 4px; color: var(--dim); font-size: 10px; }
.route-result em { color: var(--mint); font: 11px var(--mono); font-style: normal; }

.multi-section { min-height: 110svh; background: linear-gradient(90deg, rgba(7,10,14,.98) 0%, rgba(7,10,14,.77) 47%, rgba(7,10,14,.12) 72%, transparent); }
.pipeline { margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pipeline div { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.pipeline div:last-child { border: 0; }
.pipeline i { color: var(--dim); font: 8px var(--mono); font-style: normal; }
.pipeline span { font-size: 13px; }
.pipeline small { color: var(--mint); font: 9px var(--mono); }
.technical-note { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; color: var(--dim); font: 9px var(--mono); }
.technical-note span { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }

.models-section, .profiles-section, .workspace-section, .chat-section, .agents-section, .api-section, .transparency-section {
  background: var(--bg);
}
.model-console { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: 0 40px 110px rgba(0,0,0,.22); }
.mode-toggle { display: flex; padding: 7px; border-bottom: 1px solid var(--line); }
.mode-toggle button { position: relative; min-width: 130px; padding: 12px 20px; border-radius: 7px; background: transparent; color: var(--dim); font: 10px var(--mono); letter-spacing: .12em; cursor: pointer; }
.mode-toggle button.is-active { background: var(--mint-soft); color: var(--mint); }
.mode-toggle button i { display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.auto-mode { min-height: 300px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: 50px 64px; }
.auto-status { display: flex; align-items: center; gap: 36px; }
.auto-pulse { position: relative; display: grid; width: 94px; height: 94px; place-items: center; border: 1px solid rgba(121,239,204,.25); border-radius: 50%; }
.auto-pulse::before, .auto-pulse::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(121,239,204,.13); border-radius: 50%; }
.auto-pulse::after { inset: 28px; background: var(--mint-soft); }
.auto-pulse i { z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px 4px rgba(121,239,204,.5); }
.auto-status small { color: var(--mint); font: 9px var(--mono); letter-spacing: .14em; }
.auto-status h3 { margin: 10px 0 8px; font-size: clamp(21px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.025em; }
.auto-status p { margin: 0; color: var(--muted); font-size: 13px; }
.route-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.route-metrics span { min-width: 86px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--dim); font: 8px var(--mono); }
.route-metrics b { display: block; margin-bottom: 5px; color: var(--text); font-size: 22px; font-weight: 500; }
.manual-mode { min-height: 300px; padding: 30px 44px 44px; }
.manual-mode > p { color: var(--dim); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.model-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.model-list button { display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.015); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.model-list button:hover { border-color: rgba(121,239,204,.4); background: var(--mint-soft); }
.model-list span { font-size: 12px; }
.model-list small { display: block; margin-top: 5px; color: var(--dim); font-size: 9px; }

.profiles-section { min-height: 90svh; }
.profiles { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.profiles button { position: relative; min-height: 130px; padding: 28px 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.012); text-align: left; cursor: pointer; transition: background .2s; }
.profiles button:last-child { border: 0; }
.profiles button.is-active { background: var(--mint-soft); }
.profiles button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mint); }
.profiles button small { position: absolute; top: 13px; right: 13px; color: var(--mint); font: 7px var(--mono); }
.profiles button b, .profiles button span { display: block; }
.profiles button b { margin-bottom: 15px; font: 15px var(--mono); letter-spacing: .08em; }
.profiles button span { color: var(--dim); font-size: 10px; }
.profile-monitor { display: grid; grid-template-columns: repeat(3, 1fr) 1.8fr; gap: 30px; align-items: center; min-height: 115px; padding: 24px 28px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: var(--surface); }
.profile-monitor div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.profile-monitor span { color: var(--dim); font: 8px var(--mono); letter-spacing: .1em; }
.profile-monitor i { grid-column: 1 / 3; display: block; height: 2px; background: var(--line); }
.profile-monitor i b { display: block; width: calc(var(--profile, 50) * 1%); height: 100%; background: var(--mint); transition: width .45s; }
.profile-monitor em { font: 10px var(--mono); font-style: normal; }
.profile-monitor p { margin: 0; padding-left: 26px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }

.workspace-section { min-height: 110svh; }
.workspace-demo { display: grid; grid-template-columns: 190px 1fr; min-height: 560px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #0a0f15; overflow: hidden; box-shadow: 0 45px 120px rgba(0,0,0,.3); }
.workspace-tabs { padding: 22px 12px; border-right: 1px solid var(--line); background: rgba(255,255,255,.012); }
.workspace-tabs button { display: grid; grid-template-columns: 26px 1fr; width: 100%; padding: 16px 12px; border-radius: 8px; background: transparent; color: var(--dim); text-align: left; cursor: pointer; }
.workspace-tabs button.is-active { background: var(--mint-soft); color: var(--text); }
.workspace-tabs i { color: var(--dim); font: 8px var(--mono); font-style: normal; }
.workspace-tabs span { font-size: 12px; }
.workspace-preview { min-width: 0; }
.preview-top { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); }
.preview-top > span { display: flex; gap: 5px; }
.preview-top > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.preview-top b { font-size: 11px; font-weight: 500; }
.preview-top em { padding: 6px 9px; border: 1px solid rgba(121,239,204,.25); border-radius: 5px; color: var(--mint); font: 8px var(--mono); font-style: normal; }
.preview-canvas { position: relative; height: calc(100% - 56px); padding: 44px; background: radial-gradient(circle at 50% 45%, rgba(92,146,134,.055), transparent 48%); }
.preview-canvas > div { width: min(680px, 90%); height: 100%; margin: auto; }
.chat-preview { padding-top: 30px; }
.user-message { width: 70%; margin: 0 0 38px auto; padding: 17px 20px; border: 1px solid var(--line); border-radius: 13px 13px 2px 13px; background: rgba(255,255,255,.035); color: #cbd6d3; font-size: 13px; line-height: 1.5; }
.thinking-line { display: flex; align-items: center; gap: 11px; color: var(--mint); font: 9px var(--mono); }
.thinking-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.answer-lines { display: grid; gap: 10px; margin-top: 25px; }
.answer-lines i { display: block; width: 90%; height: 7px; border-radius: 4px; background: rgba(183,203,198,.13); }
.answer-lines i:nth-child(2) { width: 76%; }.answer-lines i:nth-child(3) { width: 84%; }.answer-lines i:nth-child(4) { width: 48%; }
.preview-canvas small { display: block; margin-top: 30px; color: var(--dim); font: 9px var(--mono); }
.code-preview > span { color: var(--dim); font: 9px var(--mono); }
.code-preview code { display: block; margin-top: 32px; padding: 30px; border: 1px solid var(--line); border-radius: 10px; color: #a9b9b7; font: 14px/2 var(--mono); }
.code-preview code i { color: var(--blue); font-style: normal; }.code-preview code b { color: var(--mint); font-weight: 400; }
.generated-art { position: relative; height: 270px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: linear-gradient(145deg, #152127, #102b2a 44%, #6c6a54); }
.generated-art i { position: absolute; display: block; border-radius: 50%; filter: blur(2px); }
.generated-art i:nth-child(1) { width: 190px; height: 190px; left: 22%; top: 18%; background: #43796f; }
.generated-art i:nth-child(2) { width: 120px; height: 220px; left: 46%; top: 6%; border-radius: 60% 40%; background: #d0bb82; opacity: .65; }
.generated-art i:nth-child(3) { inset: auto 0 0; height: 45%; border-radius: 0; background: linear-gradient(transparent, rgba(6,12,14,.8)); }
.image-preview p, .video-preview p, .voice-preview p, .agent-preview p { color: var(--muted); font: 10px var(--mono); text-align: center; }
.video-frame { position: relative; display: grid; height: 275px; place-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: linear-gradient(145deg, #0f1b25, #25403d 60%, #0c151b); }
.video-frame::before { content: ""; position: absolute; width: 50%; height: 170%; background: rgba(121,239,204,.07); transform: rotate(28deg); }
.video-frame span { z-index: 1; display: grid; width: 50px; height: 50px; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.25); }
.waveform { height: 260px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.waveform i { width: 5px; height: 20%; border-radius: 5px; background: var(--mint); box-shadow: 0 0 10px rgba(121,239,204,.2); }
.waveform i:nth-child(2), .waveform i:nth-child(8) { height: 38%; }.waveform i:nth-child(3), .waveform i:nth-child(7) { height: 60%; }.waveform i:nth-child(4), .waveform i:nth-child(6) { height: 85%; }.waveform i:nth-child(5) { height: 48%; }
.agent-preview { padding-top: 90px; }
.mini-flow { display: flex; align-items: center; justify-content: center; gap: 14px; }
.mini-flow span { padding: 15px 18px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--muted); font: 9px var(--mono); }
.mini-flow i { width: 50px; height: 1px; background: linear-gradient(90deg, var(--mint), var(--line)); }

.chat-product { width: min(960px, 100%); margin: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #0a0f15; box-shadow: 0 50px 120px rgba(0,0,0,.3); overflow: hidden; }
.chat-bar { display: flex; align-items: center; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.chat-bar > span { display: flex; align-items: center; gap: 9px; margin-right: auto; color: var(--muted); font-size: 10px; }
.chat-bar > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.chat-bar button { padding: 7px 10px; border: 1px solid rgba(121,239,204,.25); border-radius: 6px; background: var(--mint-soft); color: var(--mint); font: 9px var(--mono); }
.chat-bar em { margin-left: auto; color: var(--dim); font-style: normal; }
.chat-body { min-height: 470px; padding: 44px 64px; }
.chat-question { max-width: 600px; margin: 0 0 42px auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 13px 13px 2px 13px; background: rgba(255,255,255,.035); color: #d1dbd8; font-size: 13px; line-height: 1.6; }
.chat-answer { max-width: 720px; }
.answer-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.auto-badge { padding: 6px 8px; border: 1px solid rgba(121,239,204,.28); border-radius: 5px; color: var(--mint); font: 8px var(--mono); }
.answer-meta b { font-size: 12px; }
.answer-meta small { color: var(--dim); font: 8px var(--mono); }
.chat-answer > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.artifact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.artifact-row span { padding: 14px; border: 1px solid var(--line); border-radius: 8px; font: 10px var(--mono); }
.artifact-row small { display: block; margin-top: 6px; color: var(--dim); font-size: 8px; }
.trace-toggle { width: 100%; display: flex; justify-content: space-between; margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--line); background: transparent; color: var(--dim); font: 9px var(--mono); cursor: pointer; }
.routing-trace { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.routing-trace span { padding: 14px 8px; border-right: 1px solid var(--line); }
.routing-trace i, .routing-trace b, .routing-trace small { display: block; }
.routing-trace i { color: var(--mint); font-style: normal; }.routing-trace b { margin: 7px 0 4px; font: 9px var(--mono); }.routing-trace small { color: var(--dim); font-size: 8px; }
.composer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; margin: 0 18px 18px; padding: 11px 12px 11px 17px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.025); }
.composer > span { color: var(--dim); }.composer p { margin: 0; color: var(--dim); font-size: 12px; }.composer small { color: var(--mint); font: 8px var(--mono); }
.composer button { width: 30px; height: 30px; border-radius: 7px; background: var(--mint); color: #08110f; }

.memory-section { min-height: 100svh; background: linear-gradient(90deg, rgba(7,10,14,.98) 0%, rgba(7,10,14,.76) 48%, rgba(7,10,14,.18) 72%, transparent); }
.memory-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; border: 1px solid var(--line); background: var(--line); }
.memory-items span { padding: 17px; background: rgba(7,10,14,.88); color: var(--muted); font-size: 11px; }
.memory-items i { margin-right: 18px; color: var(--dim); font: 8px var(--mono); font-style: normal; }

.agent-workflow { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 430px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.agent-brief { padding: 54px; border-right: 1px solid var(--line); }
.agent-brief > small, .agent-tools > small { color: var(--mint); font: 8px var(--mono); letter-spacing: .12em; }
.agent-brief h3 { margin: 24px 0 14px; font-size: 32px; font-weight: 500; letter-spacing: -.03em; }
.agent-brief p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.agent-brief > span { display: flex; align-items: center; gap: 10px; margin-top: 60px; color: var(--dim); font: 9px var(--mono); }
.agent-brief > span i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.agent-steps { padding: 36px 44px 88px; }
.agent-steps span { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; padding: 19px 4px; border-bottom: 1px solid var(--line); }
.agent-steps i { color: var(--dim); font: 8px var(--mono); font-style: normal; }
.agent-steps b { font-size: 12px; font-weight: 500; }
.agent-steps small { color: var(--mint); font: 8px var(--mono); }
.agent-tools { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; align-self: end; height: 64px; margin-top: -64px; padding: 0 54px; border-top: 1px solid var(--line); }
.agent-tools > small { margin-right: auto; color: var(--dim); }
.agent-tools span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--dim); font: 8px var(--mono); }

.api-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.code-window, .api-controls { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.window-bar { display: flex; align-items: center; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.window-bar > span { display: flex; gap: 5px; }.window-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.window-bar em { margin: auto; color: var(--dim); font: 8px var(--mono); font-style: normal; }
.window-bar button { background: transparent; color: var(--dim); font: 8px var(--mono); cursor: pointer; }
.code-window pre { min-height: 270px; margin: 0; padding: 38px 44px; overflow: auto; color: #8d9d9b; font: 13px/2 var(--mono); }
.code-window code span { color: var(--blue); }.code-window code b { color: var(--mint); font-weight: 400; }
.endpoint { padding: 15px 20px; border-top: 1px solid var(--line); color: var(--dim); font: 9px var(--mono); }
.endpoint i { margin-right: 13px; color: var(--mint); font-style: normal; }
.api-controls { padding: 14px 28px; }
.api-controls > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 22px 2px; border-bottom: 1px solid var(--line); }
.api-controls > div:last-child { border: 0; }
.api-controls span { color: var(--dim); font: 8px var(--mono); letter-spacing: .1em; }
.api-controls b { grid-column: 1; font: 11px var(--mono); font-weight: 400; }
.api-controls em, .api-controls small { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--mint); font: 8px var(--mono); font-style: normal; }
.api-controls i { grid-column: 1 / 3; height: 2px; background: var(--line); }
.api-controls u { display: block; width: 48%; height: 100%; background: var(--mint); text-decoration: none; }

.usage-receipt { width: min(1000px, 100%); margin: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.receipt-head { display: flex; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.receipt-head span { color: var(--mint); font: 8px var(--mono); letter-spacing: .1em; }.receipt-head span i { display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.receipt-head small { color: var(--dim); font: 8px var(--mono); }
.receipt-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.receipt-grid div { min-height: 130px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.receipt-grid div:nth-child(3n) { border-right: 0; }.receipt-grid div:nth-last-child(-n+3) { border-bottom: 0; }
.receipt-grid small, .receipt-grid b, .receipt-grid span { display: block; }
.receipt-grid small { color: var(--dim); font: 8px var(--mono); letter-spacing: .1em; }
.receipt-grid b { margin: 17px 0 7px; font-size: 18px; font-weight: 500; }
.receipt-grid span { color: var(--dim); font-size: 9px; }

.final { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.final::before { background: radial-gradient(circle at 50% 50%, transparent 10%, rgba(7,10,14,.22) 45%, rgba(7,10,14,.8) 80%); }
.final-copy { z-index: 3; width: min(900px, calc(100% - 40px)); padding-top: 44vh; }
.final-copy .eyebrow::before { display: none; }
.final-copy .lead { margin-top: 18px; }
.final-copy .hero-actions { justify-content: center; margin-top: 26px; }
footer { min-height: 92px; display: flex; align-items: center; gap: 30px; padding: 0 max(32px, calc((100vw - 1480px) / 2)); border-top: 1px solid var(--line); background: var(--bg); }
footer p { margin: 0 auto; color: var(--dim); font: 8px var(--mono); letter-spacing: .09em; }
footer > div { display: flex; gap: 24px; }
footer > div a { color: var(--dim); font-size: 10px; }

.reveal, .line-reveal > span, .stagger > * { opacity: 0; transform: translateY(18px); filter: blur(5px); transition: opacity .75s ease, transform .75s ease, filter .75s ease; }
.line-reveal > span { transform: translateY(105%); filter: none; }
.line-reveal { overflow: hidden; padding-bottom: .06em; }
.line-reveal > span:nth-child(2) { transition-delay: .08s; }
.stagger > *:nth-child(2) { transition-delay: .05s; }.stagger > *:nth-child(3) { transition-delay: .1s; }.stagger > *:nth-child(4) { transition-delay: .15s; }.stagger > *:nth-child(5) { transition-delay: .2s; }.stagger > *:nth-child(6) { transition-delay: .25s; }
.is-visible.reveal, .is-visible .reveal, .is-visible.line-reveal > span, .is-visible .line-reveal > span, .is-visible.stagger > *, .is-visible .stagger > * { opacity: 1; transform: translateY(0); filter: none; }
.hero .reveal, .hero .line-reveal > span { opacity: 1; transform: translateY(0); filter: none; }

@media (max-width: 1180px) {
  .desktop-nav { gap: 20px; }
  .hero-copy { width: 48vw; }
  .section-shell { width: min(100% - 48px, 1120px); }
  .section-heading.compact { gap: 42px; }
  .auto-mode { padding: 44px; }
  .route-metrics { display: none; }
}

@media (max-width: 900px) {
  .nav-shell { width: calc(100% - 36px); }
  .desktop-nav, .login-link { display: none; }
  .nav-actions { margin-left: auto; gap: 10px; }
  .menu-toggle { display: block; }
  .hero { min-height: 920px; }
  .hero::before { background: linear-gradient(180deg, rgba(7,10,14,.8) 0%, rgba(7,10,14,.48) 48%, rgba(7,10,14,.92) 84%); }
  .hero-copy { top: 120px; left: 24px; width: calc(100% - 48px); translate: 0; text-align: center; }
  .hero-copy .eyebrow::before { display: none; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-orbit-label { top: 48%; right: 24px; }
  .scroll-cue { display: none; }
  .section { padding: 110px 0; min-height: auto; }
  .auto-intro, .multi-section, .memory-section { min-height: 980px; align-items: start; background: linear-gradient(180deg, rgba(7,10,14,.97) 0%, rgba(7,10,14,.78) 44%, rgba(7,10,14,.08) 75%, transparent); }
  .split-left { grid-template-columns: 1fr; }
  .content-column { max-width: 680px; }
  .section-heading.compact { grid-template-columns: 1fr; gap: 8px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .model-list { grid-template-columns: repeat(2, 1fr); }
  .profiles { grid-template-columns: repeat(5, minmax(135px, 1fr)); overflow-x: auto; }
  .profile-monitor { grid-template-columns: repeat(3, 1fr); }
  .profile-monitor p { grid-column: 1 / 4; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .workspace-demo { grid-template-columns: 1fr; }
  .workspace-tabs { display: flex; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-tabs button { display: flex; gap: 8px; min-width: 100px; }
  .api-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { height: 64px; }
  .mobile-nav { top: 63px; }
  .nav-actions .button { display: none; }
  .brand { font-size: 14px; }
  .hero { min-height: 844px; }
  .hero-copy { top: 100px; }
  h1 { font-size: clamp(36px, 10vw, 48px); line-height: 1.02; }
  h2 { font-size: clamp(35px, 10vw, 48px); line-height: 1.02; }
  .hero-text { margin-top: 18px; font-size: 14px; line-height: 1.55; }
  .hero-actions { margin-top: 22px; gap: 18px; }
  .button { min-height: 44px; padding: 0 15px; gap: 13px; }
  .hero-orbit-label { top: 62%; font-size: 7px; }
  .section-shell { width: calc(100% - 36px); }
  .section { padding: 90px 0; }
  .auto-intro, .multi-section, .memory-section { min-height: 850px; }
  .eyebrow { margin-bottom: 16px; }
  .lead { margin-top: 18px; font-size: 14px; }
  .section-heading { margin-bottom: 32px; }
  .decision-section .section-heading { text-align: left; }
  .decision-section .section-heading .eyebrow::before { display: inline-block; }
  .routing-demo { border-radius: 12px; }
  .task-switcher button { flex: 1; }
  .task-prompt { grid-template-columns: 1fr; gap: 11px; padding: 24px 20px; }
  .signal-grid { padding: 4px 20px 24px; gap: 16px; }
  .route-result { gap: 12px; padding: 18px 20px; }
  .route-result > span { display: none; }
  .route-result small { max-width: 160px; }
  .pipeline div { grid-template-columns: 34px 1fr auto; }
  .auto-mode { min-height: 350px; grid-template-columns: 1fr; padding: 32px 22px; }
  .auto-status { display: block; }
  .auto-pulse { width: 64px; height: 64px; margin-bottom: 26px; }
  .mode-toggle button { flex: 1; min-width: 0; }
  .manual-mode { padding: 20px 16px 28px; }
  .model-list { gap: 7px; }
  .model-list button { min-height: 65px; padding: 9px; }
  .profiles-section { overflow: hidden; }
  .profiles { margin-right: -18px; border-right: 0; border-radius: 12px 0 0 0; }
  .profile-monitor { grid-template-columns: 1fr; gap: 18px; }
  .profile-monitor p { grid-column: auto; }
  .workspace-demo { min-height: 570px; }
  .workspace-tabs button { min-width: 86px; }
  .workspace-tabs i { display: none; }
  .preview-canvas { min-height: 480px; padding: 25px 16px; }
  .preview-canvas > div { width: 100%; }
  .user-message { width: 88%; }
  .generated-art, .video-frame { height: 230px; }
  .mini-flow { gap: 7px; }
  .mini-flow span { padding: 12px 9px; }
  .mini-flow i { width: 20px; }
  .chat-body { min-height: 520px; padding: 30px 18px; }
  .answer-meta { grid-template-columns: auto 1fr; }
  .answer-meta small { grid-column: 2; }
  .artifact-row { grid-template-columns: 1fr; }
  .routing-trace { grid-template-columns: repeat(2, 1fr); }
  .composer small { display: none; }
  .memory-items { grid-template-columns: 1fr; }
  .agent-workflow { grid-template-columns: 1fr; }
  .agent-brief { padding: 32px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .agent-brief h3 { font-size: 26px; }
  .agent-brief > span { margin-top: 32px; }
  .agent-steps { padding: 20px 24px 80px; }
  .agent-tools { grid-column: 1; padding: 0 24px; overflow-x: auto; }
  .code-window pre { padding: 28px 20px; font-size: 11px; }
  .receipt-grid { grid-template-columns: repeat(2, 1fr); }
  .receipt-grid div:nth-child(3n) { border-right: 1px solid var(--line); }
  .receipt-grid div:nth-child(2n) { border-right: 0; }
  .receipt-grid div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .receipt-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .receipt-head { gap: 20px; }
  .final-copy { padding-top: 43vh; }
  footer { min-height: 150px; flex-wrap: wrap; justify-content: space-between; padding: 30px 22px; }
  footer p { order: 3; width: 100%; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .hero-copy { top: 52%; }
  .hero-text { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .section { padding-top: 100px; padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .line-reveal > span, .stagger > * { opacity: 1; transform: none; filter: none; }
}
