@charset "UTF-8";

/* ============================================================
   SHARED INFORMATION-PAGE FOUNDATION
   ============================================================ */

:root {
    --info-font:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    --info-brand: #e74c3c;
    --info-brand-dark: #c93e31;
    --info-brand-soft: #fdecea;

    --info-ink: #263746;
    --info-text: #4e5f6f;
    --info-muted: #71808e;
    --info-line: #e7e9ec;
    --info-soft: #f7f8f9;
    --info-white: #ffffff;
    --info-dark: #263746;

    --info-header-height: 72px;
    --info-progress-height: 3px;
    --info-shell-width: 1180px;

    /*
     * information-pages.js may update this value when the actual
     * rendered header height changes.
     */
    --info-progress-top: var(--info-header-height);
}

html {
    scroll-behavior: smooth;
}

body.info-shell-body {
    margin: 0;
    padding: 0;
    color: var(--info-ink);
    background: var(--info-white);
    font-family: var(--info-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.info-shell-body,
body.info-shell-body *,
body.info-shell-body *::before,
body.info-shell-body *::after {
    box-sizing: border-box;
}

body.info-shell-body img {
    max-width: 100%;
    height: auto;
}

body.info-shell-body button,
body.info-shell-body input,
body.info-shell-body select,
body.info-shell-body textarea {
    font: inherit;
}

body.info-shell-body button {
    cursor: pointer;
}

body.info-shell-body a:focus-visible,
body.info-shell-body button:focus-visible,
body.info-shell-body input:focus-visible,
body.info-shell-body select:focus-visible,
body.info-shell-body textarea:focus-visible,
body.info-shell-body summary:focus-visible {
    outline: 3px solid rgba(231, 76, 60, 0.28);
    outline-offset: 4px;
}

/* Text intended only for screen readers. */

.info-shell-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

/* Skip navigation link. */

.info-shell-skip-link {
    position: fixed;
    z-index: 10050;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: #ffffff;
    background: var(--info-dark);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 0.18s ease;
}

.info-shell-skip-link:focus {
    color: #ffffff;
    transform: translateY(0);
}

/* ============================================================
   MASTER-PAGE SHELL
   ============================================================ */

.info-shell {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--info-white);
}

.info-shell-width {
    width: min(
        var(--info-shell-width),
        calc(100% - 40px)
    );
    margin-right: auto;
    margin-left: auto;
}

/*
 * The MainContent placeholder is rendered inside this element.
 * Do not add typography, padding, or background here because
 * each individual page owns those choices.
 */

.info-shell-main {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ============================================================
   SHARED HEADER
   ============================================================ */

.info-shell-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    min-height: var(--info-header-height);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--info-line);
    box-shadow: 0 4px 16px rgba(38, 55, 70, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.info-shell-header-inner {
    display: flex;
    align-items: center;
    width: min(
        var(--info-shell-width),
        calc(100% - 40px)
    );
    min-height: var(--info-header-height);
    margin-right: auto;
    margin-left: auto;
    gap: 28px;
}

/* Brand */

.info-shell-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: var(--info-ink);
    font-family: var(--info-font);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.8px;
    text-decoration: none;
    white-space: nowrap;
}

.info-shell-brand:hover,
.info-shell-brand:focus {
    color: var(--info-ink);
    text-decoration: none;
}

.info-shell-brand img {
    display: block;
    width: auto;
    max-width: 150px;
    height: auto;
    max-height: 44px;
}

.info-shell-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--info-brand);
    background: var(--info-brand-soft);
    border: 1px solid #f6cfc9;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
}

.info-shell-brand-name {
    color: var(--info-ink);
}

.info-shell-brand-name strong,
.info-shell-brand-accent {
    color: var(--info-brand);
}

/* Desktop navigation */

.info-shell-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.info-shell-nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-shell-nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.info-shell-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    color: #435463;
    font-family: var(--info-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.18s ease;
}

.info-shell-nav-link:hover,
.info-shell-nav-link:focus,
.info-shell-nav-link[aria-current="page"] {
    color: var(--info-brand);
    text-decoration: none;
}

/* Optional dropdown navigation */

