.marketing-page {
    position: relative;
    color: var(--joy-text);
}

.marketing-page p,
.marketing-page li {
    font-family: 'montserrat', Arial, sans-serif;
    line-height: 1.65;
}

.marketing-page h1,
.marketing-page h2,
.marketing-page h3 {
    margin-top: 0;
}

.marketing-section {
    position: relative;
    padding: 3.1rem 0;
}

.marketing-section--compact {
    padding: 2.5rem 0;
}

.marketing-kicker,
.marketing-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--joy-green-dark);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.marketing-eyebrow {
    color: var(--joy-blue);
}

.marketing-title {
    display: block;
    max-width: 50rem;
    color: var(--joy-ink);
    font-family: var(--joy-title-font) !important;
    font-size: 5.05rem;
    font-weight: 700;
    line-height: 0.94;
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.68), 0 8px 18px rgba(61, 42, 27, 0.08);
}

.marketing-title span {
    display: block;
    color: var(--joy-green);
}

.marketing-page h2 {
    color: var(--joy-ink);
    font-family: var(--joy-title-font) !important;
    font-size: 2.45rem;
    font-weight: 700;
    line-height: 1.05;
}

.marketing-page h3 {
    color: var(--joy-ink);
    font-family: var(--joy-title-font) !important;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.12;
}

.marketing-subtitle {
    max-width: 33rem;
    margin-top: 1rem;
    color: var(--joy-ink);
    font-size: 1.12rem;
    font-weight: 900;
}

.marketing-copy-wide {
    max-width: 46rem;
    margin-right: auto;
    margin-left: auto;
    color: var(--joy-muted);
    font-size: 1.02rem;
}

.marketing-hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 2.9rem;
    background:
        linear-gradient(180deg, rgba(185, 232, 255, 0.36), rgba(255, 255, 255, 0.86) 100%),
        linear-gradient(135deg, #b9e8ff 0, #edfaff 60%, #ffffff 100%);
}

.marketing-hero::before {
    display: none;
}

.marketing-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(24rem, 0.76fr) minmax(35rem, 1.24fr);
    gap: 2.1rem;
    align-items: center;
}

.marketing-hero__copy {
    min-width: 0;
}

.marketing-hero__support {
    max-width: 34rem;
    margin-top: 0.9rem;
    color: var(--joy-text);
    font-size: 0.98rem;
}

.marketing-hero__micro {
    margin-top: 1rem;
    color: var(--joy-muted);
    font-size: 0.9rem;
}

.marketing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 1.25rem;
}

.marketing-button,
.marketing-button:hover,
.marketing-button:active,
.marketing-button:visited {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.2rem;
    max-width: 100%;
    padding: 0.85rem 1.35rem;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(55, 67, 84, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.marketing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(55, 67, 84, 0.24);
}

.marketing-button--steam,
.marketing-button--steam:hover,
.marketing-button--steam:active,
.marketing-button--steam:visited {
    color: #ffffff;
    background: linear-gradient(180deg, #35bd93, var(--joy-green));
}

.marketing-button--patreon,
.marketing-button--patreon:hover,
.marketing-button--patreon:active,
.marketing-button--patreon:visited {
    color: #ffffff;
    background: linear-gradient(180deg, #a875ff, var(--joy-purple));
}

.marketing-button--light,
.marketing-button--light:hover,
.marketing-button--light:active,
.marketing-button--light:visited {
    color: var(--joy-ink);
    background: #ffffff;
}

.marketing-link,
.marketing-link:hover,
.marketing-link:active,
.marketing-link:visited {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--joy-line);
    border-radius: 999px;
    color: var(--joy-ink);
    background: rgba(255, 255, 255, 0.74);
    font-family: 'montserrat', Arial, sans-serif;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(76, 56, 42, 0.1);
}

.marketing-link--light,
.marketing-link--light:hover,
.marketing-link--light:active,
.marketing-link--light:visited {
    color: var(--joy-ink);
    background: rgba(255, 255, 255, 0.88);
}

.hero-media-frame {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    border: 9px solid rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    background: #dff2ff;
    box-shadow: 0 26px 60px rgba(79, 62, 46, 0.24);
}

.feature-media {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #dff2ff;
}

.feature-media video,
.feature-media__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-media video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feature-media.is-video-ready [data-feature-media-video] {
    opacity: 1;
}

.feature-media__fallback {
    z-index: 1;
}

.pillar-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
}

.marketing-card {
    height: 100%;
    padding: 1.35rem;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: var(--joy-shadow);
}

.marketing-card h3 {
    margin-bottom: 0.55rem;
}

.marketing-card p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.94rem;
}

.pillar-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: center;
    text-align: left;
}

.pillar-card p {
    grid-column: 2;
}

.pillar-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    aspect-ratio: 1;
    border-radius: 999px;
    color: #ffffff;
    font-size: 1.55rem;
    box-shadow: inset 0 -6px 12px rgba(64, 42, 24, 0.12), 0 12px 24px rgba(62, 57, 52, 0.14);
}

.pillar-card--place .pillar-card__icon {
    background: linear-gradient(180deg, #64c56a, #3da848);
}

.pillar-card--characters .pillar-card__icon {
    background: linear-gradient(180deg, #8d74ff, #6c52de);
}

.pillar-card--story .pillar-card__icon {
    background: linear-gradient(180deg, #ffb24d, #f07a12);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.feature-card {
    overflow: hidden;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: var(--joy-shadow);
}

.feature-card .feature-media {
    border-radius: 0;
}

.feature-card__body {
    padding: 0.95rem 1rem 1.05rem;
}

.feature-card__body h2,
.feature-card__body h3 {
    margin-bottom: 0.45rem;
    font-size: 1.22rem;
}

.feature-card__body p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.94rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.showcase-card {
    overflow: hidden;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: 0 12px 26px rgba(91, 69, 52, 0.11);
}

.showcase-card .feature-media {
    border-radius: 0;
}

.showcase-card__body {
    padding: 0.95rem 1rem 1.05rem;
}

.showcase-card h3 {
    margin-bottom: 0.35rem;
    color: var(--joy-green-dark);
    font-size: 1.22rem;
}

.showcase-card p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.86rem;
}

.band-section {
    background: #f6fcff;
}

.band-section--green {
    color: var(--joy-text);
    background: #f1fbf3;
}

.band-section--green h2,
.band-section--green > .container > .text-center h2 {
    color: var(--joy-ink);
}

.band-section--green .marketing-card {
    background: rgba(255, 255, 255, 0.9);
}

.band-section--green .marketing-card h3 {
    color: var(--joy-ink);
}

.band-section--green .marketing-card p {
    color: var(--joy-muted);
}

.step-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.step-card {
    position: relative;
    min-height: 100%;
    padding: 1.3rem;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: 0 12px 26px rgba(91, 69, 52, 0.1);
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, #6bcf54, #3aa44a);
    font-family: 'montserrat', Arial, sans-serif;
    font-weight: 900;
}

.step-card:nth-child(2) .step-card__number {
    background: linear-gradient(180deg, #9f79ff, #7352db);
}

.step-card:nth-child(3) .step-card__number {
    background: linear-gradient(180deg, #ffbd4e, #f28a1e);
}

.step-card:nth-child(4) .step-card__number {
    background: linear-gradient(180deg, #4cb1ff, #2d7fe3);
}

.step-card h3 {
    font-size: 1.35rem;
}

.step-card p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.9rem;
}

.devlog-intro {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: space-between;
}

.tag-row,
.devlog-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.devlog-category-row {
    justify-content: center;
    margin: 1rem auto 2rem;
}

.tag-chip,
.press-asset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(243, 183, 70, 0.46);
    border-radius: 999px;
    color: var(--joy-ink);
    background: #fff3c8;
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    text-align: center;
}

.news-container {
    margin-top: 1.4rem;
}

.news-container .article {
    display: block;
    height: 100%;
    overflow: hidden;
    padding: 0.75rem;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    color: var(--joy-text);
    background: var(--joy-card);
    box-shadow: 0 12px 26px rgba(91, 69, 52, 0.1);
    text-decoration: none;
}

.news-container .article img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.news-container .article h3 {
    display: block;
    margin: 0.8rem 0 0.35rem;
    color: var(--joy-ink);
    font-size: 1.2rem;
}

.news-container .article p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.86rem;
}

.support-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid rgba(37, 154, 117, 0.22);
    border-radius: 8px;
    color: var(--joy-text);
    background: #ffffff;
    box-shadow: var(--joy-shadow);
}

.support-panel h1,
.support-panel h2 {
    color: var(--joy-ink);
}

.support-panel p,
.support-panel li {
    color: var(--joy-muted);
}

.support-panel ul {
    display: grid;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.support-panel--media {
    grid-template-columns: minmax(0, 0.95fr) minmax(25rem, 1.05fr);
}

.support-panel__copy,
.support-panel__visual {
    min-width: 0;
}

.support-panel__visual .feature-media {
    box-shadow: 0 16px 34px rgba(91, 69, 52, 0.16);
}

.challenge-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.challenge-panel__copy p {
    color: var(--joy-muted);
}

.challenge-panel__goal {
    margin-top: 1rem;
    color: var(--joy-green-dark) !important;
    font-weight: 900;
}

.challenge-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.challenge-card {
    min-height: 100%;
    padding: 1.2rem;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: 0 12px 26px rgba(91, 69, 52, 0.1);
}

.challenge-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    aspect-ratio: 1;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, #4cb1ff, #2d7fe3);
    font-size: 1.15rem;
}

.challenge-card:nth-child(2) .challenge-card__icon {
    background: linear-gradient(180deg, #ffbd4e, #f28a1e);
}

.challenge-card:nth-child(3) .challenge-card__icon {
    background: linear-gradient(180deg, #9f79ff, #7352db);
}

.challenge-card p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.9rem;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
}

.tier-card {
    position: relative;
    min-height: 100%;
    padding: 1.25rem;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: 0 12px 26px rgba(91, 69, 52, 0.1);
}

.tier-card--featured {
    border-color: rgba(37, 154, 117, 0.46);
    background:
        linear-gradient(180deg, rgba(237, 255, 239, 0.92), rgba(255, 255, 255, 0.96)),
        var(--joy-card);
    box-shadow: 0 18px 38px rgba(37, 154, 117, 0.18);
}

.tier-card__badge,
.tier-card__amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.1;
}

.tier-card__badge {
    margin-right: 0.35rem;
    color: #ffffff;
    background: var(--joy-green);
}

.tier-card__amount {
    color: var(--joy-ink);
    background: #fff3c8;
}

.tier-card p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.9rem;
}

.support-goal {
    max-width: 52rem;
    margin: 1.4rem auto 0;
    color: var(--joy-green-dark);
    font-weight: 900;
    text-align: center;
}

.support-collections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.7rem;
}

.professional-note {
    padding: 2rem;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.66);
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 58rem;
    margin: 1.6rem auto 0;
}

.faq-list .accordion-item {
    overflow: hidden;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: 0 8px 18px rgba(91, 69, 52, 0.08);
}

.faq-list .accordion-button {
    color: var(--joy-ink);
    background: rgba(255, 255, 255, 0.65);
    font-family: 'montserrat', Arial, sans-serif;
    font-weight: 900;
}

.faq-list .accordion-button:not(.collapsed) {
    color: #ffffff;
    background: var(--joy-green);
}

.faq-list .accordion-body {
    color: var(--joy-muted);
    font-family: 'montserrat', Arial, sans-serif;
    line-height: 1.7;
}

.roadmap-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.roadmap-column {
    padding: 1.35rem;
    border: 1px solid var(--joy-line);
    border-radius: 8px;
    background: var(--joy-card);
    box-shadow: var(--joy-shadow);
}

