:root {
    --deep-slate: #14232E;
    --petrol: #087F79;
    --off-white: #F7F9FA;
    --steel-gray: #DCE4E8;
    --amber: #E0A24A;
    --text: #15232d;
    --muted: #697c88;
    --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: var(--off-white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img, video, svg { max-width: 100%; }

h1, h2, h3 { overflow-wrap: anywhere; }

.nv-container {
    max-width: 1320px;
    padding-left: clamp(.9rem, 3vw, 1.5rem);
    padding-right: clamp(.9rem, 3vw, 1.5rem);
}

.nv-main { min-height: calc(100vh - 170px); }

.nv-nav {
    background: #fff;
    border-bottom: 1px solid var(--steel-gray);
    padding: .75rem 0;
}

.nv-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

.nv-brand-logo {
    width: clamp(160px, 18vw, 220px);
    height: auto;
    display: block;
}

.nv-nav .nav-link {
    color: var(--text);
    font-weight: 650;
    font-size: .9rem;
    padding: .55rem .85rem !important;
    border-radius: 9px;
}

.nv-nav .nav-link:hover {
    color: var(--petrol);
    background: #ecf6f5;
}

.nv-nav-actions { margin-left: auto; }

.nv-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--steel-gray);
    background: #fff;
}

.nv-icon-btn svg { width: 17px; height: 17px; fill: var(--text); }

