/* ==========================================================
   BYONPB — Home  ·  teal glass design system
   ========================================================== */
:root {
    --court: #2d93ac;
    --court-light: #5bb8cf;
    --court-dark: #1e6b80;
    --court-pale: #edf7fa;
    --court-pale2: #d0eef5;
    --teal-border: rgba(45, 147, 172, .22);
    --teal-glow: rgba(91, 184, 207, .35);
    --yellow: #facc15;
    --yellow-dark: #ca8a04;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;
    --white: #fff;
    --off-white: #fafafa;
    --border: rgba(15, 23, 42, .08);
    --border-strong: rgba(45, 147, 172, .32);
    --glass: rgba(255, 255, 255, .62);
    --glass-strong: rgba(255, 255, 255, .82);
    --glass-border: rgba(255, 255, 255, .65);
    --blur: blur(20px) saturate(160%);
    --sh-sm: 0 2px 16px rgba(15, 23, 42, .06);
    --sh-md: 0 8px 32px rgba(15, 23, 42, .08);
    --sh-lg: 0 20px 48px rgba(15, 23, 42, .1);
    --sh-xl: 0 28px 64px rgba(15, 23, 42, .14);
    --sh-glass: 0 8px 32px rgba(45, 147, 172, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
    --r: 18px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul {
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--court-light);
    outline-offset: 3px;
    border-radius: 8px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--court-pale);
}

::-webkit-scrollbar-thumb {
    background: var(--court-dark);
    border-radius: 3px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 3000;
    background: var(--court-dark);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 50px;
    transition: top .25s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* image slot: gradient shows until the real image is added */
.img-slot {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 25%, rgba(91, 184, 207, .6), transparent 55%),
        radial-gradient(circle at 80% 85%, rgba(250, 204, 21, .4), transparent 50%),
        linear-gradient(135deg, var(--court) 0%, var(--court-dark) 100%);
}

.img-slot img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

img.is-missing {
    visibility: hidden;
}

.img-slot img,
.qr img {
    color: transparent;
    font-size: 0;
}

/* hide alt text while an image is missing */

/* ---------- Keyframes ---------- */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-36px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(36px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-20px) rotate(6deg)
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.3);
        opacity: .7
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes gradientMove {

    0%,
    100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

@keyframes glassShine {
    0% {
        background-position: -100% 0
    }

    100% {
        background-position: 200% 0
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: .6
    }

    100% {
        transform: scale(4);
        opacity: 0
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(.5);
        opacity: 0
    }

    60% {
        transform: scale(1.08);
        opacity: 1
    }

    100% {
        transform: scale(1)
    }
}

@keyframes progress {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

/* ---------- Reveal ---------- */
.reveal {
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
    transition-delay: var(--d, 0s);
}

/* hidden only after home.js runs (adds .reveal-on to <html>); if the script is missing, content still shows */
.reveal-on .reveal {
    opacity: 0;
    transform: translateY(34px);
}

.reveal-on .reveal.from-left {
    transform: translateX(-36px);
}

.reveal-on .reveal.from-right {
    transform: translateX(36px);
}

.reveal-on .reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------- Type ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    color: var(--court-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
    box-shadow: var(--sh-sm);
}

.tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--court);
    box-shadow: 0 0 0 3px rgba(45, 147, 172, .18);
}

.tag-dark {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    box-shadow: none;
}

.tag-dark::before {
    background: var(--yellow);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, .25);
    animation: pulse 2s ease-in-out infinite;
}

.h2 {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

/* gradient text — padding keeps letter tops (and g/p tails) from being cut off */
.grad-teal,
.grad-light {
    padding: .1em 0 .16em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.grad-teal {
    background: linear-gradient(135deg, var(--court), var(--court-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--court);
}

.grad-light {
    background: linear-gradient(135deg, #fff 20%, var(--court-light) 65%, var(--yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

.sec-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
}

.sec-head .h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-2);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    padding: 14px 30px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s, background .25s, border-color .25s, color .25s;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform .3s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-sm {
    font-size: 14px;
    padding: 10px 22px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--court), var(--court-dark));
    color: #fff;
    box-shadow: var(--sh-md), 0 0 0 1px rgba(255, 255, 255, .12) inset;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--court-light), var(--court));
    transform: translateY(-3px);
    box-shadow: var(--sh-lg), 0 0 26px var(--teal-glow);
}