.info-shell-nav-dropdown {
    position: absolute;
    z-index: 1010;
    top: calc(100% + 8px);
    left: 50%;
    display: none;
    width: 250px;
    margin: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--info-line);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(38, 55, 70, 0.14);
    list-style: none;
    transform: translateX(-50%);
}

.info-shell-nav-item:hover > .info-shell-nav-dropdown,
.info-shell-nav-item:focus-within > .info-shell-nav-dropdown {
    display: block;
}

.info-shell-nav-dropdown a {
    display: block;
    padding: 10px 12px;
    color: #435463;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.info-shell-nav-dropdown a:hover,
.info-shell-nav-dropdown a:focus {
    color: var(--info-brand);
    background: var(--info-brand-soft);
    text-decoration: none;
}

/* Header actions */

.info-shell-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.info-shell-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 17px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: var(--info-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.info-shell-action:hover,
.info-shell-action:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.info-shell-action-signup {
    color: #ffffff;
    background: var(--info-brand);
    border-color: var(--info-brand);
}

.info-shell-action-signup:hover,
.info-shell-action-signup:focus {
    color: #ffffff;
    background: var(--info-brand-dark);
    border-color: var(--info-brand-dark);
}

.info-shell-action-login {
    color: var(--info-ink);
    background: #ffffff;
    border-color: #cfd5da;
}

.info-shell-action-login:hover,
.info-shell-action-login:focus {
    color: var(--info-ink);
    background: var(--info-soft);
    border-color: #aeb8c0;
}

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

.info-shell-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    color: var(--info-ink);
    background: #ffffff;
    border: 1px solid var(--info-line);
    border-radius: 6px;
}

.info-shell-menu-toggle-lines,
.info-shell-menu-toggle-lines::before,
.info-shell-menu-toggle-lines::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.info-shell-menu-toggle-lines {
    position: relative;
}

.info-shell-menu-toggle-lines::before,
.info-shell-menu-toggle-lines::after {
    position: absolute;
    left: 0;
    content: "";
}

.info-shell-menu-toggle-lines::before {
    top: -6px;
}

.info-shell-menu-toggle-lines::after {
    top: 6px;
}

.info-shell-menu-toggle[aria-expanded="true"]
    .info-shell-menu-toggle-lines {
    background: transparent;
}

.info-shell-menu-toggle[aria-expanded="true"]
    .info-shell-menu-toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
}

.info-shell-menu-toggle[aria-expanded="true"]
    .info-shell-menu-toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */

/*
 * Preferred structure:
 *
 * <div class="info-shell-progress" aria-hidden="true">
 *     <div id="infoPageProgressBar"
 *          class="info-shell-progress-bar"></div>
 * </div>
 *
 * information-pages.js updates the custom property
 * --info-progress-top and the width of the inner bar.
 */

.info-shell-progress,
.ip-progress {
    position: fixed;
    z-index: 999;
    top: var(--info-progress-top);
    left: 0;
    width: 100%;
    height: var(--info-progress-height);
    overflow: hidden;
    background: rgba(231, 76, 60, 0.10);
    pointer-events: none;
}

/*
 * The master uses a single progress element. The shared script updates its
 * top offset and width, so this selector supplies the visible bar treatment
 * without requiring page-specific CSS.
 */

.ip-progress {
    width: 0;
    background: linear-gradient(
        90deg,
        var(--info-brand),
        #f06a5d
    );
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.40);
    transform-origin: left center;
    transition: width 0.08s linear;
}

.info-shell-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--info-brand),
        #f06a5d
    );
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.40);
    transform-origin: left center;
    transition: width 0.08s linear;
}

/*
 * If the progress element is placed inside the header, it can use
 * this modifier and will stay attached to the header without a
 * calculated fixed top position.
 */

.info-shell-progress-in-header {
    position: absolute;
    top: auto;
    right: 0;
    bottom: calc(var(--info-progress-height) * -1);
    left: 0;
    z-index: 2;
}

/* ============================================================
   SHARED FOOTER
   ============================================================ */

