/*
 * TyreSmart design tokens
 * Derived from the original Squarespace theme and isolated from Bootstrap.
 */

/* rajdhani-regular - latin */
@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../_fonts/rajdhani-v17-latin-regular.woff2') format('woff2'); 
}
/* rajdhani-700 - latin */
@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../_fonts/rajdhani-v17-latin-700.woff2') format('woff2');
}

/* barlow-regular - latin */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../_fonts/barlow-v13-latin-regular.woff2') format('woff2'); 
}

/* Barlow - Bold (700) */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../_fonts/barlow-v13-latin-700.woff2') format('woff2');
}

/* Barlow - Extra Bold (800) */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../_fonts/barlow-v13-latin-800.woff2') format('woff2');
}

/* barlow-900 - latin */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../_fonts/barlow-v13-latin-900.woff2') format('woff2');
}

:root {
    /* Colour */
    --ts-green: #00f20d;
    --ts-green-bright: #39ff14;
    --ts-green-soft: #b7ffb8;
    --ts-black: #000;
    --ts-surface-1: #050505;
    --ts-surface-2: #0b0b0b;
    --ts-surface-3: #121212;
    --ts-white: #fafafa;
    --ts-grey-100: #ececec;
    --ts-grey-300: #b7b7b7;
    --ts-grey-500: #707070;
    --ts-grey-700: #282828;
    --ts-border: #1c1c1c;
    /* Typography */
    --ts-font-body: "Rajdhani", "Arial Narrow", Arial, sans-serif;
    --ts-font-heading: "Barlow", Arial, sans-serif;
    --ts-font-ui: "Rajdhani", "Arial Narrow", Arial, sans-serif;
    --ts-font-secondary: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ts-font-size-body: clamp(1rem, .86rem + .25vw, 1.18rem);
    --ts-line-height-body: 3;
    --ts-letter-space-nav: .035em;
    --ts-letter-space-label: .38em;
    /* Layout copied from the Squarespace setup */
    --ts-page-max: 1400px;
    --ts-page-gutter: clamp(1.25rem, 4vw, 4rem);
    --ts-section-space: clamp(3rem, 6vw, 6.5rem);
    --ts-header-space: clamp(2rem, 2.5vw, 3.2rem);
    --ts-grid-gap: clamp(2rem, 5vw, 6rem);
    /* Shape and movement */
    --ts-radius-sm: .2rem;
    --ts-radius-md: .4rem;
    --ts-transition: 180ms ease;
    /* Bootstrap token bridge */
    --bs-body-font-family: var(--ts-font-body);
    --bs-body-font-size: var(--ts-font-size-body);
    --bs-body-line-height: var(--ts-line-height-body);
    --bs-body-bg: var(--ts-black);
    --bs-body-color: var(--ts-white);
    --bs-primary: var(--ts-green);
    --bs-primary-rgb: 0, 242, 13;
    --bs-link-color: var(--ts-green);
    --bs-link-hover-color: var(--ts-green-soft);
    --bs-border-color: var(--ts-border);
}
