/* Silica's theme (decisions/21-client-themes.md, D21.20), from the client's Figma file "Silica", read on 2026-12-01:
   a distributor of Sika construction chemistry (tile adhesives, waterproofing, grouts) on a black site (#000000,
   cards #131313) with one brand colour, amber #FFA700, on its buttons, titles and arrows. Colours only: the design
   stays BetaAdmin's. Buttons are amber with black text, as on the site. In light mode the amber is a shade deeper
   (#C98400): the site's #FFA700 reads 1.95:1 on a white card, under the 3:1 a focus ring needs. Links and the current
   menu item take a dark amber on light (#8A5A00), a bright one on dark. Warnings move to a burnt orange so they never
   read as the brand. Light neutrals are warm stone and grout; dark ones are the site's black. */
@layer tokens {
    :root {
        --primary:       #C98400;
        --primary-dark:  #B07300;
        --primary-glow:  rgba(201, 132, 0, .22);
        --accent-soft:   #FFF3DC;
        --on-primary:    #1A1300;
        --primary-text:  #8A5A00;
        --menu-active-bg: #FFF3DC;
        --menu-active:    #8A5A00;
        --warning:       #B4470F;

        --page-bg:        #F5F4F1;
        --surface:        #FFFFFF;
        --surface-sunken: #EFEDE8;
        --border:         #E6E2DA;
        --border-strong:  #D3CDC2;
        --divider:        #EEEBE5;
        --hover:          #F2F0EB;
        --text:           #1A1814;
        --text-sub:       #5E5A52;
        --text-muted:     #6C675E;
        --ring-track:     #E6E2DA;
        --grid-line:      rgba(26, 24, 20, .06);
        --menu-link:      #4A463F;
        --menu-hover-bg:  #F2F0EB;
        --menu-hover:     #1A1814;
        --menu-icon:      #6C675E;
        --menu-heading:   #6C675E;
        --menu-arrow:     #A39D92;
        --menu-separator: #EEEBE5;
        --menu-bullet:    #D3CDC2;
        --input-bg:       #FFFFFF;
        --input-border:   #D3CDC2;
        --backdrop:       rgba(10, 10, 10, .45);

        /* The sign-in scene: a pool built layer by layer on the site's black, in both modes. */
        --scene-stage:    #0A0A0A;
        --scene-soil:     #17130F;
        --scene-deck:     #3A3835;
        --scene-concrete: #55534E;
        --scene-amber:    #FFA700;
        --scene-glow:     #FFD27A;
        --scene-tile:     #2E8FAA;
        --scene-tile-dark: #1F6E86;
        --scene-tile-light: #3BA7C0;
        --scene-water:    #3FA4C4;
        --scene-foam:     #D8F6FF;
        --scene-metal:    #C8C7C3;
    }

    :root[data-theme="dark"] {
        --primary:       #FFA700;
        --primary-dark:  #FFB733;
        --primary-glow:  rgba(255, 167, 0, .26);
        --accent-soft:   rgba(255, 167, 0, .14);
        --on-primary:    #1A1300;
        --primary-text:  #FFB833;
        --menu-active-bg: rgba(255, 167, 0, .14);
        --menu-active:    #FFC45C;
        --warning:       #F0904E;

        --page-bg:        #0A0A0A;
        --surface:        #131313;
        --surface-sunken: #0E0E0E;
        --border:         #262626;
        --border-strong:  #363636;
        --divider:        #1E1E1E;
        --hover:          #1C1C1C;
        --text:           #EEEAE2;
        --text-sub:       #A8A39A;
        --text-muted:     #8F8A81;
        --ring-track:     #262626;
        --grid-line:      rgba(238, 234, 226, .06);
        --menu-link:      #A8A39A;
        --menu-hover-bg:  #1C1C1C;
        --menu-hover:     #EEEAE2;
        --menu-icon:      #8F8A81;
        --menu-heading:   #8F8A81;
        --menu-arrow:     #77736C;
        --menu-separator: #262626;
        --menu-bullet:    #363636;
        --input-bg:       #0E0E0E;
        --input-border:   #363636;
        --backdrop:       rgba(0, 0, 0, .6);

        --scene-stage:    #0A0A0A;
        --scene-soil:     #141110;
    }
}
