/* ============================================================================
   marketing.css — the public NaWaBiz site (home, features, pricing, about,
   contact, legal). Loaded only by _PublicLayout, on top of site.css so it
   inherits the brand tokens (--nt-brand, spacing, radii) defined there. The
   authenticated app never loads this file.
   ========================================================================= */

.nt-public {
    /* Design-system surface: a soft mint-grey the white cards sit on. */
    background: #f5f8f6;
    color: #0c1a14;
    font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.nt-public h1, .nt-public h2, .nt-public h3, .nt-public h4 {
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}
.nt-public p { text-wrap: pretty; }
.nt-public ::selection { background: #c8ecd8; }

/* Alpine hides these until it initialises, so a yearly/monthly price never flashes both. */
[x-cloak] { display: none !important; }

.nt-pub-container {
    width: 100%;
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: var(--nt-space-5);
}

/* ------------------------------------------------------------------ header */

.nt-pub-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--nt-border);
}

.nt-pub-nav {
    display: flex;
    align-items: center;
    gap: var(--nt-space-5);
    min-height: 64px;
}

.nt-pub-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--nt-space-3);
    text-decoration: none;
    color: var(--nt-text);
    font-weight: 700;
    font-size: var(--nt-text-md);
}

.nt-pub-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--nt-radius-sm);
    background: var(--nt-brand);
    color: #fff;
    font-size: 1.15rem;
}

/* The full brand lockup in the navbar. Height-locked so the sticky bar keeps its 64px rhythm; width
   follows the logo's own aspect ratio. */
.nt-pub-brand-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 220px;
}

/* Footer brand tile holding the real mark image — no coloured square behind the transparent PNG. */
.nt-pub-brand-mark-img {
    background: transparent;
}
.nt-pub-brand-mark-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nt-pub-toggle {
    margin-left: auto;
    display: none;
    border: 1px solid var(--nt-border-strong);
    background: var(--nt-surface);
    border-radius: var(--nt-radius-sm);
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--nt-text);
}

.nt-pub-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--nt-space-5);
}

.nt-pub-link {
    text-decoration: none;
    color: var(--nt-text-muted);
    font-weight: 550;
    padding: var(--nt-space-2) 0;
}

.nt-pub-link:hover,
.nt-pub-link.active {
    color: var(--nt-brand);
}

.nt-pub-cta-group {
    display: inline-flex;
    gap: var(--nt-space-3);
}

@media (max-width: 860px) {
    .nt-pub-toggle { display: inline-grid; place-items: center; }

    .nt-pub-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: var(--nt-space-2);
        background: var(--nt-surface);
        border-bottom: 1px solid var(--nt-border);
        padding: var(--nt-space-4) var(--nt-space-5) var(--nt-space-5);
        box-shadow: var(--nt-shadow);
        display: none;
    }

    .nt-pub-links.is-open { display: flex; }
    .nt-pub-cta-group { flex-direction: column; margin-top: var(--nt-space-2); }
    .nt-pub-cta-group .btn { width: 100%; }
}

/* -------------------------------------------------------------- section rhythm */

.nt-sec {
    padding-block: clamp(3rem, 7vw, 6rem);
}

.nt-sec-tint { background: var(--nt-brand-050); }
.nt-sec-dark {
    background: var(--nt-sidebar);
    color: var(--nt-sidebar-text);
}
.nt-sec-dark h1, .nt-sec-dark h2, .nt-sec-dark h3 { color: #fff; }

.nt-sec-head {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: var(--nt-space-7);
}

.nt-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--nt-text-xs);
    font-weight: 700;
    color: var(--nt-brand);
}

.nt-sec-title {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    line-height: 1.15;
    margin: var(--nt-space-2) 0 var(--nt-space-3);
}

.nt-sec-lede {
    font-size: var(--nt-text-md);
    color: var(--nt-text-muted);
    margin: 0;
}

/* ---------------------------------------------------------------------- hero */

.nt-hero {
    padding-block: clamp(3rem, 8vw, 6.5rem);
    background:
        radial-gradient(1200px 500px at 80% -10%, var(--nt-brand-050), transparent 60%),
        var(--nt-surface);
}

.nt-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.nt-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: var(--nt-space-4);
}

.nt-hero-lede {
    font-size: var(--nt-text-lg);
    color: var(--nt-text-muted);
    margin-bottom: var(--nt-space-5);
}

.nt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--nt-space-3);
    margin-bottom: var(--nt-space-5);
}

.nt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--nt-space-2);
    background: var(--nt-brand-050);
    color: var(--nt-brand-700);
    border: 1px solid var(--nt-brand-100);
    border-radius: var(--nt-radius-pill);
    padding: var(--nt-space-2) var(--nt-space-4);
    font-size: var(--nt-text-sm);
    font-weight: 600;
    margin-bottom: var(--nt-space-4);
}

