/* Page width, skip link, topline and site navigation.
 * Source: reference/website/style.css. Keep the documented module order.
 */

.wrap {
    width: min(1180px,calc(100% - 80px));
    margin-inline: auto;
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 99;
    background: var(--ink);
    color: white;
    padding: 14px;
}

.skip:focus {
    top: 10px;
}

.topline {
    background: var(--sage);
    font-size: 12px;
    letter-spacing: .01em;
    padding: 9px 0;
}

.topline .wrap {
    display: flex;
    justify-content: space-between;
}

.topline span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topline svg {
    width: 14px;
    height: 14px;
}

.site-header {
    height: 94px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.wordmark {
    font-family: Manrope,Arial,sans-serif;
    font-weight: 800;
    font-size: 25px;
    line-height: 1;
    letter-spacing: -1.3px;
}

.wordmark span {
    display: block;
}

.wordmark.auto-word {
    font-size: 28px;
    letter-spacing: -1.4px;
}

.wordmark.auto-word span {
    display: inline;
    color: #6f8054;
}

.brand small {
    display: block;
    letter-spacing: 1.7px;
    font-size: 8px;
    line-height: 1.4;
    margin-top: 7px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 29px;
    font-size: 13px;
    font-weight: 600;
    margin-left: auto;
}

.main-nav a {
    text-decoration: none;
}

.main-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}
