/* ZavaVault landing — Aave-inspired layout, ZavaVault brand colors */

:root {
    --zv-ink: #0a1730;
    --zv-ink-2: #10284e;
    --zv-blue: #123f7a;
    --zv-blue-bright: #1f6fbd;
    --zv-cyan: #39c7d7;
    --zv-mint: #7ee2bd;
    --zv-paper: #f6f9fd;
    --zv-surface: #eef4fa;
    --zv-line: #dbe8f5;
    --zv-muted: #5a6f8f;
    --zv-gutter: clamp(1.25rem, 4vw, 2.5rem);
    --zv-radius: 20px;
    --zv-radius-sm: 12px;
}

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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.zv-landing {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100%;
    overflow-x: hidden;
    background: #fff;
    color: var(--zv-ink);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Keep Tabler/Bootstrap containers from shifting marketing pages */
body.zv-landing .container,
body.zv-landing .container-fluid,
body.zv-landing .container-xl,
body.zv-landing .page,
body.zv-landing .page-wrapper {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}

body.zv-preloader-active {
    overflow: hidden;
}

.zv-text-gradient {
    background: linear-gradient(120deg, var(--zv-blue-bright) 0%, var(--zv-cyan) 55%, var(--zv-mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.zv-wrap {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: var(--zv-gutter);
    box-sizing: border-box;
}

.zv-main {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body.zv-landing > header,
body.zv-landing > .zv-flash {
    width: 100%;
    margin: 0;
    padding: 0;
}

body.zv-landing > footer {
    width: 100%;
    margin: 0;
    padding-inline: 0;
}

a {
    color: var(--zv-blue-bright);
    text-decoration: none;
}

a:hover {
    color: var(--zv-blue);
}

/* Buttons — Aave pill style */
.zv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: .9rem;
    line-height: 1;
    padding: .7rem 1.35rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.zv-btn-lg {
    font-size: .95rem;
    padding: .85rem 1.6rem;
}

.zv-btn-sm {
    font-size: .85rem;
    padding: .55rem 1.1rem;
}

.zv-btn-primary {
    background: var(--zv-blue);
    border-color: var(--zv-blue);
    color: #fff;
}

.zv-btn-primary:hover {
    background: var(--zv-ink-2);
    border-color: var(--zv-ink-2);
    color: #fff;
}

.zv-btn-glow {
    box-shadow: 0 0 0 0 rgba(31, 111, 189, .35);
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .25s ease, transform .25s ease;
}

.zv-btn-glow:hover {
    box-shadow: 0 12px 32px rgba(31, 111, 189, .28);
    transform: translateY(-1px);
}

.zv-btn-outline {
    background: transparent;
    border-color: var(--zv-line);
    color: var(--zv-ink);
}

.zv-btn-outline:hover {
    background: var(--zv-paper);
    border-color: #c5d8eb;
    color: var(--zv-ink);
}

/* Tabler modal overrides */
.btn-primary {
    --tblr-btn-bg: var(--zv-blue);
    --tblr-btn-border-color: var(--zv-blue);
    --tblr-btn-hover-bg: var(--zv-ink-2);
    --tblr-btn-hover-border-color: var(--zv-ink-2);
    border-radius: 999px;
}

.zv-eyebrow {
    margin: 0 0 .75rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--zv-muted);
}

.zv-eyebrow-light {
    color: rgba(255, 255, 255, .55);
}

/* Nav */
.zv-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 232, 245, .8);
    transition: box-shadow .25s ease, background .25s ease;
}

.zv-nav.zv-nav-scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 32px rgba(10, 23, 48, .06);
}

.zv-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    flex-wrap: wrap;
}

.zv-nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.zv-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--zv-line);
    border-radius: 10px;
    background: #fff;
    color: var(--zv-ink);
    cursor: pointer;
}

.zv-nav-toggle i {
    font-size: 1.25rem;
}

.zv-nav-cta-short {
    display: none;
}

.zv-nav-logo {
    height: 34px;
    width: auto;
    max-width: 150px;
}

.zv-nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    margin-inline: auto;
}

.zv-nav-menu a {
    position: relative;
    color: var(--zv-ink-2);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    padding-bottom: .35rem;
}

