/* ============================================================
   사주세요 랜딩 - index.css
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --brand: #0068B6;
    --brand-dark: #00518F;
    --brand-soft: #EAF3FB;
    --brand-line: #C9E0F3;

    --ink: #14181F;
    --ink-2: #48546A;
    --ink-3: #7A8698;

    --line: #E4E9F0;
    --bg: #FFFFFF;
    --bg-soft: #F6F8FB;

    --warn: #B54708;
    --warn-soft: #FFF6ED;
    --warn-line: #FDDCAB;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;

    --shadow-1: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-2: 0 8px 24px rgba(16, 24, 40, .08);

    --maxw: 1080px;
    --pad: 20px;

    /* 본문 / 제목 폰트. Pretendard 는 두 폰트에 없는 글자를 받는 폴백. */
    --font-body: 'GmarketSans', 'Pretendard', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    --font-head: 'SBAggro', 'GmarketSans', 'Pretendard', -apple-system,
        BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}

/* ---------- 제목용 폰트 (SB 어그로체) ---------- */
.lp-hero h1,
.lp-h2,
.lp-feature h3,
.lp-stat dd,
.lp-channel-name,
.hv-value,
.epione-header,
#epione-header {
    font-family: var(--font-head);
    letter-spacing: -.01em;
}

/* 어그로체는 자간이 좁고 굵어 큰 제목에서 조금 풀어준다 */
.lp-hero h1 {
    letter-spacing: -.02em;
}

/* 폼·표·약관 본문은 가독성 우선으로 본문 폰트를 유지한다 */
.lp-table,
.epione-term-details,
.epione-login-input,
.footer-content {
    font-family: var(--font-body);
}

img {
    max-width: 100%;
}

/* ============================================================
   Scroll reveal (아래 -> 위로 올라오는 등장)
   .reveal-on 은 head 의 인라인 스크립트가 붙임.
   JS/IntersectionObserver 없거나 모션 축소 설정이면 붙지 않음 = 항상 보임.
   ============================================================ */
/* 숨김 규칙은 :where() 로 감싸 특이도를 0 으로 만든다.
   (특이도가 .is-visible 보다 높으면 표시 규칙이 져서 영원히 안 나타남) */
.reveal-on :where(.lp-stat,
.lp-section > .lp-eyebrow,
.lp-section > .lp-h2,
.lp-section > .lp-sub,
.lp-section > .lp-table-wrap,
.lp-section > .lp-note,
.lp-callout,
.lp-feature,
.lp-channel) {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .7s cubic-bezier(.16, 1, .3, 1),
        transform .7s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on .is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on :where(.lp-hero-inner > *,
    .lp-stat,
    .lp-section > .lp-eyebrow,
    .lp-section > .lp-h2,
    .lp-section > .lp-sub,
    .lp-section > .lp-table-wrap,
    .lp-section > .lp-note,
    .lp-callout,
    .lp-feature) {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Layout ---------- */
.epione-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.lp-section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 64px var(--pad);
}

.lp-band {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lp-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    padding: 4px 12px;
    margin: 0 0 14px;
}

.lp-h2 {
    font-size: 28px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 8px;
}

.lp-sub {
    font-size: 16px;
    color: var(--ink-2);
    margin: 0 0 28px;
    max-width: 62ch;
}

/* ---------- Hero ---------- */
.lp-hero {
    background:
        radial-gradient(1000px 400px at 85% -10%, rgba(0, 104, 182, .14), transparent 60%),
        linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);
}

.lp-hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 72px var(--pad) 56px;
}

.lp-hero h1 {
    font-size: 44px;
    line-height: 1.25;
    letter-spacing: -.03em;
    font-weight: 800;
    margin: 0 0 18px;
}

.lp-hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.lp-hero p {
    font-size: 18px;
    color: var(--ink-2);
    margin: 0 0 32px;
    max-width: 56ch;
}

