/* ============================================================
   nami Store — stylesheet
   Loaded only on the nami Store template.
   Depends on nami.css (custom properties defined on .nami-page).
   ============================================================ */

/* ── Intro ────────────────────────────────────────────────── */

.ns-intro {
    position: relative;
    background-image: url('https://plus.unsplash.com/premium_photo-1674676471417-07f613528a94?q=80&w=2290&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center 40%;
    padding: 3rem 1.5rem;
    text-align: center;
}

.ns-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.50) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
}

.ns-intro__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.ns-intro__logo {
    display: block;
    height: 1.25rem;
    width: auto;
    margin: 0 auto 1.25rem;
}

.ns-intro__heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.625rem;
}

.ns-intro__sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    margin: 0;
    line-height: 1.6;
}

.ns-back-link {
    position: absolute;
    top: 0.875rem;
    left: 1.25rem;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
}

.ns-back-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Sections ─────────────────────────────────────────────── */

.ns-section {
    padding: 4.5rem 1.5rem;
    background: var(--background, #fff);
}

.ns-section--alt {
    background: #f7f8f9;
}

.ns-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ns-step-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

.ns-section__heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-dark-gray);
    margin: 0 0 0.5rem;
}

.ns-section__sub {
    font-size: 1.0625rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 2.5rem;
    max-width: 680px;
}

/* ── Starter Kit ──────────────────────────────────────────── */

.ns-starter {
    border: 2px solid #e8e9eb;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s;
    margin-bottom: 1.5rem;
}

.ns-starter.is-in-cart {
    border-color: var(--color-green);
}

.ns-starter__badge {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: var(--color-green);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.875rem;
    border-radius: 0 0 6px 0;
}

.ns-starter__layout {
    display: grid;
    grid-template-columns: 360px 1fr;
}

@media (max-width: 860px) {
    .ns-starter__layout {
        grid-template-columns: 1fr;
    }
}

.ns-starter__img-wrap {
    background: #fff;
    min-height: 260px;
}

.ns-starter__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-starter__info {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f7f8f9;
}

@media (max-width: 860px) {
    .ns-starter__info {
        padding: 1.5rem 1.25rem 1.75rem;
    }
}

.ns-starter__contents {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

.ns-starter__name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin: 0 0 0.875rem;
}

.ns-starter__desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 1.75rem;
}

.ns-starter__footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.ns-starter__price {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-dark-gray);
}

/* ── Notice (Pod Pro) ─────────────────────────────────────── */

.ns-notice {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--color-blue, #08c);
    border-radius: 0 6px 6px 0;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.65;
}

.ns-notice strong {
    color: var(--color-blue, #08c);
}

/* ── Subsection heading ───────────────────────────────────── */

.ns-subsection-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin: 2.75rem 0 0;
}

/* ── Product grid ─────────────────────────────────────────── */

.ns-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.ns-product-grid--cameras {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
    .ns-product-grid--cameras {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .ns-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ns-product-grid--cameras {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ns-product-grid,
    .ns-product-grid--cameras {
        grid-template-columns: 1fr;
    }
}

/* ── Product card ─────────────────────────────────────────── */

.ns-product-card {
    border: 2px solid #e8e9eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

.ns-product-card.is-in-cart {
    border-color: var(--color-green);
}

.ns-product-card__img-wrap {
    position: relative;
    background: #fff;
    aspect-ratio: 1 / 1;
}

.ns-product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-resolution-badge {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    line-height: 1;
}

.ns-product-card__check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--color-green);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.ns-product-card.is-in-cart .ns-product-card__check {
    opacity: 1;
}

.ns-product-card__body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #f7f8f9;
}

.ns-product-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin: 0 0 0.375rem;
}

.ns-product-card__desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.ns-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}

.ns-product-card__price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-dark-gray);
}

/* ── Plan grid ────────────────────────────────────────────── */

.ns-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .ns-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ns-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Plan card ────────────────────────────────────────────── */

.ns-plan-card {
    border: 2px solid #e8e9eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.ns-plan-card.is-selected {
    border-color: var(--color-green);
    background: #f7fdf0;
}

.ns-plan-badge {
    display: none;
    background: var(--color-green);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 0 0 6px 6px;
    position: absolute;
    top: -2px;
    left: 1.125rem;
}

.ns-plan-card__header {
    margin-bottom: 1.125rem;
    padding-top: 0.375rem;
}

.ns-plan-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin: 0 0 0.375rem;
}

.ns-plan-card__price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.ns-plan-card__price-amt {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    line-height: 1;
}

.ns-plan-card__price-per {
    font-size: 0.875rem;
    color: #6b7280;
}

