@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("assets/dm-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/dm-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/montserrat.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("assets/montserrat-500.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("assets/montserrat-600.woff2") format("woff2");
}

:root {
  --bg: #f9f8f8;
  --surface: #ffffff;
  --ink: #1e232c;
  --ink-strong: #152443;
  --muted: #5f6875;
  --muted-soft: #77808c;
  --accent: #4176e6;
  --accent-strong: #2f5fca;
  --accent-soft: rgba(65, 118, 230, 0.1);
  --sky: #9cc1e7;
  --line: rgba(9, 45, 78, 0.12);
  --line-soft: rgba(9, 45, 78, 0.08);
  --glass: rgba(255, 255, 255, 0.34);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --max: 1180px;
  --shadow-soft: 0 24px 70px -32px rgba(21, 36, 67, 0.28);
  --font-body: "DM Sans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(249, 248, 248, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(9, 45, 78, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 56px;
  padding: 8px 28px 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 143px;
  height: 23px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.desktop-nav a {
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: rgba(21, 36, 67, 0.72);
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.5);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(9, 45, 78, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.32);
  font-size: 12px;
  font-weight: 500;
  color: rgba(30, 35, 44, 0.62);
}

.lang-switch span {
  padding: 2px 11px;
  border-radius: var(--radius-pill);
}

.lang-switch .lang-active {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(21, 36, 67, 0.08);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-strong);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  margin: 8px 16px 0;
  padding: 12px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(249, 248, 248, 0.97);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
}

.mobile-menu nav a {
  padding: 11px 4px;
  font-size: 16px;
  color: var(--ink-strong);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-lang {
  padding-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.mobile-lang span {
  margin: 0 8px;
  opacity: 0.45;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 850px;
  padding: 118px 24px 76px;
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, #9cc1e7 0%, #c6dbf0 38%, rgba(249, 248, 248, 0) 88%);
}

.hero-halo {
  position: absolute;
  z-index: -2;
  top: 140px;
  left: 50%;
  width: min(1000px, 110vw);
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0));
  filter: blur(8px);
  pointer-events: none;
}

.flow-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.82;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-top: 26px;
  text-align: center;
}

.announcement {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 720px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(9, 45, 78, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  color: rgba(30, 35, 44, 0.62);
  font-size: 13px;
  line-height: 1.45;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.announcement:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(9, 45, 78, 0.14);
  color: var(--ink);
}

.announcement img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.85;
}

.announcement span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.announcement-arrow {
  flex-shrink: 0;
  opacity: 0.5;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 760px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--ink-strong);
}