.lp-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 26px;
    border-radius: var(--r-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.lp-btn:active {
    transform: translateY(1px);
}

.lp-btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-2);
}

.lp-btn--primary:hover {
    background: var(--brand-dark);
}

.lp-btn--ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.lp-btn--ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* ---------- Stat cards ---------- */
/* 히어로 섹션 안에 들어가 있다. 히어로 배경이 카드를 완전히 감싼다. */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad) 72px;
    position: relative;
    z-index: 3;
}

.lp-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-2);
    padding: 20px;
    margin: 0;
}

.lp-stat dt {
    font-size: 13px;
    color: var(--ink-3);
    font-weight: 600;
    margin: 0 0 6px;
}

.lp-stat dd {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--brand);
    line-height: 1.2;
}

.lp-stat dd small {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: 0;
    margin-top: 4px;
}

/* ---------- 로고 lockup (자사 × 제휴사) ---------- */
.lp-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-1);
}

/* 두 로고의 광학적 높이를 맞춘다. 제휴사 로고는 원본 컬러 그대로 쓴다. */
.lp-lockup-logo {
    display: block;
    height: 22px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* 로고 파일이 없을 때 텍스트로 대체되는 경우 */
span.lp-lockup-logo {
    height: auto;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
}

.lp-lockup-x {
    color: var(--ink-3);
    font-size: 13px;
    font-weight: 600;
}

/* ---------- 지원 판매몰 ---------- */
.lp-channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.lp-channel {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow-1);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease;
}

.lp-channel:hover {
    transform: translateY(-3px);
    border-color: var(--brand-line);
    box-shadow: 0 14px 30px rgba(16, 40, 80, .1);
}

.lp-channel-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

.lp-channel-days {
    font-size: 13px;
    color: var(--ink-3);
    font-weight: 500;
}

.lp-channel--soon {
    background: transparent;
    border-style: dashed;
    box-shadow: none;
}

.lp-channel--soon:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
}

.lp-channel--soon .lp-channel-name {
    color: var(--ink-3);
}

/* ---------- Feature cards ---------- */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lp-feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-1);
}

.lp-feature-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-feature-ico svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-feature h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.lp-feature p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-2);
}

/* ---------- Tables ---------- */
.lp-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
}

.lp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    font-size: 15px;
}

.lp-table th,
.lp-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.lp-table thead th {
    background: var(--bg-soft);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-3);
    letter-spacing: .02em;
    white-space: nowrap;
}

.lp-table tbody tr:last-child td {
    border-bottom: 0;
}

.lp-table td:first-child {
    font-weight: 600;
    white-space: nowrap;
}

.lp-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lp-table tr.is-total td {
    background: var(--brand-soft);
    font-weight: 800;
    color: var(--brand-dark);
}

/* thead 없는 키-값 표: 좌측 항목열 강조 */
.lp-table--kv td:first-child {
    background: var(--bg-soft);
    width: 220px;
    color: var(--ink);
    border-right: 1px solid var(--line);
}

.lp-table--kv td:last-child {
    color: var(--ink-2);
}

.lp-note {
    font-size: 13.5px;
    color: var(--ink-3);
    margin: 12px 2px 0;
}

/* ---------- 본문 안에 섞여 있는 링크 ----------
   기본 파란색 + 굵은 밑줄은 표 안에서 너무 튄다.
   글자색은 본문 그대로 두고, 얇고 연한 밑줄로만 링크임을 알린다.
   호버하면 브랜드 컬러로 또렷해진다. */
.lp-table a,
.lp-sub a,
.lp-note a,
.lp-callout a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--brand-line);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.lp-table a:hover,
.lp-sub a:hover,
.lp-note a:hover,
.lp-callout a:hover {
    color: var(--brand);
    text-decoration-color: var(--brand);
}

.lp-table a:focus-visible,
.lp-sub a:focus-visible,
.lp-note a:focus-visible,
.lp-callout a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 3px;
}


