/* KeyBot 지원 센터 — 홈페이지 공통 디자인(assets/style.css) 위에 얹는 전용 스타일 */
body.support { padding-top: 0; }

/* 헤더: 메뉴가 적어 모바일에서도 접지 않고 그대로 보여 줌 */
.sup-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.sup-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sup-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.sup-nav a { white-space: nowrap; }
.sup-nav a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.sup-nav a:not(.btn):hover { color: var(--ink); }
html { scroll-padding-top: 80px; }

/* 상단 소개 */
.sup-hero { background: radial-gradient(900px 440px at 85% 0%, rgba(37, 213, 96, .14), transparent 62%), linear-gradient(135deg, #0e132b 0%, #232c57 100%); color: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.sup-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sup-hero .eyebrow { color: var(--green); }
.sup-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.sup-lead { margin-top: 16px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .78); max-width: 520px; }
.sup-search { margin-top: 28px; max-width: 560px; }
.sup-search input { width: 100%; height: 54px; padding: 0 22px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 999px; }
.sup-search input:focus { outline: none; border-color: var(--green); }
.sup-quick { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.sup-visual { border-radius: var(--radius-lg); background: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.sup-visual img { width: 100%; height: auto; padding: 4%; }

/* 처음 사용 단계 */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 li { background: var(--surface); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.steps3 li > b { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--green); display: grid; place-items: center; font-size: 15px; }
.steps3 h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; }
.steps3 p { color: var(--ink-2); font-size: 15px; }
.steps3 a { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.steps3 a:hover { color: var(--green-dark); }

/* FAQ */
.faq-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.chip-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-count { font-size: 14px; color: var(--ink-3); }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq-item[hidden] { display: none; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; }
.faq-body p { margin-top: 10px; }
.faq-body p:first-child { margin-top: 0; }
.faq-body ul, .faq-body ol { margin: 10px 0 0 4px; display: grid; gap: 8px; }
.faq-body ul li { position: relative; padding-left: 18px; }
.faq-body ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.faq-body ol { counter-reset: n; }
.faq-body ol li { counter-increment: n; position: relative; padding-left: 32px; }
.faq-body ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.faq-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid currentColor; }
.faq-more:hover { color: var(--green-dark); }
.faq-empty { margin-top: 24px; text-align: center; padding: 36px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.faq-empty p { margin-bottom: 16px; color: var(--ink-2); }
.faq-empty[hidden] { display: none; }

/* 자료 */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.res { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.res h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; }
.res p { color: var(--ink-2); font-size: 15px; }
.res-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.res--app { flex-direction: row; align-items: center; gap: 18px; grid-column: span 2; }
.res--app img { flex-shrink: 0; width: 96px; height: 96px; border-radius: 12px; background: #fff; }
.res--app > div { display: flex; flex-direction: column; gap: 8px; flex: 1; }

/* 하단 문의 유도 */
.sup-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sup-help .sec-title { font-size: clamp(26px, 3vw, 36px); }

@media (max-width: 960px) {
  .sup-hero .wrap { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .res--app { grid-column: span 2; }
}
@media (max-width: 600px) {
  .sup-header .brand { font-size: 14px; letter-spacing: .08em; gap: 8px; }
  .sup-header .brand svg { width: 28px; height: 28px; }
  .sup-nav { gap: 12px; }
  .sup-nav a:not(.btn):nth-child(2), .sup-nav a:not(.btn):nth-child(3) { display: none; }
  .res-grid { grid-template-columns: 1fr; }
  .res--app { grid-column: auto; }
  .faq-item summary { padding: 16px 18px; font-size: 16px; }
  .faq-body { padding: 0 18px 18px; }
}

/* 언어 바꾸기 링크 (하단) */
.footer-lang { margin: 14px 0 0; font-size: 14px; opacity: .85; }
.footer-lang a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-lang [aria-current] { font-weight: 700; }

/* 상단 언어 바꾸기 */
.sup-lang { position: relative; }
.sup-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line, #e3e8ef); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2, #343c62); cursor: pointer; white-space: nowrap; user-select: none; }
.sup-lang summary::-webkit-details-marker { display: none; }
.sup-lang summary:hover, .sup-lang[open] summary { border-color: var(--ink-2, #343c62); }
.sup-lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line, #e3e8ef); border-radius: 12px; box-shadow: 0 14px 40px rgba(20, 30, 60, .16); z-index: 60; }
.sup-lang li a, .sup-lang li span { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink, #15202b); }
.sup-lang li a:hover { background: #f1f4f9; }
.sup-lang li [aria-current] { font-weight: 700; color: var(--navy, #343c62); }
@media (max-width: 600px) { .sup-lang summary { padding: 6px 10px; } .sup-lang summary span { display: none; } }
