:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-elevated: #0a0d13;
  --surface: #10141c;
  --surface-strong: #151b26;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f5f7fb;
  --text-soft: #a9b0bd;
  --text-muted: #717a89;
  --blue: #4a7dff;
  --blue-bright: #76a7ff;
  --cyan: #5ee7f0;
  --paper: #f3f5f8;
  --paper-text: #10141b;
  --paper-soft: #5e6672;
  --max: 1320px;
  --pad: clamp(22px, 5vw, 72px);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'PingFang SC',
    'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(74, 125, 255, 0.38);
  color: #fff;
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.025;
  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='.86' 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;
  inset: 0 0 auto;
  z-index: 30;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(20px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-logo-crop {
  display: inline-flex;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  background: #08081a;
  box-shadow: 0 0 24px rgba(107, 88, 255, 0.24);
}

.brand-logo-crop img {
  display: block;
  width: 36px;
  height: 36px;
  max-width: none;
  flex: none;
  object-fit: cover;
  border-radius: 11px;
}

.brand > img {
  width: 31px;
  height: 31px;
  border-radius: 9px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--text-soft);
  font-size: 13px;
}

.site-header nav a,
.text-action {
  transition: color 180ms ease;
}

.site-header nav a:hover,
.text-action:hover {
  color: #fff;
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #f8f9fb;
  font-size: 13px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.header-action:hover {
  border-color: rgba(118, 167, 255, 0.62);
  background: rgba(74, 125, 255, 0.1);
}

.header-action svg,
.primary-action svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(150px, 17vh, 210px) var(--pad) 110px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: min(860px, 72vw);
  height: min(860px, 72vw);
  top: -300px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(52, 94, 255, 0.24),
    rgba(20, 48, 120, 0.08) 44%,
    transparent 72%
  );
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid,
.execution-grid,
.boundary-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
}

.hero-signal {
  position: absolute;
  top: 118px;
  right: var(--pad);
  display: flex;
  gap: 5px;
}

.hero-signal span {
  width: 34px;
  height: 2px;
  background: var(--line-strong);
}

.hero-signal span:first-child {
  background: var(--blue);
  box-shadow: 0 0 14px rgba(74, 125, 255, 0.8);
}

.hero-copy,
.hero-visual,
.lifecycle-inner,
.prototype-inner,
.workspace-section,
.rich-chat-inner,
.section-heading,
.advantage-list,
.execution-section,
.boundary-section,
.download-section,
.closing-section,
footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(58px, 8.2vw, 132px);
  line-height: 0.91;
  letter-spacing: -0.072em;
  font-weight: 620;
}

.hero h1 em,
.closing-copy h2 em {
  color: var(--blue-bright);
  font-family:
    'SF Pro Display',
    -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    sans-serif;
  font-style: normal;
  font-weight: 560;
}

.hero-copy > p {
  max-width: 720px;
  margin: 42px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.78;
  letter-spacing: -0.012em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid rgba(118, 167, 255, 0.58);
  border-radius: 10px;
  background: #e9f0ff;
  color: #0d162a;
  font-size: 14px;
  font-weight: 620;
  box-shadow: 0 10px 40px rgba(42, 93, 227, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 16px 48px rgba(55, 108, 255, 0.26);
}

.text-action {
  color: var(--text-soft);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 5px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 52px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-facts i,
.mode-status i,
.boundary-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(94, 231, 240, 0.75);
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 108px;
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-origin: center;
  transition: transform 220ms ease-out;
}

.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero-visual::before {
  inset: -34px 8%;
  z-index: -1;
  border: 1px solid rgba(74, 125, 255, 0.2);
  box-shadow: 0 0 120px rgba(42, 87, 213, 0.17);
}

.hero-visual::after {
  left: -10vw;
  right: -10vw;
  top: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 231, 240, 0.48), transparent);
}

.visual-meta,
.visual-footnote,
.mode-screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.visual-meta {
  margin-bottom: 15px;
}

.visual-meta span:first-child {
  color: var(--cyan);
}

.app-frame,
.mode-screen {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #0c1017;
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(74, 125, 255, 0.06) inset;
}

.app-frame-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #0d1118;
}

