#agent-program,
#agent-program * {
    box-sizing: border-box;
}

#agent-program {
    --agent-brand: #006eff;
    --agent-brand-hover: #0056cc;
    --agent-brand-deep: #0b2f63;
    --agent-brand-ink: #0a2447;
    --agent-brand-soft: #f0f7ff;
    --agent-brand-soft-strong: #e6f0ff;
    --agent-brand-accent: #58b0ff;
    overflow: hidden;
    color: #1d2a3a;
    background: #ffffff;
}

.header-container-modern,
.agent-shell {
    width: min(1400px, calc(100% - 48px));
    box-sizing: border-box;
}

.header-container-modern {
    padding-right: 0;
    padding-left: 0;
}

.agent-shell {
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.agent-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    overflow: hidden;
    background-color: var(--agent-brand-ink);
    background-image: var(--agent-hero-image);
    background-position: center;
    background-size: cover;
}

.agent-hero::before {
    position: absolute;
    inset: 0;
    background: rgba(4, 25, 61, 0.58);
    content: "";
}

.agent-hero__content {
    max-width: 760px;
    padding: 82px 0 72px;
    color: #ffffff;
}

.agent-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 17px;
    color: #b9dcff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.agent-eyebrow i {
    font-size: 16px;
}

.agent-hero h1 {
    max-width: 750px;
    margin: 0;
    color: #ffffff;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0;
}

.agent-hero__lead {
    max-width: 690px;
    margin: 21px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.85;
}

.agent-hero__actions,
.agent-closing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.agent-hero__actions {
    margin-top: 31px;
}

.agent-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.agent-button:hover,
.agent-button:focus {
    transform: translateY(-1px);
    text-decoration: none;
}

.agent-button--primary {
    border-color: #ffffff;
    background: #ffffff;
    color: #0b3c78;
}

.agent-button--primary:hover,
.agent-button--primary:focus {
    background: var(--agent-brand-soft);
    color: #07366e;
}

.agent-button--secondary {
    border-color: rgba(255, 255, 255, 0.56);
    background: transparent;
    color: #ffffff;
}

.agent-button--secondary:hover,
.agent-button--secondary:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.agent-button--accent {
    border-color: var(--agent-brand);
    background: var(--agent-brand);
    color: #ffffff;
}

.agent-button--accent:hover,
.agent-button--accent:focus {
    border-color: var(--agent-brand-hover);
    background: var(--agent-brand-hover);
    color: #ffffff;
}

.agent-button--quiet {
    border-color: #c7d4df;
    background: #ffffff;
    color: #234d7a;
}

.agent-button--quiet:hover,
.agent-button--quiet:focus {
    border-color: #78a5d4;
    background: #f5f9ff;
    color: #0b3c78;
}

.agent-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 650px;
    margin: 42px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.agent-hero__stats > div {
    min-width: 0;
    padding: 0 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.agent-hero__stats > div:first-child {
    padding-left: 0;
}

.agent-hero__stats > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.agent-hero__stats dt {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.agent-hero__stats dd {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    line-height: 1.45;
}

.agent-section {
    padding: 82px 0;
}

.agent-section--value {
    background: #ffffff;
}

.agent-section--levels {
    scroll-margin-top: 24px;
    background: #f3f7fd;
}

.agent-section--process {
    background: var(--agent-brand-deep);
    color: #ffffff;
}

.agent-section--closing {
    padding: 65px 0;
    background: #eef5ff;
}

.agent-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.agent-section__header--center {
    display: block;
    max-width: 780px;
    margin-right: auto;
    margin-bottom: 42px;
    margin-left: auto;
    text-align: center;
}

.agent-section__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--agent-brand);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.agent-section__title {
    max-width: 730px;
    margin: 0;
    color: #172a3e;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: 0;
}

.agent-section__intro {
    max-width: 430px;
    margin: 0;
    color: #68788b;
    font-size: 14px;
    line-height: 1.8;
}

.agent-section__header--center .agent-section__title,
.agent-section__header--center .agent-section__intro {
    margin-right: auto;
    margin-left: auto;
}

.agent-section__header--center .agent-section__intro {
    max-width: 650px;
    margin-top: 13px;
}

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

.agent-benefit {
    min-height: 238px;
    padding: 27px 26px 24px;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    background: #ffffff;
}

.agent-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 7px;
    background: var(--agent-brand-soft-strong);
    color: var(--agent-brand);
    font-size: 19px;
}

.agent-benefit:nth-child(2) .agent-benefit__icon {
    background: #edf4ff;
    color: #155ed0;
}

.agent-benefit:nth-child(3) .agent-benefit__icon {
    background: #eaf3ff;
    color: #377fda;
}

