:root {
    --bg: hsl(316, 61%, 97%);
    --surface: hsl(0, 0%, 100%);
    --tint: hsl(316, 61%, 92%);
    --main: hsl(316, 61%, 78%);
    --main-soft: hsl(316, 61%, 86%);
    --ink: hsl(316, 35%, 16%);
    --ink-soft: hsl(316, 18%, 32%);
    --deep: hsl(316, 45%, 22%);
    --accent: hsl(166, 61%, 80%);
    --accent-soft: hsl(166, 61%, 93%);
    --accent-deep: hsl(166, 61%, 24%);
    --line: hsl(316, 30%, 84%);
    --on-deep: hsl(316, 45%, 95%);
    --side: 290px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
}

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

a {
    color: var(--accent-deep);
    text-underline-offset: 3px;
}

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

h1,
h2,
h3 {
    font-family: "IBM Plex Sans", Arial, sans-serif;
    line-height: 1.2;
    color: var(--deep);
    margin: 0 0 0.6em;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.05rem);
}

h3 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 1em;
}

.tone {
    fill: var(--accent);
}

.tone-b {
    fill: var(--main);
}

.stroke {
    fill: none;
    stroke: var(--deep);
    stroke-width: 2.5;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--side);
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    color: var(--ink);
    background: var(--tint) url("pattern.svg");
    border-right: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--deep);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.brand svg {
    width: 58px;
    height: 58px;
    flex: none;
}

.side p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.side-call {
    margin-top: auto;
    display: block;
    padding: 1rem 1.1rem;
    color: var(--on-deep);
    background: var(--deep);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
}

.side-call small {
    display: block;
    color: var(--accent);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.side-call:hover {
    color: var(--deep);
    background: var(--main);
}

.side-call:hover small {
    color: var(--deep);
}

main,
.foot {
    margin-left: var(--side);
}

main > section {
    padding: 4.5rem clamp(1.25rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--line);
}

main > section > * {
    max-width: 940px;
}

.eyebrow {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--accent-deep);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.foot {
    padding: 3.5rem clamp(1.25rem, 5vw, 4.5rem) 2rem;
    color: var(--on-deep);
    background: var(--deep);
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 940px;
}

.foot h2 {
    margin-bottom: 0.9rem;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.foot address {
    margin-bottom: 1em;
    font-style: normal;
}

.foot p {
    margin-bottom: 0.5em;
}

.foot a {
    color: var(--main-soft);
}

.foot a:hover {
    color: var(--surface);
}

.foot ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.foot li {
    margin-bottom: 0.45rem;
}

.foot-base {
    max-width: 940px;
    margin: 2.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid hsl(316, 30%, 36%);
    color: hsl(316, 30%, 82%);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .side {
        position: static;
        width: auto;
        padding: 1.5rem 1.25rem;
        gap: 1rem;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .side-call {
        margin-top: 0;
    }

    main,
    .foot {
        margin-left: 0;
    }

    main > section {
        padding: 3rem 1.25rem;
    }

    .foot-cols {
        grid-template-columns: 1fr;
    }
}
