:root {
  --bg: #f5f3ed;
  --bg-soft: #ebe7dd;
  --ink: #121212;
  --ink-soft: #3d3d37;
  --muted: #727064;
  --surface: #ffffff;
  --surface-warm: #fbfaf6;
  --line: rgba(18, 18, 18, 0.12);
  --line-strong: rgba(18, 18, 18, 0.2);
  --accent: #0f766e;
  --accent-2: #4f46e5;
  --accent-soft: #dff3ee;
  --shadow: 0 22px 70px rgba(28, 27, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f6f2 0%, #f4f2ec 42%, #f7f6f2 100%);
  font-family: "Noto Sans TC", "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7), transparent 42%);
  opacity: 0.9;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 16%, rgba(79, 70, 229, 0.035), transparent 28%),
    radial-gradient(circle at 24% 74%, rgba(15, 118, 110, 0.035), transparent 24%);
}

body[data-lang="zh-CN"] {
  font-family: "Noto Sans SC", "Inter", sans-serif;
}

body[data-lang="en"] {
  font-family: "Inter", "Noto Sans TC", sans-serif;
}

body[data-lang="en"] h1 {
  font-size: clamp(34px, 4.1vw, 52px);
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 242, 0.8);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 8px 24px rgba(28, 27, 23, 0.03);
}

.nav-wrap {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(15, 118, 110, 0.2));
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.primary-nav > a,
.nav-dropdown > summary {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] > summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown > summary a {
  color: inherit;
  text-decoration: none;
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible,
.primary-nav > a.active,
.nav-dropdown > summary:hover,
.nav-dropdown > summary:focus-visible,
.nav-dropdown.is-active > summary {
  color: var(--ink);
}

.primary-nav > a::after,
.nav-dropdown > summary::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after,
.primary-nav > a.active::after,
.nav-dropdown > summary:hover::before,
.nav-dropdown > summary:focus-visible::before,
.nav-dropdown.is-active > summary::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 122px;
  padding: 5px;
  border: 1px solid rgba(18, 18, 18, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(28, 27, 23, 0.1);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.16s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.16s ease;
  z-index: 30;
}

.nav-dropdown-menu a {
  display: block;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-external-link::after {
  content: "↗";
  font-size: 11px;
  line-height: 1;
  opacity: 0.72;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(15, 118, 110, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-external-link:hover::after,
.nav-external-link:focus-visible::after {
  opacity: 1;
  transform: translate(1px, -1px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[open] .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.lang-switch button {
  min-width: 40px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.lang-switch button.active {
  background: var(--ink);
  color: white;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.top-manifesto-wrap {
  position: relative;
  z-index: 3;
  padding: clamp(8px, 1.4vh, 14px) 0 0;
}

.top-manifesto {
  margin-top: 0;
}

.hero {
  position: relative;
  display: block;
  min-height: auto;
  padding: clamp(18px, 3vh, 34px) 0 clamp(44px, 6vh, 72px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 16%, rgba(79, 70, 229, 0.05), transparent 24%),
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.65), transparent 30%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(79, 70, 229, 0.015) 1px, transparent 1px),
    linear-gradient(rgba(79, 70, 229, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 84% 16%, rgba(0, 0, 0, 0.35), transparent 28%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.86fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding-bottom: 0;
}

.hero-grid > * {
  min-width: 0;
}

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

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: rgba(18, 18, 18, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(28, 27, 23, 0.04);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(18, 18, 18, 0.68);
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-manifesto {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1.08fr;
  gap: 12px;
  margin-top: 0;
  padding: 12px;
  border: 1px solid rgba(75, 85, 255, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.2), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(45, 212, 191, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(6, 11, 24, 0.96), rgba(17, 24, 39, 0.92));
  box-shadow:
    0 0 0 1px rgba(148, 163, 255, 0.08),
    0 24px 70px rgba(15, 23, 42, 0.34),
    0 0 50px rgba(45, 212, 191, 0.08);
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(140%);
}

.hero-manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.16) 18%, transparent 34%),
    linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(45, 212, 191, 0.07) 1px, transparent 1px);
  background-size: 220px 100%, 20px 100%, 100% 20px;
  background-repeat: no-repeat, repeat, repeat;
  mix-blend-mode: screen;
  transform: translateX(-130%);
  animation: manifestoScan 8s linear infinite;
  pointer-events: none;
}

.hero-manifesto::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  border: 1px solid rgba(148, 163, 255, 0.18);
  box-shadow: inset 0 0 26px rgba(96, 165, 250, 0.08);
  pointer-events: none;
}

.hero-manifesto-card {
  position: relative;
  min-width: 0;
  min-height: 112px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(7, 12, 24, 0.92), rgba(16, 24, 40, 0.86)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.16), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 30px rgba(2, 6, 23, 0.22);
  overflow: hidden;
}

.hero-manifesto-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(99, 102, 241, 0.14), transparent 56%);
  pointer-events: none;
}

.hero-manifesto-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(45, 212, 191, 0.7), rgba(99, 102, 241, 0));
  opacity: 0.95;
}

