/*
 * Landing page + site header styles, ported from the JA Canada x Wealthsimple Foundation
 * review site (jaxwstest.netlify.app). Loaded on every page after Bootstrap.
 *
 * Part 1 (tokens + .site-header) is global: it styles the header in base.php on every page.
 * Part 2 is scoped under .landing so the reference's element-level rules never leak into
 * the Bootstrap-based pages.
 */

:root {
    --ja-blue: #285F74;
    --ja-blueblack: #22404D;
    --ja-turq: #00A0AF;
    --ja-green: #BBD153;
    --ja-yellow: #E3E24F;
    --ja-ice: #C3EDEF;
    --wsf-blue: #307FE1;
    --soft-black: #22201F;
    --bg: #F6F9F8;
    --card: #FCFDFD;
    --surface: #EFF4F3;
    --border: #E6ECEA;
    --border-control: #6C7278;
    --muted: #6C7278;
    --ink: #141414;
    --mont: 'Montserrat', sans-serif;
    --fut: 'Jost', sans-serif;
    --r: 20px;
    --r-lg: 28px;
    --pill: 100px;
    --maxw: 1200px;
    --page-gutter: 28px;
    --shadow: 0 1px 2px rgba(20, 20, 20, .02), 0 10px 30px -22px rgba(20, 40, 45, .1);
}

body {
    background: var(--bg);
}

