:root {
  color-scheme: light;
  --ink: #071421;
  --muted: #657487;
  --line: #dce5ec;
  --paper: #ffffff;
  --soft: #f4f8fa;
  --dark: #07131f;
  --green: #12c98b;
  --green-dark: #06966a;
  --blue: #4567f1;
  --amber: #d69a11;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(220,229,236,.75);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { display: block; width: 154px; height: auto; }
.site-header nav { display: flex; gap: 28px; color: #516174; font-size: 14px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.text-link { color: #5e6d7e; font-size: 13px; font-weight: 800; }
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid transparent;
}
.button.primary { color: white; background: var(--green); box-shadow: 0 14px 34px rgba(18,201,139,.24); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { color: var(--ink); background: #eff6f4; border-color: #d9ece5; }
.button.ghost { color: white; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.08); }

.hero {
  min-height: clamp(620px, 88vh, 840px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,19,31,.96) 0%, rgba(7,19,31,.82) 34%, rgba(7,19,31,.2) 72%, rgba(7,19,31,.5) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  color: white;
}
.kicker, .kicker-light, .section-head small, .cta small, .entry-card small {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero h1 { margin: 18px 0 20px; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: 0; }
.hero p { max-width: 610px; color: #b8c5d1; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-metrics { display: flex; gap: 32px; margin: 44px 0 0; }
.hero-metrics div { min-width: 120px; }
.hero-metrics dt { color: white; font-size: 18px; font-weight: 900; }
.hero-metrics dd { margin: 6px 0 0; color: #8295a7; font-size: 12px; }

.page-pad { width: min(1180px, calc(100vw - 48px)); margin: 0 auto; }
.entry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 36px 0; }
.entry-card, .feature-grid article {
  display: block;
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
}
.entry-card:hover, .feature-grid article:hover { border-color: #9bdcc5; box-shadow: 0 16px 44px rgba(25,44,61,.08); transform: translateY(-2px); }
.entry-card h2, .feature-grid b { display: block; margin: 16px 0 10px; font-size: 22px; }
.entry-card p, .feature-grid p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }

.section { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2, .split-section h2, .cta h2 { margin: 10px 0 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
.section-head p, .split-section p, .cta p { color: var(--muted); line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid article { background: linear-gradient(180deg, #fff, #f9fcfb); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.steps { display: grid; gap: 16px; padding: 0; margin: 28px 0 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps span { height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }
.terminal { border-radius: 8px; overflow: hidden; background: #07131f; color: #dceaf1; box-shadow: 0 28px 80px rgba(7,19,31,.18); }
.terminal-top { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #0e2134; color: #8aa0b6; font-size: 12px; }
.terminal-top i { width: 10px; height: 10px; border-radius: 50%; background: #38516a; }
.terminal-top span { margin-left: 8px; }
.terminal pre { margin: 0; padding: 24px; white-space: pre-wrap; line-height: 1.75; font-size: 13px; }

.cta {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 80px;
  padding: 38px;
  border-radius: 8px;
  color: white;
  background: #07131f;
}
.cta p { max-width: 720px; color: #aec0cf; }
.footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: #6c7d8c;
  font-size: 13px;
}
.footer .brand { margin-right: auto; }
.footer .brand img { width: 148px; }
.footer span { margin-right: auto; color: var(--ink); font-weight: 900; }

.doc-layout, .price-layout, .status-layout {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 72px 0 90px;
}
.sub-hero { padding: 70px 0 38px; border-bottom: 1px solid var(--line); }
.sub-hero h1 { margin: 10px 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.08; }
.sub-hero p { max-width: 760px; color: var(--muted); line-height: 1.8; }
.doc-grid, .price-grid, .status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.doc-card, .price-card, .status-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
}
.doc-card h2, .price-card h2, .status-card h2 { margin: 0 0 12px; font-size: 22px; }
.doc-card p, .price-card p, .status-card p { color: var(--muted); line-height: 1.7; }
.doc-card code, .status-card code { display: block; overflow-x: auto; padding: 12px; border-radius: 7px; background: #f0f5f7; color: #203145; font-size: 12px; }
.price-card strong { display: block; margin: 18px 0; font-size: 30px; }
.price-card ul, .status-card ul { padding-left: 18px; color: var(--muted); line-height: 1.9; }
.status-ok { color: var(--green-dark); font-weight: 900; }
.status-warn { color: var(--amber); font-weight: 900; }

@media (max-width: 860px) {
  .site-header { height: auto; min-height: 68px; flex-wrap: wrap; gap: 12px; padding: 14px 20px; }
  .brand img { width: 142px; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; gap: 20px; }
  .hero { min-height: 700px; align-items: end; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7,19,31,.32), rgba(7,19,31,.96) 58%); }
  .hero-copy { margin: 0 24px 42px; }
  .hero-metrics, .entry-grid, .feature-grid, .doc-grid, .price-grid, .status-grid { grid-template-columns: 1fr; display: grid; }
  .split-section, .cta { grid-template-columns: 1fr; display: grid; }
  .footer { flex-wrap: wrap; padding: 22px 24px; }
}