.roadmap-column ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.press-asset-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.devlog-empty-state {
    padding: 4rem 1rem;
    text-align: center;
}

.devlog-empty-state h2 {
    margin-bottom: 1rem;
    color: var(--joy-ink);
    font-size: 2.4rem;
}

.devlog-empty-state p {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    color: var(--joy-muted);
    font-size: 1.02rem;
}

@media (prefers-reduced-motion: reduce) {
    .marketing-button,
    .marketing-link,
    .header-nav-cta,
    .feature-media video {
        transition: none;
    }

    .feature-media video {
        display: none;
    }
}

@media (max-width: 1200px) {
    .feature-grid,
    .showcase-grid,
    .tier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .marketing-title {
        font-size: 4.25rem;
    }

    .marketing-page h2 {
        font-size: 2.55rem;
    }

    .marketing-hero {
        padding-top: 2.2rem;
    }

    .marketing-hero__inner,
    .feature-grid,
    .support-panel,
    .support-panel--media,
    .challenge-panel,
    .roadmap-columns {
        grid-template-columns: 1fr;
    }

    .step-list,
    .pillar-line,
    .press-asset-grid,
    .challenge-steps,
    .support-collections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .marketing-section {
        padding: 3rem 0;
    }

    .marketing-title {
        font-size: 3rem;
    }

    .marketing-page h2 {
        font-size: 2.15rem;
    }

    .marketing-page h3 {
        font-size: 1.35rem;
    }

    .showcase-grid,
    .feature-grid,
    .step-list,
    .pillar-line,
    .press-asset-grid,
    .challenge-steps,
    .tier-grid,
    .support-collections {
        grid-template-columns: 1fr;
    }

    .marketing-actions,
    .devlog-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .marketing-button,
    .marketing-link {
        width: 100%;
    }

    .marketing-hero .marketing-actions {
        flex-direction: row;
    }

    .marketing-hero .marketing-button {
        flex: 1 1 calc(50% - 0.4rem);
        width: auto;
        min-height: 3rem;
        padding: 0.72rem 0.85rem;
        font-size: 0.86rem;
    }

    .marketing-hero .marketing-link {
        flex: 1 0 100%;
        min-height: 2.85rem;
    }

    .marketing-hero .marketing-subtitle,
    .marketing-hero__support,
    .marketing-hero__micro {
        line-height: 1.52;
    }

    .pillar-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .hero-media-frame {
        border-width: 6px;
        border-radius: 16px;
    }
}

@media (max-width: 460px) {
    .marketing-title {
        font-size: 2.85rem;
    }

    .marketing-hero {
        padding-bottom: 3.2rem;
    }

    .pillar-card {
        display: block;
        text-align: center;
    }

    .pillar-card__icon {
        margin: 0 auto 0.9rem;
    }

    .support-panel {
        padding: 1.35rem;
    }
}


.marketing-page {
    overflow: hidden;
}

.marketing-section {
    padding: clamp(2.6rem, 5vw, 4.8rem) 0;
}

.marketing-section > .container,
.marketing-hero__inner {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
}

.marketing-hero {
    min-height: min(760px, calc(100vh - 4.8rem));
    padding: clamp(3rem, 6vw, 5.6rem) 0;
    background:
        linear-gradient(90deg, rgba(220, 246, 255, 0.84) 0, rgba(235, 250, 255, 0.58) 38%, rgba(255, 247, 226, 0.14) 72%),
        linear-gradient(180deg, rgba(46, 161, 211, 0.16), rgba(255, 231, 180, 0.58)),
        url('/pics/bg-street-agora.jpg') center / cover no-repeat;
}

.marketing-hero__inner {
    grid-template-columns: minmax(24rem, 0.72fr) minmax(30rem, 1fr);
}

.marketing-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.28rem 0.7rem;
    border: 1px solid rgba(31, 166, 123, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
}

.marketing-eyebrow {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.marketing-title {
    max-width: 46rem;
    font-size: clamp(3.2rem, 6vw, 5.3rem);
}

.marketing-subtitle {
    max-width: 35rem;
    font-size: 1.08rem;
    line-height: 1.55;
}

.marketing-hero__support,
.marketing-copy-wide {
    line-height: 1.72;
}

.marketing-button,
.marketing-button:hover,
.marketing-button:active,
.marketing-button:visited,
.marketing-link,
.marketing-link:hover,
.marketing-link:active,
.marketing-link:visited {
    border-radius: var(--joy-radius-control);
}

.marketing-card,
.feature-card,
.showcase-card,
.step-card,
.support-panel,
.challenge-card,
.tier-card,
.professional-note,
.roadmap-column,
.news-container .article {
    border-color: rgba(94, 119, 99, 0.15);
    border-radius: var(--joy-radius-card);
    background: linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(255, 249, 232, 0.92));
    box-shadow: 0 18px 42px rgba(74, 88, 72, 0.14);
}

.marketing-card,
.feature-card,
.showcase-card,
.step-card,
.challenge-card,
.tier-card,
.news-container .article {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.marketing-card:hover,
.feature-card:hover,
.showcase-card:hover,
.step-card:hover,
.challenge-card:hover,
.tier-card:hover,
.news-container .article:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 166, 123, 0.24);
    box-shadow: var(--joy-card-shadow-hover);
}

.feature-media,
.hero-media-frame {
    border-radius: var(--joy-radius-media);
    background: #eef9ff;
}

.hero-media-frame {
    border-width: 7px;
    box-shadow: 0 22px 48px rgba(38, 57, 68, 0.24);
}

.feature-card,
.showcase-card {
    display: flex;
    flex-direction: column;
}

.feature-card__body,
.showcase-card__body {
    flex: 1 1 auto;
}

.feature-card__body h2,
.feature-card__body h3,
.showcase-card h3 {
    line-height: 1.18;
}

.tag-chip,
.press-asset,
.tier-card__amount {
    border-color: rgba(243, 183, 70, 0.34);
    background: rgba(255, 243, 200, 0.78);
}

.support-panel {
    background: rgba(255, 255, 255, 0.9);
}

.faq-list .accordion-item {
    border-radius: var(--joy-radius-card);
    background: var(--joy-surface);
    box-shadow: var(--joy-card-shadow);
}

@media (max-width: 992px) {
    .marketing-hero {
        min-height: 0;
        background:
            linear-gradient(180deg, rgba(213, 244, 255, 0.9), rgba(255, 242, 209, 0.84)),
            url('/pics/bg-street-agora.jpg') center / cover no-repeat;
    }

    .marketing-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        width: min(760px, calc(100% - 2rem));
    }
}

@media (max-width: 768px) {
    .marketing-section.container {
        width: min(720px, calc(100% - 2rem));
        max-width: none;
        margin-right: auto;
        margin-left: auto;
        padding-right: 0;
        padding-left: 0;
    }

    .marketing-section > .container,
    .marketing-hero__inner {
        width: min(720px, calc(100% - 2rem));
        padding-right: 0;
        padding-left: 0;
    }

    .marketing-title {
        max-width: 100%;
        font-size: clamp(2.65rem, 14vw, 3.25rem);
        line-height: 0.98;
    }

    .marketing-page h2 {
        font-size: clamp(1.85rem, 9vw, 2.25rem);
        line-height: 1.08;
    }

    .marketing-card,
    .feature-card,
    .showcase-card,
    .step-card,
    .support-panel,
    .challenge-card,
    .tier-card,
    .professional-note {
        box-shadow: 0 10px 24px rgba(73, 82, 74, 0.1);
    }

    .marketing-hero__copy,
    .marketing-hero__cta,
    .hero-media-frame,
    .marketing-hero .marketing-actions,
    .marketing-hero .marketing-subtitle,
    .marketing-hero__support,
    .marketing-hero__micro {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .marketing-hero .marketing-subtitle,
    .marketing-hero__support,
    .marketing-hero__micro,
    .marketing-copy-wide,
    .pillar-line,
    .faq-list {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .marketing-hero__inner {
        width: calc(100% - 2rem);
    }

    .marketing-hero .marketing-actions {
        flex-direction: column;
    }

    .marketing-hero .marketing-button,
    .marketing-hero .marketing-link {
        flex: 0 0 auto;
        width: 100%;
    }
}


.marketing-card,
.feature-card,
.showcase-card,
.step-card,
.support-panel,
.challenge-card,
.tier-card,
.professional-note,
.roadmap-column,
.news-container .article,
.faq-list .accordion-item {
    border-radius: var(--joy-radius-card);
}

.marketing-button,
.marketing-link,
.header-nav-cta,
.tag-chip,
.press-asset,
.tier-card__badge,
.tier-card__amount {
    border-radius: var(--joy-radius-control);
}

.feature-media,
.hero-media-frame,
.feature-card img,
.showcase-card img,
.news-container .article img {
    border-radius: var(--joy-radius-media);
}

.feature-card .feature-media,
.showcase-card .feature-media {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.support-panel,
.professional-note,
.tier-card--featured {
    background-image: none;
}


.marketing-title--hero {
    max-width: 39rem;
    font-size: clamp(3.35rem, 6vw, 5.45rem);
    line-height: 0.95;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.86), 0 16px 32px rgba(36, 73, 96, 0.16);
}

.marketing-title--hero span {
    color: var(--joy-green-dark);
}

.marketing-title--page {
    max-width: 48rem;
    font-size: clamp(2.65rem, 5vw, 4.2rem);
    line-height: 1;
}

.marketing-hero__inner {
    grid-template-columns: minmax(23rem, 0.76fr) minmax(24rem, 0.9fr);
    grid-template-rows: auto auto;
    gap: 1.4rem 2.1rem;
}

.marketing-hero__copy {
    grid-column: 1;
    grid-row: 1;
}

.marketing-hero__cta {
    grid-column: 1;
    grid-row: 2;
}

.hero-media-frame {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    width: min(40rem, 45vw);
    aspect-ratio: 16 / 9;
    border-width: 10px;
    border-radius: var(--joy-radius-card);
    background: rgba(255, 255, 255, 0.86);
}

.hero-media-frame .feature-media {
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--joy-radius-media);
}

.hero-media-frame .feature-media video,
.hero-media-frame .feature-media__fallback {
    object-fit: cover;
}

.homepage-storyline {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    margin-bottom: 0.95rem;
    padding: 0.42rem 0.9rem;
    border: 1px solid rgba(31, 166, 123, 0.28);
    border-radius: var(--joy-radius-control);
    color: var(--joy-green-dark);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 22px rgba(72, 136, 118, 0.1);
    font-size: 0.9rem;
    font-weight: 900;
}

.feature-grid--large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.feature-grid--large .feature-card__body,
.showcase-grid--large .showcase-card__body {
    padding: 1.25rem 1.35rem 1.35rem;
}

.feature-grid--large .feature-card__body h2,
.feature-grid--large .feature-card__body h3 {
    font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.showcase-grid--large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.showcase-grid--large .showcase-card:first-child {
    grid-column: span 2;
}

.showcase-grid--large .showcase-card h3 {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
}

.about-game-panel,
.learn-more-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
    gap: 1.75rem;
    align-items: center;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(94, 119, 99, 0.15);
    border-radius: var(--joy-radius-card);
    background: var(--joy-surface);
    box-shadow: var(--joy-card-shadow);
}

.about-game-panel p,
.learn-more-panel p {
    color: var(--joy-muted);
}

.about-game-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--joy-radius-media);
    box-shadow: 0 12px 28px rgba(73, 82, 74, 0.14);
}

.learn-more-panel {
    grid-template-columns: minmax(0, 1fr) auto;
}