/* ---------- Callout ---------- */
.lp-callout {
    background: var(--warn-soft);
    border: 1px solid var(--warn-line);
    border-radius: var(--r-lg);
    padding: 22px 24px;
}

.lp-callout h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--warn);
}

.lp-callout ul {
    margin: 0;
    padding-left: 18px;
    color: var(--ink-2);
    font-size: 14.5px;
}

.lp-callout li {
    margin-bottom: 6px;
}

.lp-callout li:last-child {
    margin-bottom: 0;
}

.lp-disclaimer {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad) 48px;
    font-size: 13px;
    color: var(--ink-3);
}

/* ============================================================
   신청 영역 (기존 Vue 마크업 클래스 유지)
   ============================================================ */
.lp-apply {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.lp-apply-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px var(--pad) 96px;
}

.lp-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-2);
    padding: 28px;
}

.epione-notice {
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin-bottom: 24px;
}

.notice-contents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 12px;
}

.notice-contents:last-child {
    margin-bottom: 0;
}

.notice1 {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--brand-dark);
}

.notice2 {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    color: var(--ink-2);
}

.epione-header {
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    margin: 28px 0 12px;
}

#epione-header {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 6px;
}

.epione-subheader,
#epione-subheader {
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-2);
    margin: 0 0 8px;
    max-width: 640px;
    word-break: keep-all;
    line-height: 1.6;
}

/* ---------- 약관 ---------- */
.epione-terms-section {
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.epione-term {
    border-bottom: 1px solid var(--line);
}

.epione-term:last-child {
    border-bottom: 0;
}

.epione-term-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    font-weight: 400;
    font-size: 15px;
    transition: background-color .15s ease;
}

.epione-term-row:hover {
    background: var(--bg-soft);
}

.epione-term:first-child .epione-term-row {
    background: var(--bg-soft);
    font-weight: 700;
}

.epione-term label {
    flex-grow: 1;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.epione-term input[type="checkbox"] {
    display: none;
}

.master-agreement-checkbox,
.custom-checkbox {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background-color: #D7DDE6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    transition: background-color .15s ease;
}

.master-agreement-checkbox.checked,
.custom-checkbox.checked {
    background-color: var(--brand);
}

.epione-term-toggle {
    margin-left: 10px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    opacity: .55;
}

.epione-term-toggle:hover {
    opacity: 1;
}

.epione-term-toggle img {
    width: 14px;
}

.epione-term-details {
    padding: 16px;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    max-height: 300px;
}

.epione-term-details div {
    font-size: 13.5px;
    color: var(--ink-2);
    margin: 0;
    line-height: 1.7;
}

.epione-term-details table {
    width: 100%;
    border-collapse: collapse;
}

.epione-term-details table th,
.epione-term-details table td {
    font-size: 12.5px;
    padding: 8px;
    border: 1px solid var(--line);
    text-align: left;
}

/* 약관 본문 내 중첩 리스트 번호 (①②③…) */
.epione-term-details ul ul {
    list-style-type: decimal-inside;
    padding-left: 1em;
}

.epione-term-details ul ul li::marker {
    font-weight: bold;
}

.epione-term-details ul ul li:nth-child(1)::marker {
    content: "\2460 ";
}

.epione-term-details ul ul li:nth-child(2)::marker {
    content: "\2461 ";
}

.epione-term-details ul ul li:nth-child(3)::marker {
    content: "\2462 ";
}

.epione-term-details ul ul li:nth-child(4)::marker {
    content: "\2463 ";
}

.epione-term-details ul ul li:nth-child(5)::marker {
    content: "\2464 ";
}

.epione-term-details ul ul li:nth-child(6)::marker {
    content: "\2465 ";
}

.epione-term-details ul ul li:nth-child(7)::marker {
    content: "\2466 ";
}

.epione-term-details ul ul li:nth-child(8)::marker {
    content: "\2467 ";
}

.epione-term-details ul ul li:nth-child(9)::marker {
    content: "\2468 ";
}

.epione-term-details ul ul li:nth-child(10)::marker {
    content: "\2469 ";
}

.epione-term-details ul ul li:nth-child(11)::marker {
    content: "\246A ";
}

.epione-term-details div ul {
    list-style-type: decimal-inside;
}

/* ---------- 서류 첨부 ---------- */
.doc-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.doc-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    transition: background-color .2s ease;
}

