:root {
  --bg: #ffffff;
  --surface: #f5f7f8;
  --surface-strong: #e8eef1;
  --text: #1e2a2f;
  --muted: #5f6f75;
  --line: #d7e0e3;
  --accent: #1f6f78;
  --accent-strong: #174f56;
  --accent-soft: #e3f1f2;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

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

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-weight: 700;
  font-size: 20px;
  color: var(--accent-strong);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accent-strong);
}

.hero {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--surface), #ffffff);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  color: var(--text);
  font-weight: 700;
}

h1 {
  font-size: 42px;
  max-width: 760px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 14px 0 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid var(--accent);
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.secondary {
  color: var(--accent-strong);
  background: #ffffff;
}

.hero-panel,
.placeholder-box {
  min-height: 260px;
  border: 1px dashed var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.hero-panel p,
.placeholder-box {
  font-weight: 700;
}

.hero-panel span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 64px 0;
}

.section.muted {
  background: var(--surface);
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

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

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

.card {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 24px;
  border-radius: 6px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 360px 1fr;
}

.feature-row.reverse > div:first-child {
  order: 2;
}

.feature-row.reverse > div:last-child {
  order: 1;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: var(--surface);
}

.contact-card {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 6px;
  padding: 24px;
}

dl {
  margin: 20px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0;
  background: #172225;
  color: #d9e4e7;
}

.footer-inner {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.site-footer a {
  color: #ffffff;
}

.legal-page .section {
  padding-top: 48px;
}

.legal-content {
  max-width: 860px;
}

.legal-content h1 {
  font-size: 36px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 24px;
}

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

@media (max-width: 820px) {
  .header-inner,
  .site-nav {
    justify-content: flex-start;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-grid,
  .two-column,
  .feature-row,
  .feature-row.reverse,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse > div:first-child,
  .feature-row.reverse > div:last-child {
    order: initial;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .section {
    padding: 48px 0;
  }
}
