:root {
  color-scheme: light;
  --bg: #f6f1e7;
  --surface: rgba(255, 252, 247, 0.86);
  --line: rgba(69, 51, 30, 0.12);
  --text: #2f261b;
  --muted: #746654;
  --accent: #8f6943;
  --accent-strong: #6f4e2d;
  --shadow: 0 18px 48px rgba(61, 42, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(191, 161, 120, 0.18), transparent 34%),
    var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

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

.site-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.hero,
.feature-band,
.plain-band,
.document-page {
  margin-bottom: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.feature-item,
.copy-block,
.document-section,
.document-hero {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.hero-copy {
  padding: 36px;
}

.hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-card img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

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

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.2;
}

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

.lead,
.section-heading p,
.document-hero p {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: var(--accent-strong);
  color: #fff;
  border-color: transparent;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

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

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

.copy-block {
  min-height: 100%;
}

.feature-item,
.copy-block,
.document-section,
.document-hero {
  padding: 24px;
}

.document-page {
  max-width: 820px;
}

.document-hero {
  margin-bottom: 18px;
}

.document-section + .document-section {
  margin-top: 18px;
}

.document-section p:last-child,
.feature-item p:last-child,
.copy-block p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero,
  .feature-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-card {
    padding: 26px;
  }
}