.hero-subtitle {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(30, 35, 44, 0.66);
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.download-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 62px;
  padding: 0 42px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #356ad9 0%, #3061cf 48%, #2b56b8 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow:
    0 18px 42px -12px rgba(47, 95, 202, 0.68),
    0 8px 20px -10px rgba(21, 36, 67, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: download-cta-glow 3.2s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download-primary svg {
  flex-shrink: 0;
}

.download-primary:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow:
    0 24px 54px -12px rgba(47, 95, 202, 0.78),
    0 10px 24px -10px rgba(21, 36, 67, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.download-primary:active {
  transform: translateY(0) scale(0.99);
}

.download-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@keyframes download-cta-glow {
  0%,
  100% {
    box-shadow:
      0 18px 42px -12px rgba(47, 95, 202, 0.58),
      0 8px 20px -10px rgba(21, 36, 67, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
  50% {
    box-shadow:
      0 20px 56px -8px rgba(47, 95, 202, 0.82),
      0 10px 24px -10px rgba(21, 36, 67, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }
}

.cta-note {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(30, 35, 44, 0.56);
}

.chat-shell {
  width: min(880px, 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
  padding: 14px 14px 12px;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  background: var(--glass);
  box-shadow: 0 22px 60px -34px rgba(21, 36, 67, 0.34);
  backdrop-filter: blur(16px) saturate(120%);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.chat-shell:focus-within {
  border-color: rgba(65, 118, 230, 0.28);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 26px 70px -34px rgba(21, 36, 67, 0.42);
}

.chat-input {
  width: 100%;
  height: 54px;
  padding: 4px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-strong);
  font-size: 17px;
}

.chat-input::placeholder {
  color: rgba(30, 35, 44, 0.45);
}

.chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chat-modes {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mode-chip:hover {
  background: rgba(255, 255, 255, 0.35);
}

.mode-chip.is-active {
  border-color: rgba(65, 118, 230, 0.3);
  background: rgba(65, 118, 230, 0.12);
  color: var(--accent);
}

.chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chat-send:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.chat-send:focus-visible,
.mode-chip:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(65, 118, 230, 0.5);
  outline-offset: 3px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(9, 45, 78, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  font-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quick-links a:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(9, 45, 78, 0.26);
  transform: translateY(-1px);
}

/* Shared sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 98px 28px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.28;
  color: var(--ink-strong);
}

.section-lede {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 30px 28px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 50px -38px rgba(21, 36, 67, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(65, 118, 230, 0.2);
  box-shadow: 0 26px 66px -36px rgba(21, 36, 67, 0.38);
}

.product-card--accent {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(226, 236, 250, 0.6)),
    rgba(255, 255, 255, 0.5);
  border-color: rgba(65, 118, 230, 0.18);
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 1px solid rgba(65, 118, 230, 0.16);
  border-radius: 16px;
  background: rgba(65, 118, 230, 0.08);
  color: var(--accent);
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-strong);
}

.product-card > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.card-points {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
}

.card-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(30, 35, 44, 0.74);
}

.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent);
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* Harness */
.harness-section {
  padding: 24px 28px 98px;
}

.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
  padding: 64px;
  border: 1px solid rgba(65, 118, 230, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(65, 118, 230, 0.14), rgba(65, 118, 230, 0) 58%),
    linear-gradient(160deg, #f4f8fd 0%, #edf3fb 100%);
  box-shadow: 0 30px 80px -52px rgba(21, 36, 67, 0.4);
}

.split-copy .section-lede {
  margin-top: 18px;
}

.split h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-strong);
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.feature-item {
  display: flex;
  gap: 18px;
}

.feature-index {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 5px;
}

.feature-item h3 {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-strong);
}

.feature-item p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(9, 45, 78, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  color: rgba(30, 35, 44, 0.72);
}

.harness-visual {
  border: 1px solid rgba(9, 45, 78, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 40px 90px -48px rgba(21, 36, 67, 0.5);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(9, 45, 78, 0.08);
  background: rgba(249, 250, 252, 0.9);
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(9, 45, 78, 0.16);
}

.window-title {
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.window-body {
  padding: 24px;
}

.task-thread {
  padding: 20px;
  border: 1px solid rgba(9, 45, 78, 0.08);
  border-radius: 16px;
  background: #fff;
}

.task-line {
  font-size: 13.5px;
  line-height: 1.7;
}

.task-line--user {
  padding: 12px 14px;
  border-radius: 12px 12px 4px 12px;
  background: rgba(65, 118, 230, 0.1);
  color: var(--ink-strong);
}

.task-line--agent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
}

.agent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(65, 118, 230, 0.12);
  animation: agent-pulse 2.4s ease-in-out infinite;
}

@keyframes agent-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.task-progress {
  height: 4px;
  margin: 18px 0;
  border-radius: var(--radius-pill);
  background: rgba(9, 45, 78, 0.07);
  overflow: hidden;
}

.task-progress-bar {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(65, 118, 230, 0.45), var(--accent));
  animation: progress-drift 4s ease-in-out infinite;
}

@keyframes progress-drift {
  0%,
  100% {
    transform: translateX(-6%);
  }
  50% {
    transform: translateX(12%);
  }
}

.task-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.task-steps span {
  padding: 4px 10px;
  border: 1px solid rgba(65, 118, 230, 0.18);
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--accent);
  background: rgba(65, 118, 230, 0.06);
}

.task-rail {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted-soft);
}

.rail-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(9, 45, 78, 0.18);
}

.rail-item.is-done {
  color: rgba(30, 35, 44, 0.72);
}

.rail-item.is-done::before {
  background: #3fa27a;
}

/* API */
.api-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 98px;
}

.api-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 90% 10%, rgba(65, 118, 230, 0.32), rgba(65, 118, 230, 0) 62%),
    linear-gradient(145deg, #172640 0%, #152443 52%, #101c33 100%);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 40px 100px -54px rgba(21, 36, 67, 0.8);
}

