/* THE VESSEL CODE — Soft Light & Deep Navy (marketing portal) */
:root {
    --mkt-canvas: #f1f5f9;
    --mkt-canvas-elevated: #e2e8f0;
    --mkt-accent: #0284c7;
    --mkt-title: #0f172a;
    --mkt-body: #334155;
    --mkt-muted: #475569;
    --mkt-card-bg: #ffffff;
    --mkt-card-border: #cbd5e1;
    --mkt-card-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --mkt-card-shadow-hover: 0 8px 20px -4px rgba(15, 23, 42, 0.1);
    --mkt-hero-scrim: none;
}

/* ── Unified ambient background (all marketing routes) ── */
body.tvc-marketing-body {
    margin: 0;
    padding: 0;
    background-color: #f1f5f9;
    color: #334155;
    font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Inter", "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body.tvc-marketing-body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(15, 23, 42, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

body.tvc-marketing-body.mkt-page,
body.tvc-marketing-body.home-page,
body.tvc-marketing-body.ac-page,
body.tvc-marketing-body.mkt-toolkit-page,
body.tvc-marketing-body.mkt-toolkit-page .mkt-site-wrap {
    background: transparent;
    color: var(--mkt-muted);
}

body.tvc-marketing-body .mkt-site-wrap > .home-shell,
body.tvc-marketing-body .mkt-site-wrap > .ac-shell,
body.tvc-marketing-body .mkt-site-wrap > .store-public-shell {
    padding-top: 80px;
}

/* ── 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: transparent;
    background-image: none;
}

#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: var(--mkt-title);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.home-section-head .home-section-lead {
    font-size: 16px;
    color: var(--mkt-body);
    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;
}

/* Ship Repair Korea pillar — dedicated hero (not .home-hero.mkt-hero) */
body.srk-page .repair-hero-section {
    background-color: #0a0f1d;
    background-image:
        linear-gradient(rgba(10, 15, 29, 0.88), rgba(15, 23, 42, 0.95)),
        url('/assets/images/shipyard-dock-hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.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,
.toolkit-plg-band,
.home-ethos-band,
.home-launch-band {
    background: var(--mkt-card-bg);
    border: 1px solid var(--mkt-card-border);
    border-radius: 12px;
    box-shadow: var(--mkt-card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mkt-glass-card:hover,
.home-card:hover,
.home-service-card:hover,
.home-topic-list li:hover,
body.mkt-contact-page .ac-card:hover,
body.mkt-contact-page .ac-form-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--mkt-card-shadow-hover);
}

.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:not(.home-btn),
.home-service-intro a {
    color: var(--mkt-accent);
}

.home-eyebrow,
.home-launch-eyebrow {
    color: var(--mkt-accent);
    border-color: rgba(2, 132, 199, 0.22);
    background: rgba(2, 132, 199, 0.08);
}

.home-launch-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    margin: 0 0 12px;
}

.home-lead-ko {
    margin-top: 12px;
}

.home-btn-primary {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.home-cta-band {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.home-service-num {
    background: rgba(2, 132, 199, 0.1);
    color: var(--mkt-accent);
}

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

/* ── TVC-SM landing (/sm) ── */
body.mkt-sm-page,
body.mkt-sm-page .mkt-site-wrap {
    background: transparent;
}

.sm-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.sm-hero-ko {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.25;
    color: var(--mkt-title);
    margin-bottom: 8px;
}

.sm-hero-en {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--mkt-accent);
    line-height: 1.4;
}

body.mkt-lang-ko .sm-hero-en {
    margin-top: 6px;
}

body.mkt-lang-en .sm-hero-ko {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
}

body.mkt-lang-en .sm-hero-en {
    display: none;
}

.sm-hero-lead strong {
    color: var(--mkt-title);
}

.sm-hero-tertiary {
    border-color: rgba(148, 163, 184, 0.35);
}

.sm-sync-diagram {
    padding: 20px 22px;
    border-radius: 14px;
}

.sm-diagram-title {
    margin: 0 0 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mkt-accent);
}

.sm-diagram-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sm-diagram-flow li {
    text-align: center;
    min-width: 72px;
}

.sm-diagram-hub {
    flex: 1 1 100%;
    margin-top: 4px;
}

.sm-node {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--mkt-card-border);
    color: var(--mkt-title);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sm-node-accent {
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}

.sm-node-hq {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), #ffffff);
}

.sm-node-label {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--mkt-muted);
}

.sm-diagram-offline {
    margin: 14px 0 10px;
    text-align: center;
}

.sm-offline-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.sm-diagram-zip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 8px 0 12px;
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.06);
}

