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


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

.setup-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;
}


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

    margin: 0 auto;
}


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

.setup-hero {
    padding:
        64px 0
        34px;

    text-align: center;
}


.setup-hero-inner {
    max-width: 900px;
}


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

.setup-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;
}


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

    font-size: 12px;
}


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

.setup-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;
}


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


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

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

    margin:
        17px auto 0;

    color: #53677f;

    font-size: 16.5px;

    line-height: 1.65;

    font-weight: 500;
}


/* ==========================================================
   TOPIC NAVIGATION
========================================================== */

.setup-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);
}


.setup-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;
}


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

    position: absolute;

    right: 0;

    top: 22px;

    width: 1px;

    height: 40px;

    background:
        #dfebf6;
}


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


.setup-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;
}


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

    align-items: flex-start;

    text-align: left;
}


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

    font-size: 13px;

    font-weight: 800;
}


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

    color: #6b7d91;

    font-size: 10px;
}


/* ==========================================================
   COMMON SECTIONS
========================================================== */

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


/* ==========================================================
   QUICK SETUP PANEL
========================================================== */

.setup-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);
}


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

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

    gap: 15px;

    margin-bottom: 23px;

    text-align: left;
}


.setup-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;
}


.setup-section-label {
    display: block;

    margin-bottom: 5px;

    color: #168ee7;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .18em;
}


.setup-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;
}


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

    margin:
        6px 0 0;

    color: #60748c;

    font-size: 13.5px;

    line-height: 1.6;
}


/* ==========================================================
   QUICK SETUP GRID
========================================================== */

.setup-quick-grid {
    display: grid;

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

    align-items: center;

    gap: 11px;
}


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

.setup-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;
}


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

    border-color:
        #acd8f7;

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


.setup-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;
}


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

    margin-bottom: 12px;

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

    color: #0b91f4;

    font-size: 25px;
}


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

    color: #10284a;

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

    font-size: 16px;

    font-weight: 800;
}


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

    color: #63768d;

    font-size: 11.5px;

    line-height: 1.55;
}


/* ==========================================================
   FLOW ARROWS
========================================================== */

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

    font-size: 16px;
}


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

.setup-guide-grid {
    display: grid;

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

    gap: 16px;
}


/* ==========================================================
   GUIDE CARD
========================================================== */

.setup-guide-card {
    position: relative;

    min-height: 315px;

    padding: 24px;

    display: flex;
    flex-direction: column;

    border:
        1px solid
        #dce8f4;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(20, 72, 117, .035);

    scroll-margin-top: 100px;

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


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

    border-color:
        #b8daf3;

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


.setup-guide-featured {
    border-color: #b9def8;

    background:
        linear-gradient(
            145deg,
            #f6fbff,
            #ffffff 65%
        );
}


/* ==========================================================
   GUIDE CARD HEADER
========================================================== */

.setup-guide-card-top {
    display: flex;
    align-items: flex-start;

    gap: 13px;
}


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

    flex:
        0 0 45px;

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

    border-radius: 11px;

    color: #0a91f2;

    background: #eaf7ff;

    font-size: 20px;
}


.setup-guide-number {
    display: block;

    margin-bottom: 4px;

    color: #138fe5;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .16em;
}


.setup-guide-card h2 {
    margin: 0;

    color: #0b2342;

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

    font-size: 20px;

    line-height: 1.2;

    font-weight: 800;
}


.setup-guide-card > p {
    margin:
        15px 0 0;

    color: #5e7189;

    font-size: 12.5px;

    line-height: 1.65;
}


/* ==========================================================
   TIP BOX
========================================================== */

.setup-tip,
.setup-warning {
    margin-top: 15px;

    padding:
        12px 13px;

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

    gap: 9px;

    border-radius: 10px;
}


.setup-tip {
    border:
        1px solid
        #dceaf6;

    background: #f7fbff;
}


.setup-warning {
    border:
        1px solid
        #cfe6f8;

    background: #eef8ff;
}


.setup-tip i,
.setup-warning i {
    margin-top: 2px;

    color: #0a91ef;

    font-size: 13px;
}


.setup-tip p,
.setup-warning p {
    margin: 0;

    color: #5e7187;

    font-size: 11.5px;

    line-height: 1.55;
}


/* ==========================================================
   INFO LIST
========================================================== */

.setup-info-list {
    margin-top: 15px;

    display: flex;
    flex-direction: column;

    gap: 8px;
}


.setup-info-list div {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #536a82;

    font-size: 11.5px;
}


.setup-info-list i {
    width: 20px;
    height: 20px;

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

    border-radius: 50%;

    color: #ffffff;

    background: #1996ef;

    font-size: 8px;
}


/* ==========================================================
   MINI STEPS
========================================================== */

.setup-mini-steps {
    margin-top: 17px;

    display: flex;
    flex-direction: column;

    gap: 9px;
}


.setup-mini-step {
    display: grid;

    grid-template-columns:
        27px 1fr;

    align-items: center;

    gap: 9px;
}


