/* ==========================================================
   BYONPB — Site layout v2
   Editorial layout system (byonpb-model structure)
   rendered in the existing teal / yellow brand palette.
   Loads AFTER home.css (and any page stylesheet), which
   supply the reset, tokens, header, drawer and footer.
   Everything is scoped to body.v2.
   ========================================================== */

.v2 {
    --paper: #f4f7f8;
    --line: #dde5e8;
    --ink: #132136;
    --muted: #5b6b7c;
    --navy: var(--dark);
    --navy-2: var(--dark-2);
    --lime: var(--yellow);
    --lime-dark: var(--yellow-dark);
    --sh-band: 0 22px 60px rgba(15, 23, 42, .12);
    background: var(--paper);
}

.v2 main {
    min-height: 70vh;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* ---------- shared type ---------- */
.v2 .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #4d5a6c;
}

.v2 .eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--court);
}

.v2 .dark .eyebrow,
.v2 .side-note .eyebrow {
    color: var(--court-light);
}

.v2 .dark .eyebrow::before {
    background: var(--yellow);
}

.v2 .lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 660px;
}

/* ---------- buttons ---------- */
.v2 .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    font-size: .95rem;
    border: 1.5px solid var(--navy);
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.v2 .btn svg {
    width: 18px;
    height: 18px;
}

.v2 .btn.primary {
    background: var(--navy);
    color: #fff;
}

.v2 .btn.primary:hover {
    background: var(--court-dark);
    border-color: var(--court-dark);
    transform: translateY(-2px);
}

.v2 .btn.alt:hover {
    background: #fff;
    transform: translateY(-2px);
}

.v2 .btn.accent {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--navy);
}

.v2 .btn.accent:hover {
    background: #fde047;
    border-color: #fde047;
    transform: translateY(-2px);
}

.v2 .btn.teal {
    background: var(--court);
    border-color: var(--court);
    color: #fff;
}

.v2 .btn.teal:hover {
    background: var(--court-dark);
    border-color: var(--court-dark);
    transform: translateY(-2px);
}

/* ==========================================================
   HERO
   ========================================================== */
.v2 .hero {
    position: static;
    overflow: visible;
    min-height: 0;
    padding: 72px 0 54px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 64px;
    align-items: center;
}

.v2 .hero h1 {
    font-size: clamp(3.2rem, 6.6vw, 6rem);
    line-height: .92;
    letter-spacing: -.06em;
    font-weight: 800;
    margin: 20px 0 24px;
    color: var(--navy);
}

.v2 .hero h1 .outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--court);
}

.v2 .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* court illustration card */
.v2 .court-card {
    background: var(--navy);
    border-radius: 34px;
    padding: 22px;
    box-shadow: var(--sh-band);
    transform: rotate(1.5deg);
    position: relative;
    overflow: hidden;
}

.v2 .court-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(91, 184, 207, .16);
    right: -70px;
    top: -100px;
}

.v2 .court {
    height: 420px;
    border: 3px solid rgba(255, 255, 255, .9);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--court-dark), #14505f);
}

.v2 .court>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .38;
}

.v2 .court::before,
.v2 .court::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, .85);
}

.v2 .court::before {
    width: 3px;
    height: 100%;
    left: 50%;
}

.v2 .court::after {
    height: 3px;
    width: 100%;
    top: 50%;
}

.v2 .player {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 5px solid var(--yellow);
    font-weight: 800;
    font-size: .9rem;
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    z-index: 2;
}

.v2 .player small {
    position: absolute;
    top: 58px;
    background: rgba(15, 23, 42, .92);
    color: #fff;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 8px;
    font-size: .68rem;
    font-weight: 600;
}

.v2 .p1 {
    left: 16%;
    top: 16%;
}

.v2 .p2 {
    right: 16%;
    top: 24%;
    border-color: var(--court-light);
}

.v2 .p3 {
    left: 25%;
    bottom: 20%;
    border-color: #f97362;
}

.v2 .p4 {
    right: 21%;
    bottom: 16%;
}

