/* PhysiqueMax dark + volt theme. Scoped to body.pm so it only re-skins the
   PhysiqueMax pages; all structure/layout/responsive rules come from styles.css.
   The app's brand is volt-lime on near-black, which also showcases the (dark)
   app screenshots inside the phone frames. */

body.pm {
  /* token overrides */
  --bg: #0a0b09;
  --surface: #151714;
  --surface-low: #101210;
  --surface-high: #1d201b;
  --text: #f4f6f2;
  --muted: #9aa39a;
  --soft: #717a70;
  --line: rgba(255, 255, 255, 0.12);
  --volt: #cbf73a;
  --volt-soft: rgba(203, 247, 58, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(203, 247, 58, 0.10), transparent 70%),
    var(--bg);
}

body.pm .site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 9, 0.72);
}

body.pm .brand-mark {
  background: linear-gradient(140deg, var(--volt), #9ad400);
  box-shadow: 0 14px 30px rgba(203, 247, 58, 0.18);
  color: #0a0b09;
}

body.pm .nav-links { color: var(--muted); }
body.pm .nav-links a:hover,
body.pm .footer-links a:hover { color: var(--volt); }

body.pm .button-primary {
  background: var(--volt);
  color: #0a0b09;
  box-shadow: 0 14px 30px rgba(203, 247, 58, 0.22);
}
body.pm .button-primary:hover { background: #d7ff5a; }

body.pm .button-secondary {
  border-color: rgba(203, 247, 58, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
}

body.pm .domain-line { color: var(--soft); }
body.pm .domain-line svg { color: var(--volt); }

body.pm .phone-frame,
body.pm .device-card { border-color: #000; background: #000; }

body.pm .glass-note {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(21, 23, 20, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
body.pm .glass-note strong { color: var(--volt); }
body.pm .glass-note span { color: var(--muted); }

body.pm .feature-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(203, 247, 58, 0.06), rgba(255, 255, 255, 0.01)),
    var(--surface-low);
}

body.pm .screen-button { color: var(--text); }
body.pm .screen-button:hover,
body.pm .screen-button.is-active {
  border-color: rgba(203, 247, 58, 0.45);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
}
body.pm .screen-button svg { color: var(--volt); }
body.pm .screen-button span { color: var(--muted); }

body.pm .privacy-point,
body.pm .app-tile,
body.pm .policy-card,
body.pm .metric {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.4);
}

body.pm .future-tile {
  border: 1px dashed rgba(203, 247, 58, 0.32);
  color: var(--muted);
}

body.pm .app-icon { box-shadow: 0 18px 38px rgba(203, 247, 58, 0.16); }

body.pm .cta-panel {
  background:
    linear-gradient(135deg, rgba(203, 247, 58, 0.16), rgba(255, 255, 255, 0.02)),
    var(--surface);
  border: 1px solid rgba(203, 247, 58, 0.28);
  color: var(--text);
}
body.pm .cta-panel p { color: var(--muted); }
body.pm .cta-panel .button-primary { background: var(--volt); color: #0a0b09; }

body.pm .policy-aside {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

/* volt selection + focus affordance */
body.pm ::selection { background: rgba(203, 247, 58, 0.3); color: #fff; }
body.pm a:focus-visible,
body.pm .button:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

/* static 3-up screenshot gallery (no JS swapper needed) */
body.pm .pm-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}
body.pm .pm-shot { display: grid; justify-items: center; }
body.pm .pm-shot .device-card { max-width: 300px; }
body.pm .pm-shot h3 { margin: 22px 0 0; font-size: 1.16rem; line-height: 1.2; }
body.pm .pm-shot p { margin: 8px 0 0; max-width: 32ch; color: var(--muted); font-size: 0.97rem; text-align: center; }
@media (max-width: 980px) {
  body.pm .pm-gallery { grid-template-columns: 1fr; gap: 46px; }
}