.app-frame-bar strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #9ba3b0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.app-frame-bar small {
  margin-left: auto;
  color: #596170;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.window-dot {
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
}

.window-dot.red {
  background: #ff5f57;
}

.window-dot.amber {
  background: #febc2e;
}

.window-dot.green {
  background: #28c840;
}

.app-frame img,
.mode-screen img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.screen-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 38px;
  height: 1px;
  opacity: 0.42;
  background: linear-gradient(90deg, transparent, rgba(92, 229, 241, 0.88), transparent);
  animation: scan 7s ease-in-out infinite;
}

.visual-footnote {
  margin-top: 15px;
}

.lifecycle-section {
  position: relative;
  width: 100%;
  padding: 150px var(--pad) 160px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 8%, rgba(74, 125, 255, 0.15), transparent 30%),
    linear-gradient(150deg, #080b12 0%, #05070b 68%);
}

.lifecycle-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.lifecycle-inner {
  position: relative;
  z-index: 2;
}

.section-kicker {
  margin: 0 0 23px;
  color: var(--cyan);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 86px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.lifecycle-track li {
  position: relative;
  min-width: 0;
  min-height: 235px;
  padding: 28px 24px 30px;
  border-right: 1px solid var(--line);
}

.lifecycle-track li:first-child {
  padding-left: 0;
}

.lifecycle-track li:last-child {
  padding-right: 0;
  border-right: 0;
}

.lifecycle-track li::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 24px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--blue-bright);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 16px rgba(74, 125, 255, 0.62);
}

.lifecycle-track li:first-child::before {
  left: 0;
}

.lifecycle-track li > span,
.lifecycle-note,
.rich-chat-capabilities article > span,
.rich-chat-note {
  font-family: 'SF Mono', 'Menlo', monospace;
}

.lifecycle-track li > span {
  color: var(--blue-bright);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.lifecycle-track strong {
  display: block;
  margin-top: 58px;
  color: #f4f7fb;
  font-size: 17px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.lifecycle-track p {
  margin: 13px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.68;
}

.lifecycle-note,
.rich-chat-note {
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: right;
}

.prototype-section {
  position: relative;
  width: 100%;
  padding: 158px var(--pad) 170px;
  overflow: hidden;
  border-top: 1px solid rgba(118, 167, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 78% 13%, rgba(55, 103, 255, 0.19), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(44, 203, 215, 0.07), transparent 28%),
    linear-gradient(155deg, #070a10 0%, #0b1019 46%, #05070b 100%);
}

.prototype-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
}

.prototype-inner {
  position: relative;
  z-index: 2;
}

.prototype-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.prototype-kicker {
  margin: 0 0 24px;
  color: var(--cyan);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.prototype-heading h2 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 90px);
  line-height: 1;
  letter-spacing: -0.062em;
  font-weight: 570;
}

.prototype-heading h2 em,
.point-edit-copy h3 em {
  color: var(--blue-bright);
  font-style: normal;
  font-weight: inherit;
}

.prototype-lead {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.agent-comparison {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  align-items: stretch;
  margin-top: 88px;
  border: 1px solid var(--line);
  background: rgba(6, 9, 14, 0.56);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.comparison-side {
  min-height: 210px;
  padding: 38px 42px;
}

.comparison-side > span {
  display: block;
  margin-bottom: 54px;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.comparison-side strong {
  display: block;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 560;
}

.generic-side {
  color: #77808e;
  background: rgba(255, 255, 255, 0.018);
}

.generic-side > span {
  color: #626b79;
}

.apex-side {
  color: #f8faff;
  background: linear-gradient(135deg, rgba(58, 105, 239, 0.12), rgba(37, 211, 221, 0.035));
}

.apex-side > span {
  color: var(--cyan);
}

.comparison-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-bright);
}

.comparison-arrow i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 167, 255, 0.42));
}

.comparison-arrow i:last-child {
  background: linear-gradient(90deg, rgba(118, 167, 255, 0.42), transparent);
}

.comparison-arrow span {
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 22px;
  text-shadow: 0 0 20px rgba(74, 125, 255, 0.7);
}

.prototype-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(280px, 0.42fr);
  gap: 52px;
  align-items: stretch;
  margin-top: 105px;
}

