/* -------------------------------------------------------------
   Design tokens
   Converted from assets/scss/_settings.scss
   All former SCSS $variables are now CSS custom properties.
   ------------------------------------------------------------- */

:root {
    /* Global settings */
    --global-width: 90%;
    --global-margin: 3rem;
    --global-padding: 3rem;
    --global-left: 1rem;
    --global-weight-normal: 400;
    --global-weight-bold: 700;

    /* Colour scheme */
    --primary: #F47738;
    --primary-darken-10: #EC580D;   /* darken($primary, 10%) */
    --primary-darken-20: #BB460A;   /* darken($primary, 20%) */
    --primary-dark: #8B3408;
    --secondary: #8B2332;
    --green: #01FFC5;
    --light-grey: #f2f2f2;
    --medium-grey: #ccc;

    --dark-grey: #aeaeae;
    --dark: #4a4a4a;
    --darker: #1a1a1a;
    --darkest: #000000;
    --light: #eaeaea;
    --lighter: #f2f2f2;
    --lightest: #ffffff;
    
    /* Alias used throughout the codebase */
    --primary-color: #F47738;
    --text-color: rgba(255, 255, 255, 0.7);   /* white 70% */
    --text-color-light: rgba(255, 255, 255, 0.6);  /* rgba($lightest, 0.6) */

    /* Typography */
    --baseline: 1.6;
    --scale: 1.614;

    --h1: clamp(4.8rem, 6vw, 9rem);
    --h2: clamp(4.2rem, 8vw, 5.4rem);
    --h3: clamp(3.6rem, 5vw, 4.6rem);
    --h4: clamp(3.0rem, 2.5vw, 3.8rem);
    --h5: clamp(1.6rem, 2vw, 3.2rem);
    --h6: clamp(1.4rem, 2vw, 2.0rem);
    --stats-stat-size: 9rem;
    --stats-description-size: 2.6rem;
    --fixed-header-offset: 9rem;

    --global-font-family: "Archivo", sans-serif;
    --global-font-size: clamp(1.6rem, 1.5vw, 1.8rem);

    --header-font-family: "Montserrat", sans-serif;
    --header-line-height: 1.2;
    --header-bottom-margin: 1.875rem;   /* rem-calc(30) */
    --paragraph-line-height: 1.6;
    --margin-bottom: 2rem;
    --paragraph-margin-bottom: 1.2rem;

    --list-line-height: 1.6;
    --list-margin-bottom: 1.2rem;
    --list-style-type: disc;
    --list-style-position: outside;
    --list-side-margin: 1.25rem;
    --list-nested-side-margin: 1.25rem;

    --defnlist-margin-bottom: 1rem;
    --defnlist-term-weight: 700;
    --defnlist-term-margin-bottom: 0.3rem;

    --blockquote-color: #aeaeae;
    --blockquote-padding: 0.5625rem 1.25rem 0 1.1875rem; /* rem-calc(9 20 0 19) */
    --blockquote-border: 1px solid #ccc;

    --cite-font-size: 0.8125rem;        /* rem-calc(13) */
    --cite-color: #aeaeae;
    --cite-pseudo-content: "\2014 \0020";
    --abbr-underline: 1px dotted #4a4a4a;

    --button-padding: 1.4rem 1.8rem 0.5rem 1.8rem;

    /* Block spacing */
    --block-padding-small: 40px 0;
    --block-padding: 100px 0;
    --block-margin-bottom-small: 40px;
    --block-margin-bottom: 100px;

    /* Inputs */
    --input-height: 50px;
    --input-border-color: #f2f2f2;
    --input-border-color-hover: #bfbfbf;            /* darken(#f2f2f2, 20%) */
    --input-focus-color: var(--primary-color);
    --input-focus-border-color: var(--primary-color);

    /* Tables */
    --table-striped-background: #f2f2f2;
    --table-header-background: #eeeeee;
    --table-header-padding: 1rem;
    --table-header-weight: 700;
    --table-body-background: #ffffff;
    --table-body-padding: 1rem;
    --table-body-weight: 300;
    --table-footer-background: #eeeeee;
    --table-footer-padding: 1rem;
    --table-footer-weight: 300;

    /* Radius */
    --global-radius: 4px;
    --global-rounded: 1000px;

    /* Animation */
    --cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
}
