/**
 * Guest-facing typography — base on body.layout-guest; content rules scoped to
 * .guest-content-wrapper so the fixed masthead (ul.navbar-nav) is not restyled.
 */

body.layout-guest {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
}

body.layout-guest .guest-content-wrapper h1,
body.layout-guest .guest-content-wrapper h2,
body.layout-guest .guest-content-wrapper h3,
body.layout-guest .guest-content-wrapper h4,
body.layout-guest .guest-content-wrapper h5,
body.layout-guest .guest-content-wrapper h6 {
    color: var(--vaanii-secondary, #1c4a63);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 0;
}

body.layout-guest .guest-content-wrapper h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.layout-guest .guest-content-wrapper .lead,
body.layout-guest .guest-content-wrapper .guest-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--vaanii-text-muted, rgba(20, 35, 46, 0.72));
}

body.layout-guest .guest-content-wrapper p {
    margin-bottom: 1rem;
    color: var(--vaanii-text, #14232e);
}

body.layout-guest .guest-content-wrapper p:last-child {
    margin-bottom: 0;
}

body.layout-guest .guest-content-wrapper a:not(.btn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.badge) {
    color: var(--vaanii-primary, #51b5eb);
    text-decoration-color: rgba(var(--vaanii-primary-rgb, 81, 181, 235), 0.45);
    text-underline-offset: 0.15em;
}

body.layout-guest .guest-content-wrapper a:not(.btn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.badge):hover {
    color: var(--vaanii-primary-dark, #2d8bc4);
}

body.layout-guest .guest-content-wrapper small,
body.layout-guest .guest-content-wrapper .text-muted {
    color: var(--vaanii-text-muted, rgba(20, 35, 46, 0.72)) !important;
}

body.layout-guest .guest-content-wrapper ul:not(.navbar-nav):not(.pagination):not(.nav):not(.list-unstyled),
body.layout-guest .guest-content-wrapper ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

body.layout-guest .guest-content-wrapper blockquote {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem 0.75rem 1.25rem;
    border-left: 4px solid var(--vaanii-primary-soft, #d9f0fb);
    background: rgba(var(--vaanii-primary-rgb, 81, 181, 235), 0.06);
    border-radius: 0 0.5rem 0.5rem 0;
    color: var(--vaanii-text-muted, rgba(20, 35, 46, 0.85));
}

body.layout-guest .guest-content-wrapper code {
    font-size: 0.925em;
    padding: 0.125rem 0.35rem;
    border-radius: 0.25rem;
    background: rgba(20, 35, 46, 0.06);
    color: var(--vaanii-secondary, #1c4a63);
}

body.layout-guest .guest-content-wrapper pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

/* Long-form marketing / legal copy inside the guest wrapper */
body.layout-guest .guest-content-wrapper .prose,
body.layout-guest .guest-content-wrapper article:not(.guest-blog-article-prose):not(.guest-blog-featured):not(.guest-blog-card) {
    max-width: 70ch;
}

body.layout-guest .guest-content-wrapper .prose-wide {
    max-width: 80ch;
}
