:root {
    --hb-bg: #0f1218;
    --hb-surface: #191d25;
    --hb-surface-2: #20242e;
    --hb-border: #313743;
    --hb-text: #ffffff;
    --hb-muted: #b8c2df;
    --hb-green: #24d66f;
    --hb-green-dark: #18b75b;
    --hb-orange: #ff9f0a;
    --hb-orange-dark: #e18400;
    --hb-radius: 12px;
    --hb-wrap: 1290px;
}

body {
    background: var(--hb-bg);
    color: var(--hb-text);
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 1.75;
}

.container,
.site-header__inner,
.site-footer__inner {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--hb-wrap);
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 48px);
}

.page-main--flush {
    padding-top: 0;
}

.hero {
    min-height: 680px;
    overflow: hidden;
    padding: 100px 0 72px;
    position: relative;
}

.hero__bg {
    background:
        radial-gradient(circle at 42% 39%, rgba(28, 165, 94, 0.2), transparent 24rem),
        radial-gradient(circle at 66% 58%, rgba(255, 155, 13, 0.07), transparent 26rem),
        linear-gradient(180deg, #0b0f13 0%, var(--hb-bg) 100%);
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.hero__inner {
    align-items: start;
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    min-height: 485px;
    position: relative;
    text-align: left;
    z-index: 1;
}

.hero__copy {
    max-width: 790px;
}

.hero .breadcrumbs {
    margin: 0 0 38px;
}

.hero__title {
    color: #f8fbff;
    font-size: clamp(3rem, 4.7vw, 4.12rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 0 16px;
    max-width: 790px;
    text-align: left;
    text-shadow: 0 3px 0 #000, 0 1px 22px rgba(255, 255, 255, 0.08);
}

.hero__lead {
    color: var(--hb-muted);
    font-size: 1.12rem;
    line-height: 1.75;
    margin: 0 0 34px;
    max-width: 760px;
    text-align: left;
    text-shadow: none;
}

.hero__lead + .hero__lead {
    margin-top: -8px;
}

.article-meta {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 22px;
}

.article-meta__author {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    gap: 8px;
    text-decoration: none;
}

.article-meta__avatar {
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    display: block;
    height: 34px;
    object-fit: cover;
    width: 34px;
}

.article-meta__divider {
    background: var(--hb-border);
    height: 28px;
    width: 1px;
}

.article-meta time,
.article-meta span {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.hero__media {
    justify-self: end;
    margin-top: 58px;
    width: min(100%, 256px);
}

.hero__poster {
    margin: 0;
    width: min(100%, 256px);
}

.hero__poster img {
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    display: block;
    height: auto;
    width: 100%;
}

.release-countdown {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0 0;
    width: 100%;
}

.release-countdown__title {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 0 #000;
}

.release-countdown__grid {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, 1fr);
}

.release-countdown__unit {
    background: #fff7f7;
    border-radius: 7px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    color: #060818;
    min-width: 0;
    padding: 8px 6px 7px;
    text-align: center;
}

.release-countdown__unit span {
    color: #060818;
    display: block;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.release-countdown__unit small {
    color: #060818;
    display: block;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-top: 5px;
    text-transform: uppercase;
}

.toc-wrap {
    background: var(--hb-surface);
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    box-shadow: none;
    color: var(--hb-muted);
    margin: 0 0 30px;
    overflow: hidden;
    padding: 0;
}

.toc-wrap__summary {
    border-bottom: 1px solid var(--hb-border);
    color: var(--hb-green);
    cursor: pointer;
    display: block;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 18px 20px;
    text-transform: uppercase;
}

.toc-wrap__summary::after {
    content: " \25B2";
    font-size: 0.75rem;
    letter-spacing: 0;
    margin-left: 6px;
}

.toc__list {
    display: block;
    font-size: 1rem;
    line-height: 2.2;
    margin: 18px 0 22px 44px;
}

.toc__list a {
    color: var(--hb-muted);
    font-weight: 700;
    text-decoration: none;
}

.toc__list a:hover {
    color: #ffffff;
}

.page-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    margin: 0 0 46px;
    padding: 0;
}

.page-section + .page-section {
    border-top: 0;
}

.page-section p {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.75;
}

.page-section p + p {
    margin-top: 24px;
}

.page-section > h2 {
    align-items: center;
    color: #ffffff;
    display: flex;
    font-size: 1.72rem;
    font-weight: 900;
    gap: 14px;
    line-height: 1.2;
    margin: 0 0 18px;
    padding: 0;
    text-align: left;
    text-shadow: 0 3px 0 #000;
}

.page-section > h2::before {
    background: var(--hb-green);
    border-radius: 3px;
    content: "";
    flex: 0 0 5px;
    height: 30px;
    left: auto;
    position: static;
    top: auto;
    width: 5px;
}

.table-wrap {
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    margin: 18px 0 26px;
    overflow-x: auto;
}

.table-wrap table {
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}

.table-wrap th,
.table-wrap td {
    background: #20242e;
    border-bottom: 1px solid #303642;
    border-right: 1px solid #303642;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.55;
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
}

.table-wrap th {
    color: var(--hb-muted);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.table-wrap tr:last-child td {
    border-bottom: 0;
}

.table-wrap th:last-child,
.table-wrap td:last-child {
    border-right: 0;
}

.faq-list {
    display: block;
    margin: 0;
}

.faq-item {
    background: var(--hb-surface);
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    margin: 0 0 18px;
    padding: 0;
}

.faq-item summary {
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-size: 1rem;
    font-weight: 900;
    justify-content: space-between;
    list-style: none;
    padding: 17px 22px;
    position: static;
    text-shadow: 0 2px 0 #000;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    color: var(--hb-green);
    content: '+';
    font-size: 1.42rem;
    line-height: 1;
    margin-left: 18px;
    position: static;
    text-shadow: none;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item > p,
.faq-item__body {
    border-top: 1px solid var(--hb-border);
    color: var(--hb-muted);
    font-size: 0.96rem;
    margin: 0;
    padding: 16px 22px 20px;
}

@media (max-width: 768px) {
    .container,
    .site-header__inner,
    .site-footer__inner {
        width: calc(100% - 28px);
    }

    .hero {
        min-height: 0;
        padding: 42px 0 54px;
    }

    .hero__inner {
        gap: 28px;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero__title {
        font-size: clamp(2.35rem, 11vw, 3.2rem);
    }

    .hero__media {
        justify-self: start;
        margin-top: 0;
        max-width: 100%;
        width: 100%;
    }

    .hero__poster {
        margin-left: auto;
        margin-right: auto;
        width: 220px;
    }

    .release-countdown {
        align-items: stretch;
        gap: 10px;
    }

    .release-countdown__grid {
        gap: 5px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
    }

    .release-countdown__unit {
        padding: 7px 3px 6px;
    }

    .release-countdown__unit span {
        font-size: 1.18rem;
    }

    .release-countdown__unit small {
        font-size: 0.52rem;
        margin-top: 3px;
    }

    .article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .article-meta__divider {
        display: none;
    }

    .toc__list {
        margin-left: 38px;
    }
}
