/**
 * The public contact page.
 *
 * Borrows the community palette so the two public sections feel like one site,
 * with its own tokens here so a change to one cannot surprise the other.
 */

.ct-page {
    --ct-bg: #08090d;
    --ct-card: #12131a;
    --ct-card-2: #171923;
    --ct-line: rgba(255, 255, 255, .075);
    --ct-line-lit: rgba(255, 255, 255, .16);
    --ct-text: #eef0f4;
    --ct-soft: #98a1b0;
    --ct-dim: #67707f;
    --ct-gold: #facc15;
    --ct-gold-dim: rgba(250, 204, 21, .12);
    --ct-radius: 16px;
    background: var(--ct-bg);
    color: var(--ct-text);
}

.ct-page .container { position: relative; z-index: 1; }

/* ── Hero ─────────────────────────────────────────────── */

.ct-hero {
    position: relative;
    padding: 58px 0 46px;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 12% 0%, rgba(168, 85, 247, .20) 0%, transparent 55%),
        radial-gradient(110% 130% at 88% 10%, rgba(236, 72, 153, .16) 0%, transparent 55%),
        linear-gradient(180deg, #0d0f16 0%, var(--ct-bg) 100%);
    border-bottom: 1px solid var(--ct-line);
}
.ct-hero__glow {
    position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 680px; height: 680px; pointer-events: none;
    background: radial-gradient(circle, rgba(250, 204, 21, .1) 0%, transparent 62%);
}
.ct-hero__inner { max-width: 720px; }
.ct-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; margin-bottom: 16px;
    border-radius: 50px;
    background: var(--ct-gold-dim);
    border: 1px solid rgba(250, 204, 21, .3);
    color: var(--ct-gold);
    font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
}
.ct-hero__title {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900; line-height: 1.08; letter-spacing: -1px;
    color: #fff;
}
.ct-hero__title span {
    background: linear-gradient(135deg, #facc15, #f472b6 60%, #a855f7);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ct-hero__sub {
    margin: 0 0 24px;
    font-size: 16px; line-height: 1.75; color: var(--ct-soft);
    max-width: 620px;
}
.ct-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-pill {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #0a0800;
    font-size: 14px; font-weight: 800;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}
.ct-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(250, 204, 21, .3);
    color: #0a0800; text-decoration: none;
}
.ct-pill--ghost {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--ct-line-lit);
    color: var(--ct-text);
}
.ct-pill--ghost:hover { box-shadow: none; color: var(--ct-gold); border-color: var(--ct-gold); }

/* ── Section heading ──────────────────────────────────── */

.ct-sec-head { max-width: 620px; margin: 0 0 24px; }
.ct-sec-head__tag {
    display: inline-block; margin-bottom: 10px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--ct-gold);
}
.ct-sec-head h2 {
    margin: 0 0 8px;
    font-size: clamp(23px, 3.4vw, 34px); font-weight: 900; letter-spacing: -.6px;
    color: #fff;
}
.ct-sec-head h2 span { color: var(--ct-gold); }
.ct-sec-head p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ct-soft); }

/* ── FAQ ──────────────────────────────────────────────── */