.zv-nav-menu a:hover {
    color: var(--zv-blue-bright);
}

.zv-nav-menu a.is-active {
    color: var(--zv-blue-bright);
}

.zv-nav-menu a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--zv-blue-bright);
    border-radius: 1px;
}

@media (min-width: 992px) {
    .zv-nav-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        flex-wrap: nowrap;
    }

    .zv-nav-menu {
        justify-content: center;
        margin-inline: 0;
    }

    .zv-nav-actions {
        justify-self: end;
    }
}

.zv-flash {
    position: sticky;
    top: 4.25rem;
    z-index: 99;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--zv-line);
    background: #fff;
    box-shadow: 0 4px 16px rgba(10, 23, 48, .06);
}

.zv-flash .zv-wrap {
    padding-block: .75rem;
}

.zv-flash .alert {
    font-size: .9rem;
    border-radius: var(--zv-radius-sm);
    margin-bottom: 0;
}

.zv-flash .alert + .alert {
    margin-top: .5rem;
}

/* Preloader */
.zv-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zv-ink);
    color: #fff;
}

.zv-preloader-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.zv-preloader-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}

.zv-preloader-orb-a {
    width: 22rem;
    height: 22rem;
    top: -6rem;
    left: -4rem;
    background: var(--zv-blue-bright);
}

.zv-preloader-orb-b {
    width: 18rem;
    height: 18rem;
    right: -3rem;
    bottom: -4rem;
    background: var(--zv-cyan);
}

.zv-preloader-inner {
    position: relative;
    z-index: 1;
    width: min(18rem, 80vw);
    text-align: center;
}

.zv-preloader-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.75rem;
}

.zv-preloader-bar {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
    margin-bottom: 1rem;
}

.zv-preloader-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--zv-cyan), var(--zv-mint));
}

.zv-preloader-label {
    margin: 0;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.zv-preloader.zv-preloader-skip {
    display: none;
}

/* Hero — ambient scene + product preview */
.zv-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 10vw, 7rem) 0;
    background: #fff;
}

.zv-hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.zv-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.5;
    animation: zv-orb-drift 18s ease-in-out infinite alternate;
}

.zv-hero-orb-a {
    width: 28rem;
    height: 28rem;
    top: -8rem;
    left: -6rem;
    background: rgba(57, 199, 215, .35);
}

.zv-hero-orb-b {
    width: 22rem;
    height: 22rem;
    top: 10%;
    right: -4rem;
    background: rgba(31, 111, 189, .28);
    animation-delay: -6s;
}

.zv-hero-orb-c {
    width: 16rem;
    height: 16rem;
    bottom: 20%;
    left: 35%;
    background: rgba(126, 226, 189, .22);
    animation-delay: -12s;
}

.zv-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 23, 48, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 23, 48, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

@keyframes zv-orb-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(24px, -18px) scale(1.06); }
}

.zv-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.zv-product-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.25rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--zv-ink-2);
    flex-wrap: wrap;
}

.zv-product-badge-pill {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(31, 111, 189, .08);
    color: var(--zv-blue);
    border: 1px solid rgba(31, 111, 189, .15);
}

.zv-product-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: var(--zv-paper);
    border: 1px solid var(--zv-line);
    color: var(--zv-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.zv-product-badge-icon img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    display: block;
}

/* Tabler icons on landing (Bootstrap must not override icon font) */
body.zv-landing .ti {
    font-family: tabler-icons !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
}

.zv-hero-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--zv-ink);
    max-width: 15ch;
}

.zv-hero-lead {
    margin: 0;
    max-width: 34rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--zv-muted);
}

.zv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.zv-hero-points {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
}

.zv-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--zv-muted);
}

.zv-hero-points i {
    color: var(--zv-blue-bright);
    font-size: 1rem;
}

.zv-hero-visual {
    perspective: 1200px;
}

.zv-hero-card {
    position: relative;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(219, 232, 245, .9);
    border-radius: var(--zv-radius);
    padding: 1.75rem;
    box-shadow:
        0 24px 64px rgba(10, 23, 48, .08),
        0 0 0 1px rgba(255, 255, 255, .6) inset;
}

.zv-hero-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(57, 199, 215, .25), rgba(31, 111, 189, .12), transparent 60%);
    z-index: -1;
    opacity: .7;
}

