:root {
    --wp-bg: 210 40% 98%;
    --wp-surface: 0 0% 100%;
    --wp-ink: 225 42% 10%;
    --wp-text: 225 42% 12%;
    --wp-muted: 225 15% 42%;
    --wp-border: 225 20% 90%;
    --wp-accent: 345 82% 56%;
    --wp-accent-ink: 0 0% 100%;
    --wp-accent-soft: 345 100% 96%;
    --wp-indigo: 243 75% 59%;
    --wp-amber: 38 92% 50%;
    --wp-green: 142 71% 45%;
    /* Fixed-dark, unlike --wp-ink (which flips to white in dark mode for
       heading text) - for decorative surfaces that must always read as
       "dark" regardless of theme (icon badges, phone mockup, dark bands). */
    --wp-dark-surface: 225 42% 10%;
    --wp-radius: 18px;
    --wp-shadow: 0 1px 2px rgb(16 20 39 / 0.04), 0 12px 28px rgb(16 20 39 / 0.08);
}

[data-theme="dark"] {
    --wp-bg: 228 32% 7%;
    --wp-surface: 228 28% 10%;
    --wp-ink: 0 0% 100%;
    --wp-text: 220 30% 96%;
    --wp-muted: 220 15% 68%;
    --wp-border: 225 20% 20%;
    --wp-accent-soft: 345 40% 16%;
    --wp-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 32px rgb(0 0 0 / 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.wp-landing {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
    background: hsl(var(--wp-bg));
    color: hsl(var(--wp-text));
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.wp-landing h1, .wp-landing h2, .wp-landing h3 {
    font-family: Georgia, "Segoe UI", -apple-system, sans-serif;
    letter-spacing: -0.02em;
    color: hsl(var(--wp-ink));
}

.wp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.wp-gradient-text {
    background: linear-gradient(90deg, hsl(var(--wp-accent)), hsl(var(--wp-indigo)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: hsl(var(--wp-accent-soft));
    color: hsl(var(--wp-accent));
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Nav */
.wp-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 18px 24px;
    background: hsl(var(--wp-bg) / 0.82);
    backdrop-filter: blur(10px);
}

.wp-nav .weshap-brand { max-width: 150px; }

.wp-nav-links { display: flex; align-items: center; gap: 22px; }

.wp-nav-links a.wp-link {
    color: hsl(var(--wp-muted));
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.wp-nav-links a.wp-link:hover { color: hsl(var(--wp-accent)); }

.wp-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid hsl(var(--wp-border));
    border-radius: 999px;
    background: hsl(var(--wp-surface));
    color: hsl(var(--wp-text));
    cursor: pointer;
    font-size: 0.85rem;
}

.wp-theme-toggle:focus-visible { outline: 3px solid hsl(var(--wp-accent)); outline-offset: 3px; }
.wp-theme-toggle [data-mode="dark"] { display: none; }
[data-theme="dark"] .wp-theme-toggle [data-mode="dark"] { display: inline; }
[data-theme="dark"] .wp-theme-toggle [data-mode="light"] { display: none; }

@media (max-width: 760px) {
    .wp-nav-links a.wp-link:not(.wp-nav-cta) { display: none; }
}

/* Hero */
.wp-hero {
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 920px) {
    .wp-hero { grid-template-columns: 1fr; padding-top: 32px; }
}

.wp-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    line-height: 1.12;
    margin: 20px 0 18px;
}

.wp-hero .wp-rotator {
    display: inline-block;
    min-width: 1ch;
}

.wp-hero p.wp-sub {
    color: hsl(var(--wp-muted));
    font-size: 1.1rem;
    margin: 0 0 28px;
    max-width: 46ch;
}

.wp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }

.wp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: hsl(var(--wp-accent));
    color: hsl(var(--wp-accent-ink));
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.wp-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px hsl(var(--wp-accent) / 0.35); }

.wp-button-ghost {
    background: transparent;
    color: hsl(var(--wp-text));
    border: 1px solid hsl(var(--wp-border));
}

.wp-button-ghost:hover { border-color: hsl(var(--wp-accent)); color: hsl(var(--wp-accent)); box-shadow: none; }

.wp-button-block { width: 100%; }

/* Fake POS terminal mockup */
.wp-mockup {
    background: hsl(var(--wp-surface));
    border: 1px solid hsl(var(--wp-border));
    border-radius: 20px;
    box-shadow: var(--wp-shadow);
    overflow: hidden;
}

.wp-mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid hsl(var(--wp-border));
    background: hsl(var(--wp-bg));
}

.wp-mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: hsl(var(--wp-border)); }
.wp-mockup-dot:nth-child(1) { background: #ff5f57; }
.wp-mockup-dot:nth-child(2) { background: #febc2e; }
.wp-mockup-dot:nth-child(3) { background: #28c840; }

.wp-mockup-url {
    margin-left: 10px;
    font-size: 0.78rem;
    color: hsl(var(--wp-muted));
    background: hsl(var(--wp-surface));
    border: 1px solid hsl(var(--wp-border));
    border-radius: 6px;
    padding: 3px 10px;
}

.wp-mockup-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1px; background: hsl(var(--wp-border)); }

.wp-mockup-grid { background: hsl(var(--wp-surface)); padding: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.wp-mockup-item {
    border: 1px solid hsl(var(--wp-border));
    border-radius: 10px;
    padding: 10px;
    font-size: 0.78rem;
}

.wp-mockup-item .wp-swatch { width: 100%; height: 36px; border-radius: 6px; margin-bottom: 8px; }
.wp-mockup-item:nth-child(1) .wp-swatch { background: linear-gradient(135deg, hsl(var(--wp-dark-surface)), hsl(var(--wp-accent))); }
.wp-mockup-item:nth-child(2) .wp-swatch { background: linear-gradient(135deg, hsl(var(--wp-indigo)), hsl(var(--wp-accent))); }
.wp-mockup-item:nth-child(3) .wp-swatch { background: linear-gradient(135deg, hsl(var(--wp-amber)), hsl(var(--wp-accent))); }
.wp-mockup-item:nth-child(4) .wp-swatch { background: linear-gradient(135deg, hsl(var(--wp-green)), hsl(var(--wp-indigo))); }
.wp-mockup-item strong { display: block; color: hsl(var(--wp-text)); }
.wp-mockup-item span { color: hsl(var(--wp-muted)); }

.wp-mockup-cart { background: hsl(var(--wp-surface)); padding: 16px; display: flex; flex-direction: column; }
.wp-mockup-cart-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 7px 0; border-bottom: 1px dashed hsl(var(--wp-border)); color: hsl(var(--wp-muted)); }
.wp-mockup-cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05rem; padding: 12px 0; color: hsl(var(--wp-ink)); }
.wp-mockup-pay {
    margin-top: auto;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: hsl(var(--wp-accent));
    color: hsl(var(--wp-accent-ink));
    font-weight: 700;
    font-size: 0.85rem;
}

/* Stat bar */
.wp-stats {
    max-width: 1160px;
    margin: 72px auto 0;
    padding: 28px 24px;
    border-top: 1px solid hsl(var(--wp-border));
    border-bottom: 1px solid hsl(var(--wp-border));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

@media (max-width: 760px) { .wp-stats { grid-template-columns: repeat(2, 1fr); } }

.wp-stats .wp-stat-num { font-size: 1.7rem; font-weight: 800; color: hsl(var(--wp-accent)); }
.wp-stats .wp-stat-label { font-size: 0.85rem; color: hsl(var(--wp-muted)); }

/* Section headers */
.wp-section { max-width: 1160px; margin: 0 auto; padding: 88px 24px; }
.wp-section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.wp-section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 12px; }
.wp-section-header p { color: hsl(var(--wp-muted)); margin: 0; }

/* Feature grid */
.wp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .wp-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .wp-features { grid-template-columns: 1fr; } }

