:root {
    --blue: #1E4FD8;
    --blue-deep: #1640B8;
    --blue-soft: #E8EFFE;
    --blue-tint: #F4F7FE;
    --navy: #0B1F4E;
    --ink: #0F172A;
    --ink-2: #334155;
    --ink-3: #64748B;
    --line: #E5EAF2;
    --line-soft: #EEF2F8;
    --bg: #FFFFFF;
    --bg-grad: linear-gradient(180deg, #FFFFFF 0%, #EEF4FF 60%, #E3ECFE 100%);

    --ff: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max: 1200px;
    --radius: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .04);
    --shadow-md: 0 4px 12px rgba(30, 79, 216, .06), 0 2px 4px rgba(15, 23, 42, .04);
    --shadow-lg: 0 24px 48px -12px rgba(30, 79, 216, .12), 0 8px 16px -8px rgba(15, 23, 42, .06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--ff);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

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

ul,
ol {
    list-style: none
}

strong {
    font-weight: 700
}

/* =================== HERO =================== */
.hero {
    background: var(--bg-grad);
    padding: 100px 24px 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 79, 216, .08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 79, 216, .06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    padding: 8px 18px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 24px;
}

.hero-title .accent {
    color: var(--blue)
}

.hero-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--ink-2);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* =================== ANCESTOR OVERRIDES =================== */
#ctt_con {
    max-width: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin: 0 !important;
}

/* hide default content header */
#ctt>header {
    display: none;
}

/* =================== OEM LAYOUT (TOC + MAIN) =================== */
.oem-layout {
    display: flex;
    align-items: flex-start;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    gap: 0;
    position: relative;
}

/* =================== TOC SIDEBAR =================== */
.oem-toc {
    width: 210px;
    flex-shrink: 0;
    padding-top: 100px;
    padding-right: 32px;
    position: relative;
}

.oem-toc-inner {
    /* JS will toggle .is-fixed / .is-bottom */
    width: 178px;
    /* 210 - 32 padding-right */
}

.oem-toc-inner.is-fixed {
    position: fixed;
    top: 120px;
}

.oem-toc-inner.is-bottom {
    position: absolute;
    bottom: 0;
}

.oem-toc-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.18em;
    margin-bottom: 20px;
    padding-left: 14px;
}

.oem-toc-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oem-toc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    transition: all 0.25s ease;
    border-left: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.oem-toc-item:hover {
    color: var(--blue);
    background: var(--blue-tint);
}

.oem-toc-item.active {
    color: var(--blue);
    background: var(--blue-soft);
    border-left-color: var(--blue);
    font-weight: 700;
}

.oem-toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--blue-tint);
    color: var(--blue);
    border-radius: 8px;
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.oem-toc-item.active .oem-toc-num {
    background: var(--blue);
    color: #fff;
}

.oem-toc-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =================== PROCESS OVERVIEW (legacy hidden) =================== */
.overview {
    display: none;
}

/* =================== SECTION =================== */
.main {
    flex: 1;
    min-width: 0;
    padding: 100px 0 80px 0;
}

.section {
    margin-bottom: 80px;
    scroll-margin-top: 40px;
}

.section:last-child {
    margin-bottom: 0
}

.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 36px;
    border-bottom: 2px solid var(--line);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--blue);
}

.section-num {
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 30px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    padding-top: 6px;
}

.section-titles {
    flex: 1
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.18em;
    margin-bottom: 6px;
}

.section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.025em;
}

/* =================== CARDS =================== */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: all .25s ease;
}

.card:hover {
    border-color: var(--blue-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title .dot {
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

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

/* Info rows */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.info-row {
    display: flex;
    gap: 16px;
    padding: 14px 18px;
    background: var(--blue-tint);
    border-radius: 10px;
    border-left: 3px solid var(--blue);
}

.info-label {
    flex-shrink: 0;
    min-width: 110px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.info-value {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.65;
}

.info-value strong {
    color: var(--navy)
}

/* Numbered steps (주문 방법) */
.method-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    position: relative;
    transition: all .25s;
}

.method-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.method-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.method-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--line);
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.method-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.5;
}

.method-step .num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    margin-top: 1px;
}

/* Notice boxes */
.notice {
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.7;
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.notice.warn {
    background: #FFF7E6;
    border-left: 3px solid #F59E0B;
    color: #78350F;
}

.notice.info {
    background: var(--blue-tint);
    border-left: 3px solid var(--blue);
    color: var(--navy);
}

.notice .icon {
    flex-shrink: 0;
    font-weight: 700;
}

/* Simple bullet list */
.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.7;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
}

.bullet-list li strong {
    color: var(--navy)
}

/* Highlight pill */
.highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: #fff;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 12px;
    box-shadow: 0 8px 20px rgba(30, 79, 216, .25);
}

/* Stat-like card (배송비) */
.stat-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .25s;
}

.stat-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.stat-value .unit {
    font-size: 14px;
    font-weight: 500
}

.stat-sub {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 4px;
}

/* =================== CTA =================== */
.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 1
}

.cta-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.3;
}

.cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: all .2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: var(--blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 56.25rem) {
    .oem-toc {
        display: none;
    }

    .oem-layout {
        padding: 0 1rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 1.25rem 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .main {
        padding: 3rem 1rem 2.5rem;
    }

    .section {
        margin-bottom: 3rem;
    }

    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .section-num {
        padding-top: 0;
    }

    .card {
        padding: 1.25rem;
    }

    .method-card {
        padding: 1.25rem;
    }

    .cta {
        padding: 2.5rem 1.25rem;
        border-radius: 1rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.625rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-value {
        font-size: 1.375rem;
    }

    .info-row {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem 1rem;
    }

    .info-label {
        min-width: 0;
    }
}

@media (max-width: 30rem) {
    .hero {
        padding: 2rem 1rem 3rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-sub {
        font-size: 0.8125rem;
    }

    .hero-eyebrow {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
    }

    .main {
        padding: 2rem 0.75rem 2rem;
    }

    .section-title {
        font-size: 1.125rem;
    }

    .card-title {
        font-size: 0.9375rem;
    }

    .method-steps {
        gap: 0.5rem;
    }

    .method-step {
        font-size: 0.8125rem;
    }
}