.btn-ghost {
    background: var(--glass-strong);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    color: var(--court-dark);
    border: 1px solid var(--border-strong);
    box-shadow: var(--sh-sm);
}

.btn-ghost:hover {
    border-color: var(--court);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.btn-white {
    background: #fff;
    color: var(--court-dark);
    box-shadow: var(--sh-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lg), 0 0 26px rgba(255, 255, 255, .35);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 255, 255, .4);
    width: 100px;
    height: 100px;
    transform: scale(0);
    animation: ripple .6s linear;
}

/* =========================================================
   HEADER — full-width glass bar, gradient top line,
   underline links, Locations dropdown, slide-in mobile drawer
   ========================================================= */
:root {
    --header-h: 78px;
}

html.bp-lock {
    overflow: hidden;
}

/* Logo (header + footer) */
.bp-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: transform .35s var(--ease);
}

.bp-logo:hover {
    transform: translateY(-1px);
}

.bp-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--court), var(--court-dark));
    box-shadow: 0 4px 14px rgba(45, 147, 172, .28);
    transition: box-shadow .35s;
}

.bp-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bp-logo:hover .bp-logo-mark {
    box-shadow: 0 6px 22px rgba(45, 147, 172, .45);
}

.bp-logo-text {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.4px;
    color: var(--text);
    white-space: nowrap;
}

.bp-logo-text b {
    font-weight: 800;
    color: var(--court);
}

.bp-logo-light .bp-logo-text {
    color: #fff;
}

.bp-logo-light .bp-logo-text b {
    color: var(--court-light);
}

.bp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border-bottom: 1px solid rgba(45, 147, 172, .12);
    transition: background .35s, box-shadow .35s;
}

.bp-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--court-dark), var(--court), var(--court-light), var(--yellow));
}

.bp-header.is-scrolled {
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
}

.bp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: height .35s var(--ease);
}

.bp-header.is-scrolled .bp-header-inner {
    height: 66px;
}

.bp-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.bp-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-2);
    white-space: nowrap;
    transition: color .25s;
}

.bp-nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--court);
    transform: scaleX(0);
    transition: transform .35s var(--ease);
}

.bp-nav-link:hover {
    color: var(--text);
}

.bp-nav-link:hover::after {
    transform: scaleX(.5);
}

.bp-nav-link.is-active,
.bp-drop.is-active>.bp-drop-btn {
    color: var(--court-dark);
    font-weight: 600;
}

.bp-nav-link.is-active::after,
.bp-drop.is-active>.bp-drop-btn::after {
    transform: scaleX(1);
}

.bp-drop-btn svg {
    width: 14px;
    height: 14px;
    transition: transform .3s var(--ease);
}

/* Locations dropdown */
.bp-drop {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.bp-drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    min-width: 230px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--teal-border);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}

.bp-drop-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--teal-border);
    border-top: 1px solid var(--teal-border);
    transform: translateX(-50%) rotate(45deg);
}

.bp-drop.is-open .bp-drop-menu,
.bp-drop:hover .bp-drop-menu,
.bp-drop:focus-within .bp-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.bp-drop.is-open .bp-drop-btn svg,
.bp-drop:hover .bp-drop-btn svg {
    transform: rotate(180deg);
}

.bp-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background .2s;
}

.bp-drop-item:hover,
.bp-drop-item.is-active {
    background: var(--court-pale);
}

.bp-drop-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--court-pale);
    color: var(--court);
    border: 1px solid var(--teal-border);
}

.bp-drop-icon svg {
    width: 18px;
    height: 18px;
}

.bp-drop-item:hover .bp-drop-icon,
.bp-drop-item.is-active .bp-drop-icon {
    background: var(--court);
    color: #fff;
    border-color: var(--court);
}

.bp-drop-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.bp-drop-sub {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-3);
}

/* Right side */
.bp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--court), var(--court-dark));
    box-shadow: 0 6px 18px rgba(45, 147, 172, .3);
    transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}

.bp-cta svg {
    width: 18px;
    height: 18px;
}

.bp-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--court-light), var(--court));
    box-shadow: 0 10px 26px rgba(45, 147, 172, .42);
}

.bp-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--teal-border);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.bp-burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}

