@import url("fonts-tmMXDc7.css");
@import url("reset/reset-S_J5ii1.css");
@import url("include/nav-KUVrFYa.css");
@import url("pages/home/hero-section-G146yZA.css");
@import url("pages/home/about-section-4nL0oah.css");
@import url("pages/home/books-section-g25kWns.css");
@import url("pages/home/experience-section-QIk9YSR.css");
@import url("pages/security/login-bLSM1tj.css");
@import url("pages/legal/legal-pages-gFQ6OO9.css");
@import url("pages/error/error-pages-HXQapHV.css");
@import url("include/footer-SABDdVj.css");

:root {
    /* Layout */
    --header-offset: 70px;
    --container-max-width: 1200px;
    --folder-radius: 26px;
    --folder-border: rgba(31, 27, 24, 0.13);
    --folder-shadow: rgba(31, 27, 24, 0.08);
    --section-padding-y: 3.5rem;
    --section-padding-x: 1.5rem;
    --grid-gap-xl: 4rem;
    --grid-gap-lg: 3rem;
    --grid-gap-md: 2rem;
    --grid-gap-sm: 1.5rem;

    /* Colors */
    --color-bg: #f8f4ee;
    --color-bg-alt: #f3ede5;
    --color-surface: rgba(255, 255, 255, 0.55);
    --color-surface-strong: rgba(255, 255, 255, 0.85);

    --color-title: #1f1b18;
    --color-text-strong: #5b524b;
    --color-text: #6b625b;
    --color-text-soft: #766d66;

    --color-primary: #3f6e6d;
    --color-primary-hover: #355d5c;

    /* Section color system */
    --section-home-bg: #f8f4ee;
    --section-home-paper: #fff9f2;
    --section-home-accent: #d95c4f;

    --section-mosaic-bg: #eef4fb;
    --section-mosaic-paper: #e3effb;
    --section-mosaic-accent: #3478c5;

    --section-books-bg: #eef6f0;
    --section-books-paper: #e2f0e7;
    --section-books-accent: #3f7f5b;

    --section-reveal-bg: #fff3df;
    --section-reveal-paper: #fce9c7;
    --section-reveal-accent: #b86d12;

    --folder-bg: #ffffff;

    --color-white: #ffffff;

    --color-border-soft: rgba(46, 42, 39, 0.14);
    --color-border-soft-hover: rgba(46, 42, 39, 0.25);
    --color-border-light: rgba(46, 42, 39, 0.08);

    /* Shadows */
    --shadow-button: 0 10px 24px rgba(63, 110, 109, 0.22);
    --shadow-button-hover: 0 14px 28px rgba(63, 110, 109, 0.28);
    --shadow-card: 0 24px 60px rgba(31, 27, 24, 0.12);

    /* Radius */
    --radius-md: 1.35rem;
    --radius-lg: 2rem;
    --radius-pill: 999px;

    /* Typography */
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;
    --font-size-body: 1rem;
    --font-size-body-lg: 1.125rem;
    --font-size-label: 0.875rem;
    --line-height-body: 1.75;
    --line-height-body-tight: 1.6;
    --line-height-heading: 1.1;

    /* Motion */
    --transition-base: 0.25s ease;
}

/* Base */
html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--folder-bg);
    font-family: var(--font-body);
}

/* Keyboard accessibility */
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;

    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);

    color: var(--color-white);
    background: var(--color-title);
    font-weight: 700;
    text-decoration: none;

    transform: translateY(calc(-100% - 1rem));
    transition: transform var(--transition-base);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [tabindex]:not([tabindex="-1"])
):focus-visible {
    outline: 3px solid var(--color-title);
    outline-offset: 3px;
    box-shadow: 0 0 0 2px var(--color-white);
}

#main-content:focus {
    outline: none;
}

/* Media defaults */
img,
picture,
svg,
canvas {
    display: block;
    max-width: 100%;
}

/* Links */
a {
    color: inherit;
}

/* Layout helpers */
.container {
    width: min(var(--container-max-width), 100%);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding-y) var(--section-padding-x);
}

.section--first {
    padding-top: 0;
}

.section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--grid-gap-xl);
    align-items: center;
}

.section__grid--visual-heavy {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.section__content,
.section__visual {
    min-width: 0;
}

/* Typography */
.section-label {
    margin: 0 0 1rem;
    font-size: var(--font-size-label);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-strong);
}

.section-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: var(--line-height-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-title);
}

.section-lead {
    margin: 1.25rem 0 0;
    /* max-width: 36rem; */
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.4;
    font-weight: 600;
    color: var(--color-text-strong);
}

.editorial-phrase {
    margin-inline: auto;

    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.075rem);
    font-weight: 600;
    line-height: 1.6;

    color: var(--color-text-strong);
    text-align: center;
    text-wrap: balance;
}

/* .section-text {
    margin: 1rem 0 0;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
} */

.section-note {
    margin: 1.25rem 0 0;
    /* max-width: 34rem; */
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-text-soft);
}

/* Buttons */
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-pill);
    overflow: hidden;
    isolation: isolate;
    font-size: 0.98rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    color: inherit;
    transform: translateZ(0);
}

.button--primary {
    box-shadow: 0 12px 28px rgba(31, 27, 24, 0.18);
}

.button--secondary {
    color: #1f1b18;
    background-color: rgba(255, 248, 239, 0.7);
    border-color: rgba(31, 27, 24, 0.16);
    backdrop-filter: blur(8px);
}

.button:focus-visible {
    outline: 3px solid var(--color-title);
    outline-offset: 3px;
}

/* Shared surfaces */
.surface-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

/* Lists */
.feature-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.feature-list__item {
    position: relative;
    padding-left: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.feature-list__item::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 991px) {
    :root {
        --section-padding-y: 3.0rem;
    }

    .section {
        padding-inline: 1.5rem;
    }

    .section__grid,
    .section__grid--visual-heavy {
        grid-template-columns: 1fr;
        gap: var(--grid-gap-lg);
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.75rem);
    }
}

@media (max-width: 767px) {
    :root {
        --header-offset: 55px;
        --folder-radius: 18px;
        --section-padding-y: 2.5rem;
        --section-padding-x: 1rem;
    }

    .section {
        padding-inline: var(--section-padding-x);
    }

    .section-label {
        margin-bottom: 0.85rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .section-lead {
        margin-top: 1rem;
        font-size: 1.05rem;
    }

    .section-text,
    .feature-list__item {
        font-size: 0.98rem;
        line-height: 1.65;
    }
}
