:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1e1e1e;
  --ink-soft: #5a5a5a;
  --line: #e0ddd6;
  --accent: #c4553b;
  --accent-soft: #f3e6e1;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(30, 30, 30, 0.07);
  --maxw: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p, blockquote {
  margin: 0;
}
button {
  font: inherit;
  cursor: pointer;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand a {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
}
.main-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-list a {
  display: inline-block;
  padding: 6px 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-list a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 10px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 72px;
  min-height: 72vh;
}
.hero-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-section h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-section h1 a {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}
.hero-lead {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 85, 59, 0.28);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-meta span {
  font-size: 0.78rem;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}
.hero-visual {
  position: relative;
  height: 340px;
  pointer-events: none;
}
.hero-card {
  position: absolute;
  top: 30px;
  left: 10%;
  width: 62%;
  height: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transform: rotate(-3deg);
}
.hero-card.offset {
  top: 70px;
  left: 34%;
  transform: rotate(4deg);
  background: var(--accent-soft);
  border-color: transparent;
}
.hero-card-line {
  height: 10px;
  background: var(--line);
  border-radius: 4px;
  margin-bottom: 14px;
}
.hero-card.offset .hero-card-line {
  background: rgba(196, 85, 59, 0.22);
}
.hero-card-line.short {
  width: 62%;
}
.section-head {
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.features-section,
.trending-section,
.library-section,
.ranking-section,
.experience-section,
.guide-section,
.reviews-section,
.faq-section,
.cta-section,
.about-section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trend-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.trend-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.trend-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.trend-body {
  padding: 20px;
}
.trend-body h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.trend-body p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.trend-body a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.trend-body a:hover {
  border-color: var(--accent);
}
.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.84rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.library-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.3s;
}
.library-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.library-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.library-body {
  padding: 18px;
}
.library-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.library-body p {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.library-card.hidden {
  display: none;
}
.ranking-list {
  display: grid;
  gap: 12px;
}
.ranking-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.ranking-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.rank-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.rank-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.rank-body p {
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.ranking-item > a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.ranking-item > a:hover {
  background: var(--accent);
  color: #fff;
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.exp-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.exp-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.exp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.exp-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.exp-step p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.guide-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.guide-article h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.guide-article p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.review-card p {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--ink);
}
.review-card cite {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.cta-section {
  text-align: center;
}
.cta-inner {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 60px 24px;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 36em;
  margin: 0 auto 28px;
  font-size: 0.96rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-inner .btn-primary {
  background: #fff;
  color: var(--ink);
}
.cta-inner .btn-primary:hover {
  background: var(--accent);
  color: #fff;
}
.cta-inner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.cta-inner .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.about-content {
  max-width: 780px;
}
.about-content p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 28px;
}
.footer-brand a {
  font-weight: 800;
  font-size: 1.1rem;
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 6px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 26px 0;
}
.footer-nav a {
  font-size: 0.84rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-copy {
  font-size: 0.76rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0;
    min-height: auto;
  }
  .hero-visual {
    height: 260px;
  }
  .features-grid,
  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trending-grid,
  .library-grid,
  .guide-content,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    gap: 2px;
    display: none;
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list a {
    display: block;
    padding: 10px 0;
    font-size: 0.94rem;
  }
  .header-inner {
    position: relative;
    padding: 10px 18px;
  }
  main {
    padding: 0 18px;
  }
  .hero-section h1 {
    font-size: 1.9rem;
  }
  .features-grid,
  .trending-grid,
  .library-grid,
  .exp-grid,
  .guide-content,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .ranking-item {
    grid-template-columns: 44px 1fr;
  }
  .ranking-item > a {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }
  .trend-card img,
  .library-card img {
    height: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}