:root {
  --ink: #070a12;
  --ink-2: #0c111d;
  --surface: #101826;
  --surface-2: #162235;
  --paper: #f5f7fa;
  --paper-2: #e8edf4;
  --text: #f4f7fb;
  --muted: #aeb8c8;
  --dark-text: #0b1020;
  --dark-muted: #526078;
  --blue: #5b7cfa;
  --blue-dark: #243b8f;
  --cyan: #3be6c4;
  --amber: #ffb86b;
  --line: rgba(255, 255, 255, 0.13);
  --dark-line: rgba(11, 16, 32, 0.14);
  --container: 1240px;
  --radius: 22px;
  --shadow: 0 30px 90px rgba(2, 6, 18, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--ink);
  background: var(--cyan);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

svg {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: var(--ink);
  background: var(--cyan);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  z-index: 50;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  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");
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid transparent;
  transition: min-height 250ms ease, background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  border-color: var(--line);
  background: rgba(7, 10, 18, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: fit-content;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 25px;
  height: 25px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.brand-mark i {
  display: block;
  width: 2px;
  border-radius: 4px;
  background: var(--cyan);
}

.brand-mark i:nth-child(1) { height: 6px; }
.brand-mark i:nth-child(2) { height: 11px; }
.brand-mark i:nth-child(3) { height: 8px; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
}

.main-nav a,
.language-link {
  position: relative;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  content: "";
  transition: transform 180ms ease;
}

.main-nav a:hover,
.language-link:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 20px;
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.text-link svg,
.service-card a svg,
.project-points svg {
  transition: transform 180ms ease;
}

.button:hover svg,
.text-link:hover svg,
.service-card a:hover svg,
.project-points li:hover svg {
  transform: translateX(4px);
}

.button-small {
  min-height: 38px;
  padding-inline: 17px;
  color: var(--ink);
  background: var(--text);
}

.button-primary {
  color: var(--ink);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 12px 38px rgba(91, 124, 250, 0.22);
}

.button-primary:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 16px 48px rgba(59, 230, 196, 0.18);
}

.button-dark {
  color: var(--text);
  border-color: var(--ink);
  background: var(--ink);
}

.button-wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 142px 0 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(91, 124, 250, 0.09), transparent 30%),
    linear-gradient(180deg, #070a12 0%, #080c15 100%);
}

.hero-grid,
.final-grid {
  position: absolute;
  inset: 0;
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 82%);
  mask-image: linear-gradient(to bottom, black 10%, transparent 82%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-one {
  top: 16%;
  right: 6%;
  width: 360px;
  height: 360px;
  opacity: 0.16;
  background: var(--blue);
}

.hero-glow-two {
  top: 50%;
  left: 10%;
  width: 260px;
  height: 260px;
  opacity: 0.08;
  background: var(--cyan);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  min-height: 590px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--blue-dark);
}

.signal-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.signal-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(59, 230, 196, 0.45);
  border-radius: inherit;
  content: "";
  animation: signal 2.4s ease-out infinite;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "SF Pro Display", Inter, "Segoe UI", sans-serif;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(4.1rem, 7vw, 7.8rem);
  font-weight: 780;
  line-height: 0.91;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--text) 8%, #9fb1ff 58%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy > p {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.26rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 700;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.74rem;
}

.trust-tags li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-tags svg {
  color: var(--cyan);
}

.agent-stage {
  position: relative;
  min-height: 500px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(91, 124, 250, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
  content: "";
}

.orbit-one {
  width: 500px;
  height: 500px;
  animation: spin 18s linear infinite;
}

.orbit-two {
  width: 390px;
  height: 390px;
  border-color: rgba(255, 255, 255, 0.09);
  animation: spin-reverse 14s linear infinite;
}

.agent-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(100%, 490px);
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(-1deg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(13, 20, 33, 0.88);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.agent-topbar,
.agent-status,
.upload-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-topbar {
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #c4cede;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #536176;
}

.agent-status {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
}

.agent-status span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
}

.agent-status i,
.status-chip i,
.live-label i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(59, 230, 196, 0.7);
}

.agent-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 295px;
  padding: 28px 22px 22px;
}

.chat-bubble {
  max-width: 88%;
  padding: 13px 15px;
  border-radius: 15px;
  font-size: 0.77rem;
  line-height: 1.55;
}

.chat-user {
  align-self: flex-end;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom-right-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
}

.chat-agent {
  display: flex;
  gap: 11px;
  align-self: flex-start;
  border: 1px solid rgba(91, 124, 250, 0.22);
  border-bottom-left-radius: 4px;
  background: rgba(91, 124, 250, 0.1);
}

.chat-agent p {
  margin: 0;
  color: #d8dfeb;
}