.learn-more-panel .marketing-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.professional-note--catsandfoxes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
    gap: 1.5rem;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(31, 166, 123, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 249, 255, 0.9)),
        url('/joy/elements/background-white.jpg') repeat;
    text-align: left;
}

.professional-note--catsandfoxes .professional-note__copy {
    padding: clamp(1.3rem, 3vw, 2.2rem);
}

.professional-note--catsandfoxes p {
    color: var(--joy-muted);
}

.professional-note--catsandfoxes > img {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
    transform: scale(1.55);
    transform-origin: 18% 58%;
}

.roadmap-page .marketing-section:first-child {
    padding-bottom: 2rem;
}

.roadmap-detail-section {
    padding-top: 1rem;
}

.roadmap-detail-inner {
    width: 100%;
}

.roadmap-page .roadmap-columns {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .showcase-grid--large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .marketing-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 1.15rem;
    }

    .hero-media-frame {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        width: 100%;
    }

    .marketing-hero__cta {
        grid-column: 1;
        grid-row: 3;
    }

    .feature-grid--large,
    .showcase-grid--large,
    .about-game-panel,
    .learn-more-panel,
    .professional-note--catsandfoxes {
        grid-template-columns: 1fr;
    }

    .showcase-grid--large .showcase-card:first-child {
        grid-column: auto;
    }

    .learn-more-panel .marketing-actions {
        justify-content: flex-start;
    }

    .professional-note--catsandfoxes > img {
        min-height: 15rem;
        transform-origin: 16% 56%;
    }
}

@media (max-width: 768px) {
    .marketing-title--hero {
        font-size: clamp(2.35rem, 12vw, 3.25rem);
    }

    .homepage-storyline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .about-game-panel,
    .learn-more-panel {
        padding: 1rem;
    }

    .professional-note--catsandfoxes .professional-note__copy {
        padding: 1.1rem;
    }
}


.marketing-hero {
    min-height: 0;
    padding: clamp(1.8rem, 3.6vw, 3.4rem) 0 clamp(0.35rem, 1vw, 0.8rem);
    background:
        linear-gradient(90deg, rgba(243, 252, 255, 0.94) 0, rgba(239, 250, 255, 0.82) 42%, rgba(247, 252, 247, 0.36) 72%),
        linear-gradient(180deg, rgba(151, 220, 255, 0.18), rgba(255, 241, 211, 0.74)),
        url('/pics/bg-street-agora.jpg') center / cover no-repeat;
}

.marketing-hero__inner {
    grid-template-columns: minmax(25rem, 0.86fr) minmax(24rem, 0.9fr);
    gap: 0.95rem 2rem;
}

.marketing-title--hero,
.marketing-title--page,
.marketing-page > .marketing-section:first-child h1,
.support-panel__copy > h1 {
    color: var(--joy-ink);
    font-family: var(--joy-title-font) !important;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72), 0 9px 20px rgba(70, 54, 42, 0.1);
}

.marketing-title--hero {
    max-width: 40rem;
    font-size: clamp(2.8rem, 4.55vw, 4.15rem);
    line-height: 1.02;
}

.marketing-title--hero span,
.marketing-title--page span {
    color: var(--joy-green-dark);
}

.marketing-title--page,
.marketing-page > .marketing-section:first-child h1,
.support-panel__copy > h1 {
    max-width: 52rem;
    font-size: clamp(2.25rem, 4.3vw, 3.7rem);
    line-height: 1.06;
}

.support-panel__copy > h1 {
    max-width: 40rem;
    margin-bottom: 1rem;
}

.marketing-hero .marketing-subtitle {
    color: #4b3328;
    font-weight: 800;
}

.marketing-hero .marketing-actions {
    margin-top: 1rem;
}

.marketing-hero__support {
    margin-top: 0.85rem;
}

.marketing-hero__support,
.marketing-copy-wide,
.support-panel p {
    color: #665145;
}

.marketing-kicker {
    border-color: rgba(44, 139, 177, 0.16);
    color: #237cbb;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 18px rgba(62, 94, 112, 0.08);
}

.marketing-eyebrow {
    border: 0;
    color: #237cbb;
    background: transparent;
    box-shadow: none;
}

.marketing-page > .marketing-section:first-child:not(.marketing-hero) {
    padding-top: clamp(2.4rem, 4.5vw, 4rem);
    padding-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.marketing-card,
.feature-card,
.showcase-card,
.step-card,
.support-panel,
.challenge-card,
.tier-card,
.professional-note,
.roadmap-column,
.about-game-panel,
.learn-more-panel,
.news-container .article {
    border-color: rgba(111, 88, 66, 0.14);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(75, 88, 71, 0.12);
}

.feature-card .feature-media,
.showcase-card .feature-media {
    border-bottom: 1px solid rgba(111, 88, 66, 0.1);
}

.marketing-card h3,
.support-collections h3,
.challenge-card h3,
.tier-card h3 {
    margin-bottom: 0.55rem;
}

.marketing-card p,
.feature-card__body p,
.showcase-card__body p,
.step-card p,
.challenge-card p,
.tier-card p {
    line-height: 1.58;
}

.roadmap-column {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

.roadmap-column::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0.3rem;
    background: var(--joy-green);
}

.roadmap-column:nth-child(2)::before {
    background: var(--joy-blue);
}

.roadmap-column:nth-child(3)::before {
    background: var(--joy-orange);
}

.roadmap-column h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.roadmap-column li {
    margin-bottom: 0.6rem;
    color: var(--joy-muted);
    line-height: 1.58;
}

.support-panel--media {
    background: #ffffff;
}

.support-panel {
    gap: clamp(1.2rem, 2.6vw, 1.8rem);
    padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.support-panel--media {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.98fr);
}

.marketing-page .support-panel__copy > h1 {
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.08;
}

.marketing-page > .marketing-section:first-child .support-panel__copy > h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.support-panel__copy p {
    line-height: 1.62;
}

.support-panel__copy .marketing-actions {
    margin-top: 1rem;
}

.support-panel__visual .feature-media {
    border: 6px solid rgba(255, 255, 255, 0.92);
}

.professional-note--catsandfoxes {
    background:
        linear-gradient(135deg, rgba(255, 255, 252, 0.98), rgba(230, 249, 255, 0.92)),
        url('/joy/elements/background-white.jpg') repeat;
}

@media (max-width: 992px) {
    .marketing-hero {
        padding: 1.7rem 0 2.2rem;
        background:
            linear-gradient(180deg, rgba(231, 249, 255, 0.96), rgba(255, 255, 255, 0.92)),
            url('/pics/bg-street-agora.jpg') center / cover no-repeat;
    }

    .marketing-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
    }

    .support-panel--media {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .marketing-title--hero {
        font-size: clamp(2.25rem, 10vw, 2.95rem);
        line-height: 1.04;
    }

    .marketing-title--page,
    .marketing-page > .marketing-section:first-child h1,
    .support-panel__copy > h1 {
        font-size: clamp(2rem, 9.5vw, 2.75rem);
        line-height: 1.08;
    }

    .marketing-page > .marketing-section:first-child:not(.marketing-hero) {
        padding-top: 2rem;
        padding-bottom: 2.2rem;
    }
}


.marketing-hero {
    isolation: isolate;
    background:
        radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.45) 0 7rem, rgba(255, 255, 255, 0) 15rem),
        radial-gradient(circle at 76% 18%, rgba(255, 246, 214, 0.42) 0 9rem, rgba(255, 246, 214, 0) 18rem),
        radial-gradient(circle at 42% 72%, rgba(190, 245, 220, 0.25) 0 12rem, rgba(190, 245, 220, 0) 24rem),
        linear-gradient(180deg, #bdeeff 0%, #eaf9ff 44%, #fff7e8 100%);
}

.marketing-hero::before,
.marketing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    pointer-events: none;
}

.marketing-hero__inner {
    z-index: 1;
}

.hero-media-frame {
    border: 10px solid rgba(255, 255, 255, 0.96);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 220, 0.72));
    box-shadow: 0 20px 0 rgba(255, 255, 255, 0.34), 0 28px 52px rgba(76, 67, 54, 0.2);
}

.marketing-card,
.feature-card,
.showcase-card,
.step-card,
.support-panel,
.challenge-card,
.tier-card,
.professional-note,
.roadmap-column,
.about-game-panel,
.learn-more-panel,
.news-container .article,
.faq-list .accordion-item {
    border: 6px solid rgba(255, 255, 255, 0.92);
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(114, 78, 48, 0.08),
        0 16px 34px rgba(84, 73, 60, 0.12);
}

.feature-card h2,
.feature-card h3,
.showcase-card h3,
.marketing-card h3,
.step-card h3,
.support-collections h3,
.roadmap-column h2,
.learn-more-panel h2,
.about-game-panel h2,
.professional-note h2,
.faq-list .accordion-button {
    color: var(--joy-green-dark);
}

.feature-card:nth-child(4n+2) h2,
.feature-card:nth-child(4n+2) h3,
.showcase-card:nth-child(4n+2) h3,
.marketing-card:nth-child(4n+2) h3,
.step-card:nth-child(4n+2) h3 {
    color: var(--joy-purple);
}

.feature-card:nth-child(4n+3) h2,
.feature-card:nth-child(4n+3) h3,
.showcase-card:nth-child(4n+3) h3,
.marketing-card:nth-child(4n+3) h3,
.step-card:nth-child(4n+3) h3 {
    color: var(--joy-orange);
}

.feature-card:nth-child(4n+4) h2,
.feature-card:nth-child(4n+4) h3,
.showcase-card:nth-child(4n+4) h3,
.marketing-card:nth-child(4n+4) h3,
.step-card:nth-child(4n+4) h3 {
    color: var(--joy-blue);
}

.feature-card .feature-media,
.showcase-card .feature-media,
.news-container .article img,
.about-game-panel img {
    border-radius: calc(var(--joy-radius-media) - 4px);
}

@media (max-width: 992px) {
    .marketing-hero {
        background:
            radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.9) 0 7rem, rgba(255, 255, 255, 0) 14rem),
            radial-gradient(circle at 92% 58%, rgba(197, 244, 220, 0.5) 0 9rem, rgba(197, 244, 220, 0) 18rem),
            linear-gradient(180deg, #c9f2ff 0%, #edfaff 48%, #fff4db 100%);
    }

    .marketing-hero::before {
        background:
            url('/joy/elements/cloud-soft-a.svg') -4rem 2rem / 13rem auto no-repeat,
            url('/joy/elements/cloud-soft-b.svg') calc(100% - 7rem) 3rem / 9rem auto no-repeat;
        opacity: 0.82;
    }

    .marketing-hero::after {
        background:
            url('/joy/elements/cloud-soft-c.svg') 52% calc(100% - 4rem) / 17rem auto no-repeat;
        opacity: 0.44;
    }
}


.marketing-card,
.feature-card,
.showcase-card,
.step-card,
.support-panel,
.challenge-card,
.tier-card,
.professional-note,
.roadmap-column,
.about-game-panel,
.learn-more-panel,
.news-container .article,
.faq-list .accordion-item {
    border: 4px solid rgba(255, 255, 255, 0.96);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(84, 73, 60, 0.1);
}

.marketing-card,
.feature-card,
.showcase-card,
.step-card,
.challenge-card,
.tier-card,
.news-container .article {
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.marketing-card:hover,
.feature-card:hover,
.showcase-card:hover,
.step-card:hover,
.challenge-card:hover,
.tier-card:hover,
.news-container .article:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(84, 73, 60, 0.12);
}

.feature-card,
.showcase-card,
.news-container .article {
    overflow: hidden;
}