.wp-feature-card {
    background: hsl(var(--wp-surface));
    border: 1px solid hsl(var(--wp-border));
    border-radius: var(--wp-radius);
    padding: 26px;
    box-shadow: var(--wp-shadow);
    transition: transform 0.15s ease;
}

.wp-feature-card:hover { transform: translateY(-3px); }

.wp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #fff;
}

.wp-feature-card:nth-child(1) .wp-feature-icon { background: linear-gradient(135deg, hsl(var(--wp-dark-surface)), hsl(var(--wp-accent))); }
.wp-feature-card:nth-child(2) .wp-feature-icon { background: linear-gradient(135deg, hsl(var(--wp-indigo)), #818cf8); }
.wp-feature-card:nth-child(3) .wp-feature-icon { background: linear-gradient(135deg, hsl(var(--wp-amber)), #fbbf24); }
.wp-feature-card:nth-child(4) .wp-feature-icon { background: linear-gradient(135deg, hsl(var(--wp-green)), #4ade80); }
.wp-feature-card:nth-child(5) .wp-feature-icon { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.wp-feature-card:nth-child(6) .wp-feature-icon { background: linear-gradient(135deg, hsl(var(--wp-accent)), #fb7185); }

.wp-feature-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.wp-feature-card p { color: hsl(var(--wp-muted)); margin: 0; font-size: 0.93rem; }

/* How it works */
.wp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
@media (max-width: 860px) { .wp-steps { grid-template-columns: 1fr; } }

.wp-step { text-align: center; padding: 0 10px; }

.wp-step-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    background: hsl(var(--wp-accent-soft));
    color: hsl(var(--wp-accent));
}

.wp-step h3 { font-size: 1rem; margin: 0 0 6px; }
.wp-step p { color: hsl(var(--wp-muted)); font-size: 0.88rem; margin: 0; }

/* Sticky trust panels */
.wp-trust-panel {
    position: sticky;
    top: 90px;
    background: hsl(var(--wp-surface));
    border: 1px solid hsl(var(--wp-border));
    border-radius: 24px;
    box-shadow: var(--wp-shadow);
    padding: 48px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 860px) { .wp-trust-panel { grid-template-columns: 1fr; padding: 32px; position: static; } }

.wp-trust-num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: hsl(var(--wp-dark-surface));
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 16px;
}

.wp-trust-panel h3 { font-size: 1.4rem; margin: 0 0 12px; }
.wp-trust-panel p { color: hsl(var(--wp-muted)); }

.wp-trust-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.wp-trust-list li { display: flex; gap: 8px; color: hsl(var(--wp-muted)); font-size: 0.93rem; }
.wp-trust-list li::before { content: "✓"; color: hsl(var(--wp-accent)); font-weight: 700; }

.wp-trust-visual {
    border-radius: 16px;
    background: linear-gradient(135deg, hsl(var(--wp-dark-surface)), hsl(var(--wp-accent)));
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Dark stat band */
.wp-dark-band {
    background: hsl(var(--wp-dark-surface));
    color: #fff;
    border-radius: 24px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

@media (max-width: 760px) { .wp-dark-band { grid-template-columns: 1fr; } }

.wp-dark-band .wp-stat-num { font-size: 2.2rem; font-weight: 800; color: hsl(var(--wp-accent)); }
.wp-dark-band .wp-stat-label { color: rgb(255 255 255 / 0.7); font-size: 0.9rem; margin-top: 6px; }

/* Pricing */
.wp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .wp-plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.wp-plan {
    background: hsl(var(--wp-surface));
    border: 1px solid hsl(var(--wp-border));
    border-radius: var(--wp-radius);
    padding: 32px;
    box-shadow: var(--wp-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
}

.wp-plan.wp-plan-popular { border-color: hsl(var(--wp-accent)); border-width: 2px; }

.wp-plan-ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: hsl(var(--wp-accent));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 5px 14px;
    border-radius: 999px;
}

.wp-plan h3 { font-size: 1.1rem; margin: 6px 0 4px; }
.wp-plan .wp-price { font-size: 2.1rem; font-weight: 800; margin: 8px 0 20px; color: hsl(var(--wp-ink)); }
.wp-plan .wp-price span { font-size: 0.95rem; font-weight: 500; color: hsl(var(--wp-muted)); }

.wp-plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; display: grid; gap: 10px; font-size: 0.92rem; }
.wp-plan ul li { display: flex; gap: 8px; color: hsl(var(--wp-muted)); }
.wp-plan ul li.wp-included::before { content: "✓"; color: hsl(var(--wp-green)); font-weight: 700; }

/* Mobile app section */
.wp-mobile-section { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .wp-mobile-section { grid-template-columns: 1fr; } }

.wp-mobile-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.wp-mobile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: hsl(var(--wp-dark-surface));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.wp-phone-mock {
    width: 220px;
    height: 440px;
    margin: 0 auto;
    border-radius: 36px;
    background: hsl(var(--wp-dark-surface));
    padding: 10px;
    box-shadow: 0 20px 60px hsl(var(--wp-accent) / 0.3);
    position: relative;
}

.wp-phone-mock::before {
    content: "";
    position: absolute;
    top: 10px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 18px;
    background: hsl(var(--wp-dark-surface));
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.wp-phone-screen {
    width: 100%; height: 100%;
    background: hsl(var(--wp-surface));
    border-radius: 28px;
    padding: 24px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wp-phone-row { height: 34px; border-radius: 8px; background: hsl(var(--wp-bg)); border: 1px solid hsl(var(--wp-border)); }
.wp-phone-total { margin-top: auto; height: 44px; border-radius: 8px; background: hsl(var(--wp-accent)); }

/* FAQ */
.wp-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.wp-faq details {
    border: 1px solid hsl(var(--wp-border));
    border-radius: 14px;
    padding: 18px 22px;
    background: hsl(var(--wp-surface));
}
.wp-faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wp-faq summary::-webkit-details-marker { display: none; }
.wp-faq summary::after { content: "+"; font-size: 1.3rem; color: hsl(var(--wp-accent)); }
.wp-faq details[open] summary::after { content: "–"; }
.wp-faq p { color: hsl(var(--wp-muted)); margin: 14px 0 0; font-size: 0.93rem; }

/* Final CTA */
.wp-final-cta {
    max-width: 1160px;
    margin: 0 auto;
    background: linear-gradient(135deg, hsl(var(--wp-dark-surface)), #1a1033 60%, hsl(var(--wp-accent)));
    border-radius: 28px;
    padding: 64px 32px;
    text-align: center;
    color: #fff;
}

.wp-final-cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 14px; }
.wp-final-cta p { color: rgb(255 255 255 / 0.78); max-width: 46ch; margin: 0 auto 28px; }
.wp-final-cta .wp-button { background: #fff; color: #191a2e; }
.wp-final-cta .wp-button:hover { box-shadow: 0 8px 18px rgb(255 255 255 / 0.25); }

/* Footer */
.wp-footer {
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    border-top: 1px solid hsl(var(--wp-border));
}

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

.wp-footer .weshap-brand { max-width: 130px; margin-bottom: 12px; }
.wp-footer p { color: hsl(var(--wp-muted)); font-size: 0.9rem; max-width: 32ch; }
.wp-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: hsl(var(--wp-muted)); margin: 0 0 12px; }
.wp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wp-footer a { color: hsl(var(--wp-text)); text-decoration: none; font-size: 0.93rem; }
.wp-footer a:hover { color: hsl(var(--wp-accent)); }

.wp-footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 24px 40px;
    color: hsl(var(--wp-muted));
    font-size: 0.82rem;
    text-align: center;
}

/* Request-access card (hero) */
.wp-card {
    background: hsl(var(--wp-surface));
    border: 1px solid hsl(var(--wp-border));
    border-radius: var(--wp-radius);
    box-shadow: var(--wp-shadow);
    padding: 32px;
}

.wp-card h2 { margin: 0 0 6px; font-size: 1.3rem; }
.wp-card p.wp-card-sub { margin: 0 0 22px; color: hsl(var(--wp-muted)); font-size: 0.93rem; }

.wp-field { margin-bottom: 16px; }
.wp-field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.wp-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid hsl(var(--wp-border));
    border-radius: 10px;
    background: hsl(var(--wp-bg));
    color: hsl(var(--wp-text));
    font-size: 1rem;
}
.wp-field input:focus { outline: none; border-color: hsl(var(--wp-accent)); box-shadow: 0 0 0 3px hsl(var(--wp-accent) / 0.18); }
.wp-field .wp-error { display: block; color: #e11d48; font-size: 0.83rem; margin-top: 6px; }

.wp-alert-success {
    background: hsl(var(--wp-green) / 0.12);
    border: 1px solid hsl(var(--wp-green) / 0.35);
    color: #15803d;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 0.93rem;
}
[data-theme="dark"] .wp-alert-success { color: #4ade80; }

.wp-back-link { display: inline-block; margin: 24px 24px 0; color: hsl(var(--wp-muted)); text-decoration: none; }
.wp-back-link:hover { color: hsl(var(--wp-accent)); }
