:root {
  color-scheme: light;
  --bg: #f6f8f6;
  --ink: #17201b;
  --muted: #66736b;
  --line: #dce5df;
  --paper: #ffffff;
  --green: #176a57;
  --green-dark: #0f4b3d;
  --blue: #245f99;
  --red: #c9362e;
  --gold: #b87920;
  --shadow: 0 18px 50px rgba(25, 39, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(246, 248, 246, 0.9);
  border-bottom: 1px solid rgba(220, 229, 223, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
}

.brand em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 38px;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--green-dark);
  background: #e8f2ee;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 78px);
  padding: clamp(28px, 6vw, 78px) clamp(18px, 5vw, 64px);
}

.hero-media {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dfe9e2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.lead {
  margin-bottom: 26px;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.primary,
.secondary {
  min-height: 46px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 900;
}

.primary {
  color: #fff;
  background: var(--green);
}

.secondary {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.trust-strip {
  margin: 0 clamp(18px, 5vw, 64px) 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 32px;
}

.trust-strip span,
.role-grid p,
.capability-grid p,
.flow-list span,
.boundary p,
.prototype-links span,
.site-footer span {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.prototype-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

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

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

.role-grid article,
.capability-grid article,
.prototype-links a,
.boundary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.role-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 99px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: #e8f2ee;
  font-size: 13px;
  font-weight: 900;
}

.role-grid p,
.capability-grid p,
.boundary p {
  margin-bottom: 0;
}

.band {
  background: #eef4f0;
}

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

.capability-grid article {
  min-height: 180px;
}

.workflow {
  background: var(--paper);
}

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

.flow-list li {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fbfdfb;
  counter-increment: flow;
}

.flow-list li::before {
  content: counter(flow);
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.flow-list strong,
.flow-list span,
.prototype-links strong,
.prototype-links span {
  display: block;
}

.flow-list strong {
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 24px;
  align-items: start;
}

.prototype-section {
  background: #17201b;
  color: #fff;
}

.prototype-section .eyebrow,
.prototype-links span {
  color: #b6ccc1;
}

.prototype-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prototype-links a {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.prototype-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.prototype-links strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.site-footer {
  min-height: 86px;
  padding: 0 clamp(18px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #101713;
  color: #fff;
}

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

  .trust-strip,
  .role-grid,
  .capability-grid,
  .flow-list,
  .prototype-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .trust-strip,
  .role-grid,
  .capability-grid,
  .flow-list,
  .prototype-links {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
}
