:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #f0f3ec;
  --text: #171a17;
  --muted: #6f756f;
  --line: #e4e8df;
  --brand: #5f7d67;
  --brand-dark: #3f5f48;
  --brand-soft: #dfe9df;
  --shadow: 0 18px 50px rgba(36, 54, 40, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 4%, rgba(95,125,103,.10), transparent 28%),
    radial-gradient(circle at 2% 38%, rgba(95,125,103,.07), transparent 24%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.2)),
    var(--brand);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.52), 0 8px 20px rgba(63,95,72,.18);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 11px;
  top: 11px;
  background: white;
  box-shadow: 0 0 0 5px rgba(255,255,255,.16);
}

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

.nav-links a:hover { color: var(--text); }

.hero {
  padding: 88px 0 74px;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(95,125,103,.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}

.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 760;
}

.hero h1 span { color: var(--brand); }

.hero p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

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

.button {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.button.primary {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
  box-shadow: 0 10px 26px rgba(63,95,72,.18);
}

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

.card {
  padding: 28px;
  min-height: 220px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(227,232,222,.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 20px;
  margin-bottom: 38px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.company {
  margin: 0 0 74px;
  padding: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
}

.company h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.company p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.page {
  padding: 76px 0 90px;
}

.page-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.page-header h1 {
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 18px 0;
}

.page-header p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

.content {
  max-width: 820px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.content h2 {
  font-size: 22px;
  margin: 34px 0 12px;
  letter-spacing: -0.025em;
}

.content h2:first-child { margin-top: 0; }

.content p, .content li {
  color: #444a45;
}

.content ul {
  padding-left: 22px;
}

.note {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--muted);
  margin: 24px 0;
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(95,125,103,.10);
}
.contact-row:last-child { border-bottom: 0; }

.kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.error-wrap {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  text-align: center;
}

.error-code {
  font-size: clamp(88px, 22vw, 180px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -0.08em;
  color: var(--brand-soft);
  margin-bottom: 28px;
}

@media (max-width: 800px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-links .optional { display: none; }
  .hero { padding: 62px 0 48px; }
  .features { grid-template-columns: 1fr; margin-bottom: 64px; }
  .card { min-height: auto; }
  .card .icon { margin-bottom: 26px; }
  .company { grid-template-columns: 1fr; gap: 12px; padding: 26px 4px; }
  .page { padding-top: 54px; }
  .content { border-radius: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .card, .button {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .card:hover { transform: translateY(-3px); }
  .button:hover { transform: translateY(-1px); }
}
