body {
    padding-top: 0;
}

.wide-container {

    max-width: 1600px;
    margin: 0 auto;
    padding: 70px 20px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.style-guide-hero {
    background: linear-gradient(90deg, #FFB940 1.99%, #FF1EA4 162.15%);
    padding: 78px 0 0;
    text-align: center;
    color: #ffffff;
    min-height: 100vh;
}

.mobile {
    display: none;
}

.hero-wrapper {
    padding: 70px 40px;
}

.style-guide-hero .swi-info-pages-p {
    max-width: 500px;
}

.style-guide-hero__badge {
    display: inline-flex;
    padding: 26px;
    border-radius: 24px;
    margin-bottom: 28px;
}

.style-guide-hero__badge img {
    width: 180px;
    height: auto;
}

.style-guide-hero .download-btn {
    margin-top: 70px;
}

.style-guide-hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section__heading {
    max-width: 1100px;
    margin: 0 auto 60px;
    text-align: center;
}

.section__heading h2 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: #5b6074;
    line-height: 1.7;
}

.section--primary-logo {
    padding-top: 50px;
}

.section--primary-logo .container {
    max-width: 1100px;
    background: transparent;
    padding: 0 24px;
    box-shadow: none;
}

.section--brand-colours {
    padding-top: 40px;
}

.section--typography {
    padding-top: 0;
}

.section--primary-logo .swi-info-pages-list {
    text-align: left;
}

.primary-logo-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5%;
    row-gap: 20px;
    margin: 56px auto 48px;
}

.primary-logo-layout__col {
    flex: 1;
}

.primary-logo-layout__image {
    width: 100%;
    height: auto;
}

.primary-logo-layout__image--primary {
    width: 100%;
}

.primary-logo-layout__image--gradient {
    width: 100%;
}

.primary-logo-layout__copy {
    text-align: left;
}

.primary-logo-layout__copy h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: rgba(0, 0, 0, 0.6);
}

.logo-guidelines {
    background: #f5f6fb;
    padding: 24px 28px;
    border-radius: 18px;
    border: 1px solid rgba(127, 30, 255, 0.12);
    max-width: 1000px;
    margin: 32px auto 0;
    line-height: 1.7;
}

.swi-info-pages-list-item::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.6);
}

.logo-guidelines p {
    margin-bottom: 16px;
    color: #1f1f24;
}

.logo-guidelines ul {
    margin: 0;
    padding-left: 18px;
    color: #4b4f63;
}

.logo-guidelines li {
    margin-bottom: 8px;
}

.section--brand-colours .section__heading {
    margin-bottom: 25px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.color-grid svg {
    width: 100%;
}

.typography-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.section--typography .section__heading {
    margin-bottom: 50px;
}

.typography-card {
    display: grid;
    gap: 24px;
}

.typography-card__headline {
    font-size: 164px;
    line-height: 1;
    font-weight: 700;
}

.typography-card__body h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.typography-card__body p {
    color: #4b4f63;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 20px;
}

.typography-stack {
    display: grid;
    gap: 24px;
    align-content: start;
}

.typography-stack__item:not(.swi-info-pages-p) {
    font-weight: 700;
}

.typography-stack__item--h1 {
    font-size: 70px;
}

.typography-stack__item--h2 {
    font-size: 60px;
}

.typography-stack__item--h3 {
    font-size: 30px;
}

.typography-stack__item--body {
    font-size: 20px;
    font-weight: 400;
    color: #4b4f63;
}

.typography-highlight {
    display: grid;
    gap: 28px;
    align-content: start;
    font-size: 100px;
}

.typography-highlight__item {
    font-size: 50px;
    font-family: "Pacifico", cursive;
    background: linear-gradient(0 deg, rgba(255, 188, 63, 1) 30%, rgba(255, 107, 115, 1) 63%);
    background: -webkit-linear-gradient(0deg, rgba(255, 188, 63, 1) 30%, rgba(255, 107, 115, 1) 63%);
    background-clip: text;
    box-decoration-break: clone;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    font-size: 80px;
}

.typography-highlight__item.is-secondary {
    font-size: 60px;
}

.style-guide-footer {
    background: #111223;
    color: #ffffff;
    padding: 80px 0;
}

.style-guide-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}

.style-guide-footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.style-guide-footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 8px;
}

.style-guide-footer li,
.style-guide-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.style-guide-footer__socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 992px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    .style-guide-header__menu {
        display: none;
    }

    .primary-logo-layout {
        flex-wrap: wrap;
        gap: 40px;
        margin: 48px auto 36px;
    }

    .primary-logo-layout__col,
    .primary-logo-layout__copy {
        flex: auto;
        max-width: none;
    }

    .section--brand-colours .container,
    .section--typography .container {
        padding: 56px 40px;
        border-radius: 28px;
    }

    .style-guide-hero h1 {
        font-size: 48px;
    }

    .section__heading h2 {
        font-size: 38px;
    }

    .typography-grid {
        grid-template-columns: 1fr;
    }

    .typography-grid * {
        text-align: center;
    }

    .typography-card__headline {
        font-size: 120px;
    }
}

@media (max-width: 600px) {
    .style-guide-header__nav {
        padding: 18px 0;
    }

    .style-guide-header__login {
        padding: 8px 16px;
    }

    .style-guide-hero {
        padding: 110px 0 90px;
    }

    .style-guide-hero h1 {
        font-size: 38px;
    }

    .style-guide-hero p {
        font-size: 18px;
    }

    .colour-spectrum {
        height: 110px;
    }

    .primary-logo-layout {
        margin: 36px auto 28px;
    }

    .primary-logo-layout__copy {
        max-width: none;
    }

    .primary-logo-layout__image--primary {
        max-width: 220px;
    }

    .primary-logo-layout__image--gradient {
        max-width: 260px;
    }

    .section--brand-colours .container,
    .section--typography .container {
        padding: 42px 24px;
        border-radius: 22px;
    }
}