.ext-home {
    background: #ffffff;
    color: #14243b;
}

.home-main {
    max-width: 1220px;
    margin: auto;
    padding: 24px 20px 44px
}

.home-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 20px;
    background: #eaf1f8;
    min-height: 350px
}

.hero-copy {
    padding: 42px 34px;
    position: relative;
    z-index: 1
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #315b91
}

.hero-copy h1 {
    font-size: clamp(30px,3.6vw,49px);
    line-height: 1.23;
    letter-spacing: -1.8px;
    margin: 15px 0;
    color: #102746
}

.hero-copy p {
    font-size: 16px;
    line-height: 1.7;
    color: #40546e;
    margin: 0 0 15px;
    word-break: keep-all
}

.hero-points {
    font-size: 13px;
    font-weight: 700;
    color: #21466e;
    margin-bottom: 20px
}

.hero-art {
    background: linear-gradient(90deg,#eaf1f8,transparent 24%),
    url('/img/home-hero.webp') right center/cover no-repeat;
}

.home-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 15px
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #12365f;
    color: white;
    border: 1px solid #12365f;
    border-radius: 9px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700
}

.home-btn.outline {
    background: white;
    color: #12365f
}

.home-btn.light {
    background: white;
    color: #12365f;
    border-color: white
}

.home-resources,.home-six {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 10px
}

.home-resources {
    margin-top: 14px
}

.home-six {
    grid-template-columns: repeat(7,minmax(0,1fr))
}

.home-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    min-height: 112px;
    background: white;
    border: 1px solid #dce4ee;
    border-radius: 13px;
    padding: 12px 7px;
    word-break: keep-all
}

.home-tile svg,.home-info svg {
    width: 32px;
    height: 32px;
    color: #24588c;
    flex-shrink: 0
}

.home-tile strong {
    font-size: 15px;
    color: #142b49
}

.home-tile small {
    font-size: 12px;
    color: #65758a
}

.home-tile:hover,.home-products a:hover {
    border-color: #527da9;
    box-shadow: 0 4px 14px #16375b12
}

.pending-note {
    font-size: 12px;
    color: #66768a;
    margin: 6px 0 20px;
    text-align: right
}

.home-duo {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
    margin: 20px 0
}

.routine-feature {
    background-color: #10243f;
    background-image: linear-gradient(90deg, rgba(2,38,77,.88) 0%, rgba(2,38,77,.72) 48%, rgba(2,38,77,.20) 100%), url('/img/og-routine-guide.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    border-radius: 16px;
    padding: 28px 30px;
    position: relative;
    overflow: hidden
}

.routine-feature .eyebrow {
    color: #b8d4f3
}

.routine-feature h2 {
    font-size: 30px;
    line-height: 1.3;
    margin: 12px 0
}

.routine-feature p {
    color: #e0eaf5;
    font-size: 14px
}

.home-panel {
    background: white;
    border: 1px solid #dce4ee;
    border-radius: 16px;
    padding: 22px
}

.home-panel h2,.home-heading h2 {
    font-size: 22px;
    line-height: 1.3;
    color: #142b49;
    margin: 0
}

.home-rank {
    list-style: none;
    padding: 0;
    margin: 12px 0 0
}

.home-rank li+li {
    border-top: 1px solid #e6ebf1
}

.home-rank a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 14px;
    font-weight: 600
}

.home-rank span {
    background: #e8eff8;
    color: #1b4979;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.home-rank b {
    margin-left: auto;
    color: #7b8da4
}

.home-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

.home-heading a {
    font-size: 13px;
    color: #315b91
}

.home-section {
    margin: 25px 0
}

.home-info {
    grid-template-columns: 1fr 1fr
}

.home-info .home-panel {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #eaf0f8
}

.home-info svg {
    width: 54px;
    height: 54px
}

.home-info p {
    font-size: 14px;
    margin: 8px 0 12px
}

.home-products {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px
}

.home-products a {
    background: white;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    overflow: hidden
}

.home-products img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: white
}

.home-products strong {
    display: block;
    padding: 12px;
    font-size: 14px
}

.home-notice {
    background: white;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    padding: 18px;
    color: #52647a;
    font-size: 13px
}

.home-notice p {
    margin: 5px 0
}

.home-notice a {
    color: #24588c
}

.ext-home a:focus-visible {
    outline: 3px solid #578ec6;
    outline-offset: 3px
}

.ext-home [data-pending] {
    cursor: default
}

