:root {
    --cmg-black: #0a0c0a;
    --cmg-deep: #101310;
    --cmg-panel: #1c1f1c;
    --cmg-line: #2c302b;
    --cmg-cream: #f2f0e9;
    --cmg-muted: #8e928b;
    --cmg-lime: #d7ff32;
    --cmg-shell: 1184px;
}

html {
    scroll-behavior: smooth;
}

body.firstcmg-landing {
    margin: 0;
    color: var(--cmg-cream);
    background: var(--cmg-black);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.firstcmg-landing .elementor-widget:not(:last-child) {
    margin-block-end: 0;
}

.firstcmg-landing .cmg-page {
    padding: 0;
    gap: 0;
    overflow: hidden;
    color: var(--cmg-cream);
    background: var(--cmg-black);
}

.cmg-page,
.cmg-page .e-con {
    --container-max-width: var(--cmg-shell);
}

.cmg-page .elementor-heading-title,
.cmg-page p {
    margin: 0;
}

.cmg-shell {
    width: min(calc(100% - 56px), var(--cmg-shell));
    max-width: var(--cmg-shell) !important;
    margin-inline: auto;
}

.cmg-topbar {
    z-index: 20;
    display: flex;
    min-height: 56px;
    padding: 0 max(28px, calc((100vw - var(--cmg-shell)) / 2));
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--cmg-cream);
    background: rgba(10, 12, 10, 0.94);
    border-bottom: 1px solid var(--cmg-line);
}

.cmg-topbar__brand .elementor-heading-title {
    color: var(--cmg-cream);
    font-size: 12px;
    font-weight: 700;
}

.cmg-topbar__radar .elementor-heading-title {
    color: var(--cmg-cream);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

.cmg-hero {
    position: relative;
    min-height: 710px;
    padding: 0 0 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 44%, rgba(215, 255, 50, 0.09) 0 18%, transparent 18.3%),
        radial-gradient(circle at 76% 44%, transparent 0 30%, rgba(215, 255, 50, 0.025) 30.2% 42%, transparent 42.2%),
        linear-gradient(126deg, transparent 0 48%, rgba(255, 255, 255, 0.025) 48% 70%, transparent 70%),
        var(--cmg-black);
    border-bottom: 1px solid var(--cmg-line);
}

.cmg-hero::before {
    position: absolute;
    top: 145px;
    right: calc(12% - 10px);
    width: 380px;
    height: 380px;
    pointer-events: none;
    content: "";
    border: 1px solid rgba(215, 255, 50, 0.22);
    border-radius: 50%;
}

.cmg-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 620px;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.72fr);
    align-items: end;
    gap: 78px;
}

.cmg-hero__copy {
    align-items: flex-start;
    gap: 28px;
}