.prototype-screen {
  min-width: 0;
  margin: 0;
}

.prototype-screen-meta,
.prototype-screen figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prototype-screen-meta {
  margin-bottom: 14px;
}

.prototype-screen-meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
}

.prototype-screen-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(94, 231, 240, 0.72);
}

.prototype-screen-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 199, 255, 0.22);
  border-radius: 16px;
  background: #eef3f9;
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.48),
    0 0 80px rgba(54, 98, 220, 0.08);
}

.prototype-screen-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.prototype-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.prototype-screen figcaption {
  margin-top: 14px;
  justify-content: flex-start;
  line-height: 1.5;
  text-transform: none;
}

.prototype-flow {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.prototype-flow li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 25px 0 27px;
  border-bottom: 1px solid var(--line);
}

.prototype-flow li > span {
  padding-top: 3px;
  color: var(--blue-bright);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
}

.prototype-flow strong {
  color: #f2f5fa;
  font-size: 15px;
  font-weight: 580;
}

.prototype-flow p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.65;
}

.point-edit-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1.58fr);
  gap: 64px;
  align-items: center;
  margin-top: 150px;
  padding-top: 90px;
  border-top: 1px solid var(--line-strong);
}

.point-edit-copy > span {
  color: var(--cyan);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.point-edit-copy h3 {
  margin: 26px 0 0;
  font-size: clamp(45px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 570;
}

.point-edit-copy > p {
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.point-edit-copy ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.point-edit-copy li {
  position: relative;
  padding: 13px 0 13px 20px;
  border-bottom: 1px solid var(--line);
  color: #d8dee8;
  font-size: 12px;
  line-height: 1.5;
}

.point-edit-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--blue-bright);
  transform: rotate(45deg);
}

.workspace-section {
  padding: 150px var(--pad) 170px;
}

.section-heading {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.section-index {
  padding-top: 14px;
  color: var(--blue-bright);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.section-heading h2,
.boundary-intro h2,
.execution-heading h2,
.closing-copy h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.058em;
  font-weight: 560;
}

.section-heading p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.workspace-console {
  margin-top: 80px;
  border-top: 1px solid var(--line-strong);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mode-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 26px 28px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.mode-tabs button:last-child {
  border-right: 0;
}

.mode-tabs button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--blue-bright);
  box-shadow: 0 0 16px rgba(74, 125, 255, 0.75);
  transition: right 260ms ease;
}

.mode-tabs button[aria-selected='true'] {
  color: #fff;
  background: rgba(74, 125, 255, 0.075);
}

.mode-tabs button[aria-selected='true']::after {
  right: 0;
}

.mode-tabs button > span {
  grid-row: 1 / 3;
  color: var(--blue-bright);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
  padding-top: 4px;
}

.mode-tabs strong {
  font-size: 19px;
  font-weight: 590;
  letter-spacing: -0.02em;
}

.mode-tabs small {
  margin-top: 6px;
  font-size: 12px;
}

.mode-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 60px;
  align-items: center;
  min-height: 690px;
  padding: 62px 0 0;
}

.mode-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mode-status,
.boundary-status > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.mode-copy h3 {
  margin: 28px 0 0;
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 560;
}

.mode-copy > p {
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.mode-copy ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.mode-copy li {
  position: relative;
  padding: 13px 0 13px 20px;
  border-bottom: 1px solid var(--line);
  color: #dce1e8;
  font-size: 13px;
}

.mode-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--blue-bright);
  transform: rotate(45deg);
}

.mode-screen {
  min-width: 0;
  width: 100%;
  border-radius: 14px;
}

.mode-screen-bar {
  height: 35px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1118;
}

.mode-screen-bar span:last-child {
  color: var(--blue-bright);
}

.mode-screen img {
  transition:
    opacity 140ms ease,
    transform 260ms ease;
}

.mode-screen img.is-changing {
  opacity: 0;
  transform: scale(0.995);
}

.rich-chat-section {
  position: relative;
  width: 100%;
  padding: 150px var(--pad) 160px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 22%, rgba(52, 94, 255, 0.18), transparent 31%),
    linear-gradient(148deg, #070a10 0%, #0b1019 45%, #05070b 100%);
}

