/* =====================================================
   PUZZLE FRENZY PRODUCT PAGE
   Local development. Does not change shared app-page CSS.
===================================================== */

.puzzle-page{
    max-width:1080px;
    margin:0 auto;
    text-align:center;
}

.puzzle-page .site-footer{
    margin-top:12px;
}

.pz-section{
    margin:0 0 64px;
}

.pz-lead,
.pz-support{
    max-width:640px;
    margin:0 auto 16px;

    color:rgba(255,255,255,.88);
    font-size:18px;
    line-height:1.5;
}

.pz-support{
    color:rgba(255,255,255,.78);
    font-size:16px;
}

.pz-kicker{
    margin:0 0 8px;

    color:#20dcff;

    font-family:Montserrat,Arial,sans-serif;
    font-size:13px;
    font-weight:700;
    letter-spacing:1.6px;
    text-transform:uppercase;
}

/* =====================================================
   HERO
===================================================== */

.pz-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,460px);
    gap:36px 28px;
    align-items:center;

    margin-bottom:72px;
    text-align:left;
}

.pz-hero-copy{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.pz-logo{
    display:block;
    width:min(240px,70%);
    height:auto;
    margin:0 0 18px;
}

.pz-hero .product-status-line{
    margin:0 0 18px;
}

.pz-headline{
    margin:0 0 22px;

    color:#fff;

    font-family:Montserrat,Arial,sans-serif;
    font-size:clamp(20px,2.28vw,32px);
    font-weight:700;
    line-height:1.16;
    letter-spacing:-.3px;
}

.pz-headline span{
    display:block;
}

.pz-line-white{
    color:#fff;
}

.pz-line-gold{
    color:#ffbf3f;
}

.pz-headline-rule{
    display:block;
    position:relative;
    width:min(11.2em,100%);
    height:16px;
    margin:14px 0 18px;
}

.pz-headline-rule::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:2px;
    background:#ffbf3f;
    transform:translateY(-50%);
}

.pz-headline-rule::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:9px;
    height:9px;
    background:#ffbf3f;
    transform:translate(-50%,-50%) rotate(45deg);
}

.pz-line-teal{
    color:#20dcff;
    margin-top:4px;
}

.pz-launch-link{
    display:inline-flex;
    align-items:center;
    margin:0;

    padding:12px 16px;
    border:1px solid rgba(32,220,255,.55);
    border-radius:14px;

    color:#20dcff;
    background:rgba(0,16,40,.28);

    font-family:Montserrat,Arial,sans-serif;
    font-size:13px;
    font-weight:700;
    letter-spacing:.3px;
    text-decoration:none;
}

.pz-launch-link:link,
.pz-launch-link:visited,
.pz-launch-link:hover,
.pz-launch-link:focus,
.pz-launch-link:focus-visible,
.pz-launch-link:active{
    color:#20dcff;
}

.pz-launch-link:hover,
.pz-launch-link:focus-visible{
    text-decoration:underline;
}

/* =====================================================
   FRAMED SCREENSHOTS
   Scale uniformly. Do not crop or stretch.
===================================================== */

.pz-slot{
    margin:0;
}

.pz-shot{
    display:block;
    width:100%;
    height:auto;
    margin:0 auto;
    object-fit:contain;
}

.pz-hero .pz-shot,
.pz-mode-pair .pz-shot{
    max-width:280px;
}

.pz-hero-phones{
    position:relative;
    width:min(100%,440px);
    aspect-ratio:440 / 700;
    margin:0 auto;
}

.pz-phone{
    position:absolute;
    height:auto;
    filter:drop-shadow(0 16px 18px rgba(0,12,32,.42));
}

.pz-phone-home{
    width:60%;
    left:6%;
    top:1%;
    z-index:1;
    transform:rotate(-7deg);
}

.pz-phone-trace{
    width:64%;
    right:4%;
    top:13%;
    z-index:2;
    transform:rotate(6deg);
}

/* =====================================================
   DAILY 10
===================================================== */

.pz-free{
    display:inline-block;
    margin:8px 0 0;
    padding:10px 16px;

    border-radius:999px;
    background:rgba(255,191,63,.14);
    color:#ffbf3f;

    font-family:Montserrat,Arial,sans-serif;
    font-size:16px;
    font-weight:700;

    cursor:default;
}

/* =====================================================
   FEATURED
===================================================== */

.pz-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px 20px;
    margin-top:28px;
}

.pz-card{
    margin:0;
    padding:16px 14px 18px;

    border:1px solid rgba(255,255,255,.12);
    border-radius:22px;
    background:rgba(0,20,48,.28);
}

.pz-card:nth-child(even){
    border-color:rgba(255,191,63,.28);
}

.pz-card h3{
    margin:14px 0 6px;

    font-family:Montserrat,Arial,sans-serif;
    font-size:18px;
    font-weight:700;
}

.pz-hook{
    margin:0;

    color:#20dcff;

    font-size:15px;
    line-height:1.35;
}

/* =====================================================
   AND MORE
===================================================== */

.pz-more{
    margin-top:28px;
    padding:28px 22px 26px;

    border-radius:24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(32,220,255,.16), transparent 55%),
        rgba(0,16,40,.35);
}

.pz-more-mark{
    margin:0 0 16px;

    color:#20dcff;

    font-family:"Kaushan Script",cursive;
    font-size:clamp(28px,4vw,40px);
    font-weight:400;
    line-height:1;
    text-align:center;
}

.pz-more p:not(.pz-more-mark){
    max-width:620px;
    margin:0 auto;

    color:rgba(255,255,255,.88);
    font-size:17px;
    line-height:1.5;
}

/* =====================================================
   MODES
===================================================== */

