:root {
  --ink: #17212f;
  --muted: #526071;
  --line: #d9e2ea;
  --soft: #f3f7f8;
  --brand: #12695f;
  --brand-dark: #0f403b;
  --accent: #9b5a2e;
  --paper: #ffffff;
  --wash: #eef5f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f6faf9 0, #fbfcfd 360px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.78;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 18px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a {
  color: #334155;
  font-size: 15px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px 22px 64px;
}

.hero {
  padding: 10px 0 36px;
  border-bottom: 1px solid var(--line);
}

.hero-panel {
  padding: 46px;
  background:
    linear-gradient(135deg, rgba(18, 105, 95, 0.10), rgba(155, 90, 46, 0.08)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero h1,
.content h1 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero p,
.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

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

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

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: var(--brand);
}

.button-primary:hover {
  color: #fff;
}

.button-secondary {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.section-block {
  margin-top: 44px;
}

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

.section-heading h2,
.content h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.3;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.card,
.contact-card,
.notice,
.highlight-band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card {
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  border-color: rgba(18, 105, 95, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 64, 59, 0.08);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 0;
}

.feature-card {
  min-height: 150px;
  border-top: 4px solid var(--brand);
}

.question-card {
  background: linear-gradient(180deg, #fff 0, #f8fbfb 100%);
}

.content {
  max-width: 860px;
}

.content h2 {
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.highlight-band h2 {
  margin-top: 0;
  border-bottom: 0;
}

.about-strip {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.portrait,
.portrait-wide {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15, 64, 59, 0.08);
}

.portrait {
  aspect-ratio: 4 / 5;
  object-position: center 36%;
}

.portrait-wide {
  max-width: 420px;
  max-height: 520px;
  margin: 6px 0 22px;
  object-position: center 36%;
}

.content h3 {
  margin-top: 24px;
}

.content p,
.content li,
.card p {
  color: #354254;
}

.notice {
  border-left: 4px solid var(--brand);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.link-grid a {
  display: block;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 660px;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  background: linear-gradient(135deg, #ffffff 0, var(--wash) 100%);
}

.contact-card h2 {
  margin: 0 0 8px;
}

.contact-card ul {
  padding-left: 20px;
  margin-bottom: 0;
  color: var(--muted);
}

.qr-placeholder,
.qr-image {
  display: grid;
}

.qr-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.qr-group figure {
  margin: 0;
}

.qr-group figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.qr-placeholder {
  width: 170px;
  height: 170px;
  place-items: center;
  color: var(--muted);
  text-align: center;
  background: repeating-linear-gradient(45deg, #eef3f6, #eef3f6 10px, #f8fafc 10px, #f8fafc 20px);
  border: 1px dashed #94a3b8;
  border-radius: 8px;
}

.qr-image {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 64, 59, 0.10);
}

.site-footer {
  padding: 30px 40px;
  background: #102321;
}

.site-footer p {
  max-width: 1080px;
  margin: 6px auto;
  color: #dbeafe;
}

@media (max-width: 1040px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .qr-group {
    max-width: 660px;
  }
}

@media (max-width: 720px) {
  .site-header {
    display: block;
    padding: 16px 20px;
  }

  nav {
    margin-top: 12px;
    gap: 10px 14px;
  }

  main {
    padding: 26px 16px 48px;
  }

  .hero-panel {
    padding: 26px 20px;
  }

  .hero h1,
  .content h1 {
    font-size: 30px;
  }

  .hero p,
  .lead {
    font-size: 16px;
  }

  .about-strip {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 220px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .qr-group {
    grid-template-columns: 1fr;
    max-width: 220px;
  }

  .qr-placeholder,
  .qr-image {
    width: 100%;
    height: auto;
  }

  .qr-placeholder {
    height: 150px;
  }
}