.agent-benefit h3 {
    margin: 23px 0 0;
    color: #23364a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.agent-benefit p {
    margin: 10px 0 0;
    color: #6d7c8e;
    font-size: 14px;
    line-height: 1.75;
}

.agent-tier-matrix {
    overflow: hidden;
    border: 1px solid #d4e0e9;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(32, 61, 88, 0.08);
}

.agent-tier-matrix__viewport {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: #a8bac9 #edf2f6;
    scrollbar-width: thin;
}

.agent-tier-matrix__viewport::-webkit-scrollbar {
    height: 7px;
}

.agent-tier-matrix__viewport::-webkit-scrollbar-track {
    background: #edf2f6;
}

.agent-tier-matrix__viewport::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #a8bac9;
}

.agent-tier-row {
    display: grid;
    grid-template-columns: 180px repeat(6, minmax(0, 1fr));
    min-width: 1100px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #dce5ed;
    list-style: none;
}

.agent-tier-row:last-child {
    border-bottom: 0;
}

.agent-tier-row:nth-child(odd):not(.agent-tier-row--head):not(.agent-tier-row--discount) {
    background: #f9fbfd;
}

.agent-tier-label,
.agent-tier-cell {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 60px;
    padding: 12px 15px;
    border-right: 1px solid #dce5ed;
    line-height: 1.45;
}

.agent-tier-label {
    position: sticky;
    left: 0;
    z-index: 2;
    background: inherit;
    color: #455a6f;
    font-size: 13px;
    font-weight: 700;
}

.agent-tier-cell {
    justify-content: center;
    color: #526579;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.agent-tier-cell:last-child {
    border-right: 0;
}

.agent-tier-row--head {
    background: var(--agent-brand-deep);
}

.agent-tier-row--head .agent-tier-label {
    background: var(--agent-brand-deep);
    color: rgba(255, 255, 255, 0.78);
}

.agent-tier-row--head .agent-tier-cell {
    align-items: center;
    flex-direction: column;
    min-height: 132px;
    border-color: rgba(255, 255, 255, 0.13);
    color: #ffffff;
}

.agent-tier-row--head .agent-tier-cell:nth-child(5),
.agent-tier-row--head .agent-tier-cell:nth-child(6),
.agent-tier-row--head .agent-tier-cell:nth-child(7) {
    background: #0e4c91;
}

.agent-tier-row--head span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.agent-tier-row--head strong {
    margin-top: 7px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.agent-tier-row--head em {
    margin-top: 7px;
    color: #b9dcff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
}

.agent-tier-row--discount {
    background: var(--agent-brand-soft-strong);
}

.agent-tier-row--discount .agent-tier-label {
    background: var(--agent-brand-soft-strong);
    color: #0059bd;
}

.agent-tier-row--discount .agent-tier-cell {
    color: #0059bd;
    font-size: 16px;
    font-weight: 700;
}

.agent-tier-row--check .agent-tier-cell {
    color: var(--agent-brand);
    font-weight: 700;
}

.agent-level-notes {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.agent-level-notes > div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #6f8092;
    font-size: 12px;
    line-height: 1.65;
}

.agent-level-notes i {
    margin-top: 3px;
    color: var(--agent-brand);
}

.agent-support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #d9e3eb;
    border-left: 1px solid #d9e3eb;
}

.agent-support-item {
    min-height: 225px;
    padding: 27px 24px 24px;
    border-right: 1px solid #d9e3eb;
    border-bottom: 1px solid #d9e3eb;
    background: #ffffff;
}

.agent-support-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--agent-brand-soft);
    color: var(--agent-brand);
    font-size: 17px;
}

.agent-support-item:nth-child(even) i {
    background: #e8f2ff;
    color: #155ed0;
}

.agent-support-item h3 {
    margin: 21px 0 0;
    color: #25384c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.agent-support-item p {
    margin: 8px 0 0;
    color: #708092;
    font-size: 13px;
    line-height: 1.75;
}

.agent-section--process .agent-section__eyebrow {
    color: #b9dcff;
}

.agent-section--process .agent-section__title {
    color: #ffffff;
}

.agent-section--process .agent-section__intro {
    color: rgba(255, 255, 255, 0.7);
}

.agent-path {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
}

.agent-path li {
    min-height: 200px;
    padding: 28px 28px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.agent-path li:first-child {
    padding-left: 0;
}

.agent-path li:last-child {
    padding-right: 0;
    border-right: 0;
}

.agent-path__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--agent-brand-accent);
    color: #062b5b;
    font-size: 12px;
    font-weight: 700;
}

.agent-path h3 {
    margin: 18px 0 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.agent-path p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 13px;
    line-height: 1.75;
}

.agent-faq {
    display: grid;
    gap: 10px;
}

