/* Customer home polish. Shared by Korean and English; no form or global-nav rules. */
body.home {
    --home-ui-ink: #202936;
    --home-ui-muted: #596574;
    --home-ui-line: #dce2e8;
    --home-ui-paper: #fff;
    --home-ui-soft: #f3f6f9;
    --home-ui-accent: #bd2032;
}
html[data-theme="dark"] body.home {
    --home-ui-ink: #f0f4f8;
    --home-ui-muted: #b9c5d2;
    --home-ui-line: #394654;
    --home-ui-paper: #19232f;
    --home-ui-soft: #253340;
    --home-ui-accent: #ff8c99;
}
html[data-theme] body.home .home-premium-mark {
    gap: 10px !important;
    margin: 14px 0 20px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 17px !important;
    color: var(--home-ui-muted) !important;
}
html[data-theme] body.home .home-premium-mark img { width: 42px !important; height: 42px !important; }
html[data-theme] body.home .home-premium-copy h1 {
    font-size: clamp(40px, 4.4vw, 62px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance;
}
html[data-theme] body.home .home-premium-actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px !important;
}
html[data-theme] body.home .home-premium-actions .home-priority-cta,
html[data-theme] body.home .home-service-jump {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px !important;
    padding: 13px 22px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    box-shadow: none !important;
}
html[data-theme] body.home .home-premium-hero[data-home-palette] .home-premium-actions .btn-primary.home-priority-cta {
    background: #bd2032 !important;
    border: 1px solid #bd2032 !important;
    color: #fff !important;
    box-shadow: none !important;
}
html[data-theme] body.home .home-service-jump {
    background: var(--home-ui-paper);
    color: var(--home-ui-ink);
    border: 1px solid var(--home-ui-line);
}
html[data-theme] body.home .home-premium-hero[data-home-palette] .home-premium-actions .btn-outline.home-call-cta {
    flex-basis: 100%;
    justify-content: flex-start;
    min-height: 44px !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    color: var(--home-ui-muted) !important;
}
html[data-theme] body.home #home-services { padding: 56px 0 64px; scroll-margin-top: 112px; }
html[data-theme] body.home #home-services .home-result-header { margin-bottom: 24px; gap: 20px; }
html[data-theme] body.home #home-services .home-result-eyebrow {
    border: 0 !important; padding: 0 !important; background: none !important;
    font-size: 11px; letter-spacing: .12em; color: var(--home-ui-accent) !important;
    margin-bottom: 12px;
}
html[data-theme] body.home #home-services .home-result-header h2 {
    font-size: clamp(26px, 2.7vw, 36px); letter-spacing: -.035em; line-height: 1.3;
    color: var(--home-ui-ink) !important;
}
html[data-theme] body.home #home-services .home-result-all {
    min-height: 46px; padding: 10px 18px; border: 1px solid var(--home-ui-line);
    border-radius: 9px; color: var(--home-ui-ink) !important; background: var(--home-ui-paper);
    font-size: 14px; line-height: 1.5; white-space: nowrap;
}
html[data-theme] body.home #home-services .home-result-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px;
    border: 0 !important;
}
html[data-theme] body.home #home-services .home-result-item {
    grid-column: span 3; min-height: 174px; padding: 22px;
    border: 1px solid var(--home-ui-line) !important; border-radius: 14px;
    background: var(--home-ui-paper) !important; color: var(--home-ui-ink) !important;
    box-shadow: 0 2px 4px #14283e03;
}
html[data-theme] body.home #home-services .home-result-item:nth-child(n + 5) { grid-column: span 4; }
html[data-theme] body.home #home-services .home-result-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin: 0 0 22px; border-radius: 10px;
    font-size: 20px; background: var(--home-ui-soft); color: var(--home-ui-ink) !important;
}
html[data-theme] body.home #home-services .home-result-code {
    top: 26px; right: 22px; font-size: 10px; letter-spacing: .08em;
    color: var(--home-ui-muted) !important;
}
html[data-theme] body.home #home-services .home-result-copy { gap: 8px; padding-right: 20px; }
html[data-theme] body.home #home-services .home-result-copy strong {
    font-size: 18px; line-height: 1.4; letter-spacing: -.025em;
}
html[data-theme] body.home #home-services .home-result-copy small {
    font-size: 13px; line-height: 1.65; color: var(--home-ui-muted) !important;
}
body.home .home-service-arrow { position: absolute; right: 20px; bottom: 24px; color: var(--home-ui-accent); font-size: 21px; }
html[data-theme] body.home :is(.home-premium-actions a, #home-services a):focus-visible {
    outline: 3px solid #2469ba !important; outline-offset: 4px !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-theme] body.home .home-premium-hero[data-home-palette] .home-premium-actions .btn-primary.home-priority-cta:hover { background: #a71b2b !important; border-color: #a71b2b !important; }
    html[data-theme] body.home :is(.home-service-jump, #home-services .home-result-all):hover { border-color: var(--home-ui-accent); }
    html[data-theme] body.home #home-services .home-result-item:hover {
        border-color: var(--home-ui-accent) !important;
        box-shadow: 0 8px 24px #14283e0a;
    }
    html[data-theme] body.home #home-services .home-result-item:hover .home-result-icon { transform: none; }
}
@media (max-width: 900px) {
    html[data-theme] body.home #home-services .home-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html[data-theme] body.home #home-services .home-result-item,
    html[data-theme] body.home #home-services .home-result-item:nth-child(n + 5) { grid-column: auto; }
    html[data-theme] body.home #home-services .home-result-item:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    html[data-theme] body.home .home-premium-copy h1 { font-size: clamp(30px, 8.6vw, 42px) !important; line-height: 1.2 !important; }
    html[data-theme] body.home .home-premium-mark { margin: 10px 0 16px !important; }
    html[data-theme] body.home .home-premium-actions .home-priority-cta,
    html[data-theme] body.home .home-service-jump { width: 100%; min-height: 50px !important; }
    html[data-theme] body.home .home-premium-actions .home-call-cta { justify-content: center; }
    html[data-theme] body.home #home-services { padding: 32px 0 40px; scroll-margin-top: 92px; }
    html[data-theme] body.home #home-services .home-result-header { flex-wrap: wrap; align-items: flex-start; gap: 16px; }
    html[data-theme] body.home #home-services .home-result-header h2 { font-size: 27px; }
    html[data-theme] body.home #home-services .home-result-grid { grid-template-columns: 1fr; gap: 10px; }
    html[data-theme] body.home #home-services .home-result-item {
        display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px;
        align-items: center; min-height: 104px; padding: 18px 38px 18px 18px;
    }
    html[data-theme] body.home #home-services .home-result-icon { margin: 0; }
    html[data-theme] body.home #home-services .home-result-code { display: none; }
    html[data-theme] body.home #home-services .home-result-copy { margin: 0; padding: 0; gap: 4px; }
    html[data-theme] body.home #home-services .home-result-copy strong { font-size: 17px; }
    html[data-theme] body.home #home-services .home-result-copy small { font-size: 13px; }
    body.home .home-service-arrow { right: 16px; top: 50%; bottom: auto; transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    html[data-theme] body.home :is(.home-premium-actions a, #home-services a, .home-result-icon) { transition: none !important; transform: none !important; }
}

/* Tablet hero: override the legacy orbit's 1180px single-column layout.
 * Shared KO/EN styles; preserve document animation, copy and action hooks. */
@media (min-width: 768px) and (max-width: 1279px) {
    html[data-theme] body.home .home-premium-hero {
        min-height: 0 !important;
        padding-top: 108px !important;
        padding-bottom: 32px !important;
    }
    html[data-theme] body.home .home-premium-hero > .home-premium-shell {
        width: calc(100% - 48px) !important;
        min-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        gap: 24px !important;
    }
    html[data-theme] body.home .home-premium-hero .home-premium-copy {
        min-width: 0 !important;
        padding: 0 !important;
    }
    html[data-theme] body.home .home-premium-hero .home-hero-spatial[data-document-story] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 560px !important;
        min-height: 560px !important;
        margin: 0 !important;
    }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    html[data-theme] body.home .home-premium-hero > .home-premium-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-areas: "copy visual" !important;
        align-items: center !important;
    }
    html[data-theme] body.home .home-premium-hero .home-premium-copy {
        grid-area: copy !important;
        width: 100% !important;
        max-width: none !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    html[data-theme] body.home .home-premium-hero .hero-visual {
        grid-area: visual !important;
    }
    html[data-theme] body.home .home-premium-hero .home-premium-copy h1 {
        width: 100% !important;
        max-width: none !important;
        font-size: 40px !important;
        text-align: left !important;
    }
    html[data-theme] body.home .home-premium-hero .home-premium-copy > p {
        width: 100% !important;
        max-width: none !important;
        margin-top: 24px !important;
        text-align: left !important;
    }
    html[data-theme] body.home .home-premium-hero .home-premium-actions {
        width: 100% !important;
        max-width: none !important;
        justify-content: flex-start !important;
    }
    html[data-theme] body.home .home-premium-hero .home-hero-facts {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100% !important;
        gap: 12px !important;
        justify-content: flex-start !important;
    }
    html[data-theme] body.home .home-premium-hero .home-hero-facts > span {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        gap: 4px;
        padding-inline: 12px !important;
    }
    html[data-theme] body.home .home-premium-hero .home-hero-facts > span:first-child {
        padding-left: 0 !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    html[data-theme] body.home .home-premium-hero > .home-premium-shell {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas: "copy" "visual" !important;
    }
    html[data-theme] body.home .home-premium-hero .home-premium-copy {
        grid-area: copy !important;
    }
    html[data-theme] body.home .home-premium-hero .hero-visual {
        grid-area: visual !important;
    }
}
