:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-soft: #eef5f1;
  --text: #0e1b17;
  --muted: #50625c;
  --brand: #0f766e;
  --brand-2: #16a34a;
  --line: #d7e4de;
  --shadow: 0 12px 36px rgba(15, 35, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: radial-gradient(1100px 650px at 100% -120px, rgba(22, 163, 74, 0.14), transparent 65%),
    radial-gradient(900px 600px at -10% -150px, rgba(15, 118, 110, 0.16), transparent 65%),
    var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(246, 248, 247, 0.9);
  border-bottom: 1px solid var(--line);
  z-index: 30;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

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

.brand img {
  width: 38px;
  height: 38px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  font-weight: 600;
  color: #1d352d;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
}

.button,
.button-secondary {
  display: inline-block;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.hero {
  padding: 4.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.hero h1 {
  margin: 0;
  line-height: 1.1;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.section {
  padding: 1.5rem 0 3rem;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

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

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(15, 35, 31, 0.05);
}

.card h3 {
  margin-top: 0.2rem;
}

.card p {
  color: var(--muted);
}

.article-cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 0 0 1rem;
}

.author-box {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.author-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.author-name {
  font-weight: 800;
  color: #16342e;
}

.author-role {
  color: var(--muted);
  font-size: 0.93rem;
}

.author-bio {
  margin: 0.3rem 0 0;
  color: #3f5851;
  font-size: 0.92rem;
  line-height: 1.5;
}

.label {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #295046;
  font-size: 0.8rem;
  font-weight: 700;
}

.inline-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.cta {
  background: linear-gradient(130deg, #073d3a, #0f766e 62%, #16a34a);
  color: #e9fffa;
  border-radius: 24px;
  padding: 1.4rem;
}

.cta p {
  color: #c8f6ed;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.5rem 0 2.2rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-header {
  padding: 2.2rem 0 1rem;
}

.page-header p {
  color: var(--muted);
  max-width: 70ch;
}

.article-list .card {
  margin-bottom: 0.9rem;
}

.list {
  padding-left: 1.2rem;
}

.notice {
  background: #fefce8;
  border: 1px solid #f3eaa2;
  border-radius: 12px;
  padding: 0.8rem;
  color: #645813;
}

.site-search {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-left: 0.4rem;
}

.site-search-input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  min-width: 170px;
}

.site-search-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  font-weight: 700;
  color: #20443a;
  cursor: pointer;
}

.search-page-form {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.search-page-form .site-search-input {
  min-width: min(560px, 86vw);
}

.search-results {
  display: grid;
  gap: 0.9rem;
}

.search-result h3 {
  margin: 0.35rem 0 0.25rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    right: 4vw;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 230px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-search {
    width: 100%;
    margin-top: 0.2rem;
  }

  .site-search-input {
    min-width: 0;
    width: 100%;
  }
}
