:root {
  --ink: #0b0f0d;
  --ink-2: #121815;
  --ink-3: #202820;
  --paper: #f4f6ef;
  --paper-2: #fbfcf7;
  --muted: #6d766c;
  --line: rgba(11, 15, 13, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --lime: #c8ff3d;
  --cyan: #52d6cb;
  --amber: #ffc75a;
  --white: #ffffff;
  --header-height: 72px;
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

button {
  border: 0;
}

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

.page-shell {
  width: min(calc(100% - 72px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-height);
  padding-inline: max(36px, calc((100vw - var(--shell)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  border-bottom: 1px solid var(--line-light);
  transition: height 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  height: 64px;
  color: var(--ink);
  background: rgba(251, 252, 247, 0.95);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 760;
  line-height: 1;
}

.brand-mark {
  width: 11px;
  height: 11px;
  display: inline-block;
  background: var(--lime);
  box-shadow: 7px 7px 0 rgba(82, 214, 203, 0.86);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 680;
}

.header-action span {
  color: var(--lime);
}

.site-header.scrolled .header-action span,
.site-header.menu-open .header-action span {
  color: #4f7700;
}

.menu-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  display: none;
  color: currentColor;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--lime);
}

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

.hero {
  position: relative;
  height: 92svh;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.hero-orbit {
  position: absolute;
  left: 58%;
  width: 55%;
  height: 1px;
  background: rgba(200, 255, 61, 0.24);
  transform-origin: right center;
}

.orbit-one {
  top: 24%;
  transform: rotate(-14deg);
}

.orbit-two {
  top: 35%;
  transform: rotate(-28deg);
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-top: clamp(112px, 13svh, 160px);
}

.hero-copy h1 {
  max-width: 690px;
  margin: 0;
  font-size: 70px;
  font-weight: 680;
  line-height: 1.03;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 48px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(11, 15, 13, 0.65);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
}

.hero-assurance {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.hero-assurance span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-assurance i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--lime);
}

.workspace-stage {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -24px;
  left: 0;
  height: min(40svh, 430px);
  min-height: 340px;
  color: #dfe7df;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  background: #101613;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.3);
}

.workspace-bar {
  height: 42px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #171e1a;
  font-size: 10px;
}

.workspace-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.workspace-brand span {
  width: 7px;
  height: 7px;
  background: var(--lime);
}

.workspace-context {
  color: rgba(255, 255, 255, 0.5);
}

.workspace-user {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
}

.workspace-user i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.workspace-body {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 275px;
}

.workspace-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c110e;
}

.workspace-nav a {
  min-height: 39px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
  border-left: 2px solid transparent;
  font-size: 11px;
}

.workspace-nav a b {
  color: rgba(255, 255, 255, 0.28);
  font-family: Consolas, "Courier New", monospace;
  font-size: 8px;
}

.workspace-nav a.active {
  color: var(--white);
  border-left-color: var(--lime);
  background: rgba(255, 255, 255, 0.05);
}

.workspace-nav a.active b {
  color: var(--lime);
}

.workspace-nav-foot {
  margin-top: auto;
  padding: 13px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workspace-nav-foot span,
.workspace-nav-foot strong {
  display: block;
}

.workspace-nav-foot span {
  color: var(--cyan);
  font-family: Consolas, "Courier New", monospace;
  font-size: 8px;
}

.workspace-nav-foot strong {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
}

.agent-thread {
  min-width: 0;
  padding: 18px 24px;
  overflow: hidden;
  background: #141b17;
}

.thread-head {
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.thread-head div {
  display: flex;
  flex-direction: column;
}

.thread-head small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
}

.thread-head strong {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 580;
}

.thread-head > span {
  color: rgba(255, 255, 255, 0.34);
  font-family: Consolas, "Courier New", monospace;
  font-size: 8px;
}

.user-prompt {
  margin: 14px 0 16px auto;
  width: min(76%, 590px);
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.user-prompt span {
  color: var(--cyan);
  font-size: 8px;
}

.user-prompt p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.55;
}

.agent-response {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
}

.agent-avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
  font-weight: 800;
}

.response-title {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.response-title strong {
  font-size: 11px;
}

.response-title span {
  padding: 2px 6px;
  color: #8aa949;
  border: 1px solid rgba(200, 255, 61, 0.2);
  font-size: 8px;
}

.agent-response p {
  margin: 8px 0 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  line-height: 1.6;
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.evidence-list span {
  min-height: 27px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.48);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8px;
}

.evidence-list b {
  color: var(--lime);
  font-family: Consolas, "Courier New", monospace;
}

.response-actions {
  margin-top: 12px;
  display: flex;
  gap: 7px;
}

.response-actions button {
  min-height: 25px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  font-size: 8px;
}

.response-actions button:last-child {
  color: var(--ink);
  border-color: var(--lime);
  background: var(--lime);
}

.run-panel {
  padding: 17px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: #0e1411;
}

.run-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.42);
  font-family: Consolas, "Courier New", monospace;
  font-size: 8px;
}

.run-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.1);
  animation: pulse 2s infinite;
}