.bp-burger span:nth-child(2) {
    width: 14px;
    margin-left: 6px;
}

/* Mobile drawer */
.bp-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .3s;
}

.bp-overlay.is-open {
    opacity: 1;
}

.bp-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 24px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 60px rgba(15, 23, 42, .18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
}

.bp-drawer.is-open {
    transform: none;
    visibility: visible;
}

.bp-drawer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--court-dark), var(--court), var(--yellow));
}

.bp-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.bp-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--court-pale);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-drawer-close svg {
    width: 18px;
    height: 18px;
}

.bp-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bp-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
    transition: background .2s, color .2s;
}

.bp-drawer-link svg {
    width: 16px;
    height: 16px;
    color: var(--text-3);
    transition: transform .25s var(--ease), color .2s;
}

.bp-drawer-link:hover,
.bp-drawer-link.is-active {
    background: var(--court-pale);
    color: var(--court-dark);
}

.bp-drawer-link.is-active {
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--court);
}

.bp-drawer-link:hover svg,
.bp-drawer-link.is-active svg {
    color: var(--court);
    transform: translateX(3px);
}

.bp-drawer-label {
    margin: 14px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-3);
}

.bp-drawer-locs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bp-drawer .bp-cta-block {
    margin-top: 20px;
    padding: 14px 22px;
    font-size: 15px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.bp-footer {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: #fff;
}

.bp-footer-wave {
    line-height: 0;
}

.bp-footer-wave svg {
    display: block;
    width: 100%;
    height: 64px;
}

.bp-footer-glow {
    position: absolute;
    width: 640px;
    height: 320px;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(45, 147, 172, .16), transparent 70%);
    pointer-events: none;
}

.bp-footer-top,
.bp-footer-bottom {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.bp-footer-top {
    display: grid;
    grid-template-columns: 1.3fr 3fr;
    gap: 56px;
    padding-top: 40px;
    padding-bottom: 52px;
}

.bp-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bp-footer-tag {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .78);
    max-width: 290px;
}

.bp-footer-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.bp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bp-footer-title {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.bp-footer-col a {
    width: fit-content;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .75);
    transition: color .25s, transform .3s;
}

.bp-footer-col a:hover {
    color: var(--court-light);
    transform: translateX(5px);
}

.bp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 26px;
    border-top: 1px solid rgba(91, 184, 207, .2);
}

.bp-footer-bottom p {
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .65);
}

.bp-social {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.bp-social a,
.bp-top {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(45, 147, 172, .18);
    border: 1px solid rgba(91, 184, 207, .3);
    color: rgba(255, 255, 255, .88);
    transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}

.bp-social svg {
    width: 16px;
    height: 16px;
}

.bp-social a:hover,
.bp-top:hover {
    background: var(--court);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 147, 172, .35);
}

.bp-top {
    margin-left: 8px;
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
}

.bp-top:hover {
    background: #fde047;
    color: var(--dark);
}

/* Header + footer responsive */
@media (max-width:1100px) {
    .bp-nav {
        display: none;
    }

    .bp-burger {
        display: flex;
    }

    .bp-footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bp-footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {
    .bp-footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width:540px) {
    :root {
        --header-h: 66px;
    }

    .bp-header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .bp-header.is-scrolled .bp-header-inner {
        height: 60px;
    }

    .bp-logo-mark {
        width: 36px;
        height: 36px;
    }

    .bp-logo-text {
        font-size: 19px;
    }

    .bp-actions .bp-cta {
        padding: 9px 14px;
        font-size: 13px;
    }

    .bp-actions .bp-cta svg {
        display: none;
    }

    .bp-footer-top,
    .bp-footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bp-footer-wave svg {
        height: 40px;
    }
}

@media (max-width:380px) {
    .bp-actions .bp-cta {
        display: none;
    }

    .bp-footer-nav {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   HERO — split, light
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 120px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 10% 20%, rgba(45, 147, 172, .16) 0%, transparent 50%),
        radial-gradient(ellipse 90% 70% at 90% 80%, rgba(250, 204, 21, .12) 0%, transparent 45%),
        linear-gradient(165deg, #edf7fa 0%, #fafafa 50%, #fefce8 100%);
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45, 147, 172, .12) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    -webkit-mask: linear-gradient(180deg, #000 40%, transparent);
    mask: linear-gradient(180deg, #000 40%, transparent);
}

.orb-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: transform .3s ease-out;
}

.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatSlow 9s ease-in-out infinite;
}

.orb-1 {
    width: 520px;
    height: 520px;
    top: -170px;
    left: -140px;
    background: radial-gradient(circle, rgba(45, 147, 172, .22), transparent 70%);
}

.orb-2 {
    width: 380px;
    height: 380px;
    bottom: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(250, 204, 21, .2), transparent 70%);
    animation-delay: 3s;
}

