:root {
    --paper: #fff;
    --ink: #000;
    --page-gutter: 2.5rem;
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: "Ubuntu Mono", monospace !important;
    letter-spacing: 0;
}

.fa,
.fas,
.far,
.fa::before,
.fas::before,
.far::before {
    font-family: "Font Awesome 5 Free" !important;
}

.fab,
.fab::before {
    font-family: "Font Awesome 5 Brands" !important;
}

.far,
.far::before {
    font-weight: 400 !important;
}

.fa,
.fas,
.fa::before,
.fas::before {
    font-weight: 900 !important;
}

.fab,
.fab::before {
    font-weight: 400 !important;
}

html {
    background: var(--paper);
    color: var(--ink);
    font-size: 18px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: break-word;
}

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

.page {
    width: calc(100% - (var(--page-gutter) * 2));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.notepad {
    width: 100%;
}

.masthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 1rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--ink);
}

.site-logo {
    display: inline-block;
    width: min(100%, 18rem);
    margin-bottom: 1.5rem;
}

.site-logo:hover,
.site-logo:focus,
.license-mark:hover,
.license-mark:focus,
.feed-icon:hover,
.feed-icon:focus {
    background: transparent;
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.main-column {
    min-width: 0;
}

.feed-column {
    min-width: 0;
}

p,
ul,
ol,
table {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1;
}

h1 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.main-column h1:first-child,
.feed-column h1:first-child {
    margin-top: 0;
}

h2 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
}

p,
ul,
ol {
    margin-bottom: 1rem;
}

ul,
ol {
    padding-left: 1.35rem;
}

li + li {
    margin-top: 0.35rem;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover,
a:focus {
    background: var(--ink);
    color: var(--paper);
    outline: 0;
    text-decoration: none;
}

i {
    width: 1.15em;
    text-align: center;
}

img {
    max-width: 100%;
}

b,
strong,
th {
    font-weight: 700;
}

abbr[title] {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--ink);
    text-align: left;
    vertical-align: top;
}

thead th {
    background: var(--ink);
    color: var(--paper);
}

.adopters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 12rem));
    gap: 1.5rem 2rem;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
}

.adopters-entry {
    display: grid;
    place-items: center;
    min-height: 4rem;
}

.adopters-entry:hover,
.adopters-entry:focus {
    background: transparent;
}

.adopters-entry img {
    display: block;
    max-height: 3.5rem;
    object-fit: contain;
    filter: grayscale(1) contrast(0.9);
    opacity: 0.78;
    transition: filter 120ms ease, opacity 120ms ease;
}

.adopters-entry:hover img,
.adopters-entry:focus img {
    filter: none;
    opacity: 1;
}

.feed-block {
    max-width: none;
    margin-bottom: 3rem;
}

.feed-block a {
    text-decoration: none;
}

.feed-list {
    list-style: none;
    padding-left: 0;
}

.feed-list li {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    max-width: none;
    margin: 0;
    padding: 0.7rem 0;
}

.feed-meta {
    display: block;
    margin-top: 0.15rem;
    text-transform: uppercase;
}

.feed-icon {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--ink);
    overflow: hidden;
}

.feed-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(0.95);
    opacity: 0.82;
    transition: filter 120ms ease, opacity 120ms ease;
}

.feed-copy {
    min-width: 0;
}

.feed-icon:hover img,
.feed-icon:focus img {
    filter: none;
    opacity: 1;
}

footer {
    width: calc(100% - (var(--page-gutter) * 2));
    margin: 0 auto;
    padding: 1rem 0 2rem;
    border-top: 2px solid var(--ink);
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: center;
}

footer p {
    margin: 0.1rem;
    display: inline-block;
    white-space: nowrap;
}

footer p:last-child {
    margin-bottom: 0;
}

footer span {
    white-space: nowrap;
}

.license-mark {
    display: inline-block;
    margin-top: 0.5rem;
}

.license-mark img {
    display: block;
    width: 88px;
    height: 31px;
    filter: grayscale(1) contrast(1.1);
}

@media (min-width: 1440px) {
    .content-grid {
        gap: 4rem;
    }
}

@media (max-width: 900px) {
    :root {
        --page-gutter: 1rem;
    }

    html {
        font-size: 16px;
    }

    .page {
        padding-top: 1rem;
    }

    .masthead {
        display: block;
        padding: 1rem 0 1.25rem;
    }

    .feed-block {
        margin-top: 2rem;
        margin-bottom: 0rem;
    }

    .site-logo {
        width: 12rem;
        margin-bottom: 1.25rem;
    }

    .content-grid {
        display: block;
    }

    h1 {
        font-size: 1.5rem;
    }

    .adopters-container {
        grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    }
}
