/* ClimbWalls home and app pages. Builds on /screenfree/assets/site.css. */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.app-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-shot {
    width: 100%;
    border: 1px solid var(--stone-800);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 40px rgba(127, 29, 29, .12);
}

.hero-shot-tall {
    max-height: 560px;
    width: auto;
    justify-self: center;
}

.availability {
    margin: 1.2rem 0 0;
    color: var(--stone-400);
    font-size: .95rem;
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1.25rem;
}

.feature-panel {
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

.feature-panel h2,
.examples h2,
.contact-panel h2 {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.examples {
    margin-bottom: 1.25rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

.examples p:last-child {
    margin-bottom: 0;
    color: var(--stone-300);
}

.shot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.shot {
    margin: 0;
    padding: .8rem;
}

.shot img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: contain;
    border-radius: .6rem;
    background: var(--stone-950);
}

.shot figcaption {
    padding: .7rem .2rem 0;
    color: var(--stone-400);
    font-size: .9rem;
}

.pricing-section {
    border-top: 1px solid var(--stone-800);
}

.pricing-section .offer-card {
    min-height: 0;
}

.pricing-section .offer-heading {
    min-height: 96px;
}

.steps-section {
    border-top: 1px solid var(--stone-800);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step-grid li {
    padding: 1.6rem;
}

.step-grid h3 {
    margin: .9rem 0 .5rem;
    font-size: 1.15rem;
}

.step-grid p {
    margin: 0;
    color: var(--stone-400);
}

.step-number {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(239, 68, 68, .4);
    border-radius: 99px;
    color: #fca5a5;
    background: rgba(127, 29, 29, .22);
    font-family: var(--font-display);
    font-weight: 800;
}

.fine-print {
    max-width: 820px;
    margin-top: 1.8rem;
    color: var(--stone-500);
    font-size: .9rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
}

.app-card {
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}

.app-card:hover {
    border-color: var(--red-800);
    transform: translateY(-3px);
}

.app-card img {
    width: 100%;
    height: 190px;
    margin-bottom: 1.2rem;
    object-fit: contain;
    border-radius: .6rem;
    background: var(--stone-950);
}

.app-card h3 {
    margin: 0 0 .5rem;
    color: #fff;
    font-size: 1.4rem;
}

.app-card p {
    flex: 1;
    color: var(--stone-400);
}

.app-price {
    color: var(--stone-200);
    font-weight: 600;
}

.app-more {
    margin-top: .8rem;
    color: var(--red-500);
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-panel {
    padding: clamp(1.6rem, 4vw, 2.6rem);
    text-align: center;
}

.contact-panel p:last-child {
    margin-bottom: 0;
}

.nav-links a[aria-current="page"] {
    color: #fff;
}

@media (max-width: 860px) {
    .app-hero {
        grid-template-columns: 1fr;
    }

    .hero-shot-tall {
        max-height: 420px;
    }
}

.app-card-soon {
    opacity: .78;
}

.app-card-soon:hover {
    border-color: var(--stone-800);
    transform: none;
}

.app-card-soon .app-more {
    color: var(--stone-400);
}

.store-action {
    margin: 0;
    padding: .8rem 1rem;
    border: 1px solid var(--stone-700);
    border-radius: .25rem;
    color: var(--stone-300);
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-align: center;
}

.cross-offers {
    margin-top: 1.25rem;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.cross-offers h3 {
    margin: 0 0 .8rem;
    font-size: 1.15rem;
}

.cross-offers .fine-print {
    margin: .8rem 0 0;
}

.single-offer {
    max-width: 420px;
}

/* Header categories ("Tool Apps" dropdown, "VTT Apps" coming soon). */
.nav-group {
    position: relative;
}

.nav-group-toggle {
    gap: .35rem;
}

.nav-group-toggle svg {
    transition: transform .18s ease;
}

.nav-group.open .nav-group-toggle svg {
    transform: rotate(180deg);
}

.nav-menu {
    position: absolute;
    z-index: 60;
    top: calc(100% + .35rem);
    left: 0;
    display: none;
    min-width: 210px;
    flex-direction: column;
    padding: .4rem;
    border: 1px solid var(--stone-800);
    border-radius: .65rem;
    background: rgba(12, 10, 9, .98);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .45);
}

/* Keep hover open while the pointer crosses the gap to the menu. */
.nav-menu::before {
    position: absolute;
    top: -.5rem;
    right: 0;
    left: 0;
    height: .5rem;
    content: "";
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group.open .nav-menu {
    display: flex;
}

.nav-menu a {
    padding: .65rem .8rem;
    border-radius: .35rem;
    color: var(--stone-300);
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: #fff;
    background: rgba(127, 29, 29, .3);
}

.nav-soon {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .4rem;
    padding: .55rem .78rem;
    color: var(--stone-500);
    font-family: var(--font-display);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: default;
}

.nav-soon small {
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: 0;
}

@media (max-width: 1023px) {
    .nav-group-toggle {
        width: 100%;
        justify-content: flex-start;
        padding-inline: .9rem;
    }

    .nav-menu {
        position: static;
        min-width: 0;
        margin: 0 0 .25rem .9rem;
        padding: .2rem 0;
        border: 0;
        border-left: 1px solid var(--stone-800);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-menu::before {
        display: none;
    }

    .nav-soon {
        padding-inline: .9rem;
    }
}
