/* ============================================================
   Wademo landing shell — redesigned header + footer
   Scope: .wm-header / .wm-footer only. Loaded after front_style.css.
   Legacy JS hooks preserved: .sticky-bar, .stick, .burger-icon.
   ============================================================ */

:root {
    --wm-ink: #0d211b;
    --wm-body: #3d4f49;
    --wm-brand: #024430;
    --wm-brand-strong: #01331f;
    --wm-brand-soft: rgba(2, 68, 48, 0.07);
    --wm-cream: #ffe7bb;
    --wm-mint: #afeae4;
    --wm-mint-soft: #e9f7f4;
    --wm-footer-bg: #01251c;
    --wm-footer-panel: #024430;
    --wm-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --wm-ease-io: cubic-bezier(0.77, 0, 0.175, 1);
    /* semantic z scale: header < dropdown < mobile drawer (legacy 1004+) */
    --wm-z-header: 1000;
    --wm-z-dropdown: 1010;
}

/* ---------------- Header ---------------- */

.wm-header,
.wm-header a,
.wm-header button,
.wm-dropdown-label,
.wm-dropdown-item strong,
.wm-dropdown-item span {
    text-transform: none;
}

.wm-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--wm-z-header);
    background: transparent;
    transition: box-shadow 250ms ease;
}

/* The translucent bar is its own layer. Putting backdrop-filter on .wm-header
   itself makes the header a backdrop root, which composites the dropdown
   against the page behind it and renders the menu see-through. */
.wm-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    transition: background-color 250ms ease;
}

/* Neutralize legacy fixed/fadeInDown sticky behavior — header is sticky from load */
.wm-header.sticky-bar.stick {
    position: sticky;
    animation: none;
    box-shadow:
        0 1px 0 rgba(2, 33, 26, 0.05),
        0 12px 32px -18px rgba(2, 33, 26, 0.28);
}

.wm-header.sticky-bar.stick::before {
    background: rgba(255, 255, 255, 0.92);
}

@supports not (
    (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
    .wm-header::before,
    .wm-header.sticky-bar.stick::before {
        background: #ffffff;
    }
}

.wm-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px clamp(16px, 4vw, 32px);
    transition: padding 250ms var(--wm-ease-out);
}

.wm-header.stick .wm-header-inner {
    padding-top: 9px;
    padding-bottom: 9px;
}

.wm-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
}

.wm-logo img {
    height: 42px;
    width: auto;
    display: block;
}

/* ---------------- Desktop nav ---------------- */

.wm-nav {
    display: none;
    align-items: center;
    gap: 2px;
    margin-inline: auto;
}

@media (min-width: 1200px) {
    .wm-nav {
        display: flex;
    }
}

.wm-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1;
    color: var(--wm-ink);
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wm-nav-link:hover {
        background: var(--wm-brand-soft);
        color: var(--wm-brand);
    }
}

.wm-nav-link:focus-visible {
    outline: 2px solid var(--wm-brand);
    outline-offset: 2px;
}

.wm-nav-link .wm-chevron {
    transition: transform 200ms var(--wm-ease-out);
}

/* ---------------- Dropdown ---------------- */

.wm-nav-item {
    position: relative;
}

/* hover-intent bridge between trigger and panel */
.wm-nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.wm-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: var(--wm-z-dropdown);
    min-width: 300px;
    padding: 8px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow:
        0 2px 6px rgba(2, 33, 26, 0.06),
        0 20px 48px -16px rgba(2, 33, 26, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px) scale(0.97);
    transform-origin: top center;
    transition:
        opacity 120ms ease,
        transform 120ms ease,
        visibility 0s linear 120ms;
}

.wm-nav-item:hover > .wm-dropdown,
.wm-nav-item:focus-within > .wm-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition:
        opacity 200ms var(--wm-ease-out),
        transform 200ms var(--wm-ease-out),
        visibility 0s;
}

.wm-nav-item:hover .wm-chevron,
.wm-nav-item:focus-within .wm-chevron {
    transform: rotate(180deg);
}