/* The FAQ closes the page now, so it carries the bottom margin the form used to. */
.ct-faq { padding: 10px 0 66px; }
.ct-faq__tools {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
    margin-bottom: 16px;
}
.ct-faq__tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.ct-tab {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 15px;
    border: 1px solid var(--ct-line);
    border-radius: 50px;
    background: rgba(255, 255, 255, .03);
    color: var(--ct-soft);
    font: inherit; font-size: 13px; font-weight: 700;
    cursor: pointer;
    transition: background .16s, color .16s, border-color .16s;
}
.ct-tab span {
    padding: 1px 7px; border-radius: 50px;
    background: rgba(255, 255, 255, .07);
    font-size: 11px; font-weight: 800;
}
.ct-tab:hover { color: var(--ct-text); border-color: var(--ct-line-lit); }
.ct-tab.is-on {
    background: var(--ct-gold); border-color: var(--ct-gold); color: #0a0800;
}
.ct-tab.is-on span { background: rgba(10, 8, 0, .17); color: #0a0800; }

.ct-faq__search {
    position: relative;
    display: flex; align-items: center;
    min-width: 244px; flex: 0 1 300px;
}
.ct-faq__search > i {
    position: absolute; left: 14px;
    font-size: 12.5px; color: var(--ct-dim); pointer-events: none;
}
.ct-faq__search input {
    width: 100%;
    padding: 10px 38px 10px 36px;
    border: 1px solid var(--ct-line);
    border-radius: 50px;
    background: var(--ct-card);
    color: var(--ct-text);
    font-size: 13.5px;
}
.ct-faq__search input:focus {
    outline: none; border-color: var(--ct-gold);
    box-shadow: 0 0 0 3px var(--ct-gold-dim);
}
.ct-faq__search button {
    position: absolute; right: 8px;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--ct-soft);
    font-size: 10px; cursor: pointer;
}
.ct-faq__search button[hidden] { display: none; }

.ct-faq__list { display: grid; gap: 9px; }
.ct-q {
    border: 1px solid var(--ct-line);
    border-radius: 13px;
    background: var(--ct-card);
    overflow: hidden;
    transition: border-color .18s, background .18s;
}
.ct-q[hidden] { display: none; }
.ct-q:hover { border-color: var(--ct-line-lit); }
.ct-q.is-open { border-color: rgba(250, 204, 21, .34); background: var(--ct-card-2); }
.ct-q h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.ct-q__btn {
    display: flex; align-items: center; gap: 12px;
    width: 100%; padding: 16px 18px;
    border: 0; background: none;
    color: var(--ct-text);
    font: inherit; text-align: left;
    cursor: pointer;
}
.ct-q__cat {
    flex-shrink: 0;
    padding: 3px 9px; border-radius: 50px;
    background: rgba(255, 255, 255, .06);
    color: var(--ct-dim);
    font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
}
.ct-q__text { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.ct-q__arrow {
    flex-shrink: 0; font-size: 11px; color: var(--ct-dim);
    transition: transform .22s, color .22s;
}
.ct-q.is-open .ct-q__arrow { transform: rotate(180deg); color: var(--ct-gold); }
.ct-q.is-open .ct-q__cat { background: var(--ct-gold-dim); color: var(--ct-gold); }
.ct-q__a { padding: 0 18px 17px; }
.ct-q__a[hidden] { display: none; }
.ct-q__a p {
    margin: 0; padding-top: 3px;
    font-size: 14.5px; line-height: 1.8; color: var(--ct-soft);
    border-top: 1px solid var(--ct-line);
    padding-top: 14px;
}
.ct-faq__none {
    margin: 16px 0 0; padding: 22px;
    border: 1px dashed var(--ct-line-lit); border-radius: 13px;
    text-align: center; font-size: 14px; color: var(--ct-soft);
}
.ct-faq__none[hidden] { display: none; }
.ct-faq__none i { margin-right: 8px; color: var(--ct-dim); }
.ct-faq__none a { color: var(--ct-gold); font-weight: 700; }

/* ── Form ─────────────────────────────────────────────── */

.ct-form-sec { padding: 38px 0 30px; }
.ct-form-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 26px;
    align-items: start;
}
.ct-aside { padding-top: 6px; }
.ct-aside__tag {
    display: inline-block; margin-bottom: 10px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--ct-gold);
}
.ct-aside h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; letter-spacing: -.6px; color: #fff;
}
.ct-aside p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.8; color: var(--ct-soft); }
.ct-aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-aside__list li {
    display: flex; gap: 11px; align-items: flex-start;
    font-size: 13.5px; line-height: 1.65; color: var(--ct-soft);
}
.ct-aside__list i { flex-shrink: 0; margin-top: 3px; font-size: 13px; color: var(--ct-gold); }
.ct-aside__list strong { color: var(--ct-text); }

