:root {
  --lemon: #F5C518;
  --lemon-light: #FFF3C4;
  --lemon-dark: #D4A50A;
  --green: #2E7D32;
  --green-light: #E8F5E9;
  --green-dark: #1B5E20;
  --bg: #FFFDF5;
  --bg-alt: #FFF8E1;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #FFFFFF;
  --surface-hover: rgba(255, 255, 255, 0.92);
  --text: #2B2B2B;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --shadow-sm: 0 2px 8px rgba(46, 125, 50, 0.06);
  --shadow-md: 0 6px 24px rgba(46, 125, 50, 0.10);
  --shadow-lg: 0 12px 48px rgba(46, 125, 50, 0.14);
  --shadow-lemon: 0 8px 32px rgba(245, 197, 24, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-blur: 18px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --max-width: 1180px;
  --header-height: 68px;
  --gradient-hero: linear-gradient(135deg, #FFF8E1 0%, #FFF3C4 30%, #E8F5E9 65%, #F1F8E9 100%);
  --gradient-lemon: linear-gradient(135deg, #F5C518 0%, #FFD94A 50%, #FFE57F 100%);
  --gradient-green: linear-gradient(135deg, #2E7D32 0%, #43A047 60%, #66BB6A 100%);
  --gradient-accent: linear-gradient(135deg, #F5C518 0%, #2E7D32 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --lemon: #FFD54F;
    --lemon-light: #3E3410;
    --lemon-dark: #F5C518;
    --green: #66BB6A;
    --green-light: #1B2E1C;
    --green-dark: #A5D6A7;
    --bg: #121410;
    --bg-alt: #1A1D16;
    --surface: rgba(30, 34, 26, 0.72);
    --surface-solid: #1E221A;
    --surface-hover: rgba(40, 46, 34, 0.92);
    --text: #E8E8E0;
    --text-secondary: #B0B4A8;
    --text-muted: #7A7E72;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-lemon: 0 8px 32px rgba(255, 213, 79, 0.15);
    --glass-bg: rgba(30, 34, 26, 0.55);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-hero: linear-gradient(135deg, #1A1D16 0%, #2A2E1E 30%, #1B2E1C 65%, #121410 100%);
    --gradient-lemon: linear-gradient(135deg, #F5C518 0%, #FFD94A 50%, #FFE57F 100%);
    --gradient-green: linear-gradient(135deg, #2E7D32 0%, #43A047 60%, #66BB6A 100%);
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(245, 197, 24, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(46, 125, 50, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(245, 197, 24, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  position: relative;
}

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

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

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 40%, var(--lemon-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-lemon);
  transition: width var(--transition-slow);
}

section:hover > h2::after,
section:focus-within > h2::after {
  width: 96px;
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  margin-bottom: 0.7rem;
  color: var(--green-dark);
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  text-align: justify;
  text-justify: inter-ideograph;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--lemon);
  color: #1A1A1A;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--lemon) 0%, var(--green) 100%);
  border-radius: 5px;
  border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--lemon-dark) 0%, var(--green-dark) 100%);
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

#site-header:hover {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand svg {
  width: 36px;
  height: 36px;
  transition: transform var(--transition-base);
  filter: drop-shadow(0 2px 6px rgba(245, 197, 24, 0.35));
}

.brand:hover svg {
  transform: rotate(-12deg) scale(1.08);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--lemon-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

#main-nav a {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

#main-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--gradient-lemon);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

#main-nav a:hover,
#main-nav a:focus-visible {
  color: var(--green-dark);
  background: var(--lemon-light);
  transform: translateY(-2px);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

section {
  margin-bottom: 3rem;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

#hero {
  margin: 0 -20px 2.5rem;
  padding: 3.5rem 20px 2.5rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

#hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.14) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 18s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.06); }
  66% { transform: translate(-16px, 14px) scale(0.96); }
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 860px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 1.8rem 0 2.2rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base),
    color var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gradient-lemon);
  color: #2B2B2B;
  box-shadow: var(--shadow-lemon);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(245, 197, 24, 0.45);
  color: #1A1A1A;
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--green);
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--green);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-solid);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-figure:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 20px 60px rgba(46, 125, 50, 0.18);
}

.hero-figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-figure figcaption {
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

#breadcrumb {
  margin-bottom: 2rem;
  padding: 10px 18px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

#breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

#breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

#breadcrumb li + li::before {
  content: "›";
  color: var(--lemon-dark);
  font-weight: 700;
  font-size: 1.1em;
}

#breadcrumb a {
  color: var(--green);
  font-weight: 500;
}

#breadcrumb a:hover {
  color: var(--lemon-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

article {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
  position: relative;
  overflow: hidden;
}

article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-lemon);
  opacity: 0;
  transition: opacity var(--transition-base);
}

article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 197, 24, 0.4);
  background: var(--surface-hover);
}

article:hover::before {
  opacity: 1;
}

article h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

article h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-lemon);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.18);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

article:hover h3::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(245, 197, 24, 0.25);
}

article a {
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

article a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

article a:hover {
  color: var(--lemon-dark);
  gap: 8px;
}

article a:hover::after {
  transform: translateX(3px);
}

#articles > p {
  background: var(--lemon-light);
  border-left: 4px solid var(--lemon);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

#articles article[id^="article-"] {
  border-left: 4px solid var(--green);
  background: var(--green-light);
}

#articles article[id^="article-"]:hover {
  border-color: var(--green);
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.16);
}

#articles article[id^="article-"]::before {
  background: var(--gradient-green);
}

