/**
 * ZATAM LOANS — public marketing (index.php + subpages) v6
 * Layout: CSS Grid + Flexbox; responsive mobile-first.
 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --zp-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --zp-ink: #0f172a;
    --zp-ink-soft: #334155;
    --zp-muted: #64748b;
    --zp-line: #e2e8f0;
    --zp-line-soft: rgba(148, 163, 184, 0.35);
    --zp-accent: #1d4ed8;
    --zp-accent-2: #3b82f6;
    --zp-accent-hover: #1e40af;
    --zp-surface: #f8fafc;
    --zp-hero-bg: #0a0f1a;
    --zp-hero-surface: rgba(255, 255, 255, 0.06);
    --zp-radius: 16px;
    --zp-radius-sm: 12px;
    --zp-shadow: 0 20px 48px rgba(7, 11, 20, 0.45);
    --zp-shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.08);
    --zp-container: min(1140px, 100% - 2rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.zatam-public {
    margin: 0;
    font-family: var(--zp-font);
    color: var(--zp-ink);
    line-height: 1.5;
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(37, 99, 235, 0.12), transparent 55%),
        radial-gradient(700px 360px at 92% 0%, rgba(14, 165, 233, 0.1), transparent 45%),
        var(--zp-surface);
    -webkit-font-smoothing: antialiased;
}

/* ----- Header / nav ----- */
.zp-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.zp-nav {
    padding: 0.65rem 0;
    background: rgba(7, 11, 20, 0.78) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--zp-line-soft);
}

.zp-nav-inner {
    max-width: 1140px;
}

.zp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff !important;
    text-decoration: none;
}

.zp-brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.35), rgba(37, 99, 235, 0.15));
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
    font-size: 1rem;
}

.zp-brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.zp-brand-logo {
    display: block;
    height: 2.15rem;
    width: auto;
    max-width: min(9rem, 38vw);
    object-fit: contain;
    object-position: left center;
}

.zp-brand-text {
    font-size: 1.05rem;
}

.zp-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.zp-nav-links .zp-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.zp-nav-links .zp-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.zp-nav-links .zp-link:focus-visible,
.zp-btn-nav:focus-visible,
.zp-btn-hero:focus-visible,
.zp-footer-link:focus-visible,
.zp-btn-trial-primary:focus-visible,
.zp-trial-card-link:focus-visible,
.zp-footer-list a:focus-visible {
    outline: 2px solid rgba(147, 197, 253, 0.9);
    outline-offset: 2px;
}

.zp-btn-nav {
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 0.45rem 1rem !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

.zp-btn-nav:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.zp-btn-nav-solid {
    border: none !important;
    background: linear-gradient(180deg, var(--zp-accent-2), var(--zp-accent)) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.zp-btn-nav-solid:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* ----- Hero ----- */
.zp-hero {
    position: relative;
    background: linear-gradient(165deg, var(--zp-hero-bg) 0%, #111a2e 40%, #152238 100%);
    color: #fff;
    padding: 2.5rem 0 4rem;
    overflow: hidden;
}

@media (min-width: 992px) {
    .zp-hero {
        padding: 3.25rem 0 4.75rem;
    }
}

.zp-hero-glow {
    position: absolute;
    inset: -20% -10% auto -20%;
    height: 70%;
    background:
        radial-gradient(ellipse 50% 45% at 30% 20%, rgba(59, 130, 246, 0.35), transparent),
        radial-gradient(ellipse 40% 40% at 80% 10%, rgba(14, 165, 233, 0.2), transparent);
    pointer-events: none;
}

.zp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 197, 255, 0.25);
}

.zp-hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
}

.zp-hero-title {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0 0 1rem;
    max-width: 18ch;
}

@media (min-width: 992px) {
    .zp-hero-title {
        max-width: none;
    }
}

.zp-hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.88);
    margin: 0 0 1.5rem;
    max-width: 36rem;
}

@media (min-width: 992px) {
    .zp-hero-lead {
        margin-left: 0;
        margin-right: auto;
    }
}

.zp-btn-hero {
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 0.65rem 1.35rem !important;
}

.zp-btn-hero-primary {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.zp-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

@media (min-width: 992px) {
    .zp-hero-cta-group {
        justify-content: flex-start;
    }
}

.zp-hero-trial-note {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.72);
    max-width: 26rem;
    text-align: center;
}

