:root {
    --paper: hsl(24, 47%, 96%);
    --paper-2: hsl(24, 47%, 90%);
    --ink: hsl(24, 30%, 8%);
    --ink-soft: hsl(24, 18%, 30%);
    --base: hsl(24, 47%, 44%);
    --base-deep: hsl(24, 47%, 30%);
    --accent: hsl(354, 62%, 42%);
    --accent-deep: hsl(354, 62%, 34%);
    --accent-light: hsl(354, 70%, 74%);
    --ghost: hsla(24, 47%, 44%, 0.1);
    --white: #fff;
    --head: "Red Hat Display", "Segoe UI", Arial, sans-serif;
    --body: "Cabin", "Segoe UI", Arial, sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}

h1,
h2,
h3 {
    margin: 0 0 0.6em;
    font-family: var(--head);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 5.6vw, 3.6rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.55rem, 3.8vw, 2.35rem);
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

p,
ul,
ol,
dl {
    margin: 0 0 1em;
}

a {
    color: var(--accent);
    text-underline-offset: 0.18em;
}

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

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

figure {
    margin: 0;
}

address {
    font-style: normal;
}

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

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 50;
    padding: 0.6rem 1rem;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--head);
    font-weight: 700;
    text-decoration: none;
}

.skip:focus {
    top: 1rem;
    color: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
