:root {
            --ua-black: #050505;
            --ua-dark: #111111;
            --ua-card: #171717;
            --ua-card-hover: #1d1d1d;
            --ua-white: #ffffff;
            --ua-text: #dddddd;
            --ua-muted: #929292;
            --ua-border: #292929;
            --ua-red: #E50914;
            --ua-red-dark: #b90710;
            --max-width: 1180px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background: var(--ua-black);
            color: var(--ua-white);
            font-family: Arial, Helvetica, sans-serif;
            line-height: 1.6;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }

        .container {
            width: min(var(--max-width), calc(100% - 40px));
            margin: 0 auto;
        }

        .section {
            padding: 96px 0;
        }

        .section-dark {
            background: var(--ua-dark);
        }

        .eyebrow {
            color: var(--ua-red);
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .section-title {
            margin: 12px 0 18px;
            font-size: clamp(2.1rem, 5vw, 3.6rem);
            line-height: 1.05;
            letter-spacing: -0.04em;
        }

        .section-copy {
            max-width: 720px;
            margin: 0;
            color: var(--ua-text);
            font-size: 1.08rem;
        }

        /* HEADER */

        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(5, 5, 5, 0.92);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .nav {
            min-height: 76px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 900;
            letter-spacing: -0.03em;
            font-size: 1.2rem;
        }

        .brand-logo {
            width: 54px;
            height: 40px;
            object-fit: contain;
            flex: 0 0 auto;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 28px;
        }

        nav a {
            color: #cfcfcf;
            font-size: 0.96rem;
            transition: 0.2s ease;
        }

        nav a:hover {
            color: white;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 46px;
            padding: 0 22px;
            border-radius: 999px;
            font-weight: 800;
            transition: 0.2s ease;
            border: 1px solid transparent;
        }

        .button-primary {
            background: var(--ua-red);
            color: white;
        }

        .button-primary:hover {
            background: #ff111d;
            transform: translateY(-1px);
        }

        .button-secondary {
            border-color: #383838;
            background: #111111;
            color: white;
        }

        .button-secondary:hover {
            background: #191919;
            border-color: #505050;
        }

        /* HERO */

        .hero {
            min-height: 760px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid #151515;
            isolation: isolate;

            /* Fallback if the video cannot load or play. */
            background:
                var(--ua-black)
                url("/assets/ua-hero.jpg")
                center center / cover
                no-repeat;
        }

        .hero-video {
            position: absolute;
            inset: 0;
            z-index: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            pointer-events: none;
        }

        .hero-video-overlay {
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            background:
                linear-gradient(
                    90deg,
                    rgba(5, 5, 5, 0.90) 0%,
                    rgba(5, 5, 5, 0.79) 38%,
                    rgba(5, 5, 5, 0.52) 68%,
                    rgba(5, 5, 5, 0.38) 100%
                ),
                linear-gradient(
                    180deg,
                    rgba(5, 5, 5, 0.12) 0%,
                    rgba(5, 5, 5, 0.05) 45%,
                    rgba(5, 5, 5, 0.28) 100%
                );
        }

        .hero .container {
            position: relative;
            z-index: 2;
        }

        .hero-logo-floating {
            position: absolute;
            top: 58px;
            left: 24px;
            z-index: 3;
            width: fit-content;
        }

        .hero-logo-floating::before {
            content: "";
            position: absolute;
            inset: -18px;
            border-radius: 20px;
            background:
                radial-gradient(
                    circle at 50% 50%,
                    rgba(229,9,20,0.18),
                    rgba(229,9,20,0.03) 55%,
                    transparent 72%
                );
            filter: blur(10px);
            z-index: -1;
        }

        .hero-logo {
            width: clamp(100px, 11vw, 138px);
            height: auto;
            display: block;
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            max-width: 900px;
            padding: 76px 0 72px;

            /* Pull the content up so the red accent / eyebrow
               begins level with the top of the floating UA logo. */
            transform: translateY(-88px);
        }

        .hero-accent {
            width: 82px;
            height: 6px;
            margin-bottom: 8px;
            background: var(--ua-red);
        }

        .hero h1 {
            margin: 0;
            font-size: clamp(3.4rem, 9vw, 7rem);
            line-height: 0.92;
            letter-spacing: -0.065em;
            max-width: 920px;
        }

        .hero h1 span {
            display: block;
            color: var(--ua-red);
        }

        .hero-mission {
            max-width: 790px;
            margin: 20px 0 0;
            color: var(--ua-text);
            font-size: clamp(1.2rem, 2.4vw, 1.55rem);
            line-height: 1.55;
        }

        .hero-supporting {
            margin-top: 10px;
            color: var(--ua-muted);
            font-size: 1.02rem;
            max-width: 670px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 24px;
        }

        /* ABOUT */

        .about-grid {
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 54px;
            align-items: center;
        }

        .principles {
            display: grid;
            gap: 16px;
        }

        .principle {
            padding: 24px;
            background: var(--ua-card);
            border: 1px solid var(--ua-border);
            border-radius: 18px;
        }

        .principle strong {
            display: block;
            margin-bottom: 7px;
            font-size: 1.08rem;
        }

        .principle p {
            margin: 0;
            color: var(--ua-muted);
        }

        /* ECOSYSTEM OVERVIEW */

        .ecosystem-section {
            padding: 72px 0;
        }

        .ecosystem-heading-row {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 40px;
            align-items: end;
        }

        .ecosystem-heading-copy {
            text-align: right;
            padding-bottom: 8px;
        }

        .ecosystem-heading-copy .section-copy {
            max-width: 420px;
        }

        .ecosystem-text-link {
            display: inline-block;
            margin-top: 12px;
            color: var(--ua-white);
            font-size: 0.94rem;
            font-weight: 800;
            transition: 0.2s ease;
        }

        .ecosystem-text-link:hover {
            color: var(--ua-red);
            transform: translateX(3px);
        }

        .ecosystem-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            margin-top: 34px;
        }

        .ecosystem-card {
            min-height: 210px;
            padding: 24px;
            border-radius: 22px;
            border: 1px solid var(--ua-border);
            background:
                linear-gradient(
                    145deg,
                    #171717,
                    #101010
                );
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: 0.22s ease;
            position: relative;
            overflow: hidden;
        }

        .ecosystem-card::after {
            content: "";
            position: absolute;
            width: 180px;
            height: 180px;
            right: -80px;
            bottom: -80px;
            border-radius: 50%;
            background:
                radial-gradient(
                    circle,
                    rgba(229, 9, 20, 0.12),
                    transparent 68%
                );
            opacity: 0;
            transition: 0.22s ease;
        }

        .ecosystem-card:hover {
            transform: translateY(-3px);
            border-color: #3a3a3a;
            background:
                linear-gradient(
                    145deg,
                    #1b1b1b,
                    #121212
                );
        }

        .ecosystem-card:hover::after {
            opacity: 1;
        }

        .ecosystem-card > * {
            position: relative;
            z-index: 2;
        }

        .ecosystem-label {
            color: var(--ua-red);
            font-size: 0.74rem;
            font-weight: 900;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        .ecosystem-card h3 {
            margin: 14px 0 8px;
            font-size: 1.45rem;
            line-height: 1.08;
            letter-spacing: -0.035em;
        }

        .ecosystem-card p {
            margin: 0;
            color: var(--ua-muted);
            font-size: 0.94rem;
        }

        .ecosystem-apps {
            margin-top: 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .app-pill {
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 0 10px;
            border-radius: 999px;
            background: rgba(255,255,255,0.04);
            border: 1px solid #303030;
            color: #d4d4d4;
            font-size: 0.76rem;
            font-weight: 700;
        }

        /* UA+ */

        .plus-wrap {
            padding: 48px;
            border-radius: 26px;
            border: 1px solid #2a2a2a;
            background:
                linear-gradient(
                    130deg,
                    #101010 0%,
                    #111111 56%,
                    #19080a 100%
                );
            position: relative;
            overflow: hidden;
        }

        .plus-wrap::after {
            content: "+";
            position: absolute;
            right: 34px;
            top: -40px;
            font-size: 14rem;
            line-height: 1;
            font-weight: 900;
            color: rgba(229, 9, 20, 0.08);
        }

        .plus-content {
            position: relative;
            z-index: 1;
            max-width: 720px;
        }

        .plus-content h2 {
            margin: 10px 0 18px;
            font-size: clamp(2.6rem, 6vw, 4.8rem);
            letter-spacing: -0.055em;
            line-height: 1;
        }

        .plus-content p {
            margin: 0 0 28px;
            color: var(--ua-text);
            font-size: 1.08rem;
        }

        /* FAMILY */

        .family-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 26px;
            margin-top: 46px;
        }

        .family-card {
            padding: 32px;
            border-radius: 20px;
            border: 1px solid var(--ua-border);
            background: #0d0d0d;
        }

        .family-card h3 {
            margin: 0 0 12px;
            font-size: 1.45rem;
        }

        .family-card p {
            margin: 0;
            color: var(--ua-muted);
        }

        /* ACCOUNT */

        .account-panel {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 34px;
            padding: 44px;
            border-radius: 24px;
            border: 1px solid var(--ua-border);
            background: var(--ua-card);
        }

        .account-panel h2 {
            margin: 0 0 12px;
            font-size: clamp(2rem, 5vw, 3.1rem);
            letter-spacing: -0.04em;
        }

        .account-panel p {
            max-width: 690px;
            margin: 0;
            color: var(--ua-text);
        }

        /* FOOTER */

        footer {
            padding: 46px 0;
            border-top: 1px solid #1d1d1d;
            background: #030303;
        }

        .footer-inner {
            display: flex;
            justify-content: space-between;
            gap: 30px;
            align-items: center;
        }

        .footer-brand-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .footer-logo {
            width: 48px;
            height: 36px;
            object-fit: contain;
        }

        .footer-brand {
            color: white;
            font-weight: 800;
        }

        .footer-copy {
            margin-top: 5px;
            color: #717171;
            font-size: 0.9rem;
        }

        .footer-links {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #8e8e8e;
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: white;
        }

        /* RESPONSIVE */

        @media (max-width: 980px) {
            nav {
                display: none;
            }

            .about-grid,
            .family-grid {
                grid-template-columns: 1fr;
            }

            .ecosystem-heading-row {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .ecosystem-heading-copy {
                text-align: left;
                padding-bottom: 0;
            }

            .ecosystem-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .account-panel {
                align-items: flex-start;
                flex-direction: column;
            }

            .hero-slash {
                right: -20px;
                width: 160px;
                opacity: 0.16;
            }

            .hero-grid-lines,
            .hero-angle-line {
                opacity: 0.55;
            }
        }

        @media (max-width: 680px) {
            .container {
                width: min(100% - 28px, var(--max-width));
            }

            .section {
                padding: 72px 0;
            }

            .nav {
                min-height: 66px;
            }

            .brand {
                font-size: 1rem;
                gap: 8px;
            }

            .brand-logo {
                width: 46px;
                height: 34px;
            }

            .nav-actions .button-secondary {
                display: none;
            }

            .nav-actions .button {
                min-height: 42px;
                padding: 0 17px;
                font-size: 0.9rem;
            }

            .hero {
                min-height: auto;
            }

            .hero-inner {
                padding: 118px 0 64px;
                transform: translateY(-18px);
            }

            .hero-logo-floating {
                top: 24px;
                left: 14px;
            }

            .hero-logo {
                width: 94px;
            }

            .hero-accent {
                margin-bottom: 10px;
            }

            .hero h1 {
                font-size: clamp(3rem, 17vw, 5rem);
            }

            .hero-mission {
                font-size: 1.12rem;
            }

            .hero-actions {
                flex-direction: column;
            }

            .hero-actions .button {
                width: 100%;
            }

            .hero-glow {
                width: 480px;
                height: 480px;
                right: -150px;
            }

            .hero-slash {
                width: 120px;
                right: -25px;
            }

            .hero-grid-lines {
                background-size: 64px 64px;
                opacity: 0.08;
            }

            .ecosystem-section {
                padding: 62px 0;
            }

            .ecosystem-grid {
                grid-template-columns: 1fr;
                margin-top: 28px;
            }

            .ecosystem-card {
                min-height: 190px;
                padding: 22px;
            }

            .plus-wrap {
                padding: 30px 24px;
            }

            .account-panel {
                padding: 30px 24px;
            }

            .footer-inner {
                flex-direction: column;
                align-items: flex-start;
            }
        }
