:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5c6862;
  --paper: #f6f1e8;
  --panel: #fffaf0;
  --graphite: #111817;
  --line: #d8d0c1;
  --teal: #03b5a5;
  --green: #315f4d;
  --amber: #d88b22;
  --coral: #d85c4a;
  --violet: #7556c7;
  --cyan: #4ee7d3;
  --shadow: 0 18px 60px rgba(17, 24, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  background: rgba(246, 241, 232, 0.92);
  border-bottom: 1px solid rgba(24, 33, 31, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fffaf0;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.site-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  min-height: calc(100vh - 118px);
  padding: 36px 44px 28px;
  background:
    linear-gradient(90deg, rgba(246, 241, 232, 0.96), rgba(246, 241, 232, 0.78)),
    radial-gradient(circle at 82% 16%, rgba(78, 231, 211, 0.18), transparent 34%),
    var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding: 30px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.3vw, 5.6rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 760;
}

.primary-action {
  color: #fffaf0;
  background: var(--graphite);
}

.secondary-action {
  background: rgba(255, 250, 240, 0.54);
}

.hero-stage {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 23, 0.96), rgba(17, 24, 23, 0.82)),
    #111817;
  box-shadow: var(--shadow);
}

.stage-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(78, 231, 211, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 231, 211, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.laser-rail {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 22px rgba(78, 231, 211, 0.8);
}

.rail-a {
  top: 29%;
}

.rail-b {
  top: 61%;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  box-shadow: 0 0 24px rgba(216, 139, 34, 0.78);
}

.floating-board,
.hero-console {
  position: absolute;
  z-index: 4;
  width: min(42%, 260px);
  padding: 14px 16px;
  color: #f6f1e8;
  background: rgba(24, 33, 31, 0.82);
  border: 1px solid rgba(78, 231, 211, 0.42);
  box-shadow: 0 0 30px rgba(78, 231, 211, 0.18);
}

.floating-board span,
.hero-console span {
  display: block;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-board strong,
.hero-console strong {
  display: block;
  margin-top: 2px;
  font-size: 0.98rem;
}

.board-left {
  top: 14%;
  left: 7%;
}

.board-right {
  right: 7%;
  bottom: 22%;
  border-color: rgba(216, 139, 34, 0.5);
}

.board-right span {
  color: #ffbc68;
}

.hero-console {
  left: 50%;
  bottom: 7%;
  width: min(54%, 360px);
  transform: translateX(-50%);
}

.hero-agent {
  position: absolute;
  z-index: 3;
  width: 92px;
  height: 260px;
}

.hero-agent-a {
  left: 18%;
  bottom: 12%;
}

.hero-agent-b {
  left: 43%;
  bottom: 19%;
}

.hero-agent-c {
  right: 17%;
  bottom: 12%;
}

.mini-head,
.mini-body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(246, 241, 232, 0.55);
  background: linear-gradient(135deg, #f7f4eb, #83f2e6 55%, #264941);
  box-shadow: 0 0 28px rgba(78, 231, 211, 0.42);
}

.mini-head {
  top: 0;
  width: 46px;
  height: 58px;
  border-radius: 23px 23px 15px 15px;
}

.mini-body {
  top: 70px;
  width: 74px;
  height: 150px;
  clip-path: polygon(26% 0, 74% 0, 100% 100%, 0 100%);
}

.agents-section,
.ir-section,
.pipeline-section,
.benchmark-section {
  padding: 86px 44px;
}

.agents-section {
  background: #fffaf0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin: 0 auto 34px;
  max-width: 1280px;
}

.section-heading.compact {
  display: block;
}

.agent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto 28px;
}

.agent-tab {
  min-width: 118px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.agent-tab.is-active {
  color: #fffaf0;
  background: var(--graphite);
  border-color: var(--graphite);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.agent-card {
  display: flex;
  flex-direction: column;
  min-height: 720px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0.72;
  transform: translateY(0);
  transition:
    border-color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.agent-card.is-active {
  border-color: rgba(3, 181, 165, 0.85);
  box-shadow: var(--shadow);
  opacity: 1;
  transform: translateY(-4px);
}

.agent-visual {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 370px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 23, 0.96), rgba(17, 24, 23, 0.82)),
    var(--graphite);
}

.agent-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
}

.halo-ring {
  position: absolute;
  top: 42px;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(78, 231, 211, 0.44);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(78, 231, 211, 0.12);
}

.android {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 330px;
}

.android span {
  position: absolute;
  display: block;
}

.hair {
  z-index: 1;
  left: 50%;
  top: 15px;
  width: 92px;
  height: 96px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #16221f, #3d5b52);
  border-radius: 46px 46px 20px 20px;
}

.hair-long {
  width: 118px;
  height: 154px;
  border-radius: 58px 58px 28px 28px;
}

.hair-sharp {
  width: 106px;
  height: 112px;
  border-radius: 44px 44px 10px 34px;
  clip-path: polygon(18% 0, 100% 8%, 82% 100%, 0 72%);
}

.hair-bob {
  width: 120px;
  height: 116px;
  border-radius: 54px 54px 34px 34px;
}

.head {
  z-index: 2;
  left: 50%;
  top: 32px;
  width: 72px;
  height: 88px;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #fff7e9, #bfd9d1 54%, #4f746b);
  border: 1px solid rgba(246, 241, 232, 0.8);
  border-radius: 36px 36px 26px 26px;
  box-shadow: 0 0 26px rgba(78, 231, 211, 0.22);
}

.visor {
  z-index: 3;
  left: 50%;
  top: 65px;
  width: 58px;
  height: 13px;
  transform: translateX(-50%);
  background: var(--cyan);
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(78, 231, 211, 0.86);
}

.neck {
  z-index: 1;
  left: 50%;
  top: 118px;
  width: 30px;
  height: 38px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d6e8e1, #3d5b52);
}

.torso {
  z-index: 2;
  left: 50%;
  top: 146px;
  width: 98px;
  height: 150px;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #eef1e4, #5f8378 58%, #16221f);
  border: 1px solid rgba(246, 241, 232, 0.65);
  clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%);
}