.cmg-pill .elementor-heading-title {
    padding: 8px 13px;
    color: var(--cmg-lime);
    border: 1px solid rgba(215, 255, 50, 0.6);
    border-radius: 999px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.cmg-hero__title .elementor-heading-title {
    max-width: 720px;
    color: var(--cmg-cream);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(46px, 5.4vw, 82px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
}

.cmg-hero__radar {
    position: relative;
    padding-bottom: 76px;
    gap: 10px;
}

.cmg-hero__radar-copy {
    margin-bottom: 20px;
}

.cmg-hero__radar-copy p {
    color: #a5a9a2;
    font-size: 14px;
    line-height: 1.35;
}

.cmg-button .elementor-button {
    width: 100%;
    min-height: 48px;
    padding: 15px 22px;
    border-radius: 0;
    box-shadow: none;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cmg-button--lime .elementor-button {
    color: #10120c;
    background: var(--cmg-lime);
    border: 1px solid var(--cmg-lime);
}

.cmg-button--lime .elementor-button:hover {
    color: #10120c;
    background: #e2ff68;
}

.cmg-button--outline .elementor-button {
    color: var(--cmg-cream);
    background: transparent;
    border: 1px solid var(--cmg-line);
}

.cmg-button--outline .elementor-button:hover {
    color: var(--cmg-lime);
    border-color: var(--cmg-lime);
}

.cmg-hero__index {
    display: flex;
    min-height: 54px;
    padding-top: 22px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--cmg-line);
}

.cmg-index-label .elementor-heading-title,
.cmg-index-number .elementor-heading-title {
    color: var(--cmg-muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cmg-index-number .elementor-heading-title {
    color: var(--cmg-lime);
}

.cmg-wave {
    min-height: 280px;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(to bottom, transparent 0 54px, rgba(255, 255, 255, 0.035) 55px),
        var(--cmg-black);
    border-bottom: 1px solid var(--cmg-line);
}

.cmg-wave-mark {
    width: 210px;
    color: var(--cmg-lime);
    filter: drop-shadow(0 0 10px rgba(215, 255, 50, 0.36));
    transform: rotate(8deg);
}

.cmg-wave-mark svg {
    display: block;
    width: 100%;
    height: auto;
}

.cmg-ticker-widget {
    position: relative;
    z-index: 2;
}

.cmg-ticker {
    width: 100%;
    overflow: hidden;
    color: #11130d;
    background: var(--cmg-lime);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 46px;
    text-transform: uppercase;
    white-space: nowrap;
}

.cmg-ticker__track {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: 30px;
    animation: cmg-ticker 26s linear infinite;
}

@keyframes cmg-ticker {
    to { transform: translateX(-50%); }
}

.cmg-section {
    padding-block: 112px;
    border-bottom: 1px solid var(--cmg-line);
}

.cmg-vision__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 100px;
}

.cmg-kicker .elementor-heading-title {
    color: var(--cmg-lime);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.19em;
    line-height: 1.3;
    text-transform: uppercase;
}

.cmg-vision__number-wrap {
    gap: 28px;
}

.cmg-vision__number .elementor-heading-title {
    color: var(--cmg-lime);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(110px, 13vw, 190px);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.74;
}

.cmg-vision__copy {
    gap: 26px;
}

.cmg-section-title .elementor-heading-title {
    color: var(--cmg-cream);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.cmg-lead p {
    max-width: 700px;
    color: #a3a69f;
    font-size: 17px;
    line-height: 1.45;
}

.cmg-copy p,
.cmg-small-copy p,
.cmg-card-copy p {
    color: var(--cmg-muted);
    font-size: 13px;
    line-height: 1.45;
}

.cmg-criteria__heading {
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: end;
    margin-bottom: 56px;
    padding-bottom: 24px;
    gap: 40px;
    border-bottom: 1px solid var(--cmg-line);
}

.cmg-criteria__heading > .e-con:first-child {
    gap: 24px;
}

.cmg-criteria__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cmg-criteria-card {
    min-height: 320px;
    padding: 32px 30px;
    justify-content: flex-end;
    gap: 18px;
    background: var(--cmg-panel);
    border: 1px solid #393d37;
    transition: border-color 180ms ease, transform 180ms ease;
}

.cmg-criteria-card:hover {
    border-color: rgba(215, 255, 50, 0.65);
    transform: translateY(-4px);
}

.cmg-card-label {
    margin-bottom: auto;
}

.cmg-card-label .elementor-heading-title {
    color: #a1b933;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cmg-card-title .elementor-heading-title {
    color: var(--cmg-cream);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.1;
}

.cmg-invitation {
    min-height: 470px;
    justify-content: center;
    background:
        radial-gradient(circle at 77% 45%, rgba(215, 255, 50, 0.10), transparent 34%),
        linear-gradient(105deg, #111510, #151b11 68%, #10130f);
    border-bottom: 1px solid var(--cmg-line);
}

.cmg-invitation__inner {
    align-items: flex-start;
    gap: 24px;
}

.cmg-invitation .cmg-lead p {
    max-width: 530px;
}

.cmg-interest__inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.38fr);
    align-items: start;
    gap: 110px;
}

.cmg-interest__copy {
    gap: 24px;
}

.cmg-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
}

.cmg-interest-form label {
    display: grid;
    gap: 12px;
}

.cmg-interest-form label > span {
    color: var(--cmg-cream);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cmg-interest-form input,
.cmg-interest-form select,
.cmg-interest-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 0;
    color: var(--cmg-cream);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #3d413b;
    border-radius: 0;
    outline: 0;
    font: 500 13px/1.4 "Inter", sans-serif;
}

.cmg-interest-form textarea {
    min-height: 118px;
    resize: vertical;
}

.cmg-interest-form input:focus,
.cmg-interest-form select:focus,
.cmg-interest-form textarea:focus {
    border-bottom-color: var(--cmg-lime);
}

.cmg-interest-form input::placeholder,
.cmg-interest-form textarea::placeholder {
    color: #676b65;
    opacity: 1;
}

.cmg-form-wide {
    grid-column: 1 / -1;
}

.cmg-form-disclaimer,
.cmg-form-status {
    margin-top: 30px !important;
    padding-top: 24px;
    color: #737770;
    border-top: 1px solid var(--cmg-line);
    font-size: 10px;
    line-height: 1.4;
}

.cmg-interest-form button {
    margin-top: 28px;
    padding: 16px 22px;
    color: #11130d;
    background: var(--cmg-lime);
    border: 1px solid var(--cmg-lime);
    border-radius: 0;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.cmg-form-status {
    display: none;
    color: var(--cmg-lime);
}

.cmg-form-status:not(:empty) {
    display: block;
}

.cmg-footer {
    padding: 58px 0 32px;
    background: #111411;
}

.cmg-footer__top,
.cmg-footer__bottom {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.cmg-footer__top {
    padding-bottom: 46px;
}

.cmg-footer__brand .elementor-heading-title {
    color: var(--cmg-cream);
    font-size: 20px;
    font-weight: 700;
}

.cmg-footer__tagline p {
    margin-top: 14px;
    color: var(--cmg-muted);
    font-size: 12px;
}

.cmg-footer__links {
    display: flex;
    gap: 26px;
}

.cmg-footer__links a {
    color: var(--cmg-cream);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.cmg-footer__links a:hover {
    color: var(--cmg-lime);
}

.cmg-footer__bottom {
    padding-top: 27px;
    border-top: 1px solid var(--cmg-line);
}

.cmg-footer__copyright .elementor-heading-title,
.cmg-footer__launch .elementor-heading-title {
    color: #696d67;
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.cmg-footer__launch .elementor-heading-title {
    color: var(--cmg-lime);
}

body.cmg-modal-open {
    overflow: hidden;
}

.cmg-radar-modal[hidden] {
    display: none;
}

.cmg-radar-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
}

.cmg-radar-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 3, 0.84);
    backdrop-filter: blur(8px);
}

.cmg-radar-modal__dialog {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    padding: 52px;
    overflow-y: auto;
    color: var(--cmg-cream);
    background:
        radial-gradient(circle at 100% 0, rgba(215, 255, 50, 0.1), transparent 36%),
        #111410;
    border: 1px solid #353a32;
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.58);
    outline: none;
}

.cmg-radar-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--cmg-cream);
    background: transparent;
    border: 1px solid #353a32;
    border-radius: 0;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.cmg-radar-modal__close:hover,
.cmg-radar-modal__close:focus-visible {
    color: #11130d;
    background: var(--cmg-lime);
    border-color: var(--cmg-lime);
}

.cmg-radar-modal__kicker {
    margin: 0 0 14px;
    color: var(--cmg-lime);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cmg-radar-modal h2 {
    margin: 0;
    color: var(--cmg-cream);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
}

.cmg-radar-modal__intro {
    margin: 18px 0 30px;
    color: #a5a9a2;
    font-size: 14px;
    line-height: 1.55;
}

.cmg-radar-form {
    display: grid;
    gap: 20px;
}

.cmg-radar-form label {
    display: grid;
    gap: 8px;
}

.cmg-radar-form label > span {
    color: var(--cmg-cream);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cmg-radar-form input {
    width: 100%;
    min-height: 48px;
    padding: 11px 0;
    color: var(--cmg-cream);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #41463e;
    border-radius: 0;
    box-shadow: none;
    font: 15px/1.4 "Inter", Arial, sans-serif;
}

.cmg-radar-form input:focus {
    border-bottom-color: var(--cmg-lime);
    outline: 0;
}

.cmg-radar-form button[type="submit"] {
    justify-self: start;
    min-height: 48px;
    margin-top: 4px;
    padding: 14px 24px;
    color: #11130d;
    background: var(--cmg-lime);
    border: 1px solid var(--cmg-lime);
    border-radius: 0;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.cmg-radar-form button[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.65;
}

.cmg-radar-form__status {
    min-height: 22px;
    margin: 0;
    color: var(--cmg-lime);
    font-size: 13px;
    line-height: 1.5;
}

.cmg-radar-form__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

@media (max-width: 1024px) {
    .cmg-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
        gap: 44px;
    }

    .cmg-hero::before {
        right: -70px;
    }

    .cmg-vision__inner,
    .cmg-interest__inner {
        gap: 60px;
    }
}

@media (max-width: 767px) {
    .cmg-shell {
        width: min(calc(100% - 34px), var(--cmg-shell));
    }

    .cmg-topbar {
        min-height: 52px;
        padding-inline: 17px;
    }

    .cmg-topbar__brand .elementor-heading-title {
        font-size: 10px;
    }

    .cmg-topbar__radar .elementor-heading-title {
        font-size: 9px;
    }

    .cmg-hero {
        min-height: 0;
        padding-bottom: 24px;
    }

    .cmg-hero::before {
        top: 90px;
        right: -180px;
        width: 380px;
        height: 380px;
    }

    .cmg-hero__inner {
        min-height: 660px;
        grid-template-columns: 1fr;
        align-content: end;
        gap: 58px;
    }

    .cmg-hero__title .elementor-heading-title {
        font-size: clamp(42px, 12.2vw, 58px);
    }

    .cmg-hero__radar {
        max-width: 360px;
        padding-bottom: 18px;
    }

    .cmg-hero__index {
        min-height: 48px;
    }

    .cmg-wave {
        min-height: 230px;
    }

    .cmg-wave-mark {
        width: 170px;
    }

    .cmg-ticker {
        font-size: 9px;
        line-height: 40px;
    }

    .cmg-section {
        padding-block: 78px;
    }

    .cmg-vision__inner,
    .cmg-interest__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .cmg-vision__number .elementor-heading-title {
        font-size: 120px;
    }

    .cmg-section-title .elementor-heading-title {
        font-size: 36px;
    }

    .cmg-lead p {
        font-size: 15px;
    }

    .cmg-criteria__heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cmg-criteria__grid {
        grid-template-columns: 1fr;
    }

    .cmg-criteria-card {
        min-height: 260px;
    }

    .cmg-invitation {
        min-height: 420px;
    }

    .cmg-form-grid {
        grid-template-columns: 1fr;
    }

    .cmg-form-wide {
        grid-column: auto;
    }

    .cmg-footer__top,
    .cmg-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .cmg-footer__links {
        flex-wrap: wrap;
    }

    .cmg-radar-modal {
        padding: 12px;
    }

    .cmg-radar-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 48px 24px 28px;
    }

    .cmg-radar-modal h2 {
        font-size: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cmg-ticker__track { animation: none; }
    .cmg-criteria-card { transition: none; }
}