.mini-brand {
  display: grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(59, 230, 196, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 800;
}

.source-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-left: 33px;
  padding: 6px 9px;
  border: 1px solid rgba(59, 230, 196, 0.2);
  border-radius: 7px;
  color: #9acabd;
  background: rgba(59, 230, 196, 0.06);
  font-size: 0.58rem;
}

.agent-trace {
  display: grid;
  grid-template-columns: 8px 8px 8px 1fr;
  align-items: center;
  gap: 6px;
  min-height: 45px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
}

.agent-trace > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.agent-trace > span:nth-child(2) { opacity: 0.65; }
.agent-trace > span:nth-child(3) { opacity: 0.35; }

.agent-trace p {
  margin: 0 0 0 6px;
  color: #78869c;
  font-size: 0.59rem;
}

.capability-rail {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-rail a {
  position: relative;
  display: grid;
  min-height: 118px;
  padding: 18px 18px 15px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease;
}

.capability-rail a:first-child {
  border-left: 1px solid var(--line);
}

.capability-rail a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.capability-rail a > span {
  color: #617086;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.56rem;
}

.capability-rail strong {
  align-self: end;
  font-size: 0.78rem;
}

.capability-rail small {
  overflow: hidden;
  color: #7e8a9d;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capability-rail svg {
  position: absolute;
  top: 18px;
  right: 16px;
  color: #59677b;
  font-size: 0.8rem;
}

.section {
  position: relative;
  padding: clamp(96px, 11vw, 160px) 0;
}

.section-light,
.contrast-section,
.project-section {
  color: var(--dark-text);
  background: var(--paper);
}

.section-dark {
  background: var(--ink-2);
}

.split-layout,
.contrast-layout,
.future-layout,
.project-layout,
.bot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(64px, 10vw, 150px);
}

.sticky-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.section-copy h2,
.section-intro h2,
.system-heading h2,
.trust-heading h2,
.final-content h2 {
  margin-bottom: 26px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 760;
  line-height: 0.98;
}

.section-copy > p,
.section-intro > p,
.system-heading > p,
.final-content > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.section-light .section-copy > p,
.contrast-section .section-copy > p,
.project-section .section-copy > p,
.system-heading > p {
  color: var(--dark-muted);
}

.calculator {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(28, 44, 80, 0.1);
}

.calculator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 25px;
  border-bottom: 1px solid var(--dark-line);
  font-size: 0.78rem;
  font-weight: 750;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
}

.calculator-controls {
  display: grid;
  gap: 34px;
  padding: 32px 25px 28px;
}

.calculator-controls > label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  color: var(--dark-muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.calculator-controls label strong {
  color: var(--dark-text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  height: 3px;
  accent-color: var(--blue-dark);
  cursor: pointer;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 14px;
}

.number-field {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.number-field input,
.number-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  color: var(--dark-text);
  background: var(--paper);
}

.calculator-result {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  background: var(--ink);
}

.calculator-result > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 138px;
  padding: 24px;
}

.calculator-result > div + div {
  border-left: 1px solid var(--line);
}

.calculator-result strong {
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.calculator-result span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.65rem;
}

.calculator-note {
  margin: 0;
  padding: 14px 24px;
  color: #738096;
  font-size: 0.6rem;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -50px;
}

.section-intro h2,
.section-intro p {
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition: background 240ms ease;
}

.service-card::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(91, 124, 250, 0.22), transparent 68%);
  content: "";
  transition: opacity 240ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.035);
}

.service-card:hover::after {
  opacity: 1;
}

.service-number {
  color: #637086;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
}

.service-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 38px 0 34px;
  border: 1px solid rgba(91, 124, 250, 0.36);
  border-radius: 50%;
}

.service-icon::before,
.service-icon::after,
.service-icon span {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.service-icon::before {
  inset: 12px;
  border: 1px solid rgba(59, 230, 196, 0.3);
}

.service-icon::after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.service-icon span:first-child {
  top: 6px;
  left: 31px;
  width: 7px;
  height: 7px;
  background: var(--blue);
}

.service-icon span:last-child {
  right: 4px;
  bottom: 14px;
  width: 5px;
  height: 5px;
  background: var(--amber);
}

.service-card h3 {
  margin-bottom: 13px;
  font-size: 1.65rem;
}

.service-card > strong {
  display: block;
  margin-bottom: 15px;
  color: #dfe5ef;
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-card > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.79rem;
}

.service-card > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--cyan);
  font-size: 0.69rem;
  font-weight: 750;
}

.contrast-layout {
  align-items: start;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 90px rgba(25, 40, 72, 0.1);
}

.comparison-card {
  min-height: 410px;
  padding: 28px;
}

.comparison-card > span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
}

.comparison-card h3 {
  margin: 70px 0 34px;
  font-size: 1.65rem;
}

.comparison-card ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  display: flex;
  gap: 11px;
  font-size: 0.75rem;
  line-height: 1.45;
}

