/* ==========================================================
   FFXIVPenumbra.com
   MODS PAGE
   Clean • Premium • Responsive
   ========================================================== */


/* ==========================================================
   PAGE ROOT
========================================================== */

.mods-page {
    position: relative;
    width: 100%;
    overflow: hidden;

    color: #0b2342;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 46%,
            #f4faff 100%
        );

    font-family:
        "Roboto",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}


.mods-container {
    width: min(
        1080px,
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* ==========================================================
   HERO
========================================================== */

.mods-hero {
    padding:
        62px 0
        34px;

    text-align: center;
}


.mods-hero-inner {
    max-width: 920px;
}


/* ==========================================================
   HERO KICKER
========================================================== */

.mods-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 34px;

    padding:
        0 15px;

    margin-bottom: 14px;

    border:
        1px solid
        rgba(28, 143, 239, .15);

    border-radius: 100px;

    color: #0b8ef0;

    background: #eef8ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .20em;
}


.mods-kicker-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
}


/* ==========================================================
   HERO TITLE
========================================================== */

.mods-title {
    margin: 0;

    color: #081f3d;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            44px,
            5vw,
            64px
        );

    line-height: 1.03;

    font-weight: 800;

    letter-spacing: -.045em;
}


.mods-title span {
    color: #0b8ff4;
}


/* ==========================================================
   HERO DESCRIPTION
========================================================== */

.mods-lead {
    max-width: 720px;

    margin:
        17px auto 0;

    color: #53677f;

    font-size: 16.5px;

    line-height: 1.65;

    font-weight: 500;
}


/* ==========================================================
   TOPIC STRIP
========================================================== */

.mods-topics {
    margin-top: 30px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border:
        1px solid
        #dceaf6;

    border-radius: 15px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f7fbff,
            #ffffff
        );

    box-shadow:
        0 12px 35px
        rgba(27, 81, 130, .045);
}


.mods-topic {
    position: relative;

    min-height: 83px;

    padding:
        15px 18px;

    display: flex;
    align-items: center;

    gap: 12px;

    color: inherit;

    text-decoration: none;

    transition:
        background 160ms ease,
        transform 160ms ease;
}


.mods-topic:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;

    top: 22px;

    width: 1px;

    height: 40px;

    background:
        #dfebf6;
}


.mods-topic:hover {
    background: #edf8ff;
}


.mods-topic-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #0a91f2;

    background: #eaf7ff;

    font-size: 19px;
}


.mods-topic-copy {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    text-align: left;
}


.mods-topic-copy strong {
    color: #10284a;

    font-size: 13px;

    font-weight: 800;
}


.mods-topic-copy small {
    margin-top: 3px;

    color: #6b7d91;

    font-size: 10px;
}


/* ==========================================================
   SECTION SPACING
========================================================== */

.mods-quick-section,
.mods-guide-section,
.mods-tips-section,
.mods-next-section {
    padding:
        10px 0
        18px;
}


/* ==========================================================
   COMMON SECTION HEADING
========================================================== */

.mods-section-head {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 23px;

    text-align: left;
}


.mods-section-icon {
    width: 47px;
    height: 47px;

    flex: 0 0 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #078ff2;

    background: #ffffff;

    box-shadow:
        0 8px 22px
        rgba(23, 93, 150, .08);

    font-size: 20px;
}


.mods-section-label {
    display: block;

    margin-bottom: 5px;

    color: #168ee7;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .18em;
}


.mods-section-head h2 {
    margin: 0;

    color: #0b2342;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 27px;

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -.025em;
}


.mods-section-head p {
    max-width: 650px;

    margin:
        6px 0 0;

    color: #60748c;

    font-size: 13.5px;

    line-height: 1.6;
}


/* ==========================================================
   QUICK START PANEL
========================================================== */

.mods-quick-panel {
    padding: 28px;

    border:
        1px solid
        #dcebf7;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #edf8ff 0%,
            #f7fcff 100%
        );

    box-shadow:
        0 15px 45px
        rgba(23, 72, 118, .045);
}


/* ==========================================================
   QUICK START GRID
========================================================== */

.mods-quick-grid {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    gap: 11px;
}


/* ==========================================================
   QUICK CARD
========================================================== */

.mods-quick-card {
    position: relative;

    min-height: 180px;

    padding:
        25px 18px
        18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border:
        1px solid
        #d8e7f4;

    border-radius: 13px;

    background: #ffffff;

    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}


.mods-quick-card:hover {
    transform:
        translateY(-3px);

    border-color:
        #acd8f7;

    box-shadow:
        0 14px 30px
        rgba(20, 97, 156, .075);
}