.ns-plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}

.ns-plan-card__feat {
    font-size: 0.875rem;
    padding: 0.3125rem 0 0.3125rem 1.5rem;
    position: relative;
    line-height: 1.4;
    color: var(--color-dark-gray);
}

.ns-plan-card__feat::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--color-green);
}

.ns-plan-card__feat--no {
    color: #9ca3af;
}

.ns-plan-card__feat--no::before {
    content: '–';
    color: #d1d5db;
    font-weight: 400;
}

/* ── Monitoring toggle ────────────────────────────────────── */

.ns-monitoring-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.ns-monitoring-toggle__label {
    font-weight: 600;
    color: var(--color-dark-gray);
    white-space: nowrap;
}

.ns-monitoring-toggle__btns {
    display: flex;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.ns-monitoring-btn {
    background: #fff;
    border: none;
    border-right: 2px solid #d1d5db;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    color: #6b7280;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}

.ns-monitoring-btn:last-child {
    border-right: none;
}

.ns-monitoring-btn small {
    font-weight: 400;
    opacity: 0.85;
}

.ns-monitoring-btn--active {
    background: var(--color-blue, #08c);
    color: #fff;
}

/* ── Plan guidance & warnings ─────────────────────────────── */

.ns-section__sub-row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.ns-section__sub-row .ns-section__sub {
    margin-bottom: 0;
    flex: 3;
}

.ns-section__note {
    flex: 1;
    min-width: 180px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    line-height: 1.6;
}

.ns-section__note-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #15803d;
    margin: 0 0 0.4rem;
}

.ns-section__note-body {
    font-size: 0.9375rem;
    color: #4b5563;
    margin: 0;
}

@media (max-width: 600px) {
    .ns-section__sub-row {
        flex-direction: column;
        gap: 1rem;
    }
}

.ns-billing-note {
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--color-blue, #08c);
    border-radius: 0 6px 6px 0;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.ns-billing-note strong {
    color: var(--color-blue, #08c);
}

.ns-warning {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-left: 4px solid #f97316;
    border-radius: 0 6px 6px 0;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: #9a3412;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.ns-plan-guidance {
    font-size: 0.875rem;
    color: #4b5563;
    padding: 0.75rem 1.25rem;
    background: #f3f4f6;
    border-radius: 6px;
    margin-top: 0.75rem;
    line-height: 1.55;
}

.ns-plans-skip {
    font-size: 0.875rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1.75rem;
    line-height: 1.6;
}

/* ── Buttons ──────────────────────────────────────────────── */

.ns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
    text-decoration: none;
    white-space: nowrap;
    background: #e5e7eb;
    color: var(--color-dark-gray);
    line-height: 1;
}

.ns-btn:hover {
    background: #d1d5db;
    text-decoration: none;
    color: var(--color-dark-gray);
}

.ns-btn--primary {
    background: var(--color-green);
    color: #fff;
}

.ns-btn--primary:hover {
    background: #6da600;
    color: #fff;
}

.ns-btn--lg {
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
}

.ns-btn--sm {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
}

.ns-btn--full {
    width: 100%;
}

.ns-plan-btn {
    background: #80bc00;
    color: #fff;
}

.ns-plan-btn:hover {
    background: #6da600;
    color: #fff;
}

.ns-btn--remove {
    background: #fff;
    color: #6b7280;
    border-color: #d1d5db;
}

.ns-btn--remove:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #9ca3af;
}

.ns-btn--selected {
    background: var(--color-green);
    color: #fff;
}

.ns-btn--selected:hover {
    background: #6da600;
    color: #fff;
}

.ns-btn--checkout {
    background: #80bc00;
    color: #fff;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
}

.ns-btn--checkout:hover {
    background: #6da600;
    color: #fff;
    text-decoration: none;
}

.ns-btn--checkout[aria-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.ns-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Sticky cart bar ──────────────────────────────────────── */

.ns-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #08c;
    color: #fff;
    font-size: 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.ns-cart.ns-cart--has-items {
    transform: translateY(0);
}

.ns-cart__bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 480px) {
    .ns-cart__bar-inner {
        padding: 0.75rem 1rem;
    }
}

.ns-cart__toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

.ns-cart__toggle:hover {
    color: var(--color-green);
}

.ns-cart__toggle-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.ns-cart__count {
    font-weight: 700;
}

.ns-cart__toggle-chevron {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ns-cart__toggle[aria-expanded="true"] .ns-cart__toggle-chevron {
    transform: rotate(180deg);
}

.ns-cart__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.ns-cart__total {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 480px) {
    .ns-cart__total {
        display: none;
    }
}

/* Cart expanded items list */

.ns-cart__items {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 280px;
    overflow-y: auto;
}

.ns-cart__items-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ns-cart__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.ns-cart__item-name {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ns-cart__item-qty {
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

.ns-cart__item-price {
    color: #fff;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 3.75rem;
    text-align: right;
}

.ns-cart__item-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    font-size: 1.125rem;
    padding: 0 0.25rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
}

.ns-cart__item-remove:hover {
    color: #f87171;
}

.ns-cart__empty {
    color: rgba(255, 255, 255, 0.45);
    padding: 0.25rem 0;
    margin: 0;
}

/* ── Page bottom padding (so cart bar doesn't cover content) ─ */

.nami-store-page {
    padding-bottom: 0;
}

.ns-cart.ns-cart--has-items ~ *,
body:has(.ns-cart.ns-cart--has-items) .site-footer {
    margin-bottom: 64px;
}

/* ── Quantity stepper ─────────────────────────────────────── */

.ns-qty-wrap {
    display: flex;
    align-items: center;
}

.ns-qty-ctrl {
    display: none; /* shown via inline style when qty > 0 */
    align-items: center;
    border: 2px solid var(--color-green);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.ns-qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.ns-qty-btn:hover {
    background: var(--color-green);
    color: #fff;
}

.ns-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.ns-qty-count {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    min-width: 1.75rem;
    text-align: center;
    padding: 0 0.25rem;
    user-select: none;
}

/* ── Learn More link ──────────────────────────────────────── */

.ns-learn-more {
    font-size: inherit;
}

/* ── Product modal ────────────────────────────────────────── */

.ns-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.ns-modal.ns-modal--open {
    display: flex;
}

.ns-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.ns-modal__window {
    position: relative;
    z-index: 1;
    width: 95vw;
    max-width: 1400px;
    height: 85vh;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ns-modal__close {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.375rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ns-modal__close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.ns-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
}

@media (max-width: 767px) {
    .ns-modal__window {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }
}

/* ── Icon tooltip ─────────────────────────────────────────── */

.ns-icon-tip {
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
}

/* ── Detection icons ──────────────────────────────────────── */

.ns-detect-icons,
.ns-record-icons {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    color: #6b7280;
}

/* ── Pro monitoring explainer link ────────────────────────── */

.ns-promon-link {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    white-space: nowrap;
}

/* ── Pro monitoring info modal ─────────────────────────────── */

.ns-info-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ns-info-modal[hidden] {
    display: none;
}

.ns-info-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.ns-info-modal__window {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 620px;
    max-height: 90vh;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ns-info-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: #e5e7eb;
    color: #374151;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ns-info-modal__close:hover {
    background: #d1d5db;
}

.ns-info-modal__body {
    padding: 2rem 2rem 1.75rem;
    overflow-y: auto;
    flex: 1;
}

.ns-info-modal__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    padding-right: 2rem;
    color: var(--color-dark-gray, #222);
}

.ns-info-modal__compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.ns-info-modal__col {
    background: #f7f8f9;
    border-radius: 8px;
    padding: 1rem 1.125rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
}

.ns-info-modal__col p {
    margin: 0 0 0.625rem;
}

.ns-info-modal__col p:last-child {
    margin-bottom: 0;
}

.ns-info-modal__col-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.625rem;
}

.ns-info-modal__col-heading--self {
    color: #6b7280;
}

.ns-info-modal__col-heading--pro {
    color: var(--color-blue, #08c);
}

.ns-info-modal__benefits-heading {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.625rem;
    color: var(--color-dark-gray, #222);
}

.ns-info-modal__benefits {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #374151;
}

.ns-info-modal__benefits li {
    margin-bottom: 0.25rem;
}

.ns-info-modal__footnote {
    margin: 0;
    font-size: 0.8125rem;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

@media (max-width: 540px) {
    .ns-info-modal {
        padding: 3.5rem 0.5rem 0.5rem;
    }

    .ns-info-modal__window {
        max-height: calc(100dvh - 4rem);
    }

    .ns-info-modal__compare {
        grid-template-columns: 1fr;
    }

    .ns-info-modal__body {
        padding: 1.5rem 1.25rem;
    }
}

.ns-detect-icons {
    margin-top: 0.75rem;
    margin-bottom: 0.375rem;
}

.ns-record-icons {
    margin-bottom: 1rem;
}

.ns-detect-icons::before {
    content: 'Detects:';
    font-size: 0.6875rem;
    font-weight: 700;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}

.ns-record-icons::before {
    content: '24/7 Recording:';
    font-size: 0.6875rem;
    font-weight: 700;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}

.ns-detect-icon svg,
.ns-record-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