.eyebrow--light {
  color: #8db4ff;
}

.api-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.api-panel > .api-copy > p {
  margin-top: 17px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.66);
}

.api-points {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.api-points div {
  padding-left: 15px;
  border-left: 1px solid rgba(141, 180, 255, 0.34);
}

.api-points span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.api-points p {
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.api-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: #a9c6ff;
}

.api-link span {
  transition: transform 0.2s ease;
}

.api-link:hover span {
  transform: translateX(3px);
}

.api-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.diagram-node {
  width: 100%;
  max-width: 250px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.diagram-node--api {
  border-color: rgba(141, 180, 255, 0.44);
  background: rgba(65, 118, 230, 0.28);
  box-shadow: 0 0 34px -8px rgba(65, 118, 230, 0.6);
}

.diagram-flow {
  display: flex;
  gap: 7px;
}

.diagram-flow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(141, 180, 255, 0.7);
  animation: flow-dot 2.2s ease-in-out infinite;
}

.diagram-flow span:nth-child(2) {
  animation-delay: 0.25s;
}

.diagram-flow span:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes flow-dot {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

.diagram-branches {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 270px;
}

.diagram-branches span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

/* Research */
.research-section {
  padding-top: 0;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.research-card {
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
}

.research-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  column-gap: 34px;
  align-items: start;
  background:
    radial-gradient(80% 150% at 0% 0%, rgba(65, 118, 230, 0.13), rgba(65, 118, 230, 0) 60%),
    rgba(255, 255, 255, 0.64);
}

.research-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.research-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-strong);
}

.research-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.research-card--wide .research-tag {
  grid-row: span 2;
  margin-bottom: 0;
  padding-top: 4px;
}

/* FAQ */
.faq-section {
  padding-top: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}

.section-head--left {
  margin: 0;
  text-align: left;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 0 22px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(65, 118, 230, 0.18);
  background: rgba(255, 255, 255, 0.8);
}

.faq-item summary {
  position: relative;
  padding: 18px 32px 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-strong);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 76px 28px 40px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(156, 193, 231, 0.18), rgba(156, 193, 231, 0) 64%),
    var(--bg);
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  padding-bottom: 48px;
}

.footer-brand img {
  width: 143px;
  height: 23px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h3 {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
}

.footer-col a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted-soft);
}

.footer-legal-links a:hover {
  color: var(--ink);
}

.copyright {
  font-size: 12px;
  color: var(--muted-soft);
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .split,
  .api-panel {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 44px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

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

  .research-card--wide {
    grid-column: span 2;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 8px 18px 0;
  }

  .brand-logo {
    width: 124px;
    height: 20px;
  }

  .hero {
    min-height: 760px;
    padding: 98px 18px 62px;
  }

  .hero-inner {
    gap: 22px;
    padding-top: 14px;
  }

  .announcement {
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    font-size: 12px;
    padding: 9px 12px;
  }

  .announcement span {
    -webkit-line-clamp: 3;
  }

  .hero h1 {
    font-size: clamp(36px, 9vw, 46px);
  }

  .hero-subtitle {
    font-size: 15px;
    max-width: 420px;
  }

  .hero-action {
    width: 100%;
  }

  .download-primary {
    width: min(100%, 360px);
    min-height: 56px;
    padding: 0 28px;
    font-size: 18px;
  }

  .chat-shell {
    padding: 10px;
    border-radius: 20px;
  }

  .chat-input {
    height: 48px;
    font-size: 15.5px;
  }

  .mode-chip {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .quick-links a {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .section {
    padding: 70px 20px;
  }

  .harness-section,
  .api-section {
    padding: 0 20px 70px;
  }

  .split,
  .api-panel {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .research-card--wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .research-card--wide .research-tag {
    grid-row: auto;
    margin-bottom: 12px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding: 60px 20px 34px;
  }
}

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

  .download-primary {
    animation: none;
    transition: none;
  }

  .download-primary:hover {
    transform: none;
  }

  .agent-dot,
  .task-progress-bar,
  .diagram-flow span {
    animation: none;
  }

  .product-card,
  .text-link span,
  .api-link span,
  .quick-links a {
    transition: none;
  }
}