.rich-chat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 72% 42%, #000, transparent 74%);
}

.rich-chat-inner {
  position: relative;
  z-index: 2;
}

.rich-chat-copy {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 30px;
}

.rich-chat-copy .section-index {
  grid-row: 1 / 5;
}

.rich-chat-copy .section-kicker {
  margin-bottom: 24px;
}

.rich-chat-copy h2 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 90px);
  line-height: 1;
  letter-spacing: -0.062em;
  font-weight: 570;
}

.rich-chat-copy > p:last-child {
  max-width: 780px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.rich-chat-stage {
  margin-top: 88px;
}

.rich-chat-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 54px;
  border-top: 1px solid var(--line-strong);
}

.rich-chat-capabilities article {
  padding: 25px 0 27px;
  border-bottom: 1px solid var(--line);
}

.rich-chat-capabilities article > span {
  color: var(--blue-bright);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.rich-chat-capabilities h3 {
  margin: 13px 0 0;
  color: #f2f5fa;
  font-size: 16px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.rich-chat-capabilities p {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.68;
}

.advantage-section {
  width: 100%;
  padding: 150px var(--pad) 140px;
  background: var(--paper);
  color: var(--paper-text);
}

.section-heading.light {
  color: var(--paper-text);
}

.section-heading.light p {
  color: var(--paper-soft);
}

.advantage-list {
  margin-top: 92px;
  border-top: 1px solid rgba(16, 20, 27, 0.22);
}

.advantage-row {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(240px, 0.85fr) minmax(300px, 1.15fr);
  gap: 30px;
  align-items: center;
  min-height: 214px;
  border-bottom: 1px solid rgba(16, 20, 27, 0.2);
  overflow: hidden;
}

.advantage-number {
  color: #52657f;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.advantage-row h3 {
  margin: 0;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 570;
}

.advantage-row p {
  max-width: 580px;
  margin: 0;
  color: var(--paper-soft);
  font-size: 15px;
  line-height: 1.75;
}

.advantage-trace {
  position: absolute;
  left: 120px;
  right: 0;
  bottom: -1px;
  height: 1px;
  overflow: hidden;
}

.advantage-trace span {
  display: block;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3d70ff, transparent);
  animation: trace 5.5s linear infinite;
}

.execution-section {
  position: relative;
  padding: 160px var(--pad) 170px;
  overflow: hidden;
}

.execution-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(47, 93, 232, 0.27), transparent 40%),
    linear-gradient(135deg, #080b12, #05070b 66%);
}

.execution-grid {
  opacity: 0.7;
  mask-image: radial-gradient(circle at center, #000, transparent 82%);
}

.execution-heading,
.execution-path {
  position: relative;
  z-index: 2;
}

.execution-heading > span {
  display: block;
  margin-bottom: 30px;
  color: var(--cyan);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.execution-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 100px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.execution-path li {
  position: relative;
  min-height: 260px;
  padding: 28px 26px 30px 0;
  border-right: 1px solid var(--line);
}

.execution-path li:not(:first-child) {
  padding-left: 26px;
}

.execution-path li:last-child {
  border-right: 0;
}

.execution-path li::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--blue-bright);
  box-shadow: 0 0 18px rgba(74, 125, 255, 0.65);
}

.execution-path li:not(:first-child)::before {
  left: 26px;
}

.execution-path li > span {
  color: var(--blue-bright);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 11px;
}

.execution-path li > div {
  margin-top: 86px;
}

.execution-path h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 570;
  letter-spacing: -0.025em;
}

.execution-path p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.boundary-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: 80px;
  align-items: center;
  padding: 160px var(--pad);
}

.boundary-intro h2 {
  margin-top: 28px;
}

.boundary-intro p {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
}

.boundary-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 52px;
  border: 1px solid rgba(118, 167, 255, 0.32);
  background: linear-gradient(145deg, rgba(18, 27, 44, 0.98), rgba(9, 12, 18, 0.98));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.38),
    0 0 100px rgba(39, 86, 204, 0.08) inset;
}