.wm-dropdown-label {
    padding: 8px 12px 4px;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--wm-brand);
}

.wm-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wm-dropdown-item:hover {
        background: var(--wm-mint-soft);
    }
}

.wm-dropdown-item:focus-visible {
    outline: 2px solid var(--wm-brand);
    outline-offset: -2px;
}

.wm-dropdown-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--wm-mint-soft);
    color: var(--wm-brand);
    font-size: 15px;
    transition: background-color 150ms ease;
}

.wm-dropdown-item:hover .wm-dropdown-icon {
    background: var(--wm-mint);
}

.wm-dropdown-item strong {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--wm-ink);
    line-height: 1.3;
}

/* Target the description explicitly — a `.wm-dropdown-item span` selector also
   matches the icon chip and outranks .wm-dropdown-icon, which drops its grid
   centering and leaves the glyph in the chip's top-left corner. */
.wm-dropdown-text {
    display: block;
    min-width: 0;
}

.wm-dropdown-desc {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    color: var(--wm-body);
    line-height: 1.35;
    margin-top: 1px;
}

.wm-dropdown-divider {
    height: 1px;
    margin: 6px 8px;
    background: rgba(2, 68, 48, 0.08);
}

/* ---------------- Header actions ---------------- */

.wm-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.wm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        color 150ms ease,
        transform 160ms var(--wm-ease-out),
        box-shadow 160ms ease;
}

.wm-btn:focus-visible {
    outline: 2px solid var(--wm-brand);
    outline-offset: 2px;
}

.wm-btn:active {
    transform: scale(0.97);
}

.wm-btn-primary {
    background: var(--wm-brand);
    color: var(--wm-cream);
}

@media (hover: hover) and (pointer: fine) {
    .wm-btn-primary:hover {
        background: var(--wm-brand-strong);
        color: var(--wm-cream);
        box-shadow: 0 6px 16px -8px rgba(2, 68, 48, 0.5);
    }
}

.wm-btn-ghost {
    background: transparent;
    color: var(--wm-brand);
}

@media (hover: hover) and (pointer: fine) {
    .wm-btn-ghost:hover {
        background: var(--wm-brand-soft);
        color: var(--wm-brand);
    }
}

@media (max-width: 575.98px) {
    .wm-actions .wm-btn-ghost {
        display: none;
    }

    .wm-btn {
        padding: 10px 14px;
        font-size: 13.5px;
    }
}

/* ---------------- Burger (legacy hook, restyled) ---------------- */

.wm-header .burger-icon {
    position: relative;
    top: auto;
    right: auto;
    display: none;
    width: 24px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 4px;
    z-index: 1004;
}

@media (max-width: 1199.98px) {
    .wm-header .burger-icon {
        display: block;
    }
}

.wm-header .burger-icon > span {
    background-color: var(--wm-brand);
    border-radius: 2px;
    transition:
        transform 250ms var(--wm-ease-out),
        opacity 200ms ease,
        top 250ms var(--wm-ease-out);
}

/* ---------------- Mobile drawer polish (legacy structure) ---------------- */

.mobile-header-wrapper-style {
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1) !important;
}

.mobile-header-wrapper-style .mobile-menu li a {
    transition: color 150ms ease;
}

.mobile-header-wrapper-style .mobile-menu li a:hover {
    color: var(--wm-brand);
}

/* ---------------- Footer ---------------- */

.wm-footer {
    padding-top: clamp(40px, 7vw, 72px);
    background: var(--wm-footer-bg);
    font-family: "Inter", sans-serif;
    text-transform: none;
}

.wm-footer .wm-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

/* CTA band */

.wm-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 48px);
    flex-wrap: wrap;
    /* Space above lives on .wm-footer's padding — a margin here collapses
       through .wm-container and leaves the panel flush with the footer edge. */
    padding: clamp(28px, 4.5vw, 48px);
    background: var(--wm-footer-panel);
    border-radius: 16px;
}