.zv-hero-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: var(--zv-muted);
    margin-bottom: .85rem;
}

.zv-live-dot {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--zv-blue-bright);
    font-weight: 600;
}

.zv-live-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--zv-mint);
    box-shadow: 0 0 0 0 rgba(126, 226, 189, .6);
    animation: zv-pulse 2s ease-out infinite;
}

@keyframes zv-pulse {
    0% { box-shadow: 0 0 0 0 rgba(126, 226, 189, .55); }
    70% { box-shadow: 0 0 0 8px rgba(126, 226, 189, 0); }
    100% { box-shadow: 0 0 0 0 rgba(126, 226, 189, 0); }
}

.zv-hero-card-balance {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--zv-ink);
    margin-bottom: 1.35rem;
}

.zv-hero-card-balance small {
    font-size: .95rem;
    font-weight: 500;
    color: var(--zv-muted);
    margin-left: .2rem;
}

.zv-hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--zv-line);
}

.zv-hero-card-stats span {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--zv-muted);
    margin-bottom: .2rem;
}

.zv-hero-card-stats strong {
    font-size: .95rem;
    font-weight: 600;
    color: var(--zv-ink);
}

.zv-hero-card-rows {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.zv-hero-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .875rem;
    color: var(--zv-ink-2);
    gap: .75rem;
}

.zv-hero-card-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.zv-hero-card-row i {
    color: var(--zv-muted);
    font-size: .95rem;
}

/* Trust marquee */
.zv-trust-marquee {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--zv-line);
    background: linear-gradient(180deg, rgba(246, 249, 253, .9), #fff);
    padding-block: 1rem;
    overflow: hidden;
    max-width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.zv-trust-marquee-track {
    display: flex;
    width: max-content;
    gap: 2.5rem;
    animation: zv-marquee 32s linear infinite;
}

.zv-trust-marquee-track span {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--zv-muted);
    white-space: nowrap;
}

.zv-trust-marquee-track span::before {
    content: "◆";
    margin-right: .65rem;
    color: var(--zv-cyan);
    font-size: .55rem;
    vertical-align: middle;
}

@keyframes zv-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.zv-text-up {
    color: #1a6b4a;
    font-weight: 600;
}

.zv-text-down {
    color: #b42318;
    font-weight: 600;
}

.zv-text-pending {
    color: #9a6b00;
    font-weight: 600;
    font-size: .8rem;
}

/* Stats row — Aave "Trusted by Default" numbers */
.zv-stats {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--zv-line);
    border-bottom: 1px solid var(--zv-line);
    background: #fff;
}

.zv-stats-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.zv-stat {
    padding: 1.5rem 1.35rem;
    border-radius: var(--zv-radius-sm);
    border: 1px solid var(--zv-line);
    background: #fff;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.zv-stat:hover {
    border-color: #c5d8eb;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10, 23, 48, .05);
}

.zv-stat-featured {
    grid-column: 1;
    grid-row: 1 / 3;
    padding: 2rem 1.75rem;
    border: none;
    background:
        linear-gradient(145deg, var(--zv-ink) 0%, var(--zv-ink-2) 55%, var(--zv-blue) 100%);
    color: #fff;
}

.zv-stat-featured .zv-stat-value,
.zv-stat-featured .zv-stat-title {
    color: #fff;
}

.zv-stat-featured p {
    color: rgba(255, 255, 255, .7);
}

.zv-stat-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(10, 23, 48, .18);
}

.zv-stats-grid .zv-stat:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.zv-stats-grid .zv-stat:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.zv-stats-grid .zv-stat:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
}

.zv-stat-value {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--zv-ink);
    margin-bottom: .5rem;
}

.zv-stat-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--zv-ink);
    margin-bottom: .35rem;
}

.zv-stat p {
    margin: 0;
    font-size: .875rem;
    line-height: 1.55;
    color: var(--zv-muted);
}

/* Sections */
.zv-block {
    padding-block: clamp(4rem, 8vw, 6.5rem);
}

#how-it-works,
#paths,
#security,
#faq,
#ledger {
    scroll-margin-top: 5.5rem;
}

.zv-block-surface {
    background: var(--zv-surface);
}