.orb-3 {
    width: 220px;
    height: 220px;
    top: 45%;
    left: 48%;
    background: radial-gradient(circle, rgba(91, 184, 207, .16), transparent 70%);
    animation-delay: 1.5s;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.hero-copy .tag {
    animation: fadeLeft .7s var(--ease) both;
}

.hero-title {
    font-size: clamp(40px, 5.6vw, 74px);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -2px;
    margin-bottom: 22px;
    animation: fadeLeft .7s var(--ease) .1s both;
}

.hero-title .line2 {
    display: block;
}

.hero-title .underline {
    position: relative;
    white-space: nowrap;
    z-index: 0;
}

.hero-title .underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .08em;
    height: .18em;
    border-radius: 4px;
    background: var(--yellow);
    opacity: .5;
    z-index: -1;
}

.hero-sub {
    font-size: clamp(16px, 1.5vw, 18.5px);
    line-height: 1.8;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 36px;
    animation: fadeLeft .7s var(--ease) .2s both;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeLeft .7s var(--ease) .3s both;
}

.hero-factors {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
    animation: fadeLeft .7s var(--ease) .4s both;
}

.hero-factors span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--court-dark);
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--teal-border);
}

.hero-factors svg {
    width: 16px;
    height: 16px;
    color: var(--court);
}

.hero-visual {
    position: relative;
    animation: fadeRight .8s var(--ease) .2s both;
}

.hero-photo {
    border-radius: 28px;
    aspect-ratio: 4/4.3;
    box-shadow: var(--sh-xl);
    border: 6px solid rgba(255, 255, 255, .75);
    transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
    transition: transform .6s var(--ease);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .35));
    pointer-events: none;
}

.widget {
    position: absolute;
    z-index: 3;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--sh-glass), var(--sh-lg);
    animation: bounceIn .8s var(--ease) both;
    transition: transform .35s var(--ease);
}

.widget:hover {
    transform: scale(1.04);
}

.widget-inner {
    animation: floatY 6s ease-in-out infinite;
}

.w1 {
    top: -22px;
    right: -18px;
    animation-delay: .6s;
}

.w2 {
    bottom: 40px;
    left: -34px;
    animation-delay: .8s;
}

.w3 {
    bottom: -24px;
    right: 36px;
    animation-delay: 1s;
}

.w-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 8px;
}

.w-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--court);
    animation: pulse 2s infinite;
}

.w-chips {
    display: flex;
    gap: 6px;
}

.w-chip {
    font-size: 11px;
    font-weight: 700;
    color: var(--court-dark);
    background: var(--court-pale);
    border: 1px solid var(--teal-border);
    padding: 4px 10px;
    border-radius: 8px;
}

.w-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.w-ball {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background: radial-gradient(circle at 35% 35%, #fde68a, var(--yellow) 55%, var(--yellow-dark));
    box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .12), 0 4px 12px rgba(202, 138, 4, .3);
}

.w-title {
    font-size: 13px;
    font-weight: 700;
}

.w-sub {
    font-size: 11px;
    color: var(--text-3);
}

.w-badge {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--court);
    padding: 3px 9px;
    border-radius: 6px;
}

.w-avatars {
    display: flex;
}

.w-avatars i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
}

.w-avatars i:first-child {
    margin-left: 0;
}

.wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
    z-index: 2;
}

.wave svg {
    width: 100%;
    height: 70px;
}

/* =========================================================
   INTRO — bento factors
   ========================================================= */
.intro {
    position: relative;
    background: #fff;
    padding: 90px 0 100px;
}

.intro .container {
    text-align: center;
}

.intro-lead {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 900px;
    margin: 0 auto;
}

.intro-lead strong {
    color: var(--text);
    font-weight: 700;
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 60px;
    text-align: left;
}

