/* =========================================================
   Design Tokens
   ========================================================= */
:root {
    /* Font family */
    --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font weight (공통) */
    --fw-regular: 400;
    --fw-bold: 700;

    /* Line height */
    --lh-heading: 1.3;  /* 130% */
    --lh-body: 1.5;     /* 150% */

    /* Heading size */
    --fs-h1: 44px;
    --fs-h2: 36px;
    --fs-h3: 32px;
    --fs-h4: 26px;
    --fs-h5: 24px;
    --fs-h6: 20px;

    /* Body size */
    --fs-b1: 14px;
    --fs-b2: 13px;
    --fs-b3: 12px;

    /* ---- Color ---- */
    /* Primary */
    --primary-color: #ED1B23;   /* 기준 레드 */
    --primary-dark: #C41017;    /* 진한 레드 */
    --primary-light: #F14C52;   /* 밝은 코랄 레드 */
    --primary-blue: #1B8BEC;    /* 블루 */

    /* Secondary (사이트 테마) */
    --secondary-1: #ED7C1B;
    --secondary-2: #ED1B8C;
    --secondary-3: #07B200;
    --secondary-4: #0067C0;
    --secondary-5: #1B23ED;
    --secondary-6: #7C1BED;

    /* Status (Error / Info) */
    --color-error: #ED1B23;
    --color-info: #1B8BEC;

    /* Button */
    --btn-primary: #ED1B23;
    --btn-dark: #0E0E10;
    --btn-gray: #898989;
    --btn-gray-light: #BEBEBE;
    --btn-gray-lighter: #D9D9D9;

    /* Text */
    --text-black: #000000;
    --text-dark: #222222;    /* 기본 본문 */
    --text-default: #424242;
    --text-gray: #707070;
    --text-light: #A0A0A0;
    --text-white: #FFFFFF;

    /* Background */
    --bg-red: #FFE5E6;
    --bg-pink: #FEF1F2;
    --bg-blue: #E1F1FF;
    --bg-gray: #E0E0E0;
    --bg-100: #F9F9F9;
    --bg-50: #FAFAFA;
}

/* =========================================================
   Base
   ========================================================= */
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-base);
    font-weight: var(--fw-regular);
    font-size: var(--fs-b1);
    line-height: var(--lh-body);
    color: var(--text-dark);
}

/* Heading - 태그에 직접 스타일, 굵기는 공통(.bold)으로 별도 지정 */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: var(--fw-regular);
    line-height: var(--lh-heading);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

/* 링크 기본 (밑줄 제거, 색상 상속) */
a { color: inherit; text-decoration: none; }

/* 공통 굵기 */
.bold { font-weight: var(--fw-bold); }

/* Body size util */
.b1 { font-size: var(--fs-b1); }
.b2 { font-size: var(--fs-b2); }
.b3 { font-size: var(--fs-b3); }

/* =========================================================
   Components - Badge
   ========================================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px;
    border-radius: 999px;

    font-weight: 500;
    white-space: nowrap;
}

/* Solid */
.badge--dark { background: var(--btn-dark); color: var(--text-white); font-size: var(--fs-h6);    line-height: 1.5; }
.badge--primary { background: var(--primary-color); color: var(--text-white); font-size: var(--fs-h6);    font-size: var(--fs-h6);    line-height: 1.5; }
.badge--mode { background: var(--primary-color); color: var(--text-white); font-size: var(--fs-b1); padding: 10px 15px;line-height: normal; }
.badge--mode-light { background: var(--text-white); color: var(--primary-color); }

/* Outline */
.badge--outline {
    background: var(--text-white);
    border: 1px solid var(--btn-gray-lighter);
    font-size: var(--fs-b3);
    color: var(--text-dark);
    line-height:1.2;
    padding: 9px 10px;
    font-weight: var(--fw-regular);
}

/* Plan tag (small solid) */
.badge--sm { padding: 3px 4px; border-radius:2px; font-size: 9px; line-height: 1.2; }
.badge--free { background: var(--secondary-3); color: var(--text-white); }
.badge--basic { background: var(--secondary-4); color: var(--text-white); }
.badge--growth { background: var(--secondary-2); color: var(--text-white); }
.badge--advanced { background: var(--secondary-6); color: var(--text-white); }

