/* Forge Strategy Lab brand layer (13/10/2026).
 *
 * The few brand pieces every surface shares: the app, admin, auth, legal and
 * the marketing site. Linked from templates/partials/head-meta.php (every
 * app, marketing, auth and legal head) and src/admin.php, so one rule here
 * reaches all of them. Plain CSS with no Craft or landing.css dependency.
 * Every selector carries one extra element of specificity (html ...), the
 * same trick as font-stack.css, so it wins from either side of the bundles.
 */

/* The beaker logo's flame, sampled from assets/media/fsl-beaker-640.png:
 * magenta base, red, red-orange, orange. */
html:root {
    --gsl-flame-grad: linear-gradient(0deg, #D3036B 0%, #FA1E45 35%, #FD4317 65%, #FF9A02 100%);
}

/* THE highlight (Mike, 13/10/2026: "that's our new rule when we highlight
 * things"). Lifts one card or panel out of its siblings, the way the
 * Recommended plan stands out on the pricing cards: a 2px flame ring on the
 * outer edge and a faint red glow beneath. Add the class and nothing else:
 *
 *     <div class="card gsl-highlight">...</div>
 *
 * The ring is a masked ::before, so the element keeps its own background,
 * tint, padding and radius, its layout does not move, and it reads on light
 * and dark alike. It takes the element's ::before and sets position:
 * relative, so don't put it on an element that uses either.
 * --gsl-highlight-edge is the element's own border width (default 1px), so
 * the ring lands exactly over it: set it to 0 on a borderless element or one
 * with overflow: hidden (which would clip the outer pixel). */
html .gsl-highlight {
    position: relative;
    border-color: transparent;
    box-shadow: 0 18px 50px -20px rgba(250, 30, 69, 0.35);
}
html .gsl-highlight::before {
    content: "";
    position: absolute;
    inset: calc(-1 * var(--gsl-highlight-edge, 1px));
    padding: 2px;
    border-radius: inherit;
    background: var(--gsl-flame-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