.boundary-grid {
  opacity: 0.74;
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.boundary-status {
  position: relative;
  z-index: 2;
}

.boundary-status strong {
  display: block;
  max-width: 480px;
  margin-top: 32px;
  font-size: clamp(31px, 3.3vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 560;
}

.boundary-panel dl {
  position: relative;
  z-index: 2;
  margin: 72px 0 0;
}

.boundary-panel dl > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.boundary-panel dt {
  color: #eef2f8;
  font-size: 13px;
  font-weight: 560;
}

.boundary-panel dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  gap: 80px;
  align-items: center;
  padding: 150px var(--pad);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 30%, rgba(74, 125, 255, 0.18), transparent 34%),
    linear-gradient(140deg, #070a10 0%, #0b1019 48%, #05070b 100%);
}

.download-copy h2 {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 570;
}

.download-copy > p:not(.download-refresh-status) {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
}

.download-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.download-primary svg {
  width: 18px;
  height: 18px;
}

.download-refresh-status {
  min-height: 20px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.download-panel {
  min-width: 0;
  padding: 42px;
  border: 1px solid rgba(118, 167, 255, 0.3);
  border-radius: 18px;
  background: rgba(11, 16, 25, 0.88);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(44, 91, 210, 0.08) inset;
}

.download-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.download-panel-head > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.download-panel-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(94, 231, 240, 0.7);
}

.download-panel-head strong {
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.download-specs {
  margin: 18px 0 0;
}

.download-specs > div {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.download-specs dt {
  color: var(--text-muted);
  font-size: 12px;
}

.download-specs dd {
  min-width: 0;
  margin: 0;
  color: #eef2f8;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.install-steps li {
  min-width: 0;
  padding: 20px 18px 0 0;
}

.install-steps li:not(:first-child) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.install-steps span {
  color: var(--blue-bright);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 10px;
}

.install-steps p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.6;
}

.download-truth-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.65;
}

.closing-section {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 80px;
  align-items: end;
  padding: 130px var(--pad) 150px;
  border-top: 1px solid var(--line);
}

.closing-copy h2 {
  max-width: 900px;
}

.closing-copy p {
  max-width: 700px;
  margin: 32px 0 38px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.closing-mark {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 300px;
  padding: 48px 24px 34px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 38%, rgba(74, 125, 255, 0.2), transparent 43%);
}

.closing-mark::before,
.closing-mark::after {
  content: '';
  position: absolute;
  background: var(--line);
}

.closing-mark::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.closing-mark::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.closing-mark img,
.closing-mark div,
.closing-mark span,
.closing-mark small {
  position: relative;
  z-index: 2;
}

.closing-logo-crop {
  display: flex;
  width: 108px;
  height: 108px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 27px;
  background: #08081a;
  box-shadow: 0 0 60px rgba(85, 77, 255, 0.28);
}

.closing-logo-crop img {
  display: block;
  width: 126px;
  height: 126px;
  max-width: none;
  flex: none;
  border-radius: 32px;
  object-fit: cover;
}

.closing-mark span {
  margin-top: 26px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.closing-mark small {
  align-self: end;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 110px;
  padding: 0 var(--pad);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
}

footer .brand {
  color: var(--text);
}

footer .brand-logo-crop {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  border-radius: 7px;
}

footer .brand-logo-crop img {
  width: 31px;
  height: 31px;
  border-radius: 9px;
}

footer p {
  margin: 0;
}

footer > span {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes scan {
  0%,
  14% {
    top: 38px;
    opacity: 0;
  }
  20% {
    opacity: 0.42;
  }
  72% {
    top: calc(100% - 2px);
    opacity: 0.25;
  }
  82%,
  100% {
    top: calc(100% - 2px);
    opacity: 0;
  }
}

@keyframes trace {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(560%);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .prototype-showcase,
  .point-edit-block,
  .mode-stage,
  .boundary-section,
  .download-section,
  .closing-section {
    grid-template-columns: 1fr;
  }

  .prototype-showcase,
  .point-edit-block {
    gap: 54px;
  }

  .prototype-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 34px;
    margin-top: 0;
  }

  .point-edit-copy {
    max-width: 720px;
  }

  .mode-stage {
    gap: 45px;
  }

  .mode-copy {
    max-width: 720px;
  }

  .lifecycle-track {
    grid-template-columns: repeat(6, 210px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .boundary-section,
  .download-section,
  .closing-section {
    gap: 60px;
  }

  .closing-mark {
    width: 350px;
  }
}

@media (max-width: 780px) {
  :root {
    --pad: 20px;
  }

  .site-header {
    height: 64px;
  }

  .header-action {
    min-height: 34px;
    padding: 0 13px;
  }

  .hero {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(44px, 12.3vw, 54px);
    line-height: 0.98;
  }

  .hero-copy > p {
    margin-top: 30px;
    font-size: 16px;
  }

  .hero-actions,
  .hero-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    gap: 20px;
  }

  .hero-facts {
    gap: 13px;
  }

  .hero-visual {
    margin-top: 72px;
  }

  .app-frame-bar {
    height: 30px;
  }

  .app-frame-bar strong,
  .app-frame-bar small,
  .visual-meta span:last-child,
  .visual-footnote span:last-child {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-index {
    padding-top: 0;
  }

  .workspace-section,
  .lifecycle-section,
  .prototype-section,
  .rich-chat-section,
  .advantage-section,
  .execution-section,
  .boundary-section,
  .download-section,
  .closing-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .prototype-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rich-chat-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rich-chat-copy .section-index {
    grid-row: auto;
    margin-bottom: 10px;
  }

  .rich-chat-copy h2 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .rich-chat-copy > p:last-child {
    font-size: 16px;
  }

  .lifecycle-track {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .lifecycle-track li,
  .lifecycle-track li:first-child,
  .lifecycle-track li:last-child {
    display: grid;
    grid-template-columns: 42px 1fr;
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lifecycle-track li:last-child {
    border-bottom: 0;
  }

  .lifecycle-track li::before,
  .lifecycle-track li:first-child::before {
    left: 0;
  }

  .lifecycle-track strong {
    margin-top: 0;
  }

  .lifecycle-track p {
    grid-column: 2;
  }

  .lifecycle-note,
  .rich-chat-note {
    text-align: left;
  }

  .prototype-heading .section-index {
    margin-bottom: 10px;
  }

  .prototype-heading h2 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .prototype-lead {
    font-size: 16px;
  }

  .agent-comparison {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .comparison-side {
    min-height: 0;
    padding: 30px 24px;
  }

  .comparison-side > span {
    margin-bottom: 28px;
  }

  .comparison-arrow {
    min-height: 56px;
    transform: rotate(90deg);
  }

  .prototype-showcase {
    margin-top: 78px;
  }

  .prototype-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .point-edit-block {
    margin-top: 100px;
    padding-top: 70px;
  }

  .prototype-screen-meta span:last-child {
    display: none;
  }

  .workspace-console {
    margin-top: 54px;
  }

  .mode-tabs {
    grid-template-columns: 1fr;
  }

  .mode-tabs button {
    border-right: 0;
    padding: 18px 16px;
  }

  .mode-stage {
    min-height: 0;
    padding-top: 42px;
  }

  .rich-chat-stage {
    margin-top: 62px;
  }

  .rich-chat-capabilities {
    grid-template-columns: 1fr;
  }

  .advantage-list {
    margin-top: 58px;
  }

  .advantage-row {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 34px 0;
  }

  .advantage-row h3 {
    font-size: 30px;
  }

  .advantage-row p {
    grid-column: 2;
  }

  .execution-path {
    grid-template-columns: 1fr;
    margin-top: 65px;
  }

  .execution-path li,
  .execution-path li:not(:first-child) {
    display: grid;
    grid-template-columns: 46px 1fr;
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .execution-path li:not(:first-child)::before {
    left: 0;
  }

  .execution-path li > div {
    margin-top: 0;
  }

  .boundary-panel {
    min-height: 0;
    padding: 34px 24px;
  }

  .boundary-panel dl {
    margin-top: 54px;
  }

  .boundary-panel dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .download-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-panel {
    padding: 30px 22px;
  }

  .download-specs > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-steps li,
  .install-steps li:not(:first-child) {
    display: grid;
    grid-template-columns: 42px 1fr;
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .install-steps p {
    margin-top: 0;
  }

  .closing-mark {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
