
/* ==========================================
   NEW WEBSITE PAGE
========================================== */

body:has(.jcm-new-site),
body:has(.jcm-new-site) main {
    background: #f5f5f5;
}

.jcm-new-site {
    display: block;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #171717;
    font-family: "Inter", Arial, sans-serif;
    box-sizing: border-box;
}

.jcm-new-site *,
.jcm-new-site *::before,
.jcm-new-site *::after {
    box-sizing: border-box;
}

.jcm-new-site__content {
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 32px 0 64px;
    background: transparent;
}

/* ==========================================
   PAGE HEADER
========================================== */

.jcm-new-site__intro {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 0;
    text-align: center;
    border: 0;
    background: transparent;
}

.jcm-new-site__intro .jcm-new-site__eyebrow {
    margin: 0 0 32px;
    color: #444444;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.jcm-new-site__intro h1 {
    margin: 0;
    color: #171717;
    font-family: "Inter", sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    transform: scaleY(1.125);
    transform-origin: center;
}

.jcm-new-site__intro .jcm-new-site__lead {
    max-width: 700px;
    margin: 24px auto 0;
    color: #666666;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
}

/* ==========================================
   CONTENT SECTIONS
========================================== */

/* ==========================================
   CONTENT SECTIONS
========================================== */

.jcm-new-site__section {
    display: block;
    width: 100%;
    margin: 0 0 24px;
    padding: 40px 48px;
    background: #ffffff;
    border: 0;
}

.jcm-new-site__intro + .jcm-new-site__section {
    padding-top: 56px;
}

.jcm-new-site__section:last-of-type {
    border-bottom: 0;
}

.jcm-new-site h2,
.jcm-new-site h3 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.jcm-new-site h2 {
    margin: 0 0 15px;
    font-size: clamp(29px, 3vw, 40px);
    line-height: 1.15;
}

.jcm-new-site__section p,
.jcm-new-site__closing p {
    max-width: 720px;
    margin: 0 0 20px;
    color: #444444;
    font-size: 15px;
    line-height: 1.85;
}

.jcm-new-site__section p + p {
    margin-top: 15px;
}

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

.jcm-new-site__section a {
    width: max-content;
    padding-bottom: 4px;
    border-bottom: 1px solid #171717;
    color: #171717;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.jcm-new-site__section a:hover {
    border-bottom-color: #12b7d2;
    color: #087d91;
}

.jcm-new-site__section a.jcm-new-site__inline-link {
    display: inline;
    width: auto;
    padding: 0;
    border-bottom: 1px solid currentColor;
    color: #087d91;
}

/* ==========================================
   RESOURCE CARDS
========================================== */

.jcm-new-site__resources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 25px;
}

.jcm-new-site__section a.jcm-new-site__resource {
    display: flex;
    flex-direction: column;
    width: auto;
    padding: 19px;
    border: 1px solid #dedede;
    background: #fafafa;
    color: #171717;
    text-decoration: none;
}

.jcm-new-site__resource strong {
    font-size: 15px;
    line-height: 1.45;
}

.jcm-new-site__resource strong span {
    color: #087d91;
}

.jcm-new-site__resource > span {
    margin-top: 8px;
    color: #555555;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}

.jcm-new-site__section a.jcm-new-site__resource:hover {
    border-color: #12b7d2;
    background: #f1fcff;
}

/* ==========================================
   NOTES
========================================== */

.jcm-new-site__note {
    padding: 14px 18px;
    border-left: 3px solid #20e1ff;
    background: #f2fbfd;
}

/* ==========================================
   LISTS
========================================== */

.jcm-new-site__list {
    max-width: 780px;
    margin: 0 0 22px;
    padding-left: 22px;
}

.jcm-new-site__list li {
    margin-bottom: 10px;
    padding-left: 4px;
    color: #444444;
    font-size: 15px;
    line-height: 1.75;
}

/* ==========================================
   ACTION BUTTONS
========================================== */

.jcm-new-site__section a.jcm-new-site__action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    margin-top: 5px;
    padding: 12px 17px;
    border: 1px solid #171717;
    background: #171717;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.jcm-new-site__section a.jcm-new-site__action:hover {
    border-color: #087d91;
    background: #087d91;
    color: #ffffff;
}

.jcm-new-site__section a.jcm-new-site__action--bug {
    margin-bottom: 22px;
    border-color: #20e1ff;
    background: #20e1ff;
    color: #101010;
}

.jcm-new-site__section a.jcm-new-site__action--bug:hover {
    border-color: #12c4e0;
    background: #12c4e0;
    color: #101010;
}

/* ==========================================
   CLOSING SECTION
========================================== */

.jcm-new-site__closing {
    width: 100%;
    margin: 0;
    padding: 40px 48px 64px;
    background: #ffffff;
}

.jcm-new-site__button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: #171717;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.jcm-new-site__button:hover {
    background: #333333;
    color: #ffffff;
}

.jcm-new-site__closing .jcm-new-site__motto {
    margin: 25px 0 0;
    color: #171717;
    font-weight: 700;
}

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

@media (max-width: 900px) {

    .jcm-new-site__content {
        width: min(700px, calc(100% - 32px));
        padding: 24px 0 80px;
    }

    .jcm-new-site__intro {
        margin-bottom: 32px;
    }

    .jcm-new-site__section {
        padding: 36px 32px;
    }

    .jcm-new-site__intro + .jcm-new-site__section {
        padding-top: 44px;
    }

    .jcm-new-site__closing {
        padding: 36px 32px 52px;
    }

}

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

@media (max-width: 600px) {

    .jcm-new-site__content {
        width: calc(100% - 24px);
        padding: 16px 0 64px;
    }

    .jcm-new-site__intro {
        margin-bottom: 24px;
    }

    .jcm-new-site__intro .jcm-new-site__eyebrow {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .jcm-new-site__intro h1 {
        font-size: clamp(32px, 9vw, 52px);
    }

    .jcm-new-site__intro .jcm-new-site__lead {
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.7;
    }

    .jcm-new-site__section {
        padding: 30px 22px;
    }

    .jcm-new-site__intro + .jcm-new-site__section {
        padding-top: 36px;
    }

    .jcm-new-site__resources {
        grid-template-columns: 1fr;
    }

    .jcm-new-site__closing {
        padding: 30px 22px 44px;
    }

}
