﻿:root {
    --bg: #020617;
    --panel: #0b1220;
    --panel-soft: #111827;
    --panel-alt: #111827;
    --text: #f9fafb;
    --muted: #9ca3af;
    --line: rgba(148,163,184,.35);
    --radius: 22px;
    --primary: #6366F1;
    --accent: #22D3EE;
    --ok: #34D399;
    --danger: #F97373;
    --focus: #22D3EE;
    --gradient-hero: radial-gradient(circle at top left,#4F46E5 0,#0B1120 45%,#020617 100%);
    --gradient-slice: linear-gradient(180deg,#1f2937 0%,#020617 100%);
    --gradient-trace: linear-gradient(180deg,#1e293b 0%,#020617 100%);
    --gradient-secure: linear-gradient(180deg,#111827 0%,#020617 100%);
    --gradient-fade: linear-gradient(180deg,#111827 0%,#020617 100%);
    --transition: .24s cubic-bezier(.2,.65,.35,1);
    --shadow-elev: 0 22px 60px -26px rgba(15,23,42,.9),0 0 0 1px rgba(255,255,255,.04) inset;
    --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: .25px;
}

/* HEADER */
.m-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(15,23,42,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148,163,184,.28);
}

.m-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .brand .logo {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        background: url(../Images/CompanyLogo.svg) center/cover no-repeat;
    }

    .brand .name {
        font-weight: 800;
        font-size: 1rem;
    }

.m-burger {
    appearance: none;
    background: linear-gradient(180deg,rgba(248,250,252,.12),rgba(15,23,42,1));
    border: 1px solid rgba(148,163,184,.55);
    color: var(--text);
    padding: 7px 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 12px 26px -16px rgba(15,23,42,1);
    font-size: .98rem;
}

    .m-burger:active {
        transform: translateY(1px);
    }

.m-menu {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 50;
}

    .m-menu.show {
        display: block;
    }

.m-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.75);
}

.m-sheet {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: radial-gradient(circle at top,#111827,#020617 54%);
    border-bottom: 1px solid rgba(148,163,184,.35);
    display: grid;
    grid-template-rows: auto 1fr auto;
    max-height: 100vh;
}

.m-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
}

.m-close {
    background: transparent;
    border: 1px solid rgba(148,163,184,.55);
    border-radius: 999px;
    color: var(--text);
    padding: 6px 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.m-links {
    padding: 12px 14px;
    display: grid;
    gap: 10px;
    overflow: auto;
}

.m-link {
    padding: 14px 14px;
    border-radius: 16px;
    font-weight: 600;
    background: linear-gradient(180deg,rgba(15,23,42,.85),rgba(15,23,42,.95));
    border: 1px solid rgba(148,163,184,.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
}

.mfoot {
    display: flex;
    gap: 10px;
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(148,163,184,.25);
}

/* SECTIONS */
.section {
    position: relative;
    margin: 18px 14px 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel-soft);
}

    .section:first-of-type {
        margin-top: 14px;
    }

.section-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.98;
    pointer-events: none;
}

.gradient-hero::before {
    background: var(--gradient-hero);
}

.gradient-slice::before {
    background: var(--gradient-slice);
}

.gradient-trace::before {
    background: var(--gradient-trace);
}

.gradient-secure::before {
    background: var(--gradient-secure);
}

.gradient-fade::before {
    background: var(--gradient-fade);
}

.section-inner {
    position: relative;
    z-index: 1;
    padding: 22px 18px 24px;
}

/* HERO */
.hero {
    display: grid;
    gap: 18px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.45);
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(15,23,42,.8);
}

.hero-title-wrap {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.mascot-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 14px 34px -18px rgba(15,23,42,1);
}

    .mascot-icon.small {
        width: 38px;
        height: 38px;
    }

.hero-title {
    margin: 0;
    font-size: clamp(1.9rem, 6vw, 2.2rem);
    line-height: 1.15;
}

.hero-sub {
    margin: 0 auto;
    max-width: 52ch;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}

.hero-ctas {
    display: grid;
    gap: 10px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.h-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.92);
    border: 1px solid rgba(148,163,184,.4);
    font-size: .78rem;
    color: #e5e7eb;
}

.full {
    width: 100%;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.45);
    padding: 12px 18px;
    font-weight: 700;
    font-size: .9rem;
    background: linear-gradient(180deg,#020617,#020617);
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

    .btn.pri {
        border: 0;
        background: linear-gradient(135deg,#6366F1,#A855F7,#22D3EE);
        box-shadow: 0 20px 38px -22px rgba(79,70,229,.9);
    }

        .btn.pri:hover {
            filter: saturate(1.15);
            transform: translateY(-2px);
        }

    .btn.outline {
        background: radial-gradient(circle at top,#0b1120,#020617);
    }

        .btn.outline:hover {
            border-color: rgba(148,163,184,.7);
        }

    .btn.ghost {
        background: transparent;
    }

    .btn:active {
        transform: translateY(1px);
    }

/* EYEBROW LABELS */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,.9);
    border: 1px solid rgba(148,163,184,.4);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #e5e7eb;
}

/* FEATURE CARDS */
.feature-cards {
    display: grid;
    gap: 14px;
}

.f-card {
    background: rgba(15,23,42,.96);
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.35);
    padding: 14px 14px 16px;
    box-shadow: var(--shadow-elev);
}

    .f-card h3 {
        margin: 0 0 4px;
        font-size: 1rem;
    }

    .f-card p {
        margin: 0;
        color: var(--muted);
        font-size: .85rem;
        line-height: 1.5;
    }

/* GALLERY – make screenshots bigger */
.gallery {
    margin-top: 16px;
}

.gallery-inner {
    display: grid;
    gap: 18px;
    padding: 20px 10px 22px;
}

.gallery-head {
    text-align: center;
    display: grid;
    gap: 8px;
}

    .gallery-head h2 {
        margin: 0;
        font-size: 1.4rem;
    }

    .gallery-head p {
        margin: 0;
        color: var(--muted);
        font-size: .9rem;
    }

.gallery-grid {
    display: grid;
    gap: 14px;
}

.g-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.65);
    background: radial-gradient(circle at top,#0b1120,#020617);
    box-shadow: var(--shadow-elev);
    position: relative;
}

    .g-card img {
        width: 100%;
        display: block;
    }

    .g-card figcaption {
        padding: 9px 14px 11px;
        border-top: 1px solid rgba(148,163,184,.4);
        background: rgba(15,23,42,.96);
        display: grid;
        gap: 3px;
        font-size: .85rem;
    }

.cap-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .cap-title strong {
        font-size: .9rem;
    }

.float-soft {
    animation: floatSoft 9s ease-in-out infinite;
}

    .float-soft.delay {
        animation-delay: 1.8s;
    }

@keyframes floatSoft {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* CHIP REEL */
.feat-reel {
    margin: 22px 14px 0;
    border-radius: var(--radius);
    background: var(--panel-soft);
    overflow: hidden;
}

    .feat-reel .inner {
        padding: 16px 0;
    }

.reel-track {
    display: flex;
    gap: 8px;
    width: max-content;
    padding: 0 14px;
    animation: reel 20s linear infinite;
}

.chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,.96);
    border: 1px solid rgba(148,163,184,.4);
    font-size: .78rem;
    color: #e5e7eb;
}

    .chip i {
        color: var(--accent);
    }

@keyframes reel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* METRIC SECTION */
.metric {
    display: grid;
    gap: 14px;
}

.metric-copy h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}

.metric-copy p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.metric-points {
    display: grid;
    gap: 8px;
}

.m-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .78rem;
    background: rgba(15,23,42,.96);
    border: 1px solid rgba(148,163,184,.35);
    color: #e5e7eb;
}

/* PERF SECTION */
.perf-section {
    display: grid;
    gap: 18px;
}

.perf-media {
    position: relative;
}

    .perf-media img {
        border-radius: 18px;
        border: 1px solid rgba(148,163,184,.45);
        background: #020617;
    }

.perf-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.96);
    border: 1px solid rgba(148,163,184,.5);
    font-size: .76rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.perf-copy h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.perf-copy p {
    margin: 0 0 10px;
    font-size: .9rem;
    color: var(--muted);
}

.perf-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
    font-size: .8rem;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 6px;
}

.dot-green {
    background: #10b981;
}

.dot-blue {
    background: #22d3ee;
}

.dot-orange {
    background: #fb923c;
}

/* SECURITY SECTION */
.sec-badges {
    margin: 22px 14px 0;
    border-radius: var(--radius);
    background: var(--panel-soft);
}

    .sec-badges .wrap {
        padding: 18px 18px 20px;
        display: grid;
        gap: 16px;
    }

.sec-title {
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sec-flow {
    position: relative;
    padding: 10px 4px 6px;
    display: grid;
    gap: 12px;
}

.flow-line {
    position: absolute;
    left: 29px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(148,163,184,.1), rgba(148,163,184,.6));
    opacity: .8;
}

    .flow-line::after {
        content: "";
        position: absolute;
        left: -3px;
        width: 8px;
        height: 32px;
        border-radius: 999px;
        background: linear-gradient(to bottom, rgba(56,189,248,.0), rgba(56,189,248,.7), rgba(56,189,248,0));
        animation: flowPulse 2.8s linear infinite;
    }

@keyframes flowPulse {
    0% {
        top: 0%;
        opacity: .1;
    }

    35% {
        opacity: 1;
    }

    100% {
        top: 88%;
        opacity: .15;
    }
}

.sec-step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 10px;
    padding-left: 10px;
}

.sec-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, rgba(248,250,252,.85), rgba(56,189,248,.1));
    border: 1px solid rgba(56,189,248,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    position: relative;
    box-shadow: 0 0 0 1px rgba(15,23,42,1), 0 12px 30px -16px rgba(15,23,42,1);
}

    .sec-icon i {
        font-size: .9rem;
    }

.sec-ping {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid rgba(56,189,248,.55);
    opacity: 0;
    animation: secPing 2.6s ease-out infinite;
}

@keyframes secPing {
    0% {
        transform: scale(0.7);
        opacity: .9;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.sec-body {
    border-radius: 14px;
    padding: 8px 10px 9px;
    background: linear-gradient(135deg, rgba(15,23,42,.96), rgba(15,23,42,.90));
    border: 1px solid rgba(148,163,184,.45);
    box-shadow: 0 10px 24px -18px rgba(15,23,42,1);
}

    .sec-body h4 {
        margin: 0 0 4px;
        font-size: .9rem;
    }

    .sec-body p {
        margin: 0;
        font-size: .8rem;
        color: var(--muted);
    }

.sec-tag {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15,23,42,.96);
    border: 1px solid rgba(148,163,184,.55);
    font-size: .72rem;
    color: #e5e7eb;
}

/* GROWTH BAND */
.growth-band {
    margin: 22px 14px 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #020617;
}

.growth-img-wrap {
    position: relative;
}

    .growth-img-wrap img {
        width: 100%;
        display: block;
        opacity: .95;
    }

.growth-copy {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg,rgba(15,23,42,.1),rgba(15,23,42,.92));
    border: 1px solid rgba(148,163,184,.45);
    display: grid;
    gap: 4px;
    font-size: .84rem;
}

    .growth-copy .tag {
        font-size: .7rem;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #a5b4fc;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

/* TIMELINE */
.timeline {
    display: grid;
    gap: 18px;
}

.tl-head {
    text-align: center;
    display: grid;
    gap: 4px;
}

    .tl-head h2 {
        margin: 0;
        font-size: 1.35rem;
    }

    .tl-head p {
        margin: 0;
        font-size: .9rem;
        color: var(--muted);
    }

.tl-grid {
    display: grid;
    gap: 10px;
}

.tl-step {
    border-radius: 16px;
    background: rgba(15,23,42,.96);
    border: 1px solid rgba(148,163,184,.4);
    padding: 12px 14px 14px;
    position: relative;
}

    .tl-step .badge {
        position: absolute;
        top: 10px;
        left: 12px;
        background: linear-gradient(135deg,#6366F1,#22D3EE);
        color: #020617;
        padding: 3px 8px;
        border-radius: 999px;
        font-size: .7rem;
        font-weight: 800;
    }

    .tl-step h4 {
        margin: 0 0 4px 30px;
        font-size: .9rem;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .tl-step p {
        margin: 0 0 0 30px;
        font-size: .8rem;
        color: var(--muted);
    }

/* DEMO AREA */
.demo-sec {
    margin: 22px 14px 0;
    border-radius: var(--radius);
    background: var(--panel-soft);
}

.demo-inner {
    padding: 18px 14px 18px;
    display: grid;
    gap: 10px;
}

.demo-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.55);
    background: #020617;
    box-shadow: var(--shadow-elev);
    aspect-ratio: 16 / 9;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: radial-gradient(circle at center,rgba(15,23,42,.85),rgba(15,23,42,.95));
    font-size: .82rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 3px solid rgba(148,163,184,.4);
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}

.demo-fs {
    position: absolute;
    right: 8px;
    top: 8px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.55);
    background: rgba(15,23,42,.8);
    color: var(--text);
    padding: 5px 9px;
    font-size: .8rem;
}

.demo-note {
    text-align: center;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* TESTIMONIALS */
.testimonials {
    display: grid;
    gap: 16px;
}

.t-head {
    text-align: center;
    display: grid;
    gap: 4px;
}

    .t-head h2 {
        margin: 0;
        font-size: 1.35rem;
    }

    .t-head p {
        margin: 0;
        font-size: .9rem;
        color: var(--muted);
    }

.carousel {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.4);
    background: rgba(15,23,42,.96);
}

.slides {
    display: flex;
    transform: translateX(0);
    transition: transform .7s var(--transition);
}

.slide {
    flex: 0 0 100%;
    padding: 18px 16px 20px;
    display: grid;
    gap: 8px;
}

    .slide p {
        margin: 0;
        font-size: .9rem;
        color: #e5e7eb;
    }

    .slide .who {
        font-size: .7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .12em;
        color: var(--muted);
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.car-controls {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 8px 0 10px;
}

.car-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(148,163,184,.5);
}

    .car-dot[aria-selected="true"] {
        background: linear-gradient(135deg,#6366F1,#22D3EE);
    }

/* TRUST */
.trust {
    margin: 22px 14px 0;
    border-radius: var(--radius);
    background: var(--panel-soft);
}

    .trust .inner {
        padding: 18px 18px 20px;
        display: grid;
        gap: 14px;
    }

    .trust h2 {
        margin: 0;
        text-align: center;
        font-size: 1.35rem;
    }

.counters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.ctr {
    border-radius: 18px;
    background: rgba(15,23,42,.96);
    border: 1px solid rgba(148,163,184,.4);
    text-align: center;
    padding: 14px 10px 16px;
}

    .ctr .big {
        font-size: 1.5rem;
        font-weight: 900;
        display: block;
    }

    .ctr .sub {
        font-size: .78rem;
        color: var(--muted);
    }

/* PRICING */
.pricing {
    display: grid;
}

.price-card {
    border-radius: 22px;
    background: rgba(15,23,42,.98);
    border: 1px solid rgba(148,163,184,.5);
    padding: 18px 16px 20px;
    box-shadow: var(--shadow-elev);
    display: grid;
    gap: 16px;
}

.price-head {
    text-align: center;
    display: grid;
    gap: 8px;
}

.price-line {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .price-line .currency {
        font-size: .78rem;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .price-line .amount {
        font-size: 2.3rem;
        font-weight: 900;
        background: linear-gradient(90deg,#6366F1,#A855F7,#22D3EE);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .price-line .note {
        font-size: .78rem;
        color: var(--muted);
    }

.tagline {
    margin: 0;
    font-size: .86rem;
    color: var(--muted);
}

.benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: .84rem;
    color: #e5e7eb;
}

    .benefits li {
        display: flex;
        align-items: flex-start;
        gap: 7px;
    }

    .benefits i {
        color: var(--ok);
        margin-top: 2px;
    }

.price-ctas {
    display: grid;
    gap: 10px;
}

/* RIBBON */
.ribbon {
    margin: 22px 14px 24px;
    border-radius: 20px;
    padding: 14px 14px 16px;
    text-align: center;
    background: linear-gradient(135deg,#6366F1,#A855F7,#22D3EE);
    color: #020617;
    font-weight: 800;
    font-size: .92rem;
    display: grid;
    gap: 4px;
}

    .ribbon i {
        margin-right: 6px;
    }

    .ribbon .r-sub {
        margin-top: 2px;
        font-weight: 600;
        font-size: .8rem;
    }

/* MODAL – prevent body from stretching; align content to top */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 60;
}

    .modal.show {
        display: block;
    }

.mbg {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.75);
    backdrop-filter: blur(18px);
}

.sheet.modal-sheet {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column; /* header, body, footer stacked */
    background: radial-gradient(circle at top,#111827,#020617 60%);
    border-top: 1px solid rgba(148,163,184,.35);
}

.mhead {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148,163,184,.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Body should not flex-grow; keep content at top and scroll when needed */
.modal-body {
    /* removed flex: 1 1 auto; */
    padding: 12px 16px 10px;
    overflow-y: auto;
    display: grid;
    gap: 8px;
    align-content: flex-start; /* make the grid content hug the top */
}

.modal-foot {
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(148,163,184,.35);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.field {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 8px;
    align-items: center;
    margin-top:10px;
}

    .field .lbl {
        grid-column: 1 / -1;
        padding-bottom:5px;
    }

.field-icon {
    width: 22px;
    text-align: center;
    color: var(--muted);
    font-size: .8rem;
}

.lbl {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
}

.input {
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.5);
    background: rgba(15,23,42,.98);
    color: var(--text);
    padding: 0 12px;
    font-size: .9rem;
    width: 100%;
}

    .input:focus {
        outline: 2px solid var(--focus);
        outline-offset: 2px;
    }

.err {
    display: none;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.6);
    font-size: .8rem;
}

.tiny {
    font-size: .7rem;
}

.muted {
    color: var(--muted);
}

/* FOOTER */
.site-foot {
    margin-top: 12px;
    padding: 18px 14px 22px;
    border-top: 1px solid rgba(31,41,55,1);
    background: radial-gradient(circle at top,#020617,#020617 55%);
    font-size: .72rem;
    color: var(--muted);
    text-align: center;
}

    .site-foot a {
        color: #e5e7eb;
        font-weight: 600;
    }

        .site-foot a:hover {
            text-decoration: underline;
        }

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease-out, transform .5s ease-out;
}

    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .reel-track,
    .float-soft,
    .slides,
    .spinner,
    .flow-line::after,
    .sec-ping {
        animation: none !important;
    }
}

/* SMALL-TABLET TWEAKS */
@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .perf-section {
        grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
        align-items: center;
    }
}
