/* ChanSpace static pages — เกี่ยวกับเรา / วิธีใช้งาน / ติดต่อเรา / นโยบาย */
/* extends tokens + nav/footer styles defined in styles.css and home.css */

body.static { background: var(--bg); }

.static-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.static-page .eyebrow-dark { color: var(--gold); }

.static-page h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  margin: 0 0 20px;
}

.static-page h2 {
  font-size: 1.3rem;
  margin: 36px 0 14px;
}

.static-page p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.static-page ul,
.static-page ol {
  margin: 0 0 20px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.static-page li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.static-page li strong {
  color: var(--ink);
}

.static-page a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.static-page a:hover { color: var(--gold); }

/* how-it-works: numbered step list */
.how-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  gap: 14px;
}
.how-steps li {
  position: relative;
  padding: 16px 18px 16px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.how-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-note {
  font-size: 0.95rem;
  color: var(--ink-mute);
  font-style: italic;
  margin: 0 0 28px;
}

.static-page .btn-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  font-size: 1rem;
  background: var(--gold);
  color: #fff;
}

/* contact page */
.contact-info {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .static-page { padding: 36px 16px 56px; }
  .static-page h1 { font-size: 1.7rem; }
}