.wm-footer-cta h2 {
    margin: 0 0 8px;
    font-family: "Poppins", "Inter", sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #ffffff;
    text-wrap: balance;
}

.wm-footer-cta p {
    margin: 0;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.wm-footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wm-btn-cream {
    background: var(--wm-cream);
    color: var(--wm-brand-strong);
}

@media (hover: hover) and (pointer: fine) {
    .wm-btn-cream:hover {
        background: #ffdfa3;
        color: var(--wm-brand-strong);
    }
}

.wm-btn-cream:focus-visible,
.wm-btn-outline:focus-visible {
    outline: 2px solid var(--wm-mint);
    outline-offset: 2px;
}

.wm-btn-outline {
    background: transparent;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

@media (hover: hover) and (pointer: fine) {
    .wm-btn-outline:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }
}

/* Link grid */

.wm-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 48px);
}

@media (max-width: 991.98px) {
    .wm-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .wm-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.wm-footer-brand img {
    height: 44px;
    width: auto;
    display: block;
}

.wm-footer-brand .wm-logo-chip {
    display: inline-flex;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 10px;
}

.wm-footer-tagline {
    margin: 16px 0 20px;
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.wm-footer-meta {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.wm-footer-meta strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.wm-footer-col h3 {
    margin: 0 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--wm-mint);
}

.wm-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wm-footer-col li + li {
    margin-top: 10px;
}

.wm-footer-col a {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wm-footer-col a:hover {
        color: #ffffff;
        text-decoration: underline;
        text-decoration-color: rgba(175, 234, 228, 0.55);
        text-underline-offset: 4px;
    }
}

.wm-footer-col a:focus-visible {
    outline: 2px solid var(--wm-mint);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Bottom bar */

.wm-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.wm-footer-legal {
    display: flex;
    align-items: center;
    gap: 8px 20px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wm-footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wm-footer-legal a:hover {
        color: #ffffff;
    }
}

.wm-footer-legal a:focus-visible {
    outline: 2px solid var(--wm-mint);
    outline-offset: 2px;
    border-radius: 2px;
}

.wm-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wm-footer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms var(--wm-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .wm-footer-social a:hover {
        background: var(--wm-mint);
        color: var(--wm-footer-bg);
        transform: translateY(-2px);
    }
}

.wm-footer-social a:active {
    transform: scale(0.95);
}

.wm-footer-social a:focus-visible {
    outline: 2px solid var(--wm-mint);
    outline-offset: 2px;
}

.wm-footer-copyright {
    padding: 0 0 26px;
    font-size: 13px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
    .wm-header,
    .wm-header-inner,
    .wm-nav-link,
    .wm-nav-link .wm-chevron,
    .wm-dropdown,
    .wm-btn,
    .wm-footer-social a,
    .wm-header .burger-icon > span,
    .mobile-header-wrapper-style {
        transition-duration: 0.01ms !important;
    }

    .wm-btn:active,
    .wm-footer-social a:hover,
    .wm-footer-social a:active {
        transform: none;
    }

    .wm-dropdown {
        transform: translateX(-50%);
    }

    .wm-nav-item:hover > .wm-dropdown,
    .wm-nav-item:focus-within > .wm-dropdown {
        transform: translateX(-50%);
    }
}

/* ============================================================
   Landing page sections (wm-landing)
   ============================================================ */

.wm-landing {
    font-family: "Inter", sans-serif;
    color: var(--wm-body);
    text-transform: none;
}

.wm-landing .wm-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.wm-landing h1,
.wm-landing h2,
.wm-landing h3,
.wm-landing h4,
.wm-landing h5 {
    font-family: "Poppins", "Inter", sans-serif;
    color: var(--wm-ink);
    text-transform: none;
}

.wm-section {
    padding: clamp(48px, 8vw, 96px) 0;
}

.wm-section-slim {
    padding: clamp(24px, 4vw, 48px) 0;
}

.wm-section-tint {
    background: #f4faf8;
}

.wm-section-head {
    max-width: 640px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.wm-section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.wm-section-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--wm-body);
}

/* ---------------- Hero ---------------- */

.wm-hero {
    background: linear-gradient(180deg, #e0f1f4 0%, #edf7f5 70%, #ffffff 100%);
    padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
    overflow: hidden;
}

.wm-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

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

.wm-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(2, 68, 48, 0.08);
    color: var(--wm-brand);
    font-size: 13.5px;
    font-weight: 600;
}

.wm-hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    text-wrap: balance;
}

.wm-hero-copy p {
    margin: 0 0 26px;
    max-width: 56ch;
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--wm-body);
}