@media (min-width: 992px) {
    .zp-hero-trial-note {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
}

.zp-hero-bullets {
    color: rgba(226, 232, 240, 0.75);
    text-align: left;
    display: inline-block;
}

@media (min-width: 992px) {
    .zp-hero-bullets {
        margin-left: 0;
    }
}

.zp-hero-bullets li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.zp-hero-bullets li:last-child {
    margin-bottom: 0;
}

.zp-hero-bullets i {
    color: #86efac;
    font-size: 0.95rem;
}

.zp-hero-panel {
    background: var(--zp-hero-surface);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--zp-radius);
    box-shadow: var(--zp-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.zp-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(148, 163, 184, 0.15);
}

@media (max-width: 380px) {
    .zp-metric-grid {
        grid-template-columns: 1fr;
    }
}

.zp-metric {
    padding: 1.15rem 1.25rem;
    background: rgba(15, 23, 42, 0.45);
}

.zp-metric-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 0.35rem;
}

.zp-metric-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.zp-metric-hint {
    display: block;
    font-size: 0.78rem;
    color: rgba(203, 213, 225, 0.85);
    margin-top: 0.25rem;
    line-height: 1.35;
}

.zp-hero-panel-foot {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.82);
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.zp-hero-panel-foot-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

/* ----- Trust strip ----- */
.zp-trust-wrap {
    margin-top: -2.25rem;
    position: relative;
    z-index: 2;
    padding-bottom: 0.5rem;
}

.zp-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: var(--zp-radius-sm);
    border: 1px solid var(--zp-line);
    box-shadow: var(--zp-shadow-soft);
}

@media (min-width: 768px) {
    .zp-trust-strip {
        grid-template-columns: repeat(4, 1fr);
        padding: 1rem 1.5rem;
    }
}

.zp-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--zp-ink-soft);
    text-align: center;
}

.zp-trust-item i {
    color: var(--zp-accent);
    font-size: 1rem;
    opacity: 0.95;
}

/* ----- Sections ----- */
.zp-section {
    padding: clamp(3.25rem, 6vw, 4.5rem) 0;
}

.zp-section-alt {
    background: #fff;
    border-top: 1px solid var(--zp-line);
    border-bottom: 1px solid var(--zp-line);
}

.zp-section-head {
    max-width: 36rem;
    margin-bottom: 2.75rem;
}

.zp-section-title {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--zp-ink);
    margin: 0 0 0.65rem;
}

.zp-section-sub {
    font-size: 1.05rem;
    color: var(--zp-muted);
    line-height: 1.55;
    margin: 0;
}

/* ----- Feature cards ----- */
.zp-feature-card {
    height: 100%;
    padding: 1.65rem 1.5rem;
    background: #fff;
    border: 1px solid var(--zp-line);
    border-radius: var(--zp-radius);
    box-shadow: var(--zp-shadow-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.zp-feature-card,
.zp-step,
.zp-quote-card {
    position: relative;
    isolation: isolate;
}

.zp-feature-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.zp-feature-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--zp-accent);
    font-size: 1.25rem;
}

.zp-feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    color: var(--zp-ink);
}

.zp-feature-text {
    font-size: 0.95rem;
    color: var(--zp-muted);
    line-height: 1.55;
    margin: 0;
}

/* ----- Steps ----- */
.zp-step {
    height: 100%;
    padding: 1.5rem 1.35rem;
    background: #f8fafc;
    border: 1px solid var(--zp-line);
    border-radius: var(--zp-radius);
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.zp-step:hover {
    background: #fff;
    border-color: #cbd5e1;
}

.zp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(145deg, var(--zp-accent-2), var(--zp-accent));
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    margin-bottom: 1rem;
}

.zp-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--zp-ink);
}

.zp-step-text {
    font-size: 0.9rem;
    color: var(--zp-muted);
    line-height: 1.5;
    margin: 0;
}

/* ----- Why / checklist ----- */
.zp-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.98rem;
    color: var(--zp-ink-soft);
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

.zp-checklist li:last-child {
    margin-bottom: 0;
}

.zp-checklist i {
    color: var(--zp-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.zp-quote-card {
    padding: 2rem 1.75rem;
    border-radius: var(--zp-radius);
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.25);
}

.zp-quote-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 1rem;
    font-style: italic;
}

.zp-quote-meta {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.95);
    letter-spacing: 0.02em;
}

/* ----- Trial section ----- */
.zp-trial {
    background: linear-gradient(180deg, #fff 0%, var(--zp-surface) 100%);
    border-top: 1px solid var(--zp-line);
    border-bottom: 1px solid var(--zp-line);
}

.zp-trial-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: start;
}

@media (min-width: 992px) {
    .zp-trial-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 3rem;
        align-items: stretch;
    }
}

.zp-trial-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zp-accent);
    margin: 0 0 0.5rem;
}

.zp-trial-heading {
    font-size: clamp(1.55rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--zp-ink);
    margin: 0 0 1rem;
}