.nt-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--nt-space-5);
    color: var(--nt-text-muted);
    font-size: var(--nt-text-sm);
}
.nt-hero-trust i { color: var(--nt-brand); }

.nt-hero-card {
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius-lg);
    box-shadow: var(--nt-shadow-lg);
    padding: var(--nt-space-5);
}

.nt-chat {
    display: flex;
    flex-direction: column;
    gap: var(--nt-space-3);
}
.nt-chat-row { display: flex; }
.nt-chat-row.out { justify-content: flex-end; }
.nt-chat-bubble {
    max-width: 78%;
    padding: var(--nt-space-3) var(--nt-space-4);
    border-radius: 14px;
    font-size: var(--nt-text-sm);
    line-height: 1.4;
    box-shadow: var(--nt-shadow-sm);
}
.nt-chat-row.in .nt-chat-bubble { background: var(--nt-surface-2); border-bottom-left-radius: 4px; }
.nt-chat-row.out .nt-chat-bubble { background: var(--nt-brand-050); border-bottom-right-radius: 4px; }
.nt-chat-meta { font-size: var(--nt-text-xs); color: var(--nt-text-faint); margin-top: 2px; text-align: right; }

@media (max-width: 860px) {
    .nt-hero-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- stat strip */

.nt-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--nt-space-5);
    text-align: center;
}
.nt-stat-strip .nt-stat-num {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 750;
    color: var(--nt-brand);
    line-height: 1;
}
.nt-stat-strip .nt-stat-cap { color: var(--nt-text-muted); font-size: var(--nt-text-sm); margin-top: var(--nt-space-2); }

@media (max-width: 680px) {
    .nt-stat-strip { grid-template-columns: repeat(2, 1fr); gap: var(--nt-space-6) var(--nt-space-4); }
}

/* ----------------------------------------------------------- feature grid */

.nt-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nt-space-5);
}

.nt-feature {
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius-lg);
    padding: var(--nt-space-5);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.nt-feature:hover { box-shadow: var(--nt-shadow); transform: translateY(-2px); }

.nt-feature-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--nt-radius);
    background: var(--nt-brand-050);
    color: var(--nt-brand);
    font-size: 1.35rem;
    margin-bottom: var(--nt-space-4);
}
.nt-feature h3 { font-size: var(--nt-text-md); margin-bottom: var(--nt-space-2); }
.nt-feature p { color: var(--nt-text-muted); font-size: var(--nt-text-sm); margin: 0; }

@media (max-width: 960px) { .nt-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .nt-feature-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- alternating rows */

.nt-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.nt-split + .nt-split { margin-top: clamp(3rem, 6vw, 5rem); }
.nt-split.reverse .nt-split-media { order: 2; }
.nt-split h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: var(--nt-space-3); }
.nt-split p { color: var(--nt-text-muted); }

.nt-check-list { list-style: none; padding: 0; margin: var(--nt-space-4) 0 0; }
.nt-check-list li {
    display: flex;
    gap: var(--nt-space-3);
    align-items: flex-start;
    padding: var(--nt-space-2) 0;
}
.nt-check-list li i { color: var(--nt-brand); margin-top: 2px; }

.nt-split-media {
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius-lg);
    box-shadow: var(--nt-shadow);
    padding: var(--nt-space-5);
}
.nt-split-media img { max-width: 100%; height: auto; border-radius: var(--nt-radius); }

@media (max-width: 860px) {
    .nt-split { grid-template-columns: 1fr; }
    .nt-split.reverse .nt-split-media { order: 0; }
}

/* -------------------------------------------------------------- pricing */

.nt-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--nt-space-5);
    align-items: stretch;
}

.nt-price-card {
    display: flex;
    flex-direction: column;
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius-lg);
    padding: var(--nt-space-6);
    position: relative;
}
.nt-price-card.featured {
    border-color: var(--nt-brand);
    box-shadow: 0 0 0 1px var(--nt-brand), var(--nt-shadow-lg);
}
.nt-price-flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nt-brand);
    color: #fff;
    font-size: var(--nt-text-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--nt-radius-pill);
}
.nt-price-name { font-size: var(--nt-text-lg); font-weight: 700; }
.nt-price-tier { color: var(--nt-text-muted); font-size: var(--nt-text-sm); margin-bottom: var(--nt-space-4); }
.nt-price-amount { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 750; line-height: 1; }
.nt-price-amount small { font-size: var(--nt-text-sm); font-weight: 500; color: var(--nt-text-muted); }
.nt-price-sub { color: var(--nt-text-muted); font-size: var(--nt-text-sm); margin-top: var(--nt-space-2); }
.nt-price-list { list-style: none; padding: 0; margin: var(--nt-space-5) 0; flex: 1; }
.nt-price-list li { display: flex; gap: var(--nt-space-3); padding: var(--nt-space-2) 0; font-size: var(--nt-text-sm); }
.nt-price-list li i { color: var(--nt-brand); margin-top: 2px; }
.nt-price-list li.muted { color: var(--nt-text-faint); }
.nt-price-list li.muted i { color: var(--nt-text-faint); }