.setup-mini-step > span {
    width: 27px;
    height: 27px;

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

    border-radius: 50%;

    color: #0b83dd;

    background: #eaf7ff;

    font-size: 10px;

    font-weight: 800;
}


.setup-mini-step p {
    margin: 0;

    color: #5d7088;

    font-size: 11.5px;
}


/* ==========================================================
   MOD OPTION ROW
========================================================== */

.setup-option-row {
    margin-top: 13px;

    padding: 11px 12px;

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

    gap: 10px;

    border:
        1px solid
        #e0eaf4;

    border-radius: 10px;

    background: #fbfdff;
}


.setup-option-icon {
    width: 34px;
    height: 34px;

    flex:
        0 0 34px;

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

    border-radius: 9px;

    color: #0b90ef;

    background: #eaf7ff;

    font-size: 14px;
}


.setup-option-row strong {
    color: #173555;

    font-size: 11.5px;
}


.setup-option-row p {
    margin:
        3px 0 0;

    color: #6a7a8e;

    font-size: 10.5px;

    line-height: 1.5;
}


/* ==========================================================
   PRIORITY EXAMPLE
========================================================== */

.setup-priority-example {
    margin-top: 17px;

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

    gap: 7px;
}


.setup-priority-example > div {
    width: 100%;

    min-height: 43px;

    padding:
        0 13px;

    display: flex;
    align-items: center;

    gap: 10px;

    border:
        1px solid
        #dce8f3;

    border-radius: 9px;

    background: #fbfdff;

    color: #4e647c;

    font-size: 11px;
}


.setup-priority-position {
    width: 24px;
    height: 24px;

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

    border-radius: 50%;

    color: #ffffff;

    background: #0b91f2;

    font-size: 9px;

    font-weight: 800;
}


.setup-priority-example > i {
    color: #0a91f2;

    font-size: 11px;
}


.setup-card-note {
    margin-top: 13px !important;

    color: #66798f !important;

    font-size: 11px !important;
}


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

.setup-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;
}


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

    background: #0a8fe9;

    transform:
        translateY(-1px);
}


/* ==========================================================
   CHECKLIST
========================================================== */

.setup-checklist {
    margin:
        17px 0 0;

    padding: 0;

    display: flex;
    flex-direction: column;

    gap: 9px;

    list-style: none;
}


.setup-checklist li {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #566c83;

    font-size: 11.5px;
}


.setup-checklist i {
    color: #0b91f2;

    font-size: 14px;
}


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

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


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

    display: grid;

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

    gap: 24px;

    align-items: center;

    border:
        1px solid
        #d8e9f7;

    border-radius: 16px;

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


/* ==========================================================
   NEXT INTRO
========================================================== */

.setup-next-copy {
    display: grid;

    grid-template-columns:
        49px 1fr;

    gap: 14px;

    align-items: flex-start;
}


.setup-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);
}


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

    color: #0b2342;

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

    font-size: 24px;

    font-weight: 800;
}


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

    margin:
        7px 0 0;

    color: #60748b;

    font-size: 12px;

    line-height: 1.6;
}


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

.setup-next-actions {
    display: grid;

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

    gap: 12px;
}


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

    padding: 17px;

    display: grid;

    grid-template-columns:
        36px 1fr;

    gap: 10px;

    border-radius: 12px;
}


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

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


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

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


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

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

    border-radius: 9px;

    font-size: 15px;
}


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

    background: #e5f8f0;
}


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

    background: #eee9ff;
}


.setup-action-label {
    display: block;

    margin-bottom: 4px;

    color: #1981cb;

    font-size: 7.5px;

    font-weight: 800;

    letter-spacing: .13em;
}


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

    color: #10294a;

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

    font-size: 14px;

    line-height: 1.25;

    font-weight: 800;
}


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

    color: #65778d;

    font-size: 10px;

    line-height: 1.5;
}


.setup-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;
}


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


/* ==========================================================
   ACCESSIBILITY
========================================================== */

.setup-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) {

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


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


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


    .setup-guide-card {
        min-height: 300px;
    }

}


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

@media (max-width: 980px) {

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


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


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


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


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


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


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

        gap: 14px;
    }


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


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


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

}


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

@media (max-width: 680px) {

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


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


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


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


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

        grid-template-columns:
            1fr;
    }


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


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


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


    .setup-quick-panel {
        padding: 20px;
    }


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


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

        flex-basis: 40px;

        font-size: 17px;
    }


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


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


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


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


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

        padding: 20px;
    }


    .setup-guide-card h2 {
        font-size: 18px;
    }


    .setup-next-panel {
        padding: 20px;
    }


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


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


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

        font-size: 18px;
    }


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


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

}


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

@media (max-width: 390px) {

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


    .setup-quick-panel {
        padding: 17px;
    }


    .setup-guide-card {
        padding: 17px;
    }


    .setup-guide-card-top {
        gap: 10px;
    }


    .setup-guide-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }


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

}