/* Status (soft) */
.badge--soft { padding: 6px 8px; font-size:var(--fs-b3); font-weight:600; }
.badge--soft-blue { background: var(--bg-blue); color: var(--secondary-4); }
.badge--soft-red { background: var(--bg-red); color: var(--primary-color); }
.badge--soft-gray { background: #ECECEC; color: #555555; }

/* Line (outline color) */
.badge--line-green,
.badge--line-purple,
.badge--line-red {
    height: 24px;
    padding: 0 8px;
    font-size: var(--fs-b3);
    font-weight: 600;
    line-height: normal;
}
.badge--line-green { background: var(--text-white); border: 1px solid var(--secondary-3); color: var(--secondary-3); }
.badge--line-purple { background: var(--text-white); border: 1px solid var(--secondary-6); color: var(--secondary-6); }
.badge--line-red { background: var(--text-white); border: 1px solid var(--primary-color); color: var(--primary-color); }

/* Admin (레드 아웃라인, 답변칩과 다른 크기) */
.badge--admin {
    background: var(--text-white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: var(--fw-regular);
    line-height: normal;
    padding: 4px 6px 3px 6px;
}

/* User set (아바타 + 역할칩 = 한 세트) */
.badge-user { display: inline-flex; align-items: center; gap: 10px; }

/* Avatar */
.badge-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:#D3D3D3;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.badge-avatar img { width: 24px; height: 24px; }

/* Alert text (inline warning) */
.alert-text {
    display: flex;
    align-items: center;
    gap:4px;
    color: var(--primary-color);
    font-size:11px;
    letter-spacing: -0.4px;
}
.alert-text img { width: 12px; height: 12px; flex: none; }

/* =========================================================
   Components - Toggle
   ========================================================= */

/* 세그먼트형 토글 (월간/연간) */
.toggle-seg {
    display: inline-flex;
    padding: 0;
    border-radius: 999px;
    background: var(--text-white);
}
.toggle-seg > * {
    width: 120px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.toggle-seg .is-active { background: var(--primary-color); color: var(--text-white); box-shadow: 4px 0 4px 0 rgba(0, 0, 0, 0.30); }
/* 소형 변형 (너비 88) */
.toggle-seg--sm > * { width: 88px; height: 36px; font-size: 13px; }

/* 라벨 스위치 토글 (트랙 + 알약 노브, 노브 위 회색 텍스트) */
.toggle-pill {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;   /* ON: 노브 우측 */
    width: 92px;
    height: 32px;
    padding: 3px;
    border-radius: 100px;
    background: #1FB6FF;
    border: none;
    cursor: pointer;
}
.toggle-pill__knob {
    width: 64px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text-white);
    border-radius: 100px;
    color: #027CFA;
    font-size: 12px;
    font-weight: 600;
    line-height: 150%;
    white-space: nowrap;
    box-shadow: 0 3.43px 6.86px 0 rgba(44, 39, 56, 0.20);
    transition: 0.2s;
}
.toggle-pill--off { background: #CCC; justify-content: flex-start; }   /* OFF: 노브 좌측 */
.toggle-pill--off .toggle-pill__knob { color: #98A1A7; }

/* =========================================================
   Components - Button
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    line-height: 48px;
    border: none;
    border-radius:6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--primary-color); color: var(--text-white); }
.btn--dark { background: var(--btn-dark); color: var(--text-white); }
/* 소형 / 아웃라인 */
.btn--sm { width:100%; height: auto; line-height: 1.2; padding: 6px 16px; font-size: var(--fs-b3); }
.btn--line-red { background: var(--text-white); border: 1px solid var(--primary-color); color: var(--primary-color); }
.btn--line-dark { background: var(--text-white); border: 1px solid var(--text-default); color: var(--text-default); }
.btn--line-white { background: transparent; border: 1px solid rgba(255, 255, 255, 0.7); color: var(--text-white); }

/* =========================================================
   Components - Card
   ========================================================= */
/* ---- Pricing card ---- */
.pricing-card {
    display: flex;
    flex-direction: column;
    width: 320px;
    padding: 36px 40px 40px 40px;
    background: var(--text-white);
    border: 1px solid var(--btn-gray-lighter);
    border-radius:20px;
    box-sizing: border-box;
}
.pricing-card--free { border: 1px solid var(--text-default); }
.pricing-card--featured { border: 2px solid var(--primary-color); }
.pricing-card__title { text-align: center; font-size:28px; font-weight:700;line-height: 44px; }
.pricing-card__divider { width: 100%; margin: 24px 0; border: 0; border-top: 1px solid #E0E0E0;; }
.pricing-card__price { text-align: center; color: var(--text-light); font-size: var(--fs-b2); }
.pricing-card__price .won { font-size: 24px; font-weight: 400; line-height: normal; color: var(--text-dark); vertical-align: middle; margin-right: 4px; }
.pricing-card__price .amount { font-size: 34px; font-weight: 800; letter-spacing: -2px; color: var(--text-dark); vertical-align: middle; }
.pricing-card__price .per { color: rgba(0, 0, 0, 0.60); font-size: 14px; font-weight: 400; }
.pricing-card__fee { margin-top: 10px; text-align: center; font-size: var(--fs-b2); color: var(--text-gray); }
.pricing-card__fee b { color: var(--primary-color); }
.pricing-card__features { margin: 24px 0; padding: 16px 20px; background: var(--bg-100); border-radius: 12px; }
.pricing-row { display: flex; align-items: center; justify-content: space-between; padding:6px 0; font-size: var(--fs-b2); }
.pricing-row__label { display: inline-flex; align-items: center; gap: 8px; color: var(--text-gray);font-size:var(--fs-b2) }
.pricing-row__label img { width: 16px; height: 16px; }
.pricing-row__value { color: var(--text-dark); font-weight: 500; }
.pricing-card__ai { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; padding: 24px 6px 0; border-top: 1px solid var(--btn-gray-lighter); }
.pricing-ai { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-b2); }
.pricing-ai__label { display: inline-flex; align-items: center; gap: 8px; color: rgba(0, 0, 0, 0.80); font-weight: 500;}
.pricing-ai__label img { width: 20px; height: 20px; }
.pricing-ai__value { color: var(--text-dark);font-weight: 500; }
.pricing-card .btn { margin-top: auto; }

/* ---- Stat card ---- */
.stat-card {
    display: flex;
    align-items: center;
    gap: 46px;
    height: 120px;
    padding: 0 40px;
    background: var(--bg-100);
    border-radius: 12px;
}
.stat-card__icon { width: 48px; height: 48px; flex: none; }
.stat-card__body { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.stat-card__num { font-size: 40px; font-weight: 700; color: var(--text-dark);line-height: 1.3;letter-spacing: -1px; }

/* ---- Enterprise card ---- */
.enterprise {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 30px;
    background: var(--bg-100);
    border-radius:20px;
}
.enterprise__intro { flex: none; width: 280px; }
.enterprise__intro h5 { font-size: var(--fs-h5); font-weight: 700;line-height: 1.5; }
.enterprise__intro p { margin: 12px 0; font-size: var(--fs-b2); color: var(--text-gray); line-height: 1.5; }
.enterprise__intro a { font-size: var(--fs-b2); font-weight: 600; color: var(--text-dark); text-decoration: none; }
.enterprise__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; flex: 1; }
.feature-card {
    flex: 1;
    min-width: 220px;
    padding: 20px 24px 24px 24px;
    background: var(--text-white);
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
}
.feature-card img { width: 24px; height: 24px; }
.feature-card b { display: block; margin: 10px 0 6px; font-size:17px; }
.feature-card span { font-size: var(--fs-b3); color: var(--text-gray); }

/* ---- Site card (사이트 관리) ---- */
.site-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--text-white);
    border: 1px solid var(--btn-gray-lighter);
    border-radius: 20px;
    overflow: hidden;
}
.site-card--featured { border: 1.5px solid var(--primary-color); }
.site-card__row { flex: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 24px; }
.site-card__main { min-width: 0; }
.site-card__aside { display: flex; align-items: flex-start; gap: 36px; }
.site-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.site-card__head .sub { font-size:11px; color: var(--text-gray); }
.site-card__title { font-size: var(--fs-h4); font-weight: 700;line-height: 1.5; letter-spacing: -1px; white-space: nowrap; }
.site-card__domain { margin-top:4px; font-size: var(--fs-b3); color: var(--text-gray); }
.site-card__info { display: flex; gap: 36px; }
.site-info-col { display: flex; flex-direction: column; gap: 18px; }
.site-info { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.site-info__label { font-size:10px; color: var(--text-light); }
.site-info__value { font-size: var(--fs-b3); font-weight: 600; color: var(--text-dark); }
.site-info__value .hl { color: var(--primary-color); }
.site-card__actions { display: flex; flex-direction: column; gap: 4px; width: 120px; flex: none; }
.site-card__actions .btn { width: 120px; }
.site-card__status { display: flex; align-items: center; gap: 3px; flex-wrap: wrap;height:44px;padding:0px 24px; background: #FAFAFA; }
.site-card--featured .site-card__status { background: var(--bg-pink); }
.site-card__alerts { margin-left: auto; display: flex; align-items: center; gap: 16px; }

/* 플랜 태그 (사이트 테마색) */
.plan-tag { display: inline-flex; padding: 3px 4px; border-radius:2px; font-size:9px; font-weight:600; line-height: 1; color: var(--text-white); }
.plan-tag--orange { background: var(--secondary-1); }
.plan-tag--purple { background: var(--secondary-6); }
.plan-tag--green { background: var(--secondary-3); }
.plan-tag--blue { background: var(--secondary-4); }

/* ---- Problem / Feature card ---- */
.problem-card { padding:40px 40px 40px 30px; background: #F5F5F5; border-radius: 20px; transition: background-color .25s ease; }
.problem-card--featured { background: var(--primary-color); }
.problem-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.problem-card__top img { width: 56px; height: 56px; flex: none; }
.problem-card__tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 8px 10px;
    border: 1px solid var(--btn-gray-lighter);
    border-radius: 999px;
    background: var(--text-white);
    font-size: var(--fs-b3);
    color: #333;
    white-space: nowrap;
}
.problem-card--featured .problem-card__tag { background: transparent; border-color: rgba(255, 255, 255, 0.6); font-size: var(--fs-b3);font-weight:500; color: var(--text-white); }
.problem-card__title { margin: 22px 0 10px; font-size:30px; font-weight: 700; color: var(--text-dark); }
.problem-card--featured .problem-card__title { color: var(--text-white); }
.problem-card__desc { font-size: var(--fs-b1); line-height: 1.5; color: rgba(0, 0, 0, 0.80);font-weight: 500; }
.problem-card--featured .problem-card__desc { color: rgba(255, 255, 255, 0.85); }
.problem-card__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 22px; }
.problem-chip {
    display: inline-flex;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--btn-gray-lighter);
    border-radius: 999px;
    background: var(--text-white);
    font-size: var(--fs-b2);
    color: rgba(0, 0, 0, 0.70);
    white-space: nowrap;
}
.problem-card--featured .problem-chip { background: var(--btn-dark); border: none; color: var(--text-white); }
.problem-card__title, .problem-card__desc, .problem-card__tag, .problem-chip { transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
.problem-card:hover { background: var(--primary-color); box-shadow: 4px 4px 15px 0 rgba(0, 0, 0, 0.20); }
.problem-card:hover .problem-card__title { color: var(--text-white); }
.problem-card:hover .problem-card__desc { color: rgba(255, 255, 255, 0.85); }
.problem-card:hover .problem-card__tag { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: var(--text-white); }
.problem-card:hover .problem-chip { background: var(--btn-dark); border-color: var(--btn-dark); color: var(--text-white); }

/* ---- Mode card (레드 패널 + 모드 선택) ---- */
.mode-panel {
    display: flex;
    gap: 22px;
    padding: 22px;
    background: var(--primary-color);
}
.mode-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 60px;
    border-radius: 20px;
}
.mode-card--light { background: var(--text-white); }
.mode-card--ghost { background: rgba(255, 255, 255, 0.10); }
.mode-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.mode-card__top img { width: 56px; height: 56px; }
.mode-card__title { font-size: var(--fs-h4); font-weight: 700; line-height: 1.5; color: var(--text-dark); }
.mode-card--ghost .mode-card__title { color: var(--text-white); }
.mode-card__sub { margin: 21px 0 40px; font-size: var(--fs-b1); color: var(--text-gray); }
.mode-card--ghost .mode-card__sub { color: rgba(255, 255, 255, 0.8); }
.mode-card .btn { width: auto; align-self: flex-start; gap: 8px; font-size:20px; padding: 20px 20px 20px 25px; border-radius: 8px; margin-top: auto; }
.mode-card .btn img { width: 16px; height: 16px; }

/* ---- Icon feature (중앙정렬 아이콘 그리드) ---- */
.icon-feature {
    text-align: center;
    padding: 50px 40px;
    background: var(--text-white);
    border: 1px solid transparent;
    border-radius:20px;
}
.icon-feature--featured { border-color: var(--primary-color); box-shadow: 4px 4px 15px 0 rgba(0, 0, 0, 0.20); }
.icon-feature__icon { width: 48px; height: 48px; }
.icon-feature__title { margin: 36px 0 16px; font-size: var(--fs-h4); font-weight: 700; color: var(--text-dark); }
.icon-feature__desc { font-size: 16px; line-height: 1.5; color: var(--text-default);margin:0;letter-spacing: -0.5px; }

/* =========================================================
   Components - Form
   ========================================================= */
/* ---- Input / Select (H40) ---- */
.input-box {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 15px;
    border: 1px solid var(--btn-gray-lighter);
    border-radius: 6px;
    background: var(--text-white);
}
.input-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--fs-b1);
    color: var(--text-dark);
}
.input-box input::placeholder { color: #AAA; }
.input-box__count { font-size: var(--fs-b3); color: #A0A0A0; font-weight: 400; white-space: nowrap; }
.input-box__count b { color: #606060; font-weight: 500; }
.input-box__icon { width: 16px; height: 16px; flex: none; cursor: pointer; }
/* states */
.input-box--select { padding: 0 8px 0 15px; }
.input-box--search { padding: 0 8px 0 10px; }
.input-box--normal { border-color: #DFE0E3; }
.input-box--fill { background: #F5F5F5; border-color: #F5F5F5; }
.input-box--focus { border-color: var(--primary-color); }
.input-box--error { border-color: var(--primary-color); }
.input-box--disabled { background: var(--bg-100); border-color: var(--bg-100); }
.input-box--disabled input { color: var(--text-light); }
.input-box--disabled .input-box__icon { opacity: 0.4; }

/* 날짜 범위 (~) */
.input-range { display: flex; align-items: center; gap: 8px; }
.input-range > .input-box { flex: 1; }
.input-range__sep { color: var(--text-light); }

/* ---- Dropdown (제자리에서 열림 / JS 토글) ---- */
.dropdown { position: relative; }
.dropdown__toggle,
.dropdown__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 8px 0 15px;
    border: 1px solid #DFE0E3;
    border-radius: 6px;
    background: var(--text-white);
    font-family: inherit;
    font-size: var(--fs-b1);
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
}
.dropdown__chev { width: 24px; height: 24px; flex: none; transition: transform 0.2s; }
.dropdown__label { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.dropdown__mark { font-style: normal; }
/* 메뉴: 트리거 자리에 오버레이 */
.dropdown__menu {
    display: none;
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--text-white);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    overflow: hidden;
}
.dropdown__head { border: none; border-radius: 6px 6px 0 0; }
.dropdown__head .dropdown__chev { transform: rotate(180deg); }
.dropdown__item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 8px;
    padding: 10px 7px;
    border-radius: 6px;
    font-size: var(--fs-b1);
    color: var(--text-dark);
    cursor: pointer;
}
.dropdown__item:last-child { margin-bottom: 8px; }
.dropdown__item:hover,
.dropdown__item--active {
    background: var(--bg-pink);
    color: var(--primary-color);
    font-weight: 600;
}
/* 열림 */
.dropdown.is-open .dropdown__menu { display: block; }
.dropdown.is-open .dropdown__toggle { border-color: var(--primary-color); }

/* ---- Textarea ---- */
.textarea-box {
    position: relative;
    padding: 20px;
    border: 1px solid var(--btn-gray-lighter);
    border-radius: 6px;
    background: var(--text-white);
}
.textarea-box textarea {
    width: 100%;
    height: 96px;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--fs-b2);
    line-height: 1.5;
    color: var(--text-dark);
}
.textarea-box textarea::placeholder { color: #AAA; }
.textarea-box__count { position: absolute; right: 20px; bottom: 14px; font-size: var(--fs-b3); color: #A0A0A0; font-weight: 400; }
.textarea-box__count b { color: #606060; font-weight: 500; }
.textarea-box--focus { border-color: var(--primary-color); }
.textarea-box--error { border-color: var(--primary-color); }
.textarea-box--disabled { background: var(--bg-100); border-color: var(--bg-100); }
.textarea-box--disabled textarea { color: var(--text-light); }

/* ---- Switch (텍스트 없는 토글) ---- */
.c-toggle { position: relative; display: inline-block; width: 46px; height: 24px; }
.c-toggle input { display: none; }
.c-toggle__slider { position: absolute; inset: 0; background: var(--btn-gray-light); border-radius: 24px; cursor: pointer; transition: 0.2s; }
.c-toggle__slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--text-white); border-radius: 50%; transition: 0.2s; }
.c-toggle input:checked + .c-toggle__slider { background: var(--primary-color); }
.c-toggle input:checked + .c-toggle__slider::before { transform: translateX(22px); }
.c-toggle input:disabled + .c-toggle__slider { background: var(--bg-gray); cursor: not-allowed; }

/* ---- Checkbox ---- */
.c-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.c-check input { display: none; }
.c-check__box {
    width: 20px; height: 20px; flex: none;
    border: 1px solid var(--btn-gray-light);
    border-radius: 6px;
    background: var(--text-white);
    display: inline-flex; align-items: center; justify-content: center;
}
.c-check__box::after {
    content: '';
    width: 8px; height: 5px;
    margin-top: -4px;
    border-left: 2px solid var(--text-white);
    border-bottom: 2px solid var(--text-white);
    transform: rotate(-45deg);
    opacity: 0;
}
.c-check input:checked + .c-check__box { background: var(--primary-color); border-color: var(--primary-color); }
.c-check input:checked + .c-check__box::after { opacity: 1; }
.c-check input:disabled + .c-check__box { background: var(--bg-gray); border-color: var(--bg-gray); }

/* ---- Radio ---- */
.c-radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.c-radio input { display: none; }
.c-radio__dot {
    width: 20px; height: 20px; flex: none;
    border: 1px solid var(--btn-gray-light);
    border-radius: 50%;
    background: var(--text-white);
    display: inline-flex; align-items: center; justify-content: center;
}
.c-radio__dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary-color); opacity: 0; }
.c-radio input:checked + .c-radio__dot { border-color: var(--primary-color); }
.c-radio input:checked + .c-radio__dot::after { opacity: 1; }
.c-radio input:disabled + .c-radio__dot { background: var(--bg-gray); border-color: var(--bg-gray); }

/* ---- Calendar (customer-admin .c-calendar, 포인트색 primary) ---- */
.c-calendar { width: 300px; height: 300px; padding: 36px 28px; background: #fff; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: var(--font-base); box-sizing: border-box; }
.c-calendar__header { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 16px; }
.c-calendar__nav { width: 24px; height: 24px; padding: 0; border: none; background: none; cursor: pointer; color: #222; font-size: 18px; line-height: 1; }
.c-calendar__title { font-size: 16px; font-weight: 600; color: #222; letter-spacing: -0.02em; }
.c-calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); padding: 4px 0 8px; font-size: 12px; font-weight: 700; color: var(--primary-color); text-align: center; }
.c-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 1px; }
.c-calendar__day { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 auto; padding: 0; border: 1.5px solid transparent; background: transparent; border-radius: 50%; font-size: 13px; color: #222; font-family: inherit; cursor: pointer; }
.c-calendar__day:hover { background: #F4F5F7; }
.c-calendar__day--muted { color: #BDBDBD; }
.c-calendar__day--today { background: var(--primary-color); color: #fff; }
.c-calendar__day--today:hover { background: var(--primary-color); }
.c-calendar__day--selected { border-color: var(--primary-color); }
.c-calendar__day--selected:hover { background: transparent; }

.c-calendar-legend { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #222; }
.c-calendar-legend__item { display: flex; align-items: center; gap: 8px; }
.c-calendar-legend__dot { width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; flex-shrink: 0; }
.c-calendar-legend__dot--filled { background: var(--primary-color); }
.c-calendar-legend__dot--outline { border: 1.5px solid var(--primary-color); }

/* =========================================================
   Components - Button (확장: 사이즈 / 상태 / 라인)
   ========================================================= */
/* 사이즈 */
.btn--big { height: 48px; border-radius: 6px; font-size: 16px; }
.btn--md { height: 48px; border-radius: 6px; padding: 0 18px 0 15px; font-size: var(--fs-b1); }
.btn--auto { width: auto; }
.btn--min110 { min-width: 110px; }
.btn--min160 { min-width: 160px; }
.btn img { width: 16px; height: 16px; }

/* 라인(아웃라인) 버튼 — 취소/삭제 */
.btn--line { background: var(--text-white); border: 1px solid var(--btn-gray-lighter); color: var(--text-dark); }

/* 상태 (실제 hover + 데모용 is-*) */
.btn--primary:hover, .btn--primary.is-hover { background: var(--primary-dark); }
.btn--primary:active, .btn--primary.is-active { background: var(--primary-color); }
.btn--dark:hover, .btn--dark.is-hover { background: #000; }
.btn--line:hover, .btn--line.is-hover { border-color: var(--primary-color); color: var(--primary-color); }
.btn--line:active, .btn--line.is-active { border-color: var(--btn-gray-lighter); color: var(--text-dark); }
.btn--line-red:hover, .btn--line-red.is-hover { background: var(--bg-pink); }
.btn--line-dark:hover, .btn--line-dark.is-hover,
.btn--register:hover, .btn--register.is-hover,
.btn--upload:hover, .btn--upload.is-hover { background: var(--bg-100); }
.btn--line-white:hover, .btn--line-white.is-hover { background: rgba(255,255,255,.12); }
/* disabled */
.btn.is-disabled, .btn:disabled { background: #DCDEE3; color: var(--text-white); border-color: transparent; cursor: not-allowed; pointer-events: none; }
.btn--line.is-disabled, .btn--line:disabled { background: var(--text-white); border-color: #EAEAEA; color: #C9CACE; }

/* 작은 버튼 솔리드 (결제하기 등) */
.btn--xs { width: auto; height: 32px; padding: 0 20px; border-radius: 6px; font-size: var(--fs-b3); font-weight: 600; }

/* 플랜 선택 버튼 */
.plan-btn {
    height: 37px;
    padding: 0 20px;
    border: 1px solid var(--btn-gray-lighter);
    border-radius: 4px;
    background: var(--text-white);
    color: var(--text-gray);
    font-family: inherit;
    font-size: var(--fs-b1);
    cursor: pointer;
}
.plan-btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.plan-btn:hover { border-color: var(--text-gray); background: var(--bg-100); }
.plan-btn--active { background: var(--btn-dark); border-color: var(--btn-dark); color: var(--text-white); }
.plan-btn--active:hover { background: #000; border-color: #000; }
.btn--free { font-size: 16px; }
.btn-plus { margin-right: 4px; }
/* 카드 등록하기 (별도 높이) */
.btn--register { height: 38px; padding: 0 18px; border-radius: 6px; border: 1px solid #333; font-size: var(--fs-b1); }
/* 얼럿/모달 버튼 (높이 40) */
.btn--alert { height: 40px; border-radius: 6px; font-size: 15px; }
/* 수신 거부하기 (소형) */
.btn--reject { height: 20px; padding: 0 8px; font-size: 10px; background: #B3B3B3; color: var(--text-white); font-weight: 400; border-radius: 4px; }
.btn--reject:hover, .btn--reject.is-hover { background: #707070; }

/* 텍스트 링크 버튼 (계정삭제) */
.btn-link { border: none; background: none; padding: 0; font-family: inherit; font-size: var(--fs-b1); color: var(--text-dark); text-decoration: underline; cursor: pointer; }
.btn-link.is-hover { color: var(--primary-color); }
.btn-link.is-disabled { color: var(--text-light); cursor: not-allowed; }

/* 원형 아이콘 버튼 */
.btn-circle { width: 36px; height: 36px; padding: 0; border: none; border-radius: 50%; cursor: pointer; }
.btn-circle img { width: 36px; height: 36px; }

/* =========================================================
   Components - Pagination (W36 x H36)
   ========================================================= */
.pagination { display: inline-flex; align-items: center; gap: 4px; }
.pagination__btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--btn-gray-lighter);
    border-radius: 6px;
    background: var(--text-white);
    color: var(--text-gray);
    font-family: inherit;
    font-size: var(--fs-b1);
    cursor: pointer;
}
.pagination__btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.pagination__btn--active { border-color: var(--primary-color); color: var(--primary-color); font-weight: 600; }
.pagination__btn img { width: 16px; height: 16px; }
/* 레이어 팝업용 (32 x 32) */
.pagination--sm .pagination__btn { width: 32px; height: 32px; font-size: var(--fs-b2); }

/* =========================================================
   Components - Table (list)
   ========================================================= */
.table-title { margin-bottom: 10px; font-size: 20px; font-weight: 700; line-height: 130%; letter-spacing: -1px; }
.table-filter {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--text-dark);
}
.table-filter .input-box { width: 150px; }
.table-filter .btn-circle { background: none; }
.table-filter .table-filter__search { margin-left: auto; width: 300px; }

.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-b1); }
.data-table th {
    height: 56px;
    line-height: 56px;
    padding: 0 12px;
    font-weight: 500;
    color: var(--text-gray);
    text-align: center;
    border-top: 2px solid #222;
    border-bottom: 1.5px solid #AAA;
}
.data-table td {
    padding: 12px;
    color: var(--text-dark);
    text-align: center;
    border-bottom: 1px solid #EAEAEA;
}
.data-table__sub { display: block; margin-top: 6px; font-size: var(--fs-b3); color: var(--text-light); }
.data-table .btn { gap: 4px; padding: 0 10px; height: 36px; }

/* 결제 상태 칩 */
.status-chip {
    display: inline-flex;
    align-items: center;
    height: 36px;
    line-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
}
.status-chip--done { background: #F2F2F2; color: #555555; }
.status-chip--cancel { background: var(--bg-red); color: var(--primary-color); }

/* =========================================================
   Components - Info table (폼형 라벨+필드)
   ========================================================= */
.info-table { border-top: 1px solid #E5E5E5; }
.info-table__row { display: flex; align-items: stretch; border-bottom: 1px solid #E5E5E5; }
.info-table__th {
    width: 160px;
    flex: none;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #F5F5F5;
    font-size: var(--fs-b1);
    color: var(--text-dark);
}
.info-table__req { color: var(--primary-color); margin-left: 2px; }
.info-table__td { flex: 1; min-width: 0; padding: 16px 0 16px 16px; }
.info-table__td--tight { padding-top: 4px; padding-bottom: 4px; }

/* 문의유형 서브 패널 */
.inquiry-sub { margin-top: 16px; padding:20px; background: #F9F9F9; border-radius:6px; }
.inquiry-sub__label { margin-bottom: 12px; font-size: var(--fs-b1); font-weight: 600; }
.inquiry-sub__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.inquiry-radios { display: flex; flex-wrap: wrap; gap: 24px; }

/* 리치 에디터 */
.editor { border: 1px solid var(--btn-gray-lighter); border-radius: 4px; overflow: hidden; }
.editor__toolbar { display: flex; align-items: center; gap: 2px; padding: 8px 12px; background: #F8F9FA; border-bottom: 1px solid var(--btn-gray-lighter); }
.editor__btn {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; border-radius: 4px; background: none;
    color: #555; font-family: inherit; font-size: 14px; cursor: pointer;
}
.editor__btn:hover { background: #ECECEC; }
.editor__btn--b { font-weight: 700; }
.editor__btn--i { font-style: italic; }
.editor__btn--u { text-decoration: underline; }
.editor__btn--s { text-decoration: line-through; }
.editor__divider { width: 1px; height: 16px; margin: 0 6px; background: var(--btn-gray-lighter); }
.editor__body { min-height: 380px; padding: 20px; font-size: var(--fs-b1); line-height: 180%; color: #A9A9A9; }
.editor__body ul { margin: 0; padding-left: 20px; }
.editor__body li { margin: 0; }

/* 파일 업로드 */
.btn--upload {
    width: auto;
    height: 36px;
    padding: 12px 10px 11px 10px;
    border-radius: 4px;
    border: 1px solid #898989;
    background: #FFF;
    color: var(--text-dark);
    font-size: 13px;
}
.file-upload { display: flex; align-items: center; gap: 12px; }
.file-upload__hint { font-size: var(--fs-b2); color: var(--text-gray); }
.file-item { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-b1); color: var(--text-dark); }
.file-item img { width: 16px; height: 16px; }
.file-item__remove { margin-left: 7px; border: none; background: none; padding: 0; color: var(--text-light); font-size: 14px; cursor: pointer; }

/* =========================================================
   Components - Detail view (읽기형 상세)
   ========================================================= */
.detail-box { padding: 40px; }
.detail-head { padding-bottom: 20px; font-size: 20px; font-weight: 700; letter-spacing: -1px; border-bottom: 2px solid #222; }
.detail-meta { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid #EAEAEA; }
.detail-meta__label { font-size: var(--fs-b2); color: var(--text-light); }
.detail-meta__value { font-size: 15px;font-weight:500; color: var(--text-dark); }
.detail-body { padding: 20px 0; }
.detail-body p { margin: 0 0 24px; font-size: var(--fs-b1); line-height: 1.7; color: var(--text-default); }
.detail-body p:last-child { margin-bottom: 0; }

/* =========================================================
   Components - Review / Comment list (data-list)
   ========================================================= */
.review-box { padding: 25px; border: 1px solid #EAEAEA; border-radius:6px; }
.review-count { margin-bottom:15px; font-size: 20px; font-weight: 500; color: var(--text-default); }
.review-count b { font-weight: 700; }

.comment { padding: 24px 0; border-top: 1px solid #F0F0F0; }
.comment:first-of-type { border-top: none; padding-top: 8px; }
.comment__head { display: flex; align-items: center; gap: 12px; }
.comment__user { display: inline-flex; align-items: center; gap: 10px; }
.comment__avatar {
    width: 24px; height: 24px; flex: none;
    border-radius: 50%;
    background: #E0E0E0;
    display: inline-flex; align-items: flex-end; justify-content: center;
    overflow: hidden;
}
.comment__avatar img { width: 24px; height: 24px; }
.comment__name { font-size: var(--fs-b1); font-weight: 600; color: var(--text-dark); }
.comment__time { font-size: var(--fs-b2); color: var(--text-light); }
.comment__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.comment__reply-btn { padding: 0; border: none; background: none; font-family: inherit; font-size: var(--fs-b2); color: var(--text-gray); cursor: pointer; }
.comment__more { width: 20px; height: 20px; padding: 0; border: none; background: none; cursor: pointer; }
.comment__more img { width: 20px; height: 20px; }
.comment__body { margin-top: 16px; padding-left: 36px; font-size: var(--fs-b1); line-height: 1.7; color: var(--text-default); }
.comment__deleted { margin-top: 14px; padding-left: 36px; font-size: var(--fs-b2); color: var(--text-light); }

/* 답글 작성/수정 에디터 (중첩) */
.reply-editor { margin: 16px 0 0 36px; }
.reply-editor__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reply-editor__box {
    padding: 20px;
    border: 1px solid var(--btn-gray-lighter);
    border-radius:6px;
    font-size: var(--fs-b1);
    line-height: 1.7;
    color: var(--text-dark);
}
.reply-editor__box textarea {
    width: 100%;
    min-height: 24px;
    border: none; outline: none; resize: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--fs-b1);
    color: var(--text-dark);
}
.reply-editor__box textarea::placeholder { color: #AAA; }
.reply-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 12px; }
.reply-actions .btn { width:80px; height:28px;line-height:28px; border-radius:4px; font-size: var(--fs-b2); }

/* =========================================================
   Components - Payment method list (결제수단)
   ========================================================= */
.pay-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pay-head__title { font-size: 17px; font-weight:600; color: var(--text-dark); }
.pay-list { padding: 30px; border: 1px solid #EAEAEA; border-radius: 12px; }
.pay-card { display: flex; align-items: center; gap: 30px; padding: 20px 0; border-bottom: 1px solid #EEEEEE; }
.pay-card:first-child { padding-top: 0; }
.pay-card:last-child { padding-bottom: 0; border-bottom: none; }
.pay-card__thumb { width: 190px; height: 120px; flex: none; border-radius: 8px; object-fit: cover; }
.pay-card__thumb--blue { background: linear-gradient(135deg, #243A8F 0%, #4F74D8 100%); }
.pay-card__thumb--teal { background: linear-gradient(135deg, #3AA0E8 0%, #5FC58A 100%); }
.pay-card__info { flex: 1; min-width: 0; }
.pay-card__name { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.pay-card__num { font-size: var(--fs-b1); color: var(--text-light); }
.pay-card__date { margin-top: 15px; font-size: var(--fs-b2); color: var(--text-light); }
.pay-card__date b { color: var(--text-default); font-weight: 400; }
.pay-card__actions { display: flex; align-items: center; gap: 6px; }
.pay-card__actions .btn { width: 160px; }
.pay-card__primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 160px;
    padding: 0 10px;
    border: none;
    background: var(--text-white);
    color: var(--primary-color);
    font-family: inherit;
    font-size: var(--fs-b2);
    font-weight: 500;
    cursor: pointer;
}
.pay-card__primary img { width: 14px; height: 16px; }

/* =========================================================
   Components - Post / Inquiry list item
   ========================================================= */
.post-item { padding: 0 10px 30px 20px; }
.divider { border-top: 2px solid #222; }
.post-item__badge { display: inline-flex; margin-bottom: 15px; }
.post-item__head { display: flex; align-items: flex-start; gap: 16px; }
.post-item__title { flex: 1; min-width: 0; font-size: 28px; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.post-item__title .cat { color: var(--primary-blue); margin-right: 4px; }
/* 문의 리스트 아이템 (본문 미리보기 + 상단 보더) */
/* 통계 카드 3열 그리드 */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

/* 문의 내역 검색 툴바 */
.qna-toolbar { display: flex; justify-content: flex-end; margin-top: 50px; padding-bottom: 12px; }
.qna-toolbar .input-box { width: 320px; }

/* 케밥 액션 메뉴 (수정/삭제) */
.kebab { position: relative; flex: none; }
.kebab__menu { display: none; position: absolute; top: calc(100% + 4px); right: 0; min-width: 96px; padding: 4px; background: #fff; border: 1px solid var(--primary-color); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 100; }
.kebab.is-open .kebab__menu { display: block; }
.kebab__item { display: block; width: 100%; padding: 9px 12px; border: none; background: transparent; font-size: 14px; color: var(--text-dark); text-align: center; white-space: nowrap; border-radius: 6px; cursor: pointer; }
.kebab__item + .kebab__item { margin-top: 2px; }
.kebab__item:hover { background: var(--bg-pink); }
.kebab__item--danger { color: var(--primary-color); }

.qna-item { padding: 35px 30px; border-top: 2px solid #222; }
.qna-item__top { display: flex; align-items: center; justify-content: space-between; }
.qna-item__more { width: 20px; height: 20px; padding: 0; border: none; background: none; cursor: pointer; }
.qna-item__more img { width: 20px; height: 20px; }
.qna-item__title { margin-top: 14px; font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.qna-item__title .cat { color: var(--primary-blue); margin-right: 4px; }
.qna-item__excerpt {
    margin-top: 10px;
    font-size:15px;
    line-height: 1.6;
    color: var(--text-default);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qna-item__meta { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.qna-list .qna-item { border-top: 1px solid #EAEAEA; }
.qna-list .qna-item:first-child { border-top: 2px solid #222; }
.qna-list .qna-item:last-child { border-bottom: 1px solid #EAEAEA; }

/* =========================================================
   Components - Checkout (선택된 플랜 + 결제하기)
   ========================================================= */
.checkout-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
/* 결제 페이지 (전체폭 회색 배경 + 1400 중앙) */
.checkout-page { background: #F2F3F5; padding: 60px 20px 120px; }
.checkout-page .checkout-layout { max-width: 1400px; margin: 0 auto; }

/* 선택된 플랜 카드 */
.plan-summary { border: 1px solid #EAEAEA; border-radius: 16px; overflow: hidden; background: #fff; }
.plan-summary__head { padding: 24px; background: var(--secondary-6); text-align: center; color: var(--text-white);font-size:24px;font-weight:700; }
.plan-summary__body { padding: 30px 30px 46px 30px; }
.plan-summary__top { display: flex; align-items: center; gap:8px; }
.plan-summary__name { font-size: 32px; font-weight:700; color: var(--text-dark); }
.plan-summary__fee { margin-left: auto; font-size: var(--fs-b3); color: var(--text-gray); }
.plan-summary__fee b { color: var(--primary-color); font-size: 32px; font-weight: 800; }
.plan-summary__fee .pct { color: var(--primary-color); font-size: 18px; font-weight: 700; }
.plan-summary__divider { margin: 20px 0; border: 0; border-top: 2px solid #333; }
.plan-summary__divider--light { border-top: 1px solid #EEEEEE; }
.plan-summary__info { display: flex; justify-content: space-between; gap: 16px; }
.plan-info { text-align: center; }
.plan-info__label { font-size: var(--fs-b2); color: var(--text-gray); }
.plan-info__value { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--text-dark); }
.plan-summary__note { margin: 24px 0; padding: 16px; background: var(--bg-100); border-radius: 12px; text-align: center; font-size: var(--fs-b1); color: var(--text-gray); }
.plan-summary__total { text-align: center; }
.plan-summary__total-label { font-size:16px; color: var(--text-dark); }
.plan-summary__amount { display: flex; align-items: center; justify-content: center; gap: 4px; font-size:44px; font-weight: 800; color: var(--primary-color); letter-spacing: -2px; }
.plan-summary__amount .won { font-size: 16px; font-weight: 500; color: var(--text-dark); }
.plan-summary__vat { margin-top: 4px; font-size: var(--fs-b2); color: var(--text-light); }

/* ---- 플랜 업그레이드 (선택된 플랜 카드 확장) ---- */
.plan-summary__site { flex: 1; text-align: center; font-size: 32px; font-weight: 700; color: var(--text-dark); }

.plan-upgrade { margin-top: 8px; padding: 30px; background: var(--bg-100); border-radius: 12px; }
.plan-upgrade__title { margin:0 0 20px; text-align: center; font-size: 18px; font-weight: 700; color: var(--text-dark); }
.plan-upgrade__tabs { display: flex; gap: 6px; }
.plan-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.plan-tab__tag { min-height: 16px; font-size: 12px; font-weight: 600; color: var(--primary-color); }
.plan-tab__btn { width: 100%; height: 37px; border: 1px solid #DDDDDD; border-radius: 4px; background: #fff; font-family: inherit; font-size: 14px; color: var(--text-dark); cursor: pointer; }
.plan-tab__btn--active { background: var(--btn-dark); border-color: var(--btn-dark); color: #fff; font-weight: 600; }
.plan-tab__btn--disabled { background: #E2E2E2; border-color: #F2F2F2; color :var(--text-gray); }

.plan-cycle { margin-top: 20px; }
.plan-cycle__name { display: block; margin-bottom:8px; font-size: 18px; font-weight: 700; color: var(--text-dark); }
.plan-cycle__row { display: flex; align-items: center; justify-content: space-between; }
.plan-cycle__discount { font-size: 12px; color: var(--text-gray); }
.plan-cycle__discount b { color: var(--primary-color); font-weight: 700; }

.plan-upgrade .plan-summary__total { margin-top: 20px; }

/* 결제 금액 요약 */
.pay-summary { margin-top: 20px; padding:30px; background: #fff; border: 1px solid #EAEAEA; border-radius: 12px; }
.pay-summary__title { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #EEEEEE; font-size: 17px; font-weight: 700; color: var(--text-dark); }
.pay-summary__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.pay-summary__row .label { color: var(--text-gray); }
.pay-summary__row .val { font-weight: 700; color: var(--text-dark); }
.pay-summary__row .val .won { margin-left: 2px; font-size: 13px; font-weight: 400; color: var(--text-gray); }
.pay-summary__row--minus .val { color: var(--primary-color); }
.pay-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 15px; margin-top:12px; border-top: 1px solid #EEEEEE; }
.pay-summary__total .label { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.pay-summary__total .val { display: inline-flex; align-items: center; gap: 4px; font-size:24px; font-weight: 700; color: var(--text-dark); }
.pay-summary__total .val .won { margin-left: 0; font-size: 13px; font-weight: 400; color: var(--text-gray); }

/* 업그레이드 혜택 */
.upgrade-benefit { margin-top: 16px; padding: 20px; background: #fff; border: 1px solid var(--primary-color); border-radius: 12px; }
.upgrade-benefit__title { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--primary-color); }
.upgrade-benefit__title img { width: 18px; height: 18px; }
.upgrade-benefit__item { display: flex; align-items: center; gap: 12px; padding: 14px; background: #F9F9F9; border-radius: 8px; }
.upgrade-benefit__item + .upgrade-benefit__item { margin-top: 8px; }
.upgrade-benefit__icon { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; }
.upgrade-benefit__icon img { width: 20px; height: 20px; }
.upgrade-benefit__name { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.upgrade-benefit__desc { margin-top: 2px; font-size: 12px; color: var(--text-default); }

/* 결제하기 카드 */
.checkout { border: 1px solid #EAEAEA; border-radius: 16px; background: #fff; box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10); }
.checkout__body { padding: 30px; }
.checkout__head { padding:20px 0 30px 0; border-bottom: 1px solid #EEEEEE; text-align: center; }
.checkout__content { margin-top: 24px; }
.checkout__footer { padding: 0 30px 40px; }
.checkout__title { text-align: center; font-size: 32px; font-weight: 700; color: var(--text-dark); }
.checkout__sub { margin-top: 8px; text-align: center; font-size: var(--fs-b1); color: var(--text-gray); }
.checkout__divider { margin: 28px 0; border: 0; border-top: 1px solid #EEEEEE; }
.checkout__label { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.checkout__label .req { color: var(--primary-color); margin-left: 2px; }
.checkout__card-box { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding:24px 30px; background: var(--bg-100); border-radius: 8px; }
.checkout__card-box .icon { width: 20px; height: 20px; }
.checkout__card-box .empty { color: var(--text-light); font-size: var(--fs-b1); }
.checkout__card-box .btn { margin-left: auto; }
.checkout__sub-label { margin-top: 24px; font-size: var(--fs-b1); color: var(--text-dark); }
.checkout__notice { margin-top: 12px; padding: 16px 20px; border: 1px solid #EAEAEA; border-radius: 8px; }
.checkout__notice-title { margin-bottom: 14px; font-size: var(--fs-b1); font-weight: 700; color: var(--text-dark); }
.checkout__notice ul { margin: 0; padding-left: 18px; }
.checkout__notice li { margin: 4px 0; font-size: var(--fs-b2); line-height: 1.5; color: var(--text-default); }
.checkout__notice .sub {list-style: none; color: var(--text-gray); }
.checkout__agree { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding:20px; background: var(--bg-100); border-radius: 8px; font-size: var(--fs-b1); }
.checkout__agree a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.checkout__line { margin-top: 24px; border: 0; border-top: 1px solid #EEEEEE; }
/* 밸리데이션 에러 */
.checkout__card-box--error,
.checkout__agree--error { border: 1px solid var(--primary-color); }
.checkout__error { margin-top: 10px; font-size: 12px; color: var(--primary-color); }

/* =========================================================
   Components - Modal / Alert
   ========================================================= */
.modal-card {
    width: 320px;
    padding: 20px;
    background: var(--text-white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
}
.modal-card__icon { width: 48px; height: 48px; margin: 0 auto; }
.modal-card__title { margin-top: 18px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--text-dark); }
.modal-card__desc { margin-top:8px; font-size: var(--fs-b2); color: var(--text-gray); }
.modal-card__footer { display: flex; gap: 6px; margin-top: 24px; }
.modal-card__footer .btn { flex: 1; }

/* 큰 모달 (탈퇴 등) */
.modal-card--lg { width: 500px; padding: 30px; }
.modal-card--lg .modal-card__icon { width: 72px; height: 72px; }
.modal-card--lg .modal-card__title { margin:0 0 20px; font-size: 36px; font-weight: 700; }
.modal-card--lg .modal-card__desc { font-size: 17px; color: var(--text-dark); line-height: 1.3;margin-top: 0; }
.modal-card__sub { margin-top:8px; font-size: var(--fs-b2); color: var(--text-light); }
.modal-card__notice { margin-top: 20px; padding: 20px; background: #F7F7F7; border-radius: 8px; text-align: left; }
.modal-card__notice-title { margin-bottom: 12px; font-size: var(--fs-b1); font-weight: 700; color: var(--text-dark); }
.modal-card__notice ul { margin: 0; padding-left: 18px; }
.modal-card__notice li { margin: 4px 0; font-size: var(--fs-b2); line-height: 1.6; color: var(--text-default); }
.modal-card__check { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: var(--fs-b1); color: var(--text-dark); cursor: pointer; }
.modal-card__field { margin-top: 12px; }

/* =========================================================
   Error page (전체화면)
   ========================================================= */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:30px;
    padding: 40px;
    background: #F1E7D4;
}
.error-page--gray { background: #F2F3F5; }
.error-page__content { flex: none; }
.error-page__logo { width: 120px; height: auto; }
.error-page__title { margin-top:60px; font-size: 44px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
.error-page--gray .error-page__title { font-size: 40px; }
.error-page__subtitle { margin-top:20px;margin-bottom: 10px; font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.error-page__desc { margin-top:5px; font-size: 15px; line-height: 1.5; color: var(--text-gray); }
.error-page__subtitle + .error-page__desc { margin-top: 10px; font-size: 15px; }
.error-page__notice { display: inline-flex; align-items: center; gap: 6px; margin-top:30px; padding: 7px 14px; border-radius: 100px; background: #6B6359; color: #fff; font-size: 14px; font-weight: 600; }
.error-page__notice img { width: 16px; height: 16px; }
.error-page__time { margin-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: #ED1B23; }
.error-page__btn { margin-top:44px;padding:0  30px;text-decoration: none;font-size:17px; }
.error-page__img { width: 400px; height: 600px; object-fit: contain; flex: none; }
.error-page--gray .error-page__img { width: auto; height: 600px; }
.post-item__more { flex: none; width: 20px; height: 20px; padding: 0; border: none; background: none; cursor: pointer; }
.post-item__more img { width: 24px; height: 24px; }
.post-item__meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.post-meta { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-b3); color: var(--text-light); }
.post-meta img { width: 14px; height: 14px; }

/* 문의 상세 본문 영역 */
.inq-top-divider { margin-bottom: 30px; }
.inq-sep { border-top: 1px solid #EAEAEA; }
.inq-body { margin-top: 30px; padding: 0 20px; }
.inq-body__note { font-size: 13px; color: var(--text-light); }
.inq-body__box { margin-top: 16px; height: 360px; background: var(--bg-100); border-radius: 8px; }

/* 첨부파일 다운로드 영역 */
.download-area { margin-top: 40px; padding: 0 20px; }
.download-area__title { margin-bottom: 16px; font-size: 16px; font-weight: 700; color: var(--text-dark); }
.download-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
}
.download-item + .download-item { margin-top: 8px; }
.download-item__icon { width: 16px; height: 16px; flex: none; }
.download-item__name { flex: 1; min-width: 0; font-size: var(--fs-b1); color: var(--text-default); }
.download-item .btn { width: auto; height: 36px; padding: 0 10px; border-radius: 6px; font-size: var(--fs-b2); }

.table-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px;
    font-size: var(--fs-b1);
    color: var(--text-dark);
    cursor: pointer;
}
.table-more img { width: 16px; height: 16px; }

/* =========================================================
   Auth (로그인 / 회원가입 / 비밀번호)
   ========================================================= */
.auth-header { display: flex; align-items: center; height: 105px; padding: 0 50px; background: var(--btn-dark); }
.auth-header__logo { width: 88px; height: auto; }

.auth-main { display: flex; justify-content: center; padding: 80px 20px 120px; }

.auth-card { width: 100%; max-width: 440px; }
.auth-card__title { padding:20px 0;text-align: center; font-size:32px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }

.auth-card__desc { margin-top:0px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--text-gray); }
.auth-card__title + .auth-card__desc { margin-top: -10px; }

.auth-form { margin-top:20px; }
.auth-field { margin-bottom: 20px; }
.auth-field__label { display: block; margin:30px 0 10px; font-size: 13px; font-weight: 700; color: var(--text-dark); }
.auth-card .input-box { height: 48px; }
.auth-field__error { margin-top: 10px; font-size: 12px; color: var(--primary-color); }
.auth-field__help { margin:10px 0 8px; font-size: 12px; color: var(--text-light); }

/* 비밀번호 강도 미터 */
.auth-strength { display: flex; gap: 6px; margin-top: 10px; }
.auth-strength__bar { flex: 1; height: 4px; background: #EAEAEA; }

/* 로그인 화면으로 돌아가기 */
.auth-back { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 24px; font-size: 13px; color: var(--text-gray); }
.auth-back img { width: 16px; height: 16px; }
.auth-back__link { color: var(--primary-color); font-weight: 600; }

.auth-field + .auth-remember { margin-top: -10px; }
.auth-remember { margin-bottom: 20px; }
.auth-remember .c-check { font-size: 12px; color: var(--text-gray); gap: 8px; }

.auth-help { margin-top: 24px; text-align: center; font-size: 12px; color: var(--text-light); }
.auth-help__link { margin-left: 8px; font-weight: 600; color: var(--primary-color); text-decoration: none; }

.auth-divider { margin: 24px 0 20px; border: none; border-top: 1px solid #EAEAEA; }

.auth-signup { text-align: center; }
.auth-signup__text { font-size: 13px; color: var(--text-gray);margin-bottom:10px; }
.auth-signup__btn { margin-top:0; border: 1px solid #333; }

/* ---- 회원가입 (signup) ---- */
.auth-main--dual { gap: 64px; align-items: flex-start; }
.auth-main--dual .auth-card { flex: none; width: 460px; }
.auth-card--signup { max-width: 460px; }
.auth-req { margin-left: 2px; color: var(--primary-color); }

/* 2단 입력 행 (성/이름) */
.auth-row { display: flex; gap: 20px; margin-bottom: 20px; }
.auth-row > .auth-field { flex: 1; margin-bottom: 0; }
.auth-field > .auth-row { margin-bottom: 0; }   /* 에러 메시지와 함께 묶을 때 */

/* 입력 + 인라인 버튼 (이메일 + 인증코드 발송) */
.auth-inline { display: flex; gap: 6px; }
.auth-inline > .input-box { flex: 1; min-width: 0; }
.auth-sendbtn { flex: none; width: 110px; border: 1px solid #333; border-radius: 6px; background: var(--text-white); color: var(--text-dark); font-family: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .15s ease; }
.auth-sendbtn:hover { background: var(--bg-100); }

/* 인증코드 6칸 + 확인 */
.auth-code { display: flex; gap: 6px; }
.auth-code__digits { display: flex; gap: 4px; flex: 1; min-width: 0; }
.auth-code__digit { flex: 1; min-width: 0; height: 48px; border: 1px solid #DFE0E3; border-radius: 6px; background: var(--text-white); text-align: center; font-family: inherit; font-size: 22px; font-weight: 700; color: var(--primary-color); }
.auth-code__digit--error { border-color: var(--primary-color); }
.auth-code__confirm { flex: none; width: 110px; border: none; border-radius: 6px; background: var(--btn-gray-lighter); color: var(--text-white); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.auth-code__confirm--active { background: var(--btn-dark); }

/* 약관 동의 박스 */
.auth-agree { margin-top:24px; padding: 20px; background: var(--bg-100); border-radius: 8px; }
.auth-agree--error { border: 1px solid var(--primary-color); }
.auth-agree__all { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--text-dark); cursor: pointer; }
.auth-agree__item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--text-dark); cursor: pointer; }
.auth-agree__req { color: var(--primary-color); }
.auth-agree__view { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 13px; color: var(--text-light); }
.auth-agree__view img { width: 16px; height: 16px; }

/* 약관 모달 (이용약관/개인정보 전문) */
.auth-main--gray { background: #F7F8FA; }
.terms-modal { width: 440px; max-width: 100%; padding: 30px; background: var(--text-white); border-radius: 16px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); }
.terms-modal__head { position: relative; text-align: center; margin-bottom: 20px; }
.terms-modal__title { font-size:32px; font-weight: 700; color: var(--text-dark); }
.terms-modal__date { position: absolute; right: 0; bottom: 3px; font-size: 13px; color: var(--text-light); }
.terms-modal__body { height: 560px; overflow-y: auto; padding: 25px; background: var(--bg-100); border-radius: 8px; font-size: 13px; line-height: 1.7; color: var(--text-gray); }
.terms-modal__sec { margin: 0 0 4px; font-weight: 600; color: var(--text-dark); }
.terms-modal__sec:not(:first-child) { margin-top: 20px; }
.terms-modal__txt { margin: 0; }
.terms-modal__footer { display: flex; gap: 10px; margin-top: 20px; }
.terms-modal__footer .btn { flex: 1; }

/* ---- 회원가입 완료 (welcome) ---- */
.auth-welcome { text-align: center; }
.auth-welcome__title { font-size: 48px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
.auth-welcome__lead { margin:30px 0 8px; font-size: 16px; font-weight: 700; color: var(--text-dark); }
.auth-welcome__sub { margin-top: 8px; font-size: 13px; color: var(--text-gray); }

.auth-account { margin-top:30px; padding: 30px; background: var(--bg-100); border-radius: 12px; }
.auth-account__label { font-size: 13px; color: var(--text-gray); }
.auth-account__email { margin-top:-8px; font-size: 20px; font-weight: 500; color: var(--text-dark); }
.auth-account__plan { display: inline-block; margin-top: 0; padding: 8px 18px; border-radius: 6px; background: var(--btn-dark); color: var(--text-white); font-size: 14px; font-weight: 600; }

.auth-notice { margin:20px 0; padding: 15px; border-radius: 8px; background: var(--bg-pink); font-size: 14px; font-weight: 600; color: var(--primary-color); }
.auth-welcome__btn { margin-top:0; }

.auth-steps { margin-top: 20px; padding: 25px; border: 1px solid #EAEAEA; border-radius: 8px; text-align: left; }
.auth-steps__item { display: flex; gap:8px; }
.auth-steps__item + .auth-steps__item { margin-top: 8px; }
.auth-steps__title { flex: none; width:auto;margin-right:4px; font-size: 13px; font-weight: 700; color: var(--text-dark); }
.auth-steps__desc { font-size: 12px; color: var(--text-gray); }

/* =========================================================
   Navigation (GNB) & Footer
   ========================================================= */
.gnb { position: relative; display: flex; align-items: center; width: 100%; height: 105px; padding: 0 80px; transition: background-color 0.25s ease, color 0.25s ease; }
.gnb--sticky { position: sticky; top: 0; z-index: 100; }
.gnb__logo { flex: none; }
.gnb__logo img { display: block; width: 88px; height: auto; }
.gnb__menu { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 36px; }
.gnb__menu-item { position: relative; }
.gnb__menu-link { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 600; cursor: pointer; }
.gnb__chev { width: 16px; height: 16px; transition: transform 0.2s; }
.gnb__util { display: flex; align-items: center; gap: 24px; flex: none; margin-left: auto; }
.gnb__util-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.gnb__util-icon { width: 18px; height: 18px; }
.gnb__cta { padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background-color .15s ease; }

/* 드롭다운 (서비스/언어) */
/* 메뉴-드롭다운 사이 투명 브리지 (호버 유지용) */
.gnb__menu-item::after,
.gnb__util-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.gnb__dropdown { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); min-width: 130px; padding: 30px; background: var(--text-white); border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); display: none; z-index: 10; }
.gnb__menu-item.is-open .gnb__dropdown,
.gnb__util-item.is-open .gnb__dropdown,
.gnb__menu-item:hover > .gnb__dropdown,
.gnb__util-item:hover > .gnb__dropdown { display: block; }
/* 호버 시 화살표 뒤집기 */
.gnb__menu-item.is-open .gnb__chev,
.gnb__util-item.is-open .gnb__chev,
.gnb__menu-item:hover .gnb__chev,
.gnb__util-item:hover .gnb__chev { transform: rotate(180deg); }
.gnb__dropdown a { display: block; font-size: 15px; color: var(--text-dark); white-space: nowrap; }
.gnb__dropdown a + a { margin-top: 15px; }
.gnb__dropdown a:hover { color: var(--primary-color); }
.gnb__util-item .gnb__dropdown { top: calc(100% + 18px); padding: 10px 15px; min-width: 0; }
.gnb__util-item .gnb__dropdown a { padding: 0; font-size: 13px; }
.gnb__util-item .gnb__dropdown a + a { margin-top: 8px; }
.gnb__util-item { position: relative; }

/* Dark (default) */
.gnb--dark { background: var(--btn-dark); color: var(--text-white); }
.gnb--dark .gnb__menu-link, .gnb--dark .gnb__util-item { color: var(--text-white); }
.gnb--dark .gnb__cta { background: var(--text-white); color: var(--text-dark); }
.gnb--dark .gnb__cta:hover { background: #E6E6E6; }
.gnb--dark .gnb-icon { filter: brightness(0) invert(1); }
.gnb--dark .gnb__logo-light { display: none; }
.gnb--light .gnb__logo-dark { display: none; }

/* Light (active) */
.gnb--light { background: var(--text-white); color: var(--text-dark); }
.gnb--light .gnb__menu-link, .gnb--light .gnb__util-item { color: var(--text-dark); }
.gnb--light .gnb__cta { background: var(--btn-dark); color: var(--text-white); }
.gnb--light .gnb__cta:hover { background: #000; }

/* Footer */
.gfooter { padding: 60px 40px; background:#000; color: var(--text-white); }
.gfooter__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.gfooter__cols { display: flex; gap: 70px; }
.gfooter__col-title { margin-bottom:20px; font-size: 20px; font-weight: 700; color: var(--text-white); }
.gfooter__col a { display: block; margin-bottom: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.50); }
.gfooter__col a:hover { color: var(--text-white); }
.gfooter__social { display: flex; gap: 4px; flex: none; }
.gfooter__social img { width: 44px; height: 44px; }
.gfooter__divider { margin: 40px 0 24px; border: none; border-top: 1px solid #333; }
.gfooter__brand img { display: block; width: 120px; height: auto; opacity: 0.15; }
.gfooter__tagline { margin-top: 10px; font-size: 13px; color: #4E4E4E; }

/* =========================================================
   마이페이지 - 내 사이트 관리하기 (sites-create)
   ========================================================= */
.mysite { max-width: 1400px; margin: 0 auto; padding: 60px 0 160px; }
.mysite__head { width: 100%; text-align: left; margin-bottom: 40px; }
.mysite__title { font-size: 36px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
.mysite__desc { margin-top:8px; font-size: 14px; color: var(--text-gray); }
.pay-block + .pay-block { margin-top: 50px; }

/* 결제 요약 카드 (paysum) */
.paysum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.paysum__card { padding: 25px 30px; background: var(--bg-100); border-radius: 12px; text-align: right; }
.paysum__label { padding: 0; margin: 0; font-size: 13px; color: var(--text-gray); }
.paysum__value { margin:8px 0 0; font-size: 32px; font-weight: 700; color: var(--text-dark); letter-spacing: -1px;line-height: 130%; }
.paysum__unit { margin-left: 4px; font-size: 22px; font-weight: 500; color: var(--text-light); letter-spacing: 0; }
.mysite__form { width: 100%; max-width: 440px; margin: 0 auto; }
.mysite__form > .auth-divider:first-child { margin-top: 0; border-top-color: #222222; }
.mysite__form .auth-field__help { margin: 0 0 12px; }

/* 입력 접두/접미 (https:// , .solsol.com) */
.input-affix { flex: none; font-size: 14px; color: #222222; white-space: nowrap; }
/* 너비 자동 보조 버튼 (도메인 중복 체크 등) */
.auth-sendbtn--auto { width: auto; padding: 0 18px; }

/* 사이트 목록 (sites) */
.mysite__toolbar { display: flex; justify-content: flex-end; margin-bottom:10px; }
.mysite__submit { display: flex; justify-content: center; margin-top: 40px; }
.mysite__submit .btn { height: auto; line-height: 1.2; padding: 16px 30px; }
.site-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* 내 사이트 빈 상태 (sites-empty) */
.sites-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding:40px 50px; border: 1px solid #EAEAEA; border-radius: 12px; }
.sites-cta__title { font-size: 16px; font-weight: 700; color: var(--text-dark);margin:0;line-height: 26px; }
.sites-cta__desc { margin:0; font-size: 13px; color: var(--text-gray);line-height: 26px; }
.sites-empty { text-align: center; padding: 80px 0 60px; }
.sites-empty__icon { width: 80px; height: 80px; margin: 0 auto 40px; display: flex; align-items: center; justify-content: center; background: #262626; border-radius: 50%; }
.sites-empty__icon img { width: 48px; height: 48px; }
.sites-empty__title { font-size: 28px; font-weight: 700; color: var(--text-dark); }
.sites-empty__desc { margin-top: 20px; font-size: 15px; line-height: 1.5; color:#333; }
.sites-empty__btn { margin-top: 40px; }

/* 이용상품 상태별 바리에이션 (레퍼런스) */
.state-ref { max-width: 1400px; margin: 0 auto; padding: 60px 40px 120px; }
.state-ref__group { display: grid; grid-template-columns: 16px 1fr; gap: 8px; margin-bottom: 50px; align-items: center; }
.state-ref__label { font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--text-dark); word-break: break-all; }
.state-ref__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-left: 12px; border-left: 2px solid var(--primary-color); }
.state-ref__group--plain .state-ref__cards { border-left-color: transparent; }

/* 문의유형별 문구 (레퍼런스) */
.inquiry-texts .info-table { margin-bottom: 40px; }
.inquiry-texts .info-table:last-child { margin-bottom: 0; }
.inquiry-text__title { margin: 0; padding-top: 0; font-size: 15px; font-weight: 700; color: var(--text-dark);line-height:1.5; }
.inquiry-text__desc { margin: 6px 0 16px; font-size: 13px; line-height: 1.6; color: #A0A0A0; }

/* 화면 중앙 모달 오버레이 (딤 배경) */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.2); }

/* 문의 접수완료 */
.inquiry-done { text-align: center; }
.inquiry-done__icon { display: block; width: 64px; height: 64px; margin: 20px auto 0; }
.inquiry-done__title { margin-top: 24px; font-size: 32px; font-weight: 700; color: var(--text-dark); }
.inquiry-done__sub { margin-top: 16px; font-size: 15px; color: var(--text-gray); }
.inquiry-done__box { margin-top: 40px; background: var(--bg-100); border: 1px solid #EAEAEA; border-radius: 12px; text-align: left; }
.inquiry-done__box .detail-head { border-bottom: 1px solid #E5E5E5; }
.inquiry-done__foot { margin-top: 30px; font-size: 14px; color: var(--text-gray); }
.inquiry-done__foot b { font-weight: 600; color: var(--text-dark); }

/* 결제 완료 */
.pay-done { max-width: 440px; margin: 0 auto; text-align: center; }
.pay-done--wide { max-width: 600px; }
.pay-done__icon { display: block; width: 68px; height: 68px; margin: 20px auto 0; }
.pay-done__title { margin-top:10px; font-size: 36px; font-weight: 700; color: var(--text-dark); }
.pay-done__lead { margin: 20px 0 0; font-size: 17px; font-weight: 500; color: var(--text-dark); }
.pay-done__sub { margin-top: 8px; font-size: 15px; color: var(--text-gray);font-weight:500; }
.pay-done__box { margin-top: 20px; padding: 30px 35px; background: var(--bg-100); border: 1px solid #EAEAEA; border-radius: 12px; text-align: left; }
.pay-done__box .detail-head { padding-bottom:20px;margin-bottom: 20px; border-bottom: 1px solid #333; }
.pay-info { display: flex; justify-content: space-between; align-items: center; padding:0 0 10px; }
.pay-info__label { font-size: 14px; color: var(--text-gray); }
.pay-info__value { font-size: 15px; font-weight: 500; color:#000; text-align: right; }
.pay-info__sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--text-light); }
.pay-done__box--loose { padding: 25px 30px; }
.pay-done__box--loose .pay-info { padding-bottom: 20px; }
.pay-done__box--loose .pay-info:last-child { padding-bottom: 0; }
.pay-info__status { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-color); font-weight: 600; }
.pay-info__status::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; }
.pay-info__status--fail::before { content: "✕"; width: auto; height: auto; border: none; border-radius: 0; font-size: 13px; font-weight: 700; line-height: 1; }
.pay-done__foot { margin:20px 0 0; font-size: 13px; color: var(--text-gray); }
.pay-done__foot b { color:#000; font-weight: 600; }
.pay-done__btn { margin-top: 20px; }
.pay-done__btns { display: flex; gap: 6px; margin-top: 20px; }
.pay-done__btns .btn { flex: 1; }
/* 도메인 결과 박스 */
.domain-box { margin-top: 32px; padding: 50px 35px; background: var(--bg-100); border-radius: 12px; text-align: center; font-size: 20px; color: #000; word-break: break-all; }

/* 사용 연장하기 (plan-summary 카드 + 안내) */
.pay-done .plan-summary { margin-top: 32px; text-align: left; }
.pay-done .plan-summary__head { padding: 20px; }
.pay-done .plan-summary__body { padding: 20px 30px; }
.pay-done .plan-summary__name,
.pay-done .plan-summary__site { font-size: 20px; }
.pay-done .plan-summary__fee { display: inline-flex; align-items: center; gap: 0; font-size: 11px; }
.pay-done .plan-summary__fee b,
.pay-done .plan-summary__fee .pct { font-size: 20px; align-self: flex-end; }
.pay-done .plan-summary__fee b { margin-left: 4px; }
.pay-done .plan-summary__fee .pct { font-size: 12px; }
.pay-done .badge--outline { padding: 4px 6px; }
.plan-summary__info--two { justify-content: space-between; }
.plan-summary__info--two .plan-info:first-child { text-align: left; }
.plan-summary__info--two .plan-info:last-child { text-align: right; }
.pay-done .plan-info__value { margin-top: 4px; }
.renew-note { margin-top: 20px; padding: 20px 24px; background: var(--bg-100); border-radius: 12px; text-align: left; }
.renew-note ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.9; color: var(--text-gray); }
.domain-box + .pay-done__btn { margin-top: 30px; }
/* 실패 원인 박스 */
.pay-reason { margin-top: 20px; padding: 20px 24px; border: 1px solid #EAEAEA; border-radius: 12px; text-align: left; }
.pay-reason__title { margin:0 0 10px; font-size: 14px; font-weight: 700; color: var(--text-dark); }
.pay-reason ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.9; color: var(--text-default); }

/* 다른 플랜 둘러보기 배너 */
.plan-banner { position: relative; margin-top: 100px; height: 300px; border-radius:20px; overflow: hidden; }
.plan-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan-banner__inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.plan-banner__title { font-size: 36px; font-weight: 800; color: var(--text-dark); }
.plan-banner__desc { margin:5px 0 0; font-size: 15px; color:#333; }
.plan-banner__btn { display: inline-flex; align-items: center; gap: 8px; margin-top:30px; padding: 18px 20px 18px 30px; border-radius: 999px; background:#333; color: var(--text-white); font-size: 16px; font-weight: 600; }
.plan-banner__btn img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

/* =========================================================
   마이페이지 - 계정 관리 (account)
   ========================================================= */
.account-label { display: block; margin: 24px 0 14px; font-size: 17px; font-weight: 600; color: var(--text-dark); }
.account-pw { display: flex; align-items: center; gap: 20px; }
.account-pw > .input-box { flex: 1; min-width: 0; }
.account-pw__hint { flex: none; font-size: 13px; color: var(--text-light); white-space: nowrap; }
.account-pw__hint a { color: var(--text-dark); font-weight: 600; text-decoration: underline; }
.account-toggle { display: flex; align-items: center; gap: 14px; }
.account-toggle .toggle-pill { flex: none; }
.account-toggle__desc { font-size: 13px; line-height: 1.5; color: var(--text-gray); }
.account-id { margin-bottom: 0; }
.account-id .auth-field__help { margin-bottom: 0; }
/* 줄 간격 30 통일 (라벨 위 30, 필드/행 아래 마진 제거) */
.account-form .auth-field { margin-bottom: 0; }
.account-form .auth-row { margin-bottom: 0; }
.account-form .auth-field__label { margin-top: 30px; }
.account-mock { margin-top: 80px; padding-top: 40px; border-top: 1px dashed #CCCCCC; display: flex; flex-wrap: wrap; gap: 24px; }
.account-mock__label { width: 100%; margin: 0; font-size: 13px; color: var(--text-light); }

/* 결제 이메일 변경 카드 (중앙) */
.billing-card { width: 100%; max-width: 470px; margin: 0 auto; padding: 30px; border: 1px solid #EAEAEA; border-radius: 16px; }
.billing-card__head { padding: 20px 0 30px; border-bottom: 1px solid #EAEAEA; }
.billing-card__title { font-size: 32px; font-weight: 700; text-align: center; color: var(--text-dark); }
.billing-card__desc { margin:8px 0 0; font-size: 14px; line-height: 1.5; text-align: center; color: var(--text-gray); }
/* 항목 간 상하 간격 24 */
.billing-card .auth-field { margin-bottom: 0; }
.billing-card .auth-field__label { margin-top: 24px; }

/* =========================================================
   요금제 페이지 (pricing)
   ========================================================= */
.pricing-top { background: radial-gradient(120% 70% at 50% -15%, #E4EBFF 0%, #EEF2FF 32%, #FFFFFF 66%) no-repeat; padding: 100px 40px 60px; }
.pricing-hero { max-width: 1400px; margin: 0 auto; text-align: center; }
.pricing-hero__title { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -1px; color: var(--text-dark); }
.pricing-hero__sub { margin: 10px 0 0; font-size: 15px; color: var(--text-dark); }
.pricing-hero__toggle { display: inline-flex; margin: 40px 0 8px; }
.pricing-hero__save { font-size: 14px; font-weight: 600; color: var(--primary-color); }
.pricing-hero__save-yr { color: #222222; }
.pricing-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; max-width: 1400px; margin: 44px auto 0; }
.pricing-grid .pricing-card { flex: 1 1 0; min-width: 0; border: 1px solid #DCDCDC; transition: border-color .2s ease, box-shadow .2s ease; }
/* 평소 1px 회색, hover/active 시 빨간 테두리(2px) + 그림자 */
.pricing-grid .pricing-card--featured { border: 1px solid #DCDCDC; }
.pricing-grid .pricing-card--free { border-color: var(--text-black); }
.pricing-grid .pricing-card:hover { border: 2px solid var(--primary-color); box-shadow: 4px 4px 15px 0 rgba(0, 0, 0, 0.20); }
.pricing-grid .pricing-card.is-active { border: 1px solid #424242; }
.pricing-card__best { display: inline-block;height:21px;line-height:21px; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--primary-color); color: #fff; font-size: 11px; font-weight:500; vertical-align: middle; }
.pricing-enterprise { max-width: 1400px; margin: 40px auto 0; }

.pricing-compare { max-width: 1400px; margin: 0 auto; padding:60px 30px 120px; }
.pricing-compare__lead { margin: 0 0 6px; text-align: center; font-size: 18px; font-weight: 700; color: var(--primary-color); }
.pricing-compare__title { margin: 0 0 32px; text-align: center; font-size: 44px; font-weight: 800; letter-spacing: -1px; color: var(--text-dark); }

/* 비교표 (아코디언) */
.cmp__head-row, .cmp__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.cmp__head-row { background: #0E0E10; border-radius: 10px; overflow: hidden;border-radius: 20px; }
.cmp__head-row > div {height:72px;;line-height:72px; padding: 0 18px; text-align: center; font-size:20px; font-weight: 700; color: #fff; }
.cmp__group { border-bottom: 1px solid #EAEAEA; }
.cmp__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height:64px; padding: 16px 30px 16px 50px; margin-top:40px; background: #F5F6F8;border: 1px solid #EAEAEA; border-radius: 8px; font-family: inherit; font-size: 18px; font-weight: 700; color: var(--text-dark); cursor: pointer; }
.cmp__label { display: inline-flex; align-items: center; gap: 10px; }
.cmp__icon { width: 20px; height: 20px; flex: none; }
.cmp__toggle > img { width: 24px; height: 24px; transition: transform .2s; }
.cmp__group.is-open .cmp__toggle > img { transform: rotate(180deg); }
.cmp__rows { display: none; }
.cmp__group.is-open .cmp__rows { display: block; }
.cmp__row { border-bottom: 1px solid #F0F0F0; }
.cmp__rows .cmp__row:last-child { border-bottom: none; }
.cmp__row > div { padding: 20px 18px; text-align: center; font-size: 16px; color: #222222;font-weight: 500; }
.cmp__row > div:first-child { text-align: left; color: var(--text-gray); padding-left: 50px; }
.cmp-o, .cmp-x { line-height: 0; }
.cmp-o img, .cmp-x img { width: 24px; height: 24px; vertical-align: middle; }

/* =========================================================
   메인 히어로 (마퀴 갤러리)
   ========================================================= */
.hero { position: relative; background: #0E0E10; color: #fff; text-align: center; overflow: hidden; padding: 70px 20px 0; }
.hero__badge { display: inline-block; padding: 12px 15px; border: 1px solid var(--primary-color); border-radius: 999px; color: var(--primary-color); font-size: 15px; font-weight: 500; }
.hero__title { margin: 24px 0 0; font-size: 84px; font-weight: 800; line-height: 1.2; letter-spacing: -2px; }
.hero__title .thin { display: block; margin-bottom: 6px; font-size: 68px; font-weight:400; letter-spacing: -1px; color: #E5E5E5; }
.hero__sub { margin: 30px 0 0; font-size: 20px; font-weight:400; color: #fff; }
.hero__desc { margin: 10px 0 0; font-size: 13px; color: #7c7c7c; }
.hero__btns { display: flex; justify-content: center; gap: 12px; margin: 40px 0 0; }
.hero__btns .btn { width: auto; height: 64px; padding: 0 20px 0 30px; font-size: 18px; gap: 8px; }
.hero__btns .btn img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.hero__start { padding: 0 20px 0 30px; }
.hero__demo { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }

.hero-gallery { position: relative; width: 100vw; margin: 100px calc(50% - 50vw) 0; }
.hero-gallery::before, .hero-gallery::after { content: ""; position: absolute; top: 0; bottom: 0; width: 220px; z-index: 2; pointer-events: none; }
.hero-gallery::before { left: 0; background: linear-gradient(90deg, #0E0E10, transparent); }
.hero-gallery::after { right: 0; background: linear-gradient(270deg, #0E0E10, transparent); }
.hero-gallery__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 2; pointer-events: none; background: linear-gradient(0deg, #0E0E10, transparent); }
.hero-row { display: flex; gap: 20px; width: max-content; }
.hero-row + .hero-row { margin-top: 20px; }
.hero-row--1 { animation: heroMarqueeL 55s linear infinite; }
.hero-row--2 { opacity: .45; animation: heroMarqueeR 55s linear infinite; }
.hero-gallery:hover .hero-row { animation-play-state: paused; }
.hero-card { flex: none; width: 320px; height: 210px; border-radius: 16px; background-color: #26262A; background-size: cover; background-position: center; }
.hero-card--a { background-image: url('../src/images/bn_img01.png'); }
.hero-card--b { background-image: url('../src/images/bn_img02.png'); }
.hero-card--c { background-image: url('../src/images/bn_img03.png'); }
.hero-card--d { background-image: url('../src/images/bn_img04.png'); }
.hero-card--e { background-image: url('../src/images/bn_img05.png'); }
.hero-card--f { background-image: url('../src/images/bn_img01.png'); }
.hero-card--g { background-image: url('../src/images/bn_img02.png'); }
.hero-card--h { background-image: url('../src/images/bn_img03.png'); }
.hero-card--i6 { background-image: url('../src/images/bn_img06.png'); }
.hero-card--i7 { background-image: url('../src/images/bn_img07.png'); }
.hero-card--i8 { background-image: url('../src/images/bn_img08.png'); }
.hero-card--i9 { background-image: url('../src/images/bn_img09.png'); }
.hero-card--i10 { background-image: url('../src/images/bn_img10.png'); }
@keyframes heroMarqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes heroMarqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .hero-row { animation: none; } }

/* =========================================================
   메인 홈 - 하단 섹션들
   ========================================================= */
.home-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #1A1A1A; color: #fff; font-size: 20px; font-weight:500;line-height: 1.5; }
.home-tag--red { background: var(--primary-color); }
.home-tag--ghost { background: rgba(255,255,255,.18); color: #fff; }
.home-tag--black { background: #000; }
.home-h2 { margin: 18px 0 0; font-size: 58px; font-weight: 800; line-height: 1.3; letter-spacing: -2px; color: var(--text-dark); }
.home-lead { margin: 14px 0 0; font-size: 22px; line-height: 1.5; color: var(--text-gray); letter-spacing: -1px; }
.home-h2__hl { color: #ED1B23; }

/* 스크롤 진입 애니메이션 (헤더/푸터 제외 콘텐츠 — 아래→위 + 페이드) */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* 1. Solutions */
.home-solutions { max-width: 1400px; margin: 0 auto; padding: 160px 0; display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.home-solutions__head { flex: none; width: 460px; }
.home-prob { flex: none; display: grid; grid-template-columns: repeat(2, 446px); gap: 30px; }
.home-solutions .home-h2 { white-space: nowrap; }

/* 2. 뉴스레터 (다크) */
.home-news { position: relative; overflow: hidden; height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #373739; color: #fff; text-align: center; padding: 0 20px; }
.home-news::before { content: ""; position: absolute; inset: 0; background: url('../src/images/bg_newsletter.png') lightgray 50% / cover no-repeat; background-blend-mode: luminosity; opacity: .1; }
.home-news > * { position: relative; z-index: 1; }
.home-news__title { margin: 0; font-size: 40px; font-weight: 600; line-height: 140%; letter-spacing: -1.6px; }
.home-news__sub { margin: 16px 0 38px; font-size: 16px; color: rgba(255,255,255,.7); }
.home-news__form { display: flex; justify-content: center; gap: 0; width: max-content; max-width: 100%; margin: 0 auto; }
.home-news__form .input-box { flex: none; width: 400px; max-width: 100%; height: 68px; padding: 0 25px; border-radius: 8px 0 0 8px; }
.home-news__form .btn { width: auto; height: 68px; padding: 0 24px 0 30px; gap: 15px; background: #000; color: #fff; border-radius: 0 8px 8px 0; }
.home-news__form .btn:hover { background: #222; }
.home-news__form .input-box input { font-size: 17px; }
.home-news__form .btn img { width: 16px; height: 16px; }

/* 3. 비교표 (다크) */
.home-compare { background: #0E0E10; color: #fff; padding: 160px 0; }
.home-compare__inner { max-width: 1400px; margin: 0 auto; display: flex; gap: 50px; align-items: flex-start; }
.home-compare__head { flex: 1; min-width: 0; }
.home-compare__head .home-h2 { color: #fff; }
.home-compare__head .home-lead { color: rgba(255,255,255,.6); }
.home-cmp-scroll { flex: 0 1 922px; min-width: 0; }
.home-cmp { position: relative; display: grid; grid-template-columns: 4fr 2fr 2fr 2fr; width: 100%; max-width: 922px; }
.home-cmp__brandbox { position: absolute; top: -30px; bottom: -30px; left: calc(4 / 10 * 100%); width: calc(2 / 10 * 100%); background: rgba(255,255,255,.04); border: 2px solid var(--primary-color); border-radius: 24px; pointer-events: none; z-index: 2; }
.home-cmp__cell { display: flex; align-items: center; justify-content: center; height: 94px; font-size: 16px; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.08); }
.home-cmp__cell--label { justify-content: flex-start; padding-left: 64px; font-size: 20px; font-weight: 500; color: #fff; }
.home-cmp__cell--head { height: 80px; font-size: 20px; font-weight: 700; color: rgba(255,255,255,.8); border-bottom: none; background: #F14C52; }
.home-cmp__cell--head.home-cmp__cell--label { justify-content: center; padding-left: 0; }
.home-cmp__cell--head:first-child { border-radius: 100px 0 0 100px; }
.home-cmp__cell--head:nth-child(4) { border-radius: 0 100px 100px 0; }
.home-cmp__cell--head img { height: 28px; width: auto; }
.home-cmp__o, .home-cmp__x { width: 48px; height: 48px; }
.home-cmp__price { font-size: 22px; font-weight: 800; color: #fff; }
.home-cmp__price-sub { font-size: 16px; color: rgba(255,255,255,.45); }

/* 4. 핵심 기능 (라이트) */
.home-feature { background: #F9F9F9; padding: 160px 40px; text-align: center; }
.home-feature__inner { max-width: 1400px; margin: 0 auto; }
.home-feature__head { margin-bottom: 60px; }
.home-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
.home-feature .icon-feature { transition: border-color .2s, box-shadow .2s; }
.home-feature .icon-feature:hover { border-color: var(--primary-color); box-shadow: 4px 4px 15px 0 rgba(0,0,0,.20); }

/* 5. 프로토타입 (레드) */
.home-proto { background: var(--primary-color); color: #fff; }
.home-proto__inner { max-width: 1400px; margin: 0 auto; padding: 160px 0; display: flex; gap: 50px; align-items: stretch; }
.home-proto__head { flex: none; width: 470px; }
.home-proto__head .home-h2, .home-proto__head .home-lead { color: #fff; }
.home-proto__head .home-h2 { font-weight: 400; white-space: nowrap; }
.home-proto__head .home-h2 strong { font-weight: 800; }
.home-proto__head .home-lead { color: rgba(255,255,255,.85); }
.home-proto__cards { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 448px)); grid-template-rows: 1fr; justify-content: end; gap: 30px; }
.home-proto__card { display: flex; flex-direction: column; padding: 60px; border-radius: 16px; background: #fff; }
.home-proto__card--ghost { background: rgba(255,255,255,.12); }
.home-proto__card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 40px; }
.home-proto__card-top img { width: 40px; height: 40px; }
.home-proto__card h4 { margin: 0 0 18px; font-size: 26px; font-weight: 700; line-height: 1.5; color: var(--text-dark);letter-spacing: -1px; }
.home-proto__card--ghost h4 { color: #fff; }
.home-proto__card-desc { margin: 0 0 40px; font-size: 14px; color: var(--text-gray); }
.home-proto__card--ghost .home-proto__card-desc { color: rgba(255,255,255,.7); }
.home-proto__card .btn { align-self: flex-start; width:auto; margin-top: auto;height:64px; padding: 20px 20px 20px 25px; gap: 10px; }

/* 6. 시작 CTA (다크) */
.home-cta { background: #0E0E10; color: #fff; padding:0; }
.home-cta__inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.home-cta__badges { position: relative; flex: 1; align-self: stretch; }
.home-cta__badges .home-tag { position: absolute; padding: 13px 34px; opacity: 0; transform: translateY(16px) rotate(0deg); animation: ctaFadeUp .6s ease both; animation-play-state: paused; }
.home-cta__badges .home-tag:nth-child(1) { left: 140px; top: 100px; --rot: 8.941deg; font-size: 32px; background: rgba(255,255,255,.08); animation-delay: .15s;letter-spacing: -1.5px; }
.home-cta__badges .home-tag:nth-child(2) { left: 0; top: 184px; --rot: -4.212deg; font-size: 56px; animation-delay: .3s; letter-spacing: -2.5px;}
.home-cta__badges .home-tag:nth-child(3) { left: 240px; top: 275px; --rot: 6.022deg; font-size: 40px; background: #fff; color: var(--primary-color); animation-delay: .45s;letter-spacing: -2px; }
.home-cta__play { position: absolute; left: 427px; top: 83px; width: 113px; height: auto; opacity: 0; transform: translate(-28px, 28px); animation: ctaPlayIn .6s ease both; animation-play-state: paused; }
/* 스크롤로 CTA 진입 시 배지·플레이 애니메이션 재생 */
.home-cta.is-in .home-cta__badges .home-tag,
.home-cta.is-in .home-cta__play { animation-play-state: running; }
@keyframes ctaFadeUp { from { opacity: 0; transform: translateY(16px) rotate(0deg); } to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); } }
@keyframes ctaPlayIn { from { opacity: 0; transform: translate(-28px, 28px); } to { opacity: 1; transform: translate(0, 0); } }
.home-cta__body { flex: 0 0 50%; text-align: left; padding: 135px 0 125px; }
.home-cta__title { margin: 0; font-size: 48px; font-weight: 800; letter-spacing: -1px; }
.home-cta__sub { margin: 14px 0 36px; font-size: 17px; color: rgba(255,255,255,.6); }
.home-cta__btns { display: flex; justify-content: flex-start; gap: 12px; }
.home-cta__btns .btn { width: auto; height: auto; line-height: 1; padding: 24px 36px 24px 44px; gap: 10px; }
.home-cta__btns .btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.home-cta__btns .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.home-cta__btns .btn:first-child { background: #424242; border-color: #424242; }
.home-cta__btns .btn:first-child:hover { background: #5a5a5a; border-color: #5a5a5a; }

/* =========================================================
   약관 / 정책 (legal)
   ========================================================= */
.legal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.legal-head__title { font-size: 36px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
.legal-rev { flex: none; width: 180px; }
.legal-divider { margin: 0 0 24px; border: 0; border-top: 2px solid #222; }
.legal-box { padding: 30px; border: 1px solid #EAEAEA; border-radius: 12px; }
.legal-list { margin: 0; padding-left: 22px; }
.legal-list > li { font-size: 15px; line-height: 1.8; color: var(--text-default); }
.legal-list ul { margin: 2px 0; padding-left: 22px; }
.legal-list ul li { font-size: 15px; line-height: 1.8; color: var(--text-default); }
.legal-after { margin: 30px 0 0; border: 0; border-top: 1px solid #EAEAEA; }

/* =========================================================
   Responsive (1024 / 768 / 375)
   ========================================================= */
@media (min-width: 1281px) and (max-width: 1440px) {
    /* 가로 2단 유지 구간: 좌측 타이틀 줄바꿈 + 콘텐츠 축소로 끼임 방지 */
    .home-solutions .home-h2, .home-proto__head .home-h2 { white-space: normal; }
    .home-solutions__head, .home-proto__head { min-width: 0; }
    .home-prob { flex: 1; min-width: 0; grid-template-columns: repeat(2, minmax(0, 446px)); }
}

@media (max-width: 1400px) {
    .mysite { padding-left: 40px; padding-right: 40px; }
    .gfooter__cols { flex-wrap: wrap; }
}

@media (max-width: 1280px) {
    /* 타이틀-좌측 2단 섹션: 1280 이하부터 세로 스택(타이틀 상단) — 1024~1440 끼임 방지 */
    .home-solutions, .home-compare__inner, .home-proto__inner { flex-direction: column; align-items: center; gap: 32px; padding-left: 40px; padding-right: 40px; }
    .home-solutions__head, .home-compare__head, .home-proto__head { width: auto; text-align: center; }
    /* 세로 스택에서는 제목/설명의 <br> 숨기고 자동 줄바꿈 허용(좁으면 자연 줄바꿈) */
    .home-h2 br, .home-lead br { display: none; }
    .home-solutions .home-h2, .home-proto__head .home-h2 { white-space: normal; }
    /* 세로 스택에서 스크롤 컨테이너가 922px '높이'로 잡혀 표 아래 빈 공간 생기는 것 방지 */
    .home-compare__inner .home-cmp-scroll { flex: none; width: 100%; }
    /* 표를 스크롤 영역 안에서 가운데 정렬 */
    .home-compare__inner .home-cmp { margin: 0 auto; }

    /* 시작 CTA: 세로 스택 + 배지 절대배치 해제(일반 흐름) + 가운데 정렬 */
    .home-cta { padding: 80px 40px; }
    .home-cta__inner { flex-direction: column; align-items: center; gap: 36px; }
    .home-cta__badges { position: static; flex: none; align-self: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .home-cta__inner .home-cta__badges .home-tag { position: static; left: auto; top: auto; transform: none; opacity: 1; animation: none; font-size: 20px; padding: 10px 20px; letter-spacing: normal; }
    .home-cta__play { display: none; }
    .home-cta__body { flex: none; width: 100%; padding: 0; text-align: center; }
    .home-cta__btns { justify-content: center; }
}

@media (max-width: 1024px) {
    /* 공통 레이아웃 (GNB는 .mnav 컴포넌트로 대체 — 하단 Mobile Nav 참조) */
    .mysite { padding: 48px 40px 120px; }
    .gfooter { min-width: 0; padding: 48px 40px; }
    .gfooter__cols { gap: 40px; flex-wrap: wrap; }

    /* 카드/그리드 */
    .paysum { grid-template-columns: repeat(2, 1fr); }
    .stat-cards { gap: 10px; }
    .stat-card { gap: 16px; padding: 0 24px; }
    .stat-card__num { font-size: 30px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .site-grid { grid-template-columns: 1fr; }

    /* 요금제: 카드 간격 축소 + 가격 숫자 축소 + 좌우패딩 축소 */
    .pricing-grid { gap: 10px; }
    .pricing-card { padding: 30px 20px; }
    .pricing-card__price .won { font-size: 20px; }
    .pricing-card__price .amount { font-size: 26px; }
    .pricing-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .pricing-row__value { margin-left: 24px; }
    .pricing-ai { flex-direction: column; align-items: flex-start; gap: 2px; }
    .pricing-ai__value { margin-left: 28px; }
    /* 요금제: 엔터프라이즈 세로 */
    .enterprise { flex-direction: column; align-items: stretch; }
    .enterprise__intro { width: auto; }

    /* 핵심기능 그리드: 2열 */
    .home-feat-grid { grid-template-columns: repeat(2, 1fr); }

    /* 인증/에러/결제 */
    .auth-main { padding: 60px 20px 100px; }
    .checkout-page { padding: 48px 20px 100px; }
    /* 에러 페이지: 세로 스택 + 이미지 축소 */
    .error-page { flex-direction: column; align-items: center; gap: 24px; padding: 48px 24px; text-align: center; overflow-x: hidden; }
    .error-page__content { flex: none; width: 100%; max-width: 420px; }
    .error-page__title { margin-top: 32px; font-size: 34px; }
    .error-page--gray .error-page__title { font-size: 30px; }
    .error-page__img,
    .error-page--gray .error-page__img { width: auto; max-width: 100%; height: 360px; }
}

@media (max-width: 768px) {

    /* 본문 컨테이너 */
    .mysite { padding: 32px 20px 80px; }
    .mysite__head { margin-bottom: 28px; }
    .mysite__title { font-size: 28px; }

    /* 푸터 세로 스택 */
    .gfooter { padding: 40px 20px; }
    .gfooter__top { flex-direction: column; }
    .gfooter__cols { gap: 28px 40px; }
    .gfooter__col-title { font-size: 17px; margin-bottom: 14px; }

    /* 결제 요약 */
    .paysum { grid-template-columns: repeat(2, 1fr); }
    .stat-cards { grid-template-columns: 1fr; }

    /* 테이블: 가로 스크롤로 보존 */
    .pay-block { overflow-x: auto; }
    .data-table { min-width: 680px; }
    .table-filter { flex-wrap: wrap; }
    .table-filter .table-filter__search { width: 100%; margin-left: 0; }

    /* 문의 폼: th 폭 축소 */
    .info-table__th { width: 96px; padding: 12px; font-size: 13px; }
    .info-table__td { padding-left: 12px; }

    /* 약관/정책 */
    .legal-head { flex-direction: column; }
    .legal-head__title { font-size: 26px; }
    .legal-box { padding: 24px 18px; }

    /* 홈 하단 섹션 */
    .home-solutions { padding: 60px 20px; }
    .home-prob { grid-template-columns: 1fr; }
    .home-feature, .home-compare { padding: 60px 20px; }
    .home-feat-grid { grid-template-columns: 1fr; }
    .home-proto__inner { padding: 60px 20px; }
    .home-proto__cards { grid-template-columns: 1fr; }
    .home-h2, .home-cta__title, .home-news__title { font-size: 28px; }
    .home-cta__btns { flex-direction: column; align-items: center; }
    .home-cta__badges { flex-wrap: wrap; }
    .home-news { height: auto; padding: 70px 20px; }
    .home-news__form { flex-direction: column; }
    .home-news__form .btn { width: 100%; }
    .home-news__form .input-box, .home-news__form .btn { border-radius: 0; }

    /* 메인 히어로 */
    .hero { padding: 48px 16px 0; }
    .hero__title { font-size: 36px; }
    .hero__title .thin { font-size: 26px; }
    .hero__sub { font-size: 16px; }
    .hero__btns { flex-direction: column; align-items: center; }
    .hero__btns .btn { width: 100%; max-width: 280px; }
    .hero-card { width: 220px; height: 140px; }
    .hero-gallery::before, .hero-gallery::after { width: 80px; }

    /* 이용상품 상태 레퍼런스: 카드 1열 */
    .state-ref { padding: 40px 20px 80px; }
    .state-ref__cards { grid-template-columns: 1fr; }

    /* 2단 행 세로 스택 (성/이름·새비번·마케팅 등) */
    .auth-row { flex-direction: column; gap: 16px; }

    /* 계정 관리: 결제수단 카드 세로 스택, 비번행 스택 */
    .pay-list { padding: 20px 16px; }
    .pay-card { flex-direction: column; align-items: stretch; gap: 14px; }
    .pay-card__thumb { width: 100%; height: 150px; }
    .pay-card__actions { width: 100%; }
    .pay-card__actions .btn { flex: 1; width: auto; }
    .account-pw { flex-direction: column; align-items: stretch; gap: 10px; }
    .account-pw > .input-box { flex: none; }
    .account-pw__hint { white-space: normal; }
    .account-toggle { align-items: flex-start; }

    /* 사이트 카드: 내부 콘텐츠 세로 스택 */
    .site-card__row { flex-direction: column; align-items: stretch; gap: 16px; }
    .site-card__title { white-space: normal; }
    .site-card__aside { flex-direction: column; align-items: stretch; gap: 16px; }
    .site-card__info { flex-direction: column; align-items: flex-end; gap: 12px; }
    .site-card__actions { width: 100%; }
    .site-card__actions .btn { width: 100%; }

    /* 문의 리스트/검색 */
    .qna-toolbar .input-box { width: 100%; }
    .qna-item { padding: 28px 16px; }
    .qna-item__title { font-size: 20px; }

    /* 문의 상세 */
    .post-item { padding: 0 4px 24px 8px; }
    .post-item__title { font-size: 22px; }
    .inq-body__box { height: 240px; }
    .download-item { flex-wrap: wrap; }
    .download-item__name { flex-basis: 100%; }
    .review-box { padding: 20px 16px; }
    .comment__body, .comment__deleted { padding-left: 0; }
    .reply-editor { margin-left: 0; }

    /* 요금제 */
    .pricing-top { padding: 48px 20px 60px; }
    .pricing-hero__title { font-size: 26px; }
    .pricing-grid .pricing-card { flex: 0 0 calc(50% - 5px); max-width: calc(50% - 5px); }
    .enterprise__features { grid-template-columns: 1fr; }
    .pricing-compare { padding: 60px 16px 80px; }
    .pricing-compare__lead { font-size: 15px; }
    .pricing-compare__title { font-size: 24px; margin-bottom: 24px; }
    .cmp { overflow-x: auto; }
    .cmp__head-row, .cmp__row, .cmp__toggle { min-width: 600px; }
    .cmp__head-row > div { height: 52px; line-height: 52px; padding: 0 12px; font-size: 16px; }
    .cmp__toggle { height: 52px; margin-top: 24px; padding: 12px 18px 12px 20px; font-size: 15px; }
    .cmp__row > div { padding: 14px 12px; font-size: 14px; }
    .cmp__row > div:first-child { padding-left: 20px; }
    .cmp__icon { width: 18px; height: 18px; }
    .cmp-o img, .cmp-x img { width: 20px; height: 20px; }

    /* 인증/에러/결제 */
    .auth-header { height: 64px; padding: 0 20px; }
    .auth-header__logo { width: 76px; }
    .auth-main { padding: 40px 16px 72px; }
    .auth-main--dual { flex-direction: column; gap: 32px; }
    .auth-main--dual .auth-card { width: 100%; }
    /* 입력+버튼 인라인(도메인 중복체크 등) → 세로 스택 */
    .auth-inline { flex-direction: column; align-items: stretch; }
    .auth-inline > .input-box { flex: none; height: 48px; }
    .auth-inline > .auth-sendbtn { width: 100%; height: 48px; }
    .checkout-page { padding: 32px 16px 72px; }
    /* 에러 페이지 */
    .error-page { padding: 40px 20px; }
    .error-page__logo { width: 100px; }
    .error-page__title { margin-top: 24px; font-size: 28px; }
    .error-page--gray .error-page__title { font-size: 26px; }
    .error-page__subtitle { font-size: 20px; }
    .error-page__time { font-size: 18px; }
    .error-page__btn { margin-top: 32px; }
    .error-page__img,
    .error-page--gray .error-page__img { height: 280px; }

    /* 배너 */
    .plan-banner { margin-top: 60px; height: 240px; }
    .plan-banner__title { font-size: 26px; }
}

@media (max-width: 480px) {
    /* 요금제 카드 1열 */
    .pricing-grid .pricing-card { flex-basis: 100%; max-width: 360px; }

    /* 결제요약 카드 1열 */
    .paysum { grid-template-columns: 1fr; }

    /* 결제: 수수료만 아랫줄로 + 구독정보 줄바꿈 */
    .plan-summary__top { flex-wrap: wrap; }
    .plan-summary__fee { flex: 0 0 100%; margin-left: 0; }
    .plan-summary__info { flex-direction: column; align-items: flex-start; gap: 12px; }
    .plan-info { text-align: left; }

    /* 경쟁력 표: 글자·아이콘 축소(깨짐 방지) */
    .home-cmp__cell { height: 64px; font-size: 12px; }
    .home-cmp__cell--label { padding-left: 14px; font-size: 13px; }
    .home-cmp__cell--head { height: 56px; font-size: 13px; }
    .home-cmp__cell--head img { height: 18px; }
    .home-cmp__o, .home-cmp__x { width: 26px; height: 26px; }
    .home-cmp__price { font-size: 13px; }
    .home-cmp__price-sub { font-size: 11px; }
}

@media (max-width: 450px) {
    /* 결제 정보: 카드 등록하기 버튼 줄바꿈 */
    .checkout__card-box { flex-wrap: wrap; }
    .checkout__card-box .btn { margin-left: 0; }
}

@media (max-width: 375px) {
    .mysite { padding: 24px 14px 56px; }
    .mysite__title { font-size: 24px; }

    .paysum__value { font-size: 28px; }
    .stat-card { padding: 0 16px; gap: 12px; }
    .stat-card__num { font-size: 26px; }

    /* 문의 */
    .post-item__title { font-size: 20px; }
    .qna-item__title { font-size: 18px; }
    .qna-item__excerpt { font-size: 14px; }
    .review-box { padding: 16px 12px; }

    /* 푸터 */
    .gfooter__cols { flex-direction: column; gap: 20px; }
    .plan-banner__title { font-size: 22px; }

    /* 문의 폼: th 폭 추가 축소 */
    .info-table__th { width: 76px; padding: 10px 8px; }

    /* 결제 이메일 변경 카드 */
    .billing-card { padding: 28px 20px; }
    .billing-card__title { font-size: 26px; }

    /* 에러 페이지 */
    .error-page__title { font-size: 24px; }
    .error-page--gray .error-page__title { font-size: 22px; }
    .error-page__desc { font-size: 14px; }
    .error-page__btn { margin-top: 28px; }
    .error-page__img,
    .error-page--gray .error-page__img { height: 220px; }
}

/* =========================================================
   Mobile Nav (≤1024 전용 독립 컴포넌트)
   ========================================================= */
.mnav { display: none; }
@media (max-width: 1024px) {
    /* PC GNB 숨김 → 모바일 전용 네비 사용 */
    .gnb { display: none; }
    .mnav { display: block; position: sticky; top: 0; z-index: 100; background: var(--btn-dark); color: #fff; }

    /* 상단 바 */
    .mnav__bar { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 20px; }
    .mnav__logo { flex: none; display: flex; align-items: center; }
    .mnav__logo img { display: block; width: 80px; height: auto; }
    .mnav__cta { padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--text-dark); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background-color .15s ease; }
    .mnav__cta:hover { background: #E6E6E6; }
    .mnav__toggle { margin-left: auto; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; padding: 0; background: none; border: none; cursor: pointer; }
    .mnav__toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
    .mnav.is-open .mnav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mnav.is-open .mnav__toggle span:nth-child(2) { opacity: 0; }
    .mnav.is-open .mnav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* 드로어 패널 */
    .mnav__panel { position: absolute; top: 64px; left: 0; right: 0; z-index: 100; background: var(--btn-dark); overflow: hidden; max-height: 0; opacity: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); transition: max-height .35s ease, opacity .25s ease, padding .35s ease; }
    .mnav.is-open .mnav__panel { max-height: 80vh; opacity: 1; padding: 4px 0 20px; }

    /* 1차 메뉴 (밑줄은 좌우 꽉, 패딩은 줄 안쪽) */
    .mnav__item { display: flex; align-items: center; width: 100%; padding: 14px 20px; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); background: none; color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
    .mnav__chev { width: 16px; height: 16px; margin-left: auto; transition: transform .2s; filter: brightness(0) invert(1); }
    .mnav__group.is-open .mnav__chev { transform: rotate(180deg); }

    /* 서브메뉴 아코디언 */
    .mnav__sub { overflow: hidden; max-height: 0; margin: 0; padding: 0 20px 0 34px; transition: max-height .3s ease, margin .3s ease, padding .3s ease; }
    .mnav__group.is-open .mnav__sub { max-height: 320px; margin: 20px 0 10px; padding: 0 20px 8px 34px; }
    .mnav__sub a { display: block; font-size: 14px; color: #A0A0A0; }
    .mnav__sub a + a { margin-top: 12px; }

    /* 유틸 (한국어/문의하기/로그인 한 줄, 중앙정렬) */
    .mnav__util { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; padding: 0 20px; }
    .mnav__util-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #fff; cursor: pointer; }
    .mnav__util-item img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
}

/* =========================================================
   Mobile Footer (≤768 전용 독립 컴포넌트)
   ========================================================= */
.mfooter { display: none; }
@media (max-width: 768px) {
    /* PC 푸터 숨김 → 모바일 전용 푸터 사용 */
    .gfooter { display: none; }
    .mfooter { display: block; background: var(--btn-dark); color: #fff; padding: 32px 20px 40px; }

    /* 메뉴 그룹 (일렬 + 아코디언) */
    .mfooter__group { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
    .mfooter__head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; background: none; border: none; color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
    .mfooter__chev { width: 16px; height: 16px; transition: transform .2s; filter: brightness(0) invert(1); }
    .mfooter__group.is-open .mfooter__chev { transform: rotate(180deg); }
    .mfooter__sub { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
    .mfooter__group.is-open .mfooter__sub { max-height: 320px; }
    .mfooter__sub a { display: block; padding: 9px 0 9px 4px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }
    .mfooter__sub a:last-child { padding-bottom: 18px; }

    /* 소셜 / 브랜드 / 태그라인 */
    .mfooter__social { display: flex; gap: 6px; margin-top: 24px; }
    .mfooter__social img { width: 40px; height: 40px; }
    .mfooter__brand { margin-top: 28px; }
    .mfooter__brand img { display: block; width: 100px; height: auto; opacity: 0.15; }
    .mfooter__tagline { margin-top: 10px; font-size: 12px; line-height: 1.6; color: #4E4E4E; }
}