.nt-billing-toggle {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    background: var(--nt-surface-2);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius-pill);
    margin-inline: auto;
}
.nt-billing-toggle button {
    border: 0;
    background: transparent;
    padding: 6px 18px;
    border-radius: var(--nt-radius-pill);
    font-weight: 600;
    font-size: var(--nt-text-sm);
    color: var(--nt-text-muted);
    cursor: pointer;
}
.nt-billing-toggle button.active { background: var(--nt-brand); color: #fff; }

/* -------------------------------------------------------- comparison table */

.nt-compare-wrap { overflow-x: auto; }
.nt-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.nt-compare th, .nt-compare td {
    text-align: left;
    padding: var(--nt-space-3) var(--nt-space-4);
    border-bottom: 1px solid var(--nt-border);
}
.nt-compare thead th { background: var(--nt-surface-2); font-size: var(--nt-text-sm); }
.nt-compare td.center, .nt-compare th.center { text-align: center; }
.nt-compare .yes { color: var(--nt-brand); }
.nt-compare .no { color: var(--nt-text-faint); }

/* --------------------------------------------------------- testimonials */

.nt-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--nt-space-5); }
.nt-quote {
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius-lg);
    padding: var(--nt-space-5);
}
.nt-quote-stars { color: #e8a91e; margin-bottom: var(--nt-space-3); }
.nt-quote p { font-size: var(--nt-text-base); }
.nt-quote-who { display: flex; align-items: center; gap: var(--nt-space-3); margin-top: var(--nt-space-4); }
.nt-quote-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--nt-brand-050); color: var(--nt-brand);
    display: grid; place-items: center; font-weight: 700;
}
@media (max-width: 860px) { .nt-quote-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- FAQ */

.nt-faq { max-width: 820px; margin-inline: auto; }
.nt-faq details {
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius);
    padding: var(--nt-space-4) var(--nt-space-5);
    margin-bottom: var(--nt-space-3);
    background: var(--nt-surface);
}
.nt-faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: var(--nt-space-4);
}
.nt-faq summary::-webkit-details-marker { display: none; }
.nt-faq summary::after { content: "\002B"; color: var(--nt-brand); font-weight: 700; }
.nt-faq details[open] summary::after { content: "\2212"; }
.nt-faq p { color: var(--nt-text-muted); margin: var(--nt-space-3) 0 0; }

/* ------------------------------------------------------------------- CTA */

.nt-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--nt-brand), var(--nt-brand-700));
    color: #fff;
    border-radius: var(--nt-radius-lg);
    padding: clamp(2.5rem, 6vw, 4rem);
}
.nt-cta h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.nt-cta p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-inline: auto; }
.nt-cta .btn-light { color: var(--nt-brand-700); font-weight: 600; }

/* ------------------------------------------------------------------ contact */

.nt-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); }
.nt-contact-card {
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius-lg);
    padding: var(--nt-space-6);
}
.nt-contact-channel { display: flex; gap: var(--nt-space-4); padding: var(--nt-space-4) 0; border-bottom: 1px solid var(--nt-border); }
.nt-contact-channel:last-child { border-bottom: 0; }
.nt-contact-channel i { color: var(--nt-brand); font-size: 1.3rem; }
.nt-contact-channel a { font-weight: 600; }
@media (max-width: 860px) { .nt-contact-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ legal */

.nt-legal-head {
    background: var(--nt-brand-050);
    border-bottom: 1px solid var(--nt-brand-100);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}
.nt-legal-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nt-legal-updated { color: var(--nt-text-muted); font-size: var(--nt-text-sm); margin-top: var(--nt-space-2); }

.nt-legal-body {
    max-width: 820px;
    margin-inline: auto;
    padding-block: clamp(2.5rem, 6vw, 4rem);
}
.nt-legal-body h2 {
    font-size: var(--nt-text-lg);
    margin-top: var(--nt-space-7);
    padding-top: var(--nt-space-4);
    scroll-margin-top: 80px;
}
.nt-legal-body h3 { font-size: var(--nt-text-md); margin-top: var(--nt-space-5); }
.nt-legal-body p, .nt-legal-body li { color: var(--nt-text); line-height: 1.7; }
.nt-legal-body ul, .nt-legal-body ol { padding-left: var(--nt-space-5); }
.nt-legal-body li { margin-bottom: var(--nt-space-2); }

.nt-legal-toc {
    background: var(--nt-surface-2);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius);
    padding: var(--nt-space-4) var(--nt-space-5);
    margin-bottom: var(--nt-space-6);
}
.nt-legal-toc ol { margin: var(--nt-space-2) 0 0; }
.nt-legal-toc a { text-decoration: none; }
.nt-legal-toc a:hover { text-decoration: underline; }