.zv-block-dark {
    background: var(--zv-ink);
    color: #fff;
}

.zv-block-header {
    max-width: 40rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.zv-block-header-center {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}

.zv-block-title {
    margin: 0;
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--zv-ink);
}

.zv-block-title-light {
    color: #fff;
}

.zv-block-lead {
    margin: 1rem 0 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--zv-muted);
}

.zv-block-lead-light {
    color: rgba(255, 255, 255, .65);
}

/* Steps */
.zv-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
}

.zv-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--zv-line);
    border-radius: var(--zv-radius);
    padding: 2rem 1.75rem;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}

.zv-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--zv-cyan), var(--zv-blue-bright));
    opacity: 0;
    transition: opacity .2s ease;
}

.zv-step:hover {
    border-color: #c5d8eb;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(10, 23, 48, .06);
}

.zv-step:hover::before {
    opacity: 1;
}

.zv-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: var(--zv-paper);
    border: 1px solid var(--zv-line);
    color: var(--zv-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.zv-step-num {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--zv-blue-bright);
    margin-bottom: 1.25rem;
}

.zv-step h3 {
    margin: 0 0 .75rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--zv-ink);
}

.zv-step p {
    margin: 0;
    font-size: .925rem;
    line-height: 1.65;
    color: var(--zv-muted);
}

/* Product cards — Aave markets */
.zv-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.zv-product {
    position: relative;
    background: #fff;
    border: 1px solid var(--zv-line);
    border-radius: var(--zv-radius);
    padding: 2rem 1.75rem;
    min-height: 100%;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.zv-product:hover {
    border-color: #c5d8eb;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(10, 23, 48, .06);
}

.zv-product-featured {
    border-color: rgba(31, 111, 189, .35);
    background:
        linear-gradient(180deg, #fff 0%, rgba(238, 244, 250, .65) 100%);
    box-shadow: 0 20px 48px rgba(31, 111, 189, .08);
}

.zv-product-featured:hover {
    border-color: var(--zv-blue-bright);
    box-shadow: 0 24px 56px rgba(31, 111, 189, .12);
}

.zv-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    background: var(--zv-paper);
    border: 1px solid var(--zv-line);
    color: var(--zv-blue);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.zv-product-featured .zv-product-icon {
    background: rgba(31, 111, 189, .1);
    border-color: rgba(31, 111, 189, .2);
    color: var(--zv-blue-bright);
}

.zv-product-meta {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.zv-product-meta li {
    font-size: .82rem;
    font-weight: 500;
    color: var(--zv-blue);
}

.zv-product-meta li::before {
    content: "✓ ";
    color: var(--zv-cyan);
}

.zv-product-muted {
    opacity: .88;
}

.zv-product-label {
    margin: 0 0 1.25rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--zv-muted);
}

.zv-product h3 {
    margin: 0 0 .85rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--zv-ink);
}

.zv-product p {
    margin: 0;
    font-size: .925rem;
    line-height: 1.65;
    color: var(--zv-muted);
}

/* Trust — dark band */
.zv-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.zv-trust-item {
    padding: 1.75rem;
    border-radius: var(--zv-radius-sm);
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.zv-trust-item:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
}

.zv-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: rgba(57, 199, 215, .12);
    color: var(--zv-cyan);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.zv-trust-item h3 {
    margin: 0 0 .65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.zv-trust-item p {
    margin: 0;
    font-size: .925rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .65);
}

/* Ledger split */
.zv-split {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.zv-split-text {
    margin: .85rem 0 0;
    color: var(--zv-muted);
    line-height: 1.65;
}

.zv-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.zv-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: .55rem;
    font-size: .925rem;
    color: var(--zv-muted);
}

.zv-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--zv-cyan);
}

.zv-table-card {
    background: #fff;
    border: 1px solid var(--zv-line);
    border-radius: var(--zv-radius);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(10, 23, 48, .06);
}

@media (max-width: 767.98px) {
    .zv-table-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .zv-table {
        min-width: 36rem;
    }
}

.zv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

.zv-table thead th {
    padding: 1rem 1.15rem;
    text-align: left;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--zv-muted);
    background: var(--zv-paper);
    border-bottom: 1px solid var(--zv-line);
}

