:root {
    color-scheme: light;
    --primary: #16804b;
    --primary-dark: #0d6037;
    --primary-deep: #146b43;
    --primary-light: #e5f4eb;
    --gold: #f2c23e;
    --background: #f4f7f5;
    --surface: #ffffff;
    --text: #18201c;
    --muted: #65706a;
    --border: #dce4df;
    --shadow: 0 18px 50px rgba(24, 32, 28, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

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

a {
    color: var(--primary-dark);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 1.2rem 0;
}

.brand {
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.03em;
    text-decoration: none;
}

    .brand span {
        color: var(--primary);
    }

.brand-with-logo {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.brand-text {
    color: var(--text);
}

nav {
    display: flex;
    gap: 1.25rem;
}

    nav a {
        padding: .4rem .1rem;
        color: var(--muted);
        font-weight: 700;
        text-decoration: none;
    }

        nav a:hover,
        nav a:focus-visible {
            color: var(--primary);
        }

        nav a[aria-current="page"] {
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
        }

.landing-main {
    max-width: none;
    padding: 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    width: min(1120px, calc(100% - 2.5rem));
    min-height: 680px;
    margin: 0 auto;
    padding: 4rem 0 5rem;
}

.hero-content {
    max-width: 650px;
}

.eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

h1 {
    max-width: 720px;
    margin: .5rem 0 1.3rem;
    font-size: clamp(3.3rem, 8vw, 6.2rem);
    line-height: .98;
    letter-spacing: -.06em;
}

h2 {
    margin: .35rem 0 .8rem;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

h3 {
    margin: 1rem 0 .4rem;
    font-size: 1.18rem;
    line-height: 1.3;
}

p,
li {
    color: #303a35;
}

.hero-description {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: 190px;
    padding: .65rem 1.1rem;
    border-radius: 12px;
    background: #101311;
    color: #fff;
    text-decoration: none;
}

    .store-button:hover {
        background: #252925;
    }

.store-button-disabled {
    opacity: .82;
}

.store-button small,
.store-button strong {
    display: block;
    line-height: 1.15;
}

.store-button small {
    font-size: .68rem;
}

.store-button strong {
    margin-top: .15rem;
    font-size: 1.18rem;
}

.store-icon {
    font-size: 1.7rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.launch-message {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.phone {
    width: min(340px, 86vw);
    padding: 12px;
    border: 8px solid #18201c;
    border-radius: 50px;
    background: #18201c;
    box-shadow: 0 35px 80px rgba(24, 32, 28, .25);
    transform: rotate(2deg);
}

.phone-screen {
    min-height: 610px;
    padding: 1rem;
    overflow: hidden;
    border-radius: 32px;
    background: var(--background);
}

.phone-status {
    display: flex;
    justify-content: space-between;
    color: var(--text);
    font-size: .7rem;
    font-weight: 800;
}

.app-brand {
    margin-top: 1.5rem;
    color: var(--text);
    font-size: 1.7rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

    .app-brand span {
        color: var(--primary);
    }

.app-tagline {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
}

.court-card {
    margin-top: 1.3rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(24, 32, 28, .07);
}

.court-label {
    margin: 0;
    color: var(--primary);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.court-card h2 {
    margin: .35rem 0 0;
    font-size: 1.18rem;
    letter-spacing: -.02em;
}

.court-city {
    margin: .15rem 0 0;
    color: var(--muted);
    font-size: .78rem;
}

.activity-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: .85rem;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
}

    .activity-row strong {
        color: var(--primary-dark);
    }

.activity-message {
    margin: .6rem 0 0;
    font-size: .82rem;
    font-weight: 700;
}

.phone-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-top: 1rem;
}

    .phone-metrics div {
        padding: .8rem;
        border: 1px solid var(--border);
        border-radius: 12px;
        text-align: center;
    }

    .phone-metrics strong,
    .phone-metrics span {
        display: block;
    }

    .phone-metrics strong {
        font-size: 1.1rem;
    }

    .phone-metrics span {
        margin-top: .15rem;
        color: var(--muted);
        font-size: .65rem;
    }

.who-playing {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 800;
}

.check-in-preview {
    margin-top: 1rem;
    padding: .8rem;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-size: .85rem;
    font-weight: 800;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

    .trust-strip div {
        padding: 1.4rem;
        text-align: center;
    }

        .trust-strip div + div {
            border-left: 1px solid var(--border);
        }

    .trust-strip strong,
    .trust-strip span {
        display: block;
    }

    .trust-strip span {
        margin-top: .25rem;
        color: var(--muted);
        font-size: .88rem;
    }

.content-section {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 7rem 0 1rem;
}

.section-intro {
    max-width: 670px;
    margin-bottom: 2.3rem;
}

    .section-intro p:last-child {
        color: var(--muted);
        font-size: 1.08rem;
    }

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

.feature-card {
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

    .feature-card p,
    .step p {
        margin-bottom: 0;
        color: var(--muted);
    }

.feature-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 900;
}

.how-it-works {
    padding-bottom: 7rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.step {
    padding: 1.5rem;
    border-top: 3px solid var(--primary);
    background: var(--surface);
}

.step-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 850;
}

.privacy-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: min(calc(100% - 3rem), 1120px);
    margin: 0 auto 3rem;
    padding: clamp(2rem, 6vw, 4rem);
    box-sizing: border-box;
    border-radius: 24px;
    background: var(--primary-dark);
    color: #fff;
}

    .privacy-section > div {
        max-width: 760px;
    }

    .privacy-section h2,
    .privacy-section p {
        color: #fff;
    }

.eyebrow-light {
    color: #bde8cf;
}

.light-button {
    flex: 0 0 auto;
    padding: .85rem 1.1rem;
    border-radius: 11px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.launch-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: min(900px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 6rem 0;
}

.launch-logo {
    width: 110px;
    height: 110px;
    border-radius: 24px;
}

.launch-section h2,
.launch-section p {
    margin-bottom: 0;
}

/* Existing Privacy and Support pages */

main:not(.landing-main) {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 1.25rem 4rem;
}

.card {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(24, 32, 28, .07);
}

    .card h1 {
        margin-top: .25rem;
        font-size: clamp(2.2rem, 7vw, 3.8rem);
        line-height: 1.08;
    }

.updated {
    margin-top: .6rem;
    color: var(--muted);
}

.callout {
    margin: 2rem 0;
    padding: 1.25rem;
    border-radius: 14px;
    background: var(--primary-light);
}

    .callout h2 {
        margin-top: 0;
    }

.button {
    display: inline-block;
    padding: .75rem 1rem;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

footer {
    padding: 2rem 1.25rem 2.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

    .footer-links a {
        color: var(--muted);
        font-weight: 700;
        text-decoration: none;
    }

.copyright,
footer > p {
    margin: 1.5rem auto 0;
    color: var(--muted);
    font-size: .88rem;
    text-align: center;
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        text-align: center;
    }

    .hero-content,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .app-store-link {
        display: inline-block;
        line-height: 0;
        text-decoration: none;
        transition: opacity .2s ease;
    }

        .app-store-link:hover {
            opacity: .82;
        }

        .app-store-link:focus-visible {
            outline: 3px solid var(--primary);
            outline-offset: 4px;
            border-radius: 10px;
        }

    .app-store-badge {
        display: block;
        width: 190px;
        height: auto;
    }

    .phone {
        transform: none;
    }

    .trust-strip,
    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

        .trust-strip div + div {
            border-top: 1px solid var(--border);
            border-left: 0;
        }

    .privacy-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-header {
        align-items: flex-start;
    }

    .brand-text {
        display: none;
    }

    nav {
        gap: .7rem;
    }

        nav a {
            font-size: .9rem;
        }

    h1 {
        font-size: clamp(3rem, 18vw, 4.3rem);
    }

    .hero {
        width: min(100% - 1.5rem, 1120px);
        padding-top: 2.3rem;
    }

    .content-section,
    .trust-strip,
    .launch-section {
        width: min(100% - 1.5rem, 1120px);
    }

    .launch-section {
        align-items: flex-start;
    }

    .launch-logo {
        width: 78px;
        height: 78px;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .card {
        border-radius: 14px;
    }

    .brand-name {
        color: #18201c;
    }

        .brand-name span {
            color: var(--primary);
        }

    .brand .brand-name .brand-pickle {
        color: #18201c !important;
    }

    .brand .brand-name .brand-check {
        color: #16804b !important;
    }
}

/* PickleCheck promotional video */

.video-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 3.5rem;
    width: min(100% - 3rem, 1000px);
    margin: 0 auto;
    padding: 4.5rem 0;
}

.video-copy h2 {
    max-width: 620px;
    margin: .75rem 0 1.25rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.video-copy > p:last-child {
    max-width: 580px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.promo-video-shell {
    justify-self: end;
    width: 280px;
    padding: 8px;
    border-radius: 30px;
    background: #101311;
    box-shadow: 0 22px 50px rgba(10, 30, 20, .18);
}

.promo-video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 22px;
    background: #062a1c;
    object-fit: cover;
}

.hero-visual .phone-screen {
    padding: 0;
    overflow: hidden;
}

.phone-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 760px) {
    .video-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: min(100% - 2.5rem, 1000px);
        padding: 3.5rem 0;
    }

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

        .video-copy > p:last-child {
            margin-inline: auto;
        }

    .promo-video-shell {
        justify-self: center;
        width: min(68vw, 260px);
    }
}