@import url("./components/layout.css");

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

html {
    min-width: 320px;
    background: var(--oak-bg);
    color: var(--oak-text);
    font-family: var(--oak-font-sans);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--oak-bg);
    color: var(--oak-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
}

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

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

button {
    color: inherit;
}

a {
    color: var(--oak-accent);
    text-decoration: none;
}

a:hover {
    color: var(--oak-accent-hover);
}

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

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: var(--oak-space-3);
    font-size: clamp(1.65rem, 2.4vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: var(--oak-space-3);
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: -0.018em;
}

h3 {
    margin-bottom: var(--oak-space-2);
    font-size: 1rem;
}

p {
    color: var(--oak-text-soft);
}

hr {
    border: 0;
    border-top: 1px solid var(--oak-border);
    margin: var(--oak-space-6) 0;
}

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

:focus-visible {
    outline: 3px solid var(--oak-focus-ring);
    outline-offset: 2px;
}
