.page-home {
    display: block;
    height: 0;
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--color-background);
    color: var(--color-on-background);
}

.page-home::-webkit-scrollbar {
    display: none;
}

.home-hero {
    min-height: 34rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    background: #17191d;
    isolation: isolate;
}

.home-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.16;
    background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 90%);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: #ed4d56;
}

.home-hero__inner,
.home-content {
    width: min(1280px, calc(100% - 4rem));
    margin-inline: auto;
}

.home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 7rem);
    padding-block: 5rem 7rem;
}

.home-hero__copy {
    max-width: 47rem;
    position: relative;
    z-index: 1;
}

.home-eyebrow,
.home-kicker {
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.home-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    color: #e3e4e5;
}

.home-eyebrow span {
    width: 0.55rem;
    height: 0.55rem;
    background: #ed4d56;
    border-radius: 50%;
}

.home-hero h1 {
    max-width: 45rem;
    margin: 0;
    color: #fff;
    font-size: 3.25rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.home-hero__description {
    max-width: 38rem;
    margin-top: 1.5rem;
    color: #c8c9cb;
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.home-action {
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.88rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.home-action:hover {
    transform: translateX(3px);
}

.home-action--primary {
    background: #ed4d56;
    color: #fff;
}

.home-action--primary:hover {
    background: #d73d47;
}

.home-action--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.home-action--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.home-action--discord {
    justify-content: flex-start;
    color: #fff;
    background: #34373d;
}

.home-action--discord:hover {
    background: #41454c;
}

.home-action--discord img {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) invert(1);
}

.home-hero__keys {
    height: 2.8rem;
    display: flex;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 50%;
    opacity: 0.2;
    overflow: hidden;
}

.home-hero__keys span {
    min-width: 3.2rem;
    flex: 1;
    border: 1px solid #fff;
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.8);
}

.home-hero__keys span:nth-child(2),
.home-hero__keys span:nth-child(3),
.home-hero__keys span:nth-child(5),
.home-hero__keys span:nth-child(6),
.home-hero__keys span:nth-child(7),
.home-hero__keys span:nth-child(9),
.home-hero__keys span:nth-child(10),
.home-hero__keys span:nth-child(12),
.home-hero__keys span:nth-child(13),
.home-hero__keys span:nth-child(14) {
    background: linear-gradient(180deg, transparent 0 66%, rgba(255, 255, 255, 0.8) 66% 100%);
}

.home-hero__index {
    position: absolute;
    right: max(2rem, calc((100vw - 1280px) / 2));
    bottom: 3.6rem;
    color: #b8b9bb;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-content {
    padding-block: 3.25rem 1.5rem;
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.8fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
}

.home-changelog,
.home-sidebar,
.home-info,
.home-community {
    min-width: 0;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-on-background);
}

.home-kicker {
    margin-bottom: 0.5rem;
    color: #d6424c;
}

.home-section-heading h2,
.home-community h2 {
    font-family: "Lexend Deca", sans-serif;
    font-size: 1.55rem;
    line-height: 1.25;
    font-weight: 700;
}

.home-update-count {
    flex: 0 0 auto;
    color: var(--color-on-background);
    opacity: 0.58;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.77rem;
}

.home-changelog__rows {
    max-height: 49rem;
    overflow-y: auto;
    scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
}

.home-change {
    display: grid;
    grid-template-columns: 6.8rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.28);
}

.home-change__date {
    padding-top: 0.15rem;
    color: var(--color-on-background);
    opacity: 0.62;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.67rem;
    line-height: 1.4;
    font-weight: 700;
    white-space: nowrap;
}

.home-change__content {
    min-width: 0;
}

.home-change__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-bottom: 0.32rem;
}

.home-change__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.25rem;
    padding: 0.14rem 0.38rem;
    border-radius: 2px;
    background: #e8e8e8;
    color: #343434;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.61rem;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.home-change__badge--verification {
    background: #eee6f7;
    color: #68408d;
}

.home-change__badge--victor {
    background: #e1f0e4;
    color: #246038;
}

.home-change__badge--moved-up,
.home-change__badge--moved-down {
    background: #e8e8e8;
    color: #4f4f4f;
}

.home-change__badge--run {
    background: #e0ebf7;
    color: #245483;
}

.home-change__badge--superseded {
    background: #fff0d8;
    color: #795218;
}

.home-change__badge--removed {
    background: #f8e1e2;
    color: #8f3035;
}

