:root {
  --cucumber-900: #14260a;
  --cucumber-800: #1e3a0f;
  --cucumber-700: #2d5016;
  --cucumber-600: #3f6b1f;
  --cucumber-500: #5a8a2e;
  --cucumber-300: #a8d16b;
  --cucumber-200: #c8e6a0;
  --cucumber-100: #e6f3d2;
  --accent: #ffd54f;
  --accent-strong: #ffb300;
  --sky: #7fd1ff;
  --bg: #f6f9f1;
  --bg-soft: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.62);
  --bg-glass-strong: rgba(255, 255, 255, 0.82);
  --border-glass: rgba(45, 80, 22, 0.14);
  --text: #1c2a12;
  --text-soft: #4a5a3c;
  --text-muted: #6b7a5e;
  --shadow-sm: 0 2px 8px rgba(20, 38, 10, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 38, 10, 0.1);
  --shadow-lg: 0 18px 48px rgba(20, 38, 10, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --header-h: 72px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-hero: linear-gradient(135deg, #2d5016 0%, #3f6b1f 38%, #5a8a2e 68%, #a8d16b 100%);
  --grad-accent: linear-gradient(120deg, #ffd54f 0%, #ffb300 100%);
  --grad-card: linear-gradient(160deg, rgba(200, 230, 160, 0.28), rgba(255, 255, 255, 0) 60%);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0e1707;
  --bg-soft: #16230c;
  --bg-glass: rgba(30, 48, 18, 0.55);
  --bg-glass-strong: rgba(24, 40, 14, 0.82);
  --border-glass: rgba(168, 209, 107, 0.18);
  --text: #e9f4da;
  --text-soft: #c2d4ae;
  --text-muted: #93a681;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.6);
  --grad-hero: linear-gradient(135deg, #0e1707 0%, #1e3a0f 40%, #2d5016 72%, #3f6b1f 100%);
  --grad-card: linear-gradient(160deg, rgba(90, 138, 46, 0.22), rgba(0, 0, 0, 0) 60%);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 100% -10%, rgba(168, 209, 107, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(127, 209, 255, 0.1), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cucumber-600);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

html[data-theme="dark"] a {
  color: var(--cucumber-300);
}

a:hover,
a:focus-visible {
  color: var(--cucumber-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="dark"] a:hover,
html[data-theme="dark"] a:focus-visible {
  color: var(--cucumber-200);
}

h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.35rem); }

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
  color: var(--text-soft);
}

li { margin-bottom: 0.45em; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

#main-nav {
  flex: 1 1 auto;
}

#main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#main-nav li { margin: 0; }

#main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

#main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

#main-nav a:hover,
#main-nav a:focus-visible {
  color: var(--cucumber-700);
  background: rgba(168, 209, 107, 0.18);
  text-decoration: none;
  transform: translateY(-1px);
}

html[data-theme="dark"] #main-nav a:hover,
html[data-theme="dark"] #main-nav a:focus-visible {
  color: var(--cucumber-200);
  background: rgba(168, 209, 107, 0.14);
}

#main-nav a:hover::after,
#main-nav a:focus-visible::after {
  width: 60%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-search {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-search:focus-within {
  border-color: var(--cucumber-500);
  box-shadow: 0 0 0 3px rgba(168, 209, 107, 0.28);
}

.site-search input {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  padding: 6px 10px;
  width: 150px;
  outline: none;
  font-family: inherit;
}

.site-search input::placeholder {
  color: var(--text-muted);
}

.site-search button {
  border: 0;
  cursor: pointer;
  background: var(--grad-accent);
  color: #3a2a00;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.site-search button:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}

#theme-toggle,
#menu-toggle {
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-family: inherit;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: rgba(168, 209, 107, 0.2);
  color: var(--cucumber-700);
  transform: translateY(-1px);
}

html[data-theme="dark"] #theme-toggle:hover,
html[data-theme="dark"] #menu-toggle:hover {
  color: var(--cucumber-200);
}

#menu-toggle { display: none; }

/* ============ Layout ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
}

main > section {
  margin-bottom: 28px;
  padding: clamp(20px, 3.4vw, 40px);
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(90, 138, 46, 0.28);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ Hero ============ */
#hero {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 52px);
  background: var(--grad-hero);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #f2f8e8;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 213, 79, 0.35), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite alternate;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -15%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(127, 209, 255, 0.28), transparent 65%);
  filter: blur(14px);
  pointer-events: none;
  animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-30px, 24px, 0) scale(1.12); }
}

.hero-copy {
  position: relative;
  z-index: 1;
}

#hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  margin-bottom: 0.5em;
}

.hero-lead {
  color: rgba(242, 248, 232, 0.92);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.85;
}

.hero-meta {
  display: inline-block;
  font-size: 0.82rem;
  color: rgba(242, 248, 232, 0.78);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.2em;
}

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

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-primary {
  background: var(--grad-accent);
  color: #3a2a00;
  box-shadow: 0 8px 22px rgba(255, 179, 0, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-primary:hover,
.btn-secondary:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(255, 179, 0, 0.42);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.hero-banner {
  position: relative;
  z-index: 1;
}

.carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 9;
}

.carousel .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}