.bento-card {
    --accent: var(--court);
    position: relative;
    overflow: hidden;
    padding: 30px 28px;
    border-radius: 24px;
    background: linear-gradient(160deg, #fff 0%, var(--court-pale) 100%);
    border: 1px solid var(--teal-border);
    box-shadow: var(--sh-sm);
    transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}

.bento-card:nth-child(2) {
    --accent: var(--yellow-dark);
    background: linear-gradient(160deg, #fff 0%, #fefce8 100%);
    border-color: rgba(202, 138, 4, .2);
}

.bento-card:nth-child(3) {
    --accent: #7c3aed;
    background: linear-gradient(160deg, #fff 0%, #f5f3ff 100%);
    border-color: rgba(124, 58, 237, .18);
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%);
    background-size: 200% 100%;
    background-position: -100% 0;
    opacity: 0;
    transition: opacity .4s;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
    border-color: var(--accent);
}

.bento-card:hover::before {
    opacity: 1;
    animation: glassShine 1.2s ease forwards;
}

.bento-num {
    position: absolute;
    right: 18px;
    top: 6px;
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    color: var(--accent);
    opacity: .1;
    transition: opacity .4s, transform .5s var(--ease);
}

.bento-card:hover .bento-num {
    opacity: .18;
    transform: translateY(-4px);
}

.bento-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent);
    margin-bottom: 22px;
    transition: transform .4s var(--ease);
}

.bento-icon svg {
    width: 24px;
    height: 24px;
}

.bento-card:hover .bento-icon {
    transform: rotate(-8deg) scale(1.08);
}

.bento-name {
    display: block;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.3px;
    margin-bottom: 4px;
}

.bento-note {
    display: block;
    font-size: 14.5px;
    color: var(--text-2);
}

/* =========================================================
   CLOSEST MATCH — dark panel + radar
   ========================================================= */
.match {
    padding: 40px 0 110px;
    background: #fff;
}

.match-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 72px 64px;
    border-radius: 36px;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 80% at 20% 50%, rgba(45, 147, 172, .4), transparent 60%),
        linear-gradient(150deg, #12324a 0%, var(--dark) 65%);
    box-shadow: var(--sh-xl);
}

.match-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .45;
    pointer-events: none;
    background-image: linear-gradient(rgba(91, 184, 207, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 184, 207, .08) 1px, transparent 1px);
    background-size: 44px 44px;
}

.match-panel>* {
    position: relative;
}

.match-copy .h2 {
    color: #fff;
}

.match-copy .p {
    color: rgba(255, 255, 255, .78);
    max-width: 470px;
    margin-bottom: 30px;
}

.link-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    background: #fff;
    padding: 13px 16px 13px 24px;
    border-radius: 50px;
    box-shadow: var(--sh-md);
    transition: transform .35s var(--ease), box-shadow .35s;
}

.link-pill .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--court);
    color: #fff;
    font-size: 14px;
    transition: transform .3s var(--ease);
}

.link-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lg), 0 0 26px rgba(91, 184, 207, .4);
}

.link-pill:hover .arrow {
    transform: translateX(4px);
}