.feature-card .feature-media,
.feature-card .feature-media video,
.feature-card .feature-media__fallback,
.feature-card > img:first-child,
.showcase-card .feature-media,
.showcase-card .feature-media video,
.showcase-card .feature-media__fallback,
.showcase-card > img:first-child,
.news-container .article img,
.about-game-panel img {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.hero-media-frame,
.hero-media-frame .feature-media,
.hero-media-frame .feature-media video,
.hero-media-frame .feature-media__fallback {
    border-radius: var(--joy-radius-media) !important;
}


.feature-card,
.showcase-card,
.news-container .article {
    overflow: visible;
    padding: 0.55rem;
}

.feature-card .feature-media,
.feature-card .feature-media video,
.feature-card .feature-media__fallback,
.feature-card > img:first-child,
.showcase-card .feature-media,
.showcase-card .feature-media video,
.showcase-card .feature-media__fallback,
.showcase-card > img:first-child,
.news-container .article img,
.about-game-panel img {
    border-radius: calc(var(--joy-radius-media) - 4px) !important;
}

.feature-card__body,
.showcase-card__body {
    padding: 0.9rem 0.65rem 0.75rem;
}


.marketing-page > .marketing-hero {
    min-height: auto;
    padding: clamp(1.5rem, 2.7vw, 2.35rem) 0 clamp(2.3rem, 3.4vw, 3.4rem);
    background: linear-gradient(180deg, #b9eaff 0%, #eefbff 62%, #ffffff 100%);
}

.marketing-page > .marketing-hero::before,
.marketing-page > .marketing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    pointer-events: none;
    filter: blur(3px);
}

.marketing-page > .marketing-hero::before {
    background:
        url('/joy/elements/cloud-soft-a.svg') 0.8rem 42% / 17rem auto no-repeat,
        url('/joy/elements/cloud-soft-b.svg') calc(100% - 9rem) 0.8rem / 10rem auto no-repeat,
        url('/joy/elements/cloud-soft-c.svg') 30% 2.1rem / 6.5rem auto no-repeat;
    opacity: 0.92;
}

.marketing-page > .marketing-hero .marketing-hero__inner {
    z-index: 1;
    width: min(1180px, calc(100% - 4rem));
    grid-template-columns: minmax(22rem, 0.58fr) minmax(34rem, 1fr);
    grid-template-areas:
        "copy media"
        "cta media";
    gap: 0.45rem 1.9rem;
    align-items: center;
}

.marketing-page > .marketing-hero .marketing-hero__copy {
    grid-area: copy;
    position: relative;
    z-index: 2;
    padding-top: 0.3rem;
}

.marketing-page > .marketing-hero .marketing-hero__copy::before {
    content: none;
    display: none;
}

.marketing-page > .marketing-hero .marketing-hero__copy::after {
    content: none;
    display: none;
}

.marketing-page > .marketing-hero .marketing-hero__copy .marketing-eyebrow {
    display: none;
}

.marketing-page > .marketing-hero .marketing-title--hero {
    max-width: 25.5rem;
    margin-bottom: 1rem;
    color: #4a281b;
    font-size: clamp(3.45rem, 5.35vw, 4.85rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-shadow: none;
}

.marketing-page > .marketing-hero .marketing-title--hero span {
    display: block;
    color: var(--joy-green-dark);
}

.marketing-page > .marketing-hero .marketing-subtitle {
    max-width: 25rem;
    margin-bottom: 0;
    color: #4b3024;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.52;
}

.marketing-page > .marketing-hero .marketing-hero__support {
    max-width: 24rem;
    margin-top: 0.78rem;
    color: #573f34;
    font-size: 0.84rem;
    line-height: 1.6;
}

.marketing-page > .marketing-hero .marketing-hero__cta {
    grid-area: cta;
    position: relative;
    z-index: 2;
    align-self: start;
}

.marketing-page > .marketing-hero .marketing-actions {
    max-width: 26rem;
    margin-top: 0.25rem;
    gap: 0.62rem;
}

.marketing-page > .marketing-hero .marketing-button,
.marketing-page > .marketing-hero .marketing-link {
    min-height: 3rem;
    border-radius: 999px;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 0.86rem;
}

.marketing-page > .marketing-hero .marketing-button--steam {
    min-width: 13rem;
}

.marketing-page > .marketing-hero .marketing-button--patreon {
    min-width: 11.6rem;
}

.marketing-page > .marketing-hero .marketing-link--light {
    gap: 0.48rem;
    min-width: 9.8rem;
    border-color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 9px 20px rgba(84, 73, 60, 0.1);
}

.marketing-page > .marketing-hero .marketing-hero__micro {
    max-width: 24rem;
    margin-top: 0.75rem;
    color: #6b5348;
    font-size: 0.8rem;
    line-height: 1.55;
}

.marketing-page > .marketing-hero .hero-media-frame {
    grid-area: media;
    position: relative;
    z-index: 2;
    justify-self: end;
    width: min(100%, 46rem);
    aspect-ratio: 16 / 9;
    overflow: visible;
    border: 11px solid rgba(255, 255, 255, 0.98);
    border-radius: 3.2rem 2.8rem 3.45rem 3rem / 2.7rem 3.15rem 3rem 3.35rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 0 rgba(255, 255, 255, 0.34), 0 28px 56px rgba(84, 73, 60, 0.2);
}

.marketing-page > .marketing-hero .hero-media-frame .feature-media {
    height: 100%;
    overflow: hidden;
    border-radius: 2.35rem 2rem 2.55rem 2.2rem / 1.9rem 2.25rem 2.1rem 2.4rem !important;
}

.marketing-page > .marketing-hero .hero-media-frame .feature-media video,
.marketing-page > .marketing-hero .hero-media-frame .feature-media__fallback {
    object-fit: cover;
}

@media (max-width: 1100px) {
    .marketing-page > .marketing-hero .marketing-hero__inner {
        grid-template-columns: minmax(17rem, 0.54fr) minmax(29rem, 1fr);
        gap: 0.75rem 1.6rem;
    }

    .marketing-page > .marketing-hero .marketing-title--hero {
        font-size: clamp(3.7rem, 6vw, 5.1rem);
    }
}

@media (max-width: 900px) {
    .marketing-page > .marketing-hero {
        padding: 1.45rem 0 2.5rem;
    }

    .marketing-page > .marketing-hero .marketing-hero__inner {
        width: min(720px, calc(100% - 2rem));
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "media"
            "cta";
        gap: 1rem;
    }

    .marketing-page > .marketing-hero .marketing-hero__copy {
        padding-top: 0;
    }

    .marketing-page > .marketing-hero .marketing-hero__copy::before {
        top: 4.8rem;
        right: 1.1rem;
        font-size: 1.25rem;
    }

    .marketing-page > .marketing-hero .marketing-hero__copy::after {
        top: 1.1rem;
        right: 0.7rem;
        width: 3.5rem;
        height: 2.55rem;
    }

    .marketing-page > .marketing-hero .marketing-title--hero {
        max-width: 22rem;
        margin-bottom: 1rem;
        font-size: clamp(3.2rem, 13vw, 4.4rem);
        line-height: 0.88;
    }

    .marketing-page > .marketing-hero .marketing-subtitle,
    .marketing-page > .marketing-hero .marketing-hero__support,
    .marketing-page > .marketing-hero .marketing-hero__micro {
        max-width: 100%;
    }

    .marketing-page > .marketing-hero .hero-media-frame {
        justify-self: center;
        width: 100%;
        border-width: 10px;
        border-radius: 1.8rem;
        box-shadow: 0 13px 0 rgba(255, 255, 255, 0.28), 0 18px 34px rgba(84, 73, 60, 0.16);
    }

    .marketing-page > .marketing-hero .marketing-actions {
        max-width: none;
        margin-top: 0.25rem;
    }

    .marketing-page > .marketing-hero .marketing-button,
    .marketing-page > .marketing-hero .marketing-link {
        width: 100%;
    }
}


.marketing-button,
.marketing-button:hover,
.marketing-button:active,
.marketing-button:visited,
.marketing-link,
.marketing-link:hover,
.marketing-link:active,
.marketing-link:visited {
    gap: 0.62rem;
}

.marketing-button > i,
.marketing-link > i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.08em;
    margin: 0;
    line-height: 1;
}

.marketing-button > span,
.marketing-link > span {
    min-width: 0;
}

.marketing-page > .marketing-hero {
    background: linear-gradient(180deg, #b9eaff 0%, #eefbff 62%, #ffffff 100%);
}

.marketing-page > .marketing-hero::after {
    background:
        url('/joy/elements/cloud-soft-a.svg') 3.8rem calc(100% - 4.2rem) / 17rem auto no-repeat,
        url('/joy/elements/cloud-soft-b.svg') calc(100% - 6rem) calc(100% - 4rem) / 13rem auto no-repeat;
    opacity: 0.58;
}

.marketing-page > .marketing-hero .hero-media-frame {
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.98);
    border-radius: 1.65rem !important;
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(84, 73, 60, 0.18);
}

.marketing-page > .marketing-hero .hero-media-frame .feature-media {
    border-radius: 1.15rem !important;
}

@media (max-width: 900px) {
    .marketing-page > .marketing-hero .hero-media-frame {
        border-width: 6px;
        border-radius: 1.35rem !important;
        box-shadow: 0 16px 30px rgba(84, 73, 60, 0.15);
    }

    .marketing-page > .marketing-hero .hero-media-frame .feature-media {
        border-radius: 0.95rem !important;
    }
}


.professional-note--catsandfoxes {
    isolation: isolate;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.38fr);
    gap: clamp(0.75rem, 2vw, 1.5rem);
    align-items: stretch;
    min-height: clamp(18rem, 28vw, 23rem);
    overflow: hidden;
    padding: 0;
    border: 6px solid rgba(255, 255, 255, 0.92);
    background:
        linear-gradient(90deg, rgba(13, 24, 67, 0.94) 0%, rgba(31, 40, 91, 0.86) 50%, rgba(47, 45, 104, 0.38) 100%),
        url('/joy/illustrations/catsandfoxes-health-bg.webp') center 45% / cover no-repeat;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 20px 42px rgba(43, 42, 83, 0.18);
}

.professional-note--catsandfoxes::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 74% 35%, rgba(255, 214, 148, 0.28), rgba(255, 214, 148, 0) 18rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.professional-note--catsandfoxes .professional-note__copy {
    position: relative;
    z-index: 1;
    align-self: center;
    max-width: 39rem;
    padding: clamp(1.45rem, 3.2vw, 2.55rem);
}

.professional-note--catsandfoxes .marketing-kicker {
    color: #b7f7ec;
}

.professional-note--catsandfoxes h2 {
    color: #ffffff;
    text-shadow: 0 2px 0 rgba(37, 27, 71, 0.24), 0 12px 24px rgba(7, 16, 50, 0.24);
}

.professional-note--catsandfoxes p {
    color: rgba(255, 255, 255, 0.86);
}

.professional-note--catsandfoxes .marketing-link,
.professional-note--catsandfoxes .marketing-link:hover,
.professional-note--catsandfoxes .marketing-link:active,
.professional-note--catsandfoxes .marketing-link:visited {
    color: #1b315f;
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.94);
}

.professional-note--catsandfoxes > img,
.professional-note--catsandfoxes > .professional-note__leo {
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: center;
    width: min(16rem, 100%);
    height: auto;
    max-height: clamp(16rem, 28vw, 22rem);
    min-height: 0;
    margin: 1rem clamp(0.8rem, 2vw, 1.7rem) 0 0;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 24px rgba(10, 14, 40, 0.26));
    transform: none;
    transform-origin: center bottom;
}

