* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f5f8f2;
  --card: #ffffff;
  --text: #18211a;
  --muted: #5f6f63;
  --line: #dfe8dc;
  --primary: #4b9f4a;
  --primary-dark: #1f5d39;
  --accent: #e8f5df;
  --shadow: 0 20px 50px rgba(31, 93, 57, 0.12);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(126, 217, 87, 0.25), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer,
.hero,
.content {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(75, 159, 74, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 36px;
  padding: 64px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(75, 159, 74, 0.22);
}

.button.secondary {
  background: var(--card);
  color: var(--primary-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-card,
.card,
.doc {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  font-size: 1.3rem;
}

.metric span,
.small {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 40px 0;
}

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

.card {
  padding: 22px;
  box-shadow: none;
}

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

.content {
  padding: 28px 0 64px;
}

.doc {
  padding: clamp(22px, 5vw, 44px);
}

.doc-title {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.doc-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.doc ul,
.doc ol {
  padding-left: 1.4rem;
}

.doc li {
  margin: 0.35rem 0;
}

.site-footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

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