.shoulder {
  z-index: 1;
  top: 150px;
  width: 58px;
  height: 28px;
  background: linear-gradient(120deg, #f2ecd9, #4d7168);
  border-radius: 20px;
}

.shoulder-left {
  left: 24px;
  transform: rotate(-12deg);
}

.shoulder-right {
  right: 24px;
  transform: rotate(12deg);
}

.arm {
  z-index: 1;
  top: 176px;
  width: 22px;
  height: 116px;
  background: linear-gradient(180deg, #e7f0e8, #35544c);
  border-radius: 18px;
}

.arm-left {
  left: 34px;
  transform: rotate(7deg);
}

.arm-right {
  right: 34px;
  transform: rotate(-7deg);
}

.core {
  z-index: 3;
  left: 50%;
  top: 198px;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(78, 231, 211, 0.95);
}

.laser-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: 130px;
  padding: 10px 12px;
  color: #f6f1e8;
  background: rgba(17, 24, 23, 0.82);
  border: 1px solid rgba(78, 231, 211, 0.5);
  box-shadow: 0 0 26px rgba(78, 231, 211, 0.18);
}

.laser-panel span {
  display: block;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.laser-panel strong {
  display: block;
  font-size: 1rem;
}

.design-visual .visor,
.design-visual .core,
.design-visual .laser-panel span {
  background: var(--amber);
  color: #ffbe73;
  box-shadow: 0 0 18px rgba(216, 139, 34, 0.86);
}

.design-visual .halo-ring,
.design-visual .laser-panel {
  border-color: rgba(216, 139, 34, 0.55);
}

.review-visual .visor,
.review-visual .core,
.review-visual .laser-panel span {
  background: var(--coral);
  color: #ff9988;
  box-shadow: 0 0 18px rgba(216, 92, 74, 0.86);
}

.review-visual .halo-ring,
.review-visual .laser-panel {
  border-color: rgba(216, 92, 74, 0.55);
}

.builder-visual .visor,
.builder-visual .core,
.builder-visual .laser-panel span {
  background: var(--violet);
  color: #c3b1ff;
  box-shadow: 0 0 18px rgba(117, 86, 199, 0.86);
}

.builder-visual .halo-ring,
.builder-visual .laser-panel {
  border-color: rgba(117, 86, 199, 0.55);
}

.agent-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.agent-role {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.agent-copy p:not(.agent-role) {
  color: var(--muted);
}

.agent-copy ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.agent-copy li {
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.8);
  border: 1px solid rgba(24, 33, 31, 0.1);
}

.ir-section {
  background: var(--paper);
}

.ir-section .section-heading,
.pipeline-section .section-heading,
.benchmark-section .section-heading {
  max-width: 1180px;
}

.ir-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  max-width: 1180px;
  margin: 34px auto 0;
}

.ir-board,
.translation-panel,
.laser-board,
.status-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

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

.ir-node {
  min-height: 76px;
  padding: 14px;
  color: var(--ink);
  background: rgba(49, 95, 77, 0.08);
  border: 1px solid rgba(49, 95, 77, 0.18);
  font-weight: 790;
}

.ir-node.important {
  color: #fffaf0;
  background: var(--green);
}

.translation-panel {
  padding: 22px;
}

.panel-label {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.language-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(24, 33, 31, 0.1);
}

.language-row:last-child {
  border-bottom: 0;
}

.language-row span {
  color: var(--muted);
}

.language-row strong {
  text-align: right;
}

.pipeline-section {
  background: #e8efe6;
}

.laser-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 23, 0.96), rgba(17, 24, 23, 0.88)),
    var(--graphite);
}