.zv-table tbody td {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--zv-line);
    color: var(--zv-ink-2);
}

.zv-table tbody tr:last-child td {
    border-bottom: none;
}

.zv-pill {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    padding: .25rem .55rem;
    border-radius: 999px;
}

.zv-pill-ok {
    background: rgba(126, 226, 189, .25);
    color: #1a6b4a;
}

.zv-pill-warn {
    background: rgba(247, 183, 49, .22);
    color: #8a6200;
}

.zv-pill-info {
    background: rgba(57, 199, 215, .18);
    color: var(--zv-blue);
}

/* FAQ — Aave clean Q&A */
.zv-faq-container {
    max-width: 720px;
    margin-inline: auto;
}

.zv-faq-container .zv-block-header-center {
    margin-inline: auto;
}

.zv-faq {
    border-top: 1px solid var(--zv-line);
}

.zv-faq-item {
    border-bottom: 1px solid var(--zv-line);
}

.zv-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--zv-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.zv-faq-item summary::-webkit-details-marker {
    display: none;
}

.zv-faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--zv-muted);
    flex-shrink: 0;
}

.zv-faq-item[open] summary::after {
    content: "−";
}

.zv-faq-item p {
    margin: 0 0 1.25rem;
    font-size: .925rem;
    line-height: 1.65;
    color: var(--zv-muted);
}

.zv-faq-footnote {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: .8rem;
    color: var(--zv-muted);
}

/* CTA */
.zv-block-cta {
    padding-block: clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse 80% 70% at 50% 100%, rgba(57, 199, 215, .12), transparent 60%),
        var(--zv-paper);
}

.zv-cta-card {
    position: relative;
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 3.75rem) 2rem;
    border: 1px solid var(--zv-line);
    border-radius: calc(var(--zv-radius) + 4px);
    background: #fff;
    box-shadow: 0 24px 64px rgba(10, 23, 48, .07);
    overflow: hidden;
}

.zv-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(57, 199, 215, .45), rgba(31, 111, 189, .25), transparent 55%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.zv-cta-eyebrow {
    margin: 0 0 .65rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zv-blue-bright);
}

.zv-cta-card h2 {
    margin: 0 0 .75rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--zv-ink);
}

.zv-cta-card p {
    margin: 0 0 1.75rem;
    color: var(--zv-muted);
    line-height: 1.6;
}

/* Footer */
.zv-footer {
    background: var(--zv-ink);
    color: rgba(255, 255, 255, .75);
    padding-block: 3.5rem 2rem;
}

.zv-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.zv-footer-brand {
    flex: 0 1 18rem;
    min-width: 0;
}

.zv-footer-links {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(2rem, 4vw, 3rem);
    min-width: 0;
}

.zv-footer-col {
    min-width: 8.5rem;
}

.zv-footer-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.zv-footer-brand p {
    margin: 0 0 .5rem;
    font-size: .875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .55);
}

.zv-footer-note {
    font-size: .8rem !important;
}

.zv-footer-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: .85rem;
}

.zv-footer-link {
    display: block;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: .875rem;
    margin-bottom: .5rem;
}

.zv-footer-link:hover {
    color: var(--zv-cyan);
}

.zv-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .8rem;
    color: rgba(255, 255, 255, .35);
}

/* Auth modal */
.modal-blur .modal-backdrop {
    backdrop-filter: blur(6px);
}

.zv-auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--zv-muted);
}

.zv-auth-divider::before,
.zv-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--zv-line);
}

.zv-auth-flash .alert {
    font-size: .875rem;
    border-radius: var(--zv-radius-sm);
    margin-bottom: 0;
}

.zv-auth-flash .alert + .alert {
    margin-top: .5rem;
}

.zv-auth-modal .nav-tabs .nav-link {
    font-weight: 600;
    color: var(--zv-ink-2);
}

.zv-auth-modal .nav-tabs .nav-link.active {
    color: var(--zv-blue);
    border-bottom-color: var(--zv-blue);
}

.zv-legal-body {
    min-height: 70vh;
}

.zv-legal-card {
    border: 1px solid var(--zv-line);
    box-shadow: none;
    border-radius: var(--zv-radius-sm);
}

