@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300..700&family=Newsreader:opsz,wght@6..72,390&display=swap");

:root {
    --color-background: #fbfaf9;
    --color-heading: #1c1c1a;
    --color-text: #58534d;
    --content-width: 530px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: "Geist", system-ui, sans-serif;
    font-size: 18px;
    font-weight: 350;
    line-height: 1.6;
}

body > header,
body > main {
    width: min(var(--content-width), calc(100% - 32px));
    margin: 0 auto;
}

body > header {
    padding: 32px 0 48px;
}

body > main {
    padding-bottom: 64px;
}

h1,
h2,
h3 {
    color: var(--color-heading);
    font-family: "Newsreader", Georgia, serif;
    font-weight: 390;
    line-height: 1.1;
}

h1 {
    font-size: 41px;
    margin: 0 0 24px;
}

h2 {
    font-size: 28px;
    margin: 48px 0 16px;
}

p,
ul {
    margin: 0 0 20px;
}

ul {
    padding-left: 20px;
}

a {
    color: var(--color-heading);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

header a {
    font-weight: 500;
    text-decoration: none;
}

time {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}