.wm-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wm-btn-lg {
    padding: 14px 22px;
    font-size: 15px;
}

.wm-btn-outline-brand {
    background: transparent;
    color: var(--wm-brand);
    box-shadow: inset 0 0 0 1.5px rgba(2, 68, 48, 0.35);
}

@media (hover: hover) and (pointer: fine) {
    .wm-btn-outline-brand:hover {
        background: rgba(2, 68, 48, 0.07);
        color: var(--wm-brand);
    }
}

.wm-hero-points {
    display: flex;
    align-items: center;
    gap: 10px 22px;
    flex-wrap: wrap;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.wm-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--wm-ink);
}

.wm-hero-points i {
    color: var(--wm-brand);
    font-size: 12px;
}

/* Hero chat visual */

.wm-hero-visual {
    position: relative;
    max-width: 430px;
    justify-self: center;
    width: 100%;
}

@media (max-width: 991.98px) {
    .wm-hero-visual {
        display: none;
    }
}

.wm-chat-card {
    background: #f5f1ea;
    border-radius: 16px;
    box-shadow: 0 24px 60px -24px rgba(2, 33, 26, 0.35);
    overflow: hidden;
}

.wm-chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--wm-brand);
    color: #ffffff;
}

.wm-chat-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 15px;
}

.wm-chat-name {
    display: flex;
    flex-direction: column;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.25;
}

.wm-chat-name em {
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

.wm-chat-wa {
    margin-left: auto;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.wm-chat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 18px 26px;
    min-height: 300px;
}

.wm-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #1c2b26;
    box-shadow: 0 1px 1px rgba(2, 33, 26, 0.08);
}

.wm-bubble-in {
    align-self: flex-start;
    background: #ffffff;
    border-bottom-left-radius: 4px;
}

.wm-bubble-out {
    align-self: flex-end;
    background: #d9fdd3;
    border-bottom-right-radius: 4px;
}

.wm-bubble-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: #4c5e57;
}

.wm-bubble-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--wm-brand);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
}

.wm-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    background: #ffffff;
    box-shadow: 0 1px 1px rgba(2, 33, 26, 0.08);
}

.wm-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9bb0a9;
    animation: wm-typing 1.2s ease-in-out infinite;
}

.wm-typing span:nth-child(2) {
    animation-delay: 0.15s;
}
.wm-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes wm-typing {
    0%,
    60%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.wm-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 32px -12px rgba(2, 33, 26, 0.28);
    font-size: 13px;
    font-weight: 600;
    color: var(--wm-ink);
    animation: wm-float 6s ease-in-out infinite alternate;
}

.wm-float i {
    color: var(--wm-brand);
}

.wm-float b {
    color: #34b7f1;
}

/* Floats sit on the card's outer corners so they never cover chat text */
.wm-float-1 {
    top: -20px;
    left: -34px;
}

.wm-float-2 {
    bottom: -20px;
    right: -34px;
    animation-delay: 1.6s;
}

@keyframes wm-float {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-8px);
    }
}

@media (max-width: 1299.98px) {
    .wm-float-1 {
        left: -6px;
    }
    .wm-float-2 {
        right: -6px;
    }
}

/* ---------------- Logos marquee ---------------- */

.wm-logos {
    padding: clamp(28px, 4vw, 44px) 0;
    border-bottom: 1px solid rgba(2, 68, 48, 0.07);
}

.wm-logos-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--wm-body);
}