.comparison-generic {
  color: #354056;
  border: 1px solid var(--dark-line);
  background: #fff;
}

.comparison-generic svg {
  color: #9c5361;
}

.comparison-consai {
  color: var(--text);
  border: 1px solid var(--ink);
  background: var(--ink);
}

.comparison-consai li {
  color: #cad3e1;
}

.comparison-consai svg {
  color: var(--cyan);
}

.bot-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 45%, rgba(91, 124, 250, 0.13), transparent 30%),
    #080c15;
}

.bot-beam {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 70%;
  height: 1px;
  transform: rotate(-12deg);
  background: linear-gradient(90deg, transparent, rgba(59, 230, 196, 0.6), transparent);
  box-shadow: 0 0 30px rgba(59, 230, 196, 0.2);
}

.bot-layout {
  align-items: center;
}

.bot-steps {
  display: grid;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.bot-steps > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.bot-steps > div > span {
  color: #627188;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
}

.bot-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.bot-steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 0.82rem;
}

.upload-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 26px;
  background: rgba(16, 24, 38, 0.82);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.upload-top {
  padding: 2px 3px 18px;
  color: #8190a6;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 300px;
  padding: 32px;
  border: 1px dashed rgba(91, 124, 250, 0.55);
  border-radius: 17px;
  color: var(--text);
  background:
    linear-gradient(rgba(91, 124, 250, 0.035), rgba(91, 124, 250, 0.035)),
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(255, 255, 255, 0.025) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(255, 255, 255, 0.025) 30px);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.upload-zone:hover {
  border-color: var(--cyan);
  background-color: rgba(59, 230, 196, 0.035);
}

.upload-zone svg {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  padding: 12px;
  border: 1px solid rgba(59, 230, 196, 0.3);
  border-radius: 50%;
  color: var(--cyan);
}

.upload-zone strong {
  margin-bottom: 8px;
  font-size: 1rem;
}

.upload-zone span {
  color: var(--muted);
  font-size: 0.68rem;
}

.upload-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 3px 18px;
  color: #8f9db1;
  font-size: 0.63rem;
}

.upload-privacy svg {
  color: var(--cyan);
}

.bot-message {
  min-height: 0;
  margin: 12px 4px 0;
  color: var(--amber);
  font-size: 0.68rem;
}

.bot-message:empty {
  display: none;
}

.system-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 80px;
}

.system-heading h2,
.system-heading p {
  margin-bottom: 0;
}

.system-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
}

.system-flow::before {
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 0;
  width: 25%;
  height: 1px;
  background: var(--blue-dark);
  box-shadow: 0 0 20px rgba(36, 59, 143, 0.55);
  content: "";
  animation: flow-line 5s ease-in-out infinite;
}

.system-flow article {
  position: relative;
  min-height: 280px;
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--dark-line);
}

.system-flow article + article {
  padding-left: 24px;
}

.system-flow article > span {
  color: #718099;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
}

.flow-pulse {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-dark);
}

.system-flow article + article .flow-pulse {
  left: 24px;
}

.system-flow h3 {
  margin: 108px 0 12px;
  color: var(--blue-dark);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.system-flow p {
  max-width: 220px;
  margin: 0;
  color: var(--dark-muted);
  font-size: 0.72rem;
}

.future-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 90%, rgba(59, 230, 196, 0.08), transparent 27%),
    var(--ink);
}

.future-layout {
  align-items: center;
}

.future-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 34px;
}

.future-timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 5px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--blue), rgba(91, 124, 250, 0.1));
  content: "";
}

.future-timeline > div {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  min-height: 110px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.future-timeline > div::before {
  position: absolute;
  top: 34px;
  left: -33px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.future-timeline span {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
}

.future-timeline p {
  margin: 0;
  color: #dbe2ed;
  font-size: 0.86rem;
}

.project-section {
  overflow: hidden;
}

.project-layout {
  position: relative;
  z-index: 2;
  align-items: center;
}

.project-section .button {
  margin-top: 34px;
}

.project-signal {
  position: absolute;
  top: 10%;
  right: -7%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(36, 59, 143, 0.13);
  border-radius: 50%;
}

.project-signal::before,
.project-signal::after {
  position: absolute;
  border: 1px solid rgba(36, 59, 143, 0.11);
  border-radius: 50%;
  content: "";
}

.project-signal::before { inset: 70px; }
.project-signal::after { inset: 140px; }

.project-signal i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-dark);
}

.project-signal i:nth-child(1) { top: 20%; left: 11%; }
.project-signal i:nth-child(2) { top: 70%; left: 17%; }
.project-signal i:nth-child(3) { top: 28%; right: 14%; }
.project-signal i:nth-child(4) { right: 25%; bottom: 12%; background: var(--cyan); }

.project-points {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--dark-line);
  list-style: none;
}