.v2 .status {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #4ade80;
    border: 2px solid #fff;
    right: -2px;
    top: 0;
}

.v2 .court-label {
    display: block;
    width: fit-content;
    margin: 16px auto 4px;
    color: #cfe9f1;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 7px 14px;
    border-radius: 999px;
}

/* ---------- stat bar ---------- */
.v2 .statbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    margin: 12px auto 72px;
    overflow: hidden;
    box-shadow: var(--sh-sm);
}

.v2 .stat {
    padding: 24px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.v2 .stat:last-child {
    border-right: 0;
}

.v2 .stat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.v2 .stat span {
    color: var(--muted);
    font-size: .88rem;
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.v2 .section {
    padding: 72px 0;
}

.v2 .section.dark {
    background: var(--navy);
    color: #fff;
}

.v2 .section h2 {
    font-size: clamp(2.1rem, 4.4vw, 4.1rem);
    letter-spacing: -.05em;
    line-height: 1.02;
    font-weight: 800;
    margin: 14px 0 18px;
    color: var(--navy);
}

.v2 .section.dark h2 {
    color: #fff;
}

.v2 .section h2 .accent {
    color: var(--court);
}

.v2 .section.dark h2 .accent {
    color: var(--court-light);
}

.v2 .section-intro {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 34px;
}

.v2 .section-intro p {
    max-width: 560px;
    color: var(--muted);
    margin: 0;
}

.v2 .dark .section-intro p {
    color: #b7c2d3;
}

/* ---------- card grid ---------- */
.v2 .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.v2 .card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    min-height: 235px;
    display: flex;
    flex-direction: column;
    color: inherit;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.v2 .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-band);
    border-color: var(--border-strong);
}

.v2 .card .number {
    font-weight: 800;
    color: var(--court);
    letter-spacing: .08em;
}

.v2 .card .c-icon {
    display: block;
    margin-top: 26px;
    width: 34px;
    height: 34px;
    color: var(--court);
}

.v2 .card .c-icon svg {
    width: 100%;
    height: 100%;
}

.v2 .card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin: 12px 0 8px;
}

.v2 .card p {
    color: var(--muted);
    margin: 0;
    font-size: .95rem;
}

.v2 .card .arrow {
    margin-top: auto;
    padding-top: 18px;
    font-size: 1.3rem;
    color: var(--court);
    transition: transform .2s var(--ease);
}

.v2 .card:hover .arrow {
    transform: translateX(6px);
}

.v2 .dark .card {
    background: var(--navy-2);
    border-color: #2b4157;
    color: #fff;
}

.v2 .dark .card p {
    color: #b8c4d5;
}

.v2 .dark .card .number,
.v2 .dark .card .c-icon,
.v2 .dark .card .arrow {
    color: var(--yellow);
}

.v2 .dark .card:hover {
    border-color: var(--court-light);
}

/* ---------- feature split ---------- */
.v2 .feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.v2 .feature {
    border-radius: 30px;
    padding: 38px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    color: var(--navy);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.v2 .feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-band);
}

.v2 .feature.challenge {
    background: linear-gradient(150deg, var(--court-pale2), #b9e5f0);
}

.v2 .feature.open {
    background: linear-gradient(150deg, #fef3c7, #fde68a);
}

.v2 .feature h3 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 800;
    margin: 12px 0;
}

.v2 .feature p {
    max-width: 440px;
    color: #3d4c5e;
}

.v2 .feature .mini {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    padding-top: 28px;
}

.v2 .pill {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(15, 23, 42, .12);
    padding: 11px;
    border-radius: 14px;
    text-align: center;
    font-size: .82rem;
    font-weight: 700;
}

/* ---------- club band ---------- */
.v2 .club-band {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 38px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
    box-shadow: var(--sh-sm);
}

.v2 .club-band h2 {
    margin-top: 12px;
}

.v2 .club-band .lead {
    margin-bottom: 26px;
}

.v2 .club-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.v2 .club-item {
    background: var(--court-pale);
    border: 1px solid var(--teal-border);
    border-radius: 18px;
    padding: 20px;
}

.v2 .club-item .ci-icon {
    display: block;
    width: 26px;
    height: 26px;
    flex: none;
    color: var(--court-dark);
    margin-bottom: 10px;
}

.v2 .club-item .ci-icon svg {
    width: 100%;
    height: 100%;
}

.v2 .club-item b {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--navy);
}