.wm-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
}

.wm-marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
    width: max-content;
    animation: wm-marquee 40s linear infinite;
}

.wm-marquee-track img {
    height: 34px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.65;
    transition:
        filter 200ms ease,
        opacity 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wm-marquee:hover .wm-marquee-track {
        animation-play-state: paused;
    }

    .wm-marquee-track img:hover {
        filter: grayscale(0);
        opacity: 1;
    }
}

@keyframes wm-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ---------------- Sticky scroll showcase ---------------- */

.wm-showcase {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(32px, 5vw, 80px);
}

.wm-showcase-media {
    position: sticky;
    top: 108px;
    align-self: start;
    height: fit-content;
}

.wm-showcase-frame {
    position: relative;
    display: grid;
    place-items: center;
    padding: 18px;
    height: clamp(320px, 46vh, 430px);
    border-radius: 20px;
    background: var(--wm-mint-soft);
    overflow: hidden;
}

.wm-showcase-img {
    grid-area: 1 / 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.985);
    transition:
        opacity 320ms ease,
        transform 420ms var(--wm-ease-out);
}

.wm-showcase-img.is-active {
    opacity: 1;
    transform: none;
}

/* Steps: a shared hairline rail with a dot per step; the active one fills. */
.wm-showcase-steps {
    position: relative;
    padding-left: 34px;
}

.wm-showcase-steps::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(2, 68, 48, 0.16);
}

.wm-step {
    position: relative;
    padding: clamp(28px, 6vh, 64px) 0;
}

.wm-step-dot {
    position: absolute;
    left: -34px;
    top: calc(clamp(28px, 6vh, 64px) + 6px);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(2, 68, 48, 0.3);
    transition:
        background-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms var(--wm-ease-out);
}

.wm-step.is-active .wm-step-dot {
    background: var(--wm-brand);
    box-shadow:
        inset 0 0 0 1px var(--wm-brand),
        0 0 0 5px rgba(2, 68, 48, 0.1);
    transform: scale(1.15);
}

.wm-step-body {
    opacity: 0.5;
    transition: opacity 260ms ease;
}

.wm-step.is-active .wm-step-body {
    opacity: 1;
}

.wm-step-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--wm-mint-soft);
    color: var(--wm-brand);
    font-size: 16px;
}

.wm-step h3 {
    margin: 16px 0 10px;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.wm-step p {
    margin: 0;
    max-width: 46ch;
    font-size: 16px;
    line-height: 1.7;
}

/* Per-step image is the mobile fallback for the pinned frame */
.wm-step-img {
    display: none;
    width: auto;
    max-width: 100%;
    max-height: 300px;
    margin-top: 20px;
    padding: 10px;
    border-radius: 16px;
    background: var(--wm-mint-soft);
}

@media (max-width: 991.98px) {
    .wm-showcase {
        grid-template-columns: 1fr;
    }

    .wm-showcase-media {
        display: none;
    }

    .wm-showcase-steps {
        padding-left: 26px;
    }

    .wm-step {
        padding: 22px 0;
    }

    .wm-step-dot {
        left: -26px;
        top: 28px;
    }

    .wm-step-body {
        opacity: 1;
    }

    .wm-step-img {
        display: block;
    }
}

/* ---------------- Offer grid ---------------- */

.wm-offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.wm-offer {
    padding: 24px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 33, 26, 0.05);
    text-decoration: none;
    transition:
        transform 200ms var(--wm-ease-out),
        box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wm-offer:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px -18px rgba(2, 33, 26, 0.3);
    }
}

.wm-offer-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--wm-mint-soft);
    color: var(--wm-brand);
    font-size: 17px;
}

.wm-offer h4 {
    margin: 16px 0 8px;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.3;
}

.wm-offer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--wm-body);
}

.wm-offer-cta {
    background: var(--wm-brand);
}

.wm-offer-cta .wm-offer-icon {
    background: rgba(255, 255, 255, 0.14);
    color: var(--wm-cream);
    transition: transform 200ms var(--wm-ease-out);
}