.pz-mode-headline{
    margin:0;

    font-family:Montserrat,Arial,sans-serif;
    font-size:clamp(28px,4vw,40px);
    font-weight:700;
    line-height:1.12;
}

.pz-mode-pair{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    max-width:720px;
    margin:32px auto 0;
}

.pz-mode-pair article{
    margin:0;
}

.pz-mode-pair h3{
    margin:14px 0 8px;

    font-family:Montserrat,Arial,sans-serif;
    font-size:18px;
    font-weight:700;
}

.pz-mode-pair p{
    margin:0 auto;
    max-width:300px;

    color:rgba(255,255,255,.82);
    font-size:16px;
    line-height:1.45;
}

.pz-may-intro{
    margin:26px 0 0;

    font-family:Montserrat,Arial,sans-serif;
    font-size:16px;
    font-weight:700;
}

.pz-may{
    max-width:680px;
    margin:12px auto 0;
    padding:0;
    list-style:none;

    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
}

.pz-may li{
    padding:7px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.08);

    color:rgba(255,255,255,.86);

    font-family:Montserrat,Arial,sans-serif;
    font-size:12px;
    font-weight:700;
    letter-spacing:.2px;
}

/* =====================================================
   MEMBERSHIP
===================================================== */

.pz-plans{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    max-width:760px;
    margin:26px auto 0;
    text-align:left;
}

.pz-plan{
    margin:0;
    padding:22px 22px 18px;

    border-radius:22px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(0,20,48,.28);
}

.pz-plan-member{
    border-color:rgba(32,220,255,.4);
}

.pz-plan h3{
    margin:0 0 8px;

    font-family:Montserrat,Arial,sans-serif;
    font-size:14px;
    font-weight:700;
    letter-spacing:1.4px;
    text-transform:uppercase;
}

.pz-plan-free h3{
    color:#ffbf3f;
}

.pz-plan-member h3{
    color:#20dcff;
}

.pz-plan p,
.pz-plan li{
    color:rgba(255,255,255,.88);
    font-size:16px;
    line-height:1.45;
}

.pz-plan ul{
    margin:10px 0 0;
    padding-left:18px;
}

.pz-plan li + li{
    margin-top:4px;
}

.pz-founding{
    max-width:560px;
    margin:28px auto 0;
    padding:22px 22px 18px;

    border:1px solid rgba(255,191,63,.5);
    border-radius:22px;
    background:rgba(255,191,63,.08);
}

.pz-founding h3{
    margin:0;

    color:#ffbf3f;

    font-family:Montserrat,Arial,sans-serif;
    font-size:14px;
    font-weight:700;
    letter-spacing:1.4px;
    text-transform:uppercase;
}

.pz-founding-price{
    margin:8px 0 0;

    color:#fff;

    font-family:Montserrat,Arial,sans-serif;
    font-size:32px;
    font-weight:700;
    line-height:1.1;
}

.pz-founding-window{
    margin:6px 0 12px;

    color:#ffbf3f;

    font-family:Montserrat,Arial,sans-serif;
    font-size:14px;
    font-weight:700;
}

.pz-founding p{
    max-width:460px;
    margin:8px auto 0;

    color:rgba(255,255,255,.88);
    font-size:16px;
    line-height:1.45;
}

.pz-prices{
    max-width:560px;
    margin:22px auto 0;
    padding:0;
    list-style:none;
}

.pz-prices li{
    display:flex;
    justify-content:space-between;
    gap:16px;

    padding:12px 0;
    border-top:1px solid rgba(255,255,255,.12);

    font-size:16px;
}

.pz-prices li:last-child{
    border-bottom:1px solid rgba(255,255,255,.12);
}

.pz-prices span:first-child{
    font-family:Montserrat,Arial,sans-serif;
    font-weight:700;
}

.pz-prices span:last-child{
    color:#ffbf3f;
    text-align:right;
}

.pz-note{
    max-width:560px;
    margin:14px auto 0;

    color:rgba(255,255,255,.68);
    font-size:14px;
    line-height:1.45;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:900px){

    .pz-hero{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
        gap:28px;
    }

    .pz-hero-copy{
        align-items:center;
    }

    .pz-headline{
        font-size:clamp(28px,3.5vw,46px);
    }

    .pz-headline-rule{
        margin-left:auto;
        margin-right:auto;
    }

    .pz-hero-phones{
        width:min(92%,380px);
    }

    .pz-phone-home{
        width:56%;
        left:8%;
        transform:rotate(-6deg);
    }

    .pz-phone-trace{
        width:58%;
        right:7%;
        top:14%;
        transform:rotate(6deg);
    }

}

@media(max-width:700px){

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

    /* Nine cards in two columns: center the last one. */
    .pz-card:last-child:nth-child(odd){
        grid-column:1 / -1;
        justify-self:center;
        width:calc(50% - 10px);
    }

}

@media(max-width:560px){

    .pz-section{
        margin-bottom:48px;
    }

    .pz-hero{
        margin-bottom:48px;
    }

    .pz-headline{
        font-size:clamp(18px,4.8vw,22px);
    }

    .pz-lead,
    .pz-support{
        font-size:16px;
    }

    .pz-plans{
        grid-template-columns:1fr;
        max-width:320px;
        margin-left:auto;
        margin-right:auto;
    }

    .pz-grid{
        margin-top:22px;
        gap:16px 12px;
    }

    .pz-card:last-child:nth-child(odd){
        width:calc(50% - 6px);
    }

    .pz-mode-pair{
        margin-top:22px;
        gap:12px;
    }

    .pz-card{
        padding:12px 8px 14px;
    }

    .pz-card h3{
        font-size:16px;
    }

    .pz-hook,
    .pz-mode-pair p{
        font-size:14px;
    }

    .pz-prices li{
        align-items:baseline;
    }

}
