/* -------------------------------------------------------------------------- */
/* Flat Professional Theme Tokens                                              */
/* -------------------------------------------------------------------------- */
:root {
    --bg: #f4f6f9;
    --bg-alt: #edf2f7;
    --panel: #ffffff;
    --panel-alt: #f8fafc;
    --line: #d6deea;
    --line-strong: #a7b4c7;
    --ink: #0f172a;
    --ink-soft: #334155;
    --ink-muted: #64748b;
    --blue: #0f4c81;
    --blue-strong: #0a3b64;
    --blue-soft: #e5f0fb;
    --green: #166534;
    --green-soft: #dcfce7;
    --amber: #92400e;
    --amber-soft: #ffedd5;
    --red: #991b1b;
    --red-soft: #fee2e2;
    --focus-ring: 0 0 0 3px rgba(15, 76, 129, 0.22);
}

/* -------------------------------------------------------------------------- */
/* Reset and Base Typography                                                   */
/* -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* Lock background scroll whenever the mobile navigation is open. */
html.mobile-nav-open,
body.mobile-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(15, 76, 129, 0.02) 0%, rgba(15, 76, 129, 0) 34%),
        repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.05), rgba(148, 163, 184, 0.05) 1px, transparent 1px, transparent 32px),
        linear-gradient(180deg, #f9fbfd 0%, var(--bg) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: "Space Grotesk", sans-serif;
    color: var(--ink);
}

p {
    margin: 0;
}

a {
    color: inherit;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* -------------------------------------------------------------------------- */
/* Accessibility                                                               */
/* -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    z-index: 300;
    top: -48px;
    left: 10px;
    padding: 8px 10px;
    border: 1px solid var(--line-strong);
    background: var(--panel);
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
}

/* -------------------------------------------------------------------------- */
/* Shared Width Containers                                                     */
/* -------------------------------------------------------------------------- */
.page-shell,
.section {
    width: 100%;
    /* Remove the global width cap so Insider spans the full viewport width. */
    max-width: none;
    margin: 0 auto;
    padding-inline: clamp(16px, 3vw, 48px);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                       */
/* -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(5px);
}

.header-shell {
    padding-block: 0;
}

.header-top {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 14px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    min-width: 0;
}

/* Brand mark is flat and squared for a stricter visual system. */
.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
    border: 1px solid var(--blue-strong);
    letter-spacing: 0.02em;
}

.brand-copy {
    display: grid;
    min-width: 0;
}

.brand-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* Navigation is centered in the header while utility actions sit on the right. */
.site-nav {
    justify-self: center;
    min-width: 0;
}

.nav-groups {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 2px;
}

.nav-group {
    position: relative;
    display: flex;
    align-items: center;
}

/* Extend hover surface below each trigger so dropdown travel feels forgiving. */
.nav-group::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 320px;
    height: 14px;
    transform: translateX(-50%);
}

/* Top-level category links include the animated underline indicator. */
.nav-group-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 14px 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
    transition: color 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-group-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-group-link:hover,
.nav-group:focus-within .nav-group-link,
.nav-group.is-active .nav-group-link {
    color: var(--ink);
}

.nav-group-link:hover::after,
.nav-group:focus-within .nav-group-link::after,
.nav-group.is-active .nav-group-link::after {
    transform: scaleX(1);
}