.wm-offer-cta h4 {
    color: #ffffff;
}

.wm-offer-cta p {
    color: rgba(255, 255, 255, 0.78);
}

@media (hover: hover) and (pointer: fine) {
    .wm-offer-cta:hover .wm-offer-icon {
        transform: translateX(4px);
    }
}

/* ---------------- Pricing ---------------- */

/* Cap card width so a 2-plan account doesn't stretch into billboards */
.wm-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    gap: 18px;
    align-items: stretch;
}

.wm-plan {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 33, 26, 0.06);
    transition:
        transform 200ms var(--wm-ease-out),
        box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wm-plan:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 44px -20px rgba(2, 33, 26, 0.32);
    }
}

.wm-plan-head h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
}

.wm-plan-head p {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--wm-body);
}

.wm-plan-price {
    padding: 16px 0;
    border-top: 1px solid rgba(2, 68, 48, 0.08);
}

.wm-plan-amount {
    font-family: "Poppins", "Inter", sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--wm-ink);
}

.wm-plan-period {
    font-size: 14px;
    color: var(--wm-body);
}

.wm-plan-note {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--wm-body);
}

.wm-plan-features {
    flex: 1;
    margin: 6px 0 22px;
    padding: 0;
    list-style: none;
}

.wm-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wm-ink);
    word-break: break-word;
}

.wm-plan-features i {
    margin-top: 4px;
    font-size: 11px;
    color: var(--wm-brand);
}

.wm-plan-btn {
    width: 100%;
}

/* ---------------- Expert band ---------------- */

.wm-expert {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(28px, 4.5vw, 52px);
    border-radius: 16px;
    background: var(--wm-mint-soft);
}

@media (max-width: 991.98px) {
    .wm-expert {
        grid-template-columns: 1fr;
    }

    .wm-expert-media {
        display: none;
    }
}

.wm-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--wm-mint);
    color: var(--wm-brand-strong);
    font-size: 13px;
    font-weight: 600;
}

.wm-expert-copy h2 {
    margin: 14px 0 12px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.wm-expert-copy p {
    margin: 0 0 24px;
    max-width: 52ch;
    font-size: 15.5px;
    line-height: 1.7;
}

.wm-expert-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wm-expert-media img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

/* ---------------- FAQ ---------------- */

.wm-faq-section {
    background: #f4faf8;
}

.wm-faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

@media (max-width: 991.98px) {
    .wm-faq-layout {
        grid-template-columns: 1fr;
    }
}

.wm-faq-aside-inner {
    position: sticky;
    top: 108px;
}

.wm-faq-aside h2 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.wm-faq-aside > .wm-faq-aside-inner > p {
    margin: 0 0 28px;
    max-width: 40ch;
    font-size: 16px;
    line-height: 1.7;
}

.wm-faq-help {
    padding: 24px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 33, 26, 0.06);
}

.wm-faq-help h5 {
    margin: 16px 0 6px;
    font-size: 16.5px;
    font-weight: 600;
}

.wm-faq-help p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--wm-body);
}

.wm-faq-help-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wm-faq-item {
    margin-bottom: 10px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(2, 33, 26, 0.05);
    overflow: hidden;
    transition: box-shadow 200ms ease;
}

.wm-faq-item:has(.wm-faq-btn:not(.collapsed)) {
    box-shadow: 0 12px 30px -18px rgba(2, 33, 26, 0.35);
}

.wm-faq .accordion-header {
    margin: 0;
}

.wm-faq-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--wm-ink);
    text-transform: none;
    transition:
        color 150ms ease,
        background-color 150ms ease;
}

.wm-faq-btn::after {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .wm-faq-btn:hover {
        background: var(--wm-mint-soft);
    }
}

.wm-faq-btn:not(.collapsed) {
    background: transparent;
    box-shadow: none;
    color: var(--wm-brand);
}

.wm-faq-btn:focus-visible {
    outline: 2px solid var(--wm-brand);
    outline-offset: -3px;
}

