/* 확정 프론트 시안(03_frontend_template, 인덱스 v4 · 상세 v3)의 시각 결과를 옮긴 것.
   테마를 건드리지 않도록 모든 규칙을 .tpa 안에 가둔다.
   앞의 body 는 테마·Elementor 전역 규칙(a:hover, .elementor-kit-N h1 등)과 같은 우선순위가 되는 것을 피하려고 붙였다(+1 요소). 색은 아래 변수만 바꿔도 사이트별로 맞출 수 있다. */
body .tpa{--ink:#172638;--muted:#738091;--teal:#167c90;--teal2:#0e5d71;--navy:#102637;--line:#e3e9ed;--paper:#fff;--light:#f3f7f8;--light-eyebrow:#6fd1dc;
  font-family:Inter,Pretendard,"Noto Sans KR",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65;overflow-x:clip;
  word-break:keep-all;overflow-wrap:break-word} /* 한국어는 단어 단위로 줄바꿈(있습/니다 방지), 긴 영문·주소만 넘칠 때 끊기 */
body .tpa *{box-sizing:border-box}
body .tpa a{text-decoration:none;color:inherit}
body .tpa img{max-width:100%;height:auto;display:block}
body .tpa :focus-visible{outline:3px solid var(--teal);outline-offset:3px}
body .tpa .wrap{max-width:1240px;padding:0 30px;margin:auto}
body .tpa .eyebrow{font-size:11px;font-weight:800;letter-spacing:.17em;color:var(--teal);text-transform:uppercase}
body .tpa .eyebrow.light{color:var(--light-eyebrow)}
body .tpa .small{font-size:13px}body .tpa .muted{color:var(--muted)}
body .tpa h1,body .tpa h2,body .tpa h3,body .tpa p{margin-top:0}
body .tpa h1{font-size:clamp(38px,5vw,65px);letter-spacing:-.052em;line-height:1.17;color:inherit}
body .tpa h2{font-size:clamp(27px,3vw,39px);letter-spacing:-.04em;line-height:1.22;color:inherit}
body .tpa h3{font-size:19px;letter-spacing:-.02em;color:inherit}
body .tpa .btn small{font-size:11px;font-weight:600;opacity:.75}
body .tpa .btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:13px;font-weight:800;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);cursor:pointer;font-family:inherit;line-height:1.3}
body .tpa .btn.primary{color:#fff;border-color:var(--teal);background:var(--teal)}
body .tpa .btn.dark{background:var(--navy);border-color:var(--navy);color:#fff}
body .tpa .btn:hover{filter:brightness(.95)}
body .tpa .buttons{display:flex;gap:10px;flex-wrap:wrap}
/* 상세 · 히어로 */
body .tpa .hero{background:linear-gradient(125deg,#f7fafb,#e8f1f4);border-bottom:1px solid var(--line)}
body .tpa .heroInner{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:90px 0 124px}
body .tpa .heroInner.noimg{grid-template-columns:minmax(0,820px)}
body .tpa .heroLead{font-size:17px;line-height:1.9;color:#536677;max-width:580px}
body .tpa .hero h1{margin:14px 0 22px}
body .tpa .heroNote{margin-top:18px}
body .tpa .metricrow{display:flex;flex-wrap:wrap;gap:24px;margin:31px 0}
body .tpa .metric{padding-right:20px;border-right:1px solid #cbd9de}body .tpa .metric:last-child{border:0}
body .tpa .metric strong{font-size:23px;letter-spacing:-.05em;display:block;line-height:1.2}
body .tpa .metric span{font-size:11px;color:#607889}
body .tpa .productGraphic{min-height:300px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at center,#fff 0%,#e8f0f3 57%,transparent 73%)}
body .tpa .heroImg{max-height:480px;width:auto;object-fit:contain;filter:drop-shadow(13px 24px 16px #23435225)}
/* 배지는 대표 이미지 칸(heroShot) 기준 — 아래 작은 사진 줄이 있어도 이미지 위에 남게 */
body .tpa .heroShot{position:relative;align-self:stretch;flex:1 1 auto;display:flex;align-items:center;justify-content:center}
body .tpa .heroBadge{position:absolute;bottom:30px;right:0;background:#fff;padding:13px 17px;box-shadow:0 10px 27px #23435214;font-size:11px;letter-spacing:.05em;border-left:3px solid var(--teal)}
body .tpa .heroThumbs{display:flex;gap:8px;margin-top:14px}body .tpa .heroThumbs img{width:64px;height:64px;object-fit:cover;border:1px solid var(--line);background:#fff}
/* 구역 */
body .tpa .section{padding:145px 0}
body .tpa .section.alt{background:var(--light)}
body .tpa .sectionhead{margin-bottom:36px;text-align:center}
body .tpa .sectionhead p{color:#647487;max-width:670px;margin-left:auto;margin-right:auto}
body .tpa .sectionhead.left{text-align:left;margin:0 0 15px}
body .tpa #video .eyebrow,body .tpa #video h2,body .tpa #video p{text-align:left}
body .tpa .tabnav{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line)}
body .tpa .tablinks{display:flex;gap:26px;overflow-x:auto;white-space:nowrap}
body .tpa .tablinks a{padding:17px 2px;color:#6d7c88;font-size:12px;font-weight:700}
body .tpa .tablinks a:hover{color:var(--teal)}
body .tpa .two{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
body .tpa .prose>*:last-child{margin-bottom:0}body .tpa .prose img{height:auto}
body .tpa .benefits{margin-top:18px}
body .tpa .ovImage img{width:100%;border-radius:4px}
body .tpa .placeholder{background:linear-gradient(150deg,#dae7ec,#a2bcc6);border-radius:4px;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;color:#2e6273}
body .tpa .placeholder:before{content:"";position:absolute;width:230px;height:230px;border:1px solid #fff8;transform:rotate(30deg)}
body .tpa .placeholder strong{font-size:70px;font-weight:200;letter-spacing:-.07em;z-index:2}
body .tpa .chips{margin-top:12px}
body .tpa .chip{display:inline-block;padding:6px 11px;border:1px solid #d7e4e9;background:#fff;color:#587280;border-radius:3px;font-size:12px;margin:0 6px 8px 0}
body .tpa .featuregrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
body .tpa .feature{padding:28px;border:1px solid var(--line);background:#fff;min-height:182px}
body .tpa .feature .number{font-size:12px;font-weight:800;color:var(--teal);margin-bottom:16px;text-transform:uppercase}
body .tpa .feature p{font-size:13px;color:#73808c;margin-bottom:0}
body .tpa .tableScroll{overflow-x:auto}
body .tpa .spec{border-collapse:collapse;width:100%;font-size:13px}
body .tpa .spec th,body .tpa .spec td{padding:17px 20px;text-align:left;border-bottom:1px solid #dce4e8}
body .tpa .spec thead th{background:var(--navy);color:#fff}
body .tpa .spec tbody th{background:#f1f5f7;font-weight:700;width:32%}
body .tpa .tiles,body .tpa .gallery{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:14px}
body .tpa .tile{padding:70px 18px 24px;background:#dfeaf0;min-height:190px;font-weight:800;min-width:0}
body .tpa .tile:nth-child(4n+2){background:#d1e2e8}body .tpa .tile:nth-child(4n+3){background:#d7eaec}body .tpa .tile:nth-child(4n+4){background:#ccdce4}
body .tpa .tileSub{display:block;font-weight:500;font-size:12px;color:#587280;margin-top:6px}
body .tpa .softwareBox{background:var(--navy);color:#fff;padding:56px 40px}body .tpa .softwareBox p{color:#b5d0d9;margin:0}
body .tpa .videoBox{background:#152e3e;position:relative;aspect-ratio:16/9;min-width:0}
body .tpa .videoBox iframe,body .tpa .videoFacade,body .tpa .videoFacade img{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
body .tpa .videoFacade{display:flex;align-items:center;justify-content:center}
body .tpa .play{position:relative;display:grid;place-items:center;width:66px;height:66px;background:var(--teal);color:#fff;border-radius:50%;font-size:25px;z-index:2}
body .tpa .gallery figure{margin:0;min-width:0}body .tpa .gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
body .tpa .gallery figcaption{font-size:12px;color:var(--muted);margin-top:6px}
/* 사례 */
body .tpa .facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin:0 0 40px}
body .tpa .facts div{background:#fff;padding:16px 20px}body .tpa .facts dt{font-size:11px;color:var(--muted);letter-spacing:.05em}body .tpa .facts dd{margin:4px 0 0;font-weight:700}
body .tpa .caseGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
body .tpa .caseBlock{border-top:3px solid var(--teal);padding-top:18px}body .tpa .caseBlock h3{font-size:13px;letter-spacing:.08em;color:var(--teal)}
body .tpa .caseMetrics{justify-content:center;margin-top:48px}
body .tpa .beforeAfter{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:40px}body .tpa .beforeAfter figure{margin:0}body .tpa .beforeAfter figcaption{font-weight:800;margin-top:6px}
body .tpa .testimonial{margin:48px auto 0;max-width:760px;font-size:18px;border-left:3px solid var(--teal);padding:4px 0 4px 24px;color:#3d5262}
/* 관련 · CTA */
body .tpa .related{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
body .tpa .related article{border:1px solid var(--line)}
body .tpa .related .placeholder{border-radius:0;min-height:160px}body .tpa .related .placeholder strong{font-size:43px}
body .tpa .related .relImg{width:100%;height:160px;object-fit:cover}
body .tpa .related .desc{padding:20px}
body .tpa .ctaBand{background:#fff;color:var(--ink);padding:80px 0;border-top:1px solid var(--line)}
body .tpa .ctaInner{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:25px;background:var(--navy);color:#fff;padding:62px 30px}
body .tpa .ctaInner .eyebrow{color:#79cedc}body .tpa .ctaInner h2{margin-bottom:10px}
body .tpa .ctaInner p{color:#c5d7df;max-width:670px;margin:0 auto}
body .tpa .ctaInner .buttons{justify-content:center}
/* 목록 */
body .tpa .archiveHero{background:var(--navy);color:#fff;padding:107px 0}
body .tpa .archiveHero h1{font-size:48px;margin:0 0 16px}
body .tpa .archiveHero p{color:#b4c8cf;max-width:670px;margin-bottom:0}
body .tpa .archiveBody{padding-top:98px;padding-bottom:150px}
body .tpa .filterBar{padding:24px;border:1px solid var(--line);background:#f8fafb;margin-bottom:29px}
body .tpa .filterrow{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}
body .tpa .filterchip{border:1px solid #d9e5e9;background:#fff;padding:8px 14px;font-size:12px;color:#506675;border-radius:5px}
body .tpa .filterchip.active,body .tpa .filterchip:hover{background:var(--teal);border-color:var(--teal);color:#fff}
body .tpa .searchRow{display:flex;gap:9px;align-items:center}
body .tpa .searchRow input{flex:1;border:1px solid #d7e0e5;padding:11px 14px;min-width:0;font:inherit}
body .tpa .resultsHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
body .tpa .resultCount{display:block;text-align:right;margin:0 0 15px}
body .tpa .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
body .tpa .card{border:1px solid #e1e8eb;background:#fff;display:block;transition:.2s}
body .tpa .card:hover{transform:translateY(-3px);box-shadow:0 15px 28px #183d5412}
body .tpa .card .placeholder{min-height:195px;border-radius:0}body .tpa .card .placeholder strong{font-size:43px}
body .tpa .card .cardImg{width:100%;height:195px;object-fit:cover}
body .tpa .cardBody{padding:22px}
body .tpa .card h3{font-size:19px;margin:10px 0}
body .tpa .card p{font-size:13px;color:#71808e;min-height:58px}
body .tpa .card .arrow{color:var(--teal);font-size:12px;font-weight:800}
body .tpa .empty{text-align:center;color:var(--muted);padding:40px 0}
body .tpa .pages{display:flex;gap:8px;justify-content:center;margin:45px 0 0}
body .tpa .pages .page-numbers{min-width:35px;height:35px;padding:0 8px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;border-radius:5px;font-size:13px}
body .tpa .pages .current{background:var(--teal);color:#fff;border-color:var(--teal)}
/* 허브(인덱스 v4)만: 가운데 정렬 · 필터 띠 없이 칩만 */
body .tpa-hub .archiveHero .wrap{text-align:center}body .tpa-hub .archiveHero p{margin-left:auto;margin-right:auto}
body .tpa-hub .filterBar{background:transparent;border:0;padding:0;margin-bottom:27px}
body .tpa-hub .filterrow{align-items:center;justify-content:center;gap:10px;margin:0}
/* 신청 창 */
body .tpa .modalback{position:fixed;inset:0;background:#0a1b29bd;z-index:9999;display:none;align-items:center;justify-content:center;padding:18px}
body .tpa .modalback.open,body .tpa .modalback:target{display:flex}
body .tpa .modal h2{font-size:29px;margin:10px 0}
body .tpa .close{position:absolute;top:15px;right:17px;border:0;background:none;font-size:23px;line-height:1}
/* 기본 폼 창 — 회색 칸·테두리 없음·가운데 제목·좁은 폭 */
body .tpa .modal{background:#fff;width:min(100%,530px);padding:30px 32px 26px;max-height:calc(100svh - 32px);overflow:auto;position:relative;border-radius:22px;box-shadow:0 24px 60px #0a1b2933}
body .tpa .modal .close{position:absolute;right:14px;top:14px;width:38px;height:38px;border-radius:50%;background:#f3f5f8;display:grid;place-items:center;font-size:21px;line-height:1;color:var(--ink)}
body .tpa .modal .close:hover{background:#e7ecf3}
body .tpa .leadHead{text-align:center;margin:4px 0 20px}
body .tpa .leadHead .eyebrow{display:block;margin-bottom:6px}
body .tpa .modal .leadHead h2{font-size:24px;line-height:1.3;margin:0 0 8px;letter-spacing:-.03em}
body .tpa .leadHead p{font-size:14px;color:var(--muted);margin:0 auto;max-width:30em;line-height:1.6}
body .tpa .leadGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px 12px}
body .tpa .lf{display:flex;flex-direction:column;gap:6px;min-width:0}
body .tpa .lf.full{grid-column:1/-1}
body .tpa .modal .lf label{display:block;font-size:13px;font-weight:700;color:#344054;margin:0;line-height:1.4}
body .tpa .lf label i,body .tpa .leadAgree i{font-style:normal;color:var(--teal);margin-left:2px}
body .tpa .modal .lf input,body .tpa .modal .lf textarea{font:inherit;font-size:14.5px;color:var(--ink);border:1.5px solid transparent;border-radius:10px;padding:10px 14px;background:#f2f4f7;min-height:44px;width:100%;box-shadow:none;margin:0}
body .tpa .modal .lf textarea{min-height:88px;resize:vertical;line-height:1.6}
body .tpa .modal .lf input::placeholder,body .tpa .modal .lf textarea::placeholder{color:#98a2b3}
body .tpa .modal .lf input:focus,body .tpa .modal .lf textarea:focus{outline:0;background:#fff;border-color:var(--teal);box-shadow:0 0 0 3px #167c9024}
body .tpa .leadAgree{display:grid;gap:6px;margin:16px 0 4px}
body .tpa .modal .leadAgree label.check{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;font-weight:500;color:#667085;margin:0;line-height:1.5}
body .tpa .modal .leadAgree input{margin-top:3px;flex:none}
body .tpa .leadFoot{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:16px;text-align:center}
body .tpa .leadFoot p{margin:0}
/* html body … .modal 까지 붙인 이유: 사이트 전체에 html body button:not(…){color:#191F28} 같은 규칙이 있으면 글자가 남색 바탕에 묻힌다 */
html body .tpa .modal .leadSubmit{display:inline-flex;align-items:center;justify-content:center;min-height:50px;min-width:220px;padding:0 30px;border:0;border-radius:10px;background:var(--navy);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
html body .tpa .modal .leadSubmit:hover,html body .tpa .modal .leadSubmit:focus{filter:brightness(1.15);background:var(--navy);color:#fff}
html body .tpa .modal .leadSubmit:disabled{opacity:.6;cursor:wait}
body .tpa .leadDone{text-align:center;padding:24px 0 6px}
body .tpa .leadDone .ok{width:60px;height:60px;border-radius:50%;background:#e9f5f7;color:var(--teal);display:grid;place-items:center;margin:0 auto 18px;font-size:28px;font-weight:900}
body .tpa .modal .leadDone h2{font-size:24px;margin:0 0 10px}
body .tpa .leadDone p{color:var(--muted);font-size:14.5px;line-height:1.7;margin:0 auto 22px}
body .tpa .leadDone a[data-dl]{text-decoration:underline}
body .tpa .modal .status{border-radius:10px;margin:0 0 14px}
@media(max-width:600px){
  body .tpa .modalback{padding:0}
  body .tpa .modal{width:100%;max-height:100svh;height:100svh;border-radius:0;padding:46px 18px 20px}
  body .tpa .leadGrid{grid-template-columns:1fr;gap:10px}
  html body .tpa .modal .leadSubmit{width:100%}
}
body .tpa .modal .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
body .tpa .status{padding:12px;background:#f0f7f5;color:#246453;font-size:13px;margin-top:12px}body .tpa .status.error{background:#fdf1f1;color:#8a1f1f}
body .tpa .status a{text-decoration:underline}
html.tpa-lock{overflow:hidden}
body .tpa .screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
@media(max-width:850px){body .tpa .heroInner,body .tpa .two{grid-template-columns:1fr}body .tpa .heroInner{gap:10px}
  body .tpa .featuregrid,body .tpa .cards,body .tpa .related{grid-template-columns:repeat(2,1fr)}
  body .tpa .tiles,body .tpa .gallery{grid-template-columns:repeat(min(var(--cols,3),2),minmax(0,1fr))}body .tpa .hero h1{font-size:45px}}
@media(max-width:590px){body .tpa .wrap{padding:0 19px}body .tpa .section{padding:100px 0}body .tpa .heroInner{padding:68px 0 92px}
  body .tpa .featuregrid,body .tpa .cards,body .tpa .related,body .tpa .tiles,body .tpa .gallery,body .tpa .beforeAfter{grid-template-columns:1fr}
  body .tpa .spec th,body .tpa .spec td{padding:11px 9px;font-size:11px}body .tpa .archiveHero{padding:80px 0}body .tpa .archiveHero h1{font-size:38px}
  body .tpa .archiveBody{padding:90px 0}body .tpa .metricrow{gap:15px}body .tpa .searchRow{flex-wrap:wrap}body .tpa .heroShot{flex-direction:column}body .tpa .heroBadge{position:static;margin-top:10px}}
@media(prefers-reduced-motion:reduce){body .tpa .card{transition:none}body .tpa .card:hover{transform:none}}

/* 테마 호환 — Hello Elementor reset·Elementor 키트가 바꾸는 것 되돌리기, 고정 머리 메뉴 높이만큼 내리기 */
body .tpa h1,body .tpa h2,body .tpa h3{font-weight:700;font-family:inherit}
body .tpa .btn:is(:hover,:focus){background-color:#fff;color:var(--ink)}
body .tpa .btn.primary:is(:hover,:focus){background-color:var(--teal);color:#fff}
body .tpa .btn.dark:is(:hover,:focus){background-color:var(--navy);color:#fff}
body .tpa .searchRow input[type=search]{border:1px solid #d7e0e5;border-radius:0;padding:11px 14px;background:#fff;box-shadow:none}
body .tpa .tabnav{top:var(--tpa-sticky-top,0px)}
body .tpa section[id]{scroll-margin-top:calc(var(--tpa-sticky-top,0px) + 60px)}