.mods-step-number {
    position: absolute;

    left: 13px;
    top: 12px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #159df7,
            #087bea
        );

    font-size: 11px;

    font-weight: 800;
}


.mods-quick-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0b91f4;

    font-size: 25px;
}


.mods-quick-card h3 {
    margin: 0;

    color: #10284a;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 16px;

    font-weight: 800;
}


.mods-quick-card p {
    margin:
        7px 0 0;

    color: #63768d;

    font-size: 11.5px;

    line-height: 1.55;
}


.mods-flow-arrow {
    color: #1593eb;

    font-size: 16px;
}


/* ==========================================================
   GUIDE PANEL
========================================================== */

.mods-guide-panel {
    padding: 28px;

    border:
        1px solid
        #dce8f4;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 12px 38px
        rgba(24, 72, 115, .035);
}


/* ==========================================================
   GUIDE GRID
========================================================== */

.mods-guide-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


/* ==========================================================
   GUIDE CARDS
========================================================== */

.mods-guide-card {
    position: relative;

    min-height: 300px;

    padding: 21px;

    display: grid;

    grid-template-columns:
        45px 1fr;

    gap: 13px;

    border:
        1px solid
        #dce8f4;

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fcfeff
        );

    scroll-margin-top: 100px;

    transition:
        border-color 170ms ease,
        box-shadow 170ms ease,
        transform 170ms ease;
}


.mods-guide-card:hover {
    transform:
        translateY(-2px);

    border-color:
        #b8daf3;

    box-shadow:
        0 15px 32px
        rgba(20, 80, 130, .065);
}


.mods-guide-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #0a91f2;

    background: #eaf7ff;

    font-size: 20px;
}


.mods-guide-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


.mods-guide-number {
    display: block;

    margin-bottom: 4px;

    color: #138fe5;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .16em;
}


.mods-guide-content h3 {
    margin: 0;

    color: #0b2342;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 17px;

    line-height: 1.25;

    font-weight: 800;
}


.mods-guide-content > p {
    margin:
        8px 0 0;

    color: #5f7289;

    font-size: 11.5px;

    line-height: 1.6;
}


/* ==========================================================
   MINI LIST
========================================================== */

.mods-mini-list {
    margin-top: 13px;

    display: flex;
    flex-direction: column;

    gap: 7px;
}


.mods-mini-list span {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #5b7088;

    font-size: 10.5px;
}


.mods-mini-list i {
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: #1695ee;

    font-size: 7px;
}


/* ==========================================================
   INFO BOX
========================================================== */

.mods-info-box {
    margin-top: 14px;

    padding:
        11px 12px;

    display: flex;
    align-items: flex-start;

    gap: 8px;

    border:
        1px solid
        #d7e8f5;

    border-radius: 9px;

    background: #f5fbff;
}


.mods-info-box > i {
    margin-top: 2px;

    color: #0b91ef;

    font-size: 12px;
}


.mods-info-box p {
    margin: 0;

    color: #60748b;

    font-size: 10.5px;

    line-height: 1.55;
}


/* ==========================================================
   OPTION EXAMPLE
========================================================== */

.mods-option-example {
    margin-top: 14px;

    padding: 11px;

    display: grid;

    grid-template-columns:
        34px 1fr;

    gap: 9px;

    border:
        1px solid
        #dfeaf4;

    border-radius: 9px;

    background: #fbfdff;
}


.mods-option-example > span {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    color: #0b90ef;

    background: #eaf7ff;

    font-size: 14px;
}


.mods-option-example strong {
    color: #173555;

    font-size: 10.5px;
}


.mods-option-example p {
    margin:
        3px 0 0;

    color: #6a7a8e;

    font-size: 9.8px;

    line-height: 1.5;
}


/* ==========================================================
   PRIORITY DEMO
========================================================== */

.mods-priority-demo {
    margin-top: 14px;

    display: flex;
    flex-direction: column;

    gap: 6px;
}


.mods-priority-demo > div {
    min-height: 38px;

    padding:
        0 10px;

    display: flex;
    align-items: center;

    gap: 8px;

    border:
        1px solid
        #dce8f3;

    border-radius: 8px;

    background: #fbfdff;
}


.mods-priority-demo > div > span {
    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: #0b91f2;

    font-size: 8px;

    font-weight: 800;
}


.mods-priority-demo strong {
    color: #536980;

    font-size: 10px;
}


.mods-priority-demo > i {
    align-self: center;

    color: #1593eb;

    font-size: 10px;
}


/* ==========================================================
   REMOVE CHOICES
========================================================== */

.mods-remove-choices {
    margin-top: 14px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}