/* Plus that rotates into a minus */
.wm-faq-toggle {
    position: relative;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--wm-mint-soft);
    transition:
        background-color 180ms ease,
        transform 260ms var(--wm-ease-out);
}

.wm-faq-toggle::before,
.wm-faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.8px;
    border-radius: 2px;
    background: var(--wm-brand);
    transform: translate(-50%, -50%);
    transition: opacity 200ms ease;
}

.wm-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.wm-faq-btn:not(.collapsed) .wm-faq-toggle {
    background: var(--wm-brand);
    transform: rotate(180deg);
}

.wm-faq-btn:not(.collapsed) .wm-faq-toggle::before,
.wm-faq-btn:not(.collapsed) .wm-faq-toggle::after {
    background: #ffffff;
}

.wm-faq-btn:not(.collapsed) .wm-faq-toggle::after {
    opacity: 0;
}

.wm-faq-body {
    padding: 0 22px 22px;
    background: transparent;
    font-size: 15px;
    line-height: 1.7;
    color: var(--wm-body);
    max-width: 70ch;
}

/* ---------------- Resources ---------------- */

.wm-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.wm-resource {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 14px;
    background: #f4faf8;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        transform 200ms var(--wm-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .wm-resource:hover {
        background: var(--wm-mint-soft);
        transform: translateY(-2px);
    }

    .wm-resource:hover .wm-resource-arrow {
        transform: translateX(4px);
    }
}

.wm-resource h5 {
    margin: 0 0 3px;
    font-size: 15.5px;
    font-weight: 600;
}

.wm-resource p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--wm-body);
}

.wm-resource-arrow {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--wm-brand);
    transition: transform 200ms var(--wm-ease-out);
}

/* ---------------- Scroll reveal (JS-enhanced, visible by default) ---------------- */

/* Content is never hidden: only its resting position shifts, so a throttled
   or JS-less render still shows everything. */
html.wm-io [data-wm-reveal] {
    transform: translateY(16px);
}

html.wm-io [data-wm-reveal].wm-in {
    transform: none;
    transition: transform 520ms var(--wm-ease-out);
}

/* Siblings in a group arrive one after another rather than as a block */
html.wm-io .wm-offer-grid [data-wm-reveal]:nth-child(2),
html.wm-io .wm-plans [data-wm-reveal]:nth-child(2),
html.wm-io .wm-faq [data-wm-reveal]:nth-child(2) {
    transition-delay: 60ms;
}

html.wm-io .wm-offer-grid [data-wm-reveal]:nth-child(3),
html.wm-io .wm-plans [data-wm-reveal]:nth-child(3),
html.wm-io .wm-faq [data-wm-reveal]:nth-child(3) {
    transition-delay: 120ms;
}

html.wm-io .wm-offer-grid [data-wm-reveal]:nth-child(n + 4),
html.wm-io .wm-faq [data-wm-reveal]:nth-child(n + 4) {
    transition-delay: 170ms;
}

/* ---------------- Reading progress ---------------- */

.wm-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--wm-brand);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

/* Sticky header must not cover anchored sections */
.wm-landing [id] {
    scroll-margin-top: 90px;
}

/* ---------------- Landing reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
    .wm-marquee-track {
        animation: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wm-typing span,
    .wm-float {
        animation: none;
    }

    .wm-offer,
    .wm-plan,
    .wm-resource,
    .wm-offer-cta .wm-offer-icon,
    .wm-resource-arrow,
    .wm-faq-toggle,
    .wm-showcase-img,
    .wm-step-dot,
    .wm-step-body {
        transition-duration: 0.01ms !important;
    }

    /* No pinning without motion cues — steps read as a plain list */
    .wm-showcase-media {
        position: static;
    }

    .wm-step-body {
        opacity: 1;
    }

    .wm-offer:hover,
    .wm-plan:hover,
    .wm-resource:hover {
        transform: none;
    }

    html.wm-io [data-wm-reveal] {
        transform: none;
    }
}
