:root {
    --front-bg: #050607;
    --front-panel: #0b0e12;
    --front-line: rgba(255, 255, 255, 0.1);
    --front-muted: #9198a5;
    --front-copy: #f5f7fb;
}

html {
    background: var(--front-bg);
}

body.site-bg {
    color: var(--front-copy);
    background: var(--front-bg) !important;
}

.site-bg .nav {
    height: 72px;
    background: rgba(5, 6, 7, 0.86) !important;
}

.site-bg .nav-inner {
    max-width: 1240px !important;
    height: 100%;
}

.site-bg .nav-inner > .flex {
    height: 100%;
}

.site-bg .nav a img {
    max-height: 40px;
    border-radius: 0 !important;
}

.site-bg .nav-link {
    min-height: 36px;
    border-radius: 8px;
    letter-spacing: 0 !important;
}

.site-bg .page-shell {
    max-width: 1180px !important;
}

.site-bg .page-shell .hero-title,
.site-bg .page-shell > h1.hero-title {
    max-width: 880px;
    font-size: 58px !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
}

.site-bg .section-title,
.site-bg .creator-name {
    letter-spacing: 0 !important;
}

.home-v2 .hero {
    min-height: 0;
    padding-top: 0 !important;
    padding-bottom: 72px !important;
    overflow: clip;
}

.home-v2 .hero::before {
    background:
        radial-gradient(680px 500px at 14% 2%, rgba(45, 117, 255, 0.26), transparent 70%),
        radial-gradient(620px 460px at 88% 5%, rgba(23, 203, 214, 0.15), transparent 72%);
}

.home-v2 .content-hero {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: calc(100svh - 72px - var(--announcement-height, 0px));
    min-height: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: #080b10 !important;
}

.home-v2 .content-hero-copy {
    position: relative;
    z-index: 4;
    max-width: 1040px;
}

.home-v2 .home-banner-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover;
    opacity: 1;
}

.home-v2 .home-banner-media.is-unavailable {
    display: none;
}

.home-v2 .banner-hero::before {
    display: none;
}

.home-v2 .banner-hero::after {
    display: none;
}

.home-v2 .home-banner-link {
    position: absolute;
    z-index: 1;
    inset: 0;
}

.home-v2 .content-hero .hero-kicker {
    border-radius: 999px;
    letter-spacing: 0.12em !important;
}

.home-v2 .content-hero .hero-title {
    max-width: 1040px;
    margin-top: 26px !important;
    font-size: 76px !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
}

.home-v2 .content-hero .hero-title span {
    display: block;
}

.home-v2 .content-hero .hero-title span:last-child {
    color: #a9b0bb;
}

.home-v2 .content-hero .hero-desc {
    max-width: 720px;
    margin-top: 24px !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
}

.home-v2 .hero-actions {
    align-items: center;
    margin-top: 28px;
}

.home-v2 .hero-cta,
.home-v2 .hero-ghost {
    height: auto !important;
    min-width: 176px;
    min-height: 48px;
    margin-top: 0 !important;
    border-radius: 8px !important;
}

.home-pulse,
.home-channels,
.home-v2 .trust {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1120px);
    margin-left: auto !important;
    margin-right: auto !important;
}

.home-pulse {
    padding: 22px 0 24px;
    border-top: 1px solid var(--front-line);
    border-bottom: 1px solid var(--front-line);
}

.home-pulse-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c8ced8;
    font-size: 13px;
}

.home-pulse-head > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.home-pulse-head a {
    color: #f7f9fc;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #30d5c8;
    box-shadow: 0 0 14px rgba(48, 213, 200, 0.7);
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.home-stats > div {
    padding: 0 24px;
    border-left: 1px solid var(--front-line);
}

.home-stats > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.home-stats strong,
.home-stats span {
    display: block;
}

.home-stats strong {
    min-height: 40px;
    font-size: 32px;
    line-height: 1;
}

.home-stats span {
    margin-top: 8px;
    color: var(--front-muted);
    font-size: 13px;
}

.home-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px !important;
}

.home-channels > a {
    position: relative;
    min-height: 104px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--front-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.home-channels > a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    width: 36px;
    height: 2px;
    background: var(--tone, #2ccfff);
}

.home-channels > a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.045);
}

.home-channels [data-tone="green"] { --tone: #43d17f; }
.home-channels [data-tone="purple"] { --tone: #a27bff; }
.home-channels [data-tone="amber"] { --tone: #f2b94b; }
.home-channels [data-tone="blue"] { --tone: #4d91ff; }
.home-channels [data-tone="pink"] { --tone: #f06ab7; }

.home-channels span,
.home-channels strong,
.home-channels small {
    display: block;
}

.home-channels span {
    color: var(--tone, #2ccfff);
    font-size: 11px;
}

.home-channels strong {
    margin-top: 12px;
    font-size: 17px;
}

.home-channels small {
    margin-top: 6px;
    color: var(--front-muted);
    font-size: 12px;
}

.home-v2 .trust {
    margin-top: 28px !important;
    padding: 0;
}

.home-v2 > .section {
    max-width: 1180px !important;
    padding-top: 72px !important;
}

.home-v2 .section-header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--front-line);
}

.home-v2 .section-title {
    font-size: 32px !important;
}

.site-bg .card {
    border-radius: 8px !important;
}