.nt-legal-note {
    background: var(--nt-info-tint);
    border-left: 3px solid var(--nt-info);
    border-radius: var(--nt-radius-sm);
    padding: var(--nt-space-4) var(--nt-space-5);
    margin: var(--nt-space-5) 0;
    font-size: var(--nt-text-sm);
}
.nt-legal-placeholder {
    background: var(--nt-warning-tint);
    border-left: 3px solid var(--nt-warning);
    color: var(--nt-warning);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.nt-legal-contact-box {
    background: var(--nt-brand-050);
    border: 1px solid var(--nt-brand-100);
    border-radius: var(--nt-radius);
    padding: var(--nt-space-5);
    margin-top: var(--nt-space-5);
}

/* ---------------------------------------------------------------- footer */

/* Full-bleed footer: a compact, edge-to-edge band. A thin brand-gradient hairline on top gives it a
   little life without adding height. */
.nt-pub-footer {
    background: var(--nt-sidebar);
    color: var(--nt-sidebar-text);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--nt-brand-400), var(--nt-brand), var(--nt-brand-700)) 1;
    padding-block: var(--nt-space-5) var(--nt-space-4);
}

/* Container-fluid: spans the full width with only a small responsive gutter. */
.nt-pub-container-fluid {
    width: 100%;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.nt-pub-foot-top {
    display: flex;
    flex-wrap: wrap;
    gap: var(--nt-space-5) clamp(1.5rem, 5vw, 4rem);
    align-items: flex-start;
}
.nt-pub-foot-brandcol { flex: 1 1 240px; min-width: 220px; }
.nt-pub-foot-cols {
    flex: 4 1 720px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--nt-space-4) clamp(1rem, 3vw, 2rem);
}

.nt-pub-brand-footer .nt-pub-brand-name { color: #fff; }

/* Staff-only platform sign-in: present in the footer but deliberately quiet — it is not for visitors.
   Lives under the brand blurb now, so it's left-aligned instead of centered. */
.nt-pub-foot-staff {
    margin-top: var(--nt-space-3);
    text-align: left;
}
.nt-pub-foot-staff a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--nt-text-xs);
    color: var(--nt-sidebar-text);
    text-decoration: none;
    opacity: 0.65;
    transition: opacity 0.15s ease;
}
.nt-pub-foot-staff a:hover { opacity: 1; }
.nt-pub-foot-staff-note { opacity: 0.7; }
.nt-pub-foot-blurb {
    color: var(--nt-sidebar-text);
    font-size: var(--nt-text-xs);
    line-height: 1.5;
    margin: var(--nt-space-2) 0 0;
    max-width: 40ch;
    opacity: 0.85;
}

/* Trademark disclaimer, relocated under the brand blurb + platform sign-in link. */
.nt-pub-foot-disclaimer-inline {
    color: var(--nt-sidebar-text);
    font-size: var(--nt-text-xs);
    line-height: 1.5;
    margin: var(--nt-space-2) 0 0;
    max-width: 40ch;
    opacity: 0.7;
}

