/* ============================================================
   SUV MARINE — Global Base
   Tokens, reset, base typography. Page-specific styles live in
   their own files (index.css etc). Shared UI in components.css.
   ============================================================ */

:root {
    /* Brand */
    --primary-color: #002877;
    --primary-color-low: rgba(0, 40, 119, 0.5);
    --primary-color-dark: #001a4d;

    --secondary-color: #8a939c;
    --secondary-color-low: rgba(138, 147, 156, 0.5);
    --secondary-color-dark: #5c646d;

    --tertiary-color: #e6e8e6;
    --tertiary-color-low: rgba(230, 232, 230, 0.5);
    --tertiary-color-dark: #d3d6d3;

    /* Surfaces */
    --bg-color: #f0f1ef;
    --bg-color-low: rgba(240, 241, 239, 0.5);
    --bg-color-dark: #e7e9e6;

    --card-bg: #ffffff;
    --card-bg-low: #f7f8f6;

    /* Ink */
    --text-dark: #0e1216;
    --text-dark-low: rgba(14, 18, 22, 0.62);
    --text-dark-dark: #05070a;

    --text-light: #f7f8f7;
    --text-light-low: rgba(247, 248, 247, 0.72);
    --text-light-dark: #e3e5e3;

    --button-color: #0e1216;
    --button-color-low: rgba(14, 18, 22, 0.5);
    --button-color-dark: #05070a;

    --line-color: rgba(14, 18, 22, 0.10);
    --line-color-light: rgba(255, 255, 255, 0.28);

    --smoothline-color: var(--bg-color);

    /* Shape system: containers 28/20/14, interactive = pill */
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-pill: 999px;

    /* Layout */
    --page-gutter: 12px;
    --pad-inline: clamp(20px, 3.4vw, 56px);

    /* Type */
    --font-main: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.5;
    background-color: var(--bg-color);
    color: var(--text-dark);
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

i {
    font-style: normal;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
    font-family: inherit;
    color: inherit;
}

button:focus,
button:active,
button:hover {
    outline: none;
}

ul,
li {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.08;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

::selection {
    background: var(--primary-color);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 2px;
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

section {
    display: flex;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