#articles article[id^="article-"] h3::before {
  background: var(--gradient-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18);
}

#articles article[id^="article-"]:hover h3::before {
  box-shadow: 0 0 0 5px rgba(46, 125, 50, 0.25);
}

#news article {
  border-left: 4px solid var(--lemon);
}

#news article time,
#news article p:first-of-type {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lemon-dark);
  background: var(--lemon-light);
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

#faq article {
  counter-increment: faq-counter;
}

#faq h3 {
  font-size: 1.02rem;
  color: var(--text);
}

#faq h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-lemon);
  color: #2B2B2B;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 197, 24, 0.3);
}

#faq article:hover h3::before {
  transform: scale(1.15) rotate(-8deg);
}

#howto article {
  border-left: 4px solid var(--green);
}

#howto h3::before {
  background: var(--gradient-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

#contact ul {
  display: grid;
  gap: 10px;
  margin: 1rem 0 1.5rem;
}

#contact li {
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

#contact li:hover {
  transform: translateX(6px);
  border-color: var(--lemon);
  box-shadow: var(--shadow-sm);
}

#contact li::before {
  content: "◆";
  color: var(--lemon-dark);
  margin-right: 8px;
  font-size: 0.7em;
  vertical-align: middle;
}

#sitemap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap li {
  flex: 0 0 auto;
}

#sitemap a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#sitemap a:hover {
  background: var(--gradient-lemon);
  color: #2B2B2B;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lemon);
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#links a::before {
  content: "🔗";
  font-size: 0.85em;
}

#links a:hover {
  background: var(--green);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

#site-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 20px 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

#site-footer section {
  max-width: var(--max-width);
  margin: 0 auto 1.6rem;
  margin-bottom: 1.6rem;
}

#site-footer h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--green-dark);
  padding-bottom: 0.4rem;
}

#site-footer h2::after {
  width: 32px;
  height: 3px;
}

#site-footer p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: left;
}

#site-footer > p:last-child {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(245, 197, 24, 0); }
}

@supports (animation-timeline: view()) {
  section > article,
  .hero-figure {
    animation: fadeInUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  #hero h1,
  .hero-lead,
  .hero-actions {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #hero h1 { animation-delay: 0.05s; }
  .hero-lead:nth-of-type(1) { animation-delay: 0.15s; }
  .hero-lead:nth-of-type(2) { animation-delay: 0.25s; }
  .hero-actions { animation-delay: 0.35s; }
  .hero-figure { animation-delay: 0.45s; }
}

@supports not (animation-timeline: view()) {
  section > article,
  .hero-figure,
  #hero h1,
  .hero-lead,
  .hero-actions {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    padding: 0 16px;
  }

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

  #main-nav a {
    padding: 5px 9px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 16px 48px;
  }

  #hero {
    margin: 0 -16px 2rem;
    padding: 2.8rem 16px 2rem;
  }

  article {
    padding: 1.4rem 1.4rem;
  }

  section {
    margin-bottom: 2.4rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --radius-lg: 18px;
    --radius-xl: 24px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-height);
    padding: 10px 14px;
    gap: 8px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand svg {
    width: 30px;
    height: 30px;
  }

  #main-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  #main-nav::-webkit-scrollbar {
    display: none;
  }

  #main-nav ul {
    flex-wrap: nowrap;
    gap: 4px;
    padding: 2px 0;
  }

  #main-nav a {
    padding: 5px 11px;
    font-size: 0.78rem;
    background: var(--surface);
    border: 1px solid var(--border);
  }

  #hero {
    margin: 0 -14px 1.8rem;
    padding: 2.2rem 14px 1.6rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin: 1.4rem 0 1.8rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 13px 24px;
  }

  main {
    padding: 0 14px 40px;
  }

  section {
    margin-bottom: 2rem;
  }

  article {
    padding: 1.2rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
  }

  article:hover {
    transform: translateY(-2px);
  }

  p {
    text-align: left;
  }

  #contact li:hover {
    transform: none;
  }

  #sitemap ul {
    gap: 8px;
  }

  #sitemap a {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  #links ul {
    flex-direction: column;
    gap: 10px;
  }

  #links a {
    justify-content: center;
    width: 100%;
  }

  #site-footer {
    padding: 2.2rem 14px 1.6rem;
  }

  #site-footer > p:last-child {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 56px;
  }

  body {
    font-size: 14.5px;
    line-height: 1.7;
  }

  h1 {
    font-size: 1.45rem;
  }

  h2 {
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  #hero {
    padding: 1.8rem 12px 1.4rem;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .hero-figure figcaption {
    font-size: 0.78rem;
    padding: 10px 14px;
  }

  article {
    padding: 1rem 0.9rem;
  }

  #breadcrumb {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  #sitemap a {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  #faq h3 {
    font-size: 0.95rem;
  }

  #faq h3::before {
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }
}

@media (hover: none) {
  article:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  #sitemap a:hover,
  #links a:hover {
    transform: none;
  }
}

@media print {
  #site-header,
  #main-nav,
  .hero-actions,
  #breadcrumb,
  #sitemap,
  #links,
  #site-footer {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 11pt;
  }

  #hero {
    background: none;
    padding: 0;
    margin: 0 0 1rem;
  }

  h1 {
    -webkit-text-fill-color: #000000;
    background: none;
    color: #000000;
  }

  article {
    box-shadow: none;
    border: 1px solid #CCCCCC;
    break-inside: avoid;
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666666;
  }
}