.hero-manifesto-card.alt {
  background:
    linear-gradient(180deg, rgba(6, 10, 22, 0.96), rgba(17, 22, 38, 0.9)),
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 32%);
}

.hero-manifesto-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.14), rgba(56, 189, 248, 0.08));
  color: #8df6eb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(45, 212, 191, 0.08), 0 0 18px rgba(45, 212, 191, 0.08);
}

.hero-manifesto-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6ee7d8;
  box-shadow: 0 0 0 6px rgba(110, 231, 216, 0.12);
}

.hero-manifesto-text {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(237, 246, 255, 0.96);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.manifesto-section {
  display: none;
}

.hero-insights article {
  flex: 1;
  min-width: 150px;
  padding: 0;
}

.hero-insights article:not(:first-child) {
  padding-left: 0;
  border-left: 0;
}

.hero-insights strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
}

.hero-insights span {
  display: block;
  margin-top: 8px;
  color: rgba(18, 18, 18, 0.55);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.manifesto-section {
  padding: 72px 0;
  background: transparent;
  border-top: 1px solid rgba(18, 18, 18, 0.06);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.manifesto-item {
  position: relative;
  padding-left: 20px;
}

.manifesto-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.6), rgba(79, 70, 229, 0.1));
  border-radius: 999px;
}

.manifesto-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.04);
  color: rgba(79, 70, 229, 0.75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manifesto-text {
  margin: 0;
  color: rgba(18, 18, 18, 0.8);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.hero-principles,
.hero-insights,
.mission-strip,
.mission-grid,
.belief-card {
  display: none;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.section-copy,
.section-head p,
.contact-panel p {
  color: var(--ink-soft);
  font-size: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: #111111;
  color: white;
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.12);
}

.button.secondary {
  border: 1px solid rgba(18, 18, 18, 0.1);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 14px 30px rgba(18, 18, 18, 0.15);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(18, 18, 18, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.product-shell,
.agent-window,
.contact-panel {
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(28, 27, 23, 0.08);
}

.product-shell {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-shell::after {
  content: "";
  position: absolute;
  inset: auto 36px 20px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12), transparent 70%);
  filter: blur(12px);
  z-index: 0;
}

.product-shell::before {
  content: "";
  position: absolute;
  inset: 44px 0 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 50%, transparent 58%);
  transform: translateX(-130%);
  animation: consoleScan 7.6s ease-in-out infinite;
}

.product-shell:hover {
  transform: perspective(1200px) rotateY(-1deg) translateY(-4px);
  box-shadow: 0 28px 70px rgba(28, 27, 23, 0.1);
}

.hero-principles {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 0 0;
}

.hero-principles::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  background: rgba(18, 18, 18, 0.1);
  transform: translateX(-50%);
}

.principles-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.principle-item {
  flex: 1;
  min-width: 200px;
  padding: 0 18px;
}

.principle-item:first-child {
  padding-left: 0;
}

.principle-item:last-child {
  padding-right: 0;
}

.principle-divider {
  width: 1px;
  height: 42px;
  background: rgba(18, 18, 18, 0.08);
  flex-shrink: 0;
}

.principle-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 0 8px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.06);
  color: rgba(79, 70, 229, 0.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principle-text {
  margin: 0;
  color: rgba(18, 18, 18, 0.65);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.mission-strip {
  display: none;
}

.mission-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.2));
}

.mission-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.belief-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 32px;
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(28, 27, 23, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.belief-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 42%),
    radial-gradient(circle at 88% 16%, rgba(79, 70, 229, 0.11), transparent 28%);
  opacity: 0.7;
}