@media (max-width: 768px) {
    .professional-note--catsandfoxes {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
        background:
            linear-gradient(180deg, rgba(13, 24, 67, 0.94) 0%, rgba(31, 40, 91, 0.82) 62%, rgba(47, 45, 104, 0.46) 100%),
            url('/joy/illustrations/catsandfoxes-health-bg.webp') center 32% / cover no-repeat;
    }

    .professional-note--catsandfoxes .professional-note__copy {
        max-width: none;
        padding: 1.25rem 1.2rem 0.35rem;
    }

    .professional-note--catsandfoxes > img,
    .professional-note--catsandfoxes > .professional-note__leo {
        justify-self: end;
        width: min(12rem, 58vw);
        max-height: 14rem;
        margin: -0.7rem 0.35rem 0 0;
    }
}


.homepage-storyline {
    display: block;
    min-height: 0;
    margin-bottom: 0.85rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #237cbb;
    background: transparent;
    box-shadow: none;
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-grid--large .feature-media {
    height: clamp(13rem, 23vw, 17rem);
    aspect-ratio: auto;
}

.showcase-grid--large .feature-media {
    height: clamp(11rem, 18vw, 14.5rem);
    aspect-ratio: auto;
}

.feature-grid--large .feature-media video,
.feature-grid--large .feature-media__fallback,
.showcase-grid--large .feature-media video,
.showcase-grid--large .feature-media__fallback {
    object-fit: cover;
}

.founder-story-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: start;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 4px solid rgba(255, 255, 255, 0.96);
    border-radius: var(--joy-radius-card);
    background:
        linear-gradient(135deg, rgba(255, 255, 252, 0.98), rgba(232, 249, 255, 0.92)),
        url('/joy/elements/background-white.jpg') repeat;
    box-shadow: 0 12px 26px rgba(84, 73, 60, 0.1);
}

.founder-story-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(3rem, 5vw, 4.2rem);
    aspect-ratio: 1;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, #4cb1ff, #2d7fe3);
    box-shadow: 0 12px 24px rgba(45, 127, 227, 0.18);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.founder-story-panel p:not(.marketing-kicker) {
    color: var(--joy-muted);
}

.founder-story-panel .marketing-link {
    margin-top: 0.25rem;
}

.section-title-with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.section-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    aspect-ratio: 1;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, #ffbd4e, #f28a1e);
    font-size: 1.05rem;
    box-shadow: 0 10px 20px rgba(242, 138, 30, 0.18);
}

.challenge-panel {
    grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.82fr);
    gap: clamp(1.4rem, 3vw, 2.4rem);
    align-items: start;
}

.challenge-steps {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 0.75rem;
}

.challenge-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.2rem 0.85rem;
    min-height: 0;
    padding: 0.95rem 1rem;
}

.challenge-card__icon {
    grid-row: 1 / span 2;
    width: 2.55rem;
    margin-bottom: 0;
    font-size: 1rem;
}

.challenge-card h3 {
    margin: 0 0 0.15rem;
    font-size: 1.12rem;
    line-height: 1.1;
}

.challenge-card p {
    line-height: 1.45;
}

.support-panel + .feature-grid,
.marketing-copy-wide + .feature-grid {
    margin-top: 1.45rem;
}

@media (max-width: 768px) {
    .challenge-panel {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "cards";
    }

    .challenge-panel__copy {
        grid-area: copy;
    }

    .challenge-steps {
        grid-area: cards;
        grid-template-columns: 1fr;
    }

    .challenge-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .challenge-card__icon {
        width: 2.45rem;
    }

    .feature-grid--large .feature-media,
    .showcase-grid--large .feature-media {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .founder-story-panel {
        grid-template-columns: 1fr;
    }

    .founder-story-panel__icon {
        width: 3rem;
    }

    .section-title-with-icon {
        align-items: center;
    }
}

.marketing-page > .marketing-hero::before {
    animation: joy-cloud-drift-main 16s ease-in-out infinite;
    will-change: transform;
}

.marketing-page > .marketing-hero::after {
    animation: joy-cloud-drift-soft 22s ease-in-out infinite;
    will-change: transform;
}

@keyframes joy-cloud-drift-main {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(7rem, -0.7rem, 0);
    }
}

@keyframes joy-cloud-drift-soft {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-3.2rem, 0.65rem, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-page > .marketing-hero::before,
    .marketing-page > .marketing-hero::after {
        animation: none;
        transform: none;
        will-change: auto;
    }
}


.header-nav-cta,
.header-nav-cta:hover,
.header-nav-cta:focus,
.header-nav-cta:active,
.header-nav-cta:visited {
    border-radius: 999px;
}


:root {
    --joy-control-green: #126d57;
    --joy-control-purple: #693fae;
    --joy-control-blue: #286ab9;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    z-index: 2100;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #ffffff;
    background: var(--joy-ink);
    box-shadow: 0 10px 24px rgba(30, 20, 15, 0.2);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transform: translate(-50%, -180%);
    transition: transform 0.16s ease;
}

.skip-link:focus {
    color: #ffffff;
    transform: translate(-50%, 0);
}

a:focus-visible,
button:focus-visible,
.form-control:focus,
.dropdown-item:focus {
    outline: 3px solid var(--joy-focus);
    outline-offset: 3px;
}

.joy-site-header,
.joy-site-header.scrolled,
#navbar.scrolled {
    min-height: 4.35rem;
    padding: 0.42rem max(2.25rem, calc((100vw - 1340px) / 2));
    gap: 1.25rem;
    border-bottom: 0;
    background: rgba(227, 248, 255, 0.82);
    box-shadow: none;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.joy-site-header.scrolled,
#navbar.scrolled {
    background: rgba(227, 248, 255, 0.94);
    box-shadow: 0 8px 22px rgba(65, 102, 119, 0.09);
}

.site-logo,
#logo-blue,
#logo-pink,
#logo-green,
#logo-yellow,
#logo-joy {
    width: clamp(160px, 12.5vw, 205px);
    height: clamp(3.25rem, 4.4vw, 4.45rem);
}

.header-nav-bar {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.2rem 1.1rem;
    overflow: visible;
}

.menu-link,
.menu-link:hover,
.menu-link:visited {
    min-height: 2.5rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.84rem;
}

.nav-cta-group {
    flex: 0 0 auto;
    margin-left: auto;
}

.header-nav-cta,
.header-nav-cta:hover,
.header-nav-cta:active,
.header-nav-cta:visited {
    min-height: 2.75rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(49, 65, 84, 0.14);
}

