/* Brand shell — shared font-face + page-surface + embedded brand footer.
   Loaded by branded pages (auth flow, terms, anything that should read as
   the Outloud brand surface). Auth-form chrome lives in pages/login/index.css. */

/* PT Mono — load locally (Google Fonts CDN subset drops the slashed-zero glyph) */
@font-face {
    font-family: "PT Mono";
    font-weight: 400;
    font-style: normal;
    src: url("/fonts/PTMono-Regular.ttf") format("truetype");
}

/* Avenir webfont (sitewide styles.css doesn't ship Avenir, so we declare it
   locally so non-Mac browsers render Avenir on branded surfaces) */
@font-face {
    font-family: "Avenir";
    font-weight: 300;
    font-style: normal;
    src: url("/fonts/Avenir Book.ttf") format("truetype");
}
@font-face {
    font-family: "Avenir";
    font-weight: 400;
    font-style: normal;
    src: url("/fonts/Avenir-Roman.otf") format("opentype");
}
@font-face {
    font-family: "Avenir";
    font-weight: 700;
    font-style: normal;
    src: url("/fonts/AvenirLTStd-Heavy.otf") format("opentype");
}
@font-face {
    font-family: "Avenir";
    font-weight: 800;
    font-style: normal;
    src: url("/fonts/AvenirLTStd-Heavy.otf") format("opentype");
}

/* Brand-surface page background — matches the interior card color so the surface reads as one tone (Sam, 2026-05-27) */
html, body {
    margin: 0;
    padding: 0;
    background-color: #282828;
}

/* Embedded brand footer (replaces the legacy views/footer.html on branded surfaces) */
.brand-footer {
    width: 90%;
    margin: 0 auto;
    padding: 16px 0px;
    box-sizing: border-box;
    border-top: 1px solid var(--icy-blue);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-family: 'PT Mono', 'Courier New', monospace;
    font-feature-settings: 'zero' 1;
    color: var(--light-cool-gray);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.brand-footer-left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 48px;
    align-items: flex-start;
    font-family: 'PT Mono', 'Courier New', monospace !important;
    font-feature-settings: 'zero' 1;
}

.brand-footer-col {
    display: flex;
    flex-direction: column;
    font-family: 'PT Mono', 'Courier New', monospace !important;
    font-feature-settings: 'zero' 1;
}

.brand-footer-left p {
    margin: 0;
    color: var(--light-cool-gray);
    font-family: 'PT Mono', 'Courier New', monospace !important;
    font-feature-settings: 'zero' 1;
}

.brand-footer-left a {
    font-family: 'PT Mono', 'Courier New', monospace !important;
}

.brand-footer-legal a {
    color: var(--light-cool-gray);
    text-decoration: none;
}

.brand-footer-legal a:hover {
    color: var(--icy-blue);
}

.brand-footer-right {
    display: flex;
    gap: 14px;
    align-items: center;
}

.brand-footer-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-footer-icon {
    width: 29px;
    height: 29px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.brand-footer-right a:hover .brand-footer-icon {
    opacity: 1;
}

@media (max-width: 640px) {
    .brand-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 20px 0 20px;
        margin-top: 40px;
    }
}
