:root {
  --ink: #17211d;
  --muted: #607069;
  --line: rgba(23, 33, 29, 0.13);
  --paper: #f5f5ef;
  --white: #fffefa;
  --green: #125d43;
  --green-dark: #0b3f2d;
  --lime: #c7ee77;
  --orange: #ff7b4a;
  --shadow: 0 28px 80px rgba(25, 52, 41, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(199, 238, 119, 0.22), transparent 26rem),
    var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: relative;
  z-index: 10;
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px 12px 12px 3px;
  color: var(--white);
  background: var(--green);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 16px; letter-spacing: 0.08em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: 0.18em; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-header nav a { color: #3e4d47; transition: color 160ms ease; }
.site-header nav a:hover { color: var(--green); }
.site-header .nav-login {
  padding: 10px 18px;
  color: var(--white);
  border-radius: 999px;
  background: var(--green);
}
.site-header .nav-login:hover { color: var(--white); background: var(--green-dark); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 76px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button {
  min-width: 126px;
  padding: 13px 22px;
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); border-color: var(--green); background: var(--green); }
.button.secondary { background: rgba(255, 255, 255, 0.52); }
.access-note { margin: 24px 0 0; display: flex; align-items: center; gap: 9px; color: #738078; font-size: 12px; }
.access-note span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(199, 238, 119, 0.22); }

.system-preview {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  color: var(--white);
  background: #13231d;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.system-preview::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -100px;
  border-radius: 50%;
  background: rgba(199, 238, 119, 0.18);
  filter: blur(6px);
}
.preview-topbar { height: 54px; padding: 0 20px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.preview-topbar > span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.preview-topbar > span:first-child { background: var(--orange); }
.preview-topbar p { margin-left: auto; color: rgba(255, 255, 255, 0.45); font-size: 9px; letter-spacing: 0.16em; }
.preview-body { min-height: 436px; display: grid; grid-template-columns: 58px 1fr; }
.preview-body aside { padding: 22px 0; display: flex; align-items: center; flex-direction: column; gap: 20px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.preview-body aside i { width: 17px; height: 17px; display: block; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 5px; }
.preview-body aside i.active { border-color: var(--lime); background: var(--lime); }
.preview-canvas { position: relative; overflow: hidden; }
.canvas-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.node { position: absolute; z-index: 2; width: 178px; padding: 17px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); }
.node b, .node span { display: block; }
.node b { color: #f5f6ef; font-size: 13px; }
.node span { margin-top: 6px; color: rgba(255, 255, 255, 0.49); font-size: 10px; }
.node-a { left: 11%; top: 13%; }
.node-b { right: 8%; top: 38%; }
.node-c { left: 18%; bottom: 10%; }
.node-a::after, .node-b::after, .node-c::after { content: ""; position: absolute; width: 8px; height: 8px; right: -5px; top: 50%; border: 2px solid #13231d; border-radius: 50%; background: var(--lime); }
.connector { position: absolute; height: 2px; z-index: 1; transform-origin: left center; background: linear-gradient(90deg, rgba(199,238,119,.7), rgba(199,238,119,.12)); }
.connector.one { width: 150px; left: 41%; top: 34%; transform: rotate(21deg); }
.connector.two { width: 140px; left: 40%; bottom: 29%; transform: rotate(-21deg); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 104px 0; }
.section-heading { max-width: 680px; }
.section-heading h2, .company h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.03em; }
.section-heading > p:last-child { color: var(--muted); }
.capabilities { border-top: 1px solid var(--line); }
.feature-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid article { min-height: 260px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 254, 250, 0.68); }
.feature-index { color: var(--green); font-family: Georgia, serif; font-size: 13px; }
.feature-grid h3 { margin: auto 0 12px; font-size: 20px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.company { padding-top: 42px; }
.company-card { padding: 52px; display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 50px; border-radius: 28px; color: var(--white); background: var(--green); box-shadow: var(--shadow); }
.company-card .eyebrow { color: var(--lime); }
.company-card dl { margin: 0; }
.company-card dl > div { padding: 15px 0; display: grid; grid-template-columns: 130px 1fr; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.company-card dl > div:last-child { border-bottom: 0; }
.company-card dt { color: rgba(255,255,255,.58); font-size: 13px; }
.company-card dd { margin: 0; font-size: 14px; }

footer { width: min(1180px, calc(100% - 40px)); margin: 42px auto 0; padding: 34px 0 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark.small { width: 34px; height: 34px; font-size: 18px; }
.footer-brand strong { font-size: 13px; }
.footer-brand p { margin: 0; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 12px; }
.footer-links a:hover, .legal-footer a:hover { color: var(--green); }
.copyright { grid-column: 1 / -1; margin: 0; color: #8a948f; font-size: 11px; }

.site-header.compact { min-height: 76px; }
.back-link { color: var(--green); font-size: 13px; font-weight: 600; }
.legal-main { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 82px 0 72px; }
.legal-main > h1 { margin: 0; font-size: clamp(42px, 6vw, 64px); letter-spacing: -0.04em; }
.legal-date { margin: 12px 0 58px; color: var(--muted); font-size: 13px; }
.legal-main section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-main section h2 { margin: 0 0 10px; font-size: 19px; }
.legal-main section p { margin: 0; color: var(--muted); font-size: 15px; }
.legal-footer { width: min(820px, calc(100% - 40px)); margin-top: 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.legal-footer p { margin: 0; }

@media (max-width: 920px) {
  .site-header nav a:not(.nav-login) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
  .system-preview { min-height: 440px; transform: none; }
  .preview-body { min-height: 386px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .company-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 74px; }
  .site-header nav { gap: 0; }
  .hero, .section, footer { width: min(100% - 28px, 1180px); }
  .hero { padding: 44px 0 60px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .system-preview { min-height: 370px; border-radius: 22px; }
  .preview-body { min-height: 316px; grid-template-columns: 44px 1fr; }
  .node { width: 145px; padding: 13px; }
  .node-a { left: 7%; top: 10%; }
  .node-b { right: 5%; top: 42%; }
  .node-c { left: 8%; bottom: 5%; }
  .connector { display: none; }
  .section { padding: 74px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 210px; }
  .company-card { padding: 32px 24px; }
  .company-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 8px; }
  .copyright { grid-column: auto; }
  .legal-main { width: min(100% - 32px, 820px); padding-top: 58px; }
  .legal-footer { width: min(100% - 32px, 820px); align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
