:root {
    --bg: #111214;
    --bg-soft: rgba(255, 255, 255, 0.04);
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f6f1e7;
    --muted: rgba(246, 241, 231, 0.72);
    --gold: #ff6600;
    --gold-soft: #ffad67;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 102, 0, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 173, 103, 0.08), transparent 24%),
        linear-gradient(180deg, #101114 0%, #19130f 100%);
    color: var(--text);
    font-family: "Inter", system-ui, sans-serif;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.cm-wrap {
    width: min(1140px, calc(100% - 32px));
    margin-inline: auto;
}

.cm-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(6, 10, 17, 0.86);
    backdrop-filter: blur(18px);
}

.cm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 94px;
    min-width: 0;
}

.cm-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-decoration: none;
    min-width: 0;
}

.cm-brand__image {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.cm-brand__image--full {
    height: 92px;
}

.cm-brand__image--icon {
    display: none;
    height: 52px;
}

.cm-brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cm-session-pill {
    display: inline-flex;
    align-items: center;
    max-width: 180px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-lang-switch {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.cm-lang {
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.cm-lang.is-active {
    color: #111;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
}

.cm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.cm-button:hover,
.cm-lang:hover {
    transform: translateY(-1px);
}

.cm-button--primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: #111;
}

.cm-toast {
    position: fixed;
    top: 96px;
    right: max(20px, calc((100vw - 1140px) / 2));
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 14px;
    align-items: start;
    width: min(430px, calc(100vw - 28px));
    padding: 16px;
    border: 1px solid rgba(217, 181, 107, 0.34);
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(217, 181, 107, 0.16), transparent 36%),
        rgba(13, 17, 24, 0.94);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(18px);
}

.cm-toast.is-hidden {
    display: none;
}

.cm-toast strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-soft);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-toast p {
    margin: 0;
    color: var(--text);
    line-height: 1.45;
}

.cm-toast__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(217, 181, 107, 0.24);
    border-radius: 999px;
    background: rgba(217, 181, 107, 0.08);
    color: var(--gold-soft);
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 800;
}

.cm-page {
    padding-bottom: 60px;
}

.cm-hero {
    padding: 42px 0 24px;
}

.cm-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 22px;
    align-items: start;
}

.cm-kicker {
    margin: 0 0 12px;
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    font-size: 0.78rem;
}

.cm-hero__title,
.cm-section__head h2,
.cm-hero__panel h2,
.cm-process h3,
.cm-closing h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0;
}

.cm-hero__title {
    font-size: 4.2rem;
    line-height: 0.95;
    max-width: 11ch;
}

.cm-hero__lead {
    margin: 18px 0 0;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.72;
}

.cm-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cm-tag-row span,
.cm-pill,
.cm-chip,
.cm-stat,
.cm-creator-card,
.cm-hero__panel,
.cm-board__filters,
.cm-idea-card,
.cm-access-grid,
.cm-process,
.cm-info-card,
.cm-flow-step,
.cm-faq-item,
.cm-closing {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.cm-tag-row span,
.cm-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.88rem;
}

.cm-hero__panel {
    border-radius: 26px;
    padding: 26px;
}

.cm-hero__panel p,
.cm-section__head p,
.cm-creator-card p,
.cm-form__note,
.cm-closing p,
.cm-process li,
.cm-action-card p,
.cm-completed-card p {
    color: var(--muted);
}

.cm-hero__panel h2 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.cm-mini-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.cm-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cm-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.cm-flow-step {
    position: relative;
    border-radius: 22px;
    padding: 20px;
    overflow: hidden;
}

.cm-flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(217,181,107,.18);
    color: var(--gold-soft);
    font-weight: 900;
    margin-bottom: 14px;
}

.cm-flow-step h3 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", sans-serif;
}

.cm-flow-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.cm-info-card,
.cm-faq-item {
    border-radius: 22px;
    padding: 20px;
}

.cm-info-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: rgba(217,181,107,.16);
    color: var(--gold-soft);
    font-weight: 900;
}

.cm-info-card h3,
.cm-faq-item h3 {
    margin: 0 0 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
}

.cm-info-card p,
.cm-faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.cm-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cm-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.cm-stat {
    border-radius: 20px;
    padding: 18px 18px 16px;
}

.cm-stat strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
}

.cm-stat span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.cm-section {
    padding: 58px 0 0;
}

.cm-section--alt {
    padding-top: 70px;
}

.cm-section__head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cm-section__head h2 {
    font-size: 2.4rem;
    margin-top: 8px;
}

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

.cm-creator-card {
    border-radius: 22px;
    padding: 18px;
}

.cm-creator-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.cm-creator-card h3,
.cm-idea-card h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.28rem;
}

.cm-creator-card h3 a {
    color: inherit;
    text-decoration: none;
}

.cm-creator-card h3 a:hover {
    color: var(--gold-soft);
}

.cm-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(217, 181, 107, 0.15);
    color: #fdecc2;
    font-size: 0.78rem;
    font-weight: 700;
}

.cm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.cm-meta span,
.cm-link-row a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    text-decoration: none;
}

.cm-board {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 14px;
}

.cm-board__filters {
    border-radius: 22px;
    padding: 18px;
    position: sticky;
    top: 92px;
    align-self: start;
}

.cm-field {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.cm-field span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.cm-field input,
.cm-field textarea,
.cm-field select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 13px 14px;
    outline: none;
}

.cm-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
    background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.cm-field option {
    background: #101722;
    color: var(--text);
}

.cm-field textarea {
    resize: vertical;
}

.cm-social-field {
    gap: 10px;
}

.cm-inline-field {
    margin-top: 2px;
}

