:root {
    --landing-ink: #14233a;
    --landing-muted: #5b6b7f;
    --landing-soft: #94a3b8;
    --landing-surface: #eef2f5;
    --landing-white: #ffffff;
    --landing-border: #eef2f6;
    --landing-teal: #00b593;
    --landing-teal-bright: #00d8ad;
    --landing-teal-dark: #00997e;
    --landing-discord: #5865f2;
    --landing-discord-dark: #4148c7;
    --landing-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--landing-surface);
    scroll-behavior: smooth;
}

body.mc-landing-page {
    margin: 0;
    color: var(--landing-ink);
    background: var(--landing-surface);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.landing-shell {
    min-height: 100vh;
    overflow: hidden;
    background: var(--landing-surface);
}

.landing-header {
    position: relative;
    z-index: 100;
    height: 88px;
    background: var(--landing-white);
    border-bottom: 1px solid var(--landing-border);
}

.landing-header-inner {
    height: 100%;
    padding: 0 56px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--landing-ink);
    text-decoration: none;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.landing-brand-dot {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 999px;
    background: var(--landing-teal);
}

.landing-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.landing-nav a {
    color: #64748b;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.landing-nav a:hover,
.landing-nav a:focus-visible {
    color: var(--landing-teal-dark);
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.landing-login {
    color: var(--landing-ink);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.landing-register {
    min-height: 49px;
    padding: 13px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--landing-white);
    background: var(--landing-teal);
    box-shadow: 0 8px 20px rgba(0, 181, 147, 0.32);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.landing-menu-button {
    width: 42px;
    height: 42px;
    padding: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.landing-menu-button span {
    width: 22px;
    height: 2.5px;
    display: block;
    border-radius: 2px;
    background: var(--landing-ink);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.landing-menu-button.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.landing-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.landing-menu-button.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.landing-mobile-menu {
    position: fixed;
    inset: 64px 0 auto;
    z-index: 99;
    display: none;
    padding: 18px 22px 24px;
    background: var(--landing-white);
    border-bottom: 1px solid var(--landing-border);
    box-shadow: 0 18px 34px rgba(20, 35, 58, 0.14);
}

.landing-mobile-menu.is-open {
    display: block;
}

.landing-mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--landing-border);
    color: var(--landing-ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.landing-mobile-menu-actions {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.landing-mobile-menu-actions a {
    min-height: 45px;
    justify-content: center;
    border: 1px solid #dfe8ee;
    border-radius: 12px;
}

.landing-mobile-menu-actions .primary {
    color: var(--landing-white);
    border-color: var(--landing-teal);
    background: var(--landing-teal);
}

.landing-language {
    margin: 16px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #dfe8ee;
    border-radius: 999px;
    background: #f8fafc;
}

.landing-language button {
    min-width: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 999px;
    color: #64748b;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.landing-language button.active {
    color: var(--landing-white);
    background: var(--landing-teal);
}

.landing-language-header {
    margin: 0;
    flex: 0 0 auto;
}

.landing-language-header button {
    min-width: 34px;
    padding: 7px 9px;
}

.landing-hero,
.landing-final-cta {
    position: relative;
    overflow: hidden;
    color: var(--landing-white);
    background: linear-gradient(160deg, var(--landing-teal-bright) 0%, #00b896 52%, var(--landing-teal-dark) 100%);
}

.landing-hero {
    padding: 96px 56px 110px;
}

.landing-hero-inner {
    position: relative;
    max-width: 1320px;
    min-height: 760px;
    margin: 0 auto;
    display: block;
}

.landing-hero-copy {
    position: relative;
    z-index: 3;
    width: min(760px, calc(100vw - 112px));
    margin: 0 auto;
    padding-top: 112px;
    text-align: left;
}

.landing-beta-pill {
    margin-bottom: 28px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    color: var(--landing-white);
    background: rgba(255, 255, 255, 0.18);
    font-size: 16px;
    font-weight: 700;
}

.landing-beta-pill span {
    font-size: 12px;
}

.landing-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--landing-white);
    font-size: 78px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 10px 36px rgba(0, 60, 48, 0.22);
}

.landing-hero-lead {
    max-width: 560px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 26px;
    line-height: 1.45;
    font-weight: 500;
}

.landing-hero-buttons {
    margin-top: 42px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px;
}

.landing-button {
    min-height: 66px;
    padding: 20px 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.landing-button-light {
    color: var(--landing-teal-dark);
    background: var(--landing-white);
    box-shadow: 0 18px 40px rgba(0, 60, 48, 0.28);
}

.landing-button-outline {
    color: var(--landing-white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

.landing-trust-row {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    font-weight: 600;
}

.landing-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 0;
    pointer-events: none;
}

.landing-hero-phone {
    position: absolute;
    top: 50%;
    right: -96px;
    width: clamp(315px, 24vw, 420px);
    height: auto;
    transform: translateY(-50%);
}

.landing-hero-mascot {
    position: absolute;
    right: calc(50% + 425px);
    bottom: 140px;
    width: 280px;
    height: auto;
    transform: scaleX(-1);
    transform-origin: center;
    filter: drop-shadow(0 22px 40px rgba(0, 70, 56, 0.34));
}

.landing-metrics {
    background: var(--landing-white);
    border-bottom: 1px solid var(--landing-border);
}

.landing-metrics-inner {
    max-width: var(--landing-max);
    margin: 0 auto;
    padding: 34px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.landing-metric {
    min-height: 62px;
    padding: 0 28px;
    display: grid;
    place-items: center;
    text-align: center;
    border-left: 1px solid var(--landing-border);
}

.landing-metric:first-child {
    border-left: 0;
}

.landing-metric strong {
    color: var(--landing-ink);
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
}

.landing-metric span {
    margin-top: 6px;
    color: var(--landing-soft);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
}

.landing-features {
    background: var(--landing-surface);
}

.landing-section-heading {
    padding: 104px 56px 40px;
    text-align: center;
}

.landing-eyebrow {
    display: block;
    color: var(--landing-teal);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 800;
}

.landing-section-heading h2 {
    max-width: 840px;
    margin: 18px auto 0;
    color: var(--landing-ink);
    font-size: 56px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.landing-feature {
    padding: 50px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    gap: 60px;
    align-items: center;
    max-width: calc(var(--landing-max) + 112px);
    margin: 0 auto;
}

.landing-feature.is-reversed {
    max-width: none;
    background: var(--landing-white);
}

.landing-feature.is-reversed .landing-feature-copy,
.landing-feature.is-reversed .landing-feature-visual {
    max-width: 560px;
}

.landing-feature.is-reversed .landing-feature-copy {
    justify-self: start;
}

.landing-feature.is-reversed .landing-feature-visual {
    justify-self: end;
    order: -1;
}

.landing-feature-copy {
    max-width: 560px;
}

.landing-feature-tag {
    padding: 8px 16px;
    display: inline-block;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 800;
}

.landing-feature-tag.green {
    color: var(--landing-teal);
    background: #e6faf4;
}

.landing-feature-tag.blue {
    color: #3182ce;
    background: #ebf3fc;
}

.landing-feature-tag.purple {
    color: #805ad5;
    background: #f3edfc;
}

.landing-feature h3 {
    margin: 22px 0 0;
    color: var(--landing-ink);
    font-size: 46px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.landing-feature p {
    margin: 20px 0 0;
    color: var(--landing-muted);
    font-size: 23px;
    line-height: 1.5;
    font-weight: 500;
}

.landing-feature-visual {
    display: flex;
    justify-content: center;
}

.landing-feature-visual img {
    width: 440px;
    max-width: 100%;
    height: auto;
}

.landing-community-wrap {
    padding: 60px 56px;
}

.landing-community {
    max-width: var(--landing-max);
    margin: 0 auto;
    padding: 60px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--landing-discord) 0%, var(--landing-discord-dark) 100%);
}

.landing-community-copy {
    position: relative;
    z-index: 1;
}

.landing-community h2 {
    margin: 0;
    color: var(--landing-white);
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.landing-community p {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 22px;
    line-height: 1.5;
    font-weight: 500;
}

.landing-community-button {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: 20px 40px;
    border-radius: 16px;
    color: var(--landing-discord-dark);
    background: var(--landing-white);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.landing-final-cta {
    padding: 100px 56px;
    text-align: center;
}

.landing-final-inner {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-final-cta img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 22px 40px rgba(0, 70, 56, 0.34));
}

.landing-final-cta h2 {
    margin: 36px 0 0;
    color: var(--landing-white);
    font-size: 62px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
}

.landing-final-cta p {
    max-width: 640px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 25px;
    line-height: 1.45;
    font-weight: 500;
}

.landing-final-actions {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.landing-beta-code {
    min-height: 66px;
    padding: 22px 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    color: var(--landing-white);
    background: rgba(255, 255, 255, 0.16);
    font-size: 21px;
    font-weight: 700;
}

.landing-beta-code strong {
    font-weight: 800;
}

.landing-footer {
    background: var(--landing-ink);
    padding: 56px;
}

.landing-footer .landing-brand {
    color: var(--landing-white);
    font-size: 24px;
}

.landing-footer .landing-brand-dot {
    background: #00cea6;
}

.landing-footer-inner {
    max-width: var(--landing-max);
    margin: 0 auto;
}

.landing-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.landing-footer-links {
    display: flex;
    gap: 34px;
}

.landing-footer-links a {
    color: var(--landing-soft);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.landing-footer-links a:hover,
.landing-footer-links a:focus-visible {
    color: var(--landing-white);
}

.landing-footer-copy {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 16px;
}

@media (max-width: 1180px) {
    .landing-header-inner {
        padding: 0 24px;
        gap: 20px;
    }

    .landing-nav {
        gap: 20px;
    }

    .landing-actions {
        gap: 10px;
    }

    .landing-nav a,
    .landing-login,
    .landing-register {
        font-size: 16px;
    }

    .landing-register {
        padding: 13px 20px;
    }

    .landing-language-header button {
        min-width: 30px;
        padding: 6px 8px;
    }

    .landing-hero h1 {
        font-size: 56px;
        line-height: 1.04;
    }

    .landing-hero-copy {
        width: auto;
        max-width: 560px;
        padding-top: 0;
    }

    .landing-hero-lead {
        max-width: 480px;
        font-size: 20px;
    }

    .landing-hero-inner {
        display: grid;
        min-height: 620px;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
        gap: 44px;
        align-items: center;
    }

    .landing-hero-visual {
        position: relative;
        inset: auto;
        min-height: 620px;
    }

    .landing-button {
        min-height: 58px;
        padding: 18px 34px;
        font-size: 18px;
    }

    .landing-trust-row {
        gap: 18px;
        font-size: 14px;
    }

    .landing-hero-phone {
        position: absolute;
        top: 50%;
        right: -54px;
        width: min(470px, 42vw);
        transform: translateY(-50%);
    }

    .landing-hero-mascot {
        display: none;
    }
}

@media (max-width: 920px) and (min-width: 761px) {
    .landing-header {
        height: 64px;
    }

    .landing-header-inner {
        padding: 0 22px;
        display: flex;
        justify-content: space-between;
    }

    .landing-brand {
        gap: 9px;
        font-size: 19px;
    }

    .landing-brand-dot {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .landing-nav,
    .landing-actions {
        display: none;
    }

    .landing-menu-button {
        display: flex;
    }

    .landing-mobile-menu {
        inset: 64px 0 auto;
    }

    .landing-hero {
        padding: 56px 40px 64px;
    }

    .landing-hero-inner {
        min-height: 0;
        display: block;
        text-align: center;
    }

    .landing-hero-copy {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }

    .landing-hero h1 {
        max-width: 680px;
        margin: 0 auto;
        font-size: 52px;
        line-height: 1.05;
    }

    .landing-hero-lead {
        max-width: 560px;
        margin: 20px auto 0;
    }

    .landing-hero-buttons,
    .landing-trust-row {
        justify-content: flex-start;
    }

    .landing-hero-visual {
        min-height: auto;
        margin-top: 34px;
    }

    .landing-hero-phone {
        position: static;
        width: min(400px, 54vw);
        margin: 0 auto;
        display: block;
        transform: none;
    }
}

@media (max-width: 760px) {
    .landing-header {
        height: 64px;
    }

    .landing-header-inner {
        padding: 0 22px;
        display: flex;
        justify-content: space-between;
    }

    .landing-brand {
        gap: 9px;
        font-size: 19px;
    }

    .landing-brand-dot {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .landing-nav,
    .landing-actions {
        display: none;
    }

    .landing-menu-button {
        display: flex;
    }

    .landing-hero-inner {
        min-height: 0;
        display: block;
        text-align: center;
    }

    .landing-hero {
        padding: 44px 26px 36px;
    }

    .landing-hero-copy {
        text-align: center;
    }

    .landing-beta-pill {
        margin-bottom: 18px;
        padding: 7px 14px;
        gap: 8px;
        font-size: 12px;
    }

    .landing-hero h1 {
        max-width: 380px;
        margin: 0 auto;
        font-size: 38px;
        line-height: 1.05;
        text-shadow: none;
    }

    .landing-hero-lead {
        max-width: 340px;
        margin: 16px auto 0;
        font-size: 16px;
        line-height: 1.45;
    }

    .landing-hero-buttons {
        margin-top: 26px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .landing-button {
        width: 100%;
        min-height: 52px;
        padding: 16px 18px;
        border-radius: 14px;
        font-size: 17px;
    }

    .landing-trust-row,
    .landing-hero-mascot {
        display: none;
    }

    .landing-hero-visual {
        min-height: auto;
    }

    .landing-hero-phone {
        position: static;
        width: 330px;
        max-width: 88%;
        margin: 30px auto 0;
        display: block;
        transform: none;
    }

    .landing-metrics-inner {
        padding: 24px;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 12px;
    }

    .landing-metric {
        min-height: 0;
        padding: 0;
        border-left: 0;
    }

    .landing-metric strong {
        font-size: 30px;
    }

    .landing-metric span {
        margin-top: 2px;
        font-size: 13px;
    }

    .landing-section-heading {
        padding: 48px 26px 8px;
    }

    .landing-eyebrow {
        font-size: 13px;
    }

    .landing-section-heading h2 {
        max-width: 340px;
        margin-top: 12px;
        font-size: 30px;
        line-height: 1.12;
    }

    .landing-feature,
    .landing-feature.is-reversed {
        max-width: none;
        margin: 0;
        padding: 24px 26px 0;
        display: block;
        background: transparent;
    }

    .landing-feature:last-child {
        padding-bottom: 24px;
    }

    .landing-feature-copy {
        max-width: none;
        padding: 28px 24px 0;
        border-radius: 24px 24px 0 0;
        background: var(--landing-white);
        text-align: center;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    }

    .landing-feature-visual {
        padding: 0 24px 28px;
        border-radius: 0 0 24px 24px;
        background: var(--landing-white);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    }

    .landing-feature.is-reversed .landing-feature-copy,
    .landing-feature.is-reversed .landing-feature-visual {
        max-width: none;
        justify-self: auto;
    }

    .landing-feature.is-reversed .landing-feature-visual {
        order: initial;
    }

    .landing-feature-tag {
        padding: 6px 13px;
        font-size: 12px;
    }

    .landing-feature h3 {
        margin-top: 16px;
        font-size: 25px;
        line-height: 1.15;
    }

    .landing-feature p {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.5;
    }

    .landing-feature-visual img {
        width: 230px;
        margin-top: 18px;
    }

    .landing-community-wrap {
        padding: 24px 26px;
    }

    .landing-community {
        padding: 34px 26px;
        display: block;
        border-radius: 24px;
        text-align: center;
    }

    .landing-community h2 {
        font-size: 26px;
        line-height: 1.15;
    }

    .landing-community p {
        margin-top: 12px;
        font-size: 16px;
    }

    .landing-community-button {
        margin-top: 22px;
        padding: 15px 34px;
        display: inline-flex;
        border-radius: 14px;
        font-size: 17px;
    }

    .landing-final-cta {
        padding: 52px 26px;
    }

    .landing-final-cta img {
        width: 140px;
        filter: drop-shadow(0 18px 32px rgba(0, 70, 56, 0.34));
    }

    .landing-final-cta h2 {
        margin-top: 22px;
        font-size: 34px;
        line-height: 1.06;
    }

    .landing-final-cta p {
        max-width: 330px;
        margin-top: 14px;
        font-size: 16px;
    }

    .landing-final-actions {
        width: 100%;
        margin-top: 26px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .landing-beta-code {
        width: 100%;
        min-height: 49px;
        padding: 15px 16px;
        border-radius: 14px;
        font-size: 15px;
    }

    .landing-footer {
        padding: 34px 26px;
        text-align: center;
    }

    .landing-footer .landing-brand {
        justify-content: center;
        font-size: 19px;
    }

    .landing-footer-top {
        display: block;
    }

    .landing-footer-links {
        margin-top: 18px;
        justify-content: center;
        gap: 22px;
    }

    .landing-footer-links a {
        font-size: 15px;
    }

    .landing-footer-copy {
        margin-top: 20px;
        padding-top: 0;
        border-top: 0;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .landing-hero h1 {
        font-size: 34px;
    }

    .landing-section-heading h2,
    .landing-final-cta h2 {
        font-size: 30px;
    }

    .landing-footer-links {
        flex-wrap: wrap;
    }
}