.radar-fig {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.radar {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 16px;
    background: radial-gradient(circle, rgba(45, 147, 172, .22) 0%, rgba(15, 23, 42, .2) 70%);
    border: 1px solid rgba(91, 184, 207, .3);
    box-shadow: 0 0 0 14px rgba(91, 184, 207, .06), 0 0 80px rgba(45, 147, 172, .35);
    animation: floatY 8s ease-in-out infinite;
}

.radar svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.radar-rings circle {
    fill: none;
    stroke: rgba(91, 184, 207, .35);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}

.radar-axis {
    stroke: rgba(91, 184, 207, .2);
    stroke-width: 1;
}

.radar-sweep {
    transform-origin: 180px 180px;
    animation: spin 6s linear infinite;
}

.radar-dot circle {
    stroke: var(--dark);
    stroke-width: 3;
}

.radar-dot text {
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    text-anchor: middle;
    fill: #fff;
}

.radar-dot.near circle {
    fill: var(--court-light);
    filter: drop-shadow(0 0 8px rgba(91, 184, 207, .8));
}

.radar-dot.far circle {
    fill: var(--yellow);
    opacity: .85;
}

.radar-dot.far text {
    fill: rgba(255, 255, 255, .6);
}

.radar-you {
    fill: #fff;
    stroke: var(--yellow);
    stroke-width: 4;
}

.radar-cap {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
}

/* =========================================================
   FEATURES — tabs + phone
   ========================================================= */
.features {
    padding: 110px 0;
    background: linear-gradient(180deg, var(--court-pale) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .6;
    pointer-events: none;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.features .container {
    position: relative;
}

.features .sec-head .h2 {
    max-width: none;
}

.feat-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: center;
}

.feat-tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feat-tab {
    --accent: var(--court);
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: 22px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, background .3s;
}

.feat-tab:nth-child(2) {
    --accent: var(--yellow-dark);
}

.feat-tab:nth-child(3) {
    --accent: #7c3aed;
}

.feat-tab:hover {
    background: rgba(255, 255, 255, .9);
    transform: translateX(6px);
    box-shadow: var(--sh-md);
}

.feat-tab.active {
    background: #fff;
    border-color: var(--accent);
    box-shadow: var(--sh-lg);
    transform: translateX(8px);
}

.feat-tab .bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
}

.feat-tab.active .bar {
    animation: progress 6s linear forwards;
}

.features.paused .feat-tab.active .bar {
    animation-play-state: paused;
}

.feat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
    transition: background .3s, color .3s, transform .35s var(--ease);
}

.feat-icon svg {
    width: 24px;
    height: 24px;
}

.feat-tab.active .feat-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(-6deg);
}

.feat-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.2px;
    margin-bottom: 6px;
    color: var(--text);
}

.feat-tab .p {
    font-size: 14.5px;
}

.phone-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.phone {
    position: relative;
    width: 390px;
    height: 800px;
    border-radius: 46px;
    padding: 12px;
    background: linear-gradient(160deg, var(--dark), var(--dark-2));
    border: 2px solid rgba(255, 255, 255, .12);
    box-shadow: var(--sh-xl), 0 0 0 1px rgba(45, 147, 172, .15);
    transition: transform .55s var(--ease);
}

.phone:hover {
    transform: perspective(900px) rotateY(-6deg) translateY(-8px);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 26px;
    border-radius: 0 0 16px 16px;
    background: var(--dark);
    z-index: 5;
}

.phone-screens {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
}

.phone-screen {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .5s, transform .6s var(--ease);
}

.phone-screen.active {
    opacity: 1;
    transform: none;
}

.phone-screen .img-slot {
    width: 100%;
    height: 100%;
}

.screen-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    text-align: center;
    padding: 24px;
    font-weight: 700;
    font-size: 18px;
}

.screen-fallback svg {
    width: 44px;
    height: 44px;
    opacity: .9;
}

.phone-glow {
    width: 220px;
    height: 22px;
    border-radius: 50%;
    background: rgba(45, 147, 172, .4);
    filter: blur(20px);
}

/* =========================================================
   CLOSER — animated gradient CTA
   ========================================================= */
.closer {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: linear-gradient(135deg, #edf7fa 0%, #fefce8 40%, #fafafa 70%, #edf7fa 100%);
    background-size: 300% 300%;
    animation: gradientMove 12s ease infinite;
}

.closer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image: linear-gradient(rgba(45, 147, 172, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 147, 172, .07) 1px, transparent 1px);
    background-size: 48px 48px;
}

.closer-orb {
    position: absolute;
    width: 620px;
    height: 620px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 147, 172, .16), transparent 70%);
}

.closer-card {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 48px;
    border-radius: 32px;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--sh-glass);
}

.closer-line {
    font-size: clamp(26px, 3.8vw, 48px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1.2px;
    margin-bottom: 36px;
}

.closer-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
    padding: 110px 0;
    background: #fff;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: faq;
}

.faq-item {
    counter-increment: faq;
    border-radius: 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
    transition: border-color .3s, box-shadow .3s, background .3s;
}

.faq-item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--sh-md);
    background: #fff;
}

.faq-item[open] {
    background: #fff;
    border-color: var(--court);
    box-shadow: var(--sh-lg), 0 0 0 3px rgba(45, 147, 172, .08);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    font-size: 17px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: counter(faq, decimal-leading-zero);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--court-dark);
    background: var(--court-pale);
    border: 1px solid var(--teal-border);
    transition: background .3s, color .3s;
}