.header-nav-cta--steam,
.marketing-button--steam,
.marketing-button--steam:hover,
.marketing-button--steam:active,
.marketing-button--steam:visited {
    background: linear-gradient(180deg, #168469, var(--joy-control-green));
}

.header-nav-cta--patreon,
.marketing-button--patreon,
.marketing-button--patreon:hover,
.marketing-button--patreon:active,
.marketing-button--patreon:visited {
    background: linear-gradient(180deg, #8050ca, var(--joy-control-purple));
}

.header-nav-cta:hover,
.marketing-button:hover {
    transform: translateY(-1px);
}

.joy-menu-toggle {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(58, 91, 109, 0.16);
    border-radius: 999px;
    color: var(--joy-ink);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 18px rgba(53, 92, 113, 0.12);
    font-size: 1rem;
}

.joy-menu-toggle i {
    display: none;
}

.joy-menu-toggle::before {
    width: 1.15rem;
    height: 0.14rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0.36rem currentColor, 0 -0.36rem currentColor;
    content: '';
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.joy-menu-toggle[aria-expanded='true']::before {
    box-shadow: none;
    transform: rotate(45deg);
}

.joy-menu-toggle[aria-expanded='true']::after {
    position: absolute;
    width: 1.15rem;
    height: 0.14rem;
    border-radius: 999px;
    background: currentColor;
    content: '';
    transform: rotate(-45deg);
}

.lang-switcher__menu {
    z-index: 2000;
}

.lang-switcher__flag {
    width: 1.45rem;
    height: auto;
    margin: 0;
    border-radius: 0.2rem;
}

.header-utilities {
    --header-utility-size: 2.65rem;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.45rem;
    align-items: center;
    align-self: center;
    height: var(--header-utility-size);
}

.header-utilities .lang-switcher,
.header-utilities .session-switcher {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
    margin: 0;
    line-height: 0;
}

.header-utility-button,
.header-utility-button:hover,
.header-utility-button:active,
.header-utility-button:visited {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    min-width: 2.65rem;
    height: var(--header-utility-size);
    min-height: var(--header-utility-size);
    padding: 0.4rem 0.68rem;
    border: 1px solid rgba(58, 91, 109, 0.16);
    border-radius: 999px;
    color: var(--joy-ink);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(53, 92, 113, 0.12);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-utility-button:hover,
.header-utility-button[aria-expanded='true'] {
    border-color: rgba(32, 133, 106, 0.4);
    color: var(--joy-green-dark);
    background: #ffffff;
    box-shadow: 0 11px 22px rgba(53, 92, 113, 0.17);
}

.header-utility-button--account {
    padding-right: 0.72rem;
    padding-left: 0.72rem;
}

.header-utility-button--language {
    width: var(--header-utility-size);
    padding: 0;
}

.header-utility-button__chevron {
    color: var(--joy-muted);
    font-size: 0.56rem;
}

.header-utility-menu {
    z-index: 2000;
    min-width: 13rem;
    margin-top: 0.55rem !important;
    padding: 0.45rem;
    border: 1px solid rgba(66, 109, 101, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(49, 65, 84, 0.18);
}

.header-utility-menu .dropdown-item,
.header-utility-menu .dropdown-item:visited {
    display: grid;
    grid-template-columns: 1.45rem minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    min-height: 2.55rem;
    padding: 0.48rem 0.65rem;
    border-radius: 0.7rem;
    color: var(--joy-text);
    background: transparent;
    font-size: 0.84rem !important;
    font-weight: 800;
}

.header-utility-menu .dropdown-item:hover,
.header-utility-menu .dropdown-item:focus,
.header-utility-menu .dropdown-item.active {
    color: var(--joy-green-dark);
    background: rgba(32, 184, 135, 0.11);
}

.header-utility-menu__icon,
.header-utility-menu__check {
    color: var(--joy-green-dark);
    text-align: center;
}

.header-utility-menu__check {
    font-size: 0.72rem;
}

.session-switcher__identity {
    display: grid;
    gap: 0.18rem;
    padding: 0.42rem 0.65rem 0.6rem;
    color: var(--joy-text);
}

.session-switcher__identity span {
    color: var(--joy-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.session-switcher__identity strong {
    overflow: hidden;
    color: var(--joy-ink);
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-utility-menu .dropdown-divider {
    margin: 0.35rem 0.25rem;
    border-color: rgba(66, 109, 101, 0.14);
}

.header-utility-menu .session-switcher__logout,
.header-utility-menu .session-switcher__logout:visited {
    color: #a23a4d;
}

.header-utility-menu .session-switcher__logout:hover,
.header-utility-menu .session-switcher__logout:focus {
    color: #8e2d3e;
    background: #fff1f3;
}

.joy-site-footer {
    width: 100%;
    margin: clamp(3rem, 6vw, 5rem) 0 0;
    padding: clamp(2.6rem, 5vw, 4rem) 1rem clamp(3rem, 6vw, 4.6rem);
    background: linear-gradient(180deg, rgba(236, 250, 255, 0.25), #e5f7ff);
}

.joy-site-footer__inner {
    display: grid;
    gap: 1.05rem;
    justify-items: center;
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.joy-site-footer__inner > p {
    margin: 0;
}

.joy-site-footer__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(220px, 64vw);
    margin: 0 auto 0.45rem;
}

.joy-site-footer__brand img {
    display: block;
    width: 100%;
    height: auto;
}

.joy-site-footer .social-footer {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.42rem;
}

.joy-site-footer .social-footer a {
    width: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.joy-site-footer .marketing-button {
    min-height: 2.75rem;
}

.joy-site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.7rem;
    max-width: 42rem;
}

.joy-site-footer__links a,
.joy-site-footer__links a:visited {
    color: var(--joy-muted);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(66, 109, 101, 0.28);
    text-underline-offset: 0.22rem;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.joy-site-footer__links a:hover {
    color: var(--joy-green-dark);
    text-decoration-color: currentColor;
}

.joy-site-footer .supports-text {
    max-width: 42rem;
}

.joy-site-footer__studio {
    display: inline-flex;
    width: min(140px, 60vw);
    margin-top: 0.55rem;
}

.joy-site-footer__studio img {
    width: 100%;
    height: auto;
}

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 5%;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
    text-align: center;
}

.image-lightbox img {
    max-width: 100%;
    max-height: 100%;
}

.matomo-tracker-pixel {
    position: absolute;
    width: 1px;
    height: 1px;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1180px) and (min-width: 901px) {
    .joy-site-header {
        padding-right: 1rem;
        padding-left: 1rem;
        gap: 0.85rem;
    }

    .header-nav-bar {
        gap: 0.15rem 0.75rem;
    }

    .nav-cta-group {
        gap: 0.45rem;
        margin-left: 0.25rem;
    }

    .header-utilities {
        --header-utility-size: 2.5rem;
        gap: 0.32rem;
    }

    .header-utility-button {
        min-width: var(--header-utility-size);
        padding-right: 0.55rem;
        padding-left: 0.55rem;
    }

    .nav-cta-label--full {
        display: none;
    }

    .nav-cta-label--short {
        display: inline;
    }
}

@media (max-width: 1050px) and (min-width: 901px) {
    .header-utilities {
        position: absolute;
        top: 0.65rem;
        right: 1rem;
    }
}

@media (max-width: 900px) {
    .joy-site-header,
    .joy-site-header.scrolled,
    #navbar.scrolled {
        justify-content: center;
        min-height: auto;
        padding: 0.55rem 6.75rem 0.6rem;
        gap: 0;
    }

    .site-logo,
    #logo-blue,
    #logo-pink,
    #logo-green,
    #logo-yellow,
    #logo-joy {
        width: clamp(170px, 54vw, 230px);
        height: clamp(3.75rem, 15vw, 5rem);
        margin: 0 auto;
    }

    .joy-menu-toggle {
        position: absolute;
        top: 0.7rem;
        left: 0.85rem;
        display: inline-flex;
    }

    .header-utilities {
        --header-utility-size: 2.75rem;
        position: absolute;
        top: 0.7rem;
        right: 0.85rem;
        gap: 0.4rem;
        margin: 0;
    }

    .header-utilities .lang-switcher,
    .header-utilities .session-switcher {
        position: static;
    }

    .header-utility-button,
    .header-utility-button--account {
        width: var(--header-utility-size);
        min-width: var(--header-utility-size);
        padding: 0;
    }

    .header-utility-button__chevron {
        display: none;
    }

    .header-nav-bar {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1030;
        display: none;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0.55rem 1rem 0.8rem;
        border-top: 1px dashed rgba(58, 91, 109, 0.16);
        background: rgba(236, 250, 255, 0.94);
        box-shadow: 0 12px 24px rgba(65, 102, 119, 0.12);
    }

    .header-nav-bar.is-open {
        display: flex;
    }

    .menu-link,
    .menu-link:hover,
    .menu-link:visited {
        justify-content: center;
        width: 100%;
        min-height: 2.75rem;
        padding: 0.35rem 0.75rem;
        border-radius: 0.8rem;
        font-size: 0.9rem;
    }

    .menu-link:hover,
    .menu-link:focus-visible {
        background: rgba(74, 178, 136, 0.1);
    }

    .menu-link::after {
        right: 36%;
        left: 36%;
    }

    .header-nav-bar > .bullet-yellow,
    .header-nav-bar > .bullet-green,
    .header-nav-bar > .bullet-blue,
    .header-nav-bar > .bullet-pink {
        display: none;
    }

    .nav-cta-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin: 0.25rem 0 0;
    }

    .header-nav-cta {
        flex: 1 1 10rem;
        min-height: 2.75rem;
    }
}

@media (max-width: 480px) {
    .joy-site-header,
    .joy-site-header.scrolled,
    #navbar.scrolled {
        padding-right: 5.75rem;
        padding-left: 5.75rem;
    }

    .site-logo,
    #logo-blue,
    #logo-pink,
    #logo-green,
    #logo-yellow,
    #logo-joy {
        width: min(160px, 42vw);
    }

    .header-utilities {
        --header-utility-size: 2.55rem;
        top: 0.65rem;
        right: 0.6rem;
        gap: 0.3rem;
    }

    .header-utility-button,
    .header-utility-button--account {
        width: var(--header-utility-size);
        min-width: var(--header-utility-size);
    }

    .nav-cta-group {
        flex-direction: column;
    }

    .header-nav-cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.marketing-title--page .marketing-title__text {
    display: inline-block;
    max-width: 100%;
    padding: 0.02em 0.05em 0.12em;
    color: #3f2417;
    letter-spacing: -0.025em;
    text-shadow:
        0 0.045em 0 rgba(202, 240, 226, 0.9),
        0 0.085em 0 rgba(255, 255, 255, 0.95),
        0 0.17em 0.32em rgba(70, 54, 42, 0.11);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

@media (max-width: 768px) {
    .marketing-title--page .marketing-title__text {
        padding-right: 0.03em;
        padding-left: 0.03em;
        text-shadow:
            0 0.04em 0 rgba(202, 240, 226, 0.82),
            0 0.075em 0 rgba(255, 255, 255, 0.92),
            0 0.14em 0.28em rgba(70, 54, 42, 0.1);
    }
}

.marketing-link,
.marketing-button--light,
.outlined,
.outlined-yellow,
.outlined-blue,
.outlined-green,
.outlined-red {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.marketing-link:hover,
.marketing-button--light:hover,
.outlined:hover,
.outlined-yellow:hover,
.outlined-blue:hover,
.outlined-green:hover,
.outlined-red:hover {
    transform: translateY(-2px);
    border-color: rgba(57, 130, 177, 0.38);
    background: linear-gradient(180deg, #ffffff, #edf8ff);
    box-shadow: 0 14px 28px rgba(62, 94, 112, 0.18);
}

.marketing-link:active,
.marketing-button--light:active,
.outlined:active,
.outlined-yellow:active,
.outlined-blue:active,
.outlined-green:active,
.outlined-red:active {
    transform: translateY(0);
}

.marketing-link:focus-visible,
.marketing-button--light:focus-visible,
.outlined:focus-visible,
.outlined-yellow:focus-visible,
.outlined-blue:focus-visible,
.outlined-green:focus-visible,
.outlined-red:focus-visible {
    outline: 3px solid rgba(57, 130, 177, 0.3);
    outline-offset: 3px;
}

.professional-note--catsandfoxes .marketing-link:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.92);
    color: #1b315f;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(76, 56, 42, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .marketing-link,
    .marketing-button--light,
    .outlined,
    .outlined-yellow,
    .outlined-blue,
    .outlined-green,
    .outlined-red {
        transition: none;
    }
}

:root {
    --joy-space-1: 0.5rem;
    --joy-space-2: 0.75rem;
    --joy-space-3: 1rem;
    --joy-space-4: 1.5rem;
    --joy-space-5: 2.25rem;
    --joy-surface-base: rgba(255, 255, 255, 0.72);
    --joy-surface-raised: #ffffff;
    --joy-surface-tint: rgba(255, 253, 246, 0.92);
    --joy-surface-border: rgba(111, 88, 66, 0.14);
    --joy-shadow-soft: 0 8px 18px rgba(84, 73, 60, 0.08);
    --joy-shadow-raised: 0 12px 26px rgba(84, 73, 60, 0.1);
}


.editorial-page {
    --editorial-accent: var(--joy-green);
    --editorial-accent-rgb: 32, 184, 135;
    background:
        radial-gradient(circle at 5% 14rem, rgba(var(--editorial-accent-rgb), 0.08), transparent 20rem),
        radial-gradient(circle at 96% 32rem, rgba(59, 135, 240, 0.06), transparent 22rem);
}

.editorial-page > .marketing-section:first-child {
    padding-bottom: clamp(1.7rem, 3.5vw, 2.5rem);
}

.editorial-page .marketing-copy-wide {
    max-width: 44rem;
}


.marketing-button > i,
.marketing-link > i,
.article-like-button > i,
.article-edit-button > i,
.comment-submit > i,
.global-navigation a > i,
.roadmap-section-title__icon {
    display: inline-block;
    flex: 0 0 auto;
    line-height: 1;
}


@media (min-width: 1181px) {
    .joy-site-header,
    .joy-site-header.scrolled,
    #navbar.scrolled {
        gap: 1rem;
    }

    .header-nav-bar {
        gap: 0.18rem;
    }

    .menu-link,
    .menu-link:hover,
    .menu-link:visited {
        padding: 0.32rem 0.78rem;
        border-radius: 0.68rem;
    }

    .menu-link.active,
    .menu-link.active:hover {
        color: var(--joy-green-dark) !important;
        background: transparent;
    }

    .nav-cta-group {
        gap: 0.42rem;
        margin-left: 0.42rem;
        padding-left: 0.62rem;
        border-left: 1px solid rgba(111, 88, 66, 0.14);
    }

    .header-nav-cta,
    .header-nav-cta:hover,
    .header-nav-cta:active,
    .header-nav-cta:visited {
        min-height: 2.5rem;
        padding: 0.48rem 0.78rem;
        box-shadow: 0 8px 18px rgba(49, 65, 84, 0.12);
    }
}

.menu-link::after {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .menu-link,
    .header-nav-cta {
        transition: none;
    }
}

.social-networks a,
.social-networks a:hover,
.social-networks a:visited,
.social-networks a:focus,
.social-footer a,
.social-footer a:hover,
.social-footer a:visited,
.social-footer a:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    aspect-ratio: 1;
    border: 1px solid rgba(var(--social-rgb), 0.2);
    border-radius: 999px;
    color: rgb(var(--social-rgb));
    background-color: rgba(255, 255, 255, 0.82);
    background-image: none;
    box-shadow: 0 7px 16px rgba(53, 92, 113, 0.11);
    text-decoration: none;
    transition: transform 0.18s ease, color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.social-networks a:hover,
.social-footer a:hover {
    border-color: rgb(var(--social-rgb));
    color: #ffffff;
    background-color: rgb(var(--social-rgb));
    box-shadow: 0 12px 22px rgba(var(--social-rgb), 0.27);
    transform: translateY(-3px) rotate(-3deg);
}

.social-networks a:active,
.social-footer a:active {
    transform: translateY(0);
}

.social-networks a:focus-visible,
.social-footer a:focus-visible {
    outline: 3px solid rgba(var(--social-rgb), 0.35);
    outline-offset: 3px;
}

.social-networks a i,
.social-footer a i {
    font-size: 1.2rem;
    line-height: 1;
}

.social-youtube { --social-rgb: 220, 92, 91; }
.social-steam { --social-rgb: 63, 135, 196; }
.social-patreon { --social-rgb: 143, 103, 214; }
.social-tiktok { --social-rgb: 77, 143, 150; }
.social-instagram { --social-rgb: 214, 101, 130; }
.social-discord { --social-rgb: 94, 124, 219; }
.social-bsky { --social-rgb: 70, 157, 210; }

.social-bsky__icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .social-networks a,
    .social-footer a {
        transition: none;
    }
}

@supports (content-visibility: auto) {
    .homepage-page > .marketing-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 48rem;
    }
}

.menu-link,
.menu-link:hover,
.menu-link:visited {
    border-radius: 0.42rem;
    transition: color 0.16s ease, background-color 0.16s ease;
}

.menu-link::before,
.menu-link::after {
    display: none;
}

.menu-link.active,
.menu-link[aria-current='page'] {
    color: var(--joy-green-dark) !important;
    background-color: rgba(32, 184, 135, 0.14);
    font-weight: 900;
}

@media (min-width: 1181px) {
    .joy-site-footer__brand {
        width: min(290px, 28vw);
    }

    .joy-site-footer .social-footer {
        gap: 0.58rem;
    }

    .joy-site-footer .social-footer a {
        width: 3.1rem;
        min-width: 3.1rem;
        min-height: 3.1rem;
    }

    .joy-site-footer .social-footer a i {
        font-size: 1.35rem;
    }
}

@media (hover: hover) {
    .menu-link:not(.active):hover {
        color: var(--joy-blue) !important;
        background-color: rgba(59, 135, 240, 0.1);
    }

    .menu-link.active:hover,
    .menu-link[aria-current='page']:hover {
        color: var(--joy-green-dark) !important;
        background-color: rgba(32, 184, 135, 0.2);
    }
}

.homepage-page {
    overflow: visible;
}

.homepage-game-hero {
    position: relative;
    background: #f8fcfd;
}

.homepage-game-hero__stage {
    position: relative;
    isolation: isolate;
    height: clamp(38rem, calc(100svh - 4.35rem), 50rem);
    overflow: hidden;
    background: #26352f;
}

.homepage-game-hero__media,
.homepage-game-hero__feature-media,
.homepage-game-hero__feature-media video,
.homepage-game-hero__feature-media .feature-media__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.homepage-game-hero__media {
    z-index: 0;
}

.homepage-game-hero__feature-media {
    aspect-ratio: auto;
    border-radius: 0;
    background: #26352f;
}

.homepage-game-hero__feature-media video,
.homepage-game-hero__feature-media .feature-media__fallback {
    border-radius: 0 !important;
    object-fit: cover;
    object-position: center 54%;
}

.homepage-game-hero__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(24, 28, 25, 0.46) 0%, rgba(24, 28, 25, 0.48) 30%, rgba(24, 28, 25, 0.18) 62%, transparent 82%),
        linear-gradient(0deg, rgba(18, 24, 21, 0.28), transparent 38%);
    pointer-events: none;
}

.homepage-game-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    align-items: center;
    width: min(1180px, calc(100% - clamp(3.5rem, 7vw, 6rem)));
}

