/* ==========================================================================
   Base — Design tokens, reset, typography
   ========================================================================== */

/* --- Custom Properties (Design Tokens) --- */
:root {
    /* Colours — Signal Black: striking dark + electric accents */
    --color-navy: #0C1220;
    --color-navy-light: #162032;
    --color-navy-dark: #060A12;
    --color-orange: #F28A2E;
    --color-orange-hover: #E07820;
    --color-orange-light: #FFF4E8;
    --color-teal: #00DC82;
    --color-teal-light: #E0FFF0;
    --color-bg: #F7F5F0;
    --color-white: #FFFFFF;
    --color-text: #0B1220;
    --color-text-secondary: #5A6578;
    --color-border: #DDD8CE;
    --color-whatsapp: #1E9E5A;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font sizes — fluid scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 720px;
    --container-padding: 1.25rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(12, 18, 32, 0.06);
    --shadow-md: 0 4px 12px rgba(12, 18, 32, 0.1);
    --shadow-lg: 0 8px 24px rgba(12, 18, 32, 0.14);
    --shadow-xl: 0 16px 48px rgba(12, 18, 32, 0.18);

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    /* Transition */
    --transition-fast: 150ms ease;
    --transition: 250ms ease;
    --transition-slow: 400ms ease;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 16px;
}


/* --- Modern CSS Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
    overflow-wrap: break-word;
}

p {
    overflow-wrap: break-word;
}


/* --- Typography Scale --- */
h1 {
    font-size: var(--text-4xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-3xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p + p {
    margin-top: var(--space-sm);
}

strong {
    font-weight: 600;
}

small {
    font-size: var(--text-sm);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.text-orange {
    color: var(--color-orange);
}



/* --- Selection --- */
::selection {
    background-color: var(--color-orange-light);
    color: var(--color-navy);
}


/* --- Focus styles --- */
:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}


/* --- Screen reader only --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