.faq-item[open] summary::before {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

.faq-item summary .q {
    flex: 1;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--court-dark);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid var(--teal-border);
    transition: transform .35s var(--ease), background .25s, color .25s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    background: var(--court);
    color: #fff;
    border-color: var(--court);
}

.faq-body {
    padding: 0 24px 24px 82px;
}

.faq-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-2);
}

.faq-item[open] .faq-body {
    animation: slideDown .35s var(--ease);
}

/* =========================================================
   GET THE APP — teal card
   ========================================================= */
.app {
    padding: 30px 0 110px;
    background: #fff;
}

.app-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    padding: 64px;
    border-radius: 36px;
    color: #fff;
    background: linear-gradient(135deg, var(--court) 0%, var(--court-dark) 60%, #164f5f 100%);
    box-shadow: var(--sh-xl), 0 30px 70px rgba(45, 147, 172, .25);
}

.app-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .6;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .12) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    -webkit-mask: linear-gradient(90deg, #000, transparent 70%);
    mask: linear-gradient(90deg, #000, transparent 70%);
}

.app-card::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, .28), transparent 70%);
    pointer-events: none;
}

.app-card>* {
    position: relative;
    z-index: 1;
}

.app-card h2 {
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.app-card h2+p {
    font-size: 16.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .88);
    max-width: 520px;
    margin-bottom: 30px;
}

.app-mobile-btn {
    display: none;
    margin-bottom: 18px;
}

.stores {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px;
    border-radius: 14px;
    background: var(--dark);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--sh-md);
    transition: transform .35s var(--ease), box-shadow .35s, background .25s;
}

.store:hover {
    transform: translateY(-4px);
    background: #000;
    box-shadow: var(--sh-lg);
}

.store svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.store .apple path {
    fill: #fff;
}

.store span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store small {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.store strong {
    font-size: 16px;
    font-weight: 700;
}

.app-visual {
    position: relative;
    height: 360px;
}

.app-photo {
    position: absolute;
    right: 30px;
    top: 0;
    width: 250px;
    height: 330px;
    border-radius: 26px;
    transform: rotate(5deg);
    border: 5px solid rgba(255, 255, 255, .35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.qr {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 12px;
    border-radius: 22px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    transform: rotate(-4deg);
    transition: transform .45s var(--ease);
}

.qr:hover {
    transform: rotate(0) translateY(-6px);
}

.qr img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background: var(--court-pale);
}

.qr p {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    text-align: center;
    max-width: 150px;
    line-height: 1.4;
}

/* =========================================================
   RELATED
   ========================================================= */
.related {
    padding: 0 0 110px;
    background: #fff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.rel-card {
    --accent: var(--court);
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 26px 24px;
    border-radius: 22px;
    background: var(--off-white);
    border: 1px solid var(--border);
    transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, background .3s;
}

.rel-card:nth-child(2) {
    --accent: #dc2626;
}

.rel-card:nth-child(3) {
    --accent: var(--yellow-dark);
}

.rel-card:nth-child(4) {
    --accent: #7c3aed;
}

.rel-card:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: var(--accent);
    box-shadow: var(--sh-lg);
}

.rel-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    transition: transform .35s var(--ease);
}

.rel-icon svg {
    width: 22px;
    height: 22px;
}

.rel-card:hover .rel-icon {
    transform: rotate(-8deg) scale(1.08);
}

.rel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
}

.rel-foot .arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s;
}

