/* About, Contact, Privacy, Terms and the not-found page. Builds on home-format.css for
   the navbar, tokens, buttons and footer. These are reading pages, so one narrow column
   with a comfortable line length; sections are split by hairlines like the rest of the
   site, never boxed. */

.in-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 32px 0;
    line-height: 1.65;
}

.in-page h1 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.in-lead {
    margin: 0;
    font-size: 17px;
    color: var(--ff-text-secondary);
}

.in-updated {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--ff-text-secondary);
}

.in-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--ff-line);
}

.in-section h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.in-section h3 {
    margin: 22px 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.in-section p,
.in-section ul {
    margin: 0 0 12px;
    font-size: 15px;
    color: var(--ff-text);
}

.in-section ul {
    padding-left: 20px;
}

.in-section li + li {
    margin-top: 6px;
}

.in-page a:not(.hm-btn) {
    color: var(--ff-text);
    text-decoration: underline;
    text-decoration-color: var(--ff-text-secondary);
    text-underline-offset: 3px;
}

.in-page a:not(.hm-btn):hover {
    text-decoration-color: var(--ff-text);
}

.in-page a:focus-visible {
    outline: 2px solid var(--ff-gold);
    outline-offset: 2px;
}

/* Key facts as one ruled row of label-over-value, the site's stat style */
.in-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    margin: 28px 0 0;
    border-top: 1px solid var(--ff-line);
}

.in-facts div {
    padding: 14px 16px 14px 0;
}

.in-facts dt {
    font-size: 13px;
    color: var(--ff-text-secondary);
}

.in-facts dd {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 600;
}

/* Not-found page: message, search, then ways back in */
.in-search {
    display: flex;
    gap: 8px;
    margin: 28px 0 0;
}

.in-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    font: inherit;
    font-size: 15px;
    color: var(--ff-text);
    background: var(--ff-track);
    border: 1px solid var(--ff-card-border);
    border-radius: 6px;
    color-scheme: dark;
}

.in-search input:focus-visible {
    outline: 2px solid var(--ff-gold);
    outline-offset: 2px;
}

.in-search .hm-btn {
    min-height: 44px;
}

.in-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

@media (max-width: 767px) {
    .in-page {
        padding: 32px 16px 0;
    }

    .in-page h1 {
        font-size: 28px;
    }

    .in-search {
        flex-direction: column;
    }
}
