:root {
    --bg: #f6f1ea;
    --bg-soft: #fbf8f3;
    --surface: #ffffff;
    --surface-soft: #f8f3eb;
    --surface-accent: #f3e8d7;
    --border: #e4d8c8;
    --border-strong: #d5c3aa;
    --text: #213044;
    --text-muted: #617080;
    --text-soft: #7d8894;
    --accent: #b8894d;
    --accent-dark: #946c36;
    --accent-deep: #55402a;
    --accent-contrast: #fffaf0;
    --success-bg: #e6f5e7;
    --success-text: #287244;
    --danger: #a14436;
    --shadow-sm: 0 6px 14px rgba(41, 30, 15, 0.05);
    --shadow-md: 0 14px 32px rgba(41, 30, 15, 0.08);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --container: 1180px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body,
.site-shell,
.site-main,
.site-header,
.site-footer,
section,
div,
header,
main,
footer,
nav,
aside {
    min-width: 0;
}

a,
button,
input,
textarea,
select {
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

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

img,
svg,
canvas,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    min-width: 0;
}

.site-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 14px;
    min-width: 0;
}

@media (min-width: 640px) {
    .site-container {
        padding-inline: 18px;
    }
}

@media (min-width: 1024px) {
    .site-container {
        padding-inline: 20px;
    }
}