.nv-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--petrol);
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
    padding: .6rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nv-btn:hover { color: #fff; background: #066c66; }

.nv-btn-ghost {
    background: #fff;
    color: var(--text);
    border-color: #cfe0e4;
}

.nv-btn-ghost:hover { color: var(--text); background: #f2f7f8; }

.nv-hero {
    padding: 1.2rem 0 2rem;
}

.nv-hero-shell {
    background: #fff;
    border: 1px solid #dce8eb;
    border-radius: 18px;
    padding: 1.35rem;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1rem;
    box-shadow: 0 6px 22px rgba(20, 45, 54, .06);
}

.nv-kicker {
    display: inline-block;
    border-radius: 999px;
    background: #e5f5f2;
    color: var(--petrol);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    padding: .34rem .75rem;
}

.nv-hero-copy h1 {
    margin: .7rem 0 .55rem;
    font-size: clamp(2rem, 4.8vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.nv-hero-copy p {
    font-size: 1.18rem;
    color: var(--muted);
    margin: 0 0 .9rem;
}

.nv-search-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px solid #c9d9dc;
    border-radius: 11px;
    padding: .42rem;
    max-width: 590px;
    box-shadow: 0 7px 18px rgba(20,45,54,.1);
}

.nv-search-row input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #667b88;
    padding: .55rem .6rem;
}

.nv-search-row button {
    border: 0;
    border-radius: 8px;
    background: var(--petrol);
    color: #fff;
    font-weight: 700;
    padding: .62rem 1rem;
}

.nv-hero-scene {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--steel-gray);
    min-height: 330px;
    aspect-ratio: 16 / 11;
    background: radial-gradient(circle at center, #fff 25%, #f1f7f8 100%);
    overflow: hidden;
}

.nv-scene-part { position: absolute; }

.nv-scene-plate {
    left: 5%;
    right: 5%;
    bottom: 9%;
    height: 14%;
    border-radius: 9px;
    background: linear-gradient(180deg, #dde6eb 0%, #cfd9df 100%);
}

.nv-scene-bracket {
    left: 18%;
    top: 22%;
    width: 28%;
    max-width: 132px;
    height: 46%;
    border-radius: 14px;
    background: linear-gradient(145deg, #424f59 0%, #232e36 75%);
}

.nv-scene-bracket::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 42%;
    width: 47%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #f2f6f8;
}

.nv-scene-motor {
    right: 12%;
    top: 20%;
    width: 28%;
    max-width: 130px;
    aspect-ratio: 1;
    border-radius: 15px;
    background: linear-gradient(145deg, #5d6670 0%, #3d4650 70%);
}

.nv-dim {
    position: absolute;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .78rem;
    color: #2f4d5f;
    background: rgba(255, 255, 255, .8);
    border-radius: 999px;
    padding: .14rem .45rem;
}

.nv-dim-top { top: 5%; right: 18%; }
.nv-dim-left { top: 36%; left: 3%; }
.nv-dim-bottom { bottom: 25%; left: 30%; }

.nv-feature-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .6rem;
    margin: 1rem 0;
}

.nv-feature-band > div {
    background: #fff;
    border: 1px solid #dce8eb;
    border-radius: 12px;
    padding: .7rem .75rem;
}

.nv-feature-band strong {
    display: block;
    font-size: .95rem;
    margin-bottom: .15rem;
}

.nv-feature-band span {
    color: var(--muted);
    font-size: .84rem;
}

.nv-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.nv-category-card,
.nv-shot-card,
.nv-part-card,
.nv-legal-card {
    background: #fff;
    border: 1px solid #dce8eb;
    border-radius: var(--radius);
    padding: .9rem;
    box-shadow: 0 4px 12px rgba(20, 45, 54, .04);
}

.nv-category-card h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.nv-category-card p { margin: 0 0 .45rem; color: var(--muted); font-size: .9rem; }
.nv-category-card a { color: var(--petrol); font-size: .85rem; font-weight: 700; text-decoration: none; }

.nv-sub-content,
.nv-section { padding: 2.4rem 0; }

.nv-shot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.nv-shot-card h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.nv-shot-card p { margin: 0 0 .45rem; color: var(--muted); }
.nv-shot-card ul { margin: 0 0 .8rem; padding-left: 1.1rem; color: #4c6370; }
.nv-shot-card li { margin-bottom: .22rem; }

.nv-sub-hero {
    padding: 2rem 0 1rem;
    background: linear-gradient(180deg, #fff 0%, #f3f7f8 100%);
    border-bottom: 1px solid var(--steel-gray);
}

.nv-sub-hero h1 {
    margin: 0 0 .4rem;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.03em;
}

.nv-sub-hero p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.nv-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    margin-bottom: 1rem;
}

.nv-steps-grid article,
.nv-process-panel > div {
    background: #fff;
    border: 1px solid var(--steel-gray);
    border-radius: 14px;
    padding: .9rem;
}

.nv-steps-grid h2,
.nv-process-panel h3 { margin: 0 0 .3rem; }

.nv-steps-grid p,
.nv-process-panel p { margin: 0; color: var(--muted); }

.nv-process-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.nv-section-head h1 {
    margin: 0 0 .3rem;
    font-size: clamp(2rem, 4.6vw, 3rem);
}

.nv-section-head p { margin: 0; color: var(--muted); }

.nv-parts-grid,
.nv-legal-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.nv-part-card h2,
.nv-legal-card h2 { margin: 0 0 .2rem; font-size: 1.1rem; }

.nv-part-card p,
.nv-legal-card p { margin: 0 0 .35rem; color: var(--muted); }

.nv-part-spec {
    font-family: 'IBM Plex Mono', monospace;
    color: #2f5f71 !important;
    font-size: .85rem;
}

footer.nv-footer {
    position: static !important;
    width: 100%;
    background: var(--deep-slate);
    color: #c8d7de;
    padding: 1.4rem 0;
    margin-top: 1.2rem;
}

.nv-footer-logo { width: clamp(140px, 16vw, 190px); height: auto; display: block; }
.nv-footer p { margin: 0; color: #c8d7de; }
.nv-footer a { color: #d6e1e6; text-decoration: none; }
.nv-footer a:hover { color: #fff; }

.navbar-toggler {
    border: 1px solid var(--steel-gray);
    border-radius: 10px;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2821,35,45,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Auth & account */
.nv-auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dce8eb;
    border-radius: var(--radius);
    padding: clamp(1.1rem, 4vw, 2rem);
    box-shadow: 0 6px 22px rgba(20, 45, 54, .06);
}

.nv-auth-card h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin: 0 0 .3rem; }

.nv-form { display: flex; flex-direction: column; gap: .85rem; margin-top: 1rem; }
.nv-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; }
.nv-form input:not([type=hidden]) {
    width: 100%;
    border: 1px solid #c9d9dc;
    border-radius: 10px;
    padding: .65rem .75rem;
    font-size: 1rem;
}
.nv-form input:focus { outline: 0; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(8,127,121,.15); }
.nv-field-error { color: #b3261e; font-size: .8rem; font-weight: 500; }
.nv-alert-error { border-color: #f0c7c3; background: #fdf1f0; color: #8a2119; }
.nv-auth-switch { margin: 1rem 0 0; text-align: center; color: var(--muted); }
.nv-auth-switch a { color: var(--petrol); font-weight: 700; }

.nv-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    margin-top: 1.2rem;
}

.nv-plan-card {
    background: #fff;
    border: 1px solid #dce8eb;
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nv-plan-card h2 { font-size: 1.2rem; margin: 0; }
.nv-plan-card ul { padding-left: 1.1rem; color: #4c6370; flex: 1; }
.nv-plan-card-pro { border-color: var(--petrol); }
.nv-plan-price { font-family: 'IBM Plex Mono', monospace; color: var(--petrol); font-weight: 600; margin: .2rem 0 .6rem; }
.nv-badge-soon { background: var(--steel-gray); color: var(--text); }
.nv-premium-list { padding-left: 1.1rem; }
.nv-premium-list a { color: var(--petrol); font-weight: 600; }

@media (min-width: 1600px) {
    .nv-container { max-width: 1480px; }
}

@media (max-width: 1100px) {
    .nv-hero-shell,
    .nv-shot-grid,
    .nv-steps-grid,
    .nv-process-panel,
    .nv-parts-grid,
    .nv-legal-grid {
        grid-template-columns: 1fr;
    }

    .nv-feature-band,
    .nv-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nv-hero-scene { min-height: 0; max-height: 420px; }
}

@media (min-width: 701px) and (max-width: 1100px) {
    .nv-shot-grid,
    .nv-steps-grid,
    .nv-process-panel,
    .nv-parts-grid,
    .nv-legal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .nv-brand-logo { width: 170px; }
    .nv-nav .navbar-collapse { padding: .6rem 0 .3rem; }
    .nv-nav .navbar-nav { gap: .15rem; }
    .nv-nav-actions { margin-left: 0; margin-top: .7rem; flex-wrap: wrap; }
    .nv-nav-actions .nv-btn { flex: 1 1 auto; }
    .nv-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .nv-plan-grid { grid-template-columns: 1fr; }
    .nv-hero { padding-top: .8rem; }
    .nv-hero-shell { padding: 1rem; }
    .nv-sub-content,
    .nv-section { padding: 1.6rem 0; }
    .nv-sub-hero { padding: 1.4rem 0 .9rem; }
}

@media (max-width: 640px) {
    .nv-feature-band,
    .nv-category-grid { grid-template-columns: 1fr; }
    .nv-hero-copy p { font-size: 1.02rem; }
    .nv-search-row { flex-direction: column; align-items: stretch; }
    .nv-dim { font-size: .68rem; }
    .nv-footer-links { flex-wrap: wrap; row-gap: .5rem !important; }
    .nv-cookie-banner .nv-btn { flex: 1 1 0; }
    .nv-cookie-banner p { font-size: .88rem; }
}

@media (max-width: 380px) {
    .nv-brand-logo { width: 140px; }
    .nv-hero-shell { padding: .75rem; border-radius: 14px; }
    .nv-btn { padding: .55rem .8rem; }
    .nv-dim-left { display: none; }
}

@media (hover: none) {
    .nv-nav .nav-link { padding-top: .7rem !important; padding-bottom: .7rem !important; }
}

.nv-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; background: var(--deep-slate); color: var(--off-white); padding: 1rem 0; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.nv-cookie-banner[hidden] { display: none; }
.nv-cookie-banner a { color: var(--amber); }

