/* PL1 marketing — shared system components.
Exports to window so other Babel scripts can use them. */
const { useState, useEffect, useRef, Fragment } = React;
/* ────────────────────────────────────────────────────────────────
Logo mark — inlined for theme-aware swatch & for use as anchor.
The SVG below is a reference to the delivered vector; we use an
for raster pixel fidelity, but expose a CSS-mask variant
when we want to recolor the mark inside dark blocks.
──────────────────────────────────────────────────────────────── */
function LogoMark({ size = 40, variant = "full" }) {
// variant="full" → the rendered logo as-is (neon green + black)
// variant="mono" → mark recolored to currentColor via mask
if (variant === "mono") {
return (
);
}
return (
);
}
/* ────────────────────────────────────────────────────────────────
Slim static header — fixed-height, brand mark + nav + two CTAs.
Behaves as a static element inside each artboard.
──────────────────────────────────────────────────────────────── */
function SiteHeader({ active = "home" }) {
const nav = [
{ id: "home", label: "Home" },
{ id: "programs", label: "Programs" },
{ id: "coaches", label: "Coaches & about" },
{ id: "testimonials", label: "Results" },
{ id: "contact", label: "Contact" },
];
return (