/* ==========================================================================
   LimePlayer — marketing site. Sibling of the LimeFlow dark page (C:\htdocs\limeflow_website\dark_design), made by
   the same studio: plain CSS, no build step, one file per job, linked in order by includes/stylesheets.php.
   Cascade layers keep the order explicit:  reset → tokens → base → components → sections → utilities
   Every colour is a token here; components and sections only reference tokens.
   Brand: LimePlayer Lime #C7FF2E (hover #C4FF63, text on it #0F1A00), violet #9C8CFF secondary.
   Type: Lato 900 for display (as LimeFlow), Figtree for everything else.
   Radii ladder (DESIGN.md): stage 28 / card 24 / film 20 / modal 18 / panel 16 / tile 14 / thumb 12.
   ========================================================================== */

@layer reset, tokens, base, components, sections, utilities;

@layer tokens {
    :root {
        /* surfaces: LimeFlow's near-black, a touch cooler */
        --bg: #0B0D0E;
        --bg-2: #0E1112;
        --surface-film: #050607;           /* film strips, the stage behind a video */
        --surface-ink: #0C1013;            /* orbs, inputs */
        --surface-deep: #101415;
        --surface-card: #131718;
        --surface-raised: #171B1D;
        --surface-hover: #1D2224;
        --surface-paper: #1C2829;          /* teal-tinted top of cards (LimeFlow's paper) */
        /* legacy names kept for shared/legal markup */
        --surface-1: var(--surface-deep);
        --surface-2: var(--surface-card);
        --surface-3: var(--surface-raised);
        --surface-4: var(--surface-hover);
        --surface-player: var(--surface-film);

        /* brand: lime ladder */
        --lime-50: #E9FFC9;
        --lime-100: #DCFFA0;
        --lime-200: #D2FF7A;
        --lime-300: #C4FF63;           /* hover */
        --lime-400: #C7FF2E;           /* LimePlayer Lime */
        --lime-500: #BDF526;
        --lime-600: #ADE81C;
        --lime-700: #98D611;
        --lime-900: #4E7400;
        --lime-950: #283D00;
        --lime-ink: #0F1A00;           /* text on lime */
        --violet-300: #C3B9FF;
        --violet-400: #9C8CFF;
        --violet-500: #7D6BF5;
        --violet-900: #251E52;

        /* signal colours (verdicts, charts, statuses) */
        --green-400: #4ADE80;
        --green-500: #22C55E;
        --amber-400: #FFC857;
        --rose-300: #FF8A9A;
        --rose-400: #FF5A6E;
        --rose-900: #3A1218;
        --yellow-caption: #FFE14D;

        /* text */
        --white: #FFFFFF;
        --text: #F4F7F8;
        --text-2: #BAC4CA;
        --text-3: #87939A;
        --text-4: #5D686F;

        /* alpha ladders */
        --white-a2: rgb(255 255 255 / .02);
        --white-a3: rgb(255 255 255 / .03);
        --white-a4: rgb(255 255 255 / .04);
        --white-a6: rgb(255 255 255 / .06);
        --white-a8: rgb(255 255 255 / .08);
        --white-a10: rgb(255 255 255 / .10);
        --white-a12: rgb(255 255 255 / .12);
        --white-a16: rgb(255 255 255 / .16);
        --white-a20: rgb(255 255 255 / .20);
        --white-a30: rgb(255 255 255 / .30);
        --white-a40: rgb(255 255 255 / .40);
        --white-a60: rgb(255 255 255 / .60);
        --white-a70: rgb(255 255 255 / .70);
        --white-a90: rgb(255 255 255 / .90);
        --black-a30: rgb(0 0 0 / .30);
        --black-a40: rgb(0 0 0 / .40);
        --black-a60: rgb(0 0 0 / .60);
        --black-a70: rgb(0 0 0 / .70);
        --black-a80: rgb(0 0 0 / .80);
        --bg-a30: rgb(11 13 14 / .30);
        --bg-a60: rgb(11 13 14 / .60);
        --bg-a85: rgb(11 13 14 / .85);
        --lime-a6: rgb(199 255 46 / .06);
        --lime-a10: rgb(199 255 46 / .10);
        --lime-a16: rgb(199 255 46 / .16);
        --lime-a25: rgb(199 255 46 / .25);
        --lime-a30: rgb(199 255 46 / .30);
        --lime-a45: rgb(199 255 46 / .45);
        --violet-a12: rgb(156 140 255 / .12);
        --violet-a25: rgb(156 140 255 / .25);

        /* hairlines */
        --line: rgb(255 255 255 / .07);
        --line-2: rgb(255 255 255 / .11);
        --line-3: rgb(255 255 255 / .18);

        /* gradients (LimeFlow's amber ladder, in lime) */
        --grad-lime: linear-gradient(-95deg, var(--lime-300) 3.6%, var(--lime-400) 48.15%, var(--lime-700) 96.4%);
        --grad-lime-v: linear-gradient(180deg, var(--lime-300), var(--lime-700));

        /* semantic */
        --accent: var(--lime-500);            /* LimeFlow: amber-550 for lime text and icons */
        --accent-hover: var(--lime-300);
        --on-accent: var(--lime-ink);
        --r-stage: 28px;
        --r-card: 24px;
        --r-film: 20px;
        --r-modal: 18px;
        --r-panel: 16px;
        --r-tile: 14px;
        --r-thumb: 12px;
        --radius-sm: 8px;
        --radius: 12px;
        --radius-lg: 16px;
        --radius-xl: 24px;
        --shadow-btn: inset 0 2px 9px color-mix(in srgb, var(--lime-50) 70.2%, transparent), 0 10px 24px color-mix(in srgb, var(--lime-900) 18%, transparent);
        --shadow-btn-hover: inset 0 2px 9px color-mix(in srgb, var(--lime-50) 70.2%, transparent), 0 14px 30px color-mix(in srgb, var(--lime-900) 27.8%, transparent);
        --shadow-panel: inset 0 1px 0 var(--white-a12), 0 24px 60px var(--black-a70);
        --shadow-stage: 0 60px 140px -30px rgb(0 0 0 / .95), 0 30px 60px -30px rgb(0 0 0 / .8);
        --shadow-card: inset 0 1px 0 var(--white-a8), 0 20px 50px -20px rgb(0 0 0 / .7);
        --shadow-float: 0 40px 120px -30px rgb(0 0 0 / .85), 0 0 0 1px var(--line-2);
        --glow-lime: 0 0 0 1px var(--lime-a30), 0 12px 40px -8px rgb(199 255 46 / .45);
        --font-sans: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
        --font-display: 'Lato', 'Figtree', system-ui, sans-serif;
        --font-caption: 'Figtree', 'Arial Black', system-ui, sans-serif;
        --font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Code', Menlo, Consolas, monospace;
        --wrap: 1240px;
        --gutter: 40px;
        --section-y: 150px;
        --header-h: 76px;
        --ease: cubic-bezier(.22, 1, .36, 1);
        --ease-out: var(--ease);
    }
    @media (max-width: 1080px) { :root { --gutter: 28px; --section-y: 120px; } }
    @media (max-width: 720px) { :root { --gutter: 16px; --section-y: 88px; --header-h: 64px; } }
}