.ext-home [data-pending]:hover {
    box-shadow: none
}

@media(max-width:900px) {
    .home-six {
        grid-template-columns: repeat(4,minmax(0,1fr))
    }

    .hero-copy {
        padding: 28px 22px
    }

    .home-resources {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

}

@media(max-width:720px) {
    .home-main {
        padding: 12px 12px 28px
    }

    .home-hero {
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding: 25px 20px
    }

    .hero-art {
        min-height: 190px;
        background: linear-gradient(180deg,#eaf1f8,transparent 20%),
    url('/img/home-hero.webp') right center/cover no-repeat;
    }

    .home-duo,.home-info {
        grid-template-columns: 1fr
    }

    .home-six {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .home-products {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .home-tile {
        min-height: 100px
    }

    .home-tile strong {
        font-size: 14px
    }

    .home-panel h2,.home-heading h2 {
        font-size: 19px
    }

    .routine-feature h2 {
        font-size: 26px
    }

    .home-info svg {
        width: 40px;
        height: 40px
    }

    .home-products img {
        height: 120px
    }

}

/* Compact home information shortcuts */
.home-info .home-panel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
    min-height: 112px;
    box-sizing: border-box;
    align-items: center;
}
.home-info .home-panel > svg { width: 44px; height: 44px; }
.home-info .home-panel > div { min-width: 0; }
.home-info .home-panel h2 { font-size: 20px; word-break: keep-all; overflow-wrap: anywhere; }
.home-info .home-panel p { margin: 6px 0 0; font-size: 13px; word-break: keep-all; overflow-wrap: anywhere; }
.home-info .home-panel > .home-btn { white-space: nowrap; padding: 10px 12px; font-size: 13px; min-height: 44px; box-sizing: border-box; }
@media (max-width: 1050px) and (min-width: 721px) {
    .home-info .home-panel { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; padding: 12px; }
    .home-info .home-panel > svg { width: 34px; height: 34px; }
    .home-info .home-panel h2 { font-size: 17px; }
    .home-info .home-panel > .home-btn { padding: 8px; font-size: 12px; }
}
@media (max-width: 720px) {
    .home-info .home-panel { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 9px; padding: 12px; min-height: 92px; }
    .home-info .home-panel > svg { width: 32px; height: 32px; }
    .home-info .home-panel h2 { font-size: 16px; }
    .home-info .home-panel p { font-size: 12px; margin-top: 4px; }
    .home-info .home-panel > .home-btn { white-space: normal; text-align: center; max-width: 105px; padding: 7px 9px; font-size: 12px; }
}


/* EXTENDER 사이트 소개 */
.home-intro {
    margin: 24px 0;
    padding: 22px 26px;
    border: 1px solid #d6e2f5;
    border-radius: 16px;
    background: #f5f8fc;
    color: #334155;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.home-intro-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.home-intro-heading > svg { width: 40px; height: 40px; flex: 0 0 40px; padding: 8px; box-sizing: border-box; background: #e3ebf5; border-radius: 9px; color: #265ca4; }
.home-intro-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #265ca4; }
.home-intro h2 { margin: 3px 0 0; font-size: 22px; line-height: 1.4; color: #02264d; }
.home-intro p { margin: 8px 0 0; font-size: 15px; line-height: 1.75; }
.home-intro-safety { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid #d6e2f5; padding-top: 12px; margin-top: 14px; }
.home-intro-safety > svg { width: 23px; height: 23px; flex: 0 0 23px; color: #265ca4; }
.home-intro-safety strong { font-size: 14px; color: #093e80; }
.home-intro-safety p { font-size: 13px; margin: 3px 0 0; color: #40546e; }
@media (max-width: 650px) {
    .home-intro { margin: 18px 0; padding: 16px; }
    .home-intro h2 { font-size: 18px; }
    .home-intro p { font-size: 14px; }
    .home-intro-safety p { font-size: 12px; }
}

/* PE 기록실 및 사이즈 측정 가이드 */
.home-measure-duo { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.home-measure-duo .home-panel { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.home-measure-duo .home-panel p { flex:1; line-height:1.65; word-break:keep-all; overflow-wrap:anywhere; }
@media(max-width:720px){ .home-measure-duo { grid-template-columns:1fr; gap:12px; } }


/* 모바일 메인 배너 이미지 숨기기 */
@media (max-width: 720px) {
    .home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-art {
        display: none;
    }

    .hero-copy {
        padding: 25px 20px;
    }
}


