/* MicroResume page only. Shared header/footer stay untouched. */

.microresume-page {
    background: #ffffff;
}

.microresume-page .site-header {
    position: relative;
    z-index: 10;
}

.microresume-page .header-content {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.microresume-page .logo,
.microresume-page .footer-logo {
    gap: 5px;
    color: #ffffff;
}

.mr-brand-suffix {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.mr-footer-brand-suffix {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.mr-header-nav {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.mr-header-nav a {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    transition: opacity 150ms ease;
}

.mr-header-nav a:hover {
    opacity: 0.72;
}

.mr-page {
    overflow: hidden;
    color: #0f1729;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.mr-shell {
    width: min(100% - 44px, 980px);
    margin-inline: auto;
}

.mr-hero {
    min-height: 655px;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.mr-hero__inner {
    display: flex;
    align-items: center;
}

.mr-hero__copy {
    width: min(100%, 500px);
    padding-block: 70px 82px;
}

.mr-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #2244ec;
    font-size: 12px;
    font-weight: 600;
}

.mr-kicker span {
    letter-spacing: -2px;
}

.mr-hero h1 {
    margin: 0;
    color: #0f1729;
    font-size: clamp(42px, 4.2vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.mr-hero__lead {
    max-width: 475px;
    margin: 24px 0 20px;
    color: #4a5578;
    font-size: 15px;
    line-height: 1.62;
}

.mr-bullet-list,
.mr-problem-card ul {
    list-style: none;
    padding: 0;
}

.mr-bullet-list {
    max-width: 500px;
    margin: 0 0 26px;
}

.mr-bullet-list li,
.mr-problem-card li {
    position: relative;
    padding-left: 17px;
}

.mr-bullet-list li {
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.5;
}

.mr-bullet-list li::before,
.mr-problem-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2244ec;
}

.mr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mr-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    transition: transform 150ms ease, background-color 150ms ease;
}

.mr-button:hover {
    transform: translateY(-1px);
}

.mr-button--primary {
    color: #ffffff;
    background: #2244ec;
}

.mr-button--primary:hover {
    background: #1a35bb;
}

.mr-note {
    margin: 12px 0 0;
    color: #68738f;
    font-size: 10px;
    line-height: 1.5;
}

.mr-blue {
    background: #2847ee;
    color: #ffffff;
}

.mr-problems {
    padding: 78px 0 66px;
}

.mr-section-heading {
    margin-bottom: 32px;
}

.mr-section-heading h2 {
    margin: 0;
    color: #0f1729;
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.mr-section-heading p {
    margin: 10px 0 0;
    color: #65708a;
    font-size: 13px;
    line-height: 1.6;
}

.mr-section-heading--light h2,
.mr-section-heading--light p {
    color: #ffffff;
}

.mr-section-heading--light p {
    color: rgba(255, 255, 255, 0.86);
}

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

.mr-problem-card {
    min-height: 282px;
    padding: 22px 22px 20px;
    border-radius: 11px;
    background: #ffffff;
    color: #0f1729;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.09);
}

.mr-card-label {
    display: block;
    margin-bottom: 13px;
    color: #2244ec;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mr-problem-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
}

.mr-problem-card p {
    margin: 0;
    color: #5b6680;
    font-size: 12px;
    line-height: 1.56;
}

.mr-problem-card ul {
    margin: 22px 0 0;
}

.mr-problem-card li {
    margin-top: 7px;
    color: #0f1729;
    font-size: 11px;
    line-height: 1.42;
}

.mr-underlying {
    max-width: 650px;
    margin: 100px auto 0;
}

.mr-kicker--light {
    color: #ffffff;
}

.mr-kicker--light span {
    color: #ffffff;
}

.mr-underlying h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.mr-underlying > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.6;
}

.mr-solution {
    padding: 80px 0 86px;
    background: #ffffff;
}

.mr-feature-grid,
.mr-advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 86px;
    row-gap: 31px;
}

.mr-feature-grid article,
.mr-advantage-grid article {
    min-width: 0;
}

.mr-feature-grid h3,
.mr-advantage-grid h3 {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.mr-feature-grid p,
.mr-advantage-grid p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
}

.mr-feature-grid p {
    color: #65708a;
}

.mr-advantage {
    padding: 78px 0 86px;
}

.mr-advantage-grid {
    color: #ffffff;
}

.mr-advantage-grid p {
    color: rgba(255, 255, 255, 0.9);
}

.mr-final {
    min-height: 420px;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.mr-final__inner {
    padding-block: 74px;
}

.mr-final h2 {
    margin: 0 0 16px;
    color: #0f1729;
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.mr-final > .mr-shell > p:not(.mr-note) {
    max-width: 465px;
    margin: 0 0 25px;
    color: #5f6a83;
    font-size: 13px;
    line-height: 1.55;
}

.microresume-page .site-footer {
    border-top: 0;
}

@media (max-width: 900px) {
    .mr-shell {
        width: min(100% - 36px, 760px);
    }

    .mr-problem-grid {
        grid-template-columns: 1fr;
    }

    .mr-problem-card {
        min-height: 0;
    }

    .mr-feature-grid,
    .mr-advantage-grid {
        column-gap: 44px;
    }
}

@media (max-width: 760px) {
    .microresume-page .header-content {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .mr-header-nav {
        display: none;
    }

    .mr-brand-suffix {
        font-size: 13px;
    }

    .mr-hero {
        min-height: auto;
    }

    .mr-hero__copy {
        padding-block: 62px 70px;
    }

    .mr-hero h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .mr-problems,
    .mr-solution,
    .mr-advantage {
        padding-block: 64px;
    }

    .mr-underlying {
        margin-top: 70px;
    }

    .mr-feature-grid,
    .mr-advantage-grid {
        grid-template-columns: 1fr;
        row-gap: 25px;
    }

    .mr-desktop-only {
        display: none;
    }
}

@media (max-width: 480px) {
    .mr-shell {
        width: min(100% - 28px, 100%);
    }

    .mr-brand-suffix {
        display: none;
    }

    .mr-hero__copy {
        padding-block: 48px 54px;
    }

    .mr-hero h1 {
        font-size: 37px;
    }

    .mr-hero__lead {
        font-size: 14px;
    }

    .mr-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .mr-button {
        width: 100%;
        max-width: 260px;
    }

    .mr-problem-card {
        padding: 20px;
    }

    .mr-section-heading h2,
    .mr-underlying h2,
    .mr-final h2 {
        font-size: 29px;
    }
}

/* --------------------------------------------------------------------------
   Desktop size correction
   The reference screenshots use a more compact desktop scale. These rules
   only resize the MicroResume page; no PHP, shared CSS, header or footer file
   needs to be changed.
   -------------------------------------------------------------------------- */
@media (min-width: 901px) {
    .microresume-page .site-header,
    .microresume-page .header-content {
        min-height: 48px;
    }

    .microresume-page .logo img {
        height: 30px;
    }

    .microresume-page .nav-buttons {
        gap: 17px;
    }

    .microresume-page .nav-buttons a,
    .mr-header-nav a {
        font-size: 10px;
    }

    .microresume-page .nav-buttons .signup {
        min-width: 70px;
        padding: 7px 15px;
    }

    .mr-brand-suffix {
        font-size: 14px;
    }

    .mr-header-nav {
        gap: 29px;
    }

    /* Centered content sections */
    .mr-shell {
        width: min(calc(100% - 44px), 880px);
    }

    /* The first and last white sections stay aligned near the left edge. */
    .mr-hero .mr-shell,
    .mr-final .mr-shell {
        width: calc(100% - 92px);
        max-width: none;
    }

    .mr-hero {
        min-height: 590px;
    }

    .mr-hero__copy {
        width: min(100%, 425px);
        padding-block: 58px 66px;
    }

    .mr-kicker {
        gap: 7px;
        margin-bottom: 15px;
        font-size: 10px;
    }

    .mr-hero h1 {
        font-size: clamp(38px, 3.5vw, 50px);
        line-height: 1.07;
    }

    .mr-hero__lead {
        max-width: 405px;
        margin: 20px 0 17px;
        font-size: 13px;
        line-height: 1.58;
    }

    .mr-bullet-list {
        max-width: 425px;
        margin-bottom: 22px;
    }

    .mr-bullet-list li {
        margin-bottom: 7px;
        padding-left: 15px;
        font-size: 10px;
        line-height: 1.45;
    }

    .mr-bullet-list li::before,
    .mr-problem-card li::before {
        width: 4px;
        height: 4px;
    }

    .mr-actions {
        gap: 8px;
    }

    .mr-button {
        min-height: 31px;
        padding: 7px 16px;
        font-size: 10px;
    }

    .mr-note {
        margin-top: 10px;
        font-size: 9px;
    }

    .mr-problems {
        padding: 66px 0 56px;
    }

    .mr-section-heading {
        margin-bottom: 27px;
    }

    .mr-section-heading h2 {
        font-size: clamp(27px, 2.5vw, 32px);
    }

    .mr-section-heading p {
        margin-top: 8px;
        font-size: 11px;
        line-height: 1.55;
    }

    .mr-problem-grid {
        gap: 18px;
    }

    .mr-problem-card {
        min-height: 236px;
        padding: 18px 18px 17px;
        border-radius: 10px;
    }

    .mr-card-label {
        margin-bottom: 11px;
        font-size: 8.5px;
    }

    .mr-problem-card h3 {
        margin-bottom: 7px;
        font-size: 14px;
    }

    .mr-problem-card p {
        font-size: 10px;
        line-height: 1.5;
    }

    .mr-problem-card ul {
        margin-top: 17px;
    }

    .mr-problem-card li {
        margin-top: 5px;
        padding-left: 14px;
        font-size: 9px;
        line-height: 1.38;
    }

    .mr-underlying {
        max-width: 550px;
        margin-top: 82px;
    }

    .mr-underlying h2 {
        margin-bottom: 10px;
        font-size: clamp(25px, 2.4vw, 31px);
    }

    .mr-underlying > p:last-child {
        font-size: 11px;
        line-height: 1.55;
    }

    .mr-solution {
        padding: 68px 0 72px;
    }

    .mr-feature-grid,
    .mr-advantage-grid {
        column-gap: 72px;
        row-gap: 26px;
    }

    .mr-feature-grid h3,
    .mr-advantage-grid h3 {
        margin-bottom: 5px;
        font-size: 11px;
    }

    .mr-feature-grid p,
    .mr-advantage-grid p {
        font-size: 9.5px;
        line-height: 1.5;
    }

    .mr-advantage {
        padding: 66px 0 72px;
    }

    .mr-final {
        min-height: 355px;
    }

    .mr-final__inner {
        padding-block: 61px;
    }

    .mr-final h2 {
        margin-bottom: 13px;
        font-size: clamp(27px, 2.5vw, 32px);
    }

    .mr-final > .mr-shell > p:not(.mr-note) {
        max-width: 405px;
        margin-bottom: 21px;
        font-size: 11px;
        line-height: 1.52;
    }

    /* Footer scale used in the reference desktop screenshots. */
    .microresume-page .site-footer {
        padding: 36px 20px 15px;
    }

    .microresume-page .footer-content,
    .microresume-page .footer-bottom {
        max-width: 960px;
    }

    .microresume-page .footer-content {
        gap: 58px;
    }

    .microresume-page .footer-logo img {
        height: 32px;
    }

    .mr-footer-brand-suffix {
        font-size: 12px;
    }

    .microresume-page .footer-brand p,
    .microresume-page .footer-column h2,
    .microresume-page .footer-column a {
        font-size: 9px;
    }

    .microresume-page .footer-bottom {
        margin-top: 28px;
        padding-top: 15px;
        font-size: 7px;
    }
}
