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

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

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

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

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-orange);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p + p {
    margin-top: 1rem;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* Sections */
.section {
    padding: var(--section-py) 0;
}

.section--alt {
    background-color: var(--bg-secondary);
}

.section--with-nav-offset {
    padding-top: calc(var(--section-py) + 5rem);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header__label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin-bottom: 0.75rem;
}

.section-header__title {
    margin-bottom: 1rem;
}

.section-header__subtitle {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

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

/* Error Page */
.error-page {
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-page__title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.error-page__text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.error-page__request-id {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.error-page__action {
    display: inline-block;
}