.homepage-game-hero__copy {
    width: 100%;
}

.homepage-game-hero__title {
    min-height: 2.61em;
    margin: 0;
    color: #ffffff;
    font-family: var(--joy-title-font);
    font-size: clamp(4.5rem, 7.2vw, 6.8rem);
    font-weight: 700;
    line-height: 0.87;
    letter-spacing: -0.015em;
    text-shadow: 0 4px 22px rgba(9, 16, 13, 0.28), 1px 1px 0 #000;
}

.homepage-game-hero__title span {
    display: block;
    color: #52B458;
}

.homepage-game-hero__typewriter {
    min-height: 1.74em;
    white-space: pre-line;
}

.homepage-game-hero__typewriter::after {
    content: "";
    display: inline-block;
    width: 0.075em;
    height: 0.66em;
    margin-left: 0.09em;
    background: currentColor;
    box-shadow: 0 0 0.15em rgba(82, 180, 88, 0.6);
    animation: homepage-hero-typewriter-caret 0.9s steps(1, end) infinite;
    vertical-align: -0.02em;
}

@keyframes homepage-hero-typewriter-caret {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-game-hero__typewriter::after {
        animation: none;
    }
}

.homepage-game-hero__subtitle {
    max-width: 33rem;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 1.55vw, 1.2rem);
    font-weight: 750;
    line-height: 1.58;
    text-shadow: 0 2px 12px rgba(9, 16, 13, 0.34);
}

.homepage-game-hero__actions {
    margin-top: 1.6rem;
}

.homepage-game-hero__actions .marketing-button {
    min-width: 14rem;
    min-height: 3.2rem;
    box-shadow: 0 16px 30px rgba(5, 22, 16, 0.24);
}

.homepage-game-hero__context {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem 3rem;
    align-items: center;
    width: min(1180px, calc(100% - clamp(3.5rem, 7vw, 6rem)));
    padding-top: 1.15rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(66, 109, 101, 0.16);
}

.homepage-game-hero__context p {
    margin: 0;
    color: var(--joy-text);
    font-size: 0.88rem;
    font-weight: 720;
}

.homepage-game-hero__context p:last-child {
    color: var(--joy-muted);
    font-size: 0.78rem;
    white-space: nowrap;
}

.marketing-page:not(.homepage-page):not(.roadmap-page):not(.presskit-page) > .marketing-section + .marketing-section {
    padding-top: clamp(2rem, 3vw, 2.5rem);
}

.homepage-page > .marketing-section.container,
.homepage-page > .marketing-section > .container {
    width: min(1180px, calc(100% - clamp(3.5rem, 7vw, 6rem)));
}

