﻿/* traders.css — Trader Service sign-up (EW2027). Mirrors investors.css. */

.tsu-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1rem 4rem;
    color: var(--text);
}

/* ---- header ---- */
.tsu-head {
    text-align: center;
    margin-bottom: 22px;
}

    .tsu-head h1 {
        font-size: 30px;
        font-weight: 800;
        margin: 0 0 10px;
        color: var(--text);
    }

.tsu-sub {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
}

/* ---- features ---- */
.tsu-features {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 16px 20px;
    margin-bottom: 22px;
}

.tsu-features-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--ew-gold, #DDB785);
}

.tsu-feature-list {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 28px;
}

    .tsu-feature-list li {
        margin: 0 0 6px;
        font-size: 14px;
        color: var(--text);
    }

@media (max-width: 620px) {
    .tsu-feature-list {
        columns: 1;
    }
}

/* ---- trial banner ---- */
.tsu-trial {
    border: 1px solid var(--ew-gold, #DDB785);
    border-radius: 12px;
    background: color-mix(in srgb, var(--ew-gold, #DDB785) 10%, transparent);
    padding: 16px 20px;
    margin-bottom: 22px;
    text-align: center;
}

    .tsu-trial h2 {
        margin: 0 0 6px;
        font-size: 20px;
        font-weight: 800;
        color: var(--text);
    }

    .tsu-trial p {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        color: var(--text-muted);
    }

/* ---- plans ---- */
.tsu-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .tsu-plans {
        grid-template-columns: 1fr;
    }
}

.tsu-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    text-align: center;
}

    .tsu-plan:hover {
        border-color: var(--ew-gold, #DDB785);
    }

    .tsu-plan.is-best {
        border-color: var(--ew-gold, #DDB785);
    }

    .tsu-plan:has(input:checked) {
        border-color: var(--ew-gold, #DDB785);
        box-shadow: 0 0 0 2px color-mix(in srgb, var(--ew-gold, #DDB785) 35%, transparent);
    }

.tsu-plan-flag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ew-gold, #DDB785);
    color: #050505;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.tsu-plan input {
    margin-bottom: 4px;
}

.tsu-plan-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.tsu-amt {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.tsu-per {
    font-size: 12px;
    color: var(--text-muted);
}

.tsu-plan-permo {
    font-size: 12px;
    color: var(--text);
    font-weight: 600;
}

.tsu-plan-save {
    font-size: 11px;
    font-weight: 700;
    color: var(--positive, #0F8A3B);
}

.tsu-savings-note {
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0 0 22px;
}

/* ---- cards (auth gate / payment / all-set) ---- */
.tsu-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 20px;
}

    .tsu-card h2 {
        margin: 0 0 6px;
        font-size: 19px;
        font-weight: 800;
    }

.tsu-card-sub {
    margin: 0 0 16px;
    font-size: 13.5px;
    color: var(--text-muted);
}

/* ---- fields ---- */
.tsu-field {
    margin-bottom: 12px;
}

.tsu-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 560px) {
    .tsu-field-row {
        grid-template-columns: 1fr;
    }
}

.tsu-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.tsu-field input,
.tsu-field select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}

.tsu-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    margin: 10px 0 16px;
    line-height: 1.45;
}

/* ---- buttons ---- */
.tsu-primary {
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 9px;
    background: var(--ew-gold, #DDB785);
    color: #050505;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

    .tsu-primary:hover {
        filter: brightness(1.05);
    }

.tsu-social {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.tsu-social-btn {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .tsu-social-btn:hover {
        border-color: var(--ew-gold, #DDB785);
    }

.tsu-or {
    position: relative;
    text-align: center;
    margin: 14px 0;
    color: var(--text-muted);
    font-size: 12px;
}

    .tsu-or::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        border-top: 1px solid var(--border);
    }

    .tsu-or span {
        position: relative;
        background: var(--surface);
        padding: 0 10px;
    }

.tsu-linkbtn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--ew-gold, #DDB785);
    cursor: pointer;
    text-decoration: underline;
}

.tsu-signin-line {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.tsu-login {
    margin-top: 16px;
}

/* ---- payment mount ---- */
.tsu-payment-mount {
    border: 1px dashed var(--border);
    border-radius: 9px;
    padding: 18px;
    text-align: center;
    margin: 6px 0 14px;
}

.tsu-mount-note {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-muted);
}

.tsu-fineprint {
    margin: 12px 0 0;
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.tsu-error {
    margin: 12px 0 0;
    padding: 9px 11px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--negative, #c62828) 12%, transparent);
    color: var(--negative, #c62828);
    font-size: 13px;
    font-weight: 600;
}

.tsu-allset p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

.is-hidden {
    display: none !important;
}

/* ---------- track-record chart ----------
   Sits above the pitch: it's the evidence, and asking someone to read the case
   before showing the record is the wrong order on a sign-up page. */
.tsu-perffig {
    margin: 0 0 22px;
}

.tsu-perfcap {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}

.tsu-perf {
    position: relative;
    width: 100%;
    min-height: 340px;
}

.tsu-perfnote {
    margin: 8px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--text-muted);
}

.tsu-widget-loading {
    padding: 40px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* the overlay classes come from the shared drawing code, which is styled on the A+
   page; repeated here scoped to the mount so nothing leaks into this page */
#tsuPerf .aplus-returns-wm {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34%;
    max-width: 220px;
    transform: translate(-50%, -50%);
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

#tsuPerf .aplus-returns-badge {
    display: none; /* the A+ mark belongs to the A+ strategy, not to Plays */
}

#tsuPerf .aplus-returns-legend {
    position: absolute;
    top: 10px;
    left: 58px;
    z-index: 2;
    display: flex;
    gap: 18px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    pointer-events: none;
}

#tsuPerf .arl-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#tsuPerf .arl-sw {
    display: inline-block;
    width: 18px;
    height: 3px;
    border-radius: 2px;
}

#tsuPerf .aplus-returns-stats {
    position: absolute;
    top: 78px;
    left: 58px;
    z-index: 2;
    min-width: 230px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    font-size: 13px;
    pointer-events: none;
}

#tsuPerf .ars-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 3px 0;
}

#tsuPerf .ars-compare {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid var(--border);
    font-weight: 800;
}

#tsuPerf .ars-lbl {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--text);
}

#tsuPerf .ars-sw {
    display: inline-block;
    width: 18px;
    height: 3px;
    border-radius: 2px;
}