.belief-card > * {
  position: relative;
}

.belief-card span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.belief-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(25px, 2.4vw, 36px);
}

.belief-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 24px 60px rgba(28, 27, 23, 0.12);
}

.shell-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #171717;
  color: white;
}

.shell-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff5f57;
}

.shell-top span:nth-child(2) {
  background: #ffbd2e;
}

.shell-top span:nth-child(3) {
  background: #28c840;
  box-shadow: 0 0 18px rgba(40, 200, 64, 0.55);
}

.shell-top strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.console-grid {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 392px;
  background: linear-gradient(180deg, #0e0f12, #0c0e14);
  color: white;
  border-radius: 0 0 32px 32px;
}

.side-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.side-rail span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.side-rail span:nth-child(2) {
  animation-delay: 0.35s;
}

.side-rail span:nth-child(3) {
  animation-delay: 0.7s;
}

.side-rail span.active {
  background: rgba(110, 231, 216, 0.7);
  box-shadow: 0 0 12px rgba(110, 231, 216, 0.3);
}

.console-main {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px 24px;
}

.command-row,
.agent-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.command-row span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 8px;
  vertical-align: -0.15em;
  background: rgba(110, 231, 216, 0.8);
  animation: cursorBlink 1.1s steps(1) infinite;
  border-radius: 1px;
}

.command-row b {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #0e0f12;
  font-size: 13px;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric-row div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.metric-row div:hover {
  border-color: rgba(110, 231, 216, 0.2);
}

.metric-row div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(110, 231, 216, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.metric-row div:hover::before {
  opacity: 1;
}

.metric-row small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.metric-row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
  position: relative;
}

.agent-card {
  padding: 18px;
}

.agent-card div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(110, 231, 216, 0.85);
  box-shadow: 0 0 0 6px rgba(110, 231, 216, 0.12);
  animation: statusPulse 2s ease-out infinite;
}

.hero-console-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-console-footer div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.hero-console-footer span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-console-footer strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 780px;
}

.capability-list article,
.agent-points article,
.steps li,
.contact-links a {
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.capability-list article,
.agent-points article,
.steps li,
.contact-links a,
.agent-window {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.capability-list article:hover,
.steps li:hover,
.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 18px 45px rgba(28, 27, 23, 0.1);
}

.capability-list span,
.agent-points p,
.steps p {
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.capability-list b {
  font-size: 16px;
  line-height: 1.2;
}

.business-tabs-section {
  position: relative;
  background: linear-gradient(180deg, #0f1012, #141519);
  color: white;
  padding: 8px 0 10px;
}

.business-tabs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 34%);
  opacity: 1;
}

.business-tabs-section .container {
  position: relative;
  min-height: min(100vh - 96px, 736px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.business-tabs-section .section-head {
  max-width: 520px;
  margin-bottom: 6px;
}

.business-tabs-section .eyebrow {
  color: #6ee7d8;
}

.business-tabs-section .section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  margin-bottom: 0;
}

.business-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  margin: 0 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.business-tabs button {
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.business-tabs button.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.business-panels {
  position: relative;
}

.business-panel {
  display: none;
}

.business-panel.active {
  display: block;
  animation: tabPanelIn 0.38s ease both;
}

.business-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 10px;
  align-items: stretch;
}

.business-intro-card,
.prototype-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.business-intro-card {
  padding: 16px 18px;
}

.business-intro-card .section-copy,
.business-intro-card .capability-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.business-intro-card h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin-bottom: 8px;
  line-height: 1.14;
}

.compact-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.compact-list article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  min-height: 116px;
  padding: 10px 10px;
  gap: 4px;
}

.prototype-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #090d12;
  background-size: 22px 22px;
}

.prototype-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: conic-gradient(from 180deg, transparent, rgba(110, 231, 216, 0.12), transparent, rgba(79, 70, 229, 0.14), transparent);
  animation: protoAura 12s linear infinite;
}

.prototype-card > * {
  position: relative;
}

.prototype-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 800;
}

.prototype-top b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7d8;
  animation: labelGlow 2.5s ease-in-out infinite;
}

.request-chip,
.demo-result,
.industry-output {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.35;
}

.router-stage {
  position: relative;
  min-height: 108px;
  display: grid;
  place-items: center;
}