/* ------------------------------------------------------------------ */
/* Part 1: site header (all pages)                                     */
/* ------------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(246, 249, 248, .92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
    font-family: var(--fut);
    color: var(--ink);
}
.site-header .wrap {
    max-width: calc(var(--maxw) + 2 * var(--page-gutter));
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}
.site-header .nav-row {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 88px;
}
.site-header .brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}
.site-header {
    --brand-w: 184px; /* rendered width of the logo at 52px high (481x136 viewBox) */
}
.site-header .brand img {
    height: 52px;
    width: auto;
    display: block;
}
.site-header .links {
    display: flex;
    flex-wrap: wrap; /* only ever wraps for staff, who see extra links */
    gap: 0 20px;
    font-size: 15px;
}
.site-header .right {
    flex: none;
}
.site-header .links a {
    color: var(--ink);
    text-decoration: none;
    padding-block: 12px;
    white-space: nowrap;
}
.site-header .links a:hover,
.site-header .links a.active {
    color: var(--ja-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* second row of private links (logged-in staff, classroom accounts, teams) */
.site-header .private-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    padding: 0 0 8px;
    margin-top: -22px;
    padding-left: calc(var(--brand-w) + 24px); /* lines up under the main links */
    font-size: 15px;
}
.site-header .private-row a {
    color: var(--ja-blue);
    font-weight: 500;
    text-decoration: none;
    padding-block: 2px;
    white-space: nowrap;
}
.site-header .private-row a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.site-header .mmenu a.mlink.private {
    color: var(--ja-blue);
    font-weight: 500;
}
/* a double rule separates the first private link from the public ones */
.site-header .mmenu a.mlink:not(.private) + a.mlink.private {
    border-top: 3px double var(--border-control);
    margin-top: 8px;
}
.site-header .right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-header .langtog {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
}
.site-header .langtog a {
    color: var(--ink);
    text-decoration: none;
}
.site-header .langtog a:hover {
    color: var(--ja-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.site-header .langtog .current {
    color: var(--ink);
    font-weight: 500;
}
.site-header .hbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 20px;
    border: 0;
    border-radius: var(--pill);
    background: transparent;
    font-family: var(--fut);
    font-size: 15px;
    line-height: 1.2;
    color: var(--ink);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--border-control);
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.site-header .hbtn:hover,
.site-header .hbtn.show {
    background: var(--ja-blue);
    color: #fff;
    box-shadow: inset 0 0 0 1px var(--ja-blue);
}
.site-header .hbtn.dropdown-toggle::after {
    margin-left: 2px;
}
.site-header .startbtn {
    font-family: var(--mont);
    font-weight: 600;
    font-size: 15px;
    padding: 11px 22px;
    background: var(--ja-blue);
    color: #fff;
    box-shadow: none;
    transition: transform .15s cubic-bezier(.34, 1.56, .64, 1), background .15s;
}
.site-header .startbtn:hover {
    background: var(--ja-turq);
    color: var(--ink);
    transform: translateY(-2px);
}
.site-header .dropdown-menu {
    font-family: var(--fut);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: 0 22px 40px -26px rgba(20, 40, 45, .24);
    padding: 8px;
    margin-top: 8px !important;
}
.site-header .dropdown-item {
    border-radius: 12px;
    padding: 8px 14px;
    color: var(--ink);
}
.site-header .dropdown-item:hover,
.site-header .dropdown-item.active {
    background: var(--surface);
    color: var(--ja-blue);
}
.site-header .charter-menu {
    max-height: 70vh;
    overflow-y: auto;
}
.site-header .login-menu {
    width: 300px;
    padding: 20px;
}
.site-header .login-menu h2 {
    font-family: var(--mont);
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 14px;
    color: var(--ink);
}
.site-header .login-menu .form-control {
    border-radius: 12px;
    border-color: var(--border-control);
    font-family: var(--fut);
    font-size: 15px;
    padding: 9px 14px;
}
.site-header .login-menu .form-control:focus {
    border-color: var(--ja-blue);
    box-shadow: 0 0 0 3px rgba(40, 95, 116, .18);
}
.site-header .login-menu .btn-signin {
    width: 100%;
    margin-top: 6px;
    border: 0;
    border-radius: var(--pill);
    background: var(--ja-blue);
    color: #fff;
    font-family: var(--mont);
    font-weight: 600;
    font-size: 15px;
    padding: 11px 20px;
    transition: background .15s;
}
.site-header .login-menu .btn-signin:hover {
    background: var(--ja-turq);
    color: var(--ink);
}
.site-header .team-dd .hbtn {
    max-width: 220px;
}
.site-header .team-dd .hbtn span {
    overflow: hidden;
    text-overflow: ellipsis;
}
/* a logged-in team has its simulation; the charter switcher stays in the mobile menu only */
.site-header.has-team .right .charter-dd {
    display: none;
}
.site-header .hamb {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 11px;
    margin-left: auto;
}
.site-header .hamb span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--soft-black);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s;
}
.site-header .hamb[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .hamb[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .hamb[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu: a Bootstrap collapse that only renders below 1024px */
.site-header .mmenu {
    display: none;
    flex-direction: column;
    padding: 4px 0 20px;
    border-top: 1px solid var(--border);
}
.site-header .mmenu.show,
.site-header .mmenu.collapsing {
    display: flex;
}
.site-header .mmenu a.mlink {
    font-size: 18px;
    color: var(--ink);
    text-decoration: none;
    padding: 14px 2px;
    border-bottom: 1px solid var(--border);
}
.site-header .mmenu a.mlink:hover,
.site-header .mmenu a.mlink.active {
    color: var(--ja-blue);
}
.site-header .mmenu .mmrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 2px;
}
.site-header .mmenu .startbtn {
    justify-content: center;
    margin-top: 6px;
}

/* admin bar: neutral strip under the header, links unchanged */
.admin-bar {
    background: var(--ja-blueblack);
    font-family: var(--fut);
    font-size: 14px;
}
.admin-bar .navbar {
    padding: 0;
}
.admin-bar .nav-link,
.admin-bar .navbar-brand {
    color: #dbeaee !important;
    padding: 10px 12px;
}
.admin-bar .nav-link:hover,
.admin-bar .navbar-brand:hover {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.admin-bar .navbar-toggler {
    color: #fff;
    border: 0;
}
.admin-bar .dropdown-menu {
    font-family: var(--fut);
    font-size: 14px;
}

/* the main container for non-landing pages */
.site-main {
    padding-top: 16px;
    padding-bottom: 32px;
}

@media (max-width: 1199.98px) {
    .site-header { --brand-w: 156px; }
    .site-header .nav-row { min-height: 76px; gap: 16px; }
    .site-header .brand img { height: 44px; }
    .site-header .right { gap: 8px; }
    .site-header .links,
    .site-header .private-row,
    .site-header .right .langtog,
    .site-header .right .charter-dd,
    .site-header .right .startbtn,
    .site-header .right .team-dd { display: none; }
    .site-header .hamb { display: flex; }
}
@media (min-width: 1200px) {
    .site-header .mmenu { display: none !important; }
}
@media (max-width: 560px) {
    :root { --page-gutter: 20px; }
    .site-header .nav-row { min-height: 66px; gap: 8px; }
    .site-header .brand img { height: 38px; }
    .site-header .right .hbtn { padding: 8px 14px; font-size: 14px; min-height: 40px; }
    .site-header .login-menu { width: min(300px, calc(100vw - 40px)); }
}

/* ------------------------------------------------------------------ */
/* Part 2: landing page (home only)                                    */
/* ------------------------------------------------------------------ */

.landing {
    font-family: var(--fut);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.landing h1, .landing h2, .landing h3 {
    font-family: var(--mont);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.12;
    color: var(--ink);
    margin: 0;
}
.landing p { margin: 0; }
.landing a { color: inherit; text-decoration: none; }
.landing img { display: block; max-width: 100%; }
.landing ul { margin: 0; padding: 0; }
.landing .wrap {
    max-width: calc(var(--maxw) + 2 * var(--page-gutter));
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}
.landing section {
    padding: 96px 0;
    scroll-margin-top: 110px;
}
.landing .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--pill);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--ink);
}
.landing .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--pill);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--soft-black);
}
.landing .btn {
    font-family: var(--mont);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.2353;
    min-height: 51px;
    border: 0;
    border-radius: var(--pill);
    padding: 15px 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: transform .15s cubic-bezier(.34, 1.56, .64, 1), background .15s, color .15s, box-shadow .15s;
}
.landing .btn-primary {
    background: var(--ja-blue);
    color: #fff;
}
.landing .btn-primary:hover {
    background: var(--ja-turq);
    color: var(--ink);
    transform: translateY(-2px);
}
.landing .btn-ghost {
    background: var(--card);
    color: var(--soft-black);
    box-shadow: inset 0 0 0 1px var(--soft-black);
}
.landing .btn-ghost:hover {
    background: var(--soft-black);
    color: #fff;
    transform: translateY(-2px);
}
.landing .btn:active { transform: translateY(0); }
.landing :where(a, button, input, select, [tabindex]):focus-visible {
    outline: 3px solid var(--ja-blue);
    outline-offset: 4px;
    box-shadow: 0 0 0 2px var(--bg);
}
.landing .sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.landing .wlink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 22px;
    font-weight: 500;
    font-size: 16px;
    color: var(--ja-blue);
    transition: color .15s;
}
.landing .wlink:hover { color: var(--ja-turq); text-decoration: underline; text-underline-offset: 4px; }

