/* =========================================================================
   Webshop offer landing (page-webshop-services.php)
   Full-bleed colour bands with centred inner content. Tokens only; the hero
   screenshot sits in a CSS browser frame. Feature-list blocks reuse
   feature-list.css. See _plans/plan-webshop-landing-conversion.md.
   ========================================================================= */

.wl-page {
    width: 100%;
}

/* --- Bands: full-width background, centred inner content --- */
.wl-band {
    padding: var(--space-16) 0;
}

.wl-inner {
    max-width: var(--single-content-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.wl-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    text-align: center;
    color: var(--text-primary);
    margin: 0 0 var(--space-8);
}

/* --- Buttons (anchors, so reset the global <button> sizing concerns) --- */
.wl-btn {
    display: inline-block;
    width: auto;
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    padding: var(--space-3) var(--space-8);
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.wl-btn--primary {
    background: var(--secondary);
    color: var(--white);
}

.wl-btn--primary:hover,
.wl-btn--primary:focus {
    background: var(--secondary-dark);
    color: var(--white);
}

.wl-btn--lg {
    padding: var(--space-4) var(--space-12);
    font-size: 1.1rem;
}

/* --- Hero --- */
.wl-band--hero {
    background: var(--bg-primary);
    padding-top: var(--space-12);
}

.wl-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-12);
    align-items: center;
}

.wl-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
}

.wl-hero__subhead {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 46ch;
    margin: 0 0 var(--space-8);
}

.wl-hero__cta {
    margin: 0;
}

/* The early-access form drops its pre-launch banner skin inside the hero. */
.wl-hero__form .mp-prelaunch-notice {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    text-align: left;
}

.mp-contact-form__consent {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: var(--space-3) 0 0;
}

/* --- Hero browser frame --- */
.wl-browser {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.wl-browser__bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    height: 2.25rem;
    padding: 0 var(--space-4);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.wl-browser__dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--gray-400);
}

.wl-browser__shot {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Positioning strip (the differentiator band) --- */
.wl-band--positioning {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-12) 0;
    text-align: center;
}

.wl-positioning__lead {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.4;
    color: var(--white);
    max-width: 62ch;
    margin: 0 auto var(--space-4);
}

.wl-positioning__note {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* --- Pricing --- */
.wl-band--pricing {
    background: var(--bg-primary);
}

.wl-prices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

.wl-price-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-8);
}

.wl-price-card__name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 0 var(--space-2);
}

.wl-price-card__scope {
    color: var(--text-secondary);
    margin: 0 0 var(--space-4);
}

/* Centred, and closer to the two option boxes than to the scope line above, so it
   reads as the heading of the pricing options rather than part of the intro. */
.wl-price-card__ways {
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: var(--space-4) 0 var(--space-2);
}

.wl-price-card__options {
    margin: 0 0 var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    color: var(--text-secondary);
    line-height: 1.5;
}

.wl-option {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    padding: var(--space-4);
}

.wl-option__head {
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-2);
}

.wl-option__detail {
    margin: 0;
}

.wl-option-or {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin: 0;
    color: var(--text-secondary);
    text-transform: lowercase;
}

.wl-option-or::before,
.wl-option-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.wl-price-card__cta {
    margin: auto 0 0;
}

.wl-price-card__cta .wl-btn {
    display: block;
    text-align: center;
}

/* Fine print under the button: same treatment as the contact form's consent line,
   so the two pieces of small print on this page read alike. The `auto` top margin
   on __cta above already pushes the button to the bottom of the card, so this sits
   directly beneath it. */
.wl-price-card__note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: var(--space-3) 0 0;
}

/* --- Feature-list blocks (benefits + how-it-works) --- */
.wl-band--benefits {
    background: var(--bg-secondary);
}

.wl-band--howto {
    background: var(--bg-primary);
}

.wl-band--benefits .mp-feature-list__heading,
.wl-band--howto .mp-feature-list__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 400;
    text-align: center;
    margin: 0 0 var(--space-8);
}

.wl-band--benefits .mp-feature-list-wrap,
.wl-band--howto .mp-feature-list-wrap {
    margin: 0;
}

/* --- Page content (standard WP editor) --- */
.wl-band--content {
    background: var(--bg-secondary);
}

.wl-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.wl-content > :first-child {
    margin-top: 0;
}

.wl-content > :last-child {
    margin-bottom: 0;
}

.wl-content h2,
.wl-content h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
}

.wl-content a {
    color: var(--primary);
}

[data-theme="dark"] .wl-content a {
    color: var(--brand-sage-light, #7fa068);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .wl-content a {
        color: var(--brand-sage-light, #7fa068);
    }
}

/* --- Final call to action --- */
.wl-band--cta {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.wl-cta__title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--white);
    margin: 0 0 var(--space-6);
}

.wl-cta__action {
    margin: 0 0 var(--space-4);
}

.wl-cta__terms {
    margin: 0;
}

.wl-cta__terms a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 880px) {
    .wl-band {
        padding: var(--space-12) 0;
    }

    .wl-hero {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .wl-prices {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
}