.doc-item:last-child {
    border-bottom: 0;
}

.doc-item.is-set {
    background: #F2FAF5;
}

/* ---- 드래그앤드롭 ---- */

/* 드래그 중에만 나타나는 안내막. 내부 요소가 dragleave 를 일으키지
   않도록 pointer-events 를 꺼둔다. */
.doc-drop {
    position: absolute;
    inset: 4px;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--brand);
    border-radius: var(--r-sm);
    background: rgba(234, 243, 251, .96);
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
}

.doc-item.is-drag {
    background: var(--brand-soft);
}

.doc-item.is-drag .doc-drop {
    display: flex;
}

.doc-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.doc-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
}

.doc-req {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #B42318;
    background: #FEF3F2;
    border: 1px solid #FECDCA;
    border-radius: 999px;
    padding: 1px 7px;
}

.doc-hint {
    font-size: 12.5px;
    color: var(--ink-3);
}

.doc-file {
    font-size: 12.5px;
    font-weight: 600;
    color: #067647;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-file b {
    font-weight: 500;
    color: var(--ink-3);
}

.doc-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* label 로 file input 을 감싸 기본 파일 선택 UI 를 숨긴다 */
.doc-btn {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.doc-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
}

.doc-btn input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.doc-btn:focus-within {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.doc-clear {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-3);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}

.doc-clear:hover {
    color: #B42318;
    border-color: #FECDCA;
}

.doc-note {
    font-size: 12.5px;
    color: var(--ink-3);
    margin: 0 2px 4px;
}

@media (max-width: 460px) {
    .doc-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .doc-actions {
        justify-content: flex-end;
    }
}

/* ---------- 로그인 ---------- */
.epione-footer-notice {
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: var(--r-md);
    padding: 10px 14px;
    text-align: left;
    margin-bottom: 16px;
}

.epione-link {
    display: block;
    margin: 0;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.epione-link:hover {
    text-decoration: underline;
}

.loginAndJoinLine-info {
    display: flex;
    width: 100%;
    gap: 10px;
}

.loginAndJoinLine-info div {
    flex: 4;
    display: flex;
    margin-bottom: 6px;
    color: var(--ink-3);
    font-size: 13px;
    font-weight: 600;
}

.loginAndJoinLine-info div:last-child {
    flex: 2;
}

.loginAndJoinLine {
    display: flex;
    width: 100%;
    gap: 10px;
}

.epione-login-input {
    flex: 4;
    min-width: 0;
    height: 52px;
    padding: 10px 12px 10px 42px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background-repeat: no-repeat;
    background-position: 13px center;
    background-size: 18px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.epione-login-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 104, 182, .13);
}

.epione-login-button,
.epione-login-button_m {
    flex: 2;
    height: 52px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    transition: background-color .15s ease;
}

.epione-login-button:hover {
    background: var(--brand-dark);
}

.epione-error {
    color: #D92D20;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    min-height: 20px;
}

#epione-login-id {
    background-image: url('/img/email.png');
}

#epione-login-password {
    background-image: url('/img/password.png');
}

.no-bg {
    background-image: none !important;
    padding-left: 14px;
}

/* ---------- 모바일 고정 버튼 ---------- */
.mobileBtn {
    display: none;
}

/* ============================================================
   Alert modal / Loading (header.php 마크업용 - 유지)
   ============================================================ */
