:root {
    color-scheme: light;
    --paper: #fff;
    --ink: #222322;
    --body: #555752;
    --subtle: #747771;
    --line: #e6e7e3;
    --accent: #526d5b;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

body { isolation: isolate; }

.page {
    position: relative;
    z-index: 1;
    width: min(100% - 64px, 680px);
    margin-inline: auto;
    padding-block: 64px 32px;
}

a { color: inherit; }

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
    border-radius: 2px;
}

.brand {
    display: inline-block;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
}

main { padding-block: 64px 64px; }

h1 {
    margin: 0 0 36px;
    font-size: clamp(36px, 5.2vw, 48px);
    font-weight: 500;
    letter-spacing: -1.9px;
    line-height: 1.14;
}

.description {
    max-width: 590px;
    color: var(--body);
    font-size: 18px;
    line-height: 1.7;
}

p { margin: 0 0 22px; }

.description a {
    color: var(--ink);
    text-decoration-color: #b4b9b1;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.description p:last-child { margin-bottom: 0; }

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    color: var(--subtle);
    font-size: 13px;
    line-height: 1.6;
}

footer a { text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 16px 22px; }
a:hover { color: var(--accent); }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

::selection { background: #e2ebe1; color: var(--ink); }

@media (max-width: 520px) {
    .page { width: calc(100% - 48px); padding-top: 36px; }
    .brand img { width: 180px; }
    main { padding-block: 48px 56px; }
    h1 { font-size: clamp(31px, 8vw, 40px); letter-spacing: -1.3px; margin-bottom: 28px; }
    .description { font-size: 17px; }
    footer { align-items: flex-start; flex-direction: column; gap: 16px; }
}