.v2 .club-item span {
    font-size: .88rem;
    color: var(--muted);
}

/* ---------- CTA band ---------- */
.v2 .cta {
    margin: 70px auto;
    background: var(--navy);
    color: #fff;
    border-radius: 34px;
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

.v2 .cta::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(45, 147, 172, .22);
    right: -90px;
    bottom: -160px;
}

.v2 .cta>* {
    position: relative;
}

.v2 .cta h2 {
    margin: 0 0 8px;
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -.05em;
    font-weight: 800;
}

.v2 .cta p {
    color: #b8c4d4;
    margin: 0;
    max-width: 620px;
}

.v2 .cta .soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 204, 21, .14);
    color: var(--yellow);
    border: 1px solid rgba(250, 204, 21, .35);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.v2 .cta .soon::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
}

/* ---------- FAQ (copy-block styling) ---------- */
.v2 .faq-list {
    display: grid;
    gap: 12px;
}

.v2 .faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: none;
}

.v2 .faq-item summary .q {
    color: var(--navy);
}

.v2 .faq-body {
    color: var(--muted);
    max-width: 820px;
}

/* ---------- app band ---------- */
.v2 .app-band {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: center;
    box-shadow: var(--sh-sm);
}

.v2 .app-band h2 {
    margin-top: 12px;
}

.v2 .stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.v2 .store {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: 11px 18px;
    transition: transform .2s var(--ease);
}

.v2 .store:hover {
    transform: translateY(-2px);
}

.v2 .store svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.v2 .store svg.multi path {
    fill: revert;
}

.v2 .store small {
    display: block;
    font-size: .66rem;
    opacity: .75;
    line-height: 1.2;
}

.v2 .store strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
}

.v2 .app-visual {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 16px;
    align-items: end;
}

.v2 .app-visual .app-photo {
    position: static;
    width: 100%;
    height: 300px;
    transform: none;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.v2 .app-visual .app-photo img {
    width: 100%;
    height: 130%;
    object-fit: cover;
}

.v2 .qr {
    position: static;
    display: block;
    text-align: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
}

.v2 .qr img {
    width: 100%;
    max-width: 110px;
    height: auto;
    margin: 0 auto 8px;
    border-radius: 10px;
}

.v2 .qr p {
    font-size: .74rem;
    line-height: 1.35;
    color: var(--muted);
}

/* ---------- related ---------- */
.v2 .related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.v2 .rel-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: var(--navy);
    font-weight: 700;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.v2 .rel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--border-strong);
}

.v2 .rel-card .rel-icon {
    display: block;
    width: 30px;
    height: 30px;
    color: var(--court);
}

.v2 .rel-card .rel-icon svg {
    width: 100%;
    height: 100%;
}

.v2 .rel-card .rel-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: .92rem;
}

.v2 .rel-card .rel-foot .arrow {
    color: var(--court);
    transition: transform .2s var(--ease);
}

.v2 .rel-card:hover .rel-foot .arrow {
    transform: translateX(5px);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
    .v2 .bp-nav {
        display: none;
    }

    .v2 .hero {
        gap: 40px;
    }

    .v2 .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .v2 .hero,
    .v2 .club-band,
    .v2 .app-band {
        grid-template-columns: 1fr;
    }

    .v2 .hero {
        padding-top: 45px;
    }

    .v2 .court {
        height: 350px;
    }

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

    .v2 .section-intro {
        display: block;
    }

    .v2 .section-intro p {
        margin-top: 8px;
    }

    .v2 .app-visual {
        max-width: 520px;
        margin-inline: auto;
    }
}