.alertModal {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .45);
    /* 신청 모달(z-index 1100) 위에 떠야 가입 완료 알림이 보인다 */
    z-index: 1300;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.alertModal .customAlert {
    width: 600px;
    max-width: calc(100% - 32px);
    height: auto;
    background-color: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
}

.alertModal .customAlert .topArea {
    display: flex;
    align-items: center;
    justify-content: right;
}

.alertModal .customAlert button#alertCancel {
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    z-index: 1002;
    background: none;
    position: relative;
    border: none;
}

.alertModal .customAlert button#alertCancel::before,
.alertModal .customAlert button#alertCancel::after {
    position: absolute;
    left: 50%;
    top: 22%;
    content: " ";
    height: 1.4rem;
    width: 1px;
    background-color: var(--ink-2);
}

.alertModal .customAlert button#alertCancel::before {
    transform: rotate(45deg);
}

.alertModal .customAlert button#alertCancel::after {
    transform: rotate(-45deg);
}

.alertModal .customAlert p {
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -.02em;
    text-align: center;
    color: var(--ink);
    padding: 0 24px 28px;
    margin: 0;
}

.alertModal .customAlert p button#goSignup {
    display: block;
    margin: 20px auto 0;
    padding: .5rem 2rem;
    border: 2px solid var(--brand);
    color: var(--brand);
    background: #fff;
    border-radius: var(--r-sm);
    cursor: pointer;
}

.bottomButton {
    display: flex;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 600;
}

.confirmAlert {
    height: 52px;
    width: 100%;
    background-color: var(--brand);
    cursor: pointer;
    color: #fff;
    border: none;
    font-family: inherit;
}

.confirmAlert:hover {
    background-color: var(--brand-dark);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    color: #fff;
    font-size: 18px;
}

.footer-content {
    font-weight: normal;
}

.sk-chase {
    width: 40px;
    height: 40px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1),
.sk-chase-dot:nth-child(1):before {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2),
.sk-chase-dot:nth-child(2):before {
    animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3),
.sk-chase-dot:nth-child(3):before {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4),
.sk-chase-dot:nth-child(4):before {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5),
.sk-chase-dot:nth-child(5):before {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6),
.sk-chase-dot:nth-child(6):before {
    animation-delay: -0.6s;
}

@keyframes sk-chase {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot {

    80%,
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(.4);
    }

    100%,
    0% {
        transform: scale(1);
    }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .lp-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lp-hero-inner {
        padding: 48px var(--pad) 52px;
    }

    .lp-hero h1 {
        font-size: 30px;
    }

    .lp-hero p {
        font-size: 16px;
    }

    .lp-btn {
        width: 100%;
    }

    .lp-section {
        padding: 48px var(--pad);
    }

    .lp-h2 {
        font-size: 22px;
    }

    .lp-stats {
        margin-top: -26px;
        gap: 10px;
    }

    .lp-stat {
        padding: 16px;
    }

    .lp-stat dd {
        font-size: 21px;
    }

    .lp-card {
        padding: 20px 16px;
    }

    .lp-apply-inner {
        padding: 48px var(--pad) 100px;
    }
}

@media (max-width: 460px) {
    #epione-header {
        font-size: 22px;
    }

    .epione-header {
        font-size: 16px;
    }

    .epione-term-row {
        font-size: 14px;
    }

    .epione-term-details div {
        font-size: 12.5px;
    }

    .loginAndJoinLine {
        flex-direction: column;
    }

    .loginAndJoinLine-info {
        display: none;
    }

    .epione-login-input {
        width: 100%;
    }

    .loginAndJoinLine .epione-login-button {
        display: none;
    }

    .mobileBtn {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        z-index: 1100;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(8px);
        border-top: 1px solid var(--line);
    }

    .mobileBtn button {
        flex: 1;
        height: 54px;
        border-radius: var(--r-md);
        font-size: 17px;
    }
}
