/* THE VESSEL CODE — Unified Dark Maritime Tech (no external photo URLs) */
:root {
    --mkt-canvas: #0a101e;
    --mkt-canvas-elevated: #0f172a;
    --mkt-accent: #38bdf8;
    --mkt-title: #f8fafc;
    --mkt-muted: #94a3b8;
    --mkt-card-bg: rgba(15, 23, 42, 0.75);
    --mkt-card-border: rgba(56, 189, 248, 0.18);
    --mkt-card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --mkt-hero-scrim: radial-gradient(circle at 50% 20%, rgba(14, 116, 144, 0.18) 0%, rgba(10, 16, 30, 0.95) 75%);
}

/* ── Shared page canvas ── */
body.home-page {
    background: var(--mkt-hero-scrim), linear-gradient(180deg, var(--mkt-canvas) 0%, var(--mkt-canvas-elevated) 100%);
    background-attachment: fixed;
    color: var(--mkt-muted);
}

body.mkt-contact-page.ac-page {
    background: var(--mkt-hero-scrim), linear-gradient(180deg, var(--mkt-canvas) 0%, var(--mkt-canvas-elevated) 100%);
    background-attachment: fixed;
    color: var(--mkt-muted);
}

body.mkt-toolkit-page,
body.mkt-toolkit-page .mkt-site-wrap {
    background: var(--mkt-hero-scrim), linear-gradient(180deg, var(--mkt-canvas) 0%, var(--mkt-canvas-elevated) 100%);
    background-attachment: fixed;
    color: var(--mkt-muted);
}

body.mkt-toolkit-page #marketing-topbar .home-topbar {
    background: linear-gradient(180deg, rgba(10, 16, 30, 0.98), rgba(15, 23, 42, 0.9));
    border-bottom: 1px solid var(--mkt-card-border);
}

/* ── Hero cinematic canvas (#hero) ── */
#hero,
.home-hero.mkt-hero {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 48px;
    padding-bottom: 40px;
    padding-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1180px) / 2 + 20px));
    overflow: hidden;
    background-color: var(--mkt-canvas);
    background-image: var(--mkt-hero-scrim);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero > *,
.home-hero.mkt-hero > * {
    position: relative;
    z-index: 1;
}

.home-services-hero.mkt-hero {
    margin-bottom: 8px;
    padding-bottom: 32px;
}

.home-services-hero .home-section-head {
    margin-bottom: 0;
}

.home-section-head h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.home-section-head .home-section-lead {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 680px;
}

.home-pms-hero .home-section-head,
.home-toolkit-hero .home-section-head {
    max-width: 760px;
}

.home-toolkit-hero.mkt-hero {
    margin-bottom: 0;
    padding-bottom: 0;
}

.home-pms-hero-actions {
    margin-top: 20px;
}

.home-pms-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .home-pms-cta-actions {
        width: 100%;
        justify-content: stretch;
    }

    .home-pms-cta-actions .home-btn {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* ── Enterprise glass cards ── */
.mkt-glass-card,
.home-card,
.home-hero-card,
.home-topic-list li,
.home-service-card,
.home-cta-band,
#core-topics,
#services .home-service-card,
body.mkt-contact-page .ac-card,
body.mkt-contact-page .ac-form-card {
    background: var(--mkt-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--mkt-card-border);
    box-shadow: var(--mkt-card-shadow);
}

.home-edge-card,
.home-product-card {
    background: var(--mkt-card-bg);
}

.home-card h2,
.home-card h3,
.home-hero-card h2,
.home-topic-list strong,
.home-service-card h2,
.home-service-card h3,
.home-service-card h4,
.home-cta-band h2,
.home-section h2,
.home-hero-copy h1,
.home-hero-tagline,
body.mkt-contact-page .ac-hero h1,
body.mkt-contact-page .ac-card h3,
body.mkt-contact-page .ac-form-card h3,
body.mkt-contact-page .ac-about h2 {
    color: var(--mkt-title);
}

.home-card p,
.home-topic-list span,
.home-service-card p,
.home-service-card li,
.home-cta-band p,
.home-section-lead,
.home-lead,
body.mkt-contact-page .ac-hero-sub,
body.mkt-contact-page .ac-about p,
body.mkt-contact-page .ac-card-sub,
body.mkt-contact-page .ac-form-sub {
    color: var(--mkt-muted);
}

.home-topnav a:hover,
.home-topnav a[aria-current="page"],
.home-card a,
.home-service-intro a {
    color: var(--mkt-accent);
}

.home-eyebrow {
    color: var(--mkt-accent);
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(56, 189, 248, 0.08);
}

.home-btn-primary {
    background: linear-gradient(135deg, #0e7490, #0369a1);
    box-shadow: 0 10px 24px rgba(14, 116, 144, 0.35);
}

.home-cta-band {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.22), rgba(15, 23, 42, 0.92));
}

.home-service-num {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 116, 144, 0.35));
    color: var(--mkt-accent);
}

@media (max-width: 767px) {
    #hero,
    .home-hero.mkt-hero {
        padding-top: 32px;
        padding-bottom: 28px;
    }
}
