:root {
    --sg-bg: #f4f3f0;
    --sg-bg-soft: #eae9e5;
    --sg-surface: #ffffff;
    --sg-surface-dark: #292d2e;
    --sg-metal: #727a7c;
    --sg-metal-light: #b8bdbc;
    --sg-text: #202526;
    --sg-text-soft: #62696a;
    --sg-line: rgba(32, 37, 38, .12);
    --sg-line-light: rgba(255, 255, 255, .14);
    --sg-accent: #526a61;
    --sg-accent-dark: #40564e;
    --sg-accent-soft: #dde4df;
    --sg-warm: #c3a982;
    --sg-container: 1320px;
    --sg-radius-xs: 2px;
    --sg-radius-sm: 6px;
    --sg-radius-md: 10px;
    --sg-shadow: 0 8px 24px rgba(34, 41, 40, .04);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: var(--sg-bg);
    color: var(--sg-text);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

body.sg-menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

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

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

button {
    color: inherit;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--sg-accent);
    color: #fff;
}

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