.mods-remove-choices > div {
    min-height: 70px;

    padding: 10px;

    display: flex;
    align-items: center;

    gap: 8px;

    border:
        1px solid
        #dfeaf4;

    border-radius: 9px;

    background: #fbfdff;
}


.mods-remove-choices > div > i {
    color: #0b91ef;

    font-size: 15px;
}


.mods-remove-choices span {
    display: flex;
    flex-direction: column;

    color: #67798e;

    font-size: 9px;
}


.mods-remove-choices strong {
    margin-bottom: 2px;

    color: #183856;

    font-size: 10px;
}


/* ==========================================================
   CARD LINKS
========================================================== */

.mods-card-link {
    width: fit-content;

    min-height: 37px;

    margin-top: auto;

    padding:
        0 12px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border:
        1px solid
        #cfe4f5;

    border-radius: 8px;

    color: #0a80da;

    background: #f1f9ff;

    font-size: 10.5px;

    font-weight: 800;

    text-decoration: none;

    transition:
        color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}


.mods-card-link:hover {
    color: #ffffff;

    background: #0a8fe9;

    transform:
        translateY(-1px);
}


/* ==========================================================
   TIPS PANEL
========================================================== */

.mods-tips-panel {
    padding: 25px;

    border:
        1px solid
        #d8e9f7;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #edf8ff,
            #f8fcff
        );
}


.mods-tips-heading {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 20px;
}


.mods-tips-main-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #0a91f2;

    background: #ffffff;

    font-size: 21px;

    box-shadow:
        0 8px 20px
        rgba(22, 86, 138, .07);
}


.mods-tips-heading h2 {
    margin: 0;

    color: #0b2342;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 25px;

    font-weight: 800;
}


.mods-tips-heading p {
    margin:
        5px 0 0;

    color: #62768c;

    font-size: 12px;

    line-height: 1.55;
}


/* ==========================================================
   TIPS GRID
========================================================== */

.mods-tips-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 0;
}


.mods-tip-item {
    position: relative;

    min-height: 90px;

    padding:
        10px 22px;

    display: grid;

    grid-template-columns:
        30px 1fr;

    gap: 10px;
}


.mods-tip-item:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;

    top: 13px;

    width: 1px;

    height: 62px;

    background: #d7e7f4;
}


.mods-tip-item > span {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: #0b91f2;

    font-size: 10px;
}


.mods-tip-item h3 {
    margin: 1px 0 0;

    color: #173555;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 13px;

    font-weight: 800;
}


.mods-tip-item p {
    margin:
        4px 0 0;

    color: #64788e;

    font-size: 10.5px;

    line-height: 1.5;
}


/* ==========================================================
   NEXT SECTION
========================================================== */

.mods-next-section {
    padding-bottom: 68px;
}


.mods-next-panel {
    padding: 25px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 1fr);

    gap: 24px;

    align-items: center;

    border:
        1px solid
        #d8e9f7;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #edf8ff,
            #f8fcff
        );
}


/* ==========================================================
   NEXT LEFT
========================================================== */

.mods-next-copy {
    display: grid;

    grid-template-columns:
        49px 1fr;

    gap: 14px;
}


.mods-next-main-icon {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #0a91f2;

    background: #ffffff;

    font-size: 21px;

    box-shadow:
        0 8px 20px
        rgba(22, 86, 138, .07);
}


.mods-next-copy h2 {
    margin: 0;

    color: #0b2342;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 24px;

    font-weight: 800;
}


.mods-next-copy p {
    max-width: 500px;

    margin:
        7px 0 0;

    color: #60748b;

    font-size: 12px;

    line-height: 1.6;
}


/* ==========================================================
   NEXT ACTIONS
========================================================== */

.mods-next-actions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.mods-action-card {
    min-height: 165px;

    padding: 17px;

    display: grid;

    grid-template-columns:
        36px 1fr;

    gap: 10px;

    border-radius: 12px;
}


.mods-action-trouble {
    border:
        1px solid
        #d9d2fa;

    background:
        linear-gradient(
            145deg,
            #f7f4ff,
            #ffffff
        );
}


.mods-action-guides {
    border:
        1px solid
        #bde9da;

    background:
        linear-gradient(
            145deg,
            #f0fcf7,
            #ffffff
        );
}


.mods-action-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 15px;
}


.mods-action-trouble
.mods-action-icon {
    color: #7251d7;

    background: #eee9ff;
}


.mods-action-guides
.mods-action-icon {
    color: #16885e;

    background: #e5f8f0;
}


.mods-action-label {
    display: block;

    margin-bottom: 4px;

    color: #1981cb;

    font-size: 7.5px;

    font-weight: 800;

    letter-spacing: .13em;
}


