:root {
  color-scheme: light;
  --bg: #f4f6ef;
  --surface: #ffffff;
  --surface-soft: #eef3e7;
  --ink: #151917;
  --muted: #5d665f;
  --line: #d8ddd4;
  --green: #62b836;
  --green-dark: #327e4d;
  --teal: #08878d;
  --amber: #bd7a17;
  --blue: #3478f6;
  --shadow: 0 24px 70px rgba(20, 28, 22, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 12, 9, 0.74), rgba(7, 12, 9, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a {
  padding: 6px 0;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 130px clamp(20px, 6vw, 88px) 72px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center top;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 13, 9, 0.86) 0%, rgba(8, 13, 9, 0.58) 42%, rgba(8, 13, 9, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 13, 9, 0.18) 0%, rgba(8, 13, 9, 0) 48%, rgba(244, 246, 239, 0.88) 100%);
}

.hero-copy {
  max-width: 760px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 80px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 28px;
  line-height: 1.32;
  font-weight: 750;
}

.hero-note {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  text-shadow: none;
}

.primary-action {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 36px rgba(98, 184, 54, 0.28);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(14px);
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-item {
  min-height: 156px;
  padding: 28px clamp(20px, 3vw, 36px);
  background: var(--surface);
}

.flow-item span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.flow-item strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.flow-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: 86px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.capability-section {
  background: var(--bg);
}

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

.capability-grid article {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.capability-grid h3,
.tech-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.24;
  letter-spacing: 0;
}

.capability-grid p,
.tech-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.scenario-section {
  background: var(--bg);
  padding-top: 0;
}

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

.scenario-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(30, 36, 28, 0.08);
}

.scenario-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
}

.scenario-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.scenario-copy {
  padding: 26px;
}

.scenario-label,
.module-copy span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.scenario-copy h3,
.module-copy h3,
.comparison-block h3,
.safety-grid h3 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: 0;
}

.scenario-copy p,
.module-copy p,
.safety-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.modules-section {
  background: #fbfcf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.module-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(30, 36, 28, 0.08);
}

.module-large {
  grid-column: span 2;
}

.module-copy {
  padding: 26px 26px 22px;
}

.intent-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.intent-points span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid #cfe4bf;
  border-radius: 8px;
  padding: 0 10px;
  background: #eef7e8;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.module-panel > img {
  width: 100%;
  height: clamp(220px, 24vw, 320px);
  border-top: 1px solid var(--line);
  object-fit: cover;
  object-position: center top;
}

.module-large > img {
  height: clamp(260px, 27vw, 380px);
}

.module-panel > img.intent-workbench-image {
  object-position: center 42%;
}

.evidence-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.evidence-grid img {
  width: 100%;
  height: 104px;
  background: var(--surface);
  object-fit: cover;
  object-position: center top;
}

.evidence-grid img:first-child {
  height: 156px;
}

.value-section {
  background: var(--bg);
}

.intelligence-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.intelligence-grid article {
  min-height: 230px;
  padding: 26px;
  background: #fbfcf8;
}

.intelligence-grid span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.intelligence-grid h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.24;
  letter-spacing: 0;
}

.intelligence-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.tech-section {
  background: #fbfcf8;
  border-top: 1px solid var(--line);
}

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

.tech-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(30, 36, 28, 0.08);
}

.tech-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

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

.comparison-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
}

.comparison-block.before {
  border-top: 4px solid var(--amber);
}

.comparison-block.after {
  border-top: 4px solid var(--green);
}

.comparison-block ol {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.comparison-block li + li {
  margin-top: 10px;
}

.safety-section {
  background: #111612;
  color: #fff;
}

.safety-section .section-heading p:not(.eyebrow),
.safety-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.safety-grid article {
  min-height: 180px;
  padding: 28px;
  background: #171e18;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #0c100d;
  color: #fff;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding-top: 112px;
  }

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

  .hero-subtitle {
    font-size: 24px;
  }

  .flow-strip,
  .capability-grid,
  .scenario-grid,
  .module-layout,
  .comparison-grid,
  .intelligence-grid,
  .tech-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .module-large {
    grid-column: auto;
  }

  .module-panel > img,
  .module-large > img {
    height: clamp(220px, 56vw, 320px);
  }

  .evidence-grid img,
  .evidence-grid img:first-child {
    height: clamp(120px, 34vw, 190px);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 82vh;
    padding: 100px 18px 52px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 13, 9, 0.9) 0%, rgba(8, 13, 9, 0.72) 100%),
      linear-gradient(180deg, rgba(8, 13, 9, 0.16) 0%, rgba(244, 246, 239, 0.82) 100%);
  }

  .hero-image {
    object-position: 54% top;
  }

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

  .hero-subtitle {
    font-size: 21px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .section {
    padding: 58px 18px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .scenario-copy,
  .module-copy,
  .comparison-block,
  .safety-grid article {
    padding: 22px;
  }

  .scenario-copy h3,
  .module-copy h3,
  .comparison-block h3,
  .safety-grid h3 {
    font-size: 21px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 18px;
  }
}