.homepage-page .pillar-line .marketing-card,
.homepage-page .band-section--green .marketing-card {
    padding: clamp(0.75rem, 2vw, 1.15rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.homepage-page .pillar-line .marketing-card + .marketing-card,
.homepage-page .band-section--green .marketing-card + .marketing-card {
    border-left: 1px solid var(--joy-surface-border);
}

.homepage-page .showcase-card,
.homepage-page .showcase-card:hover {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.homepage-page .showcase-card .feature-media {
    padding: 0.3rem;
    border: 1px solid rgba(66, 109, 101, 0.2);
    border-radius: var(--joy-radius-media);
    background: #fffdf6;
    box-shadow: none;
}

.homepage-page .showcase-card__body {
    padding: 0.75rem 0.15rem 0;
}

.homepage-page .showcase-card__body h3 {
    margin-bottom: 0.28rem;
}

.joy-site-footer {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(2.1rem, 4vw, 3.2rem) 1rem clamp(2.45rem, 4.5vw, 3.5rem);
    border-top: 1px solid rgba(66, 109, 101, 0.14);
    background: linear-gradient(180deg, rgba(236, 250, 255, 0.62), #e5f7ff);
}

.joy-site-footer__inner {
    gap: 0.85rem;
}

.menu-link.active,
.menu-link[aria-current='page'] {
    background-color: rgba(32, 184, 135, 0.18);
}

.menu-link,
.menu-link:hover,
.menu-link:visited {
    border-radius: 999px;
}

@media (max-width: 900px) {
    .joy-site-header,
    .joy-site-header.scrolled,
    #navbar.scrolled {
        background: rgba(231, 248, 255, 0.88);
    }

    .header-nav-bar {
        border-top-style: solid;
        background: rgba(239, 251, 255, 0.9);
        box-shadow: 0 14px 28px rgba(65, 102, 119, 0.16);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }

    .menu-link.active,
    .menu-link[aria-current='page'] {
        background-color: rgba(32, 184, 135, 0.2);
    }

    .homepage-page .pillar-line .marketing-card + .marketing-card,
    .homepage-page .band-section--green .marketing-card + .marketing-card {
        border-top: 1px solid var(--joy-surface-border);
        border-left: 0;
    }
}

.auth-page {
    min-height: 50vh;
    padding: clamp(2rem, 5vw, 4rem) 1rem clamp(2.5rem, 5vw, 4rem);
}

.auth-card {
    width: min(100%, 38rem);
    margin: clamp(1rem, 3vw, 1.75rem) auto 0;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--joy-line);
    border-radius: var(--joy-radius-card);
    background: rgba(255, 255, 255, 0.92);
}

.auth-card--register {
    width: min(100%, 42rem);
}

.auth-hero {
    width: min(760px, 100%);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.auth-hero__content {
    max-width: 43rem;
    margin: 0 auto;
}

.auth-hero h1 {
    margin: 0;
    color: var(--joy-ink);
    font-family: var(--joy-title-font) !important;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1;
    text-align: center;
}

.auth-form {
    display: grid;
    gap: 1.15rem;
}

.auth-fields {
    display: grid;
    gap: 0.9rem;
}

.auth-page .form-control-user,
.auth-page .form-control,
.auth-captcha input[type='text'] {
    width: 100%;
    min-height: 3.15rem;
    margin: 0;
    padding: 0.8rem 1rem;
    border: 1px solid var(--joy-line);
    border-radius: var(--joy-radius-control);
    color: var(--joy-ink);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(73, 82, 74, 0.06);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.96rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-page .form-control-user:hover,
.auth-page .form-control:hover,
.auth-captcha input[type='text']:hover {
    border-color: rgba(32, 133, 106, 0.38);
}

.auth-page .form-control-user:focus,
.auth-page .form-control:focus,
.auth-captcha input[type='text']:focus {
    border-color: rgba(32, 184, 135, 0.7);
    box-shadow: 0 0 0 0.22rem rgba(32, 184, 135, 0.13);
}

.auth-page .form-control-user::placeholder,
.auth-page .form-control::placeholder,
.auth-captcha input[type='text']::placeholder {
    color: var(--joy-muted);
    opacity: 0.82;
}

.auth-check {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    width: fit-content;
    margin: 0.1rem 0;
    color: var(--joy-text);
    cursor: pointer;
    font-size: 0.9rem;
}

.auth-check input,
.auth-consent input[type='checkbox'] {
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(66, 105, 116, 0.28);
    border-radius: 0.35rem;
    accent-color: var(--joy-green-dark);
    cursor: pointer;
}

.auth-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.82rem 1.3rem;
    border: 0;
    border-radius: var(--joy-radius-control);
    color: #ffffff;
    background: linear-gradient(180deg, #35bd93, var(--joy-green));
    box-shadow: 0 14px 28px rgba(55, 67, 84, 0.18);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-submit:hover {
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(55, 67, 84, 0.24);
    transform: translateY(-2px);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.1rem;
    margin-top: 1.3rem;
}

.auth-link,
.auth-link:visited {
    color: var(--joy-green-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.auth-link:hover {
    color: var(--joy-ink);
    text-decoration: underline;
}

.auth-captcha {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid rgba(66, 109, 101, 0.14);
    border-radius: var(--joy-radius-control);
    background: rgba(237, 250, 245, 0.62);
}

.auth-captcha img {
    display: block;
    max-width: 10rem;
    border-radius: 6px;
}

.auth-consent {
    display: grid;
    gap: 0.55rem;
}

.auth-consent .mb-3,
.auth-consent .form-check {
    margin: 0 !important;
}

.auth-consent .form-check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    min-height: 0;
    padding: 0;
}

.auth-consent .form-check-label {
    color: var(--joy-text);
    font-size: 0.88rem;
    line-height: 1.45;
    cursor: pointer;
}

.auth-consent a,
.auth-consent a:visited {
    width: fit-content;
    color: var(--joy-green-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.auth-consent a:hover {
    color: var(--joy-ink);
    text-decoration: underline;
    text-underline-offset: 0.22rem;
}

.auth-message,
.auth-form-errors > ul {
    margin: 0;
    padding: 0.8rem 0.95rem;
    border-radius: var(--joy-radius-control);
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: left;
}

.auth-message--error,
.auth-form-errors > ul {
    border: 1px solid rgba(198, 63, 82, 0.2);
    color: #8e2d3e;
    background: #fff1f3;
}

.auth-message--success {
    border: 1px solid rgba(32, 133, 106, 0.2);
    color: #0e6a55;
    background: #ecfbf5;
}

.auth-form-errors:empty {
    display: none;
}

.auth-form-errors > ul {
    padding-left: 2rem;
}

.auth-page + .joy-site-footer {
    margin-top: 0;
}

@media (max-width: 760px) {
    .auth-page {
        min-height: auto;
        padding: 2.5rem 0.65rem 3rem;
    }

    .auth-card {
        padding: clamp(1.3rem, 5vw, 2rem);
    }

    .auth-hero h1 {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    .auth-links {
        gap: 0.5rem 1rem;
    }
}

@media (max-width: 600px) {
    .auth-captcha {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-submit {
        transition: none;
    }
}

.auth-intro {
    margin: 0;
    color: var(--joy-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.auth-field {
    display: grid;
    gap: 0.42rem;
}

.auth-field > label {
    color: var(--joy-ink);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 850;
}

.auth-field > ul,
.auth-field .invalid-feedback,
.auth-field .form-error-message {
    margin: 0;
    color: #8e2d3e;
    font-size: 0.8rem;
}

.auth-password {
    position: relative;
}

.auth-password .form-control {
    padding-right: 3.4rem;
}

.auth-password__toggle {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    color: var(--joy-green-dark);
    background: transparent;
    transform: translateY(-50%);
}

.auth-password__toggle:hover {
    color: var(--joy-ink);
    background: rgba(32, 184, 135, 0.1);
}

.auth-confirmation {
    display: grid;
    gap: 0.9rem;
    justify-items: center;
    text-align: center;
}

.auth-confirmation p {
    margin: 0;
    color: var(--joy-text);
    line-height: 1.65;
}

.auth-confirmation__icon {
    display: inline-flex;
    width: 3.35rem;
    height: 3.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--joy-green-dark);
    background: rgba(32, 184, 135, 0.13);
    font-size: 1.3rem;
}

.error-page {
    display: grid;
    min-height: clamp(34rem, 68vh, 48rem);
    padding: clamp(3rem, 8vw, 7rem) 1.25rem;
    place-items: center;
}

.error-card {
    position: relative;
    display: grid;
    width: min(100%, 46rem);
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4.25rem);
    border: 1px solid rgba(66, 105, 116, 0.18);
    border-radius: var(--joy-radius-card);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(242, 252, 248, 0.88)),
        url('/joy/elements/background-white.jpg') repeat;
    box-shadow: 0 22px 48px rgba(65, 102, 119, 0.12);
    text-align: center;
    justify-items: center;
}

.error-card__code {
    position: absolute;
    top: -0.18em;
    right: -0.02em;
    color: rgba(32, 184, 135, 0.07);
    font-family: var(--joy-title-font);
    font-size: clamp(8rem, 25vw, 14rem);
    line-height: 0.8;
    pointer-events: none;
}

.error-card__icon {
    position: relative;
    display: inline-flex;
    width: 4.2rem;
    height: 4.2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    color: #ffffff;
    background: var(--joy-green-dark);
    box-shadow: 0 12px 24px rgba(18, 112, 90, 0.2);
    font-size: 1.45rem;
}

.error-card h1,
.error-card p,
.error-card .marketing-button {
    position: relative;
}

.error-card h1 {
    max-width: 34rem;
    margin-bottom: 0.7rem;
    color: var(--joy-ink);
    font-size: clamp(2.25rem, 6vw, 4rem);
}

.error-card p {
    max-width: 30rem;
    margin-bottom: 1.5rem;
    color: var(--joy-muted);
    font-size: 1.03rem;
}

@media (max-width: 760px) {
    .auth-confirmation {
        grid-column: 1;
    }

    .error-card {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }
}

.features-hero {
    display: grid;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
}

.features-hero .marketing-title {
    margin-bottom: 0;
}

.features-hero > .marketing-actions {
    margin-top: 0;
}

.feature-proof-list {
    display: grid;
    gap: clamp(3rem, 8vw, 6rem);
}

.feature-proof {
    display: grid;
    grid-template-columns: minmax(22rem, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
}

.feature-proof:nth-child(even) .feature-proof__media {
    order: 2;
}

.feature-proof__media .feature-media {
    border: 1px solid rgba(66, 105, 116, 0.18);
    box-shadow: 0 18px 38px rgba(65, 102, 119, 0.12);
}

.feature-proof__copy > p {
    color: var(--joy-muted);
}

.feature-proof__facts {
    display: grid;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.feature-proof__facts li {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    color: var(--joy-text);
    font-size: 0.9rem;
    font-weight: 750;
}

.feature-proof__facts i {
    display: inline-flex;
    width: 1.6rem;
    height: 1.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--joy-green-dark);
    background: rgba(32, 184, 135, 0.12);
    font-size: 0.68rem;
}

.feature-proof__roadmap-link,
.feature-proof__roadmap-link:hover,
.feature-proof__roadmap-link:visited {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    margin-top: 1.15rem;
    padding: 0.68rem 1.1rem;
    border-radius: var(--joy-radius-control);
    color: #ffffff;
    background: linear-gradient(180deg, #35bd93, var(--joy-green));
    box-shadow: 0 10px 20px rgba(55, 67, 84, 0.16);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-proof__roadmap-link:hover {
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(55, 67, 84, 0.22);
    transform: translateY(-2px);
}

.features-development-note {
    margin-top: 0.8rem;
    color: var(--joy-muted);
    font-size: 0.82rem;
}

.features-development-note a,
.support-free-community a {
    color: var(--joy-green-dark);
    font-weight: 800;
    text-decoration-line: underline;
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.14em;
}

.features-development-note a:focus-visible,
.support-free-community a:focus-visible {
    outline: 3px solid rgba(57, 130, 177, 0.3);
    outline-offset: 3px;
}

.support-free-community {
    margin-top: 0.8rem;
}

.support-editorial-hero {
    padding: clamp(2.8rem, 6vw, 5.2rem) 0;
    background:
        linear-gradient(135deg, rgba(217, 245, 255, 0.78), rgba(255, 250, 236, 0.78)),
        url('/joy/elements/background-white.jpg') repeat;
}

.support-editorial-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.support-editorial-hero__copy h1 {
    max-width: 38rem;
    color: var(--joy-ink);
    font-family: var(--joy-title-font);
    font-size: clamp(3.2rem, 5vw, 4.35rem);
    line-height: 0.96;
}

.support-editorial-hero__copy p:not(.marketing-eyebrow) {
    max-width: 39rem;
    color: var(--joy-text);
}

.support-editorial-hero__visual .feature-media {
    border: 1px solid rgba(66, 105, 116, 0.18);
    box-shadow: 0 20px 42px rgba(65, 102, 119, 0.13);
}

.support-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 0.55fr);
    gap: 0.4rem clamp(2rem, 6vw, 5rem);
    align-items: end;
}

.support-section-heading .marketing-eyebrow,
.support-section-heading h2 {
    grid-column: 1;
}

.support-section-heading p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    color: var(--joy-muted);
}

.support-impact-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1.5rem;
    margin-top: 2rem;
}

.support-impact-list article {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(66, 105, 116, 0.2);
}

.support-impact-list article > span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--joy-green);
    font-family: var(--joy-title-font);
    font-size: 1rem;
}

.support-impact-list p {
    margin-bottom: 0;
    color: var(--joy-muted);
    font-size: 0.9rem;
}

.support-boundary {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    max-width: 50rem;
    margin: 1.6rem auto 0;
    color: var(--joy-green-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.support-boundary i {
    margin-top: 0.26rem;
}

.support-example {
    display: grid;
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.support-example > img {
    display: block;
    width: 100%;
    border: 1px solid rgba(66, 105, 116, 0.18);
    border-radius: var(--joy-radius-media);
    box-shadow: 0 16px 34px rgba(65, 102, 119, 0.11);
}

.support-example p:not(.marketing-eyebrow) {
    color: var(--joy-muted);
}

.devlog-preview {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: calc(var(--joy-radius-media) - 4px);
}

.devlog-preview.is-locked img {
    filter: blur(5px) saturate(0.7);
    transform: scale(1.035);
}

.devlog-preview__badge {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(44, 35, 57, 0.84);
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 850;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
    .header-nav-bar {
        max-height: calc(100vh - 5.5rem);
        overflow-y: auto;
        padding: 0.8rem 1rem 1.1rem;
        border-top: 1px solid rgba(58, 91, 109, 0.13);
        background: rgba(242, 252, 255, 0.985);
        box-shadow: 0 18px 34px rgba(65, 102, 119, 0.18);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
    }

    .header-nav-bar .menu-link,
    .header-nav-bar .menu-link:hover,
    .header-nav-bar .menu-link:visited {
        min-height: 3rem;
        border-radius: 1rem;
    }

    .header-nav-bar .nav-cta-group {
        padding-top: 0.35rem;
    }

    .header-nav-bar .header-nav-cta {
        display: inline-flex;
        flex: 0 0 auto;
        width: min(100%, 22rem);
        min-height: 3rem;
    }

    .header-nav-bar .header-nav-cta--patreon {
        display: none;
    }

    .features-hero,
    .feature-proof,
    .support-editorial-hero__inner,
    .support-section-heading,
    .support-example {
        grid-template-columns: 1fr;
    }

    .feature-proof:nth-child(even) .feature-proof__media {
        order: 0;
    }

    .support-section-heading p:last-child {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 700px) {
    .homepage-game-hero__stage {
        height: min(47rem, calc(100svh - 4.2rem));
        min-height: 40rem;
    }

    .homepage-game-hero__feature-media video,
    .homepage-game-hero__feature-media .feature-media__fallback {
        object-position: center top;
    }

    .homepage-game-hero__stage::after {
        background:
            linear-gradient(0deg, rgba(20, 27, 23, 0.96) 0%, rgba(20, 27, 23, 0.84) 38%, rgba(20, 27, 23, 0.1) 70%, transparent 86%);
    }

    .homepage-game-hero__content {
        align-items: flex-end;
        width: min(100% - 2.4rem, 35rem);
        padding-bottom: 2.25rem;
    }

    .homepage-game-hero__copy {
        width: 100%;
    }

    .homepage-game-hero__title {
        font-size: clamp(3.25rem, 15vw, 4.2rem);
        line-height: 0.9;
        min-height: 2.7em;
    }

    .homepage-game-hero__typewriter {
        min-height: 1.8em;
    }

    .homepage-game-hero__subtitle {
        margin-top: 1rem;
        font-size: 0.94rem;
    }

    .homepage-game-hero__actions {
        margin-top: 1.15rem;
    }

    .homepage-game-hero__actions .marketing-button {
        width: 100%;
    }

    .homepage-game-hero__context {
        grid-template-columns: 1fr;
        width: min(100% - 2.4rem, 35rem);
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .homepage-game-hero__context p:last-child {
        white-space: normal;
    }

    .support-impact-list {
        grid-template-columns: 1fr;
    }

    .support-editorial-hero__visual {
        min-width: 0;
    }
}

.joy-site-header--home {
    position: sticky;
}

.joy-site-header--home:not(.scrolled) {
    background: #f2f1ec;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

#navbar.joy-site-header--home.scrolled {
    background: rgba(246, 245, 240, 0.96);
    box-shadow: 0 8px 22px rgba(44, 58, 52, 0.08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
