/* lp2-learn.css — "How it works" long-form page (learn.html / learn-ja.html).
   Builds on /css/lp2.css tokens (--ground, --ground-2, --ink, --muted, --faint, --rule, --rule-soft, --art-w, ...).
   Scope: public/learn.html, public/learn-ja.html, public/video-guide.html, public/video-guide-ja.html. */

/* ── Article prose (long-form, ~680px measure, same idea as lp2-blog.css) ── */
.prose { width: 100%; max-width: 680px; text-align: left; }
.prose p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-top: 22px; }
.prose p:first-child { margin-top: 0; }
html:lang(ja) .prose p { line-height: 1.9; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }

.prose h2 {
  margin-top: clamp(48px, 6vw, 72px);
  max-width: none;
  font-size: clamp(23px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  color: var(--ink);
}
html:lang(ja) .prose h2 { max-width: none; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.4; }

.prose h3 { margin-top: clamp(32px, 4vw, 44px); font-size: clamp(17px, 1.9vw, 20px); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
html:lang(ja) .prose h3 { line-height: 1.5; }

.prose ul { margin-top: 18px; display: grid; }
.prose ul li { color: var(--muted); font-size: 16px; line-height: 1.65; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--rule-soft); position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 9px; height: 1px; background: var(--faint); }
.prose ul li:last-child { border-bottom: 0; }
html:lang(ja) .prose ul li { line-height: 1.85; }

.prose a:not(.btn):not(.lnk) { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.prose a:not(.btn):not(.lnk):hover { color: var(--muted); }

html:lang(ja) .stage.hero .note { word-break: auto-phrase; text-wrap: balance; }

/* short stacked lines (lists of wants, names) and quoted voices — set in ink, a step stronger than body */
.prose .lines { color: var(--ink); font-weight: 600; }
.prose .says { color: var(--ink); font-weight: 600; padding-left: 1.1em; border-left: 2px solid var(--ink); }

/* a real site in the browser frame from lp2.css, inside the article */
.prose .learn-site { margin: 28px 0 0; }
.prose .learn-cap { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center; }
.prose .learn-sig { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--muted); }
.prose .learn-sig b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }

/* images: capped at the LP hero art width, centered inside the prose measure */
.learn-img {
  display: block;
  width: 100%;
  max-width: var(--art-w);
  height: auto;
  margin: 28px auto;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 24px 48px -24px rgba(0, 0, 0, 0.28);
}

/* ── Callout / demo-cta cards — neutral surface, no accent color ── */
.demo-cta, .callout {
  margin: 28px 0;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 18px;
  background: var(--ground-2);
  text-align: left;
}
.dc-label, .callout-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.demo-cta p, .callout p { margin-top: 0; margin-bottom: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.demo-cta p:last-of-type, .callout p:last-of-type { margin-bottom: 0; }
.callout p strong, .demo-cta p strong { color: var(--ink); }
.dc-btns { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.dc-btns .btn, .dc-btns .lnk { font-size: 15px; }

/* ── Final CTA fine print under the outro button ── */
.outro-fine { margin-top: 16px; font-size: 13px; color: var(--faint); }
.outro-fine a { color: var(--ink); text-decoration: underline; }

@media (max-width: 480px) {
  .prose p, .prose ul li { font-size: 15px; }
}

/* ── Video quality guide (video-guide.html / video-guide-ja.html) ── */
.prose ol { margin-top: 18px; padding-left: 1.4em; display: grid; gap: 10px; }
.prose ol li { color: var(--muted); font-size: 16px; line-height: 1.65; padding-left: 4px; }
html:lang(ja) .prose ol li { line-height: 1.85; }
.prose ol li::marker { color: var(--ink); font-weight: 600; }

.rule {
  margin: 20px 0;
  padding: clamp(20px, 3vw, 26px);
  border-radius: 18px;
  background: var(--ground-2);
}
.rule-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.rule-label.required { background: var(--ink); color: var(--ground); box-shadow: none; }
.rule p { margin-top: 0; margin-bottom: 12px; font-size: 16px; line-height: 1.7; }
html:lang(ja) .rule p { line-height: 1.85; }
.rule p:last-child { margin-bottom: 0; }

.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.do-dont > div {
  padding: clamp(18px, 2.6vw, 24px);
  border-radius: 18px;
  font-size: 15px; line-height: 1.9; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.do-dont .do-col { background: var(--ground-2); box-shadow: none; }
.do-dont strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 16px; }
.do-dont strong + br { display: none; }
@media (max-width: 600px) { .do-dont { grid-template-columns: 1fr; } }