#tsuPerf .ars-val {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

    #tsuPerf .ars-val.up {
        color: var(--positive, #0F8A3B);
    }

    #tsuPerf .ars-val.down {
        color: var(--negative, #c62828);
    }

@media (max-width: 620px) {
    #tsuPerf .aplus-returns-stats {
        display: none;
    }

    #tsuPerf .aplus-returns-legend {
        left: 12px;
    }
}

/* ---------- what's included ----------
   Replaces the two-column bullet list: the same tools shown on /trader, with the
   same icons, one line of copy each. */
.tsu-services {
    margin-bottom: 22px;
}

.tsu-svc-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--text);
}

.tsu-svc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tsu-svc a {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 11px;
    align-items: center;
    padding: 9px 9px 9px 5px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}

    .tsu-svc a:hover {
        background: color-mix(in srgb, var(--ew-gold, #DDB785) 12%, transparent);
    }

    .tsu-svc a:focus-visible {
        outline: 2px solid var(--ew-gold, #DDB785);
        outline-offset: 2px;
    }

.tsu-svc-icon {
    grid-row: 1 / span 2;
    width: 24px;
    height: 24px;
    color: var(--ew-gold, #DDB785);
}

    /* the icons are styled on /trader by that page's stylesheet; the fill rule has
       to travel with them, and stroke-drawn marks must keep fill="none" */
    /* Single-colour marks take the gold. The Plays mark is excluded: it carries its
       own four brand colours, and currentColor would flatten the thing that makes it
       recognisable. Same :not() pattern the /trader stylesheet uses. */
    .tsu-svc-icon:not(.tsu-svc-icon-combo):not(.tsu-svc-icon-wheel) path,
    .tsu-svc-icon:not(.tsu-svc-icon-combo):not(.tsu-svc-icon-wheel) polygon,
    .tsu-svc-icon:not(.tsu-svc-icon-combo):not(.tsu-svc-icon-wheel) rect,
    .tsu-svc-icon:not(.tsu-svc-icon-combo):not(.tsu-svc-icon-wheel) circle {
        fill: currentColor;
    }

.tsu-svc-icon-combo .ciricon {
    fill: #ffffff;
}

/* the life-cycle wheel carries four baked quadrant colours, like the Plays mark */


.tsu-svc-icon:not(.tsu-svc-icon-combo) [fill="none"],
.tsu-svc-icon:not(.tsu-svc-icon-combo) [fill="none"] path,
.tsu-svc-icon:not(.tsu-svc-icon-combo) [fill="none"] circle,
.tsu-svc-icon:not(.tsu-svc-icon-combo) [fill="none"] rect {
    fill: none;
}

.tsu-svc-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.tsu-svc-note {
    font-size: 12px;
    line-height: 1.35;
    color: var(--text-muted);
}

@media (max-width: 520px) {
    .tsu-svc-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- STATE 3: the welcome page ----------
   None of this was styled, so each card's SVG rendered at its intrinsic size —
   hundreds of pixels tall — and pushed the rest of the page apart. The icon box
   is what actually fixes it: an inline SVG with no width/height fills whatever
   space it is given. */
.tsu-welcome {
    text-align: center;
}

    .tsu-welcome h1 {
        font-size: 26px;
        font-weight: 800;
        margin: 0 0 6px;
        color: var(--text);
    }

.tsu-welcome-sub {
    margin: 0 0 18px;
    font-size: 15px;
    color: var(--text-muted);
}

.tsu-welcome-intro {
    max-width: 760px;
    margin: 0 auto 26px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text);
    text-align: left;
}

    .tsu-welcome-intro a {
        color: var(--ew-gold, #DDB785);
        font-weight: 700;
    }

.tsu-welcards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    text-align: left;
}

.tsu-welcard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

    .tsu-welcard:hover {
        border-color: var(--ew-gold, #DDB785);
        transform: translateY(-2px);
    }

    .tsu-welcard:focus-visible {
        outline: 2px solid var(--ew-gold, #DDB785);
        outline-offset: 3px;
    }

.tsu-welcard-step {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

/* the box that bounds the icon — without it the SVG has no size to fill */
.tsu-welcard-icon {
    display: block;
    width: 52px;
    height: 52px;
    color: var(--ew-gold, #DDB785);
}

    .tsu-welcard-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

        /* single-colour marks take the gold; the Plays combo keeps its own */
        .tsu-welcard-icon svg:not(.tradercombcir) path,
        .tsu-welcard-icon svg:not(.tradercombcir) polygon,
        .tsu-welcard-icon svg:not(.tradercombcir) rect,
        .tsu-welcard-icon svg:not(.tradercombcir) circle {
            fill: currentColor;
        }

        .tsu-welcard-icon svg:not(.tradercombcir) [fill="none"],
        .tsu-welcard-icon svg:not(.tradercombcir) [fill="none"] path,
        .tsu-welcard-icon svg:not(.tradercombcir) [fill="none"] circle {
            fill: none;
        }

    .tsu-welcard-icon .ciricon {
        fill: #ffffff;
    }

.tsu-welcard-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
}

    .tsu-welcard-title sup {
        font-size: 0.6em;
    }
