/* Explain: Base reset and global page styling with luxury theme. */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(184, 146, 74, 0.14), transparent 28rem),
        linear-gradient(180deg, #fbf6ec 0%, var(--background-color) 42%, #f2eadb 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

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

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

button,
summary {
    font-family: inherit;
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

p {
    line-height: 1.75;
}

.luxury-grain {
    position: relative;
}

.luxury-grain::before {
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}