/* About: editorial single-ground page; hairlines + rhythm, not colored slabs */
.about-page #bar { display: none; }

.about-wrap {
  max-width: 40rem;
  padding-top: 8px;
  padding-bottom: 56px;
}

.about-hero {
  margin: 12px 0 0;
  padding-bottom: 1.75rem;
}
.about-hero h1 {
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
  font-size: clamp(1.85rem, 5.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.12;
}

.about-tutorial {
  margin: 2.75rem 0 0;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.about-how-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 -0.75rem;
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
}
.about-how-label::before,
.about-section-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--gold);
  vertical-align: 1px;
}

.about-step {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.5rem 0.75rem;
  align-items: start;
}
.about-num {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
}
.about-step-copy { min-width: 0; }
.about-step-copy h2 {
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0.35rem;
  line-height: 1.25;
}
.about-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.about-demo {
  grid-column: 2;
  margin: 0.35rem 0 0;
  border: 1px solid #111;
  border-left: 4px solid var(--gold);
  border-radius: 2px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.about-demo-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}
.about-demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ddd;
  flex: 0 0 auto;
}
.about-demo-gif {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: #fff;
}

.about-demo-mount { background: #fff; }
.about-demo-body { padding: 0.85rem 0.9rem 0.75rem; }
.about-demo-line { margin: 0 0 0.65rem; }
.about-demo-zh {
  margin: 0 0 0.35rem;
  line-height: 2;
}
.about-demo-zh .tok {
  font-size: 1.25rem;
  min-height: 0;
  padding: 2px 1px;
  cursor: default;
}
.about-demo-en {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.about-demo-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}
.about-demo-play {
  width: auto;
  min-width: 5.5rem;
  padding: 0 1rem;
  font-size: 0.92rem;
  line-height: 1;
}
.about-demo-play.is-playing {
  background: var(--ink);
  color: #fff;
}
.about-demo-status {
  font-size: 0.8rem;
  color: var(--muted);
}

.about-hero-lead {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.45;
  max-width: 34rem;
}
.about-bridge {
  margin: 1.15rem 0 1rem;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
  max-width: 34em;
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
}
.about-cta-mid { margin-bottom: 0.25rem; }
.about-close {
  margin: 3rem 0 8px;
  padding-top: 0;
  border-top: none;
}
.about-outcome {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  max-width: 34em;
  font-weight: 650;
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
}
.about-practice-quiet {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  max-width: 34em;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 9.5rem;
  min-height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
}
.about-cta:hover {
  background: var(--gold);
  color: #111;
}

.about-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c5c5c;
  margin: 0 0 0.65rem;
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
}
.about-problems,
.about-solution {
  margin: 2.25rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about-one-liner {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
  max-width: 34em;
  font-weight: 650;
  font-family: "Figtree", "Noto Sans", system-ui, sans-serif;
}
.about-hero .about-cta-mid {
  margin-top: 1.15rem;
}
.about-close .about-practice-quiet {
  margin: 0 0 1.15rem;
}
@media (max-width: 520px) {
  .about-step { grid-template-columns: 1fr; }
  .about-num { margin-bottom: 0.15rem; }
  .about-demo { grid-column: 1; }
  .about-cta { width: 100%; }
  /* problem matches solution */
}
@media (max-width: 719px) {
  /* single gutter from .wrap (16px) — no double pad */
  .about-wrap { padding: 8px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); max-width: 100%; box-sizing: border-box; }
  .about-hero h1 { font-size: clamp(1.45rem, 7vw, 1.85rem); overflow-wrap: anywhere; }
  .about-one-liner,
  .about-practice-quiet,
  .about-sub { overflow-wrap: anywhere; max-width: 100%; }
  .about-cta { width: 100%; }
  .about-demo-actions { flex-direction: column; align-items: stretch; }
  .about-demo-play { width: 100%; min-height: 44px; justify-content: center; }
  .about-demo-zh .tok { font-size: 1.1rem; }
}
@media (max-width: 430px) {
  .about-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .about-one-liner { font-size: 1rem; font-weight: 650; }
  .about-hero h1 { font-size: clamp(1.35rem, 6.5vw, 1.65rem); }
  .about-practice-quiet { font-size: 0.85rem; }
  .about-demo-play { width: 100%; }
  .about-cta { width: 100%; }
  .about-hero { padding-bottom: 1.25rem; margin-top: 8px; }
  .about-tutorial { gap: 1.75rem; margin-top: 2rem; padding-top: 1.5rem; }
  .about-step { gap: 0.5rem 0.75rem; }
  .about-step-copy h2 { font-size: 1.08rem; }
  .about-sub { font-size: 0.88rem; }
  .about-problems,
  .about-solution { margin-top: 1.5rem; padding-top: 1.35rem; }
  .about-close { margin-top: 2rem; }
}


