/* Explain: Base reset and typography defaults. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    margin: 0;
}

[x-cloak] {
    display: none !important;
}

::selection {
    background: var(--accent-soft);
    color: var(--text-color);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-color);
}

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

button {
    font-family: inherit;
}

.container-x {
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--accent-color);
}

.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;
}

.fgc-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translate(-50%, 180%);
    background: var(--primary-color);
    color: #FBF8F3;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    z-index: 200;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: transform 0.35s ease;
    max-width: min(90vw, 26rem);
    text-align: center;
}

.fgc-toast.is-visible {
    transform: translate(-50%, 0);
}