@media (max-width: 560px) {
    .v2 .app-visual {
        grid-template-columns: 1fr;
    }

    .v2 .app-visual .app-photo {
        height: 220px;
    }

    .v2 .qr {
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: left;
    }

    .v2 .qr img {
        max-width: 84px;
        margin: 0;
    }
}

@media (max-width: 620px) {
    .shell {
        width: min(100% - 24px, 1180px);
    }

    .v2 .bp-header-inner {
        width: min(100% - 24px, 1180px);
        height: 68px;
    }

    .v2 .hero h1 {
        font-size: 3rem;
    }

    .v2 .hero {
        gap: 34px;
        padding-top: 36px;
    }

    .v2 .court {
        height: 300px;
    }

    .v2 .player {
        width: 46px;
        height: 46px;
        font-size: .8rem;
        border-width: 4px;
    }

    .v2 .statbar,
    .v2 .grid,
    .v2 .feature-split,
    .v2 .club-features,
    .v2 .related-grid {
        grid-template-columns: 1fr;
    }

    .v2 .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .v2 .stat:last-child {
        border-bottom: 0;
    }

    .v2 .feature {
        min-height: 340px;
        padding: 28px;
    }

    .v2 .club-band,
    .v2 .app-band {
        padding: 26px;
        border-radius: 26px;
    }

    .v2 .cta {
        display: block;
        padding: 30px;
        border-radius: 26px;
    }

    .v2 .cta .btn {
        margin-top: 22px;
    }

    .v2 .section {
        padding: 56px 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .v2 .card,
    .v2 .feature,
    .v2 .rel-card,
    .v2 .btn,
    .v2 .store {
        transition: none;
    }
}

/* ==========================================================
   INNER PAGES
   page-hero · media band · content-grid · side-note
   copy-block · checklist · steps · level list
   ========================================================== */
.v2 .page-hero {
    position: static;
    overflow: visible;
    min-height: 0;
    padding: 68px 0 40px;
    display: block;
}

.v2 .page-hero h1 {
    font-size: clamp(2.8rem, 5.6vw, 5rem);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 800;
    color: var(--navy);
    margin: 18px 0 22px;
    max-width: 16ch;
}

.v2 .page-hero h1 .accent {
    color: var(--court);
}

.v2 .page-hero .lead {
    max-width: 720px;
}

.v2 .page-hero .actions {
    margin-top: 28px;
}

/* full-width media band under the page hero */
.v2 .hero-media {
    position: relative;
    height: clamp(240px, 34vw, 420px);
    border-radius: 30px;
    overflow: hidden;
    background: var(--court-pale2);
    box-shadow: var(--sh-band);
    margin-bottom: 8px;
}

.v2 .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2 .hero-media figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    background: rgba(15, 23, 42, .84);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
}

/* two-column body: sticky note + copy */
.v2 .content-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 56px;
    padding: 40px 0 80px;
    align-items: start;
}

.v2 .side-note {
    position: sticky;
    top: 104px;
    align-self: start;
    background: var(--navy);
    color: #fff;
    padding: 28px;
    border-radius: 24px;
    overflow: hidden;
}

.v2 .side-note::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(45, 147, 172, .2);
    right: -100px;
    top: -110px;
}

.v2 .side-note>* {
    position: relative;
}

.v2 .side-note .tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--navy);
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.v2 .side-note h2 {
    font-size: 1.65rem;
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 800;
    color: #fff;
    margin: 16px 0 10px;
}

.v2 .side-note p {
    color: #b9c5d6;
    font-size: .93rem;
    margin: 0 0 4px;
}

.v2 .side-note .note-list {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.v2 .side-note .note-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #cbd6e4;
    font-size: .9rem;
}

.v2 .side-note .note-list li::before {
    content: "\2713";
    color: var(--yellow);
    font-weight: 800;
    flex: none;
}

.v2 .side-note .link-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--court-light);
    font-weight: 700;
    font-size: .9rem;
}

.v2 .side-note .link-note:hover {
    color: var(--yellow);
}

/* live profile preview */
.v2 .profile-stack {
    display: grid;
    gap: 10px;
    margin: 18px 0 14px;
}