.mods-action-card h3 {
    margin: 0;

    color: #10294a;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 14px;

    line-height: 1.25;

    font-weight: 800;
}


.mods-action-card p {
    margin:
        6px 0 0;

    color: #65778d;

    font-size: 10px;

    line-height: 1.5;
}


.mods-action-card a {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-top: 11px;

    color: #0a80d8;

    font-size: 9.5px;

    font-weight: 800;

    text-decoration: none;
}


.mods-action-card a:hover {
    text-decoration: underline;
}


/* ==========================================================
   FOCUS STATES
========================================================== */

.mods-page a:focus-visible {
    outline:
        3px solid
        rgba(10, 145, 240, .28);

    outline-offset: 3px;
}


/* ==========================================================
   1366PX DESKTOP
========================================================== */

@media
(min-width: 981px)
and
(max-width: 1400px) {

    .mods-container {
        width:
            min(
                1000px,
                calc(100% - 46px)
            );
    }


    .mods-hero {
        padding:
            52px 0
            30px;
    }


    .mods-title {
        font-size:
            clamp(
                42px,
                4.5vw,
                57px
            );
    }


    .mods-guide-card {
        min-height: 290px;
    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 980px) {

    .mods-container {
        width:
            min(
                760px,
                calc(100% - 36px)
            );
    }


    .mods-hero {
        padding:
            50px 0
            30px;
    }


    .mods-title {
        font-size:
            clamp(
                39px,
                7vw,
                52px
            );
    }


    .mods-topics {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .mods-topic:nth-child(2)::after {
        display: none;
    }


    .mods-topic:nth-child(-n+2) {
        border-bottom:
            1px solid
            #dfebf6;
    }


    .mods-quick-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 14px;
    }


    .mods-flow-arrow {
        display: none;
    }


    .mods-guide-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .mods-tips-grid {
        grid-template-columns:
            1fr;
    }


    .mods-tip-item {
        padding:
            12px 5px;
    }


    .mods-tip-item:not(:last-child)::after {
        top: auto;
        right: auto;
        left: 0;
        bottom: 0;

        width: 100%;
        height: 1px;
    }


    .mods-next-panel {
        grid-template-columns:
            1fr;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 680px) {

    .mods-container {
        width:
            calc(100% - 28px);
    }


    .mods-hero {
        padding:
            39px 0
            25px;
    }


    .mods-title {
        font-size: 36px;
    }


    .mods-lead {
        font-size: 14px;
    }


    .mods-topics {
        margin-top: 23px;

        grid-template-columns:
            1fr;
    }


    .mods-topic {
        min-height: 72px;
    }


    .mods-topic::after {
        display: none;
    }


    .mods-topic:not(:last-child) {
        border-bottom:
            1px solid
            #dfebf6;
    }


    .mods-quick-panel,
    .mods-guide-panel,
    .mods-tips-panel,
    .mods-next-panel {
        padding: 20px;
    }


    .mods-section-head {
        gap: 11px;
    }


    .mods-section-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 17px;
    }


    .mods-section-head h2 {
        font-size: 22px;
    }


    .mods-section-head p {
        font-size: 12.5px;
    }


    .mods-quick-grid {
        grid-template-columns:
            1fr;
    }


    .mods-quick-card {
        min-height: 155px;
    }


    .mods-guide-grid {
        grid-template-columns:
            1fr;
    }


    .mods-guide-card {
        min-height: 0;

        padding: 19px;
    }


    .mods-remove-choices {
        grid-template-columns:
            1fr;
    }


    .mods-tips-heading {
        gap: 11px;
    }


    .mods-tips-main-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        font-size: 18px;
    }


    .mods-tips-heading h2 {
        font-size: 21px;
    }


    .mods-next-actions {
        grid-template-columns:
            1fr;
    }


    .mods-next-copy {
        grid-template-columns:
            42px 1fr;
    }


    .mods-next-main-icon {
        width: 42px;
        height: 42px;

        font-size: 18px;
    }


    .mods-next-copy h2 {
        font-size: 21px;
    }


    .mods-next-section {
        padding-bottom: 46px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 390px) {

    .mods-title {
        font-size: 32px;
    }


    .mods-quick-panel,
    .mods-guide-panel,
    .mods-tips-panel,
    .mods-next-panel {
        padding: 17px;
    }


    .mods-guide-card {
        grid-template-columns:
            1fr;
    }


    .mods-guide-icon {
        width: 40px;
        height: 40px;
    }


    .mods-next-copy {
        grid-template-columns:
            1fr;
    }

}