* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #fff;
    color: #000;
    font-size: 14.5px;
    line-height: 1.6;
    caret-color: transparent;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover { text-decoration: underline; }

.page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem;
}

.nav-row {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    margin-bottom: 5rem;
    font-size: 13px;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-link {
    border: 0;
    padding: 0;
    background: none;
    color: #000;
    cursor: pointer;
    font: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    min-width: 300px;
    border: 1px solid rgba(0,0,0,0.15);
    padding: 0.3rem 0;
    background: #fff;
}

.dropdown-content a {
    display: block;
    padding: 0.35rem 1rem;
    font-size: 12px;
    line-height: 1.3;
}

.dropdown-content a:hover {
    background: #f4f4f4;
    text-decoration: none;
}

.dropdown-container:hover .dropdown-content,
.dropdown-container:focus-within .dropdown-content {
    display: grid;
}

.dropdown-container:hover .dropdown-link,
.dropdown-container:focus-within .dropdown-link {
    text-decoration: underline;
}

header.hub-header {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.hub-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.hub-title-row h1 {
    margin-bottom: 0;
}

.hub-dropdown {
    flex: 0 0 auto;
    font-size: 13px;
}

.hub-meta {
    color: rgba(0,0,0,0.45);
    font-size: 12.5px;
}

.hub-name {
    color: inherit;
}

h1 {
    margin-bottom: 0.75rem;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.hub-sub {
    max-width: 56ch;
    color: rgba(0,0,0,0.6);
}

section {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    border-top: 1px solid rgba(0,0,0,0.15);
    padding: 2.25rem 0 3rem;
}

section:first-of-type { border-top-color: #000; }

h2 {
    font-size: 13.5px;
    font-weight: 500;
}

h2 .count {
    display: block;
    margin-top: 0.2rem;
    color: rgba(0,0,0,0.35);
    font-size: 11px;
    font-weight: 400;
}

.rows { max-width: 760px; }

.rows a {
    display: grid;
    grid-template-columns: 5.5em 200px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: baseline;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 0.8rem 0.25rem;
}

.rows a:first-child {
    border-top: 0;
    padding-top: 0;
}

.rows a:hover,
.rows a:focus-visible {
    background: rgba(0,0,0,0.02);
    text-decoration: none;
    outline: none;
}

.rows a:hover .row-title,
.rows a:focus-visible .row-title {
    text-decoration: underline;
}

.row-num {
    color: rgba(0,0,0,0.35);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.row-title { font-weight: 500; }

.row-desc {
    color: rgba(0,0,0,0.5);
    font-size: 13px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem 2rem;
    color: rgba(0,0,0,0.5);
    font-size: 12.5px;
}

footer a { color: rgba(0,0,0,0.5); }
.footer-copy { margin-left: auto; }

@media (max-width: 860px) {
    header.hub-header,
    section {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .rows a { grid-template-columns: 5em minmax(0, 1fr); }
    .row-desc { grid-column: 2; }
}

@media (max-width: 520px) {
    .page { padding-right: 1.5rem; padding-left: 1.5rem; }
    footer { padding-right: 1.5rem; padding-left: 1.5rem; }

    .dropdown-content {
        grid-template-columns: 1fr;
        min-width: min(280px, calc(100vw - 3rem));
    }
}