/* Legal / support — normal document pages (no card box) */
.zv-page {
    background: #fff;
    padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(4rem, 8vw, 6rem);
}

.zv-page-inner {
    max-width: 42rem;
    margin-inline: auto;
}

.zv-back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 2rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--zv-blue-bright);
    text-decoration: none;
}

.zv-back-link:hover {
    color: var(--zv-blue);
}

.zv-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--zv-line);
}

.zv-page-header h1 {
    margin: 0 0 .5rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--zv-ink);
}

.zv-page-meta {
    margin: 0;
    font-size: .875rem;
    color: var(--zv-muted);
}

.zv-page-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--zv-ink-2);
}

.zv-page-body p {
    margin: 0 0 1.15rem;
}

.zv-page-body p:last-child {
    margin-bottom: 0;
}

.zv-page-body h2 {
    margin: 2rem 0 .75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--zv-ink);
    letter-spacing: -.02em;
}

.zv-page-body h2:first-child {
    margin-top: 0;
}

.zv-page-body h3 {
    margin: 1.35rem 0 .5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--zv-ink-2);
}

.zv-page-body ul,
.zv-page-body ol {
    margin: 0 0 1.15rem;
    padding-left: 1.35rem;
}

.zv-page-body li {
    margin-bottom: .45rem;
}

.zv-page-body a {
    color: var(--zv-blue-bright);
}

.zv-page-note {
    color: var(--zv-muted);
    font-size: .95rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .zv-hero-orb,
    .zv-trust-marquee-track,
    .zv-live-pulse {
        animation: none;
    }

    .zv-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .zv-nav-brand {
        order: 1;
    }

    .zv-nav-actions {
        order: 2;
        margin-left: auto;
    }

    .zv-nav-menu {
        order: 3;
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        flex-basis: 100%;
        gap: 0;
        padding: .25rem 0 1rem;
        margin-top: .25rem;
        border-top: 1px solid var(--zv-line);
    }

    .zv-nav-menu.is-open {
        display: flex;
    }

    .zv-nav-menu a {
        padding: .9rem 0;
        border-bottom: 1px solid var(--zv-line);
        font-size: 1rem;
    }

    .zv-nav-menu a:last-child {
        border-bottom: none;
    }

    .zv-nav-menu a.is-active {
        color: var(--zv-blue-bright);
        border-bottom-color: var(--zv-blue-bright);
        border-bottom-width: 2px;
        padding-bottom: calc(.9rem - 1px);
    }

    .zv-nav-menu a.is-active::after {
        display: none;
    }

    .zv-nav-toggle {
        display: inline-flex;
    }

    .zv-hero-layout {
        grid-template-columns: 1fr;
    }

    .zv-hero-title {
        max-width: none;
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .zv-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .zv-hero-actions .zv-btn {
        width: 100%;
        justify-content: center;
    }

    .zv-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .zv-stat-featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .zv-stats-grid .zv-stat:nth-child(2),
    .zv-stats-grid .zv-stat:nth-child(3),
    .zv-stats-grid .zv-stat:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .zv-steps,
    .zv-products,
    .zv-trust {
        grid-template-columns: 1fr;
    }

    .zv-split {
        grid-template-columns: 1fr;
    }

    .zv-footer-brand {
        flex-basis: 100%;
    }
}

@media (max-width: 575.98px) {
    .zv-nav-cta-long {
        display: none;
    }

    .zv-nav-cta-short {
        display: inline;
    }

    .zv-stats-grid {
        grid-template-columns: 1fr;
    }

    .zv-stat-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .zv-hero-card-stats {
        grid-template-columns: 1fr;
    }

    .zv-footer-links {
        flex-direction: column;
        gap: 1.75rem;
    }

    .zv-cta-card {
        padding-inline: 1.25rem;
    }
}

/* Full-bleed lock — marketing pages must not inherit app-shell offsets */
body.zv-landing > header,
body.zv-landing > main,
body.zv-landing > footer {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.zv-landing .zv-hero,
body.zv-landing .zv-stats,
body.zv-landing .zv-block,
body.zv-landing .zv-nav,
body.zv-landing .zv-footer {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

body.zv-landing img,
body.zv-landing svg,
body.zv-landing video {
    max-width: 100%;
}