.v2 .profile {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 13px;
    align-items: center;
    background: #fff;
    color: var(--ink);
    padding: 12px;
    border-radius: 16px;
}

.v2 .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--court-pale2);
    color: var(--court-dark);
    font-weight: 800;
    font-size: .85rem;
}

.v2 .profile b {
    display: block;
    font-size: .95rem;
    color: var(--navy);
}

.v2 .profile small {
    color: var(--muted);
    font-size: .8rem;
}

.v2 .profile .distance {
    font-weight: 800;
    font-size: .82rem;
    color: var(--court-dark);
}

.v2 .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 6px;
}

.v2 .dot.away {
    background: #a8b3c1;
}

/* copy blocks */
.v2 .copy-block {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.v2 .copy-block:first-child {
    padding-top: 0;
}

.v2 .copy-block:last-child {
    border-bottom: 0;
}

.v2 .copy-block h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    letter-spacing: -.04em;
    line-height: 1.1;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 12px;
}

.v2 .copy-block h2 .accent {
    color: var(--court);
}

.v2 .copy-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 22px 0 4px;
}

.v2 .copy-block p {
    color: var(--muted);
    margin: 0 0 12px;
    max-width: 68ch;
}

.v2 .copy-block p:last-child {
    margin-bottom: 0;
}

.v2 .copy-block .block-media {
    margin: 20px 0 4px;
    border-radius: 22px;
    overflow: hidden;
    height: clamp(200px, 26vw, 300px);
    box-shadow: var(--sh-md);
}

.v2 .copy-block .block-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* checklist */
.v2 .checklist {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.v2 .checklist li {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px 16px 14px 44px;
    border-radius: 14px;
    position: relative;
    color: var(--ink);
    font-size: .93rem;
    font-weight: 600;
}

.v2 .checklist li span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: .86rem;
    margin-top: 3px;
}

.v2 .checklist li::before {
    content: "\2713";
    position: absolute;
    left: 16px;
    top: 14px;
    font-weight: 900;
    color: var(--court);
}

/* numbered steps */
.v2 .steps {
    counter-reset: step;
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.v2 .step {
    counter-increment: step;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 20px 18px 66px;
    position: relative;
    color: var(--muted);
    font-size: .93rem;
}

.v2 .step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 17px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--court);
    color: #fff;
    font-weight: 800;
    font-size: .8rem;
}

.v2 .step b {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 3px;
}

/* skill-level list */
.v2 .levels {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.v2 .level {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--court);
    border-radius: 18px;
    padding: 18px 22px;
}

.v2 .level .range {
    font-weight: 800;
    font-size: .95rem;
    color: var(--court-dark);
    background: var(--court-pale);
    border-radius: 999px;
    padding: 7px 0;
    text-align: center;
}

.v2 .level b {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.v2 .level span {
    color: var(--muted);
    font-size: .93rem;
}

.v2 .level:nth-child(2) {
    border-left-color: #5bb8cf;
}

.v2 .level:nth-child(3) {
    border-left-color: #0f766e;
}

.v2 .level:nth-child(4) {
    border-left-color: var(--yellow-dark);
}

.v2 .level:nth-child(5) {
    border-left-color: #7c3aed;
}

/* standalone "soon" badge (page hero) */
.v2 .page-hero .soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff5f3;
    color: #b63e31;
    border: 1px solid #ffc8c1;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.v2 .page-hero .soon::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f97362;
}

/* breadcrumb */
.v2 .crumbs {
    padding: 16px 0 0;
    font-size: .82rem;
    color: var(--muted);
}

.v2 .crumbs a:hover {
    color: var(--court);
}

/* legal / long-form documents */
.v2 .legal-block h2 {
    font-size: 1.5rem;
    margin-top: 6px;
}

.v2 .legal-block h3 {
    font-size: 1.02rem;
}

.v2 .legal-block ul,
.v2 .legal-block ol {
    margin: 12px 0 14px 20px;
    padding: 0;
    color: var(--muted);
    display: grid;
    gap: 7px;
}

