
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Roboto:wght@400;500;600;700&display=swap');


/* ========================================
   GLOBAL RESET
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    scroll-padding-top: calc(
        var(--navbar-height, 60px) + 24px
    );
}

body {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    min-height: 100dvh;

    margin: 0;

    font-family: var(--font-body);

    color: var(--neutral-900);
    background: var(--white);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

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

button {
    font: inherit;
    cursor: pointer;
}

img,
video {
    display: block;

    max-width: 100%;
}


/* ========================================
   PAGE LAYOUT
   ======================================== */

main {
    flex: 1;

    min-width: 0;
}


/* ========================================
   GLOBAL CONTAINER
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-width);

    margin-inline: auto;

    padding-inline: 32px;
}


/* ========================================
   EMPTY SUBPAGES
   ======================================== */

.page-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 50vh;

    padding:
        var(--space-12)
        var(--container-padding);

    text-align: center;
}

.page-placeholder h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-section-title);
    font-weight: var(--font-weight-bold);

    line-height: var(--line-height-heading);

    overflow-wrap: anywhere;

    color: var(--neutral-900);
}


/* ========================================
   ACCESSIBILITY — SKIP NAVIGATION
   ======================================== */

.skip-link {
    position: fixed;

    top: 8px;
    left: 8px;

    z-index: 2000;

    padding: 12px 20px;

    border-radius: var(--radius-sm);

    background: var(--primary-700);
    color: var(--white);

    font-weight: var(--font-weight-semibold);

    transform: translateY(calc(-100% - 16px));
}

.skip-link:focus {
    transform: translateY(0);

    outline: 2px solid var(--primary-900);
    outline-offset: 3px;
}


/* ========================================
   RESPONSIVE — MOBILE SUBPAGES
   ======================================== */

@media (max-width: 600px) {

    .page-placeholder {
        padding:
            var(--space-8)
            var(--space-4);
    }

    .page-placeholder h1 {
        font-size: var(--font-size-section-title-mobile);
    }

}


/* ========================================
   ACCESSIBILITY — REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

}
