/* base.css */

/* Load Local Fonts (Keep your @font-face rules here at the top) */

:root {
    /* 1. Color Palette */
    --color-primary: #0059FF;
    /* Kinetic Blue */
    --color-bg-light: #f5f6f7;
    --color-surface: #ffffff;
    --color-text-primary: #2c2f30;
    --color-text-secondary: rgba(230, 232, 234, 0.7);

    /* 2. Typography */
    --font-primary: 'Manrope', sans-serif;

    /* 3. Shapes & Spacing */
    --radius-four: 8px;
    --grid-gutter: 32px;
    --container-max-width: 1440px;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    /* Added for better readability on long texts */
}

/* --- Global Typography Standards using Clamp --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5em;
    color: var(--color-text-primary);
}

/* clamp(MIN, VAL, MAX) */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p,
ul,
ol {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin-top: 0;
    margin-bottom: 1rem;
}

ul,
ol {
    padding-left: 1.5rem;
}

strong,
b {
    font-weight: 700;
}

/* --- Global Link & Hover Standard --- */
a {
    color: var(--color-text-primary);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease-in-out;
}

/* Create the blue line under all links (excluding buttons) */
a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    /* Position it slightly under the text */
    left: 0;
    width: 0;
    /* Starts hidden at 0 width */
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 1px;
    transition: width 0.3s ease-in-out;
    /* Smooth slide animation */
}

/* Change text color and expand line on hover */
a:not(.btn-primary):hover {
    color: var(--color-primary);
}

a:not(.btn-primary):hover::after {
    width: 100%;
}