.v2 .legal-block ul {
    list-style: disc;
}

.v2 .legal-block ol {
    list-style: decimal;
}

.v2 .toc {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.v2 .toc a {
    color: #cbd6e4;
    font-size: .89rem;
}

.v2 .toc a:hover {
    color: var(--yellow);
}

/* ---------- inner-page responsive ---------- */
@media (max-width: 900px) {
    .v2 .content-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 30px 0 64px;
    }

    .v2 .side-note {
        position: static;
    }
}

@media (max-width: 620px) {
    .v2 .page-hero {
        padding: 36px 0 28px;
    }

    .v2 .page-hero h1 {
        font-size: 2.6rem;
        max-width: none;
    }

    .v2 .checklist,
    .v2 .level {
        grid-template-columns: 1fr;
    }

    .v2 .level .range {
        width: fit-content;
        padding: 6px 16px;
    }

    .v2 .step {
        padding: 16px 16px 16px 58px;
    }

    .v2 .hero-media {
        border-radius: 22px;
    }
}

/* ==========================================================
   GRID SAFETY
   Grid/flex children default to min-width:auto, so a wide
   intrinsic child (an img with a width attribute, a
   no-wrap store button) can push a track past the viewport.
   ========================================================== */
.v2 .hero>*,
.v2 .content-grid>*,
.v2 .club-band>*,
.v2 .app-band>*,
.v2 .app-visual,
.v2 .app-visual>*,
.v2 .feature-split>*,
.v2 .grid>*,
.v2 .related-grid>*,
.v2 .club-features>*,
.v2 .checklist>*,
.v2 .levels>*,
.v2 .level>*,
.v2 .profile>*,
.v2 .cta>* {
    min-width: 0;
}

.v2 .app-band,
.v2 .app-visual,
.v2 .app-visual .app-photo,
.v2 .qr,
.v2 .club-band,
.v2 .cta {
    max-width: 100%;
}

.v2 .qr {
    width: 100%;
}

.v2 .stores {
    max-width: 100%;
}

.v2 .store {
    flex: 0 1 auto;
    min-width: 0;
}

/* A `1fr` track is min-content-floored, so a wide intrinsic child
   (the app photo, the two store buttons) can still stretch it past
   the container. minmax(0, 1fr) removes that floor. */
.v2 .app-band {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}

.v2 .app-visual {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
}

.v2 .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.v2 .content-grid {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
}