.home-change__rank {
    color: var(--color-on-background);
    opacity: 0.7;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-change__level {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 700;
}

.home-change__level:hover {
    color: #d6424c;
    text-decoration: underline;
}

.home-change__note {
    margin-top: 0.2rem;
    color: var(--color-on-background);
    opacity: 0.66;
    font-size: 0.72rem;
    line-height: 1.45;
    text-transform: capitalize;
}

.home-feed-message {
    padding-block: 1.5rem;
    color: var(--color-on-background);
    opacity: 0.7;
    font-size: 0.9rem;
}

.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.home-community {
    padding: 1.35rem;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-top: 3px solid #d6424c;
}

.home-community__intro {
    margin-top: 0.7rem;
    color: var(--color-on-background);
    opacity: 0.72;
    font-size: 0.82rem;
    line-height: 1.55;
}

.home-discord-widget {
    display: block;
    width: 100%;
    height: 21rem;
    margin-top: 1rem;
    background: #202225;
}

.home-community__aredl {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(128, 128, 128, 0.35);
    color: var(--color-on-background);
    font-family: "Lexend Deca", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.home-community__aredl span:first-child {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.home-community__aredl > span:last-child {
    position: absolute;
    right: 0.9rem;
}

.home-community__aredl img {
    width: auto;
    height: 1.5rem;
    max-width: 100%;
    object-fit: contain;
}

.home-community__aredl strong {
    font-size: 1.5 rem;
    line-height: 1;
}

.home-community__aredl:hover {
    border-color: #d6424c;
    color: #d6424c;
}

.home-community__join {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.85rem 0.9rem;
    background: #5865f2;
    color: #fff;
    border-radius: 3px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-community__join:hover {
    background: #4752c4;
}

.home-section-heading--small {
    align-items: end;
    padding-bottom: 0.75rem;
    border-width: 1px;
    border-color: rgba(128, 128, 128, 0.4);
}

.home-section-heading--small h2 {
    font-size: 1.2rem;
}

.home-staff-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 0.8rem;
    padding-block: 1rem;
}

.home-staff-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 1.1rem minmax(0, 1fr);
    align-items: center;
    gap: 0.25rem 0.45rem;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.77rem;
}

.home-staff-list img {
    width: 1rem;
    height: 1rem;
    grid-row: span 2;
    object-fit: contain;
}

.home-staff-list a,
.home-staff-list li > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.home-staff-list a:hover {
    text-decoration: underline;
}

.home-staff-list small {
    color: var(--color-on-background);
    opacity: 0.58;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.62rem;
    line-height: 1;
    text-transform: capitalize;
}

.home-info__links {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(128, 128, 128, 0.35);
}

.home-info__links a {
    display: flex;
    justify-content: space-between;
    padding-block: 0.75rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.79rem;
    font-weight: 600;
}

.home-info__links a:hover {
    color: #d6424c;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3rem;
    border-top: 1px solid rgba(128, 128, 128, 0.35);
    border-bottom: 1px solid rgba(128, 128, 128, 0.35);
}

.home-stat {
    min-height: 7.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem 1.5rem;
    border-right: 1px solid rgba(128, 128, 128, 0.35);
}

.home-stat:first-child {
    padding-left: 0;
}

.home-stat__value {
    font-family: "Lexend Deca", sans-serif;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
}

.home-stat__label {
    color: var(--color-on-background);
    opacity: 0.65;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.home-stats__note {
    grid-column: 1 / -1;
    padding-block: 0.75rem;
    color: var(--color-on-background);
    opacity: 0.58;
    font-size: 0.71rem;
}

.home-mentions {
    margin-top: 3rem;
}

.home-mentions__carousel {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.home-mentions__frame {
    width: min(100%, 52rem);
    justify-self: center;
    aspect-ratio: 16 / 9;
    background: #202225;
}

.home-mentions__video {
    display: block;
    width: 100%;
    height: 100%;
}

.home-mentions__control {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(128, 128, 128, 0.45);
    border-radius: 50%;
    background: var(--color-background);
    color: var(--color-on-background);
    cursor: pointer;
    font-family: "Lexend Deca", sans-serif;
    font-size: 1.1rem;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.home-mentions__control:hover {
    background: var(--color-primary);
    color: var(--color-on-primary);
    transform: translateY(-2px);
}

.home-mentions__unsupported {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.home-mentions__source {
    display: flex;
    justify-content: space-between;
    width: min(100%, 52rem);
    margin: 0.7rem auto 0;
    color: var(--color-on-background);
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
}

.home-mentions__source:hover {
    color: #d6424c;
}

.home-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.2rem 0.3rem;
    color: var(--color-on-background);
    opacity: 0.55;
    font-size: 0.68rem;
}

.home-footer span:first-child {
    font-family: "Lexend Deca", sans-serif;
    font-weight: 700;
}

@media screen and (max-width: 900px) {
    .home-hero__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
        gap: 2rem;
    }

    .home-hero h1 {
        font-size: 2.75rem;
    }

    .home-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 700px) {
    .home-hero {
        min-height: unset;
    }

    .home-hero__inner,
    .home-content {
        width: calc(100% - 2.5rem);
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 3.5rem 5.5rem;
    }

    .home-hero h1 {
        font-size: 2.35rem;
    }

    .home-hero__description {
        font-size: 0.94rem;
    }

    .home-hero__actions {
        width: min(100%, 27rem);
    }

    .home-hero__keys {
        left: 20%;
    }

    .home-hero__index {
        right: 1.25rem;
        bottom: 3.4rem;
    }

    .home-content {
        padding-top: 2.25rem;
    }

    .home-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-change {
        grid-template-columns: 5.9rem minmax(0, 1fr);
        gap: 0.65rem;
    }

    .home-stats {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .home-stat,
    .home-stat:first-child {
        min-height: 5.5rem;
        padding-inline: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    }

    .home-stats__note {
        grid-column: auto;
    }

    .home-mentions__carousel {
        grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
        gap: 0.5rem;
    }

    .home-mentions__control {
        width: 2.25rem;
        height: 2.25rem;
    }
}

@media screen and (max-width: 420px) {
    .home-hero h1 {
        font-size: 2rem;
    }

    .home-change {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .home-change__date {
        padding: 0;
    }

    .home-staff-list {
        grid-template-columns: 1fr 1fr;
    }

    .home-footer {
        flex-direction: column;
        gap: 0.4rem;
    }
}