.hm-support-page {
    color: var(--hm-navy);
    background: var(--hm-paper);
}

.hm-support-hero {
    padding: 82px 0 92px;
    background: var(--hm-surface-blue);
}

.hm-support-hero__inner,
.hm-support-heading {
    text-align: center;
}

.hm-support-eyebrow,
.hm-support-heading > span,
.hm-support-heading > div > span,
.hm-support-contact__copy > span {
    display: inline-flex;
    color: var(--hm-brand);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.025em;
}

.hm-support-hero h1,
.hm-support-heading h2,
.hm-support-contact h2 {
    color: var(--hm-heading);
    font-family: "Noto Sans KR", "Noto Sans Korean", "Malgun Gothic", sans-serif;
    font-size: 37px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.045em;
    word-break: keep-all;
}

.hm-support-hero h1 {
    margin: 18px 0 0;
}

.hm-support-hero__inner > p {
    max-width: 810px;
    margin: 22px auto 0;
    color: #172b44;
    font-size: 18px;
    line-height: 1.75;
    letter-spacing: -.035em;
    word-break: keep-all;
}

.hm-support-search {
    display: grid;
    width: min(100%, 760px);
    height: 62px;
    grid-template-columns: minmax(0, 1fr) 112px;
    margin: 34px auto 0;
    padding: 5px;
    border: 1px solid #c9d5e4;
    border-radius: 12px;
    background: var(--hm-paper);
    box-shadow: 0 14px 34px rgba(6, 55, 104, .08);
}

.hm-support-search input {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    color: #172b44;
    background: transparent;
    font: inherit;
    font-size: 16px;
}

.hm-support-search input::placeholder {
    color: #7b8797;
}

.hm-support-search:focus-within {
    border-color: var(--hm-brand);
    box-shadow: 0 0 0 3px rgba(6, 55, 104, .1), 0 14px 34px rgba(6, 55, 104, .08);
}

.hm-support-search button {
    display: inline-flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: var(--hm-paper);
    background: var(--hm-brand);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.hm-support-search button i {
    position: relative;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.hm-support-search button i::after {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 2px;
    background: currentColor;
    content: "";
    transform: rotate(45deg);
}

.hm-support-shortcuts {
    padding: 0 0 18px;
    background: var(--hm-paper);
}

.hm-support-shortcuts__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    transform: translateY(-34px);
}

.hm-support-shortcuts__grid > a {
    position: relative;
    min-height: 164px;
    padding: 28px 54px 26px 28px;
    border: 1px solid #d7e0eb;
    border-radius: 14px;
    background: var(--hm-paper);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .07);
}

.hm-support-shortcuts__grid > a > span {
    color: var(--hm-brand);
    font-size: 14px;
    font-weight: 700;
}

.hm-support-shortcuts__grid strong {
    display: block;
    margin-top: 12px;
    color: var(--hm-heading);
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
}

.hm-support-shortcuts__grid p {
    margin: 10px 0 0;
    color: var(--hm-copy);
    font-size: 15.5px;
    line-height: 1.65;
    letter-spacing: -.03em;
}

.hm-support-shortcuts__grid i {
    position: absolute;
    top: 50%;
    right: 24px;
    color: var(--hm-brand);
    font-size: 20px;
    font-style: normal;
    transform: translateY(-50%);
}

.hm-support-shortcuts__grid > a:hover,
.hm-support-resource-grid > a:hover {
    border-color: #93a9c2;
    transform: translateY(-2px);
}

.hm-support-section.hm-support-section--updates {
    padding-top: 78px;
    background: #f5f8fc;
    scroll-margin-top: 92px;
}

.hm-support-heading--updates {
    position: relative;
    max-width: none;
}

.hm-support-heading--updates > div {
    max-width: 820px;
    margin: 0 auto;
}

.hm-support-heading--updates > a {
    position: absolute;
    right: 0;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--hm-brand);
    font-size: 16px;
    font-weight: 600;
}

.hm-support-heading--updates > a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hm-support-update-list {
    margin-top: 46px;
    overflow: hidden;
    border: 1px solid #d5deea;
    border-radius: 14px;
    background: var(--hm-paper);
}

.hm-support-update {
    display: grid;
    min-height: 116px;
    grid-template-columns: 210px minmax(0, 1fr) 96px 24px;
    gap: 26px;
    align-items: center;
    padding: 24px 28px;
    border-top: 1px solid #e1e7ef;
    color: #172b44;
    transition: background-color .18s ease;
}

.hm-support-update:first-child {
    border-top: 0;
}

.hm-support-update:hover {
    background: #f9fbfe;
}

.hm-support-update.is-important {
    background: #f8fbff;
}

.hm-support-update.is-important:hover {
    background: #f2f7fd;
}

.hm-support-update__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hm-support-update__badges span {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #cbd7e5;
    border-radius: 999px;
    color: var(--hm-copy);
    background: var(--hm-paper);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.hm-support-update__badges .hm-support-update__important {
    border-color: var(--hm-brand);
    color: var(--hm-paper);
    background: var(--hm-brand);
}

.hm-support-update__body {
    min-width: 0;
}

.hm-support-update__body strong {
    display: block;
    overflow: hidden;
    color: var(--hm-heading);
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-support-update__body p {
    margin: 7px 0 0;
    overflow: hidden;
    color: var(--hm-copy);
    font-size: 15.5px;
    line-height: 1.55;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-support-update time {
    color: #64748b;
    font-size: 14px;
    text-align: right;
}

.hm-support-update > i {
    color: var(--hm-brand);
    font-size: 20px;
    font-style: normal;
    text-align: right;
}

.hm-support-update-all {
    display: none;
}

.hm-support-update-empty {
    margin-top: 46px;
    padding: 42px 24px;
    border: 1px solid #d5deea;
    border-radius: 14px;
    background: var(--hm-paper);
    text-align: center;
}

.hm-support-update-empty strong {
    color: var(--hm-heading);
    font-size: 19px;
    font-weight: 500;
}

.hm-support-update-empty p {
    margin: 8px 0 0;
    color: #526278;
    font-size: 15.5px;
    line-height: 1.6;
}

.hm-support-section {
    padding: 88px 0 96px;
    background: var(--hm-paper);
}

.hm-support-section--faq {
    background: #f5f8fc;
}

.hm-support-section--resources {
    background: var(--hm-paper);
}

.hm-support-heading {
    max-width: 820px;
    margin: 0 auto;
}

.hm-support-heading h2 {
    margin: 16px 0 0;
}

.hm-support-heading > p,
.hm-support-heading--row > p,
.hm-support-heading--updates > div > p {
    margin: 18px 0 0;
    color: #334155;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: -.035em;
    word-break: keep-all;
}

.hm-support-heading--row {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: 54px;
    align-items: end;
    text-align: left;
}

.hm-support-heading--row > p {
    margin: 0 0 8px;
}

.hm-support-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.hm-support-guide-grid article {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--hm-border);
    border-radius: 14px;
    background: var(--hm-paper);
}

.hm-support-guide-grid em {
    color: var(--hm-brand);
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
}

.hm-support-guide-grid h3 {
    margin: 16px 0 0;
    color: var(--hm-heading);
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.04em;
}

.hm-support-guide-grid article > p {
    margin: 12px 0 0;
    color: var(--hm-copy);
    font-size: 15.5px;
    line-height: 1.7;
    letter-spacing: -.03em;
}

.hm-support-guide-grid ul {
    margin: 20px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--hm-border-soft);
    list-style: none;
}

.hm-support-guide-grid li {
    position: relative;
    margin-top: 8px;
    padding-left: 15px;
    color: #172b44;
    font-size: 15.5px;
    line-height: 1.55;
}

.hm-support-guide-grid li::before {
    position: absolute;
    top: .65em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hm-brand);
    content: "";
}

