:root {
  --bg: #f7f4ec;
  --card: #fffdf8;
  --ink: #1f2a24;
  --muted: #66736a;
  --line: #e4ddcf;
  --accent: #5f7f4f;
  --accent-dark: #365437;
  --soft: #ece6d8;
  --shadow: 0 18px 45px rgba(42, 55, 45, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand-logo, .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-logo img, .footer-logo img {
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(54, 84, 55, 0.18);
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  font-size: 14px;
}
.top-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.top-nav a:hover, .top-nav a:focus-visible {
  background: var(--soft);
  color: var(--accent-dark);
}
.search-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 16px;
}
.search-wrap label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.search-row {
  display: flex;
  gap: 10px;
}
.search-row input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
}
.search-row button, .btn, .contact-form button, .footer-cta {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  background: var(--accent-dark);
  color: white;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#search-hint, .form-tip, .section-note, .image-description {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}
main { overflow: hidden; }
.hero {
  max-width: 1180px;
  margin: 34px auto 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}
.hero-content, .hero-media, .intro-card, .contact-panel, .page-hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.hero-content { padding: 42px; }
.hero-media { overflow: hidden; padding: 10px; }
.hero-media img { border-radius: 22px; width: 100%; height: auto; }
.hero-media figcaption { padding: 12px 8px 4px; color: var(--muted); font-size: 14px; }
.eyebrow {
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h1, h2, h3 { line-height: 1.28; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.04em; }
h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.hero-subtitle, .section-lead, .page-hero p { color: var(--muted); font-size: 18px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.hero-points span, .tag-list span, .metrics span, .icon-pill {
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.btn.secondary { background: #e1dccd; color: var(--accent-dark); }
.domain-line { color: var(--muted); }
.breadcrumb {
  max-width: 1132px;
  margin: 0 auto 16px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumb a { color: var(--accent-dark); font-weight: 700; }
.section, .page-hero {
  max-width: 1180px;
  margin: 24px auto;
  padding: 54px 24px;
}
.page-hero { padding: 54px; }
.intro-card, .contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 26px;
  padding: 42px;
}
.consultant-box {
  background: var(--soft);
  border-radius: 24px;
  padding: 26px;
}
.text-link { color: var(--accent-dark); font-weight: 800; border-bottom: 2px solid var(--accent); }
.card-grid, .video-grid, .review-grid, .result-grid, .process-grid, .tips-grid, .scene-list {
  display: grid;
  gap: 18px;
}
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.video-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid, .tips-grid, .scene-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card, .review-card, .timeline article, .scene-list article, .process-grid article, .tips-grid article, .result-grid article, details, .video-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(42, 55, 45, 0.07);
}
.muted {
  background: rgba(236, 230, 216, 0.55);
  border-radius: 34px;
}
.video-card { padding: 0; overflow: hidden; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #d7d2c1;
  overflow: hidden;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.86);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: rgba(31, 42, 36, 0.82);
  color: white;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.video-card:hover .play-button, .video-card:focus-within .play-button, .video-card.is-active .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 13px;
}
.video-card-body { padding: 20px; }
.metrics, .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.metrics span { background: #f3efe5; color: var(--muted); }
.timeline { display: grid; gap: 16px; }
.timeline.expanded { max-width: 880px; }
.timeline time { color: var(--accent-dark); font-weight: 800; }
.result-grid article { text-align: center; }
.result-grid strong { display: block; font-size: 36px; color: var(--accent-dark); }
.faq-list { display: grid; gap: 12px; }
details summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); margin-top: 12px; }
.stars { color: var(--accent-dark); letter-spacing: 0.08em; font-weight: 900; }
.contact-panel { align-items: center; }
.contact-form {
  display: grid;
  gap: 12px;
  width: 100%;
}
.contact-form label { display: grid; gap: 6px; font-weight: 800; }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 44px;
  font: inherit;
  color: var(--ink);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.json-output code {
  background: var(--soft);
  padding: 3px 6px;
  border-radius: 8px;
}
.step-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 28px 28px 52px;
}
.step-list li { margin: 12px 0; }
.site-footer {
  margin-top: 36px;
  background: #26362b;
  color: #f7f4ec;
  padding: 44px 24px 20px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 0.8fr;
  gap: 26px;
}
.footer-grid a { display: block; color: #f7f4ec; margin: 8px 0; }
.footer-grid p { color: rgba(247, 244, 236, 0.74); }
.footer-bottom {
  max-width: 1180px;
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 244, 236, 0.18);
  color: rgba(247, 244, 236, 0.78);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 980px) {
  .header-inner, .hero, .intro-card, .contact-panel { grid-template-columns: 1fr; display: grid; }
  .header-inner { justify-items: start; }
  .top-nav { justify-content: flex-start; }
  .card-grid.four, .video-grid, .review-grid, .result-grid, .process-grid, .tips-grid, .scene-list, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .header-inner, .search-wrap, .section, .page-hero, .hero { padding-left: 16px; padding-right: 16px; }
  .hero-content, .intro-card, .contact-panel, .page-hero { padding: 26px; border-radius: 22px; }
  .search-row, .hero-actions, .footer-bottom { flex-direction: column; }
  .card-grid.four, .video-grid, .video-grid.compact, .review-grid, .result-grid, .process-grid, .tips-grid, .scene-list, .footer-grid { grid-template-columns: 1fr; }
  .top-nav { gap: 4px; }
  h1 { font-size: 32px; }
}
