/* PROTOTYPE — landing A part 2 (MoreA.astro): solid long-form sections below the 3D story. Tokens come from .a-root
   (a-base.css). z-index 18 = above the fixed copy overlays (10) and the chapter rail (15), below the nav (20). */

.mo { position: relative; z-index: 18; box-shadow: 0 -80px 80px -20px var(--pa-canvas); }
/* sections are solid; the price section (stage-a.css .mo-buy-sec) stays see-through so the bot shows beside the card */
.mo-sec, .mo-foot { background: var(--pa-canvas); }
.mo-wrap { width: min(1120px, calc(100vw - 48px)); margin: 0 auto; }
.mo-sec { padding: 88px 0; }
.mo-sec + .mo-sec { border-top: var(--pa-bw) solid var(--pa-line); }
.mo h2 { margin: 8px 0 28px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; color: var(--pa-ink); text-wrap: balance; max-width: 22ch; }
.mo-sub { margin: 56px 0 20px; font-size: 24px; letter-spacing: -.02em; font-weight: 650; color: var(--pa-ink); }
.mo-fine { margin: -10px 0 18px; font: var(--pa-fs-sm) var(--pa-font-mono); color: var(--pa-ink-3); }
.mo-sec .mo-fine:last-child { margin: 12px 0 0; }

/* tables */
.mo-table { overflow-x: auto; border: var(--pa-bw) solid var(--pa-line); border-radius: var(--pa-r-l); }
.mo-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.mo-table th { text-align: left; padding: 12px 16px; font: 600 var(--pa-fs-xs) var(--pa-font-mono); letter-spacing: .05em; color: var(--pa-ink-3); background: var(--pa-tint-1); }
.mo-table td { padding: 13px 16px; border-top: var(--pa-bw) solid var(--pa-line); color: var(--pa-ink-2); vertical-align: top; }
.mo-table td:first-child { color: var(--pa-ink); font-weight: 600; min-width: 150px; }
.mo-table .pa { background: color-mix(in oklch, var(--pa-accent) 8%, transparent); color: var(--pa-ink); }
.mo-table th.pa { color: var(--pa-link); }
.mo-fp td:not(:first-child), .mo-fp th:not(:first-child) { text-align: center; width: 140px; }
.mo-fp td.pa { color: var(--pa-st-done); font-weight: 600; }
.mo-fp td.no { color: var(--pa-ink-3); }

/* FAQ */
.mo-faq h2 { margin-bottom: 18px; }
.mo-faq details { border-top: var(--pa-bw) solid var(--pa-line); }
.mo-faq details:last-child { border-bottom: var(--pa-bw) solid var(--pa-line); }
.mo-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--pa-ink); font-weight: 600; font-size: 17px; }
.mo-faq summary::-webkit-details-marker { display: none; }
.mo-faq summary::after { content: "+"; color: var(--pa-link); font: 500 22px/1 var(--pa-font-mono); transition: transform var(--pa-dur-2) var(--pa-ease); }
.mo-faq details[open] summary::after { transform: rotate(45deg); }
.mo-faq details p { margin: 0 0 18px; color: var(--pa-ink-2); font-size: 15.5px; line-height: 1.65; max-width: 62ch; }

/* closing + footer */
.mo-closing { text-align: center; padding: 100px 0 110px; background: radial-gradient(60% 80% at 50% 30%, color-mix(in oklch, var(--pa-accent) 14%, var(--pa-canvas)), var(--pa-canvas)); }
.mo-closing .mo-wrap { display: grid; justify-items: center; }
.mo-closing h2 { margin: 18px auto 26px; }
.mo-closing-bot { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 50% 32%, #ffffff 0%, #f4f6f9 60%, #e3e8ef 100%); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .7); animation: mo-bob 4s ease-in-out infinite; }
@keyframes mo-bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.mo-foot { border-top: var(--pa-bw) solid var(--pa-line); }
.mo-foot-in { padding: 28px 0 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mo-foot-brand { display: flex; align-items: center; gap: 10px; }
.mo-foot-brand img { width: 24px; height: 24px; }
.mo-foot-brand .mo-foot-wm { width: auto; height: 14px; }
.mo-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.mo-foot nav a { color: var(--pa-ink-2); text-decoration: none; font-size: var(--pa-fs); }
.mo-foot nav a:hover { color: var(--pa-ink); }
.mo-foot-fine { margin-left: auto; font: var(--pa-fs-xs) var(--pa-font-mono); color: var(--pa-ink-3); }

@media (max-width: 860px) {
  .mo-wrap { width: auto; padding: 0 16px; }
  .mo-sec { padding: 56px 0; }
  .mo h2 { font-size: 28px; margin-bottom: 20px; }
  .mo-table td:first-child { min-width: 120px; }
  /* vs chat AI: each row becomes a small card (label, then the two answers) instead of a wide table */
  .mo-vs { border: 0; border-radius: 0; overflow: visible; }
  .mo-vs table, .mo-vs tbody, .mo-vs tr, .mo-vs td { display: block; }
  .mo-vs thead { display: none; }
  .mo-vs tr { margin-bottom: 10px; border: var(--pa-bw) solid var(--pa-line); border-radius: var(--pa-r-l); overflow: hidden; }
  .mo-vs td { border-top: 0; padding: 10px 14px; }
  .mo-vs td:first-child { padding-bottom: 4px; }
  .mo-vs td[data-h]::before { content: attr(data-h); display: block; margin-bottom: 2px; font: 600 10.5px var(--pa-font-mono); letter-spacing: .05em; color: var(--pa-ink-3); }
  .mo-vs td.pa[data-h]::before { color: var(--pa-link); }
  .mo-fp td:not(:first-child), .mo-fp th:not(:first-child) { width: 72px; }
  .mo-foot-fine { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .mo-closing-bot { animation: none; } }
