:root {
    color-scheme: dark;
    --navy-950: #08101f;
    --navy-900: #101a2f;
    --navy-800: #182642;
    --gold: #f2c94c;
    --gold-light: #ffe48a;
    --text: #f8fafc;
    --muted: #c7d0df;
    --line: rgba(242, 201, 76, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--navy-950);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient( circle at 50% 0%, rgba(40, 75, 127, 0.38), transparent 34rem ), linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

a {
    color: inherit;
}

.page-shell {
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
    padding: 3px 0 2rem;
}

/* Header */

.hero {
    display: grid;
    grid-template-areas:
        "logo title"
        "intro intro";
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0.75rem clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
    padding: 0 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

    .hero h1 {
        margin: 0 0 0.35rem;
        font-size: clamp(1.4rem, 2vw, 1.75rem);
        line-height: 1.1;
    }

    .hero h2 {
        margin: 0;
        color: var(--muted);
        font-size: clamp(1rem, 1.5vw, 1.25rem);
        font-weight: 600;
        line-height: 1.25;
    }


.brand-logo {
    grid-area: logo;
    display: block;
    width: 150px;
    height: 100px;
    margin: 0;
    object-fit: contain;
}

.hero-copy {
    grid-area: title;
    align-self: center;
    text-align: left;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: clamp(1.65rem, 2.6vw, 2.1rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
}

h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.15;
}

p {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.hero-intro {
    grid-area: intro;
    max-width: none;
    margin: 0;
    text-align: left;
}

@media (min-width: 1200px) {
    h1 {
        white-space: nowrap;
    }
}

/* Main content cards */

.content-card {
    margin: 1.5rem 0;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
    background: rgba(24, 38, 66, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

    .content-card p a {
        color: var(--gold-light);
        font-weight: 700;
        text-decoration-thickness: 1px;
        text-underline-offset: 0.18em;
    }

        .content-card p a:hover,
        .content-card p a:focus-visible {
            color: var(--gold);
        }

.intro-card {
    padding-inline: clamp(1.5rem, 7vw, 4.5rem);
    background-image: linear-gradient( rgba(24, 38, 66, 0.88), rgba(24, 38, 66, 0.94) ), url("../images/trader-success-vip-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover, min(90%, 760px) auto;
}


.intro-lead {
    margin-inline: auto;
    color: var(--text);
    font-size: clamp(1.05rem, 2vw, 1.18rem);
    text-align: left;
}

.discovery-hook {
    max-width: 850px;
    margin: 1rem auto 0;
    text-align: left;
}

    .discovery-hook strong {
        color: var(--gold-light);
    }

.section-rule {
    width: min(100%, 180px);
    margin: 0.8rem auto 1rem;
    color: var(--gold);
    border: 0;
    border-top: 1px solid var(--line);
    opacity: 1;
}

/* Intro benefits */

.benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

    .benefits li {
        padding: 0.65rem 0.9rem;
        color: var(--text);
        background: rgba(8, 16, 31, 0.65);
        border: 1px solid rgba(242, 201, 76, 0.28);
        border-radius: 999px;
        font-weight: 700;
    }

        .benefits li::before {
            content: "✓";
            margin-right: 0.45rem;
            color: var(--gold);
        }

/* Section headings */

.section-heading {
    max-width: 100%;
    margin: 0 auto 1.5rem;
    text-align: center;
}

    .section-heading > p:last-child {
        margin-bottom: 0;
    }

.eyebrow {
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Services */

.services-section {
    padding: 2.25rem 0 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    padding: 1.35rem;
    background: rgba(24, 38, 66, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 3px solid var(--gold);
    border-radius: 0.75rem;
}

    .service-card h3 {
        margin: 0 0 0.55rem;
        color: var(--text);
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .service-card p {
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.55;
    }

.service-card-featured {
    grid-column: 1 / -1;
    background: linear-gradient( 135deg, rgba(44, 58, 88, 0.96), rgba(24, 38, 66, 0.78) );
    border-color: rgba(242, 201, 76, 0.32);
}

.service-label {
    margin-bottom: 0.4rem !important;
    color: var(--gold) !important;
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3 !important;
    text-transform: uppercase;
}

/* CTA buttons */

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0;
}

.intro-action {
    margin-top: 1.25rem;
}

.services-action {
    margin-top: 1.5rem;
}

.primary-action {
    display: inline-flex;
    min-height: 48px;
    padding: 0.8rem 1.2rem;
    align-items: center;
    justify-content: center;
    color: var(--navy-950);
    background: var(--gold);
    border-radius: 0.55rem;
    box-shadow: 0 0.75rem 2rem rgba(242, 201, 76, 0.18);
    font-weight: 800;
    text-decoration: none;
}

    .primary-action:hover,
    .primary-action:focus-visible {
        background: var(--gold-light);
    }

/* ATS affiliation */

.affiliation-card {
    margin: 1.5rem 0;
    padding: clamp(1.25rem, 4vw, 2rem);
    background: rgba(16, 26, 47, 0.68);
    box-shadow: none;
}

    .affiliation-card p {
        max-width: 930px;
        margin-inline: auto;
    }

.ecosystem-listing {
    margin-top: 1.2rem;
}

.vendor-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-top: 1.25rem;
}

    .vendor-links a {
        color: var(--text);
        font-size: 0.95rem;
        font-weight: 700;
        text-decoration: none;
    }

        .vendor-links a:hover,
        .vendor-links a:focus-visible {
            text-decoration: underline;
            text-underline-offset: 0.2em;
        }

/* NinjaTrader banner */

.partner-banner {
    display: flex;
    width: min(100%, 728px);
    margin: 1rem !important;
    margin: 1.5rem auto 1rem auto !important;
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(8, 16, 31, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.65rem;
}

    .partner-banner a,
    .partner-banner img {
        display: block;
    }

    .partner-banner img {
        width: 100%;
        height: auto;
    }

/* Footer */

.site-footer {
    padding: 1rem 1rem 1rem;
    text-align: center;
    border-top: 1px solid var(--line);
}

.operator-disclosure {
    margin: 1.5rem 0 0;
    color: var(--text);
    font-size: 0.95rem;
}

.legal-disclosures {
    max-width: 100%;
    margin: 1.25rem auto 0;
    text-align: center;
    background: rgba(8, 16, 31, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.65rem;
}

    .legal-disclosures summary {
        padding: 0.9rem 1rem;
        color: var(--gold-light);
        cursor: pointer;
        font-size: 0.95rem;
        font-weight: 800;
    }

.legal-content {
    padding: 0 1rem 1rem;
    text-align: left;
}

    .legal-content p {
        margin-bottom: 0.75rem;
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .legal-content .copyright {
        margin-bottom: 0;
        color: var(--text);
    }

/* Tablet and mobile */

@media (max-width: 760px) {
    .hero {
        grid-template-areas:
            "logo"
            "title"
            "intro";
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }

    .brand-logo {
        width: 150px;
        height: 100px;
        margin-inline: auto;
    }

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

    .hero-intro {
        margin-inline: auto;
    }
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 1rem, 860px);
        padding-top: 3px;
    }

    .hero {
        padding: 0 0.5rem 1.5rem;
    }

    .brand-logo {
        margin-bottom: 0;
    }

    .benefits {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 0;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;

    }

    .intro-action,
    .services-action {
        margin-top: 1rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card-featured {
        grid-column: auto;
    }

    .affiliation-card {
        margin-top: 1rem;
    }
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
    .primary-action {
        transition: background-color 160ms ease, transform 160ms ease;
    }

        .primary-action:hover {
            transform: translateY(-1px);
        }
}

.actions {
    margin: 1rem;
}

.services-action {
    margin-top: 1.5rem !important;
}

.affiliation-card {
    
    background: linear-gradient( rgba(8, 16, 31, 0.82), rgba(8, 16, 31, 0.92) ), url("../images/ats-background.png") center center / cover no-repeat;
    border: 1px solid rgba(242, 201, 76, 0.32);
}



@media (max-width: 560px) {
    .intro-card {
        background-size: cover, 260px auto;
    }
}