.sm-zip-icon {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--mkt-accent);
}

.sm-zip-channels {
    font-size: 0.72rem;
    color: var(--mkt-muted);
}

.sm-diagram-hq {
    text-align: center;
}

.sm-stat-band {
    margin: 0 auto 40px;
    max-width: 1100px;
    padding: 0 4px;
}

.sm-stat-list {
    list-style: none;
    margin: 0;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: var(--mkt-card-bg);
    border: 1px solid var(--mkt-card-border);
    border-radius: 12px;
    box-shadow: var(--mkt-card-shadow);
}

.sm-stat-list li {
    text-align: center;
}

.sm-stat-list strong {
    display: block;
    font-size: 1.35rem;
    color: var(--mkt-accent);
}

.sm-stat-list span {
    font-size: 0.78rem;
    color: var(--mkt-muted);
    line-height: 1.35;
}

.sm-stat-list a {
    color: var(--mkt-accent);
    text-decoration: none;
}

.sm-stat-list a:hover {
    text-decoration: underline;
}

.sm-lifecycle-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sm-lifecycle-steps li {
    padding: 16px 12px;
    text-align: center;
    border-radius: 12px;
}

.sm-lc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: var(--mkt-accent);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sm-lifecycle-steps strong {
    display: block;
    color: var(--mkt-title);
    font-size: 0.9rem;
}

.sm-lifecycle-steps span:last-child {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--mkt-muted);
}

.sm-compare-table-wrap {
    padding: 8px 12px 16px;
    overflow-x: auto;
}

.sm-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.sm-compare-table th,
.sm-compare-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--mkt-muted);
}

.sm-compare-table thead th {
    color: var(--mkt-title);
    font-weight: 600;
}

.sm-compare-table tbody th[scope="row"] {
    color: #cbd5e1;
    font-weight: 500;
}

.sm-compare-table td:last-child,
.sm-compare-table th:last-child {
    color: #e2e8f0;
    background: rgba(56, 189, 248, 0.06);
}

@media (max-width: 900px) {
    .sm-hero-grid {
        grid-template-columns: 1fr;
    }

    .sm-stat-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-lifecycle-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sm-lifecycle-steps {
        grid-template-columns: 1fr;
    }
}

.sm-modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sm-mode-card {
    position: relative;
    padding-top: 28px;
}

.sm-mode-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 6px;
}

.sm-mode-online {
    background: rgba(56, 189, 248, 0.15);
    color: var(--mkt-accent);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.sm-mode-hybrid {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.sm-mode-for {
    font-size: 0.85rem;
    color: var(--mkt-accent);
    margin: 0 0 10px;
}

.sm-mode-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: var(--mkt-muted);
}

.sm-mode-list li {
    margin-bottom: 6px;
}

.sm-mode-demo {
    font-size: 0.78rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.sm-mode-demo code {
    font-size: 0.85em;
    color: #cbd5e1;
}

@media (max-width: 900px) {
    .sm-modes-grid {
        grid-template-columns: 1fr;
    }
}

/* Home launch band */
.home-launch-band {
    margin: 32px 0 40px;
    padding: 20px 22px;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.home-launch-band p {
    margin: 0;
    max-width: 520px;
}

.home-stakeholder-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.home-stakeholder-grid h3 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.home-community-grid .home-card-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 8px;
}

.home-ethos-band {
    margin: 20px 0 28px;
    padding: 18px 20px;
    border-radius: var(--home-radius, 12px);
    border: 1px solid var(--mkt-card-border);
    background: var(--mkt-card-bg);
    box-shadow: var(--mkt-card-shadow);
}

.home-ethos-band p {
    margin: 0;
    color: var(--mkt-body);
    font-size: 0.98rem;
    line-height: 1.65;
}

.home-ethos-ko {
    margin: 0 0 8px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--home-accent, #38bdf8) !important;
    font-weight: 600;
}

.sm-hero-tagline {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--mkt-body);
    line-height: 1.45;
}

.sm-hero-approval,
.sm-philosophy {
    margin: 10px 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.tk-feature-list {
    margin: 14px 0 0;
    padding-left: 1.1rem;
    color: var(--home-muted, #94a3b8);
    font-size: 0.92rem;
    line-height: 1.55;
}

.tk-feature-list li {
    margin-bottom: 6px;
}

@media (min-width: 960px) {
    .home-community-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .home-stakeholder-grid {
        grid-template-columns: 1fr;
    }

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

    .home-hero-actions .home-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
}

.toolkit-plg-band {
    margin: 0 0 24px;
    padding: 18px 20px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.toolkit-plg-band p {
    margin: 0;
    flex: 1 1 280px;
}
