/* 주요기능 — 시안 Features / Features-M. 히어로·표·CTA 버튼은 docent.css 를 함께 쓴다. */

.ft-hero__badge { background: var(--vermilion); }
.ft-hero .dc-hero__img { object-position: 30% 50%; }
.ft-hero .dc-hero__shade { background: linear-gradient(90deg, rgba(22, 27, 29, .82) 0%, rgba(22, 27, 29, .45) 50%, rgba(22, 27, 29, 0) 75%); }

.ft-head { display: flex; flex-direction: column; gap: 16px; }
.ft-head .section-label { margin: 0; }

/* F2 고정 탭 */
.ft-tabs { position: sticky; top: 0; z-index: 15; margin-top: 64px; border-bottom: 1px solid #E6E1D8; background: rgba(247, 245, 240, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ft-tabs__inner { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 16px; }
.ft-tab {
  height: 48px; padding: 0 22px; display: inline-flex; align-items: center; flex: none;
  border: 1.5px solid var(--border); border-radius: var(--radius-pill); background: var(--white); color: var(--gray-700);
  font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: all .3s ease;
}
.ft-tab:hover { border-color: var(--black); color: var(--black); }
.ft-tab[aria-current="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
/* 고정 탭에 가리지 않도록 */
#main [id] { scroll-margin-top: 96px; }

/* F2 개요 */
.ft-overview { display: flex; flex-direction: column; gap: 40px; padding-top: 72px; }
.ft-overview .sec-head { gap: 16px 80px; }
.ft-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #E6E1D8; border-radius: var(--radius-img); background: #E6E1D8; }
.ft-index > li > a { height: 100%; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; background: var(--white); color: var(--black); text-decoration: none; transition: background .2s ease; }
.ft-index > li > a:hover { background: var(--vermilion-50); }
.ft-index .is-option > a { background: var(--sand-pale); }
.ft-index__no { display: flex; justify-content: space-between; align-items: baseline; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--border); }
.ft-index__no small { font-size: 12px; letter-spacing: 0; }
.ft-index .is-option .ft-index__no { color: var(--vermilion-700); }
.ft-index b { font-size: 20px; line-height: 1.2; }
.ft-index ul { display: flex; flex-direction: column; gap: 8px; color: var(--gray-700); }
.ft-index ul li { display: flex; align-items: baseline; gap: 10px; font-size: 16px; line-height: 1.5; }
.ft-index ul li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 2px; background: var(--vermilion); transform: translateY(-2px); }
.ft-index .is-option ul li::before { background: var(--vermilion-700); }

/* 좌우 배치 섹션 */
.ft-split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: var(--section-gap); }
.ft-split--reverse { flex-wrap: wrap-reverse; }
.ft-split__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
#guide .ft-split__text { flex-basis: 440px; }
.ft-visual { position: relative; flex: 1 1 480px; min-width: 0; min-height: 600px; }
.ft-visual__circle { position: absolute; left: 40px; top: 60px; width: 420px; height: 420px; border-radius: 50%; background: var(--vermilion); }
.ft-visual--right .ft-visual__circle { left: auto; right: 20px; top: 40px; width: 360px; height: 360px; }
.ft-visual__circle--sand { background: var(--sand-pale); }
.ft-visual__main { position: relative; width: 62%; aspect-ratio: 397 / 513; object-fit: cover; border-radius: var(--radius-img); box-shadow: 0 30px 60px rgba(22, 27, 29, .2); }
.ft-visual--right .ft-visual__main { margin-left: auto; }
.ft-visual__phone { position: absolute; right: 20px; bottom: 0; width: 200px; }
.ft-visual--right .ft-visual__phone { right: auto; left: 20px; }

.phone { aspect-ratio: 300 / 600; overflow: hidden; border: 7px solid var(--black); border-radius: 26px; background: var(--white); box-shadow: 0 20px 40px rgba(22, 27, 29, .18); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--dark { border-color: #0E1417; }

.ft-items { border-bottom: 1px solid var(--border); }
.ft-items li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--border); }
.ft-items--plain li { grid-template-columns: 1fr; }
.ft-items li > div { display: flex; flex-direction: column; gap: 8px; }
.ft-ico { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vermilion-50); color: var(--vermilion); }
.ft-items h3 { font-size: 22px; line-height: 1.2; }
.ft-items p { font-size: 17px; line-height: 1.6; color: var(--gray-700); }

.ft-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ft-cards li { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: var(--white); }
.ft-cards h3 { font-size: 22px; line-height: 1.2; }
.ft-cards p { font-size: 16px; line-height: 1.6; color: var(--gray-700); }
.ft-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-pills span { padding: 4px 10px; border-radius: 6px; background: var(--sand-pale); font-size: 13px; font-weight: 600; line-height: 1.4; }
.ft-pills span.on { background: var(--vermilion); color: var(--white); }
.ft-sizes { display: flex; align-items: baseline; gap: 10px; font-weight: 600; line-height: 1.2; }
.ft-sizes span:nth-child(1) { font-size: 13px; }
.ft-sizes span:nth-child(2) { font-size: 17px; }
.ft-sizes span:nth-child(3) { font-size: 22px; font-weight: 700; color: var(--vermilion); }

/* 띠 배경 섹션 */
.ft-band { margin-top: var(--section-gap); }
.ft-band--sand { background: var(--sand-pale); }
.ft-band--sand .section-label { color: var(--vermilion-700); }
.ft-band--dark { background: var(--charcoal); color: var(--ivory); }
.ft-band--dark .section-label { color: var(--vermilion-400); }
.ft-band__inner { display: flex; flex-direction: column; gap: 56px; padding-top: 120px; padding-bottom: 120px; }
.ft-find { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.ft-find li { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ft-find .phone { width: 220px; }
.ft-find h3 { font-size: 24px; line-height: 1.2; }
.ft-find p { font-size: 17px; line-height: 1.6; color: var(--gray-700); }

.ft-guide-phones { flex: 1 1 520px; min-width: 0; display: flex; justify-content: center; gap: 24px; }
.ft-guide-phones .phone { width: 220px; }
.ft-guide-phones .phone:last-child { margin-top: 64px; }

.ft-extend { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 64px; }
.ft-extend__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.ft-ext-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ft-ext-cards li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: #2B3A40; }
.ft-ext-cards li.is-hot { background: var(--vermilion); }
.ft-ext-cards h3 { font-size: 22px; line-height: 1.2; }
.ft-ext-cards p { font-size: 16px; line-height: 1.6; color: #C9D0D2; }
.ft-ext-cards li.is-hot p { color: var(--vermilion-50); }
.ft-extend__phone { flex: 0 1 300px; min-width: 0; display: flex; justify-content: center; }
.ft-extend__phone .phone { width: 260px; }

/* F8 관리 */
.ft-manage { display: flex; flex-direction: column; gap: 48px; padding-top: var(--section-gap); }
.ft-manage__head { display: flex; flex-direction: column; gap: 20px; }
.ft-manage__head p { font-size: 18px; line-height: 1.6; color: var(--gray-700); }
.ft-dash { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--radius-card); background: var(--white); box-shadow: 0 20px 60px rgba(22, 27, 29, .06); line-height: 1.2; }
.ft-dash__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.ft-dash__top b { font-size: 18px; }
.ft-dash__top small { font-size: 13px; font-weight: 500; color: var(--gray-500); }
.ft-dash__top div { display: flex; gap: 6px; }
.ft-dash__top div span { padding: 6px 12px; border-radius: 8px; background: var(--ivory); font-size: 13px; }
.ft-dash__top div span.on { background: var(--black); color: var(--white); }
.ft-dash__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.ft-dash__kpis div { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; background: var(--ivory); }
.ft-dash__kpis span, .ft-dash__bars > span, .ft-dash__langs > span { font-size: 13px; color: var(--gray-500); }
.ft-dash__kpis b { font-size: 28px; }
.ft-dash__charts { display: flex; flex-wrap: wrap; gap: 20px; }
.ft-dash__bars, .ft-dash__langs { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; border-radius: 14px; background: var(--ivory); }
.ft-dash__bars { flex: 2 1 420px; }
.ft-dash__langs { flex: 1 1 260px; }
.ft-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.ft-bars i { flex: 1; border-radius: 4px 4px 0 0; }
.ft-bars__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-500); }
.ft-dash__langs div { display: grid; grid-template-columns: 56px 1fr 40px; align-items: center; gap: 8px; font-size: 14px; }
.ft-dash__langs i { height: 8px; border-radius: 4px; background: var(--vermilion); }
.ft-dash__langs div span:last-child { text-align: right; }
.ft-manage__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.ft-manage__list li { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1.5px solid var(--black); }
.ft-manage__list h3 { font-size: 20px; line-height: 1.2; }
.ft-manage__list p { font-size: 16px; line-height: 1.6; color: var(--gray-700); }

/* F9 요약 표 */
.ft-summary { display: flex; flex-direction: column; gap: 40px; padding-top: var(--section-gap); }
.ft-summary__lead { font-size: 18px; line-height: 1.2; color: var(--gray-700); }
.ft-table table { font-size: 17px; }
.ft-table th, .ft-table td { padding: 20px 32px; color: var(--black); }
.ft-table thead th { padding: 22px 32px; font-size: 14px; color: var(--gray-500); }
.ft-table thead th:first-child { width: 18%; }
.ft-table tbody th { font-weight: 700; }
.ft-table tbody td { color: var(--black); }
.ft-table .is-opt { color: var(--vermilion-700); }
.ft-none { color: var(--gray-on-dark); }

/* F10 인증 */
.ft-cert { padding-top: 96px; }
.ft-cert__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding: 40px 0; border-top: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black); }
.ft-cert__title { font-size: 24px; line-height: 1.2; flex: none; }
.ft-cert__item { display: flex; align-items: center; gap: 16px; line-height: 1.3; }
.ft-cert__item div { display: flex; flex-direction: column; }
.ft-cert__item b { font-size: 18px; }
.ft-cert__item div span { font-size: 14px; color: var(--gray-500); }
.ft-cert__mark { width: 56px; height: 56px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vermilion); color: var(--white); font-size: 16px; font-weight: 700; }
.ft-cert__mark--wa { background: var(--black); }
.ft-cert__more { margin-left: auto; }