.cm-follower-preview {
    color: rgba(246, 241, 231, 0.56);
    font-size: 0.8rem;
    line-height: 1.4;
}

.cm-social-list {
    display: grid;
    gap: 10px;
}

.cm-social-footer {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
}

.cm-social-head {
    display: grid;
    grid-template-columns: minmax(120px, 0.28fr) minmax(180px, 1fr) minmax(120px, 0.28fr) 42px;
    gap: 8px;
    color: rgba(246, 241, 231, 0.48);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-social-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.28fr) minmax(180px, 1fr) minmax(120px, 0.28fr) 42px;
    gap: 8px;
    align-items: center;
}

.cm-social-row input {
    margin: 0;
}

.cm-social-add,
.cm-social-remove {
    border: 1px solid rgba(217, 181, 107, 0.22);
    background: rgba(217, 181, 107, 0.08);
    color: var(--gold-soft);
    cursor: pointer;
    font-weight: 800;
}

.cm-social-add {
    justify-self: start;
    border-radius: 999px;
    padding: 10px 13px;
}

.cm-social-add:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.cm-social-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.2rem;
}

.cm-social-remove[hidden] {
    display: none;
}

.cm-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cm-chip {
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.cm-chip.is-active {
    background: rgba(217, 181, 107, 0.16);
    color: #fdecc2;
}

.cm-board__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.cm-idea-list {
    display: grid;
    gap: 12px;
}

.cm-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.cm-action-card {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    border-radius: 22px;
    padding: 18px;
}

.cm-action-card h3,
.cm-section__subhead h3,
.cm-completed-card h4 {
    margin: 0 0 12px;
    font-family: "Space Grotesk", sans-serif;
}

.cm-two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cm-access-categories {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
    gap: 12px;
    align-items: start;
}

.cm-category-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cm-category-checks label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    padding: 9px 11px;
    color: var(--muted);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.cm-category-checks input {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
}

.cm-category-checks label:has(input:checked) {
    border-color: rgba(217,181,107,.62);
    background: rgba(217,181,107,.14);
    color: var(--text);
}

.cm-section__subhead {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin: 26px 0 14px;
}

.cm-completed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cm-completed-card {
    border-radius: 20px;
    padding: 18px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.cm-completed-card .cm-link-row {
    margin-top: 12px;
}

.cm-idea-card {
    border-radius: 22px;
    padding: 18px;
}

.cm-idea-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.cm-idea-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.cm-idea-card__meta span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.035);
}

.cm-apply-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.cm-apply-form textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    resize: vertical;
}

.cm-apply-note {
    margin-top: 14px;
    border-radius: 16px;
    border: 1px solid rgba(217, 181, 107, 0.28);
    background: rgba(217, 181, 107, 0.1);
    color: var(--gold);
    padding: 10px 12px;
    font-weight: 800;
}

.cm-access-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    border-radius: 26px;
    padding: 18px;
}

.cm-form {
    display: grid;
    gap: 12px;
}

.cm-form-section-title {
    margin-top: 6px;
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cm-form__note {
    margin: 0;
    font-size: 0.92rem;
}

.cm-consent-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(217,181,107,.24);
    border-radius: 18px;
    background: rgba(217,181,107,.08);
    padding: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.cm-consent-box input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex: 0 0 auto;
}

.cm-consent-box a {
    color: var(--gold-soft);
    font-weight: 800;
    text-decoration: none;
}

.cm-process {
    border-radius: 22px;
    padding: 18px;
}

.cm-process h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.cm-process ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.cm-closing {
    border-radius: 26px;
    padding: 22px;
}

.cm-closing h2 {
    font-size: 2.2rem;
    margin-top: 8px;
    margin-bottom: 10px;
}

@media (max-width: 980px) {
    .cm-hero__grid,
    .cm-section__head,
    .cm-board,
    .cm-access-grid {
        grid-template-columns: 1fr;
    }

    .cm-card-grid {
        grid-template-columns: 1fr;
    }

    .cm-action-grid,
    .cm-completed-grid,
    .cm-flow-grid,
    .cm-philosophy-grid,
    .cm-faq-list,
    .cm-two-cols,
    .cm-access-categories {
        grid-template-columns: 1fr;
    }

    .cm-board__filters {
        position: static;
    }
}

@media (max-width: 720px) {
    .cm-wrap {
        width: min(100% - 20px, 1140px);
    }

    .cm-header__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 0;
    }

    .cm-header__actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cm-lang-switch,
    .cm-session-pill,
    .cm-header__actions .cm-button {
        width: 100%;
        box-sizing: border-box;
    }

    .cm-lang-switch {
        justify-content: center;
    }

    .cm-session-pill {
        justify-content: center;
        max-width: none;
    }

    .cm-brand__image--full {
        display: none;
    }

    .cm-brand__image--icon {
        display: block;
        height: 50px;
    }

    .cm-button {
        min-height: 44px;
        padding: 10px 12px;
        text-align: center;
    }

    .cm-hero {
        padding-top: 28px;
    }

    .cm-hero__title {
        font-size: 2.55rem;
        max-width: 100%;
    }

    .cm-section__head h2 {
        font-size: 2rem;
    }

    .cm-stats {
        grid-template-columns: 1fr;
    }

    .cm-board__meta {
        flex-direction: column;
    }

    .cm-toast {
        top: auto;
        right: 10px;
        bottom: 12px;
        left: 10px;
        width: auto;
    }

    .cm-social-row {
        grid-template-columns: 1fr;
    }

    .cm-social-head {
        display: none;
    }

    .cm-social-footer {
        grid-template-columns: 1fr;
    }

    .cm-social-remove {
        width: 100%;
    }
}