.zp-trial-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--zp-muted);
    margin: 0 0 1.25rem;
}

.zp-trial-checklist {
    margin: 0 0 1.5rem;
    padding: 0;
}

.zp-trial-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--zp-ink-soft);
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.zp-trial-checklist li:last-child {
    margin-bottom: 0;
}

.zp-trial-checklist i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--zp-accent);
    font-size: 0.75rem;
}

.zp-trial-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.zp-btn-trial-primary {
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 0.7rem 1.5rem !important;
    background: linear-gradient(180deg, var(--zp-accent-2), var(--zp-accent)) !important;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}

.zp-btn-trial-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.4);
}

.zp-trial-fine-print {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--zp-muted);
    max-width: 36rem;
}

.zp-trial-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.35rem, 3vw, 1.75rem);
    background: #fff;
    border: 1px solid var(--zp-line);
    border-radius: var(--zp-radius);
    box-shadow: var(--zp-shadow-soft);
}

.zp-trial-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--zp-muted);
    margin: 0 0 1.15rem;
}

.zp-trial-card-list {
    margin: 0 0 1.25rem;
    padding: 0;
    flex: 1;
}

.zp-trial-card-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    font-size: 0.9rem;
    color: var(--zp-ink-soft);
    line-height: 1.45;
    margin-bottom: 1rem;
}

.zp-trial-card-list li:last-child {
    margin-bottom: 0;
}

.zp-trial-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--zp-accent);
    font-size: 0.95rem;
}

.zp-trial-card-link {
    font-size: 0.875rem;
    color: var(--zp-accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.25rem;
}

.zp-trial-card-link:hover {
    color: var(--zp-accent-hover);
}

/* ----- CTA band ----- */
.zp-cta-band {
    padding: clamp(3rem, 8vw, 4.25rem) 0;
    padding-bottom: calc(clamp(3rem, 8vw, 4.25rem) + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(135deg, var(--zp-accent-2) 0%, var(--zp-accent) 42%, var(--zp-accent-hover) 100%);
    color: #fff;
}

.zp-cta-inner {
    max-width: 40rem;
    margin-inline: auto;
}

.zp-cta-title {
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
}

.zp-cta-sub {
    max-width: 32rem;
    margin: 0 auto 1.75rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.02rem;
    line-height: 1.55;
}

.zp-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

/* ----- Footer ----- */
.zp-footer {
    background: var(--zp-hero-bg);
    color: rgba(255, 255, 255, 0.65);
    padding: clamp(2.5rem, 5vw, 3.25rem) 0 1.75rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.zp-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1.5rem;
}

@media (min-width: 576px) {
    .zp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .zp-footer-grid {
        grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.zp-footer-col-brand {
    max-width: 20rem;
}

.zp-footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0.65rem;
}

.zp-footer-logo {
    display: block;
    height: 2.25rem;
    width: auto;
    max-width: min(11rem, 70vw);
    object-fit: contain;
    object-position: left center;
}

.zp-footer-brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.zp-footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin: 0 0 0.85rem;
}

.zp-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(148, 163, 184, 0.88);
    margin: 0 0 0.75rem;
}

.zp-footer-contact {
    font-size: 0.9rem;
}

.zp-footer-list {
    margin: 0;
    padding: 0;
}

.zp-footer-list li {
    margin-bottom: 0.45rem;
}

.zp-footer-list li:last-child {
    margin-bottom: 0;
}

.zp-footer-list a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.zp-footer-list a:hover {
    color: #fff;
}

.zp-footer-muted {
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.8);
}

.zp-footer-brand {
    color: #fff;
    font-size: 1.05rem;
}

.zp-footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.zp-footer-link:hover {
    color: #fff;
    text-decoration: none;
}