/* hero */
.landing .hero {
    padding: 56px 0 40px;
    text-align: center;
    position: relative;
}
.landing .hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%; top: 80%;
    width: 76%; height: 74%;
    transform: translate(-50%, -50%);
    filter: blur(94px);
    pointer-events: none;
    background:
        radial-gradient(40% 50% at 30% 34%, rgba(0, 160, 175, .34), transparent 70%),
        radial-gradient(44% 54% at 72% 46%, rgba(187, 209, 83, .28), transparent 70%),
        radial-gradient(38% 42% at 55% 74%, rgba(48, 127, 225, .22), transparent 70%);
}
.landing .hero > .wrap { position: relative; z-index: 1; }
.landing .hero .badge {
    margin-bottom: 22px;
    /* undo Bootstrap's .badge */
    font-weight: 500;
    line-height: inherit;
    vertical-align: baseline;
}
.landing .hero h1 {
    font-weight: 700;
    font-size: 68px;
    line-height: 1.05;
    letter-spacing: -.02em;
    max-width: 15ch;
    margin: 0 auto 20px;
    text-wrap: balance;
}
.landing .hero p.sub {
    font-weight: 600;
    font-size: 20px;
    color: var(--ink);
    max-width: 690px;
    margin: 0 auto 30px;
    text-wrap: pretty;
}
.landing .hero .cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.landing .pband {
    margin: 56px 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: start;
}
.landing .pband .ph { position: relative; aspect-ratio: 3/4; --rot: 0deg; }
.landing .pband .ph:nth-child(1) { --rot: -3.2deg; margin-top: 8px; }
.landing .pband .ph:nth-child(2) { --rot: 2.6deg; margin-top: 52px; aspect-ratio: 5/6; }
.landing .pband .ph:nth-child(3) { --rot: -1.8deg; margin-top: 18px; }
.landing .pband .ph:nth-child(4) { --rot: 3.4deg; margin-top: 58px; aspect-ratio: 5/6; }
.landing .pband .ph:nth-child(5) { --rot: -2.6deg; margin-top: 28px; }
.landing .pband .phin {
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(var(--rot));
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.landing .pband .ph:hover .phin {
    transform: rotate(0deg) scale(1.03);
    z-index: 3;
    box-shadow: 0 18px 40px -28px rgba(20, 40, 45, .16);
}
.landing .pband .phin img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.landing .pband .ph:hover .phin img { transform: scale(1.07); }

/* notices */
.landing .notices {
    padding: 0;
    margin: 0 auto 36px;
    max-width: 900px;
    text-align: left;
}
.landing .notices .nbox {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 6px solid var(--ja-yellow);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 22px 28px;
    display: grid;
    gap: 14px;
}
.landing .notices h2 {
    font-size: 13px;
    font-family: var(--fut);
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.landing .notices .notice {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    font-size: 16px;
}
.landing .notices .notice time {
    font-family: var(--mont);
    font-weight: 600;
    font-size: 14px;
    color: var(--ja-blue);
}
.landing .notices .notice p { color: #3a3f45; }

/* big type */
.landing .bigtype { text-align: center; }
.landing #program { padding-top: clamp(64px, 9vw, 144px); }
.landing .bigtype .bt {
    font-family: var(--mont);
    font-weight: 600;
    font-size: 42px;
    line-height: 1.32;
    letter-spacing: -.01em;
    max-width: 36ch;
    margin: 0 auto;
    color: var(--ink);
}
.landing .bigtype .bt .count {
    font-weight: 600;
    white-space: nowrap;
    text-decoration: underline dotted;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

/* section headings */
.landing .shead {
    text-align: center;
    max-width: 54ch;
    margin: 0 auto 52px;
}
.landing .shead h2 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 16px 0 0;
}
.landing .shead p {
    font-size: 19px;
    color: var(--muted);
    margin-top: 16px;
}

/* two ways in */
.landing .ways {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.landing .wcard {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px 38px;
    box-shadow: var(--shadow);
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s, border-color .28s;
}
.landing .wcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px -30px rgba(20, 40, 45, .2);
    border-color: var(--border-control);
}
.landing .wcard .tag {
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ja-blue);
    display: inline-block;
}
.landing .wcard h3 {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -.005em;
    margin: 16px 0 12px;
}
.landing .wcard p {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 22px;
    max-width: 44ch;
}
.landing .wcard ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.landing .wcard li {
    display: flex;
    gap: 11px;
    align-items: center;
    font-size: 16px;
}
.landing .wcard li::before {
    content: "";
    flex: 0 0 auto;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ja-turq);
}
.landing .wcard .wlink { margin-top: auto; padding-top: 20px; }

/* curriculum + compete (left text, right content) */
.landing .curr .wrap {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.landing .curr .left h2 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 14px 0;
}
.landing .curr .left p {
    font-size: 17px;
    color: var(--muted);
    max-width: 34ch;
}
.landing .curr .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0 24px;
}
.landing .fpill {
    font-family: var(--fut);
    font-weight: 500;
    font-size: 14px;
    min-height: 44px;
    padding: 9px 18px;
    border-radius: var(--pill);
    border: 1px solid var(--border-control);
    background: var(--card);
    color: var(--ink);
    cursor: pointer;
    transition: .15s;
}
.landing .fpill:hover { border-color: var(--ja-blue); }
.landing .fpill.on,
.landing .fpill[aria-pressed="true"] {
    background: var(--ja-blue);
    color: #fff;
    border-color: var(--ja-blue);
}
.landing .curr .arrows { display: flex; gap: 10px; }
.landing .curr .arrows button {
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-control);
    background: var(--card);
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .15s;
}
.landing .curr .arrows button:hover:not(:disabled) {
    background: var(--ja-blue);
    border-color: var(--ja-blue);
    color: #fff;
}
.landing .curr .arrows button:disabled { cursor: not-allowed; opacity: .55; }
.landing .mscroll {
    display: flex;
    align-items: stretch;
    gap: 24px;
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--border-control) transparent;
    padding: 20px 6px 28px;
}
.landing .mscroll::-webkit-scrollbar { height: 6px; }
.landing .mscroll::-webkit-scrollbar-thumb { background: var(--border-control); border-radius: 100px; }
.landing .mcard {
    flex: 0 0 320px;
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s;
}
.landing .mcard[hidden] { display: none; }
.landing .mcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -30px rgba(20, 40, 45, .16);
}
.landing .mcard .thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--surface);
}
.landing .mcard .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.landing .mcard:hover .thumb img { transform: scale(1.05); }
.landing .mcard .body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.landing .mcard .mtag {
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 6px 13px;
    border-radius: var(--pill);
    align-self: flex-start;
    margin-bottom: 13px;
}
.landing .mcard .mtag.ice { background: var(--ja-ice); }
.landing .mcard .mtag.green { background: var(--ja-green); }
.landing .mcard .mtag.yellow { background: var(--ja-yellow); }
.landing .mcard h3 {
    font-size: 23px;
    line-height: 1.4;
    letter-spacing: -.005em;
    margin-bottom: 8px;
}
.landing .mcard p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
    margin-bottom: 15px;
    flex: 1;
}
.landing .mcard .where {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--surface);
    border-radius: var(--pill);
    padding: 6px 13px;
    align-self: flex-start;
    margin-top: auto;
}
.landing .curr .cta-row { grid-column: 1 / -1; text-align: center; }
.landing .curr .cta-row .wlink { margin-top: 0; }

