:root {
  --bg: #fafbf7;
  --surface: #ffffff;
  --mint: #e5efc8;
  --mint-deep: #d8e6b0;
  --primary: #7ba05b;
  --primary-dark: #5f8144;
  --accent: #e8913a;
  --accent-dark: #c46e1a;
  --text: #1f2a22;
  --text-secondary: #66756a;
  --border: #e2e8da;
  --max: 720px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-dark);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  text-align: center;
}

.hero-logo {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 28px rgba(80, 100, 60, 0.14);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero .tagline {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  background: var(--mint);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--mint);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--mint-deep);
  color: var(--primary-dark);
}

.cards {
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card a {
  font-weight: 700;
  text-decoration: none;
}

h1.page-title {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.notice {
  background: var(--mint);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.warning {
  background: #fff1e0;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  color: var(--accent-dark);
  font-weight: 600;
}

article section {
  margin-bottom: 1.75rem;
}

article h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

article h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.02rem;
}

article ul,
article ol {
  padding-left: 1.25rem;
}

article li {
  margin-bottom: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
}

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

  .nav {
    justify-content: flex-start;
  }
}