.router-core {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(110, 231, 216, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(110, 231, 216, 0.22), rgba(79, 70, 229, 0.1) 58%, rgba(255, 255, 255, 0.05));
  box-shadow: 0 0 40px rgba(110, 231, 216, 0.18);
  animation: routerPulse 2.8s ease-in-out infinite;
}

.router-core span {
  font-size: 18px;
  font-weight: 900;
}

.router-core small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.route-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(110, 231, 216, 0), rgba(110, 231, 216, 0.95), rgba(110, 231, 216, 0));
  animation: routeSpark 2.2s linear infinite;
}

.line-a {
  transform: rotate(-24deg);
}

.line-b {
  transform: rotate(0deg);
  animation-delay: 0.4s;
}

.line-c {
  transform: rotate(24deg);
  animation-delay: 0.8s;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.model-node {
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  animation: modelBlink 4s ease-in-out infinite;
}

.model-node:nth-child(2) {
  animation-delay: 0.8s;
}

.model-node:nth-child(3) {
  animation-delay: 1.6s;
}

.model-node:nth-child(4) {
  animation-delay: 2.4s;
}

.model-node b,
.model-node span {
  display: block;
}

.model-node span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.25;
}

.demo-result,
.industry-output {
  margin-top: 12px;
}

.runtime-orbit {
  position: relative;
  min-height: 188px;
  display: grid;
  place-items: center;
}

.runtime-core {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #6ee7d8;
  color: #07120f;
  font-weight: 900;
  box-shadow: 0 0 42px rgba(110, 231, 216, 0.24);
}

.runtime-orbit span {
  position: absolute;
  min-width: 68px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 800;
  animation: orbitGlow 3.6s ease-in-out infinite;
}

.runtime-orbit span:nth-child(2) { transform: translate(0, -82px); }
.runtime-orbit span:nth-child(3) { transform: translate(88px, -42px); animation-delay: 0.4s; }
.runtime-orbit span:nth-child(4) { transform: translate(90px, 40px); animation-delay: 0.8s; }
.runtime-orbit span:nth-child(5) { transform: translate(0, 84px); animation-delay: 1.2s; }
.runtime-orbit span:nth-child(6) { transform: translate(-90px, 40px); animation-delay: 1.6s; }
.runtime-orbit span:nth-child(7) { transform: translate(-88px, -42px); animation-delay: 2s; }

.runtime-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.runtime-flow div {
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.runtime-flow b {
  display: block;
  color: #6ee7d8;
  margin-bottom: 6px;
}

.runtime-flow span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.3;
}

.industry-pipeline {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 8px 0;
}

.industry-pipeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 42px;
  bottom: 42px;
  width: 2px;
  background: linear-gradient(#6ee7d8, rgba(79, 70, 229, 0.7));
}

.industry-pipeline::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 42px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #6ee7d8;
  box-shadow: 0 0 24px rgba(110, 231, 216, 0.5);
  animation: pipelineDot 4s ease-in-out infinite;
}

.industry-pipeline div {
  min-height: 58px;
  margin-left: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.industry-pipeline b,
.industry-pipeline span {
  display: block;
}

.industry-pipeline span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
}

.agents-section {
  background: #111111;
  color: white;
}

.agents-section .eyebrow {
  color: #6ee7d8;
}

.agents-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.agent-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.agent-window {
  padding: 18px;
  background: #f8f6ef;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.agent-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 76%);
}

.agent-window > * {
  position: relative;
}

.window-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.window-title b {
  color: var(--accent);
  animation: labelGlow 2.5s ease-in-out infinite;
}

.chat-line {
  max-width: 86%;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 8px;
}

.chat-line.user {
  margin-left: auto;
  background: var(--ink);
  color: white;
}

.chat-line.bot {
  background: white;
  border: 1px solid var(--line);
  animation: botThinking 4s ease-in-out infinite;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.topic-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.topic-list span:hover {
  transform: translateY(-2px);
  background: #cbebe3;
}

.agent-points {
  display: grid;
  gap: 12px;
}

.agent-points article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.agent-points article:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 216, 0.34);
  background: rgba(255, 255, 255, 0.11);
}

.agent-points p {
  color: rgba(255, 255, 255, 0.68);
}

.workflow-section {
  background: var(--bg-soft);
  padding-top: 82px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 230px;
  padding: 20px;
}

.steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--accent-2);
  font-weight: 800;
}

.contact-section {
  padding-bottom: 110px;
}

.faq-section {
  padding-top: 10px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-list article {
  padding: 22px;
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(28, 27, 23, 0.05);
}

.faq-list h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 28px;
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at right top, rgba(255, 255, 255, 0.42), transparent 28%);
}

.contact-panel > * {
  position: relative;
}

.contact-panel h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.contact-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
  margin: 0 0 22px;
}

.contact-links {
  display: grid;
  align-content: center;
  gap: 10px;
}

.qr-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-qr-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px 14px;
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(28, 27, 23, 0.08);
}

.contact-qr-card span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-qr {
  display: block;
  width: min(100%, 240px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.06);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
}

.site-footer .container {
  min-height: 74px;
  display: grid;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.hero-copy,
.product-shell {
  animation-name: heroRise;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-fill-mode: both;
}

.product-shell {
  animation-name: heroRise, shellFloat;
  animation-duration: 0.8s, 7s;
  animation-delay: 0.1s, 0.9s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes ambientSweep {
  from {
    background-position: 0% 50%, 50% 50%, 50% 50%;
  }
  to {
    background-position: 100% 50%, 52% 48%, 48% 52%;
  }
}

@keyframes manifestoScan {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shellFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes consoleScan {
  0%,
  45% {
    transform: translateX(-130%);
  }
  72%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes railPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes cursorBlink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(110, 231, 216, 0.24);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(110, 231, 216, 0);
  }
}

@keyframes labelGlow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(15, 118, 110, 0);
  }
  50% {
    text-shadow: 0 0 16px rgba(15, 118, 110, 0.42);
  }
}

@keyframes botThinking {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(15, 118, 110, 0);
  }
  50% {
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.1);
  }
}

@keyframes tabPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes protoAura {
  to {
    transform: rotate(360deg);
  }
}

@keyframes routerPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes routeSpark {
  0% {
    opacity: 0;
    background-position: -120px 0;
  }
  30%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    background-position: 120px 0;
  }
}

@keyframes modelBlink {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }
  35% {
    border-color: rgba(110, 231, 216, 0.52);
    box-shadow: 0 0 24px rgba(110, 231, 216, 0.13);
  }
}

@keyframes orbitGlow {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.14);
  }
  45% {
    border-color: rgba(110, 231, 216, 0.5);
    box-shadow: 0 0 22px rgba(110, 231, 216, 0.12);
  }
}

@keyframes pipelineDot {
  0%,
  100% {
    top: 42px;
  }
  50% {
    top: calc(100% - 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    z-index: 10;
  }

  .primary-nav > a,
  .nav-dropdown > summary {
    width: 100%;
  }

  .nav-dropdown > summary {
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 10px;
    padding: 6px;
    border-radius: 16px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: rgba(15, 118, 110, 0.04);
    display: none;
  }

  .nav-dropdown[open] .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 10px 12px;
  }

  .primary-nav.open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-grid,
  .business-panel-grid,
  .agent-layout,
  .contact-panel,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .hero-manifesto {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .hero-manifesto-card {
    min-height: auto;
    padding: 14px 14px 12px;
  }

  .hero-manifesto-text {
    font-size: 15px;
  }

  .product-shell {
    transform: none;
  }

  .steps,
  .runtime-flow,
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .nav-wrap {
    gap: 10px;
  }

  .brand span {
    font-size: 16px;
  }

  .lang-switch button {
    min-width: 34px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 42px 0 50px;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.08em;
  }

  .mission-strip {
    padding: 0 0 48px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  h2 {
    font-size: 31px;
  }

  .console-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .side-rail {
    display: none;
  }

  .console-main {
    padding: 14px;
  }

  .metric-row,
  .steps,
  .model-grid,
  .runtime-flow,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .business-tabs {
    display: grid;
    width: 100%;
  }

  .prototype-card {
    min-height: 360px;
  }

  .runtime-orbit span {
    position: static;
    transform: none !important;
  }

  .runtime-orbit {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .runtime-core {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .command-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-layout {
    gap: 12px;
  }

  .chat-line {
    max-width: 100%;
  }

  .qr-links {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-qr {
    width: min(100%, 260px);
  }

  .contact-panel {
    padding: 22px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .manifesto-item {
    padding-left: 16px;
  }
}