/* rankings board */
.landing .board {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.landing .board .bh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 26px;
    background: var(--soft-black);
    color: var(--card);
}
.landing .board .bh b {
    font-family: var(--mont);
    font-weight: 600;
    font-size: 18px;
}
.landing .board .bh .live {
    font-size: 14px;
    color: var(--ja-ice);
    display: flex;
    align-items: center;
    gap: 8px;
}
.landing .board .bh .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ja-green);
    display: inline-block;
    animation: landing-pulse 1.6s infinite;
}
@keyframes landing-pulse { 50% { opacity: .35; } }
.landing .brow {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 112px 70px;
    gap: 16px;
    align-items: center;
    padding: 16px 26px;
    border-top: 1px solid var(--border);
}
.landing .brow.table-head {
    font-size: 13px;
    font-weight: 500;
    background: var(--surface);
}
.landing .brow .rk { font-family: var(--mont); color: var(--muted); }
.landing .brow.lead { background: var(--surface); }
.landing .brow.lead .rk,
.landing .brow.lead .team small { color: var(--ink); }
.landing .brow .team small { display: block; color: var(--muted); font-size: 13px; }
.landing .brow .net {
    font-family: var(--mont);
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.landing .brow .delta {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-variant-numeric: tabular-nums;
}
.landing .brow .delta .ti { width: 11px; height: 11px; flex: none; }
.landing .gain { color: #176B3B; }
.landing .loss { color: #B83227; }
.landing .board .empty {
    padding: 40px 26px;
    text-align: center;
    color: var(--muted);
    font-size: 16px;
}

/* resources */
.landing .seasontabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 26px;
}
.landing .ytwrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.landing .ytwrap iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.landing .watchlink {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
    font-size: 15.5px;
    color: var(--ja-blue);
    text-underline-offset: 4px;
}
.landing .watchlink:hover { text-decoration: underline; }
.landing .reslist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 46px;
}
.landing .rcard {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px 24px 24px;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s;
}
.landing .rcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -30px rgba(20, 40, 45, .16);
}
.landing .rcard .ricon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    color: var(--ja-blue);
    margin-bottom: 16px;
}
.landing .rcard .ricon img { width: 100%; height: 100%; object-fit: contain; }
.landing .rcard h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.25; }
.landing .rcard p {
    font-size: 14.5px;
    color: var(--muted);
    flex: 1;
    margin-bottom: 14px;
}
.landing .rcard .rgo {
    margin-top: auto;
    padding-top: 20px;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ja-blue);
    text-underline-offset: 4px;
}
.landing .rcard:hover .rgo { text-decoration: underline; }

