/* Shared styles for every v2 page: tokens, header, nav, footer, layout helpers. */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #131F53;
    --teal: #1A9599;
    --teal-dim: #157678;
    --teal-dark: #13777a;
    --body: #4a5068;
    --muted: #5f6580;
    --rule: #d9dce6;
    --rule-light: #eef0f5;
    --strip: #eef5f5;
    --pill-text: #3d6b12;
    --pill-bg: #eef6e4;
    --green: #7EBD41;
    --paper: #FFFFFF;
    --mist: #F5F6F8;
    --slate: #5B6270;
    --graphite: #1F2937;
    --border-light: #E5E7EB;
    --serif: 'Source Serif Pro', Georgia, serif;
    --sans: 'Inter', Helvetica, sans-serif;
    --gradient: linear-gradient(90deg, #131F53 0%, #1A9599 55%, #7EBD41 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

section[id] {
    scroll-margin-top: 110px;
}

/* Header */
header {
    padding: 2rem 24px;
    border-bottom: 1px solid var(--border-light);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    text-decoration: none;
    color: var(--slate);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--navy);
}

.nav a[aria-current="page"] {
    color: var(--navy);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--slate);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

/* Layout */
.container,
.wide-container {
    max-width: calc(1040px + 48px);
    margin: 0 auto;
    padding: 0 24px;
}

/* Single reading column: About, Pario, Contact */
.column {
    max-width: calc(680px + 48px);
    margin: 0 auto;
    padding: 5rem 24px 0;
}

.column h1 {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 2.5rem;
}

.column h2 {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.column p,
.column li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--body);
}

.column p {
    margin-bottom: 1.5rem;
}

.column p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(19, 31, 83, 0.18);
}

.button-navy {
    background: var(--navy);
    color: var(--paper);
}

.button-white {
    background: var(--paper);
    color: var(--navy);
}

/* Footer */
footer {
    padding: 3rem 24px;
    text-align: center;
    color: var(--slate);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-light);
    margin-top: 8rem;
}

footer a {
    color: var(--navy);
    font-weight: 500;
}

footer p:last-child {
    font-size: 0.85rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }

    header {
        padding: 1.25rem 24px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--border-light);
        padding: 0.5rem 24px 1rem;
        z-index: 99;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }

    .column {
        padding: 3rem 24px 0;
    }

    .column h1 {
        font-size: 2rem;
        margin-bottom: 1.75rem;
    }

    .column h2 {
        font-size: 1.5rem;
    }

    footer {
        padding: 2rem 24px;
        margin-top: 5rem;
    }
}