.zp-footer-dot {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.zp-footer-rule {
    margin: 1.75rem 0 1rem;
    border-color: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

.zp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .zp-footer-bottom {
        justify-content: space-between;
        text-align: left;
    }
}

.zp-footer-copy {
    color: rgba(148, 163, 184, 0.75);
    font-size: 0.875rem;
}

.zp-footer-canonical {
    color: rgba(148, 163, 184, 0.7);
    text-decoration: none;
}

.zp-footer-canonical:hover {
    color: #fff;
}

/* ----- Mobile polish ----- */
@media (max-width: 991.98px) {
    .zp-nav {
        padding: 0.5rem 0;
    }

    .zp-nav .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(148, 163, 184, 0.25);
    }

    .zp-nav-links .nav-item {
        width: 100%;
    }

    .zp-nav-links .zp-link,
    .zp-btn-nav {
        width: 100%;
        text-align: center;
    }

    .zp-hero {
        padding-top: 2.25rem;
    }

    .zp-hero-title,
    .zp-hero-lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .zp-btn-hero {
        width: 100%;
    }

    .zp-metric {
        padding: 1rem;
    }

    .zp-trust-wrap {
        margin-top: -1.5rem;
    }

    .zp-trial-actions {
        align-items: stretch;
        width: 100%;
    }

    .zp-btn-trial-primary {
        width: 100%;
        justify-content: center;
        display: inline-flex;
        align-items: center;
    }

    .zp-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .zp-cta-buttons .btn {
        width: 100%;
        max-width: 22rem;
    }

    .zp-footer-grid {
        text-align: center;
    }

    .zp-footer-logo-link {
        justify-content: center;
    }

    .zp-footer-logo {
        margin-inline: auto;
    }

    .zp-footer-col-brand {
        max-width: none;
    }

    .zp-footer-col-brand .zp-footer-contact-block {
        justify-content: center;
    }

    .zp-footer-col-brand .zp-footer-contact-text {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .zp-footer-grid {
        text-align: left;
    }

    .zp-footer-logo-link {
        justify-content: flex-start;
    }

    .zp-footer-logo {
        margin-inline: 0;
    }
}

/* ----- Footer contact (address / phone / email) ----- */
.zp-footer-contact-block {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.zp-footer-contact-icon {
    flex-shrink: 0;
    width: 1.1rem;
    margin-top: 0.12rem;
    text-align: center;
    color: rgba(148, 163, 184, 0.95);
}

.zp-footer-contact-text {
    color: rgba(226, 232, 240, 0.88);
    text-align: start;
}

/* ----- Subpages (FAQ, legal) ----- */
body.zp-subpage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.zp-subpage .zp-header {
    flex-shrink: 0;
}

body.zp-subpage .zp-doc-main {
    flex: 1 0 auto;
}

.zp-doc-main {
    padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2.25rem, 5vw, 3.5rem);
    width: 100%;
}

.zp-doc-inner {
    max-width: 48rem;
    margin-inline: auto;
}

.zp-doc-head {
    margin-bottom: 2rem;
}

.zp-doc-title {
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--zp-ink);
    margin: 0 0 0.5rem;
}

.zp-doc-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--zp-muted);
    margin: 0;
    max-width: 40rem;
}

.zp-doc-lead a {
    color: var(--zp-accent);
    font-weight: 600;
    text-decoration: none;
}

.zp-doc-lead a:hover {
    text-decoration: underline;
}

.zp-doc-meta {
    font-size: 0.9rem;
    color: var(--zp-muted);
    margin: 0;
}

.zp-legal-doc {
    max-width: 42rem;
    margin-inline: auto;
}

.zp-legal-note {
    padding: 1rem 1.15rem;
    border-radius: var(--zp-radius-sm);
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #78350f;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.zp-legal-section {
    margin-bottom: 1.75rem;
}

.zp-legal-section:last-child {
    margin-bottom: 0;
}

.zp-legal-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--zp-ink);
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
}

.zp-legal-section p,
.zp-legal-section li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--zp-ink-soft);
    margin: 0 0 0.65rem;
}

.zp-legal-section ul {
    margin: 0 0 0.65rem;
    padding-left: 1.25rem;
}

.zp-legal-section li {
    margin-bottom: 0.4rem;
}

.zp-legal-section a {
    color: var(--zp-accent);
    font-weight: 500;
    text-decoration: none;
}

.zp-legal-section a:hover {
    text-decoration: underline;
}

.zp-faq-accordion {
    --bs-accordion-border-color: var(--zp-line);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

.zp-faq-item {
    border-radius: var(--zp-radius-sm) !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
    border: 1px solid var(--zp-line) !important;
}

.zp-faq-item .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--zp-ink);
    background: #fff;
    box-shadow: none !important;
}

.zp-faq-item .accordion-button:not(.collapsed) {
    background: var(--zp-surface);
    color: var(--zp-accent);
}

.zp-faq-item .accordion-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--zp-ink-soft);
    padding-top: 0.25rem;
}

.zp-faq-item .accordion-body a {
    color: var(--zp-accent);
    font-weight: 500;
    text-decoration: none;
}

.zp-faq-item .accordion-body a:hover {
    text-decoration: underline;
}

/* ----- Legacy class aliases (avoid broken pages) ----- */
.feature-card {
    border-radius: var(--zp-radius);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .zp-feature-card,
    .zp-step {
        transition: none;
    }

    .zp-feature-card:hover {
        transform: none;
    }
}