.beam {
  position: absolute;
  top: 52px;
  left: 44px;
  right: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber), var(--coral), var(--violet));
  box-shadow: 0 0 24px rgba(78, 231, 211, 0.56);
}

.pipeline-step {
  position: relative;
  z-index: 1;
  min-height: 210px;
  padding: 26px 18px 18px;
  color: #f6f1e8;
  background: rgba(246, 241, 232, 0.08);
  border: 1px solid rgba(246, 241, 232, 0.16);
}

.pipeline-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: #111817;
  background: var(--cyan);
  border-radius: 50%;
  font-weight: 850;
}

.pipeline-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.pipeline-step p {
  margin-bottom: 0;
  color: rgba(246, 241, 232, 0.76);
}

.benchmark-section {
  background: #fffaf0;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 34px auto 0;
}

.status-item {
  min-height: 170px;
  padding: 22px;
}

.status-item span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.status-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 44px;
  color: rgba(246, 241, 232, 0.8);
  background: var(--graphite);
}

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

@media (max-width: 1120px) {
  .hero-section,
  .section-heading,
  .ir-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding: 34px 24px 28px;
  }

  .hero-copy {
    padding-bottom: 30px;
  }

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

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

  .beam {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 14px 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    font-size: 0.88rem;
  }

  .hero-section,
  .agents-section,
  .ir-section,
  .pipeline-section,
  .benchmark-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-section {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.2vw, 3rem);
    line-height: 1;
  }

  .hero-copy {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-stage {
    min-height: 250px;
  }

  .floating-board,
  .hero-console {
    width: min(78%, 320px);
    padding: 10px 12px;
  }

  .board-left {
    left: 18px;
  }

  .board-right {
    display: none;
    right: 18px;
    bottom: 18%;
  }

  .hero-console {
    display: none;
  }

  .hero-agent {
    width: 68px;
    height: 200px;
    transform: scale(0.64);
    transform-origin: bottom center;
  }

  .agent-grid,
  .ir-board,
  .laser-board,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .agent-card {
    min-height: auto;
  }

  .agent-visual {
    min-height: 340px;
  }

  .language-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .language-row strong {
    text-align: left;
  }

  .site-footer {
    padding: 24px 18px;
  }
}
