/* Bestpay: article rhythm and shared footer. Index content is intentionally unscoped. */
@font-face{font-family:BPArticle;src:url(fonts/Pretendard-Regular.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:BPArticle;src:url(fonts/Pretendard-SemiBold.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:BPArticle;src:url(fonts/Pretendard-Bold.woff2) format('woff2');font-weight:700 900;font-display:swap}
:root{--article-width:720px;--article-section-gap:64px;--article-h2:28px;--article-body:17px;--article-footer-gap:100px;--footer-bg:#102b43;--footer-text:#f4f8fc;--footer-muted:#b9cad8;--footer-line:#365066}
.theme-1 main.bp-article-page{display:flow-root;width:calc(100% - 40px);max-width:var(--article-width);margin:0 auto;padding:0 0 var(--article-footer-gap);font-family:BPArticle,system-ui,'Malgun Gothic',sans-serif;font-size:var(--article-body);line-height:1.9}
.theme-1 main.bp-article-page h2{font-size:var(--article-h2);line-height:1.45;letter-spacing:-.035em;font-weight:700;text-wrap:pretty;margin:0}
.theme-1 main.bp-article-page h3{font-size:21px;line-height:1.5}
.theme-1 main.bp-article-page .subhero{margin:0;padding:56px 0 40px}
.theme-1 main.bp-article-page .subhero h1{font-size:40px;line-height:1.35;letter-spacing:-.04em}
.theme-1 main.bp-article-page .lead{font-size:18px;line-height:1.85;margin:20px 0 0}
.theme-1 main.bp-article-page p{line-height:1.9}
.theme-1 main.bp-article-page .eyebrow{font-size:11px;line-height:1.5;letter-spacing:.14em;margin:0 0 12px}
.theme-1 main.bp-article-page>.reading{margin:32px 0 0;padding:0;gap:32px}
.theme-1 main.bp-article-page .reading>aside{background:#f5f8fc;border:1px solid #dbe5ef;border-radius:12px;padding:24px}
.theme-1 main.bp-article-page .reading article[id^=guide-]{margin:0;padding:36px 0;border-bottom:1px solid var(--line)}
.theme-1 main.bp-article-page .reading article[id^=guide-] p{font-size:var(--article-body);line-height:1.9;margin-top:16px}
.theme-1 main.bp-article-page>section:not(.subhero){margin:var(--article-section-gap) 0 0;padding:0}
.theme-1 main.bp-article-page .section-head{margin-bottom:24px}
.theme-1 main.bp-article-page .faq{padding:22px 0}
.theme-1 main.bp-article-page .faq summary{font-size:17px;line-height:1.65}
.theme-1 main.bp-article-page .faq p{padding:0 0 4px;font-size:16px;margin-top:16px}
.theme-1 main.bp-article-page .related-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.theme-1 main.bp-article-page .related-links a{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:14px 18px;border:1px solid var(--line);border-radius:10px;font-size:15px;font-weight:600;line-height:1.6;background:#fff}
.theme-1 main.bp-article-page .related-links a:after{content:'↗';margin-left:12px;color:var(--accent)}
.theme-1 main.bp-article-page .related-links .related-home{background:var(--tint);border-color:#c5daf2;color:var(--accent)}
.theme-1 main.bp-article-page .related-links a:hover{border-color:var(--accent);background:var(--tint)}
.theme-1 main.bp-article-page .bp-bottom-cta{display:block;margin:64px 0 0;padding:36px;background:var(--tint);border:1px solid #d2e3f7;border-radius:16px}
.theme-1 main.bp-article-page .bp-bottom-cta h2{font-size:28px}
.theme-1 main.bp-article-page .bp-bottom-cta>p:not(.eyebrow){font-size:16px;max-width:540px;margin-top:12px}
.theme-1 main.bp-article-page .bp-cta-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}
.theme-1 main.bp-article-page .bp-cta-actions>.button{width:100%;height:56px;min-height:56px;margin:0;padding:12px 16px;border-radius:8px;font-size:15px;line-height:1.5;font-weight:700}
.theme-1 main.bp-article-page .button.kakao{background:#fee500;border-color:#fee500;color:#261d13}
.theme-1 main.bp-article-page .button.kakao:hover{background:#f3d900;border-color:#f3d900}
.theme-1 main.bp-article-page>:last-child{margin-bottom:0}
.theme-1 main.bp-article-page+.site-footer{margin-top:0}
.theme-1 .site-footer{background:var(--footer-bg);color:var(--footer-text);padding-top:56px;border-top:1px solid var(--footer-line)}
.theme-1 .site-footer .footer-top p,.theme-1 .site-footer .business p,.theme-1 .site-footer .site-display-name{color:var(--footer-muted)}
.theme-1 .site-footer .footer-top>a,.theme-1 .site-footer .footer-nav a{color:var(--footer-text)}
.theme-1 .site-footer .footer-top img{background:#fff;border-radius:10px;padding:8px;width:140px;height:74px;object-fit:contain}
.theme-1 .site-footer .footer-nav{border-color:var(--footer-line);gap:16px 24px;padding:24px 0;margin:32px 0 24px}
.theme-1 .site-footer a:hover{color:#9acbff;text-decoration:underline;text-underline-offset:4px}
.theme-1 .site-footer .business p{font-size:13px;line-height:1.85}
.theme-1 .bp-article-page .ds-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.theme-1 .bp-article-page .ds-token{padding:24px;border:1px solid var(--line);border-radius:12px}
.theme-1 .bp-article-page .ds-token i{display:block;height:64px;border-radius:8px;margin-bottom:16px;background:var(--swatch)}
.theme-1 .bp-article-page .ds-token strong{display:block;font-size:16px}
.theme-1 .bp-article-page .ds-token p{font-size:14px;margin-top:4px}
@media(max-width:720px){:root{--article-section-gap:44px;--article-h2:24px;--article-body:16px;--article-footer-gap:56px}
.theme-1 main.bp-article-page .subhero{padding:32px 0 28px}
.theme-1 main.bp-article-page .subhero h1{font-size:30px}
.theme-1 main.bp-article-page .lead{font-size:16px}
.theme-1 main.bp-article-page .reading article[id^=guide-]{padding:28px 0}
.theme-1 main.bp-article-page .reading>aside{padding:20px}
.theme-1 main.bp-article-page .section-head{margin-bottom:20px}
.theme-1 main.bp-article-page .bp-bottom-cta{margin-top:44px;padding:28px 22px;border-radius:12px}
.theme-1 main.bp-article-page .bp-bottom-cta h2{font-size:24px}
.theme-1 main.bp-article-page .bp-cta-actions{gap:10px;margin-top:24px}
.theme-1 main.bp-article-page .bp-cta-actions>.button{padding:12px 8px;font-size:14px}
.theme-1 main.bp-article-page .faq summary{font-size:16px}
.theme-1 main.bp-article-page .related-links{grid-template-columns:1fr}
.theme-1 .site-footer{padding-top:40px}.theme-1 .site-footer .footer-nav{gap:14px 20px;font-size:13px}}
@media(max-width:360px){.theme-1 main.bp-article-page .bp-cta-actions,.theme-1 .bp-article-page .ds-grid{grid-template-columns:1fr}}

/* A static, semantic summary immediately follows the hero. */
.bp-glance{margin:0;padding:40px 0;font-family:BPArticle,Pretendard,system-ui,sans-serif}
.theme-1 main.bp-article-page>#glance{margin:32px 0 0;padding:0}
.bp-glance .gl-wrap{padding:28px;background:#f5f8fc;border:1px solid #dbe5ef;border-radius:12px}
.bp-glance .gl-title{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--accent);line-height:1.6;margin:0 0 24px}
.bp-glance ol{list-style:decimal-leading-zero;display:grid;gap:22px;margin:0;padding:0 0 0 30px}
.bp-glance .gl-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:0;list-style-position:inside}
.bp-glance li{padding:0;min-width:0;font-size:14px;line-height:1.8;color:var(--ink)}
.bp-glance li::marker{font-size:12px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums}
.bp-glance strong{font-weight:700;font-size:16px;line-height:1.5}
.bp-glance .gl-three strong{display:block;margin:8px 0 0}
.bp-glance .gl-list li+li{border-top:1px solid #dbe5ef;padding-top:20px}
.theme-1 main.bp-article-page .bp-glance li p,.bp-glance li p{font-size:14px;line-height:1.8;color:var(--muted);margin:8px 0 0;letter-spacing:-.015em}
.bp-glance a{color:var(--accent);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#adc9e9}
.bp-glance-home{padding:48px 0 0}
.bp-glance-home .gl-wrap{padding:32px 36px}
.bp-glance-home .gl-three{gap:40px}
.theme-1 main.bp-article-page .reading:has(>h2){display:block;margin-top:48px}
.theme-1 main.bp-article-page .reading>h2{margin-top:48px}
.theme-1 main.bp-article-page .reading>h2:first-child{margin-top:0}
.theme-1 main.bp-article-page .reading>p{margin-top:16px;font-size:var(--article-body);line-height:1.9}
@media(max-width:720px){.bp-glance .gl-three{grid-template-columns:1fr;gap:20px;list-style-position:outside;padding-left:28px}.bp-glance .gl-three strong{display:inline;margin:0}.bp-glance .gl-three li+li{padding-top:20px;border-top:1px solid #dbe5ef}.bp-glance .gl-wrap,.bp-glance-home .gl-wrap{padding:24px 20px}.bp-glance-home{padding-top:28px}.bp-glance .gl-title{font-size:10px;margin-bottom:20px}.theme-1 main.bp-article-page .reading>h2{margin-top:36px}}

.theme-1 main.bp-article-page .related-links a>span[aria-hidden="true"]{display:none}

.theme-1 .site-header .nav-top{font-size:15px;font-weight:600;padding:12px 0;white-space:nowrap}
.bp-hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bp-hub-grid>a{position:relative;display:block;padding:22px 42px 22px 22px;border:1px solid var(--line);border-radius:12px;background:white}
.bp-hub-grid strong{display:block;font-size:17px;line-height:1.5}
.bp-hub-grid span{display:block;font-size:14px;color:var(--muted);margin-top:8px;line-height:1.7}
.bp-hub-grid i{position:absolute;right:20px;top:22px;color:var(--accent);font-style:normal}
.bp-hub-grid>a:hover{border-color:var(--accent);background:#f5f8fc}
@media(max-width:720px){.bp-hub-grid{grid-template-columns:1fr}.theme-1 .site-header nav.open .nav-top{display:block;padding:14px 0}}
/* Keep nested document margins inside the page boundary. */
.theme-1 main.bp-article-page>section:last-child{display:flow-root}
.theme-1 main.bp-article-page>section>.reading{margin-bottom:0}
/* The existing bottom form remains available; avoid covering mobile article copy and CTA. */
/* Subpages retain the shared floating contact rail on mobile. */

/* Hub navigation: expose the real document hierarchy on every page. */
.theme-1 .bp-nav-group>summary{font-size:15px;font-weight:600;white-space:nowrap;list-style:none}
.theme-1 .bp-nav-group>summary::-webkit-details-marker{display:none}
.theme-1 .bp-nav-group>summary:after{display:inline-block;transition:transform .15s}
.theme-1 .bp-nav-group[open]>summary{color:var(--accent)}
.theme-1 .bp-nav-group[open]>summary:after{transform:rotate(180deg)}
.theme-1 .bp-nav-group>.bp-nav-panel{width:290px;padding:12px;border:1px solid #d8e3ed;border-radius:12px;box-shadow:0 16px 40px #102b4320;background:#fff}
.theme-1 .bp-nav-panel>a{display:block;padding:10px 12px;font-size:14px;line-height:1.6;border-radius:6px}
.theme-1 .bp-nav-panel>.bp-nav-hub{display:flex;align-items:center;justify-content:space-between;font-weight:700;color:var(--accent);background:var(--tint);margin-bottom:8px;padding:13px 12px}
.theme-1 .bp-nav-group:nth-last-of-type(1)>.bp-nav-panel{left:auto;right:0}
@media(max-width:720px){.theme-1 .bp-nav-group>summary{padding:14px 0;display:flex;align-items:center;justify-content:space-between}.theme-1 .bp-nav-group>.bp-nav-panel{position:static;width:100%;min-width:0;padding:10px;box-shadow:none;background:#f5f8fc;margin:0 0 10px}.theme-1 .bp-nav-panel>a{padding:11px 12px}.theme-1 .bp-nav-panel>.bp-nav-hub{background:#eaf3ff}.theme-1 .site-header nav.open{padding-top:10px}}

/* Main hero: balanced actions and a slightly smaller mobile headline. */
.theme-1 .fade-hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:376px;gap:16px}
.theme-1 .fade-hero .actions>.button{box-sizing:border-box;width:100%;min-width:0;min-height:56px;padding:14px 12px;display:flex;align-items:center;justify-content:center}
@media(max-width:720px){
 .theme-1 .v2-1 .fade-hero h1{font-size:clamp(30px,8.6vw,36px)}
 .theme-1 .fade-hero .actions{gap:12px}
}

/* Phone CTA label follows the existing mobile breakpoint. */
.theme-1 .fade-hero .hero-phone-mobile{display:none}
@media(max-width:720px){
 .theme-1 .fade-hero .hero-phone-desktop{display:none}
 .theme-1 .fade-hero .hero-phone-mobile{display:inline}
}

/* In-body guidance is readable HTML, with height determined by its content. */
.theme-1 main.bp-article-page .reading .bp-guide-note{margin:32px 0;padding:28px;background:#f3f7fc;border:1px solid #dbe5ef;border-radius:16px;box-shadow:none}
.theme-1 .bp-guide-note>header{display:block;margin:0 0 20px;padding:0;background:none;border:0}
.theme-1 .bp-guide-note .bp-note-label{display:block;color:#0759b5;font-size:11px;font-weight:700;letter-spacing:1.4px;line-height:1.4;margin-bottom:7px}
.theme-1 main.bp-article-page .bp-guide-note h3{font-size:23px;line-height:1.4;letter-spacing:-.04em;margin:0;color:#172b3c}
.theme-1 main.bp-article-page .reading .bp-guide-note>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0;margin:0;list-style:none}
.theme-1 main.bp-article-page .reading .bp-guide-note>ul>li{display:flex;align-items:flex-start;gap:12px;margin:0;padding:18px;background:#fff;border:1px solid #e1e8f0;border-radius:10px;min-width:0}
.theme-1 .bp-guide-note .bp-note-number{flex:none;color:#0759b5;font-size:13px;font-weight:700;line-height:26px}
.theme-1 .bp-guide-note li strong{display:block;font-size:17px;line-height:1.55;color:#172b3c;word-break:keep-all}
.theme-1 main.bp-article-page .reading .bp-guide-note ul li p{font-size:15px;line-height:1.8;color:#50616d;letter-spacing:-.02em;word-break:keep-all;overflow-wrap:anywhere;margin:8px 0 0}
@media(max-width:720px){
 .theme-1 main.bp-article-page .reading .bp-guide-note{padding:20px;margin:28px 0;border-radius:12px}
 .theme-1 main.bp-article-page .bp-guide-note h3{font-size:21px}
 .theme-1 main.bp-article-page .reading .bp-guide-note>ul{grid-template-columns:1fr;gap:12px}
 .theme-1 main.bp-article-page .reading .bp-guide-note>ul>li{padding:16px;gap:10px}
}
/* overlay-0924 hero-buttons */.hero-phone-mobile{display:none}@media(max-width:720px){.hero-phone-desktop{display:none}.hero-phone-mobile{display:inline}}.actions>.button,.actions>.button.secondary,.bp-cta-actions>.button{box-sizing:border-box;min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:8px}@media(max-width:720px){.actions>.button,.bp-cta-actions>.button{width:100%}}
/* overlay-0924 footer-call */.site-footer .footer-call{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:0 26px;border-radius:8px;background:#fff;color:#101a3a;font-weight:800;font-size:18px;letter-spacing:.01em;text-decoration:none;white-space:nowrap}.site-footer .footer-call:hover{background:#eef1ff}@media(max-width:720px){.site-footer .footer-call{width:100%}}
/* overlay-0924 footer-call-ink */.site-footer .footer-top a.footer-call,.site-footer .footer-top a.footer-call span{color:#101a3a!important}
/* rules-0925 */.hero-checks{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}.hero-checks li{position:relative;padding-left:26px;font-size:16px;line-height:1.6;white-space:nowrap;color:var(--ink,#172b3c)}.hero-checks li:before{content:"";position:absolute;left:0;top:7px;width:14px;height:8px;border-left:2.5px solid var(--accent,#0759b5);border-bottom:2.5px solid var(--accent,#0759b5);transform:rotate(-45deg)}@media(max-width:400px){.hero-checks li{font-size:15px}}
.bp-cases{padding:80px 0}.bp-cases .cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}.bp-cases article{background:#fff;border:1px solid var(--line,#d5e2ef);border-radius:14px;padding:26px 24px}.bp-cases h3{font-size:19px;line-height:1.45;margin:0 0 12px;text-wrap:balance}.bp-cases p{margin:0;font-size:15px;line-height:1.75;color:var(--muted,#50616d)}@media(max-width:900px){.bp-cases .cases-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.bp-cases .cases-grid{grid-template-columns:1fr}.bp-cases{padding:48px 0}}
.bp-center{padding:56px 0;text-align:center;background:var(--band,#f3f7fb)}.bp-center h2{font-size:28px;line-height:1.35;margin:0 0 8px}.bp-center p{margin:0 0 22px;font-size:16px;color:var(--muted,#50616d)}.bp-center .actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.bp-center .actions>*{min-width:240px;min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:8px}@media(max-width:600px){.bp-center .actions>*{width:100%}}
.bp-steps{padding:80px 0}.bp-steps .steps{display:grid;gap:28px;margin-top:28px;list-style:none;padding:0}.bp-steps .steps li{padding-top:22px;border-top:3px solid var(--accent,#0759b5)}.bp-steps .step-num{display:block;font-size:13px;color:var(--accent,#0759b5);font-weight:700;letter-spacing:.1em}.bp-steps h3{font-size:20px;line-height:1.5;margin:12px 0 10px}.bp-steps p{margin:0;font-size:15px;line-height:1.75;color:var(--muted,#50616d)}@media(max-width:600px){.bp-steps{padding:48px 0}}.section-head h2 br,.bp-two br{display:inline}.steps-5{grid-template-columns:repeat(5,1fr)!important}@media(max-width:1100px){.steps-5{grid-template-columns:repeat(3,1fr)!important}}@media(max-width:700px){.steps-5{grid-template-columns:1fr!important}}
.bp-cases .wrap,.bp-steps .wrap{max-width:1180px;margin:0 auto;padding:0 24px}@media(max-width:600px){.bp-cases .wrap,.bp-steps .wrap{padding:0 16px}}
/* rules-0925c */.hero-checks{margin-bottom:22px}