.rel-card:hover .arrow {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateX(4px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1000px) {
    .hero {
        padding: 140px 0 110px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-copy {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-btns,
    .hero-factors {
        justify-content: center;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .match-panel {
        grid-template-columns: 1fr;
        padding: 56px 36px;
        text-align: center;
    }

    .match-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feat-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .phone-wrap {
        order: -1;
    }

    .app-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 52px 36px;
    }

    .app-card h2+p {
        margin-left: auto;
        margin-right: auto;
    }

    .stores {
        justify-content: center;
    }

    .app-visual {
        width: 420px;
        max-width: 100%;
        margin: 0 auto;
    }

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

@media (max-width:768px) {

    .intro,
    .features,
    .faq {
        padding: 70px 0;
    }

    .match {
        padding: 20px 0 70px;
    }

    .app {
        padding: 10px 0 70px;
    }

    .related {
        padding-bottom: 70px;
    }

    .closer {
        padding: 80px 0;
    }

    .sec-head {
        margin-bottom: 40px;
    }

    .bento {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }

    .w1 {
        right: -6px;
    }

    .w2 {
        left: -8px;
    }

    .w3 {
        display: none;
    }

    .feat-tab:hover,
    .feat-tab.active {
        transform: none;
    }

    .phone {
        width: 260px;
        height: 540px;
    }

    .closer-card {
        padding: 40px 24px;
    }

    .app-mobile-btn {
        display: inline-flex;
    }

    .app-visual {
        display: none;
    }

    .faq-body {
        padding-left: 24px;
    }
}

@media (max-width:540px) {
    html {
        scroll-padding-top: 90px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 100px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .widget {
        padding: 10px 12px;
    }

    .w-chip {
        font-size: 10px;
        padding: 3px 7px;
    }

    .tag {
        font-size: 10px;
        padding: 6px 14px;
    }

    .match-panel,
    .app-card {
        padding: 44px 22px;
        border-radius: 28px;
    }

    .radar {
        max-width: 290px;
    }

    .feat-tab {
        padding: 18px;
        gap: 14px;
    }

    .feat-icon {
        width: 44px;
        height: 44px;
    }

    .phone {
        width: 230px;
        height: 476px;
        border-radius: 40px;
    }

    .closer-btns {
        flex-direction: column;
        width: 100%;
    }

    .closer-btns .btn {
        width: 100%;
    }

    .stores {
        flex-direction: column;
        align-items: center;
    }

    .store {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }

    .app-mobile-btn {
        width: 100%;
    }

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

    .faq-item summary {
        font-size: 15.5px;
        gap: 12px;
        padding: 18px;
    }

    .faq-item summary::before {
        width: 34px;
        height: 34px;
    }
}

@media (hover:none) and (pointer:coarse) {

    .bento-card:hover,
    .rel-card:hover,
    .phone:hover {
        transform: none;
    }

    .hero-photo {
        transform: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal-on .reveal {
        opacity: 1;
        transform: none;
    }
}
/* ===== App section: support & legal contact (model content) ===== */
.app-contact {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    display: grid;
    gap: 10px;
    max-width: 560px;
}

.app-contact p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}

.app-contact strong {
    font-weight: 700;
    color: #fff;
}

.app-contact a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.app-contact a:hover {
    text-decoration-thickness: 2px;
}

.app-note {
    font-size: 13.5px !important;
    line-height: 1.55;
    color: rgba(255, 255, 255, .7) !important;
}

@media (max-width:760px) {
    .app-contact {
        margin-top: 20px;
        padding-top: 18px;
    }
}

/* ===== Related grid: 5-up variant (used where Tournaments is included) ===== */
@media (min-width:1001px) {
    .related-grid.five {
        grid-template-columns: repeat(5, 1fr);
    }

    .related-grid.five .rel-foot {
        font-size: 15.5px;
    }
}


/* ==========================================================
   CLUBS teaser (home page, after "Competitive or casual.")
   ========================================================== */
.clubs-sec {
    position: relative;
    padding: 90px 0;
    background: var(--court-pale);
}

.clubs-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
    padding: 56px;
    border-radius: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--sh-lg);
}

.clubs-copy .h2 { margin-bottom: 16px; }
.clubs-copy .p { max-width: 44ch; margin-bottom: 28px; }
.clubs-btn { margin-top: 4px; }

.clubs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.clubs-item {
    padding: 26px 24px 28px;
    border-radius: 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

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

.clubs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 12px;
    color: var(--court-dark);
    background: var(--court-pale2);
}

.clubs-icon svg { width: 20px; height: 20px; }

.clubs-item h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text);
}

.clubs-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-2);
}

@media (max-width:1000px) {
    .clubs-card { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
    .clubs-copy .p { max-width: none; }
}

@media (max-width:768px) {
    .clubs-sec { padding: 64px 0; }
    .clubs-card { padding: 30px 24px; border-radius: 26px; }
    .clubs-grid { grid-template-columns: 1fr; gap: 14px; }
    .clubs-item { padding: 22px 20px; }
}