@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* =========================================================
   Design Tokens
   ========================================================= */
:root{
  --brand:#016DE2;
  --brand-dark:#0056b8;
  --hero-navy:#102049;
  --hero-blue:#0061C2;

  --text-0:#000000;
  --text-1:#1a1a1a;
  --text-2:#333333;
  --text-3:#555555;
  --text-4:#888888;
  --text-5:#aaaaaa;

  --grey-8:#e0e0e0;
  --line:#ececec;
  --bg-soft:#f5f7fa;
  --bg-soft-2:#f0f4f9;
  --white:#ffffff;

  --container:1300px;
  --radius:8px;
  --radius-lg:16px;

  --shadow-card:0 4px 20px rgba(20,40,80,.06);
  --shadow-card-hover:0 10px 30px rgba(20,40,80,.12);
}

/* =========================================================
   Reset
   ========================================================= */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:64px;}
body{
  margin:0;
  font-family:'Pretendard',-apple-system,BlinkMacSystemFont,system-ui,Roboto,'Helvetica Neue','Segoe UI','Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif;
  color:var(--text-1);
  background:var(--white);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,p,figure{margin:0;}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
input,textarea,select{font-family:inherit;}

.container{
  width:100%;
  max-width:calc(var(--container) + 40px); /* 콘텐츠 1300 + 좌우 여백 20 */
  margin:0 auto;
  padding:0 20px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 24px;border-radius:4px;font-weight:700;font-size:15px;line-height:22px;
  border:1px solid transparent;transition:.2s ease;white-space:nowrap;
}
.btn-sm{padding:10px 20px;font-size:14px;line-height:20px;}
.btn-primary{background:var(--brand);color:#fff;}
.btn-primary:hover{background:var(--brand-dark);}
.btn-outline-light{background:transparent;border-color:rgba(255,255,255,.5);color:#fff;}
.btn-outline-light:hover{background:rgba(255,255,255,.1);}
.btn-outline{background:#fff;border-color:var(--grey-8);color:var(--text-2);}
.btn-outline:hover{border-color:var(--brand);color:var(--brand);}
.btn .ic-arrow{width:20px;height:20px;}
.btn-block{width:100%;}

/* Section heading helpers */
.sec{padding:100px 0;}
.sec-tag{
  display:inline-block;color:var(--brand);font-weight:700;font-size:14px;
  letter-spacing:.02em;margin-bottom:14px;
}
.sec-title{
  font-size:34px;line-height:1.35;font-weight:700;color:var(--text-0);
}
.sec-title .accent{color:var(--brand);}
.sec-head{margin-bottom:56px;}
.sec-head.center{text-align:center;}
.sec-desc{margin-top:16px;font-size:16px;color:var(--text-3);line-height:1.7;}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(255,255,255,.1);
  border-bottom:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(2.5px);
  -webkit-backdrop-filter:blur(2.5px);
  transition:background .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:64px;gap:24px;padding:0 60px 0 40px;
}
.logo{display:flex;align-items:center;line-height:0;}
.logo-img{width:152px;height:auto;display:block;}
.logo-blue{display:none;}
.gnb{display:flex;gap:52px;margin-left:auto;}
.gnb a{color:#fff;font-size:16px;font-weight:500;transition:color .2s;}
.gnb a:hover{color:#fff;}
.header-cta{margin-left:36px;padding:9px 15px;font-size:15px;line-height:22px;font-weight:700;border-radius:4px;} /* 메뉴↔CTA 60 (gap 24 + 36) */

/* Header scrolled state (set by JS) */
.site-header.scrolled{background:#fff;box-shadow:0 2px 16px rgba(0,0,0,.06);}
.site-header.scrolled .logo-white{display:none;}
.site-header.scrolled .logo-blue{display:block;}
.site-header.scrolled .gnb a{color:var(--text-2);}
.site-header.scrolled .gnb a:hover{color:var(--brand);}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;overflow:hidden;color:#fff;
  height:960px;display:flex;align-items:center;padding-top:64px; /* 고정 헤더만큼 중심 보정 */
  background:
    linear-gradient(63.8deg, rgba(0,35,110,.5) 0%, rgba(0,35,110,0) 49.8%),
    linear-gradient(116.85deg, #102049 0%, #003F7D 24.7%, #0061C2 100%);
}
.hero-wave{position:absolute;top:0;pointer-events:none;z-index:1;}
.hero-wave-right{right:0;height:100%;}
.hero-wave picture{display:block;height:100%;}
/* 시안 투명도(50%/10%)가 PNG 에 포함되어 있으므로 opacity 추가 적용 금지 */
/* max-width:none — 공통 reset(img max-width:100%)에 폭이 잘려 비율이 찌그러지는 것 방지 */
.hero-wave-right img{height:100%;width:auto;max-width:none;}
.hero-wave-left{left:0;top:0;}
.hero-wave-left img{width:520px;height:auto;max-width:none;}
.hero-inner{position:relative;z-index:2;width:100%;max-width:1380px;display:flex;align-items:center;justify-content:space-between;gap:40px;}

.hero-left{display:flex;flex-direction:column;gap:64px;}
.hero-copy{display:flex;flex-direction:column;}
.badge{
  align-self:flex-start;color:#00bbff;font-weight:500;font-size:14px;line-height:20px;margin-bottom:20px;
}
.hero-title{font-size:60px;line-height:60px;font-weight:700;}
.hero-subtitle{font-size:46px;line-height:56px;font-weight:700;margin-top:20px;}
.hero-desc{margin-top:28px;font-size:16px;line-height:24px;color:var(--grey-8);}
.hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px;}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.1);border-radius:40px;padding:10px 16px;
  font-size:13px;line-height:18px;font-weight:500;color:#fff;
}
.chip img{width:20px;height:20px;}
.hero-actions{display:flex;gap:8px;}

/* Hero visual — payment cards mesh */
.hero-visual{flex-shrink:0;}
.hero-stage{position:relative;width:520px;height:300px;}
.pay-card{
  position:absolute;width:120px;height:120px;border-radius:20px;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  z-index:2;
}
/* 둥실둥실 부유 — 카드별 속도·높이·시작점은 main.js 에서 랜덤 지정 (아래 nth-child 는 JS 없을 때 기본값) */
.pay-card{animation:payFloat var(--float-dur,5s) ease-in-out var(--float-delay,0s) infinite alternate;will-change:transform;}
.pay-card:nth-child(2){--float-dur:5.2s;--float-delay:-1.2s;--float-y:6px;}
.pay-card:nth-child(3){--float-dur:6.2s;--float-delay:-4.1s;--float-y:8px;}
.pay-card:nth-child(4){--float-dur:4.7s;--float-delay:-2.7s;--float-y:5px;}
.pay-card:nth-child(5){--float-dur:5.8s;--float-delay:-0.6s;--float-y:7px;}
.pay-card:nth-child(6){--float-dur:5.5s;--float-delay:-3.4s;--float-y:6px;}
.pay-card:nth-child(7){--float-dur:6.6s;--float-delay:-5.2s;--float-y:8px;}
@keyframes payFloat{
  from{transform:translateY(calc(var(--float-y,6px) * -1));}
  to{transform:translateY(var(--float-y,6px));}
}
@media (prefers-reduced-motion:reduce){
  .pay-card{animation:none;}
}
.pay-card img{width:52px;height:52px;object-fit:contain;}
.pay-card span{font-size:16px;line-height:24px;font-weight:500;color:#000;}
.hero-frame{
  position:absolute;left:57px;top:62px;width:408px;height:190px;
  border:12px solid rgba(255,255,255,.2);z-index:1;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1200px){
  .hero-visual{transform:scale(.85);transform-origin:right center;}
}
@media (max-width:1200px){
  .gnb{gap:32px;}
}
@media (max-width:980px){
  .header-inner{padding:0 20px;}
  .gnb{display:none;}
  .hero{height:auto;padding:120px 0 70px;}
  .hero-inner{flex-direction:column;align-items:flex-start;}
  .hero-title{font-size:44px;}
  .hero-subtitle{font-size:32px;}
  .hero-visual{transform:scale(.8);transform-origin:left top;margin-top:20px;}
  .pay-card{animation:none;} /* 태블릿·모바일에서는 둥실둥실 부유 끔 */
  .sec-title{font-size:26px;}
  .sec{padding:70px 0;}
}
@media (max-width:560px){
  .header-cta{display:none;}
  .hero-title{font-size:34px;}
  .hero-subtitle{font-size:26px;}
  .hero-actions{flex-wrap:wrap;}
}

/* =========================================================
   LIVE 진행현황
   ========================================================= */
.live-sec{background:#fff;padding:120px 0;}
.live-inner{display:flex;align-items:center;justify-content:space-between;gap:60px;}
.live-left{display:flex;flex-direction:column;gap:40px;align-items:flex-start;}
.live-top{display:flex;flex-direction:column;gap:20px;align-items:flex-start;}
.live-badge{
  display:inline-flex;align-items:center;background:rgba(1,109,226,.1);color:var(--brand);
  font-weight:700;font-size:16px;line-height:24px;padding:8px 16px;border-radius:9999px;
}
.live-head{display:flex;flex-direction:column;gap:16px;}
.live-title{font-size:40px;line-height:44px;font-weight:700;color:#000;}
.live-desc{font-size:18px;line-height:26px;color:#4a4a4a;}
.live-legend{display:flex;flex-wrap:wrap;gap:8px;}
.legend{
  font-size:13px;line-height:18px;font-weight:700;padding:8px 12px;border-radius:99px;border:1px solid;
  width:96px;text-align:center;background:#fff;
}
.legend-slate{color:#45556c;border-color:rgba(69,85,108,.3);}
.legend-orange{color:#bb4d00;border-color:rgba(187,77,0,.3);}
.legend-blue{color:#1447e6;border-color:rgba(20,71,230,.3);}
.legend-purple{color:#7008e7;border-color:rgba(112,8,231,.3);}
.legend-green{color:#007a55;border-color:rgba(0,122,85,.3);}

.live-board{
  flex-shrink:0;width:520px;height:320px;background:#f4f4f4;border-radius:12px;
  overflow:hidden;position:relative;
}
.live-list{display:flex;flex-direction:column;animation:liveScroll 24s linear infinite;}
.live-board:hover .live-list{animation-play-state:paused;}
.live-row{
  display:flex;align-items:center;gap:12px;padding:14px 28px;border-bottom:1px solid #fff;
}
.lr-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
.lr-info b{font-size:16px;font-weight:500;line-height:20px;color:#0d1b3e;}
.lr-info span{font-size:12px;line-height:16px;color:#62748e;}
.status{
  font-size:13px;font-weight:500;line-height:18px;padding:4px 8px;border-radius:99px;border:1px solid transparent;white-space:nowrap;
}
.status-slate{color:#45556c;background:#f1f5f9;}
.status-orange{color:#bb4d00;background:#fff;border-color:#fee685;}
.status-blue{color:#1447e6;background:#fff;border-color:#bedbff;}
.status-purple{color:#7008e7;background:#fff;border-color:#ddd6ff;}
.status-green{color:#007a55;background:#fff;border-color:#a4f4cf;}
@keyframes liveScroll{from{transform:translateY(0);}to{transform:translateY(-50%);}}
@media (max-width:980px){
  .live-inner{flex-direction:column;align-items:stretch;}
  .live-title{font-size:28px;}
  .live-board{width:100%;}
}

/* =========================================================
   공통: pill 태그
   ========================================================= */
.pill{
  display:inline-flex;align-items:center;background:rgba(1,109,226,.1);color:var(--brand);
  font-weight:700;font-size:16px;line-height:24px;padding:8px 16px;border-radius:9999px;
}
/* 공통 헤딩 그룹: 뱃지+제목 (gap 20), 그룹↔설명 (gap 16) */
.head-group{display:flex;flex-direction:column;align-items:center;gap:20px;}

/* =========================================================
   서비스 소개 (6 features)
   ========================================================= */
.feat-sec{background:#f7f9fc;padding:120px 0;}
.feat-head{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:60px;}
.feat-title{font-size:40px;line-height:40px;font-weight:700;color:#000;}
.feat-desc{font-size:18px;line-height:26px;color:#62748e;}
.feat-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
}
.feat-card{
  background:#fff;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:20px;
  transition:transform .2s ease,box-shadow .2s ease;
}
.feat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card-hover);}
.feat-ic{
  width:48px;height:48px;border-radius:16px;background:var(--brand);
  display:grid;place-items:center;flex-shrink:0;
}
.feat-ic img{width:24px;height:24px;}
.feat-card h3{font-size:18px;line-height:26px;font-weight:700;color:#2d2d2d;margin-bottom:-12px;} /* 아이콘↔제목 20, 제목↔본문 8 */
.feat-card p{font-size:14px;line-height:20px;color:#62748e;}
@media (max-width:980px){
  .feat-grid{grid-template-columns:repeat(2,1fr);}
  .feat-title{font-size:28px;}
}

/* =========================================================
   연동 가능 범위 (tabs + chips)
   ========================================================= */
.scope-sec{background:#fff;padding:120px 0;}
.scope-inner{display:flex;flex-direction:column;align-items:center;gap:60px;}
.scope-head{display:flex;flex-direction:column;align-items:center;gap:20px;margin-bottom:0;}
.scope-title{font-size:40px;line-height:40px;font-weight:700;color:#000;text-align:center;}
.scope-tabs{
  display:flex;gap:8px;background:#3c4856;padding:4px;border-radius:16px;width:448px;max-width:100%;
}
.scope-tab{
  flex:1;border:none;background:transparent;color:#fff;font-size:15px;line-height:22px;font-weight:500;
  padding:10px 0;border-radius:12px;transition:.2s;
}
.scope-tab.is-active{background:#fff;color:#3c4856;font-weight:700;box-shadow:0 0 15px rgba(0,0,0,.05);}
.scope-panels{width:100%;max-width:1200px;overflow:hidden;transition:height .4s cubic-bezier(.4,0,.2,1);}
.scope-panel{display:none;flex-wrap:wrap;gap:12px;justify-content:center;}
.scope-panel.is-active{display:flex;animation:scopeIn .4s cubic-bezier(.4,0,.2,1) both;}
/* 탭 전환: 패널 페이드업 + 칩 순차 등장 (--i 는 main.js 에서 지정) */
.scope-panel.is-active .scope-chip{animation:scopeIn .4s cubic-bezier(.4,0,.2,1) both;animation-delay:calc(var(--i,0) * 25ms);}
@keyframes scopeIn{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){
  .scope-panels{transition:none;}
  .scope-panel.is-active,.scope-panel.is-active .scope-chip{animation:none;}
}
/* 결제수단: 6 / 6 배치 */
.scope-panel-6.is-active{display:grid;grid-template-columns:repeat(6,1fr);}
.scope-panel-6 .scope-chip{width:auto;}
@media (max-width:1200px){
  .scope-panel-6.is-active{grid-template-columns:repeat(4,1fr);}
}
@media (max-width:980px){
  .scope-panel-6.is-active{grid-template-columns:repeat(2,1fr);}
}
.scope-chip{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  width:200px;height:56px;border-radius:80px;border:1px solid var(--grey-8);
  font-size:16px;font-weight:500;color:#364153;background:#fff;transition:.2s;white-space:nowrap;
}
.scope-chip img{width:20px;height:20px;}
.scope-chip:hover{border-color:var(--brand);color:var(--brand);}
.scope-info{
  display:flex;align-items:center;gap:8px;font-size:13px;line-height:18px;color:#62748e;text-align:center;
}
.scope-info img{width:20px;height:20px;flex-shrink:0;}
@media (max-width:980px){
  .scope-sec{padding:70px 0;}
  .scope-title{font-size:28px;}
  .scope-chip{width:calc(50% - 6px);padding:0 14px;gap:8px;white-space:normal;text-align:center;line-height:1.3;}
  .scope-info{align-items:flex-start;}
}

/* =========================================================
   주요 PG사 (blue)
   ========================================================= */
.pill-light{background:#e6f1fd;}
.pg-sec{position:relative;overflow:hidden;color:#fff;padding:120px 0;background:#73b1eb;}
.pg-sec::before{
  content:"";position:absolute;inset:0;
  background:url('../images/pg/bg.png') center 35%/cover no-repeat;mix-blend-mode:multiply;opacity:.5;
}
.pg-sec::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,37,91,.5),rgba(1,91,182,.5));}
.pg-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:60px;}
.pg-left{flex:1;display:flex;flex-direction:column;gap:50px;}
.pg-copy{display:flex;flex-direction:column;gap:16px;align-items:flex-start;}
.pg-copy .head-group{align-items:flex-start;}
.pg-title{font-size:40px;line-height:40px;font-weight:700;color:#fff;}
.pg-desc{font-size:18px;line-height:26px;color:#fff;}
.pg-note{
  align-self:flex-start;
  background:#0b437e;border-radius:12px;padding:29px 32px;display:flex;flex-direction:column;gap:24px;align-items:flex-start;
}
.pg-note-txt{display:flex;flex-direction:column;gap:6px;}
.pg-note-txt b{font-size:18px;line-height:26px;font-weight:700;color:#fff;}
.pg-note-txt p{font-size:15px;line-height:22px;color:rgba(255,255,255,.6);}
.pg-note-txt small{font-size:12px;line-height:16px;color:rgba(255,255,255,.6);margin-top:-2px;} /* p↔small 4 */
.btn-note{padding:12px 20px;border-radius:4px;border:0;}
.pg-grid{
  flex-shrink:0;display:grid;grid-template-columns:repeat(3,160px);gap:12px;
}
.pg-logo{
  background:#fff;border-radius:12px;padding:16px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:8px;
}
.pg-logo-img{height:50px;width:120px;display:flex;align-items:center;justify-content:center;}
/* 로고 PNG 는 120×50 프레임(여백 포함) 2x export */
.pg-logo-img img{width:120px;height:50px;object-fit:contain;}
.pg-logo em{font-size:12px;line-height:16px;font-weight:700;color:#62748e;font-style:normal;}
.pg-logo{transition:transform .2s ease;}
.pg-logo:hover{transform:translateY(-4px);}
@media (max-width:980px){
  .pg-inner{flex-direction:column;align-items:stretch;}
  .pg-title{font-size:28px;}
  .pg-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:560px){
  .pg-grid{grid-template-columns:repeat(2,1fr);}
}

/* PG 승인 안내 띠 */
.pg-band{background:linear-gradient(270deg,#2676c6 0%,#2674c3 50%,#1d5994 75%,#2061a5 100%);}
.pg-band-inner{height:100px;display:flex;align-items:center;justify-content:center;gap:12px;}
.pg-band-ic{width:41px;height:29px;flex-shrink:0;transform:scaleX(-1);}
.pg-band-txt{font-size:28px;line-height:36px;font-weight:700;color:#fff;text-align:center;}
@media (max-width:980px){
  .pg-band-inner{height:auto;padding-block:20px;}
  .pg-band-txt{font-size:18px;line-height:26px;}
}

/* =========================================================
   진행 절차 (6 steps)
   ========================================================= */
.step-sec{background:#fff;padding:120px 0;}
.step-head{display:flex;flex-direction:column;align-items:center;gap:20px;margin-bottom:72px;}
.step-title{font-size:40px;line-height:40px;font-weight:700;color:#000;text-align:center;}
.step-row{display:flex;align-items:stretch;justify-content:center;gap:4px;}
.step-card{
  flex:1;background:#f4f8fb;border-radius:8px;padding:20px 16px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:12px;
}
.step-num{font-size:24px;line-height:32px;font-weight:700;color:var(--brand);}
.step-card b{font-size:20px;line-height:28px;font-weight:700;color:var(--brand);}
.step-num + b{margin-top:-8px;} /* 번호↔제목 4px (카드 gap 12 - 8) */
.step-card p{font-size:13px;line-height:18px;color:#62748e;word-break:keep-all;}
/* PC 전용 줄바꿈: 카드 본문 폭이 시안(161px)과 같은 1340px(콘텐츠 1300 + 여백) 이상에서만 적용 */
@media (max-width:1339px){
  .br-pc{display:none;}
}
.step-sep{display:flex;align-items:center;flex-shrink:0;width:20px;}
.step-sep img{width:20px;height:3px;}
.step-info{margin-top:40px;justify-content:center;}
@media (max-width:980px){
  .step-sec{padding:70px 0;}
  .step-title{font-size:28px;}
  .step-row{flex-wrap:wrap;}
  .step-card{flex:1 1 45%;min-width:140px;}
  .step-sep{display:none;}
}

/* =========================================================
   폼 공통 (연동 문의 / 수수료 절감)
   ========================================================= */
.form-sec{background:#f7f9fc;}
.form-head{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:60px;}
.form-title{font-size:40px;line-height:40px;font-weight:700;color:#000;}
.form-desc{font-size:18px;line-height:26px;color:#62748e;}
.form-card{
  max-width:820px;margin:0 auto;background:#fff;border-radius:12px;padding:32px;
  display:flex;flex-direction:column;gap:24px;
}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 16px;}
.field{display:flex;flex-direction:column;gap:6px;}
.field label{font-size:14px;line-height:20px;font-weight:500;color:#2d2d2d;}
.field .req{color:#ff6467;font-weight:700;}
.field .opt{color:inherit;font-weight:inherit;font-size:inherit;}
.input{
  width:100%;height:43px;border:1px solid var(--grey-8);border-radius:8px;
  padding:10px 14px;font-size:15px;color:#2d2d2d;background:#fff;outline:none;transition:border-color .15s;
}
.input::placeholder{color:#94a3b8;}
.input:focus{border-color:var(--brand);}
.select{
  appearance:none;cursor:pointer;color:#444;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M4.04 7.89L10 13.8l5.96-5.91' stroke='%23444' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat;background-position:right 14px center;padding-right:40px;
}
.textarea{height:100px;resize:vertical;padding-top:10px;line-height:22px;}
.chip-toggles{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px;} /* 라벨↔칩 8 (field gap 6 + 2) */
.chip-toggle{
  min-height:36px;padding:8px 12px;border-radius:40px;border:1px solid var(--grey-8);
  background:#fff;font-size:12px;line-height:16px;font-weight:700;color:#62748e;transition:.15s;
}
.chip-toggle:hover{border-color:#b9c6d6;}
.chip-toggle.is-active{border-color:var(--brand);color:var(--brand);}
.form-submit{display:flex;align-items:center;justify-content:flex-end;gap:28px;padding-top:16px;}
.agree{display:flex;align-items:center;gap:4px;font-size:15px;line-height:22px;color:#444;cursor:pointer;}
.agree input{
  appearance:none;-webkit-appearance:none;width:24px;height:24px;margin:0;flex-shrink:0;cursor:pointer;
  background:url('../images/common/ic-check-off.svg') center/24px no-repeat;
}
.agree input:checked{background-image:url('../images/common/ic-check-on.svg');}
.agree input:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px;}
.agree-link{display:flex;}
.agree-link img{width:20px;height:20px;}
.btn-submit{padding:12px 20px;border-radius:4px;border:0;}
@media (max-width:820px){
  .form-card{padding:24px;}
}
@media (max-width:680px){
  .field-grid{grid-template-columns:1fr;}
  .form-title{font-size:28px;}
  .form-submit{flex-direction:column;align-items:stretch;gap:16px;}
  .btn-submit{width:100%;}
  .agree{justify-content:center;}
}

/* =========================================================
   PG 수수료 배너 (blue)
   ========================================================= */
.fee-banner-sec{padding:80px 0;background:#fff;}
.fee-banner{
  position:relative;overflow:hidden;border-radius:12px;
  padding:100px 120px;color:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:60px;
  /* 시안 이미지 배치: 111.78% × 137.54%, left -1.62% / top -26.01% */
  background:linear-gradient(112.63deg,rgba(9,37,91,.19),rgba(1,91,182,.19)),#0a2456 url('../images/fee-banner/bg.png') 13.7% 69.5%/111.78% 137.54% no-repeat;
}
.fee-banner-left{flex:1;min-width:0;display:flex;flex-direction:column;gap:36px;}
.fee-banner-tit{display:flex;flex-direction:column;gap:12px;}
.fee-banner-tit h2{font-size:40px;line-height:40px;font-weight:700;color:#fff;}
.fee-banner-tit p{font-size:16px;line-height:1.5;color:rgba(255,255,255,.6);}
.fee-check{display:flex;flex-direction:column;gap:8px;}
.fee-check li{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:700;color:#fff;}
.fee-check li img{width:20px;height:20px;object-fit:contain;}
.fee-banner-cards{flex-shrink:0;width:409px;display:flex;flex-direction:column;gap:12px;}
.glass-card{
  display:flex;align-items:center;gap:28px;
  background:rgba(255,255,255,.08);backdrop-filter:blur(3.5px);-webkit-backdrop-filter:blur(3.5px);
  border-radius:12px;padding:16px 12px 16px 28px;
}
.glass-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;}
.glass-txt b{font-size:16px;font-weight:700;color:#fff;}
.glass-txt span{font-size:14px;line-height:20px;font-weight:500;color:rgba(219,234,254,.7);}
.glass-card img{width:68px;height:68px;object-fit:cover;flex-shrink:0;}
@media (max-width:980px){
  .fee-banner{flex-direction:column;align-items:stretch;padding:48px 32px;}
  .fee-banner-tit h2{font-size:26px;}
  .fee-banner-cards{width:100%;}
}

/* 폼 내부 경고 문구 (좌측 정렬) */
.form-warn{width:100%;justify-content:flex-start;text-align:left;}

/* =========================================================
   신뢰 요소 (함께하는 이유)
   ========================================================= */
.reason-sec{background:#fff;padding:120px 0;}
.reason-inner{display:flex;gap:72px;align-items:flex-start;justify-content:center;}
.reason-head{flex:1;min-width:0;display:flex;flex-direction:column;gap:20px;align-items:flex-start;}
.reason-title{font-size:40px;line-height:40px;font-weight:700;color:#000;}
.reason-grid{flex-shrink:0;width:860px;display:flex;flex-wrap:wrap;gap:12px;}
.reason-card{
  background:#f9f9ff;border-radius:8px;padding:24px;height:148px;
  display:flex;flex-direction:column;justify-content:space-between;
}
.reason-card img{width:36px;height:36px;}
.reason-card p{font-size:16px;font-weight:500;color:#101828;line-height:24px;}
.reason-card.w-s{width:192px;}
.reason-card.w-m{width:284px;}
.reason-card.w-l{width:360px;}
@media (max-width:1200px){
  .reason-inner{flex-direction:column;gap:40px;}
  .reason-grid{width:100%;}
  .reason-card{flex:1 1 30%;}
}
@media (max-width:980px){
  .reason-title{font-size:28px;}
  .reason-card{flex:1 1 45%;height:auto;min-height:130px;}
  .reason-card.w-s,.reason-card.w-m,.reason-card.w-l{width:auto;}
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-sec{background:#fff;padding:120px 0;}
.faq-inner{display:flex;gap:108px;align-items:flex-start;}
.faq-tit{flex-shrink:0;width:212px;display:flex;flex-direction:column;gap:20px;}
.faq-bubble{width:60px;height:63px;object-fit:contain;}
.faq-title{font-size:40px;line-height:1.25;font-weight:700;color:#000;}
.faq-list{flex:1;min-width:0;border-top:1px solid var(--brand);border-bottom:1px solid var(--brand);}
.faq-item{border-bottom:1px solid var(--grey-8);}
.faq-q{
  width:100%;display:flex;align-items:center;gap:12px;padding:20px;background:none;border:none;
  font-size:16px;font-weight:500;color:#0a0a0a;text-align:left;line-height:1.5;
  transition:color .25s ease;
}
.faq-q:hover{color:var(--brand);}
.faq-mark{font-size:20px;font-weight:700;color:var(--brand);line-height:1.4;flex-shrink:0;}
.faq-chevron{width:24px;height:24px;margin-left:auto;flex-shrink:0;transition:transform .4s cubic-bezier(.4,0,.2,1);}
.faq-item.is-open .faq-chevron{transform:rotate(180deg);}
/* 실제 콘텐츠 높이 기준으로 펼침 (max-height 방식의 끊김 제거) */
.faq-a{
  display:grid;grid-template-rows:0fr;overflow:hidden;background:#f7f8f9;
  transition:grid-template-rows .4s cubic-bezier(.4,0,.2,1);
}
.faq-item.is-open .faq-a{grid-template-rows:1fr;}
.faq-a-inner{
  min-height:0;overflow:hidden;display:flex;gap:12px;align-items:flex-start;
  padding:0 20px;opacity:0;transform:translateY(-6px);
  transition:padding .4s cubic-bezier(.4,0,.2,1),opacity .3s ease,transform .4s cubic-bezier(.4,0,.2,1);
}
.faq-item.is-open .faq-a-inner{padding:20px;opacity:1;transform:none;transition-delay:0s,.08s,0s;}
.faq-a-inner{font-size:15px;line-height:1.5;color:#444;font-weight:400;}
.faq-a-inner .faq-mark{align-self:flex-start;}
@media (max-width:900px){
  .faq-inner{flex-direction:column;gap:32px;}
  .faq-title{font-size:30px;}
  .faq-list{width:100%;}
}

/* =========================================================
   하단 CTA
   ========================================================= */
.cta-sec{padding:0 0 120px;background:#fff;}
.cta-card{
  position:relative;overflow:hidden;border-radius:12px;
  min-height:500px;padding:0 120px;color:#fff;
  display:flex;flex-direction:column;justify-content:center;gap:60px;align-items:flex-start;
  background:
    linear-gradient(90deg,#031f55 20%,rgba(3,31,85,0) 100%),
    #031f55;
}
.cta-card::before{
  content:"";position:absolute;inset:0;z-index:0;border-radius:12px;
  background:url('../images/cta/bg.png') center/cover no-repeat;opacity:.3;
}
.cta-card::after{
  content:"";position:absolute;inset:0;z-index:1;border-radius:12px;
  background:linear-gradient(90deg,#031f55 20%,rgba(3,31,85,0) 100%);
}
.cta-tit,.cta-btns{position:relative;z-index:2;}
.cta-tit{display:flex;flex-direction:column;gap:24px;}
.cta-tit h2{font-size:48px;line-height:1.08;font-weight:700;color:#fff;}
.cta-tit p{font-size:18px;line-height:1.45;color:rgba(255,255,255,.7);}
.cta-btns{display:flex;gap:12px;flex-wrap:wrap;}
.cta-btn-white{background:#fff;border:1px solid var(--grey-8);color:#000;}
.cta-btn-white:hover{background:#f4f4f4;}
@media (max-width:768px){
  .cta-card{min-height:0;padding:48px 28px;gap:32px;}
  .cta-tit h2{font-size:30px;}
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{background:#f4f4f4;padding:48px 0;}
.site-footer .container{display:flex;flex-direction:column;gap:24px;align-items:flex-start;}
.footer-logo{display:flex;align-items:center;gap:8px;}
.footer-logo img{display:block;height:20px;width:auto;}
.footer-txt{display:flex;flex-direction:column;gap:12px;}
.footer-links{display:flex;gap:20px;}
.footer-links a{font-size:15px;color:#444;}
.footer-links a:hover{color:var(--brand);}
.footer-info{display:flex;flex-wrap:wrap;gap:20px;align-items:center;font-size:14px;line-height:20px;color:#444;}
.footer-info span{display:inline-flex;gap:12px;}
.footer-info b{font-weight:400;}
.footer-info i{width:1px;height:12px;background:#c4c4c4;display:inline-block;}
.footer-copy{font-size:14px;color:#888;}
@media (max-width:768px){
  .footer-info{gap:6px 16px;}
  .footer-info span{gap:8px;}
  .footer-info i{display:none;}
}

/* =========================================================
   모달 (개인정보 동의)
   ========================================================= */
.modal{
  position:fixed;inset:0;z-index:1000;display:none;
  align-items:center;justify-content:center;padding:20px;
}
.modal.is-open{display:flex;}
.modal-overlay{position:absolute;inset:0;background:rgba(0,20,50,.55);}
.modal-dialog{
  position:relative;z-index:1;width:100%;max-width:520px;max-height:85vh;
  background:#fff;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.25);animation:modalIn .2s ease;
}
@keyframes modalIn{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}
.modal-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;border-bottom:1px solid var(--line);
}
.modal-head h3{font-size:18px;font-weight:700;color:#1a1a1a;}
.modal-close{
  border:none;background:none;font-size:26px;line-height:1;color:#888;
  width:32px;height:32px;border-radius:8px;transition:.15s;
}
.modal-close:hover{background:#f2f4f7;color:#333;}
.modal-body{padding:24px;overflow-y:auto;font-size:14px;line-height:1.6;color:#444;}
.modal-body>p{margin-bottom:16px;}
.modal-table{width:100%;border-collapse:collapse;margin-bottom:16px;font-size:13px;}
.modal-table th,.modal-table td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top;}
.modal-table th{background:#f7f8f9;color:#1a1a1a;font-weight:700;white-space:nowrap;width:118px;}
.modal-note{font-size:13px;color:#62748e;line-height:1.6;margin:0;}
/* 약관·방침 문서형 모달 */
.modal-dialog-lg{max-width:720px;}
.modal-doc h4{font-size:15px;font-weight:700;color:#1a1a1a;margin:24px 0 8px;}
.modal-doc h4:first-child{margin-top:0;}
.modal-doc>p{margin-bottom:8px;}
.modal-doc ul{margin:0 0 8px;padding-left:18px;list-style:disc;}
.modal-doc li{margin-bottom:4px;}
.modal-doc .modal-table{margin-top:4px;}
.modal-doc .modal-note{margin-top:24px;}
.modal-foot{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;}
body.modal-open{overflow:hidden;}
@media (max-width:560px){
  .modal-table th{width:96px;white-space:normal;}
}

/* =========================================================
   태블릿·모바일 보정 (섹션별 데스크톱 값 덮어쓰기 — 파일 맨 끝에 유지)
   ========================================================= */
@media (max-width:980px){
  /* 한글 단어 단위 줄바꿈 */
  body{word-break:keep-all;overflow-wrap:break-word;}

  /* 섹션 상하 여백 */
  .sec,.live-sec,.feat-sec,.scope-sec,.pg-sec,.step-sec,.reason-sec,.faq-sec{padding:72px 0;}
  .fee-banner-sec{padding:48px 0;}
  .cta-sec{padding:0 0 72px;}

  /* 헤딩 ↔ 콘텐츠 간격 */
  .feat-head,.form-head{margin-bottom:40px;}
  .step-head{margin-bottom:40px;}
  .scope-inner{gap:40px;}
  .live-inner,.pg-inner{gap:40px;}
  .live-left,.pg-left{gap:32px;}

  /* 섹션 제목 */
  .live-title,.feat-title,.scope-title,.pg-title,.step-title,.form-title,.reason-title,.faq-title{line-height:1.35;}
  .form-title{font-size:28px;}
  .fee-banner-tit h2{line-height:1.35;}
  .cta-tit h2{line-height:1.3;}

  /* 히어로 */
  .hero-title{line-height:1.25;}
  .hero-subtitle{line-height:1.3;margin-top:16px;}
  .hero-left{gap:40px;}
  .hero-visual{transform:none;zoom:.8;margin-top:8px;}
  /* 배경 물결: 원본 비율 유지, 우측 하단(결제 카드 뒤)에 배치 */
  .hero-wave-right{top:auto;bottom:0;height:auto;}
  .hero-wave-right img{width:100vw;height:auto;} /* 태블릿·모바일 전용 이미지 m-hero-wave.png (1000×1064) */
  .hero-wave-left img{width:400px;}
}

@media (max-width:560px){
  .sec,.live-sec,.feat-sec,.scope-sec,.pg-sec,.step-sec,.reason-sec,.faq-sec{padding:60px 0;}
  .fee-banner-sec{padding:40px 0;}
  .cta-sec{padding:0 0 60px;}

  /* 공통 타이포 */
  .pill,.live-badge{font-size:14px;line-height:20px;padding:6px 14px;}
  .head-group,.scope-head,.step-head,.live-top,.reason-head{gap:14px;}
  .live-title,.feat-title,.scope-title,.pg-title,.step-title,.form-title,.reason-title,.faq-title{font-size:26px;}
  .live-desc,.feat-desc,.pg-desc,.form-desc{font-size:13px;line-height:17px;}
  .feat-head,.form-head{gap:12px;margin-bottom:32px;}
  .step-head{margin-bottom:32px;}
  .scope-inner{gap:32px;}
  /* 데스크톱용 강제 줄바꿈은 본문에서 해제 */
  .hero-desc br,.live-desc br,.feat-desc br,.pg-desc br,.form-desc br,.fee-banner-tit p br,.cta-tit p br{display:none;}
  .scope-info{font-size:12px;text-align:left;}

  /* 히어로 */
  .hero{padding:100px 0 56px;}
  .badge{margin-bottom:14px;}
  .hero-title{font-size:34px;}
  .hero-subtitle{font-size:24px;margin-top:12px;}
  .hero-desc{font-size:15px;line-height:22px;margin-top:20px;}
  .hero-chips{margin-top:20px;}
  .hero-left{gap:32px;width:100%;}
  /* 버튼 2개 가로 배치 (동일 폭) */
  .hero-actions{flex-wrap:nowrap;}
  .hero-actions .btn{flex:1 1 0;min-width:0;padding:14px 8px;font-size:14px;gap:4px;}
  .hero-actions .btn .ic-arrow{width:16px;height:16px;}
  /* 결제 카드: 축소 대신 3열 × 2행 그리드 (아이콘 위, 텍스트 아래) */
  .hero-visual{zoom:1;width:100%;margin-top:0;}
  .hero-stage{width:100%;height:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
  .hero-frame{display:none;}
  .pay-card{position:static;width:auto;height:auto;gap:4px;padding:12px 6px;border-radius:14px;}
  .pay-card img{width:40px;height:40px;}
  .pay-card span{font-size:14px;line-height:20px;}
  .hero-wave-left img{width:280px;}

  /* LIVE */
  .live-legend{gap:6px;}
  .legend{width:auto;padding:6px 12px;}
  .live-board{height:300px;}
  .live-row{padding:12px 16px;}
  .lr-info b{font-size:15px;}

  /* 서비스 소개 */
  /* 카드 2열 × 3행 */
  .feat-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .feat-card{padding:16px 14px;gap:12px;}
  .feat-ic{width:40px;height:40px;border-radius:12px;}
  .feat-ic img{width:20px;height:20px;}
  .feat-card h3{font-size:15px;line-height:21px;margin-bottom:-6px;word-break:keep-all;}
  .feat-card p{font-size:13px;line-height:19px;word-break:keep-all;}

  /* 연동 가능 범위 */
  .scope-tab{font-size:14px;}
  .scope-panel{gap:8px;}
  .scope-chip{width:calc(50% - 4px);height:48px;font-size:14px;gap:6px;}
  .scope-chip img{width:16px;height:16px;}
  .scope-panel-6.is-active{gap:8px;}

  /* PG */
  .pg-note{padding:24px 20px;gap:20px;}
  .pg-note-txt b{font-size:17px;}
  .pg-note-txt p{font-size:14px;line-height:21px;}
  /* 로고 3열 × 4행 */
  .pg-grid{grid-template-columns:repeat(3,1fr);gap:6px;}
  .pg-logo{padding:10px 6px;gap:4px;border-radius:10px;}
  .pg-logo-img{width:100%;max-width:96px;height:auto;aspect-ratio:120/50;}
  .pg-logo-img img{width:100%;height:100%;}
  .pg-logo em{font-size:11px;line-height:14px;letter-spacing:-.02em;white-space:nowrap;}
  .pg-band-inner{gap:10px;padding-block:18px;}
  .pg-band-ic{width:34px;height:24px;}
  .pg-band-txt{font-size:16px;line-height:24px;text-align:left;}

  /* 진행 절차 */
  .step-row{gap:8px;}
  .step-card{padding:18px 12px;gap:10px;}
  .step-num{font-size:20px;line-height:28px;}
  .step-card b{font-size:17px;line-height:24px;}
  .step-info{margin-top:24px;}

  /* 폼 */
  .form-card{padding:24px 20px;gap:16px;}
  .field-grid{gap:14px;}
  .field label{font-size:13px;line-height:18px;}
  .form-submit{padding-top:4px;gap:12px;}
  .agree{gap:4px;font-size:13px;line-height:18px;}
  .agree input{width:20px;height:20px;background-size:20px;}
  .agree-link img{width:16px;height:16px;}

  /* 수수료 배너 */
  .fee-banner{padding:36px 22px;gap:32px;}
  .fee-banner-left{gap:24px;}
  .fee-banner-tit h2{font-size:24px;}
  .fee-banner-tit p{font-size:14px;line-height:20px;}
  .fee-check li{font-size:14px;align-items:flex-start;gap:10px;}
  .fee-check li img{margin-top:1px;}
  .glass-card{padding:16px 14px 16px 20px;gap:16px;}
  .glass-card img{width:56px;height:56px;}

  /* 신뢰 요소 */
  .reason-inner{gap:28px;}
  .reason-grid{gap:8px;}
  .reason-card{padding:18px;min-height:120px;gap:16px;}
  .reason-card img{width:32px;height:32px;}
  .reason-card p{font-size:15px;line-height:22px;}

  /* FAQ */
  .faq-inner{gap:24px;}
  .faq-tit{gap:14px;}
  .faq-bubble{width:48px;height:50px;}
  .faq-q{padding:12px 8px;gap:10px;font-size:15px;}
  .faq-mark{font-size:18px;}
  .faq-chevron{width:20px;height:20px;}
  .faq-a-inner{font-size:14px;gap:10px;}
  .faq-item.is-open .faq-a-inner{padding:16px 8px;}

  /* CTA */
  .cta-card{padding:40px 22px;gap:28px;}
  .cta-tit{gap:16px;}
  .cta-tit h2{font-size:26px;}
  .cta-tit p{font-size:15px;line-height:22px;}
  .cta-btns{flex-direction:column;align-self:stretch;gap:8px;}
  .cta-btns .btn{width:100%;}

  /* Footer */
  .site-footer{padding:40px 0;}
  .site-footer .container{gap:20px;}
  .footer-links a{font-size:14px;}
  .footer-info{font-size:13px;}
  .footer-copy{font-size:13px;}
}

@media (max-width:380px){
  .hero-title{font-size:30px;}
  .pay-card img{width:36px;height:36px;}
  .pay-card span{font-size:13px;line-height:18px;}
  .hero-actions .btn{font-size:13px;}
  .hero-actions .btn .ic-arrow{display:none;}
  .live-title,.feat-title,.scope-title,.pg-title,.step-title,.form-title,.reason-title,.faq-title{font-size:24px;}
}