.nt-pub-foot-head {
    font-size: var(--nt-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #fff;
    margin: 0 0 var(--nt-space-2);
}
/* No top/bottom margins on the links themselves — the list uses line-height for breathing room. */
.nt-pub-foot-list { list-style: none; padding: 0; margin: 0; line-height: 1.85; }
.nt-pub-foot-list li { margin: 0; }
.nt-pub-foot-list a {
    color: var(--nt-sidebar-text);
    text-decoration: none;
    font-size: var(--nt-text-sm);
    transition: color 0.12s ease;
}
.nt-pub-foot-list a:hover { color: var(--nt-brand-200); }

.nt-pub-social { display: flex; gap: var(--nt-space-2); margin-top: var(--nt-space-3); }
.nt-pub-social a {
    display: grid; place-items: center;
    width: 32px; height: 32px;
    border-radius: var(--nt-radius-sm);
    background: var(--nt-sidebar-2);
    color: #fff;
    text-decoration: none;
    transition: background 0.12s ease, transform 0.12s ease;
}
.nt-pub-social a:hover { background: var(--nt-brand); transform: translateY(-1px); }

/* DPDP contact + registered office, now the "Contact" footer column instead of a full-width strip. */
.nt-pub-foot-contact-list { font-size: var(--nt-text-xs); line-height: 1.7; }
.nt-pub-foot-contact-list strong { color: #fff; }
.nt-pub-foot-contact-list a { color: var(--nt-brand-200); }
.nt-pub-foot-contact-list a:hover { text-decoration: underline; }
.nt-pub-foot-contact-list i { color: var(--nt-brand-200); margin-right: 4px; }

.nt-pub-foot-bar {
    margin-top: var(--nt-space-2);
    padding-top: var(--nt-space-2);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 2px var(--nt-space-4);
    font-size: 0.6875rem;
    color: var(--nt-text-faint);
}
.nt-pub-foot-bar a {
    color: var(--nt-text-faint);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nt-pub-foot-bar a:hover { color: var(--nt-brand-200); }
.nt-pub-foot-sep { margin-inline: 5px; opacity: 0.5; }

@media (max-width: 860px) {
    .nt-pub-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .nt-pub-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* skip link is defined in site.css but the public shell needs it visible on focus too */
.nt-public .nt-skip-link:focus { z-index: 2000; }

/* ============================================================================
   NaWaBiz design-system layer (imported from the Claude Design "NaWaBiz Site"
   project). Everything below is scoped under .nt-public so it only paints the
   marketing + public-auth shell; the authenticated app never loads this file.
   The ported page markup uses inline styles for one-off visuals and the helper
   classes below for anything that needs :hover / :focus / scroll reveal.
   ========================================================================= */

/* ---- motion keyframes ---- */
@keyframes ntFade   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ntPop    { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ntDrift  { 0% { transform: translate(0,0); } 50% { transform: translate(0,-14px); } 100% { transform: translate(0,0); } }
@keyframes ntPulse  { 0% { box-shadow: 0 0 0 0 rgba(23,160,90,.35); } 70% { box-shadow: 0 0 0 16px rgba(23,160,90,0); } 100% { box-shadow: 0 0 0 0 rgba(23,160,90,0); } }
@keyframes ntMarquee{ from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ntBlink  { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes ntBar    { from { width: 0; } to { width: var(--w, 60%); } }
@keyframes ntSlideL { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .nt-public *,
    .nt-public *::before,
    .nt-public *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---- scroll reveal: sections fade up as they enter the viewport. The observer lives inline in
   _PublicLayout (NOT site.js) — so .nt-reveal may only be used on pages under that layout, or the
   section stays at opacity 0 forever. ---- */
.nt-public .nt-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
/* will-change released once revealed: a landing page holds ten of these, and each pinned hint is a
   permanently promoted compositor layer for a section that will never move again. */
.nt-public .nt-reveal.is-in { opacity: 1; transform: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) { .nt-public .nt-reveal { opacity: 1; transform: none; will-change: auto; } }

/* ---- shared shell width ---- */
.nt-public .nt-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 28px; }

/* ---- eyebrow / mono kicker used across the ported pages ---- */
.nt-public .nt-kick { font: 500 11px "IBM Plex Mono", monospace; letter-spacing: .14em; color: #0b7a5c; }

/* ---- buttons (anchors + spans styled as buttons) ---- */
.nt-public .nt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: "Outfit", system-ui, sans-serif; font-weight: 600; font-size: 16px;
    padding: 15px 28px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
    text-decoration: none; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nt-public .nt-btn-sm { padding: 10px 18px; font-size: 14.5px; border-radius: 9px; }
.nt-public .nt-btn-primary { background: #17a05a; color: #fff; box-shadow: 0 14px 30px -14px rgba(11,122,92,.85); }
.nt-public .nt-btn-primary:hover { background: #0b7a5c; color: #fff; transform: translateY(-1px); }
.nt-public .nt-btn-ghost { background: #fff; color: #0c1a14; border-color: rgba(11,60,44,.14); }
.nt-public .nt-btn-ghost:hover { border-color: #17a05a; color: #0c1a14; }
.nt-public .nt-btn-white { background: #fff; color: #08211a; }
.nt-public .nt-btn-white:hover { background: #d7f2e2; color: #08211a; }
.nt-public .nt-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.nt-public .nt-btn-outline-light:hover { border-color: #fff; color: #fff; }
.nt-public .nt-btn-block { display: flex; width: 100%; }

/* ---- text link with animated underline ---- */
.nt-public .nt-textlink { color: #0b7a5c; font-weight: 600; cursor: pointer; border-bottom: 1px solid rgba(23,160,90,.35); padding-bottom: 2px; }
.nt-public .nt-textlink:hover { color: #17a05a; border-color: #17a05a; }

/* ---- card lift on hover (green / blue variants match the design's per-card accent) ---- */
.nt-public .nt-lift { transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.nt-public .nt-lift-g:hover { border-color: rgba(23,160,90,.5); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(6,40,28,.4); }
.nt-public .nt-lift-b:hover { border-color: rgba(29,135,214,.5); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(6,40,28,.4); }
.nt-public .nt-lift-sm:hover { border-color: rgba(23,160,90,.45); transform: translateY(-3px); }
.nt-public .nt-lift-flat:hover { border-color: rgba(23,160,90,.5); transform: translateY(-2px); }

/* ---- form inputs used inside ported markup ---- */
.nt-public .nt-inp {
    width: 100%; font-family: "Public Sans", sans-serif; font-size: 14.5px; padding: 12px 14px;
    border-radius: 10px; border: 1px solid rgba(11,60,44,.16); background: #fafcfb; color: #0c1a14; outline: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.nt-public .nt-inp:focus { border-color: #17a05a; background: #fff; box-shadow: 0 0 0 3px rgba(23,160,90,.12); }
.nt-public textarea.nt-inp { resize: vertical; }

/* ============================ header ============================ */
/* Retheme the shared public header to the design's translucent bar on the mint surface. */
.nt-public .nt-pub-header {
    background: rgba(245,248,246,.86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(11,60,44,.09);
    z-index: 1030;
}
.nt-public .nt-pub-nav { min-height: 66px; }
.nt-public .nt-pub-brand-logo { height: 38px; }
/* Tight 2px spacing between the nav-link pills (design look), but keep the sign-in/get-started
   buttons clearly separated from them the way the old navbar did — the CTA group is a flex child
   of .nt-pub-links, so it inherits the 2px gap unless we push it off. */
.nt-public .nt-pub-links { gap: 2px; align-items: center; }
.nt-public .nt-pub-cta-group { margin-left: 20px; align-items: center; }
.nt-public .nt-pub-link {
    font-family: "Public Sans", sans-serif; font-size: 14.5px; font-weight: 500; color: #42544b;
    padding: 8px 11px; border-radius: 8px; transition: background .15s ease, color .15s ease;
}
.nt-public .nt-pub-link:hover,
.nt-public .nt-pub-link.active { background: rgba(23,160,90,.1); color: #0b7a5c; }
.nt-public .nt-pub-cta-group .btn-outline-primary {
    --bs-btn-color: #0c1a14; --bs-btn-border-color: rgba(11,60,44,.16);
    --bs-btn-hover-color: #0c1a14; --bs-btn-hover-bg: transparent; --bs-btn-hover-border-color: #17a05a;
    font-weight: 500;
}
.nt-public .nt-pub-cta-group .btn-primary {
    --bs-btn-bg: #17a05a; --bs-btn-border-color: #17a05a; font-weight: 600;
    box-shadow: 0 6px 18px -8px rgba(11,122,92,.7);
}

/* ============================ dark sections ============================ */
.nt-public .nt-dark { background: #08211a; color: #e8f2ec; position: relative; overflow: hidden; }
.nt-public .nt-dark h1, .nt-public .nt-dark h2, .nt-public .nt-dark h3 { color: #fff; }
.nt-public .nt-dark .nt-kick { color: #6fd3a4; }

/* ============================ hero chat device ============================ */
.nt-public .nt-device { position: relative; animation: ntDrift 9s ease-in-out infinite; }
.nt-public .nt-device-glow { position: absolute; inset: -26px; border-radius: 52px; background: conic-gradient(from 200deg, rgba(23,160,90,.22), rgba(29,135,214,.18), rgba(23,160,90,.22)); filter: blur(28px); }
@media (prefers-reduced-motion: reduce) { .nt-public .nt-device { animation: none; } }

/* ============================ logo marquee ============================ */
.nt-public .nt-marquee-track { display: flex; width: 200%; animation: ntMarquee 34s linear infinite; }
.nt-public .nt-marquee-track:hover { animation-play-state: paused; }
.nt-public .nt-marquee-half { display: flex; width: 50%; justify-content: space-around; align-items: center; }
.nt-public .nt-marquee-item { font: 600 17px "Outfit", sans-serif; color: #9fb0a7; white-space: nowrap; }

/* ============================ check list ============================ */
.nt-public .nt-checks { display: flex; flex-direction: column; gap: 11px; margin-top: 24px; }
.nt-public .nt-checks > div { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: #2b3a33; }
.nt-public .nt-checks .nt-ck { color: #17a05a; font-weight: 700; }
.nt-public .nt-dark .nt-checks > div { color: #d3e6db; }
.nt-public .nt-dark .nt-checks .nt-ck { color: #6fd3a4; }

/* ============================ pricing (design cards) ============================ */
.nt-public .nt-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.nt-public .nt-plan {
    background: #fff; border: 1px solid rgba(11,60,44,.11); border-radius: 22px; padding: 32px; position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.nt-public .nt-plan:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -34px rgba(6,40,28,.4); }
.nt-public .nt-plan.is-pop { border: 1.5px solid #17a05a; box-shadow: 0 30px 60px -34px rgba(11,122,92,.5); }
.nt-public .nt-plan-flag { position: absolute; top: -12px; left: 32px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #fff; background: #17a05a; padding: 4px 11px; border-radius: 999px; }
.nt-public .nt-plan-name { font: 600 13px "IBM Plex Mono", monospace; letter-spacing: .08em; color: #7c8b83; text-transform: uppercase; }
.nt-public .nt-plan.is-pop .nt-plan-name { color: #0b7a5c; }
.nt-public .nt-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.nt-public .nt-plan-price b { font: 600 44px "Outfit", sans-serif; letter-spacing: -.03em; }
.nt-public .nt-plan-price span { font-size: 15px; color: #7c8b83; }
.nt-public .nt-plan-note { font-size: 13px; color: #7c8b83; margin-top: 8px; }
.nt-public .nt-plan-rule { height: 1px; background: rgba(11,60,44,.09); margin: 26px 0; }
.nt-public .nt-plan-feats { display: flex; flex-direction: column; gap: 11px; }
.nt-public .nt-plan-feats > div { display: flex; gap: 10px; font-size: 14.5px; color: #2b3a33; }
.nt-public .nt-plan-feats .nt-ck { color: #17a05a; }
.nt-public .nt-plan-feats .nt-dk { color: #b3bfba; }
.nt-public .nt-plan-cta { display: block; text-align: center; margin-top: 22px; font-size: 15px; font-weight: 600; padding: 13px; border-radius: 11px; text-decoration: none; transition: all .18s ease; }
.nt-public .nt-plan-cta.g { color: #0c1a14; border: 1px solid rgba(11,60,44,.16); }
.nt-public .nt-plan-cta.g:hover { border-color: #17a05a; color: #0b7a5c; }
.nt-public .nt-plan-cta.p { color: #fff; background: #17a05a; }
.nt-public .nt-plan-cta.p:hover { background: #0b7a5c; color: #fff; }

/* billing toggle pill (design look) */
.nt-public .nt-cycle { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid rgba(11,60,44,.12); border-radius: 999px; padding: 5px; }
.nt-public .nt-cycle button { border: 0; background: transparent; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: #42544b; }
.nt-public .nt-cycle button.active { background: #17a05a; color: #fff; }

/* comparison table (design look) */
.nt-public .nt-cmp { background: #fff; border: 1px solid rgba(11,60,44,.1); border-radius: 20px; overflow: hidden; }
.nt-public .nt-cmp-scroll { overflow-x: auto; }
.nt-public .nt-cmp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: center; min-width: 620px; }
.nt-public .nt-cmp-head { background: #fafcfb; border-bottom: 1px solid rgba(11,60,44,.09); font: 600 13.5px "Outfit", sans-serif; }
.nt-public .nt-cmp-head > div { padding: 16px 18px; text-align: center; }
.nt-public .nt-cmp-head > div:first-child { text-align: left; padding-left: 22px; }
.nt-public .nt-cmp-body > div { border-bottom: 1px solid rgba(11,60,44,.06); }
.nt-public .nt-cmp-body > div:nth-child(even) { background: #fafcfb; }
.nt-public .nt-cmp-body .nt-cmp-lab { padding: 14px 22px; font-size: 14.5px; color: #2b3a33; }
.nt-public .nt-cmp-body .nt-cmp-val { padding: 14px 18px; text-align: center; font-size: 14px; color: #42544b; }
.nt-public .nt-cmp-body .nt-cmp-val.hot { color: #0b7a5c; font-weight: 600; }

/* ============================ faq (accordion via <details>) ============================ */
.nt-public .nt-faq2 { display: flex; flex-direction: column; gap: 12px; }
.nt-public .nt-faq2 details { background: #fff; border: 1px solid rgba(11,60,44,.1); border-radius: 16px; padding: 22px 24px; transition: border-color .2s ease; }
.nt-public .nt-faq2 details:hover { border-color: rgba(23,160,90,.4); }
.nt-public .nt-faq2 summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; font: 600 17.5px "Outfit", sans-serif; }
.nt-public .nt-faq2 summary::-webkit-details-marker { display: none; }
.nt-public .nt-faq2 summary::after { content: "+"; margin-left: auto; width: 28px; height: 28px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #0b7a5c; background: rgba(23,160,90,.1); transition: transform .2s ease; }
.nt-public .nt-faq2 details[open] summary::after { transform: rotate(45deg); }
.nt-public .nt-faq2 details p { font-size: 15.5px; line-height: 1.7; color: #42544b; margin: 14px 0 0; max-width: 720px; }

/* ============================ auth split screen ============================ */
/* Public sign-in/up (Login + SignUp) use _PublicAuthLayout, whose <main> is .nt-authx-shell.
   Only those two views render inside it, so the grid override is safe. */
.nt-public .nt-authx-shell { display: block; }
.nt-public .nt-authx { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 66px); }
.nt-public .nt-authx-brand { background: #08211a; position: relative; overflow: hidden; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.nt-public .nt-authx-brand-inner { position: relative; max-width: 520px; animation: ntSlideL .6s ease both; }
.nt-public .nt-authx-form { background: #f5f8f6; padding: 56px; display: flex; align-items: center; justify-content: center; }
.nt-public .nt-authx-form-inner { width: 100%; max-width: 460px; animation: ntFade .55s ease both; }
.nt-public .nt-authx-card { background: #fff; border: 1px solid rgba(11,60,44,.1); border-radius: 20px; padding: 28px; margin-top: 24px; box-shadow: 0 24px 50px -38px rgba(6,40,28,.5); }
@media (max-width: 980px) {
    .nt-public .nt-authx { grid-template-columns: 1fr; min-height: 0; }
    .nt-public .nt-authx-brand { display: none; }
}
@media (max-width: 600px) { .nt-public .nt-authx-form { padding: 40px 20px; } }

/* ============================ footer retheme ============================ */
/* Darken the shared footer to the design's near-black green and green-accent links. */
.nt-public .nt-pub-footer { background: #061711; color: #9fb5aa; border-image: linear-gradient(90deg, #25d366, #17a05a, #075440) 1; }
.nt-public .nt-pub-foot-head { color: #fff; }
.nt-public .nt-pub-foot-list a { color: #9fb5aa; }
.nt-public .nt-pub-foot-list a:hover { color: #fff; }
.nt-public .nt-pub-foot-blurb, .nt-public .nt-pub-foot-disclaimer-inline { color: #7d998c; }
.nt-public .nt-pub-foot-staff a { color: #6fd3a4; opacity: .9; }
.nt-public .nt-pub-foot-contact-list a { color: #9fb5aa; }
.nt-public .nt-pub-foot-contact-list strong { color: #fff; }
.nt-public .nt-pub-foot-contact-list i { color: #6fd3a4; }
.nt-public .nt-pub-social a { background: #123a31; }
.nt-public .nt-pub-social a:hover { background: #17a05a; }
.nt-public .nt-pub-foot-bar { color: #638073; border-top: 1px solid rgba(255,255,255,.1); }
.nt-public .nt-pub-foot-bar a { color: #9fb5aa; }

/* ============================ responsive collapses for ported grids ============================ */
@media (max-width: 960px) {
    .nt-public .nt-2col { grid-template-columns: 1fr !important; }
    .nt-public .nt-3col { grid-template-columns: repeat(2, 1fr) !important; }
    .nt-public .nt-4col { grid-template-columns: repeat(2, 1fr) !important; }
    /* !important like its siblings: the pricing page sets the plan count as an inline
       grid-template-columns, and without it the inline style wins and three plan cards stay
       three-across on a phone. */
    .nt-public .nt-plan-grid { grid-template-columns: 1fr !important; }
    .nt-public .nt-order-flip > :first-child { order: 2; }
}
@media (max-width: 820px) {
    .nt-public .nt-hero-grid2 { grid-template-columns: 1fr !important; }
    .nt-public .nt-hero-h1 { font-size: 44px !important; }
    .nt-public .nt-h1 { font-size: 40px !important; }
    .nt-public .nt-h2 { font-size: 30px !important; }
    .nt-public .nt-device { display: none; }
}
@media (max-width: 620px) {
    .nt-public .nt-3col, .nt-public .nt-4col, .nt-public .nt-5col { grid-template-columns: 1fr !important; }
    .nt-public .nt-wrap { padding-inline: 20px; }
    .nt-public .nt-stat4 { grid-template-columns: repeat(2, 1fr) !important; }
    /* The use-case icon rows (120px 1fr) and the API endpoint rows (verb / path / description)
       stack on a phone; !important because both grids are inline-styled. */
    .nt-public .nt-uc-media-row { grid-template-columns: 1fr !important; }
    .nt-public .nt-api-row { grid-template-columns: 1fr !important; gap: 4px !important; }
}

/* ---- keyboard focus: the public pages sit on dark and photographic backgrounds where the UA
   default focus ring disappears; one visible ring for every focusable thing. :focus-visible so
   pointer clicks stay clean. ---- */
.nt-public a:focus-visible,
.nt-public button:focus-visible,
.nt-public input:focus-visible,
.nt-public select:focus-visible,
.nt-public textarea:focus-visible,
.nt-public summary:focus-visible {
    outline: 3px solid rgba(23, 160, 90, 0.6);
    outline-offset: 2px;
}

/* ---- load fade for the single-section public pages (contact, legal): they have nothing below
   the fold for the scroll observer, so they get a quiet entrance instead of staying the only
   inert pages on the site. The global reduced-motion kill above covers these too. ---- */
.nt-public .nt-fade-in { animation: ntFade .6s ease both; }
.nt-public .nt-legal-head { animation: ntFade .55s ease both; }
.nt-public .nt-legal-body { animation: ntFade .6s ease .08s both; }