.run-panel ol {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.run-panel li {
  position: relative;
  min-height: 55px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
}

.run-panel li::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.run-panel li:last-child::after {
  display: none;
}

.run-panel li > span {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0e1411;
  font-family: Consolas, "Courier New", monospace;
  font-size: 7px;
}

.run-panel li.done > span {
  color: var(--ink);
  border-color: var(--cyan);
  background: var(--cyan);
}

.run-panel li.current > span {
  color: var(--lime);
  border-color: var(--lime);
}

.run-panel li div {
  display: flex;
  flex-direction: column;
}

.run-panel li strong {
  font-size: 9px;
  font-weight: 560;
}

.run-panel li small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
}

.run-foot {
  margin-top: 4px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

.run-foot strong {
  color: var(--lime);
}

.position-strip {
  color: var(--white);
  background: var(--ink-2);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.position-grid {
  min-height: 138px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.position-grid > div {
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-content: center;
  border-left: 1px solid var(--line-light);
}

.position-grid > div:last-child {
  border-right: 1px solid var(--line-light);
}

.position-grid span {
  grid-row: span 2;
  color: var(--lime);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.position-grid strong {
  font-size: 16px;
  font-weight: 580;
}

.position-grid small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.section {
  padding: 140px 0;
}

.product {
  background: var(--paper-2);
}

.section-heading {
  margin-bottom: 76px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 9vw;
}

.section-heading h2,
.trust-copy h2,
.map-heading h2,
.edge-copy h2,
.start-layout h2,
.field-content h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 620;
  line-height: 1.18;
}

.section-heading > p {
  max-width: 470px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}

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

.cycle-item {
  min-width: 0;
  padding: 30px;
  border-left: 1px solid var(--line);
}

.cycle-item:last-child {
  border-right: 1px solid var(--line);
}

.cycle-number {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 9px;
}

.cycle-visual {
  height: 200px;
  margin: 24px 0 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #edf0e8;
}

.understand-visual {
  padding: 28px;
  display: flex;
  align-items: center;
}

.understand-visual p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.7;
}

.understand-visual i {
  position: absolute;
  right: -20%;
  bottom: 18%;
  width: 92%;
  height: 1px;
  background: var(--cyan);
  transform: rotate(-24deg);
}

.act-visual {
  padding: 27px 24px;
}

.act-visual > div {
  min-height: 45px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.act-visual > div:first-child {
  border-top: 1px solid var(--line);
}

.act-visual b {
  color: #447000;
}

.act-visual > div:last-child b {
  color: var(--ink);
}

.deliver-visual {
  padding: 27px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
}

.deliver-visual > div:not(.deliver-line) {
  min-height: 72px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.deliver-visual span {
  color: var(--muted);
  font-size: 9px;
}

.deliver-visual strong {
  margin-top: auto;
  font-size: 24px;
  line-height: 1;
}

.deliver-line {
  grid-column: span 2;
  height: 45px;
  border-left: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  transform: skewY(-7deg);
}

.cycle-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 610;
}

.cycle-item > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.skills {
  color: var(--white);
  background: var(--ink-2);
}

.skills-heading > p {
  color: rgba(255, 255, 255, 0.56);
}

.skill-tabs {
  display: flex;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.skill-tabs button {
  flex: 1;
  min-height: 58px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.52);
  border-left: 1px solid var(--line-light);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  transition: color 180ms ease, background 180ms ease;
}

.skill-tabs button:last-child {
  border-right: 1px solid var(--line-light);
}

.skill-tabs button:hover,
.skill-tabs button:focus-visible {
  color: var(--white);
}

.skill-tabs button.active {
  color: var(--ink);
  background: var(--lime);
}

.skill-context {
  min-height: 110px;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  align-items: center;
  gap: 40px;
}

.skill-context span {
  color: var(--lime);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.skill-context p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.skill-card {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #171e1a;
  transition: background 200ms ease;
}

.skill-card:hover {
  background: #1c251f;
}

.skill-top {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.skill-top b {
  color: var(--lime);
  font-family: Consolas, "Courier New", monospace;
  font-size: 9px;
  font-weight: 500;
}

.skill-card h3 {
  margin: 50px 0 14px;
  font-size: 25px;
  font-weight: 600;
}

.skill-card > p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.skill-io {
  margin-top: auto;
  padding-top: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.skill-io span,
.skill-io strong {
  font-size: 9px;
}

.skill-io span {
  color: rgba(255, 255, 255, 0.34);
}

.skill-io strong {
  color: var(--cyan);
  font-weight: 500;
}

.skill-card.skill-enter {
  animation: skillEnter 320ms ease both;
}

.skill-footer {
  min-height: 120px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.skill-footer p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.skill-footer strong {
  color: var(--white);
}

.skill-footer a,
.text-link {
  padding-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.field-scene {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink) url("/assets/energy-hero-poster.jpg") center / cover no-repeat;
}

.field-scene video,
.field-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.field-scene video {
  object-fit: cover;
  filter: saturate(0.68) contrast(1.08);
  transition: opacity 240ms ease;
}

.field-scene.video-fallback video {
  opacity: 0;
}

.field-shade {
  background: rgba(5, 10, 8, 0.6);
}

.field-content {
  position: relative;
  z-index: 2;
  min-height: 690px;
  padding-block: 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.field-content h2 {
  max-width: 840px;
  font-size: 48px;
}

.field-labels {
  margin-top: 48px;
  display: flex;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.field-labels span {
  min-height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.field-labels span:last-child {
  border-right: 1px solid var(--line-light);
}

.trust {
  background: var(--paper-2);
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 9vw;
}

.trust-lead {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.trust-note {
  margin-top: 50px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-note span,
.trust-note strong {
  display: block;
}

.trust-note span {
  color: var(--muted);
  font-size: 10px;
}

.trust-note strong {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

.trace-console {
  color: var(--white);
  border: 1px solid rgba(11, 15, 13, 0.22);
  background: var(--ink-2);
  box-shadow: 28px 28px 0 #e2e6dc;
}

.trace-head {
  min-height: 45px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
  font-size: 10px;
}

.trace-head b {
  color: rgba(255, 255, 255, 0.35);
  font-family: Consolas, "Courier New", monospace;
  font-size: 8px;
  font-weight: 500;
}

.trace-question {
  position: relative;
  padding: 24px;
  border-bottom: 1px solid var(--line-light);
}

.trace-question small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
}

.trace-question p {
  max-width: 560px;
  margin: 8px 110px 0 0;
  font-size: 17px;
  font-weight: 560;
}

.trace-question span {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--amber);
  font-size: 8px;
}

.trace-evidence > div {
  min-height: 63px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trace-evidence span,
.trace-evidence b {
  font-size: 9px;
}

.trace-evidence span {
  color: rgba(255, 255, 255, 0.4);
}

.trace-evidence p {
  margin: 0;
  font-size: 11px;
}

.trace-evidence b {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.trace-evidence b.pass {
  color: var(--lime);
}

.trace-foot {
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
}

.trace-foot button {
  min-height: 29px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--lime);
  font-size: 9px;
}

.trust-principles {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-principles article {
  min-height: 250px;
  padding: 28px 22px;
  border-left: 1px solid var(--line);
}

.trust-principles article:last-child {
  border-right: 1px solid var(--line);
}

.trust-principles span {
  color: #527a00;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.trust-principles h3 {
  margin: 68px 0 12px;
  font-size: 18px;
  font-weight: 610;
}

.trust-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.platform-map {
  padding: 130px 0;
  color: var(--white);
  background: var(--ink-3);
}

.map-heading {
  max-width: 790px;
}

.architecture {
  margin-top: 72px;
}

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

.architecture-row > div,
.architecture-row > span {
  min-height: 94px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.architecture-row .row-label {
  color: var(--lime);
  font-family: Consolas, "Courier New", monospace;
  font-size: 9px;
}

.architecture-row strong {
  font-size: 14px;
  font-weight: 580;
}

.architecture-row small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.architecture-row .runtime-core {
  color: var(--ink);
  background: var(--lime);
}

.architecture-row .runtime-core small {
  color: rgba(11, 15, 13, 0.6);
}

.architecture-flow {
  height: 46px;
  padding-left: 150px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.architecture-flow i {
  width: 1px;
  height: 100%;
  justify-self: center;
  background: rgba(200, 255, 61, 0.4);
}

.edge {
  overflow: hidden;
  background: #e8ede4;
}

.edge-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 7vw;
}

.concept-label {
  margin-bottom: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5a634f;
  font-size: 10px;
}

.concept-label span {
  width: 7px;
  height: 7px;
  display: block;
  background: var(--amber);
}

.edge-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.edge-benefits {
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edge-benefits span {
  padding: 6px 10px;
  border: 1px solid rgba(11, 15, 13, 0.26);
  font-size: 10px;
}

.device-stage {
  position: relative;
  min-height: 600px;
  display: grid;
  align-content: end;
  padding-top: 20px;
}

.device-image {
  position: relative;
  z-index: 1;
  width: min(108%, 900px);
  max-width: none;
  height: auto;
  display: block;
  margin: 0 -1% 70px auto;
}

.device-spec {
  position: relative;
  z-index: 2;
  right: 0;
  bottom: auto;
  left: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.device-spec span {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  font-size: 9px;
}

.device-spec span:last-child {
  border-right: 1px solid var(--line);
}

.device-stage > p {
  position: relative;
  z-index: 2;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.start-section {
  padding: 130px 0;
  color: var(--white);
  background: var(--ink);
}

.start-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
}

.start-steps {
  border-top: 1px solid var(--line-light);
}

.start-steps > div {
  min-height: 94px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}

.start-steps > div span {
  color: var(--lime);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.start-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.start-steps strong {
  margin-bottom: 4px;
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 580;
}

.start-steps > a {
  min-height: 54px;
  margin-top: 22px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 700;
  transition: background 180ms ease;
}

.start-steps > a:hover,
.start-steps > a:focus-visible {
  background: var(--white);
}

.site-footer {
  color: var(--white);
  background: #060806;
}

.footer-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
}

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

.footer-inner p {
  margin: 0;
}

.footer-inner > span {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

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

@media (max-width: 1050px) {
  .workspace-body {
    grid-template-columns: 145px minmax(0, 1fr) 225px;
  }

  .workspace-nav {
    padding-inline: 8px;
  }

  .run-panel {
    padding-inline: 12px;
  }

  .trust-layout,
  .edge-layout {
    grid-template-columns: 1fr;
    gap: 80px;
  }

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

  .trust-note {
    max-width: 520px;
  }

  .device-stage {
    width: min(100%, 780px);
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 66px;
  }

  .page-shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .site-header {
    padding-inline: 20px;
    grid-template-columns: 1fr auto;
  }

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

  .site-nav {
    position: fixed;
    inset: 64px 0 auto;
    padding: 20px 20px 26px;
    display: grid;
    gap: 0;
    color: var(--ink);
    background: rgba(251, 252, 247, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .header-action {
    display: none;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .workspace-body {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .run-panel {
    display: none;
  }

  .workspace-nav a {
    gap: 7px;
    font-size: 9px;
  }

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

  .position-grid > div {
    min-height: 100px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }

  .position-grid > div:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .trust-layout,
  .start-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .work-cycle {
    grid-template-columns: 1fr;
  }

  .cycle-item {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    column-gap: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .cycle-item:last-child {
    border-bottom: 0;
  }

  .cycle-number,
  .cycle-visual {
    grid-row: span 3;
  }

  .cycle-number {
    display: none;
  }

  .cycle-visual {
    grid-column: 1;
    margin: 0;
  }

  .cycle-item h3,
  .cycle-item > p {
    grid-column: 2;
  }

  .cycle-item h3 {
    align-self: end;
  }

  .skill-context {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .trust-principles article:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .trust-principles article:last-child {
    grid-column: span 2;
  }

  .architecture-row {
    grid-template-columns: 120px repeat(3, 1fr);
  }

  .architecture-flow {
    padding-left: 120px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .hero {
    height: 92svh;
    min-height: 720px;
  }

  .hero-grid {
    background-size: 54px 54px;
  }

  .hero-copy {
    padding-top: 98px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 18px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .button {
    min-height: 44px;
    padding-inline: 15px;
    gap: 16px;
  }

  .hero-assurance {
    gap: 12px;
  }

  .workspace-stage {
    bottom: -10px;
    height: 270px;
    min-height: 0;
    width: calc(100% - 32px);
  }

  .workspace-bar {
    grid-template-columns: 1fr auto;
  }

  .workspace-context {
    display: none;
  }

  .workspace-body {
    grid-template-columns: 1fr;
  }

  .workspace-nav {
    display: none;
  }

  .agent-thread {
    padding: 12px 14px;
  }

  .thread-head {
    padding-bottom: 8px;
  }

  .user-prompt {
    margin-block: 10px;
    width: 88%;
  }

  .agent-response {
    grid-template-columns: 22px 1fr;
  }

  .agent-avatar {
    width: 22px;
    height: 22px;
  }

  .agent-response p {
    margin-block: 5px 8px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .response-actions {
    display: none;
  }

  .evidence-list span {
    min-height: 23px;
  }

  .position-grid > div {
    padding-inline: 20px;
  }

  .section,
  .platform-map,
  .start-section {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .trust-copy h2,
  .map-heading h2,
  .edge-copy h2,
  .start-layout h2,
  .field-content h2 {
    font-size: 34px;
  }

  .cycle-item {
    padding: 24px;
    display: block;
  }

  .cycle-visual {
    height: 170px;
    margin-bottom: 24px;
  }

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

  .skill-tabs button {
    min-height: 50px;
    border-bottom: 1px solid var(--line-light);
  }

  .skill-tabs button:nth-child(2) {
    border-right: 1px solid var(--line-light);
  }

  .skill-tabs button:nth-child(n + 3) {
    border-bottom: 0;
  }

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

  .skill-card {
    min-height: 280px;
    padding: 24px;
  }

  .skill-card h3 {
    margin-top: 42px;
  }

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

  .field-scene,
  .field-content {
    min-height: 620px;
  }

  .field-content {
    padding-block: 72px;
  }

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

  .field-labels span {
    min-height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line-light);
  }

  .field-labels span:nth-child(2) {
    border-right: 1px solid var(--line-light);
  }

  .field-labels span:nth-child(n + 3) {
    border-bottom: 0;
  }

  .trust-layout {
    gap: 60px;
  }

  .trace-console {
    box-shadow: 12px 12px 0 #e2e6dc;
  }

  .trace-question p {
    margin-right: 0;
    font-size: 15px;
  }

  .trace-question span {
    position: static;
    margin-top: 12px;
    display: inline-block;
  }

  .trace-evidence > div {
    min-height: 70px;
    grid-template-columns: 72px 1fr;
    gap: 8px;
  }

  .trace-evidence b {
    grid-column: 2;
  }

  .trust-principles {
    margin-top: 80px;
    grid-template-columns: 1fr;
  }

  .trust-principles article,
  .trust-principles article:last-child {
    grid-column: auto;
    min-height: 190px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .trust-principles article:last-child {
    border-bottom: 0;
  }

  .trust-principles h3 {
    margin-top: 38px;
  }

  .architecture {
    margin-top: 48px;
  }

  .architecture-row {
    grid-template-columns: 1fr;
  }

  .architecture-row > div,
  .architecture-row > span {
    min-height: 76px;
  }

  .architecture-row .row-label {
    min-height: 40px;
    padding-block: 0;
  }

  .architecture-flow {
    height: 35px;
    padding-left: 0;
  }

  .device-stage {
    min-height: 0;
    padding-top: 0;
  }

  .device-image {
    width: 116%;
    margin: 8px -9% 34px -7%;
  }

  .device-spec {
    right: auto;
    left: auto;
  }

  .device-spec span {
    padding: 0 6px;
    text-align: center;
  }

  .device-stage > p {
    text-align: right;
  }

  .start-layout {
    gap: 48px;
  }

  .footer-inner {
    padding: 28px 0;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .footer-inner p {
    grid-column: span 2;
    grid-row: 2;
  }
}

@media (max-height: 760px) and (min-width: 621px) {
  .hero-copy {
    padding-top: 94px;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-assurance {
    margin-top: 14px;
  }

  .workspace-stage {
    height: 38svh;
    min-height: 280px;
  }
}

@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;
  }

  .field-scene video {
    visibility: hidden;
  }
}
