:root {
  --bg: #f3f6f1;
  --card: #ffffff;
  --text: #1d2a1f;
  --muted: #5d6e60;
  --primary: #2f7d4f;
  --primary-dark: #23613c;
  --accent: #d9a441;
  --border: #d8e3d6;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-embed { background: var(--bg); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; margin: 0 0 12px; color: var(--text); }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; max-width: 70ch; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand-mark { flex-shrink: 0; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--primary); text-decoration: none; }

.hero-stage { padding: 24px 0 32px; }
.hero-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-head h1 { margin: 0; }
.hero-lead { margin: 0; color: var(--muted); font-size: 16px; }

.player-shell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  overflow: hidden;
}
.stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-cta {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  box-shadow: var(--shadow-md);
}
.play-btn, .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
}
.play-btn:hover, .primary-btn:hover { background: var(--primary-dark); text-decoration: none; }
.play-tri {
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #ffffff;
}
.cover-note { font-size: 14px; color: var(--muted); }

.loader {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  padding: 24px;
  text-align: center;
}
[data-gf-state="loading"] .loader { display: flex; }
.loader-rope {
  position: relative;
  width: 180px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.loader-rope::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 6px; margin-top: -3px;
  border-radius: 4px;
  background: var(--border);
}
.bud {
  position: relative;
  width: 24px; height: 24px;
  border-radius: 50%;
  animation: budHop 1s ease-in-out infinite;
}
.bud-1 { background: var(--primary); }
.bud-2 { background: var(--accent); animation-delay: .18s; }
.bud-3 { background: var(--primary-dark); animation-delay: .36s; }
.loader-text { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
@keyframes budHop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--card);
  flex-wrap: wrap;
}
.stage-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.action-btn:hover { border-color: var(--primary); color: var(--primary); }
.like-btn[data-gf-liked], .like-btn[aria-pressed="true"] {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.share-msg { font-size: 14px; color: var(--primary); font-weight: 600; }


.section { padding: 48px 0; }
.section-head { margin-bottom: 24px; }
.section-sub { color: var(--muted); font-size: 16px; margin: 0; }

.split-asymmetric {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.spec-card, .info-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.accent-panel { border-top: 4px solid var(--accent); }
.spec-list { margin: 0; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row dt { color: var(--muted); font-weight: 600; }
.spec-row dd { margin: 0; text-align: right; color: var(--text); }

.steps-grid {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 22px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); margin: 0; }
.controls-strip {
  background: var(--card);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.controls-strip p { margin: 0; color: var(--muted); }

.two-col-equal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.panel-intro { color: var(--muted); font-size: 16px; }
.feature-list { margin: 0; padding-left: 20px; }
.feature-list li { margin-bottom: 12px; }
.feature-list li:last-child { margin-bottom: 0; }

.tips-list { display: flex; flex-direction: column; gap: 16px; }
.tip-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.tip-index {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tip-body h3 { margin-bottom: 8px; }
.tip-body p { margin: 0; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }

.comments-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.comment-total { font-size: 14px; color: var(--muted); }
.comment-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.comment-form:not([data-gf-replying]) .reply-banner { display: none; }
.reply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  color: var(--primary-dark);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}
.reply-cancel { background: transparent; border: 0; color: var(--primary); font-weight: 600; cursor: pointer; }
.form-row { margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: #ffffff;
}
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-msg { font-size: 14px; color: var(--primary); font-weight: 600; }
.comments-list { display: flex; flex-direction: column; gap: 12px; }
.comments-list:not([data-gf-empty]) .comments-empty { display: none; }
.comments-empty { color: var(--muted); font-size: 14px; background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); padding: 24px; }
.comment-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.comment-card[data-gf-owner] { border-left: 4px solid var(--primary); background: var(--bg); }
.comment-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.comment-meta strong { color: var(--text); }
.owner-tag { background: var(--primary); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.comment-text { margin: 0 0 8px; }
.reply-to-tag { color: var(--primary); font-weight: 600; }
.reply-btn { background: transparent; border: 0; padding: 4px 0; color: var(--primary); font-size: 14px; font-weight: 600; cursor: pointer; }
.comment-replies { margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 8px; }

.page-article, .not-found { padding: 48px 0 64px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.page-lead, .legal-date { color: var(--muted); margin-bottom: 24px; }
.prose h2 { margin-top: 32px; }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }

.site-footer { background: var(--card); border-top: 1px solid var(--border); padding: 32px 0; margin-top: 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand p, .footer-copy { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .split-asymmetric, .two-col-equal { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .container { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .site-nav { gap: 12px; font-size: 14px; }
  .hero-stage { padding: 16px 0 24px; }
  .stage { aspect-ratio: 4 / 5; }
  .cover-cta { width: calc(100% - 32px); padding: 16px; }
  .play-btn, .primary-btn { width: 100%; }
  .stage-bar { flex-direction: column; align-items: stretch; }
  .stage-actions { justify-content: space-between; }
  .fullscreen-btn { width: 100%; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .tip-row { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
}


.inline-cta { margin: 16px 0 0; font-weight: 600; font-size: 16px; }
.section-cta { margin-top: 24px; }
.guide-figure { margin: 24px 0 32px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.guide-figure img { width: 100%; height: auto; display: block; }
.guide-figure figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); }
.inner-faq { margin-top: 48px; }
.footer-cols { display: flex; flex-direction: column; gap: 12px; }
.footer-label { font-size: 14px; font-weight: 600; color: var(--muted); }