.agent-faq details {
    border: 1px solid #dae3eb;
    border-radius: 7px;
    background: #ffffff;
}

.agent-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
    padding: 0 22px;
    color: #293c50;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
}

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

.agent-faq summary::after {
    flex: 0 0 auto;
    color: var(--agent-brand);
    content: "+";
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}

.agent-faq details[open] summary {
    border-bottom: 1px solid #e5ebf0;
    color: #0059bd;
}

.agent-faq details[open] summary::after {
    content: "−";
}

.agent-faq__answer {
    max-width: 1000px;
    padding: 17px 22px 20px;
    color: #6b7a8c;
    font-size: 14px;
    line-height: 1.8;
}

.agent-closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 12px 0;
}

.agent-closing .agent-section__eyebrow {
    margin-bottom: 8px;
}

.agent-closing h2 {
    max-width: 760px;
    margin: 0;
    color: #1a354b;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.agent-closing p {
    max-width: 730px;
    margin: 9px 0 0;
    color: #65798b;
    font-size: 14px;
    line-height: 1.7;
}

.agent-closing__actions {
    flex: 0 0 auto;
    justify-content: flex-end;
}

@media (max-width: 1100px) {
    .agent-hero h1 {
        font-size: 44px;
    }

    .agent-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agent-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agent-path li:nth-child(2) {
        border-right: 0;
    }

    .agent-path li:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .agent-path li:nth-child(3) {
        padding-left: 0;
    }

    .agent-closing {
        align-items: flex-start;
        flex-direction: column;
    }

    .agent-closing__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .agent-shell {
        width: calc(100% - 36px);
    }

    .agent-hero {
        min-height: 600px;
        background-position: 60% center;
    }

    .agent-hero__content {
        padding: 72px 0 60px;
    }

    .agent-hero h1 {
        font-size: 39px;
    }

    .agent-section {
        padding: 64px 0;
    }

    .agent-section--closing {
        padding: 54px 0;
    }

    .agent-section__header {
        display: block;
        margin-bottom: 32px;
    }

    .agent-section__header--center {
        margin-bottom: 36px;
    }

    .agent-section__intro {
        max-width: 660px;
        margin-top: 13px;
    }

    .agent-benefit-grid {
        grid-template-columns: 1fr;
    }

    .agent-benefit {
        min-height: 0;
    }

    .agent-tier-row {
        grid-template-columns: 150px repeat(6, 150px);
        min-width: 1050px;
    }
}

@media (max-width: 560px) {
    .agent-shell {
        width: calc(100% - 28px);
    }

    .agent-hero {
        min-height: 640px;
        background-position: 63% center;
    }

    .agent-hero__content {
        padding: 67px 0 48px;
    }

    .agent-eyebrow {
        margin-bottom: 13px;
        font-size: 13px;
    }

    .agent-hero h1 {
        font-size: 32px;
        line-height: 1.32;
    }

    .agent-hero__lead {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.75;
    }

    .agent-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 25px;
    }

    .agent-button {
        width: 100%;
    }

    .agent-hero__stats {
        margin-top: 30px;
        padding-top: 19px;
    }

    .agent-hero__stats > div {
        padding: 0 10px;
    }

    .agent-hero__stats dt {
        font-size: 20px;
    }

    .agent-hero__stats dd {
        font-size: 11px;
    }

    .agent-section {
        padding: 52px 0;
    }

    .agent-section--closing {
        padding: 46px 0;
    }

    .agent-section__title {
        font-size: 25px;
    }

    .agent-benefit {
        padding: 23px 21px 22px;
    }

    .agent-tier-row {
        grid-template-columns: 124px repeat(6, 136px);
        min-width: 940px;
    }

    .agent-tier-label,
    .agent-tier-cell {
        min-height: 56px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .agent-tier-row--head .agent-tier-cell {
        min-height: 118px;
    }

    .agent-tier-row--head strong {
        font-size: 21px;
    }

    .agent-tier-row--discount .agent-tier-cell {
        font-size: 14px;
    }

    .agent-support-grid,
    .agent-path {
        grid-template-columns: 1fr;
    }

    .agent-support-item {
        min-height: 0;
    }

    .agent-path li,
    .agent-path li:first-child,
    .agent-path li:nth-child(3),
    .agent-path li:last-child {
        min-height: 0;
        padding: 22px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-right: 0;
    }

    .agent-path li:first-child {
        border-top: 0;
    }

    .agent-faq summary {
        min-height: 59px;
        padding: 0 16px;
        font-size: 14px;
    }

    .agent-faq__answer {
        padding: 14px 16px 17px;
        font-size: 13px;
    }

    .agent-closing h2 {
        font-size: 23px;
    }

    .agent-closing__actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }
}
