:root {
  --ink: #17211d;
  --muted: #5b6861;
  --line: #d7dfda;
  --paper: #f7f6f0;
  --panel: #ffffff;
  --mint: #d8f2df;
  --green: #1f7a4d;
  --green-dark: #124a32;
  --gold: #d9ad4f;
  --red: #b84535;
  --blue: #2f6f9f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

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

main {
  overflow: hidden;
}

.hero {
  min-height: 94vh;
  background:
    linear-gradient(110deg, rgba(18, 74, 50, 0.92), rgba(31, 122, 77, 0.72)),
    radial-gradient(circle at 75% 20%, rgba(216, 242, 223, 0.5), transparent 30%),
    #154431;
  color: #fff;
  display: flex;
  align-items: stretch;
}

.hero__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 52px;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 52px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.topbar a {
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.hero__content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  gap: 42px;
  align-items: center;
  padding: 44px 0 18px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  color: var(--green-dark);
  background: var(--mint);
  border: 1px solid rgba(31, 122, 77, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #effff4;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

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

h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__copy p {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.7;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
}

.button--primary {
  color: var(--green-dark);
  background: #f7f6f0;
}

.button--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.agent-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  padding: 22px;
  backdrop-filter: blur(18px);
}

.agent-panel__header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #76e09b;
  box-shadow: 0 0 0 5px rgba(118, 224, 155, 0.16);
}

.agent-panel__title {
  margin-top: 18px;
  font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo,
    monospace;
  font-size: 24px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.agent-panel__grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.agent-panel__grid div {
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.agent-panel__grid span,
.agent-panel__grid strong {
  display: block;
}

.agent-panel__grid span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.agent-panel__grid strong {
  margin-top: 8px;
  font-size: 18px;
}

.mini-log {
  margin-top: 18px;
  border-radius: 8px;
  background: rgba(9, 24, 18, 0.48);
  padding: 14px;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.8;
}

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

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

h2 {
  max-width: 700px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
}

.lead,
.capability-grid p,
.boundary-item p,
.check p,
.replicate-card li,
.callout span {
  color: var(--muted);
  line-height: 1.7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-grid article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.capability-grid article span {
  color: var(--green);
  font-weight: 800;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
}

.capability-grid h3 {
  margin-top: 42px;
}

.capability-grid p {
  margin-top: 12px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.workflow__step {
  min-height: 132px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.workflow__step span {
  display: block;
  color: var(--gold);
  font-weight: 800;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
}

.workflow__step strong {
  display: block;
  margin-top: 30px;
  line-height: 1.35;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(390px, 1fr);
  gap: 30px;
  align-items: center;
}

.section--split h2 {
  margin-top: 14px;
}

.lead {
  margin-top: 18px;
  font-size: 18px;
}

.callout {
  margin-top: 26px;
  border-left: 4px solid var(--green);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}

.callout strong,
.callout span {
  display: block;
}

.callout span {
  margin-top: 8px;
}

.console {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #10271b;
  background: #0d1712;
  color: #d6eadc;
  box-shadow: 0 28px 70px rgba(18, 74, 50, 0.16);
}

.console__bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #51635a;
}

.console__bar span:first-child {
  background: var(--red);
}

.console__bar span:nth-child(2) {
  background: var(--gold);
}

.console__bar span:nth-child(3) {
  background: #65b87b;
}

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

pre {
  margin: 0;
  padding: 22px;
  white-space: pre-wrap;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.75;
}

.table-card,
.replicate-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.table-card__meta {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.table-card__meta span {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  color: var(--green-dark);
  background: #edf7f0;
  font-size: 13px;
}

td:nth-child(3),
td:nth-child(4) {
  color: var(--green);
  font-weight: 800;
}

.section--boundary {
  width: 100%;
  background: #1a251f;
  color: #fff;
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
}

.section--boundary .section__header,
.section--boundary .boundary-grid {
  width: 100%;
}

.section--boundary .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: #dff6e7;
  border-color: rgba(255, 255, 255, 0.14);
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.boundary-item {
  min-height: 122px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
  display: flex;
  gap: 14px;
}

.boundary-item span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: #1a251f;
  font-weight: 900;
}

.boundary-item p {
  color: rgba(255, 255, 255, 0.8);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.check {
  min-height: 96px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.check span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

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

.replicate-card {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(216, 242, 223, 0.9), rgba(255, 255, 255, 0.86)),
    #fff;
}

.replicate-card h2 {
  margin-top: 14px;
}

.replicate-card ol {
  margin: 24px 0 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 46px;
}

.replicate-card li {
  break-inside: avoid;
  margin-bottom: 12px;
}

@media (max-width: 940px) {
  .hero__content,
  .section--split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .capability-grid,
  .boundary-grid,
  .checklist {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero__inner,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero__content {
    padding-top: 28px;
  }

  h1 {
    font-size: 46px;
  }

  .hero__copy p,
  .lead {
    font-size: 16px;
  }

  .agent-panel__grid,
  .capability-grid,
  .boundary-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section__header,
  .table-card__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .replicate-card {
    padding: 24px;
  }

  .replicate-card ol {
    columns: 1;
  }
}