.info-shell-footer {
    width: 100%;
    padding: 48px 0 26px;
    color: #d9e0e5;
    background: var(--info-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-shell-footer-inner {
    width: min(
        var(--info-shell-width),
        calc(100% - 40px)
    );
    margin-right: auto;
    margin-left: auto;
}

.info-shell-footer-top {
    display: grid;
    grid-template-columns: minmax(230px, 1.4fr) repeat(3, 1fr);
    gap: 38px;
}

.info-shell-footer-brand {
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.info-shell-footer-summary {
    max-width: 330px;
    margin: 12px 0 0;
    color: #b9c3cb;
    font-size: 14px;
    line-height: 1.65;
}

.info-shell-footer-heading {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.info-shell-footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-shell-footer-links li {
    margin: 0;
    padding: 0;
}

.info-shell-footer-links a {
    color: #c2cbd2;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.18s ease;
}

.info-shell-footer-links a:hover,
.info-shell-footer-links a:focus {
    color: #ffffff;
    text-decoration: none;
}

.info-shell-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 22px;
    color: #aeb9c1;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 12px;
}

.info-shell-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.info-shell-footer-legal a {
    color: #bec7ce;
    text-decoration: none;
}

.info-shell-footer-legal a:hover,
.info-shell-footer-legal a:focus {
    color: #ffffff;
    text-decoration: none;
}

/* ============================================================
   RESPONSIVE SHARED SHELL
   ============================================================ */

@media (max-width: 1050px) {
    .info-shell-header-inner {
        gap: 18px;
    }

    .info-shell-nav-list {
        gap: 18px;
    }

    .info-shell-nav-link {
        font-size: 14px;
    }

    .info-shell-action {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 900px) {
    :root {
        --info-header-height: 64px;
    }

    .info-shell-header-inner {
        position: relative;
        flex-wrap: wrap;
        min-height: var(--info-header-height);
    }

    .info-shell-brand {
        min-height: var(--info-header-height);
    }

    .info-shell-menu-toggle {
        display: inline-flex;
    }

    .info-shell-actions {
        margin-left: 0;
    }

    .info-shell-nav {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        margin: 0;
        padding: 0 0 16px;
    }

    .info-shell-nav.info-shell-nav-open,
    .info-shell-nav[data-open="true"] {
        display: block;
    }

    .info-shell-nav-list {
        display: grid;
        width: 100%;
        gap: 0;
        padding: 8px;
        background: #ffffff;
        border: 1px solid var(--info-line);
        border-radius: 8px;
        box-shadow: 0 16px 36px rgba(38, 55, 70, 0.12);
    }

    .info-shell-nav-link {
        display: flex;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 5px;
    }

    .info-shell-nav-link:hover,
    .info-shell-nav-link:focus {
        background: var(--info-brand-soft);
    }

    .info-shell-nav-dropdown {
        position: static;
        display: none;
        width: 100%;
        padding: 4px 0 8px 18px;
        border: 0;
        box-shadow: none;
        transform: none;
    }

    .info-shell-nav-item:hover > .info-shell-nav-dropdown,
    .info-shell-nav-item:focus-within > .info-shell-nav-dropdown {
        display: block;
    }

    .info-shell-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-shell-footer-brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .info-shell-width,
    .info-shell-header-inner,
    .info-shell-footer-inner {
        width: min(
            calc(100% - 28px),
            var(--info-shell-width)
        );
    }

    .info-shell-brand {
        font-size: 21px;
    }

    .info-shell-brand img {
        max-width: 125px;
        max-height: 38px;
    }

    .info-shell-actions {
        gap: 7px;
    }

    .info-shell-action {
        min-height: 38px;
        padding: 8px 11px;
        font-size: 13px;
    }

    .info-shell-action-login {
        display: none;
    }

    .info-shell-footer {
        padding-top: 40px;
    }

    .info-shell-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .info-shell-footer-brand-column {
        grid-column: auto;
    }

    .info-shell-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
    body.info-shell-body {
        color: #000000;
        background: #ffffff;
    }

    .info-shell-header,
    .info-shell-progress,
    .info-shell-menu-toggle,
    .info-shell-footer {
        display: none !important;
    }

    .info-shell-main {
        display: block;
        width: 100%;
    }

    a[href]::after {
        content: none;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body.info-shell-body *,
    body.info-shell-body *::before,
    body.info-shell-body *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .info-shell-progress-bar,
    .ip-progress {
        transition: none;
    }
}