.v2 .club-band {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

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

.v2 .related-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.v2 .feature-split,
.v2 .club-features,
.v2 .checklist {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.v2 .statbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v2 .level {
    grid-template-columns: 116px minmax(0, 1fr);
}

@media (max-width: 1100px) {
    .v2 .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .v2 .hero,
    .v2 .club-band,
    .v2 .app-band,
    .v2 .content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 620px) {

    .v2 .statbar,
    .v2 .grid,
    .v2 .feature-split,
    .v2 .club-features,
    .v2 .related-grid,
    .v2 .checklist,
    .v2 .level {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .v2 .app-visual {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Page stylesheets define their own multi-column .steps — force the
   stacked, numbered list the v2 layout expects. */
.v2 .steps {
    grid-template-columns: minmax(0, 1fr);
    counter-reset: step;
}

.v2 .steps .step {
    margin: 0;
    text-align: left;
}

.v2 .steps .step::after {
    display: none;
}

/* ==========================================================
   MOBILE AUDIT FIXES
   ========================================================== */

/* The side-note's decorative circle is absolutely positioned at
   right:-100px. Dropping the aside to position:static on mobile
   removed its containing block, so the circle escaped the
   overflow:hidden and added 100px of page-wide scroll. Keep it
   positioned — just stop it sticking. */
@media (max-width: 900px) {
    .v2 .side-note {
        position: relative;
        top: auto;
    }
}

/* Comfortable tap target for the side-note link */
.v2 .side-note .link-note {
    min-height: 44px;
    padding: 10px 0;
    margin-top: 6px;
}

/* Small uppercase labels were under 11px */
.v2 .side-note .tag,
.v2 .page-hero .soon,
.v2 .cta .soon {
    font-size: .72rem;
}

/* Buttons were shrinking below their label inside the flex CTA band */
.v2 .btn {
    white-space: nowrap;
    flex: none;
}

.v2 .cta .btn {
    flex: none;
}

/* Narrow phones: give the hero buttons room to wrap cleanly */
@media (max-width: 380px) {
    .v2 .actions {
        gap: 10px;
    }

    .v2 .actions .btn {
        padding: 13px 18px;
        font-size: .9rem;
    }

    .v2 .section,
    .v2 .content-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .v2 .copy-block .block-media {
        border-radius: 16px;
    }
}

/* ==========================================================
   MEDIA FIT
   The photo library mixes orientations — 16:9 (1.78), 4:3
   (1.33), 3:2 (1.50), 4:5 (0.79) and one 0.53 portrait. A
   single full-width band forced all of them to ~2.8:1 and
   cropped the portraits to ribbons. The page hero is now a
   two-column split with an aspect-ratio frame, and each
   image gets the frame that matches its own shape.
   ========================================================== */
.v2 .page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 56px;
    align-items: center;
    padding: 58px 0 46px;
}

.v2 .page-hero>.ph-copy {
    min-width: 0;
}

.v2 .page-hero h1 {
    max-width: 14ch;
}

.v2 .hero-media {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    background: var(--court-pale2);
    box-shadow: var(--sh-band);
}

.v2 .hero-media.is-wide {
    aspect-ratio: 16 / 9;
}

.v2 .hero-media.is-portrait {
    aspect-ratio: 4 / 5;
    max-width: 440px;
    margin-inline: auto;
}

.v2 .hero-media.is-tall {
    aspect-ratio: 3 / 4;
    max-width: 400px;
    margin-inline: auto;
}

.v2 .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.v2 .hero-media.is-portrait img,
.v2 .hero-media.is-tall img {
    object-position: center 35%;
}

/* in-copy media keeps the source shape rather than a fixed height */
.v2 .copy-block .block-media {
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 20px;
}

.v2 .copy-block .block-media img {
    object-position: center 42%;
}

.v2 .copy-block .block-media.is-portrait {
    aspect-ratio: 4 / 5;
    max-width: 380px;
}

/* small portrait thumbnail inside the navy side-note */
.v2 .side-note .note-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 18px;
    background: rgba(255, 255, 255, .08);
}

.v2 .side-note .note-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

@media (max-width: 900px) {
    .v2 .page-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 40px 0 32px;
    }

    .v2 .page-hero h1 {
        max-width: none;
    }

    .v2 .hero-media,
    .v2 .hero-media.is-wide {
        aspect-ratio: 16 / 10;
    }

    .v2 .hero-media.is-portrait,
    .v2 .hero-media.is-tall {
        aspect-ratio: 4 / 3;
        max-width: none;
    }

    .v2 .hero-media.is-portrait img,
    .v2 .hero-media.is-tall img {
        object-position: center 30%;
    }
}

@media (max-width: 620px) {

    .v2 .hero-media,
    .v2 .hero-media.is-wide,
    .v2 .hero-media.is-portrait,
    .v2 .hero-media.is-tall {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .v2 .copy-block .block-media {
        aspect-ratio: 4 / 3;
    }

    .v2 .copy-block .block-media.is-portrait {
        max-width: none;
    }
}

/* skill-levels/hero.webp is 909x1730 (0.53) — near phone-screen
   proportions. Even the 3:4 frame lost 29% of it. */
.v2 .hero-media.is-xtall {
    aspect-ratio: 9 / 16;
    max-width: 330px;
    margin-inline: auto;
}

@media (max-width: 900px) {
    .v2 .hero-media.is-xtall {
        aspect-ratio: 4 / 3;
        max-width: none;
    }
}

@media (max-width: 620px) {
    .v2 .hero-media.is-xtall {
        aspect-ratio: 4 / 3;
    }
}

/* Every in-copy photo in the library is 4:3, so match it exactly
   and crop nothing. */
.v2 .copy-block .block-media {
    aspect-ratio: 4 / 3;
}

/* otherpages/find-players.webp is 3:2, not 4:3 */
.v2 .hero-media.is-3x2 {
    aspect-ratio: 3 / 2;
}

@media (max-width: 620px) {
    .v2 .hero-media.is-3x2 {
        aspect-ratio: 4 / 3;
    }
}

/* home/app-lifestyle.webp is 3:4 — the fixed 300px-tall box cropped
   17% off it on every page. */
.v2 .app-visual .app-photo {
    height: auto;
    aspect-ratio: 3 / 4;
}

@media (max-width: 560px) {
    .v2 .app-visual .app-photo {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}

/* Related pages: pages carry 5 or 6 cards, and a fixed 5-column
   grid left a single orphan on the second row. */
.v2 .related-grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

@media (max-width: 620px) {
    .v2 .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* ==========================================================
   ZIG-ZAG MEDIA ROWS
   A copy-block that carries a photo becomes a two-column row —
   text one side, image the other — and consecutive rows on a
   page alternate sides (.is-flip). The heading spans the full
   width so it reads as one section, not two columns of prose.
   ========================================================== */
.v2 .content-grid {
    grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
}

.v2 .copy-block.has-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 30px;
    row-gap: 18px;
    align-items: start;
}

.v2 .copy-block.has-media>h2 {
    grid-column: 1 / -1;
    order: 0;
    margin-bottom: 0;
}

.v2 .copy-block.has-media>.cb-body {
    order: 1;
    min-width: 0;
}

.v2 .copy-block.has-media>.block-media {
    order: 2;
    margin: 0;
    align-self: start;
}

/* every second media row on a page mirrors */
.v2 .copy-block.has-media.is-flip>.block-media {
    order: 1;
}

.v2 .copy-block.has-media.is-flip>.cb-body {
    order: 2;
}

.v2 .copy-block.has-media .cb-body>*:last-child {
    margin-bottom: 0;
}

/* the inner checklist drops to one column in a half-width row */
.v2 .copy-block.has-media .cb-body .checklist {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
}

.v2 .copy-block.has-media .cb-body .steps {
    margin-top: 0;
}

.v2 .copy-block.has-media .cb-body .step {
    padding: 16px 16px 16px 58px;
}

.v2 .copy-block.has-media .cb-body .step::before {
    left: 16px;
    top: 15px;
    width: 30px;
    height: 30px;
    font-size: .74rem;
}

/* a portrait photo in a half-width row no longer needs its own cap */
.v2 .copy-block.has-media>.block-media.is-portrait {
    max-width: none;
}

@media (max-width: 860px) {
    .v2 .copy-block.has-media {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 16px;
    }

    .v2 .copy-block.has-media>.cb-body,
    .v2 .copy-block.has-media.is-flip>.cb-body {
        order: 1;
    }

    .v2 .copy-block.has-media>.block-media,
    .v2 .copy-block.has-media.is-flip>.block-media {
        order: 2;
    }

    .v2 .copy-block.has-media .cb-body .checklist {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .v2 .copy-block.has-media .cb-body .step {
        padding: 18px 20px 18px 66px;
    }

    .v2 .copy-block.has-media .cb-body .step::before {
        left: 18px;
        top: 17px;
        width: 34px;
        height: 34px;
        font-size: .8rem;
    }
}

@media (max-width: 620px) {
    .v2 .copy-block.has-media .cb-body .checklist {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Centre the photo against its text column — the two sides are
   rarely the same height, and a top-aligned image left a hole. */
.v2 .copy-block.has-media {
    align-items: center;
}

.v2 .copy-block.has-media>h2 {
    align-self: start;
}

/* Re-assert the mobile stack. The widened .content-grid rule above
   sits later in the file than the original 900px media query, so it
   was winning at every width and keeping the sidebar beside the copy
   on phones. */
@media (max-width: 900px) {
    .v2 .content-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