.nav-group-caret {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.8;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-group:hover .nav-group-caret,
.nav-group:focus-within .nav-group-caret,
.nav-group.is-open .nav-group-caret {
    transform: rotate(225deg) translateY(-1px);
}

/* Dropdown panel is centered and animated for a cleaner enterprise navigation feel. */
.nav-dropdown {
    position: absolute;
    left: 50%;
    top: 100%;
    padding-top: 10px;
    transform: translate(-50%, 10px);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 35;
    will-change: opacity, transform;
    transition: opacity 0.46s cubic-bezier(0.22, 1, 0.36, 1), transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.46s;
}

.nav-dropdown-panel {
    border: 1px solid var(--line-strong);
    background: #ffffff;
    padding: 10px;
    box-shadow: none;
}

.nav-dropdown-grid {
    display: grid;
    /* Stack dropdown links vertically for a cleaner enterprise menu. */
    grid-template-columns: minmax(220px, 1fr);
    gap: 5px;
}

.nav-dropdown-link {
    display: block;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 8px 10px;
    transition: background-color 0.34s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.34s cubic-bezier(0.22, 1, 0.36, 1), color 0.34s cubic-bezier(0.22, 1, 0.36, 1), transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-dropdown-link:hover {
    background: var(--blue-soft);
    border-color: #bed6ef;
    color: var(--blue-strong);
    transform: translateX(1px);
}

.nav-dropdown-link.is-active {
    background: var(--blue-soft);
    border-color: #9fc2e8;
    color: var(--blue-strong);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s, 0s, 0s;
}

.nav-login {
    margin-left: 8px;
    min-width: 92px;
}

.nav-login.is-active {
    background: var(--blue-strong);
    border-color: var(--blue-strong);
}

.account-menu {
    position: relative;
    margin-left: 8px;
    --account-menu-width: 220px;
    --account-menu-offset: 4px;
}

.account-menu::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    width: var(--account-menu-width);
    height: calc(12px + var(--account-menu-offset));
}

.nav-account {
    min-width: 110px;
    justify-content: space-between;
}

.nav-account.is-active {
    background: var(--blue-strong);
    border-color: var(--blue-strong);
}

.account-menu-caret {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.account-menu.is-open .account-menu-caret {
    transform: rotate(225deg) translateY(-1px);
}

.account-menu:hover .account-menu-caret,
.account-menu:focus-within .account-menu-caret {
    transform: rotate(225deg) translateY(-1px);
}

.account-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + var(--account-menu-offset));
    min-width: var(--account-menu-width);
    border: 1px solid var(--line-strong);
    background: #ffffff;
    padding: 8px;
    display: grid;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    z-index: 45;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.account-menu.is-open .account-menu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.account-menu:hover .account-menu-dropdown,
.account-menu:focus-within .account-menu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.account-menu-link {
    display: block;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 8px 10px;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.account-menu-link:hover {
    background: var(--blue-soft);
    border-color: #bed6ef;
    color: var(--blue-strong);
}

.account-menu-link.is-active {
    background: var(--blue-soft);
    border-color: #9fc2e8;
    color: var(--blue-strong);
}

.account-menu-link-logout {
    color: var(--red);
}

.account-menu-link-logout:hover {
    background: var(--red-soft);
    border-color: #fca5a5;
    color: var(--red);
}

/* Mobile nav trigger maintains same flat geometry. */
.nav-toggle {
    display: none;
    width: 40px;
    height: 36px;
    border: 1px solid var(--line);
    background: var(--panel);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.nav-toggle .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* -------------------------------------------------------------------------- */
/* Main Layout                                                                  */
/* -------------------------------------------------------------------------- */
.site-main {
    display: grid;
    gap: 0;
    padding: 0 0 42px;
}

/* Section rhythm is driven by top/bottom spacing instead of box styles. */
.section {
    display: grid;
    gap: 16px;
    padding-top: 32px;
}

.section-tight {
    padding-top: 20px;
}

/* Long-form extension sections intentionally add depth and reading continuity. */
.longform-section {
    border-top: 1px solid var(--line);
    padding-top: 30px;
}

/* -------------------------------------------------------------------------- */
/* Minimal Auth Layout                                                         */
/* -------------------------------------------------------------------------- */
.insider-body.layout-minimal {
    min-height: 100vh;
    background:
        radial-gradient(720px 320px at 7% -8%, rgba(39, 91, 135, 0.12), rgba(39, 91, 135, 0) 62%),
        radial-gradient(680px 280px at 94% 0%, rgba(31, 109, 117, 0.1), rgba(31, 109, 117, 0) 64%),
        linear-gradient(180deg, #f9fbff 0%, #eef4fa 100%);
}

.insider-body.layout-minimal .site-main-minimal {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 16px 12px;
}

.insider-body.layout-minimal.layout-minimal-with-header {
    --minimal-header-height: 78px;
}

.insider-body.layout-minimal.layout-minimal-with-header .site-main-minimal {
    min-height: calc(100dvh - var(--minimal-header-height));
    padding: 10px 12px;
}

/* Popup auth windows use a compact brand lockup instead of full site navigation. */
.insider-body.layout-minimal.popup-auth-mode .site-main-minimal {
    place-items: start center;
    align-content: start;
    gap: 12px;
    padding-top: 14px;
}

.popup-auth-brand {
    width: min(1020px, 100%);
    display: flex;
    justify-content: center;
}

.popup-auth-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.popup-auth-brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    background: var(--blue);
    color: #ffffff;
    border: 1px solid var(--blue-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.popup-auth-brand-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.insider-body.layout-minimal .section.auth-focus {
    width: min(1020px, 100%);
    padding-top: 0;
    gap: 0;
}

.insider-body.layout-minimal .section.auth-focus .login-epic {
    display: grid;
    grid-template-columns: minmax(320px, 410px) minmax(390px, 500px);
    gap: 0;
    align-items: start;
    justify-content: center;
    border: 1px solid #bccad9;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 44, 70, 0.08);
    overflow: hidden;
}

.insider-body.layout-minimal .section.auth-focus::before {
    content: none;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__side {
    border-right: 1px solid #d3deea;
    background: linear-gradient(180deg, #fbfdff 0%, #f2f6fb 100%);
    padding: 17px;
    display: grid;
    gap: 11px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 700;
    color: #466481;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__title {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.12;
    color: #123b5d;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #3f5f7a;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__list li {
    border: 1px solid #c8d6e3;
    background: rgba(255, 255, 255, 0.75);
    border-left: 3px solid #9db3c8;
    padding: 8px 10px;
    display: grid;
    gap: 2px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__list strong {
    font-size: 12px;
    color: #173f62;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__list span {
    font-size: 12px;
    line-height: 1.3;
    color: #3f5f7a;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__stat {
    border: 1px solid #c8d6e3;
    background: #ffffff;
    padding: 8px;
    display: grid;
    gap: 2px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__stat strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    line-height: 1;
    color: #123f64;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__stat span {
    font-size: 11px;
    color: #496883;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__support {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__support .btn {
    border-color: #b8c8d8;
    background: #ffffff;
    color: #173f62;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__support .btn:hover {
    border-color: #98b1c8;
    background: #f3f7fb;
    color: #123b5d;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__panel {
    padding: 17px;
    display: grid;
    gap: 10px;
    background: #ffffff;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid #bfd0df;
    background: #f3f7fb;
    color: #163f62;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 8px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__caption {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #466481;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__heading {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 36px);
    line-height: 1.08;
    color: #112f4a;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__sub {
    margin: 0;
    color: #3d5d79;
    font-size: 14px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__form {
    display: grid;
    gap: 10px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__field {
    display: grid;
    gap: 6px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__field span {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 700;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__field input {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    font-family: "Manrope", sans-serif;
    padding: 10px 11px;
    border-radius: 0;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__field input:hover {
    border-color: #8fb5df;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__field input:focus {
    border-color: var(--blue);
    background: #fcfdff;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__submit {
    width: 100%;
    justify-content: center;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__divider {
    position: relative;
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #d6e0ea;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__divider span {
    position: relative;
    padding: 0 8px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a6884;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__oauth {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__oauth-btn {
    width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 10px 12px;
    border: 1px solid transparent;
    transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__oauth-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__oauth--google {
    background: #db4437;
    border-color: #bf372d;
    color: #ffffff;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__oauth--google:hover {
    background: #c6372b;
    border-color: #ac2f24;
    transform: translateY(-1px);
}

.insider-body.layout-minimal .section.auth-focus .login-epic__oauth--github {
    background: #111111;
    border-color: #000000;
    color: #ffffff;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__oauth--github:hover {
    background: #1f1f1f;
    border-color: #141414;
    transform: translateY(-1px);
}

.insider-body.layout-minimal .section.auth-focus .login-epic__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    border-top: 1px solid #d6e0ea;
    padding-top: 8px;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__link {
    font-size: 13px;
    font-weight: 700;
    color: #1f4f78;
    text-decoration: none;
    border-bottom: 1px dashed #9db3c8;
}

.insider-body.layout-minimal .section.auth-focus .login-epic__link:hover {
    color: #173f62;
    border-bottom-color: #173f62;
}

.insider-body.layout-minimal .section.auth-focus .btn {
    min-width: 148px;
}

@media (max-height: 820px) {
    .insider-body.layout-minimal .section.auth-focus .login-epic {
        max-height: calc(100dvh - var(--minimal-header-height) - 10px);
        overflow: auto;
    }

    .insider-body.layout-minimal .section.auth-focus .login-epic__panel,
    .insider-body.layout-minimal .section.auth-focus .login-epic__side {
        padding: 12px;
        gap: 8px;
    }
}

@media (max-width: 840px) {
    .insider-body.layout-minimal.layout-minimal-with-header {
        --minimal-header-height: 66px;
    }

    .insider-body.layout-minimal.popup-auth-mode .site-main-minimal {
        padding-top: 12px;
    }

    .popup-auth-brand {
        justify-content: flex-start;
    }

    .popup-auth-brand-name {
        font-size: 16px;
    }

    .insider-body.layout-minimal .section.auth-focus .login-epic {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .insider-body.layout-minimal .section.auth-focus .login-epic__side {
        border-right: 0;
        border-bottom: 1px solid #d3deea;
    }

    .insider-body.layout-minimal .section.auth-focus .login-epic__oauth {
        grid-template-columns: 1fr;
    }

    .insider-body.layout-minimal .section.auth-focus .login-epic__title {
        font-size: clamp(20px, 8vw, 28px);
    }

    .insider-body.layout-minimal .section.auth-focus .login-epic__links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* -------------------------------------------------------------------------- */
/* Hero: Full-Bleed Flat Banner                                                 */
/* -------------------------------------------------------------------------- */
.hero {
    padding-top: 0;
}

/* Hero shell has no side padding so banner reaches viewport edges. */
.hero .page-shell {
    padding-inline: 0;
}

/* Hero panel is fully flat: no radius, no shadow, no internal frame padding. */
.hero-panel {
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Blue accent rail keeps the flat banner visually lively. */
.hero-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--blue);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 0;
    align-items: stretch;
}

/* Content area uses internal spacing for readability while outer banner stays edge-to-edge. */
.hero-content {
    display: grid;
    gap: 16px;
    padding: clamp(26px, 4.5vw, 64px) clamp(16px, 4vw, 56px);
    min-width: 0;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
}

.hero-title {
    font-size: clamp(30px, 4.8vw, 56px);
    max-width: 17ch;
}

.hero-lead {
    color: var(--ink-soft);
    font-size: clamp(15px, 1.5vw, 18px);
    max-width: 64ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.hero-actions .btn {
    width: auto;
    min-width: 0;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.2;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

/* Hero metrics are flat tiles with subtle borders. */
.hero-stat {
    border: 1px solid var(--line);
    border-left-width: 3px;
    border-left-color: #9fc2e8;
    background: var(--panel-alt);
    padding: 11px 12px;
}

.hero-stat-kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #3f6384;
}

.hero-stat-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    color: var(--blue-strong);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--ink-muted);
}

.hero-stat-detail {
    margin-top: 5px;
    font-size: 11px;
    color: #496985;
}

/* Hero media column keeps image flush and rectangular. */
.hero-media {
    margin: 0;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: 1fr auto;
    align-self: start;
    height: clamp(320px, 34vw, 520px);
    min-height: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

/* Remove decorative hero image overlays for a clean presentation. */
.hero-media::before {
    content: none;
}

.hero-image {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    filter: none;
    transition: none;
}

.hero-media:hover .hero-image {
    transform: none;
    filter: none;
}

.hero-media-caption {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    padding: 9px 11px;
    font-size: 12px;
    color: var(--ink-soft);
    background: #ffffff;
}

/* -------------------------------------------------------------------------- */
/* Section Headings                                                            */
/* -------------------------------------------------------------------------- */
.section-heading {
    display: grid;
    gap: 7px;
    max-width: 920px;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
}

.section-heading h2 {
    font-size: clamp(26px, 3.2vw, 42px);
}

.section-copy {
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 84ch;
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                      */
/* -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 0;
    box-shadow: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn-primary {
    color: #ffffff;
    background: var(--blue);
    border-color: var(--blue-strong);
}

.btn-primary:hover {
    background: var(--blue-strong);
}

.btn-secondary {
    color: var(--ink);
    background: #ffffff;
    border-color: var(--line);
}

.btn-secondary:hover {
    background: var(--panel-alt);
    border-color: var(--line-strong);
}

.btn-ghost {
    color: var(--blue-strong);
    border-color: #aac8ea;
    background: var(--blue-soft);
}

.btn-ghost:hover {
    background: #d8e8f9;
    border-color: #8fb5df;
}

.btn.is-disabled,
.btn[disabled] {
    opacity: 0.62;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

/* Focus styling stays consistent across controls. */
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* -------------------------------------------------------------------------- */
/* Cards and Surfaces                                                          */
/* -------------------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

/* Cards are flat rectangles with no radius or drop shadows. */
.card {
    display: grid;
    gap: 9px;
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 16px;
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.card:hover {
    border-color: #aac8ea;
    background: #fcfdff;
    transform: translateY(-1px);
}

.card h3 {
    font-size: 19px;
}

.card p {
    font-size: 14px;
    color: var(--ink-soft);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-muted);
}

/* Surface blocks are used for richer content columns. */
.surface {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 16px;
    border-radius: 0;
    box-shadow: none;
}

.surface p {
    color: var(--ink-soft);
}

/* -------------------------------------------------------------------------- */
/* Badges and Alerts                                                           */
/* -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.01em;
    border-radius: 0;
}

.badge.good {
    color: var(--green);
    background: var(--green-soft);
    border-color: #86efac;
}

.badge.warn {
    color: var(--amber);
    background: var(--amber-soft);
    border-color: #fdba74;
}

.badge.info {
    color: #1e3a8a;
    background: var(--blue-soft);
    border-color: #93c5fd;
}

.badge.bad {
    color: var(--red);
    background: var(--red-soft);
    border-color: #fca5a5;
}

/* Alerts keep a simple left accent instead of rounded callout blocks. */
.alert {
    border: 1px solid var(--line);
    border-left-width: 4px;
    background: var(--panel-alt);
    padding: 11px 12px;
    font-size: 13px;
    color: var(--ink-soft);
    border-radius: 0;
}

.alert strong {
    color: var(--ink);
}

.alert.success {
    border-left-color: var(--green);
}

.alert.warn {
    border-left-color: var(--amber);
}

.alert.info {
    border-left-color: var(--blue);
}

.alert.error {
    border-left-color: var(--red);
}

/* State panels standardize empty/loading/permission states. */
.state-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.state-panel__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue-soft);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.state-panel__body h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.state-panel__body p {
    margin: 0;
    color: var(--ink-muted);
}

.state-panel--empty {
    border-style: dashed;
    background: var(--panel-alt);
}

.state-panel--empty .state-panel__icon {
    background: #f8fafc;
}

.state-panel--permission {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.state-panel--permission .state-panel__icon {
    background: #e0e7ff;
    border-color: #c7d2fe;
}

.state-panel--error {
    border-color: #fecaca;
    background: var(--red-soft);
}

.state-panel--error .state-panel__icon {
    background: #fee2e2;
    border-color: #fca5a5;
}

.state-panel--success {
    border-color: #bbf7d0;
    background: var(--green-soft);
}

.state-panel--success .state-panel__icon {
    background: #dcfce7;
    border-color: #bbf7d0;
}

.state-panel--loading .state-panel__icon::after,
.state-panel--loading .state-panel__icon::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    border-color: var(--blue) transparent var(--blue) transparent;
    animation: insider-spin 1s linear infinite;
}

.state-panel--loading {
    border-color: #bfdbfe;
    background: linear-gradient(90deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
    background-size: 200% 100%;
    animation: insider-sheen 1.6s linear infinite;
}

@keyframes insider-spin {
    to { transform: rotate(360deg); }
}

@keyframes insider-sheen {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* -------------------------------------------------------------------------- */
/* Forms                                                                       */
/* -------------------------------------------------------------------------- */
.form-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 16px;
    border-radius: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    font-family: "Manrope", sans-serif;
    padding: 10px 11px;
    border-radius: 0;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #8fb5df;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    background: #fcfdff;
}

.field textarea {
    min-height: 130px;
    resize: none;
}

.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.form-agreement {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* Keep form surfaces and controls motion-free across Insider. */
.insider-body .form-card,
.insider-body .form-card::before,
.insider-body .form-card:hover,
.insider-body .form-card:focus-within {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.insider-body .portal-panel:has(form),
.insider-body .portal-panel:has(form):hover,
.insider-body .portal-panel:has(form):focus-within {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.insider-body form .btn,
.insider-body form button,
.insider-body form input,
.insider-body form select,
.insider-body form textarea {
    animation: none !important;
    transition: none !important;
}

.insider-body form .btn:hover,
.insider-body form button:hover,
.insider-body form .btn:focus-visible,
.insider-body form button:focus-visible {
    transform: none !important;
}

/* Account settings action row gives save/reset controls stronger hierarchy. */
.account-settings-form {
    margin-top: 12px;
    box-shadow: none;
}

.settings-live-alert {
    margin-top: 12px;
}

.settings-action-bar {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #b8ccde;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.settings-action-note {
    margin: 0;
    color: #34516c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.settings-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.settings-action-buttons .btn {
    min-width: 132px;
}

.settings-btn-save {
    background: linear-gradient(180deg, #2a5f8c 0%, #19466c 100%);
    border-color: #173f63;
}

.settings-btn-save:hover {
    background: linear-gradient(180deg, #204f79 0%, #143754 100%);
}

.settings-btn-save:disabled {
    opacity: 0.78;
    cursor: wait;
}

.settings-btn-reset {
    background: #f8fbfe;
    border-color: #b2c7d9;
    color: #183f62;
}

.settings-btn-reset:hover {
    background: #edf4fb;
    border-color: #84a8c5;
}

/* -------------------------------------------------------------------------- */
/* Tables                                                                       */
/* -------------------------------------------------------------------------- */
.table {
    border: 1px solid var(--line);
    background: #ffffff;
    overflow: hidden;
    border-radius: 0;
}

.table-row {
    display: grid;
    grid-template-columns: 180px 1fr 160px;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-top: 1px solid var(--line);
}

.table-row:first-child {
    border-top: none;
}

.table-row.head {
    background: #eef3f9;
    color: #334155;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.table-row:not(.head):hover {
    background: #fbfdff;
}

.table-row p,
.table-row div {
    font-size: 13px;
}

/* -------------------------------------------------------------------------- */
/* KPIs                                                                        */
/* -------------------------------------------------------------------------- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.kpi {
    border: 1px solid var(--line);
    background: var(--panel-alt);
    padding: 12px;
    border-radius: 0;
}

.kpi-label {
    font-size: 12px;
    color: var(--ink-muted);
}

.kpi-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    color: var(--blue-strong);
}

/* -------------------------------------------------------------------------- */
/* Roadmap                                                                      */
/* -------------------------------------------------------------------------- */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.roadmap-column {
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 15px;
    display: grid;
    gap: 10px;
    border-radius: 0;
}

.roadmap-column h3 {
    font-size: 17px;
}

.roadmap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.roadmap-list li {
    border: 1px solid var(--line);
    background: var(--panel-alt);
    padding: 9px;
    font-size: 13px;
    color: var(--ink-soft);
    border-radius: 0;
}

/* -------------------------------------------------------------------------- */
/* FAQ                                                                         */
/* -------------------------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 11px 12px;
    border-radius: 0;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}

.faq-item[open] {
    border-color: #aac8ea;
    background: #fbfdff;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ink-soft);
}

/* -------------------------------------------------------------------------- */
/* Blog Cards                                                                   */
/* -------------------------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.blog-card {
    position: relative;
    isolation: isolate;
    text-decoration: none;
    border: 0;
    background: transparent;
    overflow: hidden;
    display: grid;
    gap: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.blog-card:hover {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

/* Remove decorative overlay effects from blog images. */
.blog-card::before {
    content: none;
}

.blog-card img {
    position: relative;
    z-index: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
    filter: none;
    transition: none;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover img {
    transform: none;
    filter: none;
}

.blog-card-body {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    padding: 13px;
}

.blog-card h3 {
    font-size: 18px;
}

.blog-meta {
    font-size: 12px;
    color: var(--ink-muted);
}

/* -------------------------------------------------------------------------- */
/* Status Board                                                                 */
/* -------------------------------------------------------------------------- */
.status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.status-item {
    border: 1px solid var(--line);
    background: var(--panel-alt);
    padding: 13px;
    display: grid;
    gap: 8px;
    border-radius: 0;
}

.status-item header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.status-item p {
    color: var(--ink-soft);
    font-size: 13px;
}

/* -------------------------------------------------------------------------- */
/* Portal                                                                      */
/* -------------------------------------------------------------------------- */
.portal-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 12px;
}

.portal-nav,
.portal-panel {
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 14px;
    border-radius: 0;
}

.portal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.portal-nav a {
    text-decoration: none;
    border: 1px solid var(--line);
    background: #f9fafb;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 9px;
    border-radius: 0;
}

.portal-nav a.active,
.portal-nav a:hover {
    color: var(--blue-strong);
    border-color: #aac8ea;
    background: var(--blue-soft);
}

/* Settings-page nav uses richer button-like links with secondary context text. */
.settings-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.settings-nav-label {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #567892;
}

.settings-nav .settings-nav-link {
    display: block;
    text-decoration: none;
    border: 1px solid #b8ccde;
    background: #f5f9fd;
    color: #1e4668;
    padding: 10px 11px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}

.settings-nav .settings-nav-link::after {
    content: none;
}

.settings-nav .settings-nav-link:hover {
    border-color: #7ca3c1;
    background: #e8f2fb;
    color: #17466d;
    transform: translateX(2px);
}

.settings-nav .settings-nav-link.active {
    border-color: #5d88ad;
    background: linear-gradient(180deg, #edf6ff 0%, #dfedf9 100%);
    color: #143f63;
}

.settings-nav .settings-nav-link.active::after {
    color: #1e547f;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------------------- */
/* Timeline                                                                     */
/* -------------------------------------------------------------------------- */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.timeline li {
    border-left: 3px solid #aac8ea;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    padding: 9px 10px;
    border-radius: 0;
}

.timeline h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.timeline p {
    font-size: 14px;
    color: var(--ink-soft);
}

/* -------------------------------------------------------------------------- */
/* Visual Gallery                                                               */
/* -------------------------------------------------------------------------- */
.visual-section {
    gap: 14px;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.visual-card {
    position: relative;
    isolation: isolate;
    margin: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.visual-card:hover {
    border-color: transparent;
    box-shadow: none;
}

/* Remove overlay and motion effects from gallery imagery. */
.visual-card::before {
    content: none;
}

.visual-card img {
    position: relative;
    z-index: 0;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center;
    filter: none;
    transition: none;
}

.visual-card:hover::before {
    opacity: 1;
}

.visual-card:hover img {
    transform: none;
    filter: none;
}

.visual-card figcaption {
    position: relative;
    z-index: 2;
    border-top: 0;
    padding: 9px 0 0;
    font-size: 12px;
    color: var(--ink-soft);
    background: transparent;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                       */
/* -------------------------------------------------------------------------- */
.site-footer {
    margin-top: 30px;
    border-top: 2px solid #1e40af;
    background: #0a1731;
    padding: 0 0 26px;
    color: #d5def2;
}

.footer-shell {
    display: grid;
    gap: 0;
    padding-inline: clamp(16px, 3vw, 48px);
}

/* Main footer body uses one cohesive dark surface with strong typographic hierarchy. */
.footer-main {
    padding: 30px 0 22px;
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) minmax(420px, 1.7fr) minmax(250px, 1.05fr);
    gap: 28px;
    align-items: start;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-col {
    min-width: 0;
}

.footer-company {
    display: grid;
    gap: 14px;
}

.footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "mark name"
        "copy copy";
    align-items: center;
    row-gap: 10px;
    gap: 10px;
}

.footer-mark {
    grid-area: mark;
    width: 32px;
    aspect-ratio: 1 / 1;
    min-width: 32px;
    min-height: 32px;
    display: inline-grid;
    place-items: center;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    border: 1px solid #2563eb;
    padding: 0;
}

.footer-name {
    grid-area: name;
    font-size: 26px;
    font-weight: 800;
    color: #f8fbff;
    line-height: 1.05;
}

.footer-copy {
    grid-area: copy;
}

.footer-copy,
.footer-company-meta p {
    font-size: 14px;
    color: #b9c7e4;
    line-height: 1.55;
}

.footer-company-meta {
    display: grid;
    gap: 8px;
}

.footer-company-meta strong {
    color: #e5edff;
    display: inline-block;
    min-width: 72px;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-company-meta a {
    color: #d4def6;
    text-decoration: none;
}

.footer-company-meta a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-company-social {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 12px;
    display: grid;
    gap: 10px;
}

.footer-social-title {
    font-size: 12px;
    font-weight: 700;
    color: #9fb0d6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    padding-inline: 8px;
}

.footer-column h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: #f8fbff;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.footer-column a {
    text-decoration: none;
    font-size: 15px;
    color: #c4d0ec;
    line-height: 1.5;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-connect {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    border-left: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-connect h3 {
    font-size: 19px;
    color: #f8fbff;
}

.footer-connect-copy {
    font-size: 14px;
    color: #b8c7e5;
    line-height: 1.55;
}

.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social li {
    display: inline-flex;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    color: #d4e1ff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #112448;
    border-radius: 0;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.footer-social a:hover {
    color: #ffffff;
    background: #173261;
    border-color: rgba(96, 165, 250, 0.8);
}

.footer-social a:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    line-height: 0;
}

.footer-social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.footer-connect-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-subscribe {
    display: grid;
    gap: 7px;
}

.footer-subscribe label {
    font-size: 12px;
    font-weight: 700;
    color: #9fb0d6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-subscribe-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
}

.footer-subscribe input {
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(9, 19, 40, 0.8);
    color: #f8fbff;
    padding: 10px 11px;
    font-size: 13px;
    font-family: "Manrope", sans-serif;
    border-radius: 0;
}

.footer-subscribe input::placeholder {
    color: #90a3cd;
}

.footer-connect-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.footer-connect-links a {
    font-size: 13px;
    text-decoration: none;
    color: #c4d0ec;
    padding: 0;
}

.footer-connect-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Trust row is kept minimal to avoid container-heavy styling. */
.footer-lower {
    padding-top: 12px;
}

.footer-trust {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.footer-trust-item {
    font-size: 12px;
    color: #a8b7d9;
}

.footer-trust-item strong {
    color: #dbe7ff;
}

.footer-trust-item a {
    color: #dbe7ff;
}

.footer-meta {
    padding: 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-meta-left p {
    font-size: 12px;
    color: #8ea2ca;
}

.footer-meta-right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-meta-right a {
    font-size: 12px;
    text-decoration: none;
    color: #b8c7e5;
}

.footer-meta-right a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-contact-list li {
    display: grid;
    gap: 2px;
}

.footer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9fb0d6;
    font-weight: 700;
}

.footer-contact-list a,
.footer-contact-list span {
    color: #d2def8;
    font-size: 14px;
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* -------------------------------------------------------------------------- */
/* Utility Layout Classes                                                      */
/* -------------------------------------------------------------------------- */
.columns-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-list a {
    text-decoration: none;
}

.muted {
    color: var(--ink-muted);
}

.mt-3 { margin-top: 3px; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px; }

/* -------------------------------------------------------------------------- */
/* Home Page Experience                                                        */
/* -------------------------------------------------------------------------- */
.insider-body.page-home {
    --home-navy: #0f2840;
    --home-steel: #24517a;
    --home-slate: #2f4f68;
    --home-teal: #1e6972;
    --home-line: #9fb7cc;
    --home-line-soft: #c8d7e6;
    --home-surface: #f5f9fd;
    --home-surface-alt: #edf4fb;
    background:
        radial-gradient(circle at 0% 0%, rgba(36, 81, 122, 0.08), rgba(36, 81, 122, 0) 42%),
        radial-gradient(circle at 92% 8%, rgba(30, 105, 114, 0.07), rgba(30, 105, 114, 0) 45%),
        linear-gradient(180deg, #f9fbff 0%, #f2f7fc 40%, #eef4fa 100%);
}

/* Home pages intentionally use wider gutters to feel premium and cinematic. */
.insider-body.page-home .page-shell,
.insider-body.page-home .section {
    padding-inline: clamp(22px, 5vw, 112px);
}

.insider-body.page-home .site-main {
    position: relative;
    padding-bottom: 64px;
}

/* Animated backdrop adds subtle movement without introducing noisy visuals. */
.insider-body.page-home .site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(159, 183, 204, 0.16), rgba(159, 183, 204, 0.16) 1px, transparent 1px, transparent 88px),
        linear-gradient(120deg, rgba(36, 81, 122, 0.06), rgba(30, 105, 114, 0.04) 40%, rgba(15, 40, 64, 0.05));
    opacity: 0.44;
    z-index: -1;
    animation: homeBackdropShift 34s linear infinite;
}

/* Section rhythm is increased for richer editorial pacing. */
.insider-body.page-home .section {
    padding-top: clamp(38px, 5.8vw, 74px);
}

.insider-body.page-home .section-tight {
    padding-top: clamp(24px, 3.8vw, 38px);
}

.home-band {
    position: relative;
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    padding-bottom: clamp(28px, 4vw, 52px);
    overflow: hidden;
}

/* Animated rail gives each full-width section an energetic enterprise pulse. */
.home-band::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(36, 81, 122, 0.9) 36%, rgba(30, 105, 114, 0.9) 64%, transparent 100%);
    animation: homeRailSweep 7.8s ease-in-out infinite;
}

.home-command-section {
    background: linear-gradient(180deg, #f9fbff 0%, #f1f6fc 100%);
}

.home-capability-section {
    background: linear-gradient(180deg, #f6fafe 0%, #edf4fb 100%);
}

.home-flightpath-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.home-trust-section {
    background: linear-gradient(180deg, #f9fcff 0%, #f1f7fd 100%);
}

/* Hero gets stronger depth with animated overlays while remaining flat in structure. */
.insider-body.page-home .hero .page-shell {
    /* Keep the hero truly full-bleed across the viewport. */
    padding-inline: 0;
}

.insider-body.page-home .hero-panel {
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    background: linear-gradient(115deg, #f9fcff 0%, #eef5fc 45%, #e8f1f9 100%);
    overflow: hidden;
}

.insider-body.page-home .hero-panel::before {
    height: 4px;
    background: linear-gradient(90deg, var(--home-navy) 0%, var(--home-steel) 54%, var(--home-teal) 100%);
}

.insider-body.page-home .hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
        repeating-linear-gradient(0deg, rgba(159, 183, 204, 0.16), rgba(159, 183, 204, 0.16) 1px, transparent 1px, transparent 40px);
    opacity: 0.64;
    animation: homeHeroScan 18s linear infinite;
}

.insider-body.page-home .hero-layout {
    position: relative;
    z-index: 1;
}

.insider-body.page-home .hero-content {
    /* Internal spacing controls readability while outer hero stays full width. */
    padding: clamp(30px, 4.6vw, 72px) clamp(20px, 5vw, 108px);
    gap: 18px;
}

.insider-body.page-home .hero-title {
    max-width: 19ch;
    font-size: clamp(34px, 5.6vw, 66px);
    color: #0e2740;
}

.insider-body.page-home .hero-lead {
    max-width: 75ch;
    color: #2f4c67;
}

.insider-body.page-home .hero-actions .btn {
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.insider-body.page-home .hero-actions .btn:hover {
    transform: translateY(-2px);
}

.insider-body.page-home .hero-stats {
    gap: 10px;
}

.insider-body.page-home .hero-stat {
    border-color: #b9cbdd;
    border-left-width: 4px;
    border-left-color: #3d6e9f;
    background: linear-gradient(180deg, #f9fcff 0%, #f1f7fc 100%);
    transition: transform 0.26s ease, border-color 0.26s ease;
}

.insider-body.page-home .hero-stat:hover {
    border-color: #7aa2c7;
    transform: translateY(-2px);
}

.insider-body.page-home .hero-stat.hero-stat-pulse {
    border-left-color: #2a6a97;
    background: linear-gradient(175deg, #f8fcff 0%, #edf6ff 100%);
}

.insider-body.page-home .hero-stat.hero-stat-latency {
    border-left-color: #1e7885;
    background: linear-gradient(175deg, #f8feff 0%, #edf9f8 100%);
}

.insider-body.page-home .hero-stat.hero-stat-launch {
    border-left-color: #4d7094;
    background: linear-gradient(175deg, #fbfcff 0%, #f3f6fc 100%);
}

.insider-body.page-home .hero-stat.hero-stat-support {
    border-left-color: #436e92;
    background: linear-gradient(175deg, #f7fcff 0%, #eef5fc 100%);
}

.insider-body.page-home .hero-stat.hero-stat-pulse .hero-stat-kicker {
    color: #20527a;
}

.insider-body.page-home .hero-stat.hero-stat-latency .hero-stat-kicker {
    color: #1f6670;
}

.insider-body.page-home .hero-stat.hero-stat-launch .hero-stat-kicker {
    color: #435f7f;
}

.insider-body.page-home .hero-stat.hero-stat-support .hero-stat-kicker {
    color: #315679;
}

.insider-body.page-home .hero-media {
    border-left: 1px solid var(--home-line);
    background: transparent;
    padding: 0;
    height: clamp(360px, 40vw, 620px);
    min-height: 0;
}

.insider-body.page-home .hero-image {
    min-height: 0;
    border: 0;
}

.insider-body.page-home .hero-media-caption {
    border-top: 1px solid var(--home-line);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: transparent;
}

/* Signal strip uses animated meters to emphasize measurable trust outcomes. */
.home-signal-strip {
    padding-top: clamp(20px, 2.8vw, 32px);
}

.home-signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-signal-card {
    position: relative;
    border: 1px solid #a7bfd4;
    background: linear-gradient(170deg, #f8fbff 0%, #edf4fb 100%);
    padding: 16px;
    display: grid;
    gap: 8px;
    transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
    transform-style: preserve-3d;
}

.home-signal-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #1c4f78 0%, #1e6972 100%);
}

.home-signal-card:hover {
    border-color: #6f95b7;
    transform: translateY(-3px);
}

.home-signal-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    color: #0f2a44;
    line-height: 1;
}

.home-signal-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #2d5476;
}

.home-signal-copy {
    color: var(--ink-soft);
    font-size: 13px;
}

.home-meter {
    height: 6px;
    border: 1px solid #a8bfd4;
    background: #ffffff;
    overflow: hidden;
}

.home-meter span {
    display: block;
    height: 100%;
    width: var(--meter, 50%);
    background: linear-gradient(90deg, #24517a 0%, #1e6972 100%);
    animation: homeMeterPulse 5s ease-in-out infinite;
}

/* Command surface combines strategic narrative with a live-style system board. */
.home-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 14px;
}

.home-command-panel,
.home-board-panel {
    border: 1px solid #a9c0d4;
    background: linear-gradient(180deg, #fbfdff 0%, #f1f7fd 100%);
    padding: 18px;
    display: grid;
    gap: 12px;
}

.home-command-panel {
    border-top: 4px solid #2a5a87;
}

.home-command-panel h3,
.home-board-panel h3 {
    font-size: clamp(24px, 2.8vw, 34px);
}

.home-command-panel p {
    color: var(--ink-soft);
    font-size: 15px;
}

/* Checklist bullets are customized for stronger scannability in dense copy. */
.home-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.home-checklist li {
    position: relative;
    padding-left: 18px;
    color: var(--ink-soft);
    font-size: 14px;
}

.home-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border: 1px solid #24517a;
    background: #dbe9f6;
}

.home-board-panel {
    border-top: 4px solid #1f6b75;
}

.home-board-copy {
    color: #35516b;
    font-size: 14px;
}

.home-board-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.home-board-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    border: 1px solid #b4c7d9;
    background: #ffffff;
    font-size: 13px;
}

.home-status {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 7px;
    border: 1px solid transparent;
}

.home-status.good {
    color: #14532d;
    background: #dcfce7;
    border-color: #86efac;
}

.home-status.warn {
    color: #78350f;
    background: #ffedd5;
    border-color: #fdba74;
}

.home-board-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 12px;
    padding-top: 6px;
    border-top: 1px solid #c2d3e3;
}

.home-board-links a {
    font-size: 13px;
    color: #1f4f77;
    text-decoration: none;
}

.home-board-links a:hover {
    text-decoration: underline;
}

/* Capability map uses a bento-inspired grid for stronger visual rhythm. */
.home-cap-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-cap-card {
    border: 1px solid #a9c0d4;
    border-top: 4px solid #2a5a87;
    background: linear-gradient(180deg, #fafdff 0%, #eff6fc 100%);
    padding: 16px;
    display: grid;
    gap: 10px;
    transition: transform 0.24s ease, border-color 0.24s ease;
    transform-style: preserve-3d;
}

.home-cap-card:hover {
    border-color: #6f95b7;
    transform: translateY(-3px);
}

.home-cap-card h3 {
    font-size: 24px;
}

.home-cap-card p {
    color: var(--ink-soft);
    font-size: 14px;
}

.home-cap-card-large {
    grid-column: span 2;
}

/* Implementation flightpath includes animated connector rails between stages. */
.home-flightpath {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-flight-step {
    position: relative;
    border: 1px solid #a9c0d4;
    background: linear-gradient(180deg, #fbfdff 0%, #eff6fc 100%);
    padding: 14px;
    display: grid;
    gap: 8px;
    transition: transform 0.24s ease, border-color 0.24s ease;
    transform-style: preserve-3d;
}

.home-flight-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 32px;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #2a5a87 0%, #1f6b75 100%);
    animation: homeConnectorPulse 2.9s ease-in-out infinite;
}

.home-flight-step:hover {
    border-color: #6f95b7;
    transform: translateY(-3px);
}

.home-flight-index {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #12314d;
    border: 1px solid #7ea1bf;
    background: #e6f0fa;
}

.home-flight-step h3 {
    font-size: 20px;
}

.home-flight-step p {
    color: var(--ink-soft);
    font-size: 14px;
}

.home-flight-meta {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3c5d7d;
    font-weight: 700;
}

.home-flight-alert {
    margin-top: 12px;
}

/* Home gallery gains framed image treatment and richer hover movement. */
.insider-body.page-home .visual-section {
    gap: 16px;
}

.insider-body.page-home .visual-grid {
    gap: 14px;
}

.insider-body.page-home .visual-card {
    padding: 0;
    border-color: transparent;
    background: transparent;
    transition: none;
}

.insider-body.page-home .visual-card:hover {
    transform: none;
    border-color: transparent;
}

.insider-body.page-home .visual-card img {
    aspect-ratio: 16 / 10;
    height: auto;
    border: 0;
}

.insider-body.page-home .visual-card figcaption {
    border: 0;
    background: transparent;
    color: #31506c;
    padding: 9px 0 0;
}

/* Trust cards and CTA continue the same motion + hierarchy language. */
.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-trust-card {
    border: 1px solid #a9c0d4;
    border-left: 4px solid #2a5a87;
    background: linear-gradient(180deg, #fbfdff 0%, #eff6fc 100%);
    padding: 15px;
    display: grid;
    gap: 10px;
    transition: transform 0.24s ease, border-color 0.24s ease;
    transform-style: preserve-3d;
}

.home-trust-card:hover {
    border-color: #6f95b7;
    transform: translateY(-3px);
}

.home-trust-card h3 {
    font-size: 21px;
}

.home-trust-card p {
    font-size: 14px;
    color: var(--ink-soft);
}

.home-cta-shell {
    position: relative;
    border: 1px solid #8facbf;
    background: linear-gradient(140deg, #f8fbff 0%, #e9f3fb 52%, #e7f3f3 100%);
    padding: clamp(20px, 3.6vw, 36px);
    display: grid;
    gap: 12px;
    overflow: hidden;
}

.home-cta-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.55) 48%, transparent 100%);
    transform: translateX(-100%);
    animation: homeShineSweep 9s ease-in-out infinite;
}

.home-cta-shell h3 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.home-cta-shell p {
    max-width: 88ch;
    color: #2d4d67;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Reusable enhanced interaction hooks for home cards and staggered groups. */
.insider-body.page-home [data-tilt] {
    will-change: transform;
}

.insider-body.page-home.has-home-motion [data-stagger-item] {
    opacity: 0;
    transform: translateY(10px);
}

.insider-body.page-home.has-home-motion [data-stagger-item].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.46s ease, transform 0.46s ease;
}

/* Motion keyframes centralize animation behavior for maintainability. */
@keyframes homeBackdropShift {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-18px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes homeRailSweep {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.95;
    }
}

@keyframes homeHeroScan {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes homeMeterPulse {
    0%,
    100% {
        filter: saturate(1);
    }
    50% {
        filter: saturate(1.22);
    }
}

@keyframes homeConnectorPulse {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 1;
    }
}

@keyframes homeShineSweep {
    0%,
    8% {
        transform: translateX(-100%);
    }
    34% {
        transform: translateX(120%);
    }
    100% {
        transform: translateX(120%);
    }
}

/* Respect reduced-motion preferences by disabling cosmetic animation. */
@media (prefers-reduced-motion: reduce) {
    .insider-body.page-home .site-main::before,
    .home-band::before,
    .insider-body.page-home .hero-panel::after,
    .home-meter span,
    .home-flight-step:not(:last-child)::after,
    .home-cta-shell::before {
        animation: none;
    }
}

/* -------------------------------------------------------------------------- */
/* Reveal Motion                                                               */
/* -------------------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Tablet Breakpoint                                                           */
/* -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-media {
        border-left: 0;
        border-top: 1px solid var(--line);
        height: clamp(280px, 52vw, 420px);
        min-height: 0;
    }

    .card-grid,
    .blog-grid,
    .kpi-grid,
    .roadmap-grid,
    .footer-links-grid,
    .visual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insider-body:not(.page-home) .brief-prompt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-signal-grid,
    .home-command-grid,
    .home-cap-map,
    .home-flightpath,
    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-cap-card-large {
        grid-column: span 2;
    }

    .insider-body.page-home .hero-media {
        border-left: 0;
        border-top: 1px solid #b4c6d9;
        height: clamp(320px, 60vw, 500px);
        min-height: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-connect {
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.25);
        padding-left: 0;
        padding-top: 12px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-inline: 0;
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }

    .table-row {
        grid-template-columns: 130px 1fr 120px;
    }
}

/* -------------------------------------------------------------------------- */
/* Mobile Breakpoint                                                           */
/* -------------------------------------------------------------------------- */
@media (max-width: 840px) {
    .header-top {
        grid-template-columns: 1fr auto auto;
        gap: 8px;
        /* Anchor the mobile nav dropdown so it can overlay without resizing the header. */
        position: relative;
    }

    /* Keep primary header controls pinned to the top mobile row. */
    .brand,
    .nav-login,
    .account-menu,
    .nav-toggle {
        grid-row: 1;
    }

    .nav-login {
        margin-left: 0;
        min-width: 84px;
        padding-inline: 12px;
        font-size: 12px;
    }

    .account-menu {
        margin-left: 0;
        --account-menu-width: 200px;
        --account-menu-offset: 4px;
    }

    .nav-account {
        min-width: 98px;
        padding-inline: 12px;
        font-size: 12px;
    }

    .account-menu-dropdown {
        right: 0;
        min-width: var(--account-menu-width);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        /* Render the mobile nav as an overlay panel so header height stays unchanged. */
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        width: 100%;
        border: 1px solid var(--line);
        background: #ffffff;
        padding: 10px;
        margin-top: 0;
        z-index: 220;
        /* Keep long mobile menus scrollable inside the nav container. */
        max-height: calc(100dvh - 104px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-groups {
        display: grid;
        gap: 10px;
    }

    .nav-group {
        display: grid;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 10px;
    }

    .nav-group::after {
        display: none;
    }

    .nav-group:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .nav-group-link {
        width: 100%;
        justify-content: space-between;
        padding: 8px 2px 12px;
    }

    .nav-group-link::after {
        bottom: 4px;
    }

    .nav-group:hover .nav-group-caret,
    .nav-group:focus-within .nav-group-caret,
    .nav-group.is-open .nav-group-caret {
        transform: rotate(45deg) translateY(-1px);
    }

    .nav-dropdown {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: auto;
    }

    .nav-dropdown-panel {
        border: 0;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .nav-dropdown-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .nav-dropdown-link {
        border-color: #e5e7eb;
        background: #f8fafc;
    }

    .nav-dropdown-link:hover {
        transform: none;
    }

    .card-grid,
    .blog-grid,
    .columns-3,
    .status-grid,
    .roadmap-grid,
    .kpi-grid,
    .footer-links-grid,
    .columns-2,
    .form-grid,
    .visual-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .insider-body:not(.page-home) .brief-prompt-grid {
        grid-template-columns: 1fr;
    }

    .home-signal-grid,
    .home-command-grid,
    .home-cap-map,
    .home-flightpath,
    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-cap-card-large {
        grid-column: span 1;
    }

    .home-flight-step:not(:last-child)::after {
        display: none;
    }

    .home-board-panel,
    .home-command-panel,
    .home-cap-card,
    .home-flight-step,
    .home-trust-card {
        padding: 14px;
    }

    .hero-content {
        padding: 22px 14px;
    }

    .insider-body.page-home .hero-content {
        padding: 22px 14px;
    }

    .insider-body.page-home .page-shell,
    .insider-body.page-home .section {
        padding-inline: 16px;
    }

    .insider-body.page-home .hero .page-shell {
        padding-inline: 0;
    }

    .footer-main,
    .footer-trust,
    .footer-meta {
        padding-left: 14px;
        padding-right: 14px;
    }

    .footer-subscribe-controls {
        grid-template-columns: 1fr;
    }

    .table {
        overflow-x: auto;
    }

    .table-row {
        min-width: 620px;
    }
}

/* -------------------------------------------------------------------------- */
/* Small Mobile                                                                */
/* -------------------------------------------------------------------------- */
@media (max-width: 560px) {
    .insider-body.layout-minimal .site-main-minimal {
        align-items: start;
        padding: 10px;
    }

    .insider-body.layout-minimal .section.auth-focus .btn {
        width: 100%;
        min-width: 0;
    }

    .page-shell,
    .section {
        padding-inline: 10px;
    }

    .hero .page-shell {
        padding-inline: 0;
    }

    .insider-body.page-home .page-shell,
    .insider-body.page-home .section {
        padding-inline: 10px;
    }

    .insider-body.page-home .hero .page-shell {
        padding-inline: 0;
    }

    .hero-content,
    .surface,
    .card,
    .form-card,
    .portal-nav,
    .portal-panel {
        padding: 12px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .footer-main,
    .footer-trust,
    .footer-meta {
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .visual-card img,
    .blog-card img {
        height: auto;
    }

    .insider-body.page-home .hero-media {
        padding: 0;
        height: clamp(260px, 78vw, 400px);
        min-height: 0;
    }

    .insider-body.page-home .hero-image {
        min-height: 0;
    }

    .insider-body.page-home .visual-card img {
        height: auto;
    }

    .home-signal-card,
    .home-board-panel,
    .home-command-panel,
    .home-cap-card,
    .home-flight-step,
    .home-trust-card {
        padding: 12px;
    }

    .home-signal-value {
        font-size: 24px;
    }

    .home-cta-shell h3 {
        font-size: 28px;
    }

    .home-band {
        padding-bottom: 18px;
    }
}

/* -------------------------------------------------------------------------- */
/* Non-Home Experience                                                         */
/* -------------------------------------------------------------------------- */
.insider-body:not(.page-home) {
    --nh-navy: #112c46;
    --nh-steel: #275b87;
    --nh-teal: #1f6d75;
    --nh-line: #9eb9cf;
    --nh-line-soft: #c4d6e5;
    background:
        radial-gradient(circle at 4% 0%, rgba(39, 91, 135, 0.08), rgba(39, 91, 135, 0) 40%),
        radial-gradient(circle at 94% 6%, rgba(31, 109, 117, 0.06), rgba(31, 109, 117, 0) 42%),
        linear-gradient(180deg, #f9fbff 0%, #f3f8fd 40%, #eef4fa 100%);
}

/* Shared shell spacing for non-home pages stays wide and premium. */
.insider-body:not(.page-home) .page-shell,
.insider-body:not(.page-home) .section {
    padding-inline: clamp(20px, 4.6vw, 104px);
}

.insider-body:not(.page-home) .site-main {
    position: relative;
    padding-bottom: 58px;
}

/* Background motion adds life while preserving business readability. */
.insider-body:not(.page-home) .site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        repeating-linear-gradient(90deg, rgba(158, 185, 207, 0.14), rgba(158, 185, 207, 0.14) 1px, transparent 1px, transparent 92px),
        linear-gradient(120deg, rgba(39, 91, 135, 0.06), rgba(31, 109, 117, 0.05) 42%, rgba(17, 44, 70, 0.05));
    opacity: 0.44;
    animation: nonHomeBackdropDrift 40s linear infinite;
}

/* Section spacing and rails keep long pages visually organized. */
.insider-body:not(.page-home) .section {
    position: relative;
    padding-top: clamp(34px, 5.2vw, 64px);
}

.insider-body:not(.page-home) .section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(39, 91, 135, 0.62) 35%, rgba(31, 109, 117, 0.62) 65%, transparent 100%);
    opacity: 0.68;
    animation: nonHomeRailPulse 8.4s ease-in-out infinite;
}

.insider-body:not(.page-home) .section-tight {
    padding-top: 22px;
}

/* Heading treatment aligns all page sections to the new visual standard. */
.insider-body:not(.page-home) .section-heading {
    border-left: 3px solid #2a5f8c;
    padding-left: 14px;
    max-width: 980px;
    gap: 8px;
}

.insider-body:not(.page-home) .section-heading h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: #102c47;
}

.insider-body:not(.page-home) .section-copy {
    color: #35526d;
}

.insider-body:not(.page-home) .page-brief {
    border-top-width: 2px;
}

.insider-body:not(.page-home) .brief-prompt-grid {
    margin-top: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insider-body:not(.page-home) .brief-prompt-card {
    border-top-width: 4px;
    border-top-style: solid;
    border-top-color: #2f628d;
    background: linear-gradient(180deg, #fcfeff 0%, #eef6fc 100%);
}

.insider-body:not(.page-home) .page-brief-company .brief-prompt-card {
    border-top-color: #2f628d;
}

.insider-body:not(.page-home) .page-brief-support .brief-prompt-card {
    border-top-color: #19665c;
}

.insider-body:not(.page-home) .page-brief-updates .brief-prompt-card {
    border-top-color: #3556a8;
}

.insider-body:not(.page-home) .page-brief-legal .brief-prompt-card {
    border-top-color: #8b3a22;
}

.insider-body:not(.page-home) .page-brief-account .brief-prompt-card {
    border-top-color: #6b4d9d;
}

.insider-body:not(.page-home) .page-brief-home .brief-prompt-card {
    border-top-color: #2a737f;
}

.insider-body:not(.page-home) .page-expansion {
    border-top-width: 2px;
}

.insider-body:not(.page-home) .page-expansion .section-heading {
    border-left-width: 4px;
}

.insider-body:not(.page-home) .page-expansion .page-expansion-ledger {
    margin-top: 12px;
}

.insider-body:not(.page-home) .page-expansion-cards {
    margin-top: 12px;
}

.insider-body:not(.page-home) .page-expansion-card {
    border-left-width: 4px;
    border-left-style: solid;
}

.insider-body:not(.page-home) .page-expansion-products .section-heading,
.insider-body:not(.page-home) .page-expansion-products .page-expansion-card {
    border-left-color: #2b6c8f;
}

.insider-body:not(.page-home) .page-expansion-company .section-heading,
.insider-body:not(.page-home) .page-expansion-company .page-expansion-card {
    border-left-color: #2f628d;
}

.insider-body:not(.page-home) .page-expansion-solutions .section-heading,
.insider-body:not(.page-home) .page-expansion-solutions .page-expansion-card {
    border-left-color: #3f5f95;
}

.insider-body:not(.page-home) .page-expansion-support .section-heading,
.insider-body:not(.page-home) .page-expansion-support .page-expansion-card {
    border-left-color: #1d6b5f;
}

.insider-body:not(.page-home) .page-expansion-updates .section-heading,
.insider-body:not(.page-home) .page-expansion-updates .page-expansion-card {
    border-left-color: #3854a6;
}

.insider-body:not(.page-home) .page-expansion-legal .section-heading,
.insider-body:not(.page-home) .page-expansion-legal .page-expansion-card {
    border-left-color: #8a452a;
}

.insider-body:not(.page-home) .page-expansion-products .page-expansion-ledger .table-row.head {
    background: linear-gradient(180deg, #e6f2fb 0%, #dcedf9 100%);
}

.insider-body:not(.page-home) .page-expansion-company .page-expansion-ledger .table-row.head {
    background: linear-gradient(180deg, #e7f2fb 0%, #ddebf8 100%);
}

.insider-body:not(.page-home) .page-expansion-solutions .page-expansion-ledger .table-row.head {
    background: linear-gradient(180deg, #eaeeff 0%, #dfe5fb 100%);
}

.insider-body:not(.page-home) .page-expansion-support .page-expansion-ledger .table-row.head {
    background: linear-gradient(180deg, #e6f7f2 0%, #daf0ea 100%);
}

.insider-body:not(.page-home) .page-expansion-updates .page-expansion-ledger .table-row.head {
    background: linear-gradient(180deg, #ebedff 0%, #e0e4fb 100%);
}

.insider-body:not(.page-home) .page-expansion-legal .page-expansion-ledger .table-row.head {
    background: linear-gradient(180deg, #f8ece7 0%, #f2e2db 100%);
}

/* 404 gets a stronger contrast treatment so recovery actions are obvious. */
.insider-body.page-404 .hero-panel {
    background: linear-gradient(120deg, #f8fbff 0%, #eaf3fb 52%, #e2eef8 100%);
}

.insider-body.page-404 .hero-title {
    max-width: 15ch;
}

.insider-body.page-404 .surface {
    border-left-width: 4px;
    border-left-color: #315f86;
}

.insider-body.page-company-pricing .pricing-board {
    gap: 14px;
}

.insider-body.page-company-pricing .plan-card {
    border-top-width: 4px;
    border-top-style: solid;
    padding-top: 14px;
}

.insider-body.page-company-pricing .plan-card--starter {
    border-top-color: #1f6a84;
    background: linear-gradient(180deg, #f8fdff 0%, #e9f6fc 100%);
}

.insider-body.page-company-pricing .plan-card--growth {
    border-top-color: #6f4ba6;
    background: linear-gradient(180deg, #fbf8ff 0%, #f0e9fb 100%);
}

.insider-body.page-company-pricing .plan-card--all-access {
    border-top-color: #9d3f62;
    background: linear-gradient(180deg, #fff8fb 0%, #f9e9ef 100%);
}

.insider-body.page-company-pricing .plan-card--coming-soon::after {
    content: "Waitlist";
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid #b6a2d6;
    background: #f1e9ff;
    color: #4f3381;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    padding: 4px 6px;
}

.insider-body.page-company-pricing .pricing-lifecycle {
    gap: 14px;
}

.insider-body.page-company-pricing .pricing-phase {
    border-left-width: 4px;
    border-left-style: solid;
    display: grid;
    gap: 10px;
    align-content: start;
}

.insider-body.page-company-pricing .pricing-phase-live {
    border-left-color: #1f6a84;
}

.insider-body.page-company-pricing .pricing-phase-next {
    border-left-color: #6f4ba6;
}

.insider-body.page-company-pricing .pricing-phase-later {
    border-left-color: #9d3f62;
}

/* Hero is full-bleed with elevated framing and controlled image spacing. */
.insider-body:not(.page-home) .hero .page-shell {
    padding-inline: 0;
}

.insider-body:not(.page-home) .hero-panel {
    border-top: 1px solid var(--nh-line);
    border-bottom: 1px solid var(--nh-line);
    background: linear-gradient(120deg, #f9fcff 0%, #eef6fd 52%, #e9f2fa 100%);
    overflow: hidden;
}

.insider-body:not(.page-home) .hero-panel::before {
    height: 4px;
    background: linear-gradient(90deg, var(--nh-navy) 0%, var(--nh-steel) 56%, var(--nh-teal) 100%);
}

.insider-body:not(.page-home) .hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)),
        repeating-linear-gradient(0deg, rgba(158, 185, 207, 0.15), rgba(158, 185, 207, 0.15) 1px, transparent 1px, transparent 40px);
    opacity: 0.6;
    animation: nonHomeHeroSweep 20s linear infinite;
}

.insider-body:not(.page-home) .hero-layout {
    position: relative;
    z-index: 1;
}

.insider-body:not(.page-home) .hero-content {
    padding: clamp(30px, 4.6vw, 72px) clamp(20px, 4.8vw, 96px);
    gap: 17px;
}

.insider-body:not(.page-home) .hero-title {
    max-width: 19ch;
    color: #0f2942;
}

.insider-body:not(.page-home) .hero-lead {
    max-width: 72ch;
    color: #34506b;
}

.insider-body:not(.page-home) .hero-actions .btn {
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.insider-body:not(.page-home) .hero-actions .btn:hover {
    transform: translateY(-2px);
}

.insider-body:not(.page-home) .hero-stat {
    border-color: #b6cbde;
    border-left-width: 4px;
    border-left-color: #3c6f9f;
    background: linear-gradient(180deg, #f9fcff 0%, #f1f7fc 100%);
}

.insider-body:not(.page-home) .hero-media {
    border-left: 1px solid var(--nh-line);
    background: transparent;
    padding: 0;
    height: clamp(300px, 34vw, 500px);
    min-height: 0;
}

.insider-body:not(.page-home) .hero-image {
    min-height: 0;
    border: 0;
}

.insider-body:not(.page-home) .hero-media-caption {
    border-top: 1px solid var(--nh-line);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: transparent;
}

/* Buttons carry a stronger interactive feel while remaining flat. */
.insider-body:not(.page-home) .btn {
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.insider-body:not(.page-home) .btn:hover {
    transform: translateY(-1px);
}

/* Core surface components now share a premium card language. */
.insider-body:not(.page-home) .card,
.insider-body:not(.page-home) .surface,
.insider-body:not(.page-home) .kpi,
.insider-body:not(.page-home) .roadmap-column,
.insider-body:not(.page-home) .status-item,
.insider-body:not(.page-home) .portal-nav,
.insider-body:not(.page-home) .portal-panel,
.insider-body:not(.page-home) .form-card,
.insider-body:not(.page-home) .faq-item {
    position: relative;
    border-color: #a7c0d4;
    background: linear-gradient(180deg, #fbfdff 0%, #eff6fc 100%);
    transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
    transform-style: preserve-3d;
}

.insider-body:not(.page-home) .card::before,
.insider-body:not(.page-home) .surface::before,
.insider-body:not(.page-home) .kpi::before,
.insider-body:not(.page-home) .roadmap-column::before,
.insider-body:not(.page-home) .status-item::before,
.insider-body:not(.page-home) .portal-nav::before,
.insider-body:not(.page-home) .portal-panel::before,
.insider-body:not(.page-home) .form-card::before,
.insider-body:not(.page-home) .faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #2a5f8c 0%, #1f6d75 100%);
}

.insider-body:not(.page-home) .card:hover,
.insider-body:not(.page-home) .surface:hover,
.insider-body:not(.page-home) .kpi:hover,
.insider-body:not(.page-home) .roadmap-column:hover,
.insider-body:not(.page-home) .status-item:hover,
.insider-body:not(.page-home) .portal-nav:hover,
.insider-body:not(.page-home) .portal-panel:hover,
.insider-body:not(.page-home) .form-card:hover,
.insider-body:not(.page-home) .faq-item:hover {
    border-color: #6f95b7;
    transform: translateY(-3px);
}

.insider-body:not(.page-home) .card h3,
.insider-body:not(.page-home) .surface h3,
.insider-body:not(.page-home) .roadmap-column h3,
.insider-body:not(.page-home) .blog-card h3 {
    color: #112d47;
}

.insider-body:not(.page-home) .card p,
.insider-body:not(.page-home) .surface p,
.insider-body:not(.page-home) .roadmap-column p,
.insider-body:not(.page-home) .status-item p,
.insider-body:not(.page-home) .timeline p,
.insider-body:not(.page-home) .faq-item p {
    color: #35526d;
}

/* Tabular and timeline components get stronger visual hierarchy. */
.insider-body:not(.page-home) .table {
    position: relative;
    border-color: #a7c0d4;
    background: linear-gradient(180deg, #fbfdff 0%, #eff6fc 100%);
}

.insider-body:not(.page-home) .table::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #2a5f8c 0%, #1f6d75 100%);
}

.insider-body:not(.page-home) .table-row.head {
    background: linear-gradient(180deg, #e7f1fb 0%, #dfeaf6 100%);
    color: #274560;
}

.insider-body:not(.page-home) .table-row:not(.head) {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.insider-body:not(.page-home) .table-row:not(.head):hover {
    background: #f7fbff;
    transform: translateX(2px);
}

.insider-body:not(.page-home) .timeline li {
    border-left-width: 4px;
    border-left-color: #2a5f8c;
    border-top-color: #a7c0d4;
    border-right-color: #a7c0d4;
    border-bottom-color: #a7c0d4;
    background: linear-gradient(180deg, #fbfdff 0%, #f0f7fd 100%);
}

.insider-body:not(.page-home) .timeline h4 {
    color: #122f49;
}

/* Gallery and blog visuals are framed instead of corner-flush. */
.insider-body:not(.page-home) .blog-card {
    padding: 0;
    gap: 10px;
    border-color: transparent;
    background: transparent;
}

.insider-body:not(.page-home) .blog-card img {
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.insider-body:not(.page-home) .blog-card-body {
    padding: 0;
}

.insider-body:not(.page-home) .visual-card {
    margin: 0;
    padding: 0;
    border-color: transparent;
    background: transparent;
}

.insider-body:not(.page-home) .visual-card img {
    aspect-ratio: 16 / 10;
    height: auto;
    border: 0;
}

.insider-body:not(.page-home) .visual-card figcaption {
    border: 0;
    background: transparent;
    color: #34516c;
    padding: 9px 0 0;
}

/* Keep non-home image cards static and unframed. */
.insider-body:not(.page-home) .blog-card:hover,
.insider-body:not(.page-home) .visual-card:hover {
    border-color: transparent;
    transform: none;
}

/* Form and portal controls are aligned to the upgraded flat theme. */
.insider-body:not(.page-home) .portal-nav a {
    border-color: #b7cbdd;
    background: #f5f9fd;
}

.insider-body:not(.page-home) .portal-nav a.active,
.insider-body:not(.page-home) .portal-nav a:hover {
    border-color: #6f95b7;
    background: #e8f2fb;
    color: #184972;
}

.insider-body:not(.page-home) .settings-nav .settings-nav-link {
    border-color: #afc6d8;
    background: #f4f9fd;
}

.insider-body:not(.page-home) .settings-nav .settings-nav-link:hover {
    border-color: #6f95b7;
    background: #e8f2fb;
    color: #184972;
}

.insider-body:not(.page-home) .settings-nav .settings-nav-link.active {
    border-color: #5d88ad;
    background: linear-gradient(180deg, #eef6ff 0%, #e2eef9 100%);
    color: #163f62;
}

.insider-body:not(.page-home) .field input,
.insider-body:not(.page-home) .field select,
.insider-body:not(.page-home) .field textarea {
    border-color: #a9c0d4;
    background: #fbfdff;
}

.insider-body:not(.page-home) .field input:hover,
.insider-body:not(.page-home) .field select:hover,
.insider-body:not(.page-home) .field textarea:hover {
    border-color: #7398ba;
}

.insider-body:not(.page-home) .field input:focus,
.insider-body:not(.page-home) .field select:focus,
.insider-body:not(.page-home) .field textarea:focus {
    border-color: #2a5f8c;
    background: #f3f9ff;
}

/* Non-home child reveal utility classes are toggled by JavaScript. */
.insider-body:not(.page-home) .reveal-child {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
}

.insider-body:not(.page-home) .reveal-child.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.46s ease, transform 0.46s ease;
}

/* Badge and alert polish for consistency with the new palette. */
.insider-body:not(.page-home) .badge.info {
    color: #17426a;
    background: #e4f0fb;
    border-color: #8eb6dd;
}

.insider-body:not(.page-home) .badge.good {
    background: #dff5e7;
}

.insider-body:not(.page-home) .badge.warn {
    background: #fff0de;
}

.insider-body:not(.page-home) .alert {
    border-color: #adc3d6;
    background: linear-gradient(180deg, #fafdff 0%, #eff6fc 100%);
}

/* -------------------------------------------------------------------------- */
/* Onboarding                                                                 */
/* -------------------------------------------------------------------------- */
.insider-onb-shell {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 34px 16px 40px;
    background:
        radial-gradient(900px 320px at 8% -10%, rgba(42, 95, 140, 0.15), transparent 62%),
        radial-gradient(760px 280px at 96% 0%, rgba(31, 109, 117, 0.12), transparent 62%),
        linear-gradient(180deg, #f4f9fe 0%, #f9fcff 100%);
}

.insider-onb-wrap {
    width: min(1040px, 100%);
}

.insider-onb-pagehead {
    margin-bottom: 14px;
    padding: 0 2px;
}

.insider-onb-kicker {
    margin: 0;
    color: #355470;
    font-size: 0.74rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 800;
}

.insider-onb-title {
    margin: 7px 0 0;
    font-size: clamp(1.65rem, 2.45vw, 2.1rem);
    line-height: 1.1;
    color: #112d47;
}

.insider-onb-sub {
    margin: 8px 0 0;
    color: #35526d;
    max-width: 64ch;
}

.insider-onb-form {
    margin: 0;
    display: grid;
    gap: 12px;
}

.insider-onb-mode-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.insider-onb-mode-option {
    position: relative;
    border: 1px solid #a7c0d4;
    border-radius: 0;
    background: linear-gradient(180deg, #fbfdff 0%, #eff6fc 100%);
    padding: 12px;
    cursor: pointer;
    min-height: 82px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.insider-onb-mode-option::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #2a5f8c 0%, #1f6d75 100%);
    opacity: 0.32;
}

.insider-onb-mode-option:hover {
    border-color: #6f95b7;
    transform: translateY(-2px);
}

.insider-onb-mode-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.insider-onb-mode-title {
    display: block;
    font-weight: 700;
    color: #112d47;
    font-size: 0.93rem;
    margin-bottom: 5px;
}

.insider-onb-mode-copy {
    display: block;
    color: #35526d;
    font-size: 0.83rem;
    line-height: 1.3;
}

.insider-onb-mode-option.is-selected {
    border-color: #5d88ad;
    background: linear-gradient(180deg, #f4f9ff 0%, #e9f2fa 100%);
    box-shadow: inset 0 0 0 1px #7ba0c0;
}

.insider-onb-mode-options.is-locked .insider-onb-mode-option:not(.insider-onb-mode-skip) {
    cursor: default;
    opacity: 0.9;
}

.insider-onb-mode-options.is-locked .insider-onb-mode-option:not(.insider-onb-mode-skip):hover {
    border-color: #a7c0d4;
    transform: none;
}

.insider-onb-mode-skip {
    border-style: dashed;
    width: 100%;
    text-align: left;
    color: inherit;
    font: inherit;
}

.insider-onb-mode-skip:focus-visible {
    outline: 0;
    border-color: #2a5f8c;
    box-shadow: inset 0 0 0 1px #2a5f8c;
}

.insider-onb-card {
    position: relative;
    width: 100%;
    border: 1px solid #a7c0d4;
    border-radius: 0;
    background: linear-gradient(180deg, #fbfdff 0%, #eff6fc 100%);
    padding: 0 18px 18px;
    overflow: hidden;
}

.insider-onb-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #2a5f8c 0%, #1f6d75 100%);
}

.insider-onb-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 -18px 16px;
    padding: 0;
    border-bottom: 1px solid #b9ccdd;
    overflow: hidden;
    background: #f4f9fd;
}

.insider-onb-step {
    border-right: 1px solid #ccdae8;
    color: #476883;
    background: #f8fbfe;
}

.insider-onb-step:last-child {
    border-right: 0;
}

.insider-onb-step-link {
    display: block;
    min-height: 72px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    padding: 10px 8px 11px;
    transition: background-color 0.16s ease;
}

.insider-onb-step-link:hover {
    background: rgba(31, 109, 117, 0.1);
}

.insider-onb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #9fb6ca;
    border-radius: 999px;
    background: #eef4fa;
    color: #264760;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.insider-onb-step-label {
    display: block;
    margin-top: 7px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.insider-onb-step.is-pending {
    background: #f8fbfe;
    color: #5a7892;
}

.insider-onb-step.is-complete {
    background: #edf7f0;
    color: #1f6743;
}

.insider-onb-step.is-complete .insider-onb-step-num {
    border-color: #87b79b;
    background: #e5f3eb;
    color: #1c6741;
}

.insider-onb-step.is-active {
    background: #e8f2fa;
    color: #173f63;
    box-shadow: inset 0 -3px 0 #2a5f8c;
}

.insider-onb-step.is-active .insider-onb-step-num {
    border-color: #2a5f8c;
    background: #dbebfa;
    color: #123859;
}

.insider-onb-form.is-join-mode .insider-onb-card {
    padding-top: 18px;
}

.insider-onb-form.is-join-mode .insider-onb-steps {
    display: none;
}

.insider-onb-mode-pane {
    margin-bottom: 10px;
}

.insider-onb-mode-pane.is-hidden {
    display: none;
}

.insider-onb-mode-help {
    margin: 0 0 10px;
    font-size: 0.84rem;
    color: #3f5d77;
}

.insider-onb-repeat {
    display: grid;
    gap: 9px;
}

.insider-onb-repeat-rows {
    display: grid;
    gap: 8px;
}

.insider-onb-repeat-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.insider-onb-repeat-row .btn {
    white-space: nowrap;
}

.insider-onb-repeat-add {
    justify-self: start;
}

.insider-onb-hours {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.insider-onb-hours-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #c2d4e3;
    background: #f8fbfe;
    padding: 8px 10px;
}

.insider-onb-hours-day {
    font-weight: 700;
    color: #1d4465;
    font-size: 0.84rem;
}

.insider-onb-hours-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.insider-onb-hours-inputs span {
    color: #4f6b82;
    font-size: 0.82rem;
}

.insider-onb-hours-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #35526d;
    font-size: 0.82rem;
    user-select: none;
    white-space: nowrap;
}

.insider-onb-grid {
    display: grid;
    gap: 14px;
}

.insider-onb-summary {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.insider-onb-summary-item {
    border: 1px solid #b9ccdd;
    border-radius: 0;
    padding: 10px 12px;
    background: #f8fbfe;
}

.insider-onb-summary-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #41617d;
}

.insider-onb-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.insider-onb-spacer {
    flex: 1 1 auto;
}

@media (max-width: 860px) {
    .insider-onb-shell {
        padding-top: 26px;
    }

    .insider-onb-mode-options {
        grid-template-columns: 1fr;
    }

    .insider-onb-mode-option {
        min-height: auto;
    }

    .insider-onb-card {
        padding: 0 14px 14px;
    }

    .insider-onb-steps {
        margin-left: -14px;
        margin-right: -14px;
    }

    .insider-onb-step-link {
        min-height: 64px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .insider-onb-repeat-row {
        grid-template-columns: 1fr;
    }

    .insider-onb-repeat-row .btn {
        justify-self: end;
    }

    .insider-onb-hours-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .insider-onb-hours-inputs {
        grid-template-columns: 1fr;
    }

    .insider-onb-hours-inputs span {
        display: none;
    }

    .insider-onb-step-label {
        font-size: 0.75rem;
        margin-top: 6px;
    }

    .insider-onb-step-num {
        width: 22px;
        height: 22px;
        font-size: 0.66rem;
    }

    .insider-onb-form.is-join-mode .insider-onb-card {
        padding-top: 14px;
    }
}

/* Non-home keyframes centralize reusable motion effects. */
@keyframes nonHomeBackdropDrift {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-14px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes nonHomeRailPulse {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.9;
    }
}

@keyframes nonHomeHeroSweep {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(7px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Accessibility: disable non-essential motion when users request reduced motion. */
@media (prefers-reduced-motion: reduce) {
    .insider-body:not(.page-home) .site-main::before,
    .insider-body:not(.page-home) .section::before,
    .insider-body:not(.page-home) .hero-panel::after {
        animation: none;
    }
}

/* Tablet layout adjustments for upgraded non-home styles. */
@media (max-width: 1080px) {
    .insider-body:not(.page-home) .page-shell,
    .insider-body:not(.page-home) .section {
        padding-inline: 18px;
    }

    .insider-body:not(.page-home) .hero-content {
        padding: 24px 18px;
    }

    .insider-body:not(.page-home) .hero-media {
        border-left: 0;
        border-top: 1px solid var(--nh-line);
        height: clamp(280px, 58vw, 440px);
        min-height: 0;
    }

    .insider-body:not(.page-home) .blog-card img {
        height: auto;
    }

    .insider-body:not(.page-home) .visual-card img {
        height: auto;
    }
}

/* -------------------------------------------------------------------------- */
/* Home Page Signalboard Redesign                                             */
/* -------------------------------------------------------------------------- */
.insider-body.page-home {
    --home-signal-navy: #0d2236;
    --home-signal-steel: #1f4f77;
    --home-signal-cyan: #2c8ea3;
    --home-signal-line: #9db7cb;
    --home-signal-ice: #e8f4ff;
}

.insider-body.page-home .home-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1f4f77;
}

.insider-body.page-home .home-orbit-hero {
    position: relative;
    width: 100%;
    margin: 0;
    border-top: 1px solid #365f7f;
    border-bottom: 1px solid #365f7f;
    background: linear-gradient(140deg, #10263a 0%, #13314a 50%, #102942 100%);
    color: #eaf5ff;
    overflow: hidden;
    isolation: isolate;
}

.insider-body.page-home .home-orbit-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(160, 191, 214, 0.12), rgba(160, 191, 214, 0.12) 1px, transparent 1px, transparent 122px),
        repeating-linear-gradient(0deg, rgba(160, 191, 214, 0.08), rgba(160, 191, 214, 0.08) 1px, transparent 1px, transparent 64px);
    opacity: 0.46;
    animation: homeOrbitGridDrift 28s linear infinite;
    pointer-events: none;
}

.insider-body.page-home .home-orbit-hero::after {
    content: "";
    position: absolute;
    inset: -15% -10%;
    background:
        radial-gradient(700px 300px at 12% 12%, rgba(67, 180, 173, 0.28), rgba(67, 180, 173, 0) 64%),
        radial-gradient(620px 280px at 92% 8%, rgba(123, 167, 223, 0.24), rgba(123, 167, 223, 0) 62%),
        radial-gradient(620px 290px at 42% 100%, rgba(76, 123, 189, 0.17), rgba(76, 123, 189, 0) 66%);
    filter: blur(12px);
    opacity: 0.8;
    animation: homeOrbitAuraFloat 18s ease-in-out infinite;
    pointer-events: none;
}

.insider-body.page-home .home-orbit-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    grid-template-rows: auto auto;
    grid-template-areas:
        "core media"
        "rail media";
    gap: 12px;
    min-height: clamp(470px, 60vw, 690px);
    padding: clamp(14px, 2.2vw, 24px);
}

.insider-body.page-home .home-orbit-rail {
    grid-area: rail;
    border: 1px solid rgba(172, 204, 225, 0.36);
    background: linear-gradient(180deg, rgba(12, 34, 52, 0.72) 0%, rgba(11, 30, 47, 0.66) 100%);
    border-radius: 16px;
    padding: clamp(11px, 1.5vw, 15px);
    backdrop-filter: blur(6px);
    display: grid;
    align-content: start;
    gap: 8px;
}

.insider-body.page-home .home-orbit-rail-kicker {
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: #a8cae6;
}

.insider-body.page-home .home-orbit-rail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.insider-body.page-home .home-orbit-rail-item {
    border: 1px solid rgba(164, 199, 223, 0.32);
    background: rgba(11, 31, 48, 0.62);
    border-radius: 10px;
    padding: 8px 10px;
    display: grid;
    gap: 3px;
    transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.insider-body.page-home .home-orbit-rail-item:hover {
    border-color: rgba(194, 222, 241, 0.65);
    transform: translateY(-1px);
    background: rgba(15, 40, 61, 0.74);
}

.insider-body.page-home .home-orbit-rail-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 800;
    color: #d8ebfb;
}

.insider-body.page-home .home-orbit-rail-state {
    font-size: 12px;
    color: #9ec3df;
}

.insider-body.page-home .home-orbit-core {
    grid-area: core;
    padding: clamp(20px, 3.8vw, 60px) clamp(16px, 4vw, 68px);
    display: grid;
    align-content: center;
    gap: 13px;
    border: 1px solid rgba(172, 204, 225, 0.44);
    border-radius: 20px;
    background:
        linear-gradient(160deg, rgba(12, 33, 51, 0.78) 0%, rgba(16, 40, 60, 0.74) 66%, rgba(12, 33, 51, 0.78) 100%);
    backdrop-filter: blur(7px);
}

.insider-body.page-home .home-orbit-kicker {
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
    color: #a8cae6;
}

.insider-body.page-home .home-orbit-title {
    margin: 0;
    font-size: clamp(38px, 5.8vw, 80px);
    line-height: 0.91;
    max-width: 11ch;
    color: #f2f8ff;
}

.insider-body.page-home .home-orbit-lead {
    margin: 0;
    max-width: 60ch;
    color: #b9d4e9;
    font-size: clamp(15px, 1.45vw, 18px);
}

.insider-body.page-home .home-orbit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.insider-body.page-home .home-orbit-strips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.insider-body.page-home .home-orbit-strips span {
    border: 1px solid rgba(165, 198, 221, 0.44);
    background: rgba(9, 30, 46, 0.54);
    color: #d8ebfb;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 6px 8px;
}

.insider-body.page-home .home-orbit-media {
    grid-area: media;
    margin: 0;
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    border: 1px solid rgba(172, 204, 225, 0.4);
    border-radius: 20px;
    overflow: hidden;
    background: #0a1f31;
    box-shadow: 0 22px 40px rgba(5, 16, 27, 0.28);
}

.insider-body.page-home .home-orbit-image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.08);
}

.insider-body.page-home .home-orbit-caption {
    margin: 0;
    padding: 11px 12px;
    font-size: 12px;
    color: #c6dff1;
    border-top: 1px solid rgba(165, 198, 221, 0.34);
    background: rgba(7, 23, 36, 0.84);
}

.insider-body.page-home .home-orbit-ticker {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(165, 198, 221, 0.34);
    background: rgba(5, 18, 28, 0.9);
    overflow: hidden;
}

.insider-body.page-home .home-orbit-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    padding: 7px 0;
    min-width: 100%;
    animation: homeOrbitTickerMove 20s linear infinite;
}

.insider-body.page-home .home-orbit-ticker-track span {
    color: #9fc3df;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.insider-body.page-home .home-spotlight {
    padding-top: clamp(34px, 6vw, 66px);
}

.insider-body.page-home .home-spotlight-shell {
    border: 1px solid var(--home-signal-line);
    background: linear-gradient(120deg, #f9fcff 0%, #ecf5fd 52%, #e6f1fb 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 18px;
    padding: clamp(18px, 3.2vw, 32px);
}

.insider-body.page-home .home-spotlight-copy {
    display: grid;
    gap: 12px;
    max-width: 70ch;
}

.insider-body.page-home .home-spotlight-copy h2 {
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.05;
    color: #0f2c46;
    max-width: 15ch;
}

.insider-body.page-home .home-lead-copy {
    color: #33516d;
}

.insider-body.page-home .home-spotlight-list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.insider-body.page-home .home-spotlight-list li {
    border-left: 3px solid #3f709b;
    background: rgba(255, 255, 255, 0.66);
    border-top: 1px solid #c7d9ea;
    border-right: 1px solid #c7d9ea;
    border-bottom: 1px solid #c7d9ea;
    padding: 8px 10px;
    color: #2f4c67;
}

.insider-body.page-home .home-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.insider-body.page-home .home-spotlight-card {
    border: 1px solid #a9c2d6;
    border-left: 3px solid #315f86;
    background: linear-gradient(180deg, #fbfdff 0%, #f0f7fd 100%);
    display: grid;
    gap: 7px;
    padding: 12px;
    transform-style: preserve-3d;
}

.insider-body.page-home .home-spotlight-value {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(27px, 3.8vw, 39px);
    line-height: 1;
    color: #0f2b45;
}

.insider-body.page-home .home-spotlight-label {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 800;
    color: #2d4f6d;
}

.insider-body.page-home .home-spotlight-card-copy {
    margin: 0;
    color: #3d5d79;
    font-size: 13px;
}

.insider-body.page-home .home-spotlight-meter {
    height: 6px;
    border: 1px solid #9cb8cd;
    background: #e5f0fa;
    overflow: hidden;
}

.insider-body.page-home .home-spotlight-meter span {
    display: block;
    height: 100%;
    width: var(--meter, 82%);
    background: linear-gradient(90deg, #1f4f77 0%, #2c8ea3 100%);
    animation: homeSignalMeterPulse 5.4s ease-in-out infinite;
}

.insider-body.page-home .home-section-head {
    display: grid;
    gap: 8px;
    border-left: 3px solid #315f86;
    padding-left: 12px;
    max-width: 86ch;
}

.insider-body.page-home .home-section-head h2 {
    font-size: clamp(30px, 4.2vw, 50px);
    color: #0f2c46;
    max-width: 22ch;
}

.insider-body.page-home .home-section-head p {
    color: #35536f;
}

.insider-body.page-home .home-section-head .home-kicker {
    color: #1f4f77;
}

.insider-body.page-home .home-dayflow-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.insider-body.page-home .home-dayflow-step {
    border: 1px solid #a8c0d5;
    border-left: 4px solid #1f4f77;
    background: linear-gradient(180deg, #fbfdff 0%, #eef6fd 100%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.insider-body.page-home .home-dayflow-time {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    color: #123757;
    letter-spacing: 0.01em;
    min-width: 58px;
}

.insider-body.page-home .home-dayflow-body {
    display: grid;
    gap: 3px;
}

.insider-body.page-home .home-dayflow-body h3 {
    font-size: 19px;
    color: #12324f;
}

.insider-body.page-home .home-dayflow-body p {
    color: #3a5a75;
    font-size: 14px;
}

.insider-body.page-home .home-dayflow-state {
    border: 1px solid #99b5ca;
    background: #e8f3fc;
    color: #18486f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 5px 8px;
}

.insider-body.page-home .home-lane-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
}

.insider-body.page-home .home-lanes {
    position: relative;
    padding-bottom: clamp(10px, 1.8vw, 18px);
}

.insider-body.page-home .home-lane-card {
    border: 1px solid #a6c0d5;
    border-top: 3px solid #2c618d;
    background: linear-gradient(180deg, #fbfdff 0%, #eef6fd 100%);
    padding: 13px;
    display: grid;
    gap: 8px;
    transform-style: preserve-3d;
}

.insider-body.page-home .home-lane-eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2a577d;
}

.insider-body.page-home .home-lane-card h3 {
    font-size: 25px;
    line-height: 1.12;
    color: #0f2d49;
    max-width: 16ch;
}

.insider-body.page-home .home-lane-card p {
    color: #35536e;
}

.insider-body.page-home .home-lane-list {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.insider-body.page-home .home-lane-list li {
    border-left: 2px solid #4f7aa1;
    padding-left: 8px;
    color: #2f4f6a;
    font-size: 13px;
}

.insider-body.page-home .home-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #17446a;
    border-bottom: 1px solid transparent;
}

.insider-body.page-home .home-inline-link::after {
    content: "->";
    font-size: 12px;
}

.insider-body.page-home .home-inline-link:hover {
    border-bottom-color: currentColor;
}

.insider-body.page-home .home-cockpit {
    border-top: 1px solid #88a6be;
    border-bottom: 1px solid #88a6be;
    background:
        linear-gradient(90deg, rgba(157, 183, 203, 0.16), rgba(157, 183, 203, 0.16) 1px, transparent 1px, transparent 120px),
        linear-gradient(120deg, #0f2b44 0%, #1b4b72 48%, #236a78 100%);
    color: #f1f8ff;
    margin-top: clamp(10px, 1.8vw, 18px);
    padding-top: clamp(24px, 3.2vw, 36px);
    padding-bottom: clamp(24px, 3.2vw, 36px);
}

.insider-body.page-home .home-cockpit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 12px;
}

.insider-body.page-home .home-cockpit-panel {
    border: 1px solid rgba(157, 183, 203, 0.52);
    background: linear-gradient(180deg, rgba(15, 36, 56, 0.9) 0%, rgba(19, 45, 69, 0.92) 100%);
    padding: 13px;
    display: grid;
    gap: 9px;
}

.insider-body.page-home .home-cockpit-panel .home-kicker {
    color: #9fd1ff;
}

.insider-body.page-home .home-cockpit-panel h3 {
    color: #f4f9ff;
    font-size: clamp(27px, 3.2vw, 37px);
    max-width: 17ch;
}

.insider-body.page-home .home-cockpit-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.insider-body.page-home .home-cockpit-list li {
    border: 1px solid rgba(157, 183, 203, 0.36);
    background: rgba(11, 29, 45, 0.38);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: #d3e7f8;
}

.insider-body.page-home .home-cockpit-status {
    border: 1px solid rgba(157, 183, 203, 0.5);
    padding: 4px 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.insider-body.page-home .home-cockpit-status.good {
    color: #bdfcd8;
    border-color: rgba(97, 207, 154, 0.7);
    background: rgba(45, 118, 87, 0.25);
}

.insider-body.page-home .home-cockpit-status.warn {
    color: #ffe7b8;
    border-color: rgba(247, 182, 82, 0.7);
    background: rgba(133, 89, 30, 0.3);
}

.insider-body.page-home .home-cockpit-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.insider-body.page-home .home-cockpit-links a {
    border: 1px solid rgba(157, 183, 203, 0.52);
    background: rgba(11, 29, 45, 0.2);
    color: #d6eafd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 9px;
}

.insider-body.page-home .home-cockpit-links a:hover {
    border-color: rgba(189, 215, 236, 0.8);
    background: rgba(11, 29, 45, 0.35);
}

.insider-body.page-home .home-cockpit-panel-alt {
    background: linear-gradient(180deg, rgba(19, 47, 73, 0.94) 0%, rgba(20, 55, 78, 0.95) 100%);
}

.insider-body.page-home .home-leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.insider-body.page-home .home-leadership-grid article {
    border: 1px solid rgba(157, 183, 203, 0.44);
    background: rgba(9, 26, 41, 0.35);
    padding: 9px;
    display: grid;
    gap: 4px;
}

.insider-body.page-home .home-leadership-grid span {
    color: #b8d8f2;
    font-size: 12px;
}

.insider-body.page-home .home-leadership-grid strong {
    color: #f4f9ff;
    font-size: 18px;
    line-height: 1.2;
}

.insider-body.page-home .home-roadmap-note {
    border: 1px solid rgba(157, 183, 203, 0.44);
    background: rgba(8, 24, 38, 0.3);
    padding: 10px;
    display: grid;
    gap: 6px;
}

.insider-body.page-home .home-roadmap-note p {
    color: #d4e8fa;
    font-size: 13px;
}

.insider-body.page-home .home-scenes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.insider-body.page-home .home-scene-card {
    border: 1px solid #adc4d7;
    background: #f4f9fe;
    margin: 0;
    overflow: hidden;
}

.insider-body.page-home .home-scene-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid #adc4d7;
}

.insider-body.page-home .home-scene-card figcaption {
    color: #35536f;
    padding: 9px 10px;
}

.insider-body.page-home .home-origin-cta {
    padding-bottom: 18px;
}

.insider-body.page-home .home-origin-shell {
    border: 1px solid #8aa9bf;
    border-top-width: 3px;
    border-top-color: #225d87;
    background: linear-gradient(120deg, #eef7ff 0%, #e2f0fb 52%, #dcedf9 100%);
    padding: clamp(18px, 3.1vw, 30px);
    display: grid;
    gap: 11px;
}

.insider-body.page-home .home-origin-shell h3 {
    font-size: clamp(35px, 4.8vw, 62px);
    line-height: 1;
    color: #102f4b;
    max-width: 17ch;
}

.insider-body.page-home .home-origin-shell p {
    color: #35536f;
    max-width: 76ch;
}

.insider-body.page-home .home-origin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

@keyframes homeSignalMeterPulse {
    0%,
    100% {
        filter: saturate(0.9);
    }
    50% {
        filter: saturate(1.15);
    }
}

@keyframes homeOrbitTickerMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes homeOrbitGridDrift {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-18px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes homeOrbitAuraFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-12px, 10px, 0) scale(1.04);
    }
}

@media (max-width: 1080px) {
    .insider-body.page-home .home-spotlight-shell,
    .insider-body.page-home .home-cockpit-grid {
        grid-template-columns: 1fr;
    }

    .insider-body.page-home .home-lane-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insider-body.page-home .home-scenes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .insider-body.page-home .home-spotlight-grid,
    .insider-body.page-home .home-lane-grid,
    .insider-body.page-home .home-leadership-grid,
    .insider-body.page-home .home-scenes-grid {
        grid-template-columns: 1fr;
    }

    .insider-body.page-home .home-dayflow-step {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 560px) {
    .insider-body.page-home .home-spotlight-shell,
    .insider-body.page-home .home-cockpit-panel,
    .insider-body.page-home .home-lane-card,
    .insider-body.page-home .home-dayflow-step {
        padding: 12px;
    }

    .insider-body.page-home .home-cockpit-links,
    .insider-body.page-home .home-origin-actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .insider-body.page-home .home-orbit-hero::before,
    .insider-body.page-home .home-orbit-hero::after,
    .insider-body.page-home .home-orbit-ticker-track {
        animation: none;
    }
}

/* Mobile layout tuning keeps spacing tight and legible. */
@media (max-width: 840px) {
    .insider-body:not(.page-home) .hero .page-shell {
        padding-inline: 0;
    }

    .insider-body:not(.page-home) .hero-content {
        padding: 22px 14px;
    }

    .insider-body:not(.page-home) .page-shell,
    .insider-body:not(.page-home) .section {
        padding-inline: 14px;
    }

    .insider-body:not(.page-home) .card,
    .insider-body:not(.page-home) .surface,
    .insider-body:not(.page-home) .kpi,
    .insider-body:not(.page-home) .roadmap-column,
    .insider-body:not(.page-home) .status-item,
    .insider-body:not(.page-home) .portal-nav,
    .insider-body:not(.page-home) .portal-panel,
    .insider-body:not(.page-home) .form-card,
    .insider-body:not(.page-home) .faq-item {
        padding: 12px;
    }

    .insider-body:not(.page-home) .table-row:not(.head):hover {
        transform: none;
    }
}

/* Small mobile adjustments keep imagery and headings proportional. */
@media (max-width: 560px) {
    .insider-body:not(.page-home) .page-shell,
    .insider-body:not(.page-home) .section {
        padding-inline: 10px;
    }

    .insider-body:not(.page-home) .hero .page-shell {
        padding-inline: 0;
    }

    .insider-body:not(.page-home) .hero-media {
        padding: 0;
        height: clamp(250px, 76vw, 380px);
        min-height: 0;
    }

    .insider-body:not(.page-home) .hero-image {
        min-height: 0;
    }

    .insider-body:not(.page-home) .section-heading h2 {
        font-size: 29px;
    }

    .insider-body:not(.page-home) .blog-card img {
        height: auto;
    }

    .insider-body:not(.page-home) .visual-card img {
        height: auto;
    }
}
