/* /polymaria — PolyMaria app page inside the shop (polymaria-page.js). Same family as the home hero and /robot-builder. */
.pm-page { padding: 24px 0 48px; display: grid; gap: 34px; }
.pm-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding: 28px 30px; border-radius: 18px;
  background: linear-gradient(110deg, #eaf5ff, var(--surface, #fff)); border: 1px solid var(--line, #dce8f5); }
.pm-hero .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #0068d6; margin-bottom: 10px; }
.pm-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.03em; }
.pm-hero h1 span { display: block; color: #0068d6; font-size: .72em; margin-top: 4px; }
.pm-hero p { margin: 0 0 14px; color: var(--muted, #5f6b7d); font-size: 15.5px; line-height: 1.55; max-width: 560px; }
.pm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 18px 0 10px; }
.pm-actions .primary { min-height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; }
.pm-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #eaf3ff; color: #0068d6; font-weight: 800; font-size: 14px; text-decoration: none; }
.pm-ghost:hover { background: #d8eaff; }
.pm-note { font-size: 13px !important; color: #6b7485 !important; margin: 0 !important; }
.pm-shot { background: var(--surface, #fff); border: 1px solid var(--line, #dce8f5); border-radius: 16px; padding: 16px; box-shadow: 0 10px 28px rgba(0, 104, 214, .08); }
.pm-lane { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line, #dce8f5); border-radius: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.pm-lane:last-child { margin-bottom: 0; }
.pm-lane b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #eaf3ff; color: #0068d6; font-size: 12px; }
.pm-lane span { color: var(--muted, #5f6b7d); margin-left: auto; font-size: 12px; font-weight: 500; text-align: right; }
.pm-block { display: grid; gap: 14px; }
.pm-block h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.pm-muted { margin: 0; color: var(--muted, #5f6b7d); font-size: 15px; } .pm-muted.small { font-size: 13px; }
.pm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pm-card { background: var(--surface, #fff); border: 1px solid var(--line, #dce8f5); border-radius: 16px; padding: 18px; display: grid; gap: 6px; align-content: start; }
.pm-card h3 { margin: 4px 0 0; font-size: 16px; } .pm-card p { margin: 0; color: var(--muted, #5f6b7d); font-size: 14px; line-height: 1.5; }
.pm-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #0068d6, #2f8fff); color: #fff; }
.pm-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #0f1a2e; color: #cfe3ff; }
.pm-code code { flex: 1; min-width: 200px; font: 600 14px/1.6 ui-monospace, Consolas, monospace; word-break: break-all; }
.pm-code .secondary { min-height: 36px; padding: 0 14px; border-radius: 10px; background: #fff; color: #0f1a2e; border: 0; font-weight: 700; cursor: pointer; }
.pm-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pm-plan { background: var(--surface, #fff); border: 1px solid var(--line, #dce8f5); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.pm-plan.featured { border-color: #0068d6; box-shadow: 0 0 0 1px #0068d6, 0 10px 28px rgba(0, 104, 214, .12); }
.pm-plan h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.pm-tag { align-self: flex-start; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: #eaf3ff; color: #0068d6; }
.pm-price { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; } .pm-price small { font-size: 14px; font-weight: 500; color: var(--muted, #5f6b7d); }
.pm-plan ul { margin: 4px 0 10px; padding-left: 18px; flex: 1; color: var(--muted, #5f6b7d); font-size: 14px; line-height: 1.6; }
.pm-buy { min-height: 44px; border-radius: 12px; font-size: 14px; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.pm-faq details { background: var(--surface, #fff); border: 1px solid var(--line, #dce8f5); border-radius: 12px; padding: 12px 14px; }
.pm-faq summary { cursor: pointer; font-weight: 700; } .pm-faq details p { margin: 8px 0 0; color: var(--muted, #5f6b7d); font-size: 14px; line-height: 1.5; }
html[data-theme=dark] .pm-hero { background: linear-gradient(110deg, #13203a, var(--surface, #121a26)); }
html[data-theme=dark] .pm-ghost, html[data-theme=dark] .pm-lane b, html[data-theme=dark] .pm-tag { background: #15304f; color: #7cb6ff; }
@media (max-width: 900px) { .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pm-hero { grid-template-columns: 1fr; padding: 22px; } .pm-grid, .pm-plans { grid-template-columns: 1fr; } .pm-page { gap: 26px; } .pm-shot { display: none; } }
