/*
Theme Name: Powerslide Child
Theme URI: https://powerslide.me/
Description: Custom coded child theme for Powerslide, based on Kadence.
Author: Powerslide
Template: kadence
Version: 0.1.0
Text Domain: powerslide-child
*/

:root {
    --ps-orange: #ff4a16;
    --ps-orange-dark: #e83b0a;
    --ps-ink: #172033;
    --ps-muted: #5d6572;
    --ps-line: #e7e9ed;
    --ps-bg: #f5f7f9;
    --ps-card: #ffffff;
    --ps-max: 1280px;
    --ps-radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ps-ink);
    background: var(--ps-bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

a { color: inherit; }

.ps-container {
    width: min(var(--ps-max), calc(100% - 48px));
    margin-inline: auto;
}

.ps-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ps-line);
}

.ps-header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ps-brand img {
    width: min(330px, 35vw);
    height: auto;
}

.ps-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    margin: 0;
}

.ps-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.ps-nav a:hover { color: var(--ps-orange); }

.ps-menu-toggle {
    display: none;
    border: 1px solid var(--ps-line);
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 22px;
}

.ps-hero {
    padding: 72px 0;
}

.ps-hero-grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 64px;
    align-items: center;
    background: #fbfbfa;
    padding: 52px;
    border-radius: var(--ps-radius);
}

.ps-eyebrow {
    color: var(--ps-orange);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}

.ps-hero h1 {
    font-size: clamp(52px, 6vw, 86px);
    line-height: .96;
    letter-spacing: -.045em;
    margin: 0 0 18px;
}

.ps-hero h2 {
    color: var(--ps-orange);
    font-size: clamp(24px, 3vw, 38px);
    margin: 0 0 18px;
}

.ps-lead {
    font-size: 19px;
    color: var(--ps-muted);
    max-width: 690px;
}

.ps-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 750;
    border: 1px solid var(--ps-ink);
}

.ps-btn--primary {
    background: var(--ps-orange);
    border-color: var(--ps-orange);
    color: white;
}

.ps-btn--primary:hover { background: var(--ps-orange-dark); }

.ps-btn--outline { background: transparent; }

.ps-hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.ps-section {
    padding: 66px 0;
}

.ps-section--white { background: white; }

.ps-section-head {
    margin-bottom: 34px;
}

.ps-section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -.025em;
}

.ps-section-head p {
    margin: 0;
    color: var(--ps-muted);
    font-size: 18px;
}

.ps-feature-grid,
.ps-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ps-feature {
    background: #f3f6f8;
    padding: 28px 24px;
    border-radius: 12px;
}

.ps-feature strong {
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
}

.ps-feature p {
    color: var(--ps-muted);
    margin: 0;
}

.ps-product {
    background: var(--ps-card);
}

.ps-product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.ps-product h3 {
    margin: 20px 0 8px;
    font-size: 24px;
}

.ps-product p {
    margin: 0;
    color: var(--ps-muted);
}

.ps-engineering {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px 56px;
    align-items: start;
}

.ps-engineering-copy {
    grid-column: 1 / -1;
    max-width: 1050px;
}

.ps-engineering-copy h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 8px;
}

.ps-engineering-copy h3 {
    font-size: 25px;
    margin: 0 0 14px;
}

.ps-engineering-copy p {
    color: var(--ps-muted);
    font-size: 18px;
}

.ps-cad-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    border: 1px solid var(--ps-line);
}

.ps-cad-card h4 {
    font-size: 19px;
    margin: 12px 0 0;
}

.ps-cta {
    margin: 66px auto;
    padding: 48px;
    text-align: center;
    background: #f2f1ee;
    border-radius: var(--ps-radius);
}

.ps-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
}

.ps-cta p {
    color: var(--ps-muted);
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.ps-site-footer {
    padding: 46px 0 26px;
    text-align: center;
    color: var(--ps-muted);
}

.ps-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px;
}

.ps-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid var(--ps-line);
    background: #fff;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 980px) {
    .ps-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ps-feature-grid,
    .ps-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ps-nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--ps-line);
        padding: 20px 24px;
    }
    .ps-nav.is-open { display: block; }
    .ps-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .ps-menu-toggle { display: block; }
    .ps-brand img { width: 245px; }
}

@media (max-width: 640px) {
    .ps-container { width: min(100% - 28px, var(--ps-max)); }
    .ps-header-inner { min-height: 72px; }
    .ps-nav { top: 72px; }
    .ps-brand img { width: 205px; }
    .ps-hero { padding: 28px 0; }
    .ps-hero-grid { padding: 30px 22px; }
    .ps-feature-grid,
    .ps-product-grid,
    .ps-engineering {
        grid-template-columns: 1fr;
    }
    .ps-engineering-copy { grid-column: 1; }
    .ps-section { padding: 48px 0; }
    .ps-cta { padding: 34px 22px; margin: 48px auto; }
}