.carousel .slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel .slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 14px;
  font-size: 0.86rem;
  color: #f2f8e8;
  background: linear-gradient(to top, rgba(10, 20, 5, 0.82), transparent);
}

.carousel-controls {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-controls button {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.78rem;
  font-family: inherit;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.carousel-controls button:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  margin: 0 0 24px;
  font-size: 0.85rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}

.breadcrumb li { margin: 0; }

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-soft);
}

/* ============ Stats ============ */
#stats {
  text-align: center;
}

#stats h2 {
  text-align: center;
}

.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-list li {
  margin: 0;
  padding: 22px 14px;
  border-radius: var(--radius-md);
  background: var(--grad-card);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.stats-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(90, 138, 46, 0.35);
}

.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cucumber-600);
}

html[data-theme="dark"] .stat-num {
  background: linear-gradient(135deg, #c8e6a0, #7fd1ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============ News list ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.news-list li {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-strong);
  border-left: 4px solid var(--cucumber-500);
  color: var(--text-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.news-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  background: rgba(168, 209, 107, 0.12);
}

.news-list time {
  display: inline-block;
  font-weight: 700;
  color: var(--cucumber-600);
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}

html[data-theme="dark"] .news-list time {
  color: var(--cucumber-300);
}

/* ============ Articles ============ */
#articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

#articles > h2,
#articles > p {
  grid-column: 1 / -1;
}

#articles > article {
  margin: 0 0 18px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#articles > article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

#articles > article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(90, 138, 46, 0.3);
}

#articles > article:hover::before {
  transform: scaleY(1);
}

#articles article h3 {
  margin-bottom: 0.35em;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.7em;
  font-variant-numeric: tabular-nums;
}

#articles article a {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(168, 209, 107, 0.2);
  color: var(--cucumber-700);
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}

#articles article a:hover {
  background: var(--grad-accent);
  color: #3a2a00;
  transform: translateX(4px);
  text-decoration: none;
}

html[data-theme="dark"] #articles article a {
  color: var(--cucumber-200);
  background: rgba(168, 209, 107, 0.16);
}

html[data-theme="dark"] #articles article a:hover {
  color: #3a2a00;
  background: var(--grad-accent);
}

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#faq details[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(90, 138, 46, 0.32);
}

#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

#faq summary::-webkit-details-marker { display: none; }

#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cucumber-500);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

#faq details[open] summary::after {
  content: "–";
  transform: translateY(-50%) rotate(180deg);
}

#faq summary:hover {
  background: rgba(168, 209, 107, 0.14);
}

#faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-soft);
  animation: fadeSlide 0.4s var(--ease);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ HowTo ============ */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 58px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  color: var(--text-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #3a2a00;
  background: var(--grad-accent);
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.35);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

/* ============ Contact ============ */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  gap: 10px;
}

.contact-list li {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  color: var(--text-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

address { font-style: normal; }

/* ============ Sitemap & Links ============ */
.sitemap-list,
.friend-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-list li,
.friend-links li {
  margin: 0;
}

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  font-size: 0.88rem;
  color: var(--text-soft);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  background: var(--grad-accent);
  color: #3a2a00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

/* ============ Blockquote ============ */
blockquote {
  margin: 0 0 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--grad-card);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-soft);
}

/* ============ Footer ============ */
#site-footer {
  margin-top: 40px;
  background: linear-gradient(160deg, var(--cucumber-800), var(--cucumber-900));
  color: #dcebc9;
  border-top: 1px solid rgba(168, 209, 107, 0.2);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 20px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-brand strong {
  display: block;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-contact p,
.footer-meta p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: rgba(220, 235, 201, 0.82);
}

.footer-meta a {
  color: var(--cucumber-200);
}

.footer-meta a:hover {
  color: var(--accent);
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--grad-hero);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============ Responsive ============ */
@media (min-width: 760px) {
  #articles {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  #articles > article { margin-bottom: 0; }
}

@media (min-width: 1080px) {
  #articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
  }
  .hero-banner {
    order: -1;
  }
  .stats-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  #menu-toggle { display: inline-block; }

  #main-nav {
    order: 10;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
  }

  #site-header.nav-open #main-nav {
    max-height: 640px;
    opacity: 1;
    padding-bottom: 12px;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  #main-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }

  #main-nav a::after { display: none; }

  .header-inner {
    padding: 10px 16px;
    gap: 10px;
  }

  .site-search input {
    width: 120px;
  }
}

@media (max-width: 680px) {
  body { font-size: 15px; }

  main { padding: 0 14px 32px; }

  main > section {
    padding: 18px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
  }

  #hero {
    margin-top: 18px;
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    flex: 1 1 100%;
    text-align: center;
  }

  .site-search {
    display: none;
  }

  .stats-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 16px 24px;
  }

  #back-to-top {
    right: 14px;
    bottom: 14px;
    padding: 9px 14px;
  }

  .carousel-controls button {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 400px) {
  .brand-text strong { font-size: 0.92rem; }
  .stats-list { grid-template-columns: 1fr; }
}

/* ============ Print ============ */
@media print {
  #site-header,
  #back-to-top,
  .carousel-controls,
  .hero-actions,
  .site-search {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  #hero {
    background: #fff;
    color: #000;
  }
  #hero h1, .hero-lead, .hero-meta { color: #000; }
}