:root {
    --z-navy: #17324d;
    --z-navy-dark: #10263a;
    --z-blue: #2f6b9a;
    --z-blue-dark: #245678;
    --z-blue-soft: #eaf2f8;
    --z-bg: #f6f8fa;
    --z-surface: #ffffff;
    --z-border: #e3e8ee;
    --z-text: #1f2937;
    --z-muted: #667085;
    --z-success: #177245;
    --z-warning-bg: #fff7d6;
    --z-radius: 14px;
    --z-shadow: 0 8px 30px rgba(23, 50, 77, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
    background: var(--z-bg);
    color: var(--z-text);
    line-height: 1.5;
}

a {
    color: var(--z-blue);
}

img {
    max-width: 100%;
}

.site-header {
    background: var(--z-navy);
    color: white;
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

.site-nav {
    min-height: 68px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.brand {
    color: white;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 7px;
    border-radius: 9px;
    background: white;
    color: var(--z-navy);
    font-size: 1rem;
    vertical-align: middle;
}

.tagline {
    color: #d7e3ee;
    font-size: .92rem;
}

.nav-spacer {
    flex: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link,
.nav-actions button {
    color: white;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.nav-link:hover,
.nav-actions button:hover {
    text-decoration: underline;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 9px;
    background: var(--z-blue);
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.nav-cta:hover {
    background: #3979aa;
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 18px 60px;
}

h1, h2, h3 {
    color: var(--z-navy-dark);
    line-height: 1.15;
}

h1 {
    letter-spacing: -.035em;
}

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

.eyebrow {
    color: var(--z-blue);
    font-size: .83rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.panel,
.card {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
}

.panel {
    padding: 24px;
}

.card {
    overflow: hidden;
}

.shadow {
    box-shadow: var(--z-shadow);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--z-blue);
    color: white;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    background: var(--z-blue-dark);
    color: white;
}

.button-secondary {
    background: white;
    color: var(--z-blue);
    border-color: var(--z-blue);
}

.button-secondary:hover {
    background: var(--z-blue-soft);
    color: var(--z-blue-dark);
}

.button-quiet {
    background: transparent;
    color: var(--z-blue);
    border-color: var(--z-border);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.inline-form {
    display: inline;
    margin: 0;
}

input,
textarea,
select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5df;
    border-radius: 9px;
    background: white;
    color: var(--z-text);
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(47, 107, 154, .14);
    border-color: var(--z-blue);
}

label {
    font-weight: 700;
    color: var(--z-navy-dark);
}

form p {
    display: grid;
    gap: 7px;
}

.helptext {
    color: var(--z-muted);
    font-size: .9rem;
}

.errorlist {
    margin: 5px 0;
    padding-left: 20px;
    color: #a61b1b;
}

.hero {
    padding: 58px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr);
    gap: 40px;
    align-items: center;
    background:
        radial-gradient(circle at 95% 0%, rgba(47,107,154,.19), transparent 35%),
        white;
    border: 1px solid var(--z-border);
    border-radius: 20px;
    overflow: hidden;
}

.hero h1 {
    max-width: 700px;
    margin: 8px 0 14px;
    font-size: clamp(2.35rem, 6vw, 4.25rem);
}

.hero-copy {
    max-width: 660px;
    font-size: 1.15rem;
    color: var(--z-muted);
}

.hero-card {
    padding: 24px;
    border-radius: 16px;
    background: var(--z-navy);
    color: white;
}

.hero-card h2 {
    color: white;
    margin-top: 0;
}

.hero-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
    margin-top: 14px;
}

.hero-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    color: var(--z-navy);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 30px 0 16px;
}

.section-head h1,
.section-head h2 {
    margin-bottom: 4px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 18px;
}

.listing-card {
    display: block;
    overflow: hidden;
    background: white;
    border: 1px solid var(--z-border);
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.listing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--z-shadow);
}

.listing-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef2f5;
}

.listing-card-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background: #eef2f5;
    color: var(--z-muted);
}

.listing-card-body {
    padding: 15px;
}

.listing-card h3 {
    margin: 6px 0;
    font-size: 1.03rem;
}

.price {
    color: var(--z-navy-dark);
    font-weight: 800;
    font-size: 1.25rem;
}

.status-pill {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--z-blue-soft);
    color: var(--z-blue-dark);
    font-size: .8rem;
    font-weight: 800;
}

.form-shell {
    max-width: 820px;
    margin: 0 auto;
}

.form-section {
    margin-top: 18px;
}

.form-section h2 {
    margin-top: 0;
}

.image-manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.image-manage-card {
    padding: 10px;
    border: 1px solid var(--z-border);
    border-radius: 11px;
    background: white;
}

.image-manage-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.notice {
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--z-warning-bg);
}

.empty-state {
    padding: 52px 24px;
    text-align: center;
}

.site-footer {
    border-top: 1px solid var(--z-border);
    background: white;
}

.site-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px 18px;
    color: var(--z-muted);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .92rem;
}

@media (max-width: 820px) {
    .site-nav {
        padding-top: 13px;
        padding-bottom: 13px;
        flex-wrap: wrap;
    }

    .tagline {
        display: none;
    }

    .nav-spacer {
        display: none;
    }

    .nav-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 34px 24px;
    }

    .page-shell {
        padding-top: 22px;
    }
}
