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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--body-bg);
    color: var(--body-color);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-base);
    line-height: var(--line-height-base);
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

header,
main,
footer {
    display: block;
}

.site-header,
.site-footer {
    flex: none;
}

.site-main {
    flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: inherit;
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
}

h1 {
    font-size: var(--h1-size);
}

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

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

p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.8rem;
}

ol,
ul {
    padding-left: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

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

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

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    margin: 0;
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

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

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.fw-semibold {
    font-weight: var(--font-weight-semibold);
}

.text-label,
.eyebrow {
    display: block;
    margin-bottom: 0;
    color: var(--muted-color);
    font-size: var(--label-size);
    font-weight: var(--font-weight-light);
    text-transform: uppercase;
}

.lede {
    font-size: var(--lede-size);
    font-weight: var(--lede-weight);
}

.text-inverse {
    color: var(--surface-dark-color);
}

.surface-dark {
    background: var(--surface-dark-bg);
    color: var(--surface-dark-color);
}

.surface-dark p,
.surface-dark h1,
.surface-dark h2,
.surface-dark h3,
.surface-dark .text-label,
.surface-dark .eyebrow {
    color: inherit;
}

.radius-sm {
    border-radius: var(--radius-sm);
}

.radius-md {
    border-radius: var(--radius-md);
}

.radius-lg {
    border-radius: var(--radius-lg);
}

.surface-glass {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12.5px);
}