.ft-cta { padding-top: 120px; }

@media (max-width: 1023px) {
  .ft-visual { flex-basis: 100%; }
}

@media (max-width: 767px) {
  .ft-tabs { margin-top: 32px; }
  .ft-tabs__inner { flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 12px var(--gutter); scrollbar-width: none; }
  .ft-tabs__inner::-webkit-scrollbar { display: none; }
  .ft-tab { height: 40px; padding: 0 16px; font-size: 14px; }
  #main [id] { scroll-margin-top: 72px; }

  .ft-split { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 80px; }
  #listen { padding-top: 64px; }
  .ft-split--reverse { flex-direction: column-reverse; }
  .ft-split__text { flex: none; gap: 20px; }
  .ft-head { gap: 12px; }
  .ft-head .section-label { font-size: 12px; }
  .ft-split .h2, .ft-band .h2, .ft-manage .h2, .ft-summary .h2 { font-size: 28px; line-height: 1.35; }
  .ft-visual { flex: none; min-height: 0; height: 380px; }
  .ft-visual__circle { left: 20px; top: 40px; width: 280px; height: 280px; }
  .ft-visual--right .ft-visual__circle { right: 0; width: 240px; height: 240px; }
  .ft-visual__main { width: 64%; border-radius: 18px; }
  .ft-visual__phone { width: 130px; right: 0; }
  .ft-visual--right .ft-visual__phone { left: 0; }
  .phone { border-width: 5px; border-radius: 20px; }

  .ft-items li { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; }
  .ft-ico { width: 44px; height: 44px; }
  .ft-ico svg { width: 20px; height: 20px; }
  .ft-items h3 { font-size: 18px; }
  .ft-items p { font-size: 15px; }
  .ft-cards { gap: 10px; }
  .ft-cards li { gap: 8px; padding: 18px; border-radius: 16px; }
  .ft-cards h3 { font-size: 17px; }
  .ft-cards p { font-size: 14px; }

  .ft-band { margin-top: 80px; }
  .ft-band__inner { gap: 20px; padding-top: 64px; padding-bottom: 64px; }
  .ft-band--sand .ft-band__inner { padding-right: 0; }
  .ft-find { display: flex; gap: 16px; overflow-x: auto; padding-right: var(--gutter); scrollbar-width: none; }
  .ft-find::-webkit-scrollbar { display: none; }
  .ft-find li { flex: 0 0 200px; gap: 14px; }
  .ft-find .phone { width: 100%; }
  .ft-find h3 { font-size: 18px; }
  .ft-find p { font-size: 14px; }

  .ft-guide-phones { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ft-guide-phones .phone { width: 100%; }
  .ft-guide-phones .phone:last-child { margin-top: 32px; }

  .ft-extend { flex-direction: column; align-items: stretch; gap: 20px; }
  .ft-extend__text { flex: none; gap: 20px; }
  .ft-ext-cards { grid-template-columns: 1fr; gap: 10px; }
  .ft-ext-cards li { padding: 18px 20px; border-radius: 16px; }
  .ft-ext-cards h3 { font-size: 18px; }
  .ft-ext-cards p { font-size: 14px; }
  .ft-extend__phone { flex: none; }
  .ft-extend__phone .phone { width: 180px; }

  .ft-manage { gap: 20px; padding-top: 80px; }
  .ft-manage__head { gap: 12px; }
  .ft-manage__head p { font-size: 15px; }
  .ft-dash { gap: 12px; padding: 16px; border-radius: 20px; }
  .ft-dash__top div { display: none; }
  .ft-dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ft-dash__kpis div { padding: 12px; }
  .ft-dash__kpis b { font-size: 20px; }
  .ft-dash__charts { display: none; }
  .ft-manage__list { grid-template-columns: 1fr; gap: 16px; }
  .ft-manage__list li { padding-top: 14px; }
  .ft-manage__list h3 { font-size: 17px; }
  .ft-manage__list p { font-size: 14px; }

  .ft-summary { gap: 16px; padding-top: 80px; }
  .ft-summary__lead { font-size: 15px; line-height: 1.5; }
  .ft-table { border-radius: 16px; }

  .ft-cert { padding-top: 48px; }
  .ft-cert__row { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
  .ft-cert__title { font-size: 20px; }
  .ft-cert__more { margin-left: 0; }
  .ft-cta { padding-top: 64px; }
}
/* 모바일: 라벨·제목 → 그림 → 기능 목록 순서 (Features-M) */
@media (max-width: 767px) {
  .ft-split, .ft-split--reverse { flex-direction: column; }
  .ft-split__text { display: contents; }
  .ft-split .ft-head { order: 1; }
  .ft-split .ft-visual, .ft-split .ft-guide-phones { order: 2; }
  .ft-split .ft-items, .ft-split .ft-cards { order: 3; }
}