.project-points li {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  min-height: 86px;
  padding: 0 4px;
  border-bottom: 1px solid var(--dark-line);
}

.project-points span {
  color: #728098;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
}

.project-points strong {
  font-size: 0.85rem;
}

.project-points svg {
  color: var(--blue-dark);
}

.trust-section {
  background: #0a0f19;
}

.trust-heading {
  max-width: 820px;
  margin-bottom: 64px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trust-grid article {
  min-height: 290px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid article > span {
  color: #607087;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
}

.trust-grid article > svg {
  display: block;
  width: 30px;
  height: 30px;
  margin: 52px 0 26px;
  color: var(--cyan);
}

.trust-grid h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.final-section {
  position: relative;
  display: grid;
  min-height: 700px;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(91, 124, 250, 0.24), transparent 33%),
    var(--ink);
}

.final-grid {
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(circle, black, transparent 65%);
  mask-image: radial-gradient(circle, black, transparent 65%);
}

.final-content {
  position: relative;
  z-index: 2;
  max-width: 970px;
  padding: 100px 0;
}

.final-content .eyebrow {
  justify-content: center;
}

.final-content h2 {
  font-size: clamp(3.4rem, 7vw, 7.3rem);
}

.final-content > p {
  margin: 0 auto 34px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #05070c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 160px;
}

.footer-main p {
  justify-self: center;
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.footer-main .language-link {
  justify-self: end;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-top: 1px solid var(--line);
  color: #657186;
  font-size: 0.62rem;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes signal {
  0% { opacity: 0.8; transform: scale(0.5); }
  75%, 100% { opacity: 0; transform: scale(1.7); }
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes flow-line {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(300%); }
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr 0.82fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 8vw, 6.4rem);
  }

  .agent-stage {
    min-height: 440px;
  }

  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 340px; height: 340px; }

  .capability-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .capability-rail a:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .split-layout,
  .contrast-layout,
  .future-layout,
  .project-layout,
  .bot-layout {
    gap: 64px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding-inline: 17px;
  }

  .site-header .header-actions .button {
    display: none;
  }

  .menu-button {
    display: grid;
    justify-self: end;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
  }

  .menu-button span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text);
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 17px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 10, 18, 0.97);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .header-actions {
    position: absolute;
    top: 25px;
    right: 73px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-layout,
  .split-layout,
  .contrast-layout,
  .future-layout,
  .project-layout,
  .bot-layout,
  .system-heading,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 45px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .agent-stage {
    min-height: 480px;
  }

  .sticky-copy {
    position: static;
  }

  .section-intro {
    gap: 22px;
    margin-bottom: 45px;
  }

  .section-intro .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .comparison {
    max-width: 650px;
  }

  .system-heading {
    gap: 24px;
  }

  .system-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-flow::before {
    display: none;
  }
}

@media (max-width: 580px) {
  .hero {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.1rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .trust-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .agent-stage {
    min-height: 420px;
  }

  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 310px; height: 310px; }

  .agent-card {
    width: 100%;
  }

  .agent-topbar {
    font-size: 0.54rem;
  }

  .agent-chat {
    min-height: 260px;
    padding: 22px 16px 18px;
  }

  .chat-bubble {
    max-width: 95%;
    font-size: 0.7rem;
  }

  .capability-rail {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: 28px;
  }

  .capability-rail a,
  .capability-rail a:nth-child(4) {
    min-height: 105px;
    border-left: 0;
  }

  .capability-rail a:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .section {
    padding: 88px 0;
  }

  .section-copy h2,
  .section-intro h2,
  .system-heading h2,
  .trust-heading h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .calculator-controls {
    padding-inline: 18px;
  }

  .field-row,
  .calculator-result,
  .comparison,
  .services-grid,
  .trust-grid,
  .system-flow {
    grid-template-columns: 1fr;
  }

  .calculator-result > div + div,
  .comparison-card + .comparison-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-card {
    min-height: 390px;
  }

  .comparison-card {
    min-height: 340px;
  }

  .comparison-card h3 {
    margin-top: 48px;
  }

  .upload-panel {
    padding: 12px;
  }

  .upload-top {
    padding: 5px 3px 15px;
    font-size: 0.52rem;
  }

  .upload-zone {
    min-height: 245px;
    padding-inline: 18px;
  }

  .system-flow article,
  .system-flow article + article {
    min-height: 210px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .system-flow article + article .flow-pulse {
    left: 0;
  }

  .system-flow h3 {
    margin-top: 70px;
  }

  .future-timeline > div {
    grid-template-columns: 80px 1fr;
  }

  .project-signal {
    opacity: 0.4;
  }

  .final-section {
    min-height: 590px;
  }

  .final-content h2 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .footer-main {
    grid-template-columns: 1fr auto;
    gap: 26px;
    padding: 40px 0;
  }

  .footer-main p {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
