:root {
    color-scheme: light;
    --page: #2d201d;
    --paper: #ffffff;
    --ink: #080808;
    --muted: #5d6470;
    --line: #e6e0dc;
    --accent: #ed001f;
    --accent-dark: #8b0615;
    --soft: #f7f4f2;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--page);
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    width: min(100%, 480px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 20px 16px 28px;
}

.site-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 28px;
    background: var(--paper);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--ink);
    font-size: 18px;
    font-weight: 900;
}

.menu-button {
    display: inline-grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 28px;
    height: 3px;
    background: #303030;
}

.quick-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    z-index: 10;
    display: none;
    width: min(290px, calc(100vw - 48px));
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.quick-menu.is-open {
    display: grid;
}

.quick-menu a {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 800;
}

.quick-menu a:last-child {
    border-bottom: 0;
}

main {
    display: grid;
    gap: 26px;
}

.link-card {
    margin: 10px 26px 0;
    padding: 24px 26px 28px;
    border: 2px dashed var(--accent);
    border-radius: 6px;
    background: var(--paper);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

h1 {
    margin: 0 0 24px;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 900;
    word-break: keep-all;
}

.button-stack {
    display: grid;
    gap: 10px;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 4px solid var(--accent-dark);
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}

.cta:focus-visible,
.quick-menu a:focus-visible,
.menu-button:focus-visible,
.brand:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
}

.content-panel {
    padding: 26px 26px 30px;
    background: var(--paper);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.tag-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #d6d1ce;
    background: var(--soft);
    color: #34383d;
    font-size: 13px;
    font-weight: 800;
}

.copy-block + .copy-block {
    margin-top: 28px;
}

h2 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 900;
    word-break: keep-all;
}

p {
    margin: 0;
}

.copy-block p {
    color: var(--muted);
    font-size: 17px;
    font-weight: 500;
    word-break: keep-all;
}

.site-footer {
    padding: 20px 8px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 380px) {
    .site-shell {
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-header {
        padding: 0 18px;
    }

    .link-card {
        margin-right: 20px;
        margin-left: 20px;
        padding: 22px 18px 26px;
    }

    .content-panel {
        padding-right: 24px;
        padding-left: 24px;
    }

    .cta {
        font-size: 15px;
    }

    h1 {
        font-size: 28px;
    }
}

@media (min-width: 760px) {
    .site-shell {
        padding-top: 34px;
    }
}
