:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5d6b7c;
  --line: #dbe5ef;
  --blue: #2563eb;
  --green: #0f9f79;
  --amber: #b7791f;
  --surface: #ffffff;
  --soft: #eef7f3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f8fb;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
}

.nav-button,
.primary {
  background: var(--blue);
  color: #fff;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: 0;
}

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

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

.lead,
.section-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

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

.product-panel,
.role-grid article,
.feature-list,
.status-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(16, 32, 51, 0.08);
}

.product-panel {
  padding: 22px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top span,
.metric-grid span,
.screen-row span,
.status-grid span {
  color: var(--muted);
  font-size: 14px;
}

.panel-top strong {
  color: var(--green);
}

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

.metric-grid div {
  padding: 16px;
  border-radius: 6px;
  background: #f4f8fc;
}

.metric-grid strong {
  display: block;
  font-size: 24px;
}

.screen-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #102033 0%, #1e3a5c 100%);
}

.screen-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.screen-row span {
  color: rgba(255, 255, 255, 0.78);
}

.screen-row em {
  color: #8ff0c9;
  font-style: normal;
  font-weight: 800;
}

.screen-row .warn {
  color: #ffd38a;
}

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

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

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

.role-grid article {
  padding: 24px;
}

.role-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green);
  font-weight: 900;
}

.role-grid p,
.feature-list span,
footer p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.feature-list div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 6px;
  background: #f7fafc;
}

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

.status-grid a {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.status-grid strong {
  font-size: 20px;
  word-break: break-word;
}

.status-grid em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

footer span {
  font-weight: 900;
}

footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .split-section,
  .role-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 38px;
  }

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

  .hero-actions a {
    width: 100%;
  }
}
