/* ============================================================
   Product shell — slim chrome for standalone /p/{slug} products
   Product-separation groundwork 2026-07-06. Tokens: --ns-* from
   css/netshow-design-system.css (dark-blue landing palette).
   ============================================================ */

.ns-product-shell {
    background: var(--ns-bg-primary, #080810);
    color: var(--ns-text-primary, #fff);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--ns-font-body, 'Inter', system-ui, -apple-system, sans-serif);
}

/* ---- Topbar ---- */
.ns-product-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 16, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ns-product-topbar__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.ns-product-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ns-text-primary, #fff);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.ns-product-brand i {
    color: var(--ns-accent, #f59e0b);
    font-size: 1.15rem;
}
.ns-product-brand:hover { color: var(--ns-accent, #f59e0b); }

.ns-product-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.ns-product-nav__link {
    color: var(--ns-text-primary, #fff);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}
.ns-product-nav__link:hover { color: var(--ns-accent, #f59e0b); }
.ns-product-nav__link--muted { color: rgba(255, 255, 255, 0.62); }
.ns-product-nav__cta {
    background: linear-gradient(135deg, var(--ns-accent, #f59e0b), var(--ns-accent-hover, #d97706));
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    white-space: nowrap;
}
.ns-product-nav__cta:hover { color: #fff; filter: brightness(1.12); }

/* ---- Main ---- */
.ns-product-main { flex: 1 0 auto; }

/* ---- Landing sections ---- */
.ns-plp-hero {
    max-width: 860px;
    margin: 0 auto;
    padding: 4.5rem 1.25rem 3rem;
    text-align: center;
}
.ns-plp-hero__kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ns-accent, #f59e0b);
    margin-bottom: 1rem;
}
.ns-plp-hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 1.1rem;
}
.ns-plp-hero__subhead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 2rem;
}
.ns-plp-availability {
    max-width: 560px;
    margin: -0.9rem auto 1.6rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}
.ns-plp-availability__pill {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: var(--ns-accent, #f59e0b);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}
.ns-plp-hero__actions {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}
.ns-plp-btn-primary {
    background: linear-gradient(135deg, var(--ns-accent, #f59e0b), var(--ns-accent-hover, #d97706));
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
}
.ns-plp-btn-primary:hover { color: #fff; filter: brightness(1.12); }
.ns-plp-btn-ghost {
    color: var(--ns-text-primary, #fff);
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    font-size: 1rem;
}
.ns-plp-btn-ghost:hover { color: var(--ns-accent, #f59e0b); border-color: var(--ns-accent, #f59e0b); }

.ns-plp-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}
.ns-plp-section h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 1.6rem;
    text-align: center;
}
.ns-plp-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ns-plp-features li {
    background: var(--ns-bg-card, #161625);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    font-size: 0.97rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.ns-plp-features li i {
    color: var(--ns-accent, #f59e0b);
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.ns-plp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ns-plp-steps li {
    background: var(--ns-bg-card, #161625);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    font-size: 0.97rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.ns-plp-steps__num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ns-accent, #f59e0b), var(--ns-accent-hover, #d97706));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
}

.ns-plp-blurb {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.7;
}

.ns-plp-faq { max-width: 760px; margin: 0 auto; }
.ns-plp-faq details {
    background: var(--ns-bg-card, #161625);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}
.ns-plp-faq summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 0.98rem;
}
.ns-plp-faq details p {
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ns-plp-cta {
    text-align: center;
    padding: 3rem 1.25rem 4rem;
}
.ns-plp-cta h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 0.7rem; }
.ns-plp-cta p { color: rgba(255, 255, 255, 0.66); margin-bottom: 1.5rem; }

/* ---- Footer ---- */
.ns-product-footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(8, 8, 16, 0.92);
}
.ns-product-footer__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}
.ns-product-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.ns-product-footer a:hover { color: var(--ns-accent, #f59e0b); }

/* ---- Embedded app mode (canonical dashboard page in slim chrome) ---- */
.ns-product-embed .app-lay { margin: 0 !important; }

@media (max-width: 480px) {
    .ns-product-topbar__inner { padding: 0.6rem 0.9rem; }
    .ns-product-nav { gap: 0.6rem; }
    .ns-plp-hero { padding: 3rem 1rem 2rem; }
}

/* ---- "What it costs" (landing pricing card, ws2b5 commerce slice) ---- */
.ns-plp-pricing__card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--ns-bg-card, #161625);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
}
.ns-plp-pricing__headline {
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    font-weight: 800;
    margin: 0 0 0.9rem;
    color: var(--ns-accent, #f59e0b);
}
.ns-plp-pricing__lines {
    list-style: none;
    margin: 0 auto 1rem;
    padding: 0;
    max-width: 380px;
    text-align: left;
}
.ns-plp-pricing__lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.95rem;
}
.ns-plp-pricing__lines li:last-child { border-bottom: 0; }
.ns-plp-pricing__line-label { color: rgba(255, 255, 255, 0.72); }
.ns-plp-pricing__line-value { font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) {
    /* long values ("50 credits per agent reply") must wrap, not overflow 390px */
    .ns-plp-pricing__line-value { white-space: normal; text-align: right; }
}
.ns-plp-pricing__note {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto 1.4rem;
}
.ns-plp-pricing__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.ns-plp-pricing__plans-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
}
.ns-plp-pricing__plans-link:hover { color: var(--ns-accent, #f59e0b); }