.ct-card {
    padding: 26px;
    border-radius: var(--ct-radius);
    background: var(--ct-card);
    border: 1px solid var(--ct-line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.ct-flash {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 13px 15px; margin-bottom: 18px;
    border-radius: 11px;
    font-size: 13.5px; line-height: 1.6;
}
.ct-flash i { flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.ct-flash--ok {
    background: rgba(34, 197, 94, .11); border: 1px solid rgba(34, 197, 94, .32); color: #86efac;
}
.ct-flash--err {
    background: rgba(245, 158, 11, .11); border: 1px solid rgba(245, 158, 11, .34); color: #fcd34d;
}

.ct-form { display: grid; gap: 15px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ct-field { display: grid; gap: 7px; position: relative; }
.ct-field label {
    font-size: 12.5px; font-weight: 700; color: var(--ct-soft);
    letter-spacing: .2px;
}
.ct-field label span { color: #f87171; }
.ct-field label small { font-weight: 600; color: var(--ct-dim); font-size: 11.5px; }
.ct-field input,
.ct-field textarea,
.ct-select select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ct-line-lit);
    border-radius: 11px;
    background: rgba(255, 255, 255, .03);
    color: var(--ct-text);
    font: inherit; font-size: 14px;
    transition: border-color .16s, box-shadow .16s, background .16s;
}
.ct-field textarea { resize: vertical; min-height: 132px; line-height: 1.7; }
.ct-field input:focus,
.ct-field textarea:focus,
.ct-select select:focus {
    outline: none;
    border-color: var(--ct-gold);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 3px var(--ct-gold-dim);
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--ct-dim); }

/* Chrome paints autofilled fields with its own opaque yellow, which on a dark
   form makes the field unreadable. There is no property to switch it off, so the
   colour is pushed in through an inset shadow and the text colour is forced. */
.ct-field input:-webkit-autofill,
.ct-field input:-webkit-autofill:hover,
.ct-field input:-webkit-autofill:focus,
.ct-field textarea:-webkit-autofill,
.ct-select select:-webkit-autofill {
    -webkit-text-fill-color: var(--ct-text);
    -webkit-box-shadow: 0 0 0 60px #191b24 inset;
    box-shadow: 0 0 0 60px #191b24 inset;
    caret-color: var(--ct-text);
    transition: background-color 9999s ease-out 0s;
}

.ct-select { position: relative; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.ct-select > i {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    font-size: 11px; color: var(--ct-dim); pointer-events: none;
}
.ct-select option { background: #12131a; color: var(--ct-text); }

.ct-count {
    position: absolute; right: 2px; bottom: -17px;
    font-size: 11px; color: var(--ct-dim);
}

.ct-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 6px; padding: 14px 26px;
    border: 0; border-radius: 50px;
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #0a0800;
    font: inherit; font-size: 14.5px; font-weight: 800;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
}
.ct-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(250, 204, 21, .3); }
.ct-fineprint { margin: 0; font-size: 12px; line-height: 1.65; color: var(--ct-dim); }

/* Off-screen rather than display:none — some bots skip hidden fields. */
.ct-honey {
    position: absolute !important;
    left: -9999px !important; top: auto !important;
    width: 1px !important; height: 1px !important; overflow: hidden !important;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 991px) {
    .ct-form-wrap { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 767px) {
    .ct-hero { padding: 38px 0 32px; }
    .ct-faq { padding: 6px 0 44px; }
    .ct-faq__tools { flex-direction: column; align-items: stretch; }
    .ct-faq__search { flex: 1 1 auto; }
    .ct-faq__tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .ct-tab { flex-shrink: 0; }
    .ct-row { grid-template-columns: 1fr; }
    .ct-card { padding: 18px; border-radius: 13px; }
    .ct-form-sec { padding: 26px 0 20px; }
    /* The category chip inside a question eats the width a phone needs for
       the question itself. */
    .ct-q__cat { display: none; }
    .ct-q__btn { padding: 14px 15px; gap: 10px; }
    .ct-q__text { font-size: 14px; }
    .ct-q__a { padding: 0 15px 15px; }
    .ct-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-pill, .ct-submit, .ct-q__arrow { transition: none; }
    .ct-pill:hover, .ct-submit:hover { transform: none; }
}