/* supporters */
.landing .supporters { background: var(--surface); }
.landing .slist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}
.landing .scard {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 30px 28px;
    box-shadow: var(--shadow);
    text-align: center;
}
.landing .scard h3 {
    font-family: var(--fut);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}
.landing .scard .logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.landing .scard .logos img { max-height: 90px; width: auto; }
.landing .scard p {
    font-size: 15px;
    color: var(--muted);
    margin-top: 16px;
    text-align: left;
}
.landing .scard p + p { margin-top: 10px; }
.landing .scard .person { font-size: 15px; color: var(--ink); }
.landing .scard .person i { color: var(--muted); }

/* contact */
.landing .watch .shead .cta {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}
.landing .contact .card {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    padding: 66px 40px;
}
.landing .contact .inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.landing .contact h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.32;
    margin: 16px 0 36px;
}
.landing .contact .clist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: left;
}
.landing .contact .citem {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.landing .contact .citem h3 {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 8px;
}
.landing .contact .citem p {
    font-size: 15px;
    color: var(--muted);
    flex: 1;
    margin-bottom: 14px;
}
.landing .contact .citem a {
    font-weight: 500;
    font-size: 15.5px;
    color: var(--ja-blue);
    text-underline-offset: 4px;
    word-break: break-all;
}
.landing .contact .citem a:hover { text-decoration: underline; }
.landing .contact .cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* faq */
.landing .faqlist {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}
.landing .fitem { border-bottom: 1px solid var(--border); }
.landing .fitem > h3 { margin: 0; font: inherit; }
.landing .fq {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 24px 4px;
    font-family: var(--mont);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.landing .fq .ic {
    font-family: var(--fut);
    color: var(--ja-blue);
    font-size: 24px;
    transition: .2s;
}
.landing .fitem.open .ic { transform: rotate(45deg); }
.landing .fa[hidden] { display: none; }
.landing .fa p {
    font-size: 17px;
    color: var(--muted);
    padding: 0 4px 24px;
    max-width: 70ch;
}
.landing .fa ul {
    list-style: none;
    padding: 0 4px 24px;
    display: grid;
    gap: 6px;
    font-size: 16px;
    color: var(--muted);
}
.landing .fa ul b { color: var(--ink); font-weight: 500; }

/* responsive */
@media (max-width: 1024px) {
    .landing .hero h1 { font-size: 56px; }
    .landing .bigtype .bt { font-size: 38px; }
    .landing .shead h2, .landing .curr .left h2 { font-size: 34px; }
}
@media (max-width: 960px) {
    .landing .reslist { grid-template-columns: repeat(2, 1fr); }
    .landing .contact .clist { grid-template-columns: 1fr; }
    .landing .contact h2 { font-size: 34px; }
}
@media (max-width: 860px) {
    .landing .hero { padding: 32px 0 12px; }
    .landing .hero h1 { font-size: 42px; line-height: 1.08; }
    .landing .hero p.sub { font-size: 17px; }
    .landing .pband { grid-template-columns: repeat(3, 1fr); }
    .landing .pband .ph:nth-child(4), .landing .pband .ph:nth-child(5) { display: none; }
    .landing .ways { grid-template-columns: 1fr; }
    .landing .curr .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .landing section { padding: 60px 0; }
    .landing .shead h2, .landing .curr .left h2 { font-size: 30px; }
    .landing .bigtype .bt { font-size: 29px; line-height: 1.4; max-width: 26ch; }
    .landing .wcard { padding: 32px 26px; }
    .landing .board .bh { padding: 20px; }
    .landing .brow { padding: 16px 20px; }
    .landing .notices .notice { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
    .landing section { scroll-margin-top: 90px; }
    .landing .hero { padding: 24px 0 8px; }
    .landing .hero h1 { font-size: 33px; }
    .landing .hero p.sub { font-size: 16px; line-height: 1.6; }
    .landing .hero .cta { display: grid; grid-template-columns: 1fr; width: 100%; max-width: 360px; margin-inline: auto; gap: 10px; }
    .landing .hero .cta .btn { padding: 13px 22px; font-size: 16px; min-height: 48px; }
    .landing .pband { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 44px; }
    .landing .pband .ph:nth-child(3) { display: none; }
    .landing .pband .ph:nth-child(2) { margin-top: 36px; }
    .landing .bigtype .bt { font-size: 25px; max-width: 24ch; }
    .landing .curr .filters { gap: 8px; }
    .landing .fpill { font-size: 13px; padding: 8px 15px; }
    .landing .mcard { flex: 0 0 80vw; max-width: 320px; }
    .landing .mscroll { scroll-padding-inline: 6px; }
    .landing .board .bh { padding: 16px 18px; }
    .landing .brow { grid-template-columns: 24px minmax(0, 1fr) 94px; gap: 8px; padding: 14px 16px; font-size: 13px; }
    .landing .brow .delta { grid-column: 3; font-size: 13px; }
    .landing .brow.table-head span:last-child { display: none; }
    .landing .brow .team small { font-size: 12px; line-height: 1.4; }
    .landing .brow .net { font-size: 14px; }
    .landing .fq { font-size: 18px; padding-block: 22px; }
    .landing .reslist { grid-template-columns: 1fr; }
    .landing .wcard { padding: 32px 24px; }
    .landing .eyebrow { font-size: 11px; padding: 5px 12px; }
    .landing .contact .card { padding: 44px 20px; }
    .landing .contact h2 { font-size: 30px; }
}
@media (max-width: 400px) {
    .landing .hero h1 { font-size: 29px; }
    .landing .bigtype .bt { font-size: 22px; }
    .landing .btn { font-size: 16px; padding: 13px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing *, .landing *::before, .landing *::after {
        animation: none !important;
        transition: none !important;
    }
    .landing .pband .phin { transform: none !important; }
    .landing .btn:hover, .landing .wcard:hover, .landing .mcard:hover, .landing .rcard:hover { transform: none !important; }
}
