﻿@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@500;700&display=swap");

:root {
  --bg: #edf6ee;
  --bg-deep: #d8e7d5;
  --paper: #f8fff8;
  --text: #1f2f25;
  --muted: #4f6759;
  --primary: #1f6345;
  --accent: #65a975;
  --accent-soft: #d8f0dc;
  --line: rgba(31, 99, 69, 0.24);
  --shadow: 0 14px 34px rgba(18, 46, 31, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(101, 169, 117, 0.2), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(31, 99, 69, 0.18), transparent 30%),
    linear-gradient(145deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
  line-height: 1.68;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(from 40deg, #1a5d40, #3e8f65, #8dcf9c, #1a5d40);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--primary);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 18px;
}

.site-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s ease;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--accent-soft);
  color: var(--primary);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px 70px;
}

.hero {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
}

.hero h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.22;
  margin: 0 0 14px;
}

.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 1.2px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 66ch;
}

.hero-image,
.section-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.cta-row {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
}

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

.btn-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--primary);
}

.panel {
  margin-top: 30px;
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.section-title {
  margin: 0 0 6px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(24px, 3vw, 36px);
}

.section-intro {
  margin: 0 0 16px;
  color: var(--muted);
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.card h3,
.card h4 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", serif;
}

.card p {
  margin: 0;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.timeline li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
}

.timeline strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #d9efdc;
  color: #1f5138;
}

.feature-banner {
  margin-top: 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.feature-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08);
}

.feature-copy {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(12, 38, 25, 0.66);
  color: #f4fff6;
  border-radius: 12px;
  padding: 12px;
}

.feature-copy h3 {
  margin: 0 0 4px;
  font-family: "Noto Serif SC", serif;
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #d2ebd6;
  color: #2e6447;
}

.info-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

.info-list li {
  margin: 0;
}

.term-list {
  display: grid;
  gap: 10px;
}

.term-item {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fbfffb;
}

.term-item strong {
  color: var(--primary);
}

.note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e2f2e4;
  border: 1px solid rgba(31, 99, 69, 0.32);
}

.meta-strip {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #edf8ef;
  color: var(--primary);
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 10px;
}

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

.definition {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfffb;
  padding: 12px;
}

.definition h4 {
  margin: 0 0 6px;
  color: var(--primary);
}

.definition p {
  margin: 0;
}

.site-footer {
  padding: 24px 20px 36px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.kicker {
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  letter-spacing: 1.5px;
  margin: 0 0 4px;
  color: var(--primary);
}

.calc-box {
  display: grid;
  gap: 10px;
  max-width: 480px;
}

.calc-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

label {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  background: #fbfffb;
}

.calc-result {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ecf8ef;
  padding: 10px 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .grid-4,
  .grid-3,
  .grid-2,
  .definition-grid,
  .calc-row {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    right: 20px;
    top: 64px;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    display: none;
    min-width: 220px;
    align-items: stretch;
  }

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

  .site-nav a {
    border-radius: 10px;
  }

  .feature-banner img {
    height: 220px;
  }

  table {
    min-width: 560px;
  }
}