.hm-support-guide-grid article > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--hm-brand);
    font-size: 15px;
    font-weight: 600;
}

.hm-support-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.hm-support-categories button {
    height: 42px;
    padding: 0 18px;
    border: 1px solid #cdd7e3;
    border-radius: 999px;
    color: var(--hm-copy);
    background: var(--hm-paper);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.hm-support-categories button[aria-pressed="true"] {
    border-color: var(--hm-brand);
    color: var(--hm-paper);
    background: var(--hm-brand);
}

.hm-support-faq-list {
    max-width: 960px;
    margin: 30px auto 0;
    overflow: hidden;
    border: 1px solid var(--hm-border);
    border-radius: 14px;
    background: var(--hm-paper);
}

.hm-support-faq-item {
    border-top: 1px solid var(--hm-border-soft);
}

.hm-support-faq-item:first-child {
    border-top: 0;
}

.hm-support-faq-item[hidden] {
    display: none;
}

.hm-support-faq-item summary {
    position: relative;
    display: grid;
    min-height: 74px;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
    padding: 18px 24px;
    color: #111827;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -.035em;
    cursor: pointer;
    list-style: none;
}

.hm-support-faq-item summary::-webkit-details-marker {
    display: none;
}

.hm-support-faq-item__q {
    color: var(--hm-brand);
    font-family: Pretendard, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.hm-support-faq-item summary i,
.hm-support-faq-item summary i::after {
    position: absolute;
    width: 14px;
    height: 1px;
    background: var(--hm-brand);
    content: "";
}

.hm-support-faq-item summary i {
    position: relative;
    justify-self: end;
}

.hm-support-faq-item summary i::after {
    transform: rotate(90deg);
}

.hm-support-faq-item[open] summary i::after {
    transform: rotate(0);
}

.hm-support-faq-item[open] summary {
    color: var(--hm-brand);
    background: #f8fbff;
}

.hm-support-faq-item__answer {
    padding: 0 68px 24px;
    background: #f8fbff;
}

.hm-support-faq-item__answer p {
    margin: 0;
    color: var(--hm-copy);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: -.025em;
    word-break: keep-all;
}

.hm-support-empty {
    max-width: 960px;
    margin: 30px auto 0;
    padding: 34px;
    border: 1px solid var(--hm-border);
    border-radius: 12px;
    color: #596779;
    background: var(--hm-paper);
    text-align: center;
}

.hm-support-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.hm-support-resource-grid > a {
    position: relative;
    min-height: 142px;
    padding: 26px 54px 26px 26px;
    border: 1px solid var(--hm-border);
    border-radius: 12px;
    background: var(--hm-paper);
}

.hm-support-resource-grid span {
    color: var(--hm-brand);
    font-size: 14px;
    font-weight: 600;
}

.hm-support-resource-grid strong {
    display: block;
    margin-top: 12px;
    color: var(--hm-heading);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.hm-support-resource-grid i {
    position: absolute;
    top: 50%;
    right: 22px;
    color: var(--hm-brand);
    font-size: 20px;
    font-style: normal;
    transform: translateY(-50%);
}

.hm-support-contact {
    padding: 82px 0;
    color: var(--hm-paper);
    background: var(--hm-navy);
}

.hm-support-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 80px;
    align-items: center;
}

.hm-support-contact__copy > span {
    color: #c9d9ec;
}

.hm-support-contact h2 {
    margin: 16px 0 0;
    color: var(--hm-paper);
}

.hm-support-contact__copy p {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--hm-input-border);
    font-size: 17px;
    line-height: 1.7;
}

.hm-support-contact__checklist {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

.hm-support-contact__checklist > strong {
    font-size: 18px;
    font-weight: 600;
}

.hm-support-contact__checklist ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.hm-support-contact__checklist li {
    position: relative;
    margin-top: 8px;
    padding-left: 18px;
    color: #dbe4f0;
    font-size: 15.5px;
    line-height: 1.6;
}

.hm-support-contact__checklist li::before {
    position: absolute;
    top: .65em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hm-paper);
    content: "";
}

.hm-support-contact__checklist a {
    display: flex;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    border-radius: 9px;
    color: var(--hm-navy);
    background: var(--hm-paper);
    font-size: 17px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .hm-support-shortcuts__grid,
    .hm-support-guide-grid,
    .hm-support-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-support-resource-grid > a:last-child {
        grid-column: 1 / -1;
    }

    .hm-support-update {
        grid-template-columns: 176px minmax(0, 1fr) 88px 20px;
        gap: 18px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .hm-support-heading--updates {
        padding-bottom: 48px;
    }

    .hm-support-heading--updates > a {
        right: 50%;
        bottom: 0;
        transform: translateX(50%);
    }

    .hm-support-contact__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .hm-support-hero {
        padding: 52px 0 70px;
    }

    .hm-support-eyebrow,
    .hm-support-heading > span,
    .hm-support-heading > div > span,
    .hm-support-contact__copy > span {
        font-size: 16px;
    }

    .hm-support-hero h1,
    .hm-support-heading h2,
    .hm-support-contact h2 {
        font-size: 28px;
        line-height: 1.4;
        letter-spacing: -.04em;
    }

    .hm-support-hero h1 {
        margin-top: 14px;
    }

    .hm-support-hero__inner > p,
    .hm-support-heading > p,
    .hm-support-heading--row > p,
    .hm-support-heading--updates > div > p,
    .hm-support-contact__copy p {
        margin-top: 16px;
        font-size: 15.5px;
        line-height: 1.7;
    }

    .hm-support-search {
        height: 56px;
        grid-template-columns: minmax(0, 1fr) 76px;
        margin-top: 26px;
        padding: 4px;
        border-radius: 10px;
    }

    .hm-support-search input,
    .hm-support-search button {
        height: 46px;
        font-size: 15px;
    }

    .hm-support-search input {
        padding: 0 12px;
    }

    .hm-support-search button {
        gap: 0;
        padding: 0 12px;
    }

    .hm-support-search button i {
        display: none;
    }

    .hm-support-shortcuts {
        padding-bottom: 4px;
    }

    .hm-support-shortcuts__grid {
        grid-template-columns: 1fr;
        gap: 8px;
        transform: translateY(-26px);
    }

    .hm-support-shortcuts__grid > a,
    .hm-support-shortcuts__grid > a:last-child {
        display: grid;
        min-height: 0;
        grid-column: auto;
        grid-template-columns: 28px minmax(0, 1fr) 20px;
        gap: 0 10px;
        align-items: center;
        padding: 18px;
        border-radius: 10px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
    }

    .hm-support-shortcuts__grid strong {
        margin-top: 0;
        font-size: 18px;
    }

    .hm-support-shortcuts__grid p {
        grid-column: 2;
        margin-top: 5px;
        font-size: 14px;
        line-height: 1.55;
    }

    .hm-support-shortcuts__grid i {
        position: static;
        grid-column: 3;
        grid-row: 1 / span 2;
        font-size: 18px;
        transform: none;
    }

    .hm-support-section.hm-support-section--updates {
        padding-top: 68px;
        scroll-margin-top: 76px;
    }

    .hm-support-heading--updates > a {
        display: none;
    }

    .hm-support-heading--updates {
        padding-bottom: 0;
    }

    .hm-support-update-list {
        display: grid;
        gap: 10px;
        margin-top: 32px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .hm-support-update {
        position: relative;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 13px 14px;
        padding: 20px;
        border: 1px solid #d5deea;
        border-radius: 10px;
        background: var(--hm-paper);
    }

    .hm-support-update:first-child {
        border-top: 1px solid #d5deea;
    }

    .hm-support-update__badges {
        min-width: 0;
    }

    .hm-support-update__badges span {
        min-height: 26px;
        padding: 3px 8px;
        font-size: 12px;
    }

    .hm-support-update__body {
        grid-column: 1 / -1;
        padding-right: 24px;
    }

    .hm-support-update__body strong {
        overflow: visible;
        font-size: 18px;
        line-height: 1.5;
        white-space: normal;
    }

    .hm-support-update__body p {
        display: -webkit-box;
        margin-top: 7px;
        overflow: hidden;
        font-size: 14.5px;
        line-height: 1.6;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .hm-support-update time {
        align-self: center;
        font-size: 13px;
    }

    .hm-support-update > i {
        position: absolute;
        right: 20px;
        bottom: 22px;
        font-size: 18px;
    }

    .hm-support-update-all {
        display: flex;
        height: 50px;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 14px;
        border: 1px solid #aebfd2;
        border-radius: 9px;
        color: var(--hm-brand);
        background: var(--hm-paper);
        font-size: 15px;
        font-weight: 600;
    }

    .hm-support-update-empty {
        margin-top: 32px;
        padding: 32px 20px;
        border-radius: 10px;
    }

    .hm-support-section {
        padding: 72px 0;
    }

    .hm-support-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 34px;
    }

    .hm-support-guide-grid article {
        min-height: 0;
        padding: 20px 16px;
        border-radius: 10px;
    }

    .hm-support-guide-grid em {
        font-size: 14px;
    }

    .hm-support-guide-grid h3 {
        margin-top: 12px;
        font-size: 18px;
        line-height: 1.4;
    }

    .hm-support-guide-grid article > p {
        margin-top: 9px;
        font-size: 14px;
        line-height: 1.6;
    }

    .hm-support-guide-grid ul {
        margin-top: 15px;
        padding-top: 13px;
    }

    .hm-support-guide-grid li {
        margin-top: 6px;
        padding-left: 12px;
        font-size: 13.5px;
        line-height: 1.5;
    }

    .hm-support-guide-grid article > a {
        gap: 6px;
        padding-top: 18px;
        font-size: 13.5px;
    }

    .hm-support-categories {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 7px;
        margin: 28px -15px 0;
        padding: 0 15px 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hm-support-categories::-webkit-scrollbar {
        display: none;
    }

    .hm-support-categories button {
        height: 40px;
        flex: 0 0 auto;
        padding: 0 16px;
        font-size: 14px;
    }

    .hm-support-faq-list {
        margin-top: 20px;
        border-radius: 10px;
    }

    .hm-support-faq-item summary {
        min-height: 68px;
        grid-template-columns: 22px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 16px;
        font-size: 17px;
        line-height: 1.5;
    }

    .hm-support-faq-item__q {
        font-size: 14px;
    }

    .hm-support-faq-item__answer {
        padding: 0 16px 20px 48px;
    }

    .hm-support-faq-item__answer p {
        font-size: 15px;
        line-height: 1.75;
    }

    .hm-support-heading--row {
        display: block;
        text-align: center;
    }

    .hm-support-resource-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 32px;
    }

    .hm-support-resource-grid > a,
    .hm-support-resource-grid > a:last-child {
        min-height: 100px;
        grid-column: auto;
        padding: 20px 48px 20px 20px;
    }

    .hm-support-resource-grid strong {
        margin-top: 8px;
        font-size: 17px;
    }

    .hm-support-contact {
        padding: 64px 0;
    }

    .hm-support-contact__inner {
        gap: 28px;
        text-align: center;
    }

    .hm-support-contact__copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .hm-support-contact__checklist {
        padding: 22px;
        text-align: left;
    }

    .hm-support-contact__checklist > strong {
        font-size: 17px;
    }

    .hm-support-contact__checklist a {
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 374px) {
    .hm-support-guide-grid {
        grid-template-columns: 1fr;
    }

    .hm-support-guide-grid article {
        padding: 22px;
    }
}
