:root {
  --color-bg: #fafaf9;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f5f4;
  --color-text: #1c1c1c;
  --color-text-secondary: #4b5563;
  --color-border: #e5e7eb;
  --color-primary: #111111;
  --color-accent: #c5a059;
  --color-accent-hover: #a88746;
  --color-focus: #c5a059;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; line-height: 1.25; margin-top: 0; margin-bottom: var(--space-sm); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); text-wrap: balance; }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); text-wrap: balance; }
p { margin-top: 0; margin-bottom: var(--space-sm); color: var(--color-text-secondary); }
a { color: var(--color-text); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--color-accent); }
ul, ol { padding-left: 1.25rem; margin: 0; }
li { margin-bottom: var(--space-xs); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-sm); }
.section { padding: var(--space-xl) 0; }
.section-alt { background-color: var(--color-surface-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* Header & Nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--color-text); }
.brand img { width: 32px; height: 32px; object-fit: contain; }
nav ul { display: flex; list-style: none; gap: var(--space-sm); margin: 0; padding: 0; }
nav a { font-size: 0.9375rem; padding: 0.5rem 0; position: relative; }
nav a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--color-accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 500; border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-base); border: 1px solid transparent; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-gold { background: var(--color-accent); color: #fff; }
.btn-gold:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Hero */
.hero { min-height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--color-bg) 0%, #f4f4f2 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); align-items: center; }
.hero-content { z-index: 2; }
.hero-content h1 { margin-bottom: var(--space-sm); }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--color-text-secondary); max-width: 520px; margin-bottom: var(--space-md); }
.hero-cta { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero-svg { width: 100%; max-width: 500px; margin: 0 auto; opacity: 0.9; }

/* Grid & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-md); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-md); }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d1d5db; }
.card-icon { width: 40px; height: 40px; margin-bottom: var(--space-sm); color: var(--color-accent); }
.card-title { margin-bottom: var(--space-xs); font-family: var(--font-serif); }
.card-desc { font-size: 0.9375rem; color: var(--color-text-secondary); }

/* Table */
.table-wrapper { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
th { background: var(--color-surface-alt); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-list { max-width: 800px; }
.faq-item { margin-bottom: var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
summary { padding: 1rem; cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.25rem; color: var(--color-accent); transition: transform var(--transition-base); }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { border-bottom: 1px solid var(--color-border); }
.faq-answer { padding: 1rem; color: var(--color-text-secondary); font-size: 0.9375rem; line-height: 1.65; }

/* News & Related */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }
.news-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-sm); display: flex; flex-direction: column; }
.news-date { font-size: 0.8125rem; color: #6b7280; margin-bottom: var(--space-xs); }
.news-title { font-family: var(--font-serif); font-weight: 600; margin-bottom: var(--space-xs); line-height: 1.35; }
.news-excerpt { font-size: 0.875rem; color: var(--color-text-secondary); flex-grow: 1; margin-bottom: var(--space-sm); }
.related-list { list-style: none; padding: 0; }
.related-item { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; }
.related-item:last-child { border-bottom: none; }
.related-link { font-weight: 500; }
.related-note { font-size: 0.875rem; color: var(--color-text-secondary); }

/* Steps */
.steps-list { counter-reset: step; list-style: none; padding: 0; }
.step-item { position: relative; padding-left: 3rem; margin-bottom: var(--space-md); }
.step-item::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; background: var(--color-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.875rem; }
.step-title { font-weight: 600; margin-bottom: 0.25rem; }

/* Footer */
.site-footer { background: var(--color-primary); color: #d4d4d4; padding: var(--space-lg) 0 var(--space-md); font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); margin-bottom: var(--space-md); }
.footer-col h4 { color: #fff; margin-bottom: var(--space-sm); font-size: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #a3a3a3; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: var(--space-sm); text-align: center; color: #737373; }

/* SVG Animations */
.float-card { animation: float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.float-delay-1 { animation-delay: 0.5s; }
.float-delay-2 { animation-delay: 1.2s; }
.draw-path { pathLength: 1; stroke-dasharray: 1; animation: draw 2.5s ease forwards infinite alternate; }
.draw-fast { animation-duration: 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes draw {
  0% { stroke-dashoffset: 1; }
  100% { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .float-card, .draw-path { animation: none; transform: none; }
}

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  nav ul { display: none; }
  .section { padding: var(--space-lg) 0; }
}
