/* ===================== Design tokens (아정당 스타일 블루 팔레트) ===================== */
:root{
  color-scheme:light;
  --green-50:#EFF4FE;
  --green-100:#E1EAFC;
  --green-200:#C3D6FA;
  --green-300:#93B7F5;
  --green-400:#5C8EEE;
  --green-500:#2F6BE8;
  --green-600:#145CE6;
  --green-700:#0F49BA;
  --green-800:#0C3A93;
  --green-900:#0A2C70;

  --gold-400:#FBBF24;
  --gold-500:#F5A623;
  --gold-600:#7A4A0E;

  --alert-dot:#FF4757;
  --success:#1E9E5A;
  --sms-accent:#159278;
  --highlight:#FFE157;

  --ink-900:#1F2429;
  --ink-700:#4B5563;
  --ink-500:#6B7280;
  --ink-300:#9CA3AF;

  --bg:#FFFFFF;
  --bg-tint:#F4F6FA;
  --bg-grey:#ECF0F4;
  --border:#E3E8F0;

  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:22px;
  --radius-xl:30px;

  --shadow-sm:0 2px 10px rgba(15,35,75,.06);
  --shadow-md:0 10px 28px rgba(15,35,75,.10);
  --shadow-lg:0 24px 56px rgba(15,35,75,.16);

  --container:1120px;
  --container-narrow:620px;
  --header-h:72px;

  --ease: cubic-bezier(.22,1,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 12px); overflow-x:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  font-family:"Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color:var(--ink-900);
  background:var(--bg);
  line-height:1.56;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  word-break:keep-all;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,p{ margin:0; }
h1,h2,h3{ text-wrap:balance; }
p{ text-wrap:pretty; }

/* 키보드 포커스 링: 마우스 클릭 시엔 안 뜨고 Tab 이동 시에만 표시 */
:focus-visible{ outline:2.5px solid var(--green-500); outline-offset:2px; border-radius:4px; }
.btn:focus-visible{ outline-offset:3px; }
.icon-grid-item:focus-visible .icon-grid-badge,
.app-tabbar-item:focus-visible,
.quick-nav-item:focus-visible{ outline-offset:-2px; }

.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:24px; }
.container-narrow{ max-width:var(--container-narrow); }
.container-shop{ max-width:1040px; }
.container-shop-detail{ max-width:860px; }

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--green-700); color:#fff;
  padding:12px 20px; border-radius:0 0 10px 0; z-index:1000;
}
.skip-link:focus{ left:0; }

.text-accent{ color:var(--green-600); }

/* ===================== Buttons ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 22px; border-radius:14px; font-weight:700; font-size:15px;
  border:1.5px solid transparent; transition:transform .18s var(--spring), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  white-space:nowrap;
}
.btn-primary{ background:var(--green-600); color:#fff; }
.btn-primary:hover{ background:var(--green-700); transform:translateY(-2px); }
.btn-primary:active{ transform:scale(.97); }
.btn-outline{ background:#fff; color:var(--ink-900); border-color:var(--border); }
.btn-outline:hover{ border-color:var(--green-500); color:var(--green-700); transform:translateY(-2px); }
.btn-white{ background:#fff; color:var(--green-800); }
.btn-white:hover{ background:var(--green-50); transform:translateY(-2px); }
.btn-kakao{ background:#FEE500; color:#191600; }
.btn-kakao:hover{ background:#FDD835; transform:translateY(-2px); }
.btn-lg{ padding:16px 26px; font-size:16px; width:100%; }
.btn-sm{ padding:10px 16px; font-size:13.5px; border-radius:11px; }

/* ===================== Header ===================== */
.site-header{
  position:sticky; top:0; z-index:200; height:var(--header-h);
  display:flex; align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.header-left{ display:flex; align-items:center; gap:28px; }
.brand{ display:flex; align-items:center; gap:9px; }
.brand-mark{ display:inline-flex; }
.brand-name{ font-size:19px; font-weight:800; letter-spacing:-.02em; color:var(--ink-900); }
.brand-logo-img{ display:block; height:24px; width:auto; }
.footer-brand-link .brand-logo-img{ height:26px; }

.main-nav{ display:flex; align-items:center; gap:26px; font-weight:600; font-size:14.5px; color:var(--ink-700); }
.main-nav a{ position:relative; padding:6px 0; transition:color .15s; }
.main-nav a:hover, .main-nav a.is-active{ color:var(--green-700); }
.main-nav a.is-active::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--green-600); border-radius:2px;
}

.header-actions{ display:flex; align-items:center; gap:8px; }
.header-actions .btn{ padding:11px 16px; font-size:13.5px; }

.nav-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; border:1px solid var(--border); border-radius:11px; background:#fff;
}
.nav-toggle span{ width:16px; height:2px; background:var(--ink-900); margin-inline:auto; border-radius:2px; transition:transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position:fixed; top:var(--header-h); right:0; width:min(300px,86vw); height:calc(100dvh - var(--header-h));
  background:#fff; z-index:200; display:flex; flex-direction:column; gap:2px; padding:54px 22px 18px;
  transform:translateX(100%); transition:transform .32s var(--ease);
  box-shadow:var(--shadow-lg); overflow-y:auto;
}
.mobile-nav.is-open{ transform:translateX(0); }
.mobile-nav a{ padding:14px 4px; font-weight:600; font-size:15.5px; border-bottom:1px solid var(--border); }
.mobile-nav a.is-active{ color:var(--green-700); }
.mobile-nav-close{
  position:absolute; top:14px; right:14px; width:32px; height:32px; border-radius:50%;
  background:var(--bg-tint); border:none; display:flex; align-items:center; justify-content:center; color:var(--ink-700);
}
.mobile-nav-close svg{ width:16px; height:16px; }
.mobile-nav-divider{ margin-top:14px; padding-top:14px; border-top:1px solid var(--border); font-size:11px; font-weight:800; color:var(--ink-500); letter-spacing:.04em; }
.mobile-cta{ margin-top:16px; }
.nav-scrim{ position:fixed; inset:0; background:rgba(10,20,45,.4); z-index:190; opacity:0; pointer-events:none; transition:opacity .3s; }
.nav-scrim.is-open{ opacity:1; pointer-events:auto; }

/* ===================== Quick category tab bar ===================== */
.quick-nav{ position:sticky; top:var(--header-h); z-index:199; background:#fff; border-bottom:1px solid var(--border); }
.quick-nav-track{ display:flex; justify-content:safe center; gap:22px; overflow-x:auto; padding:0 16px; scrollbar-width:none; -ms-overflow-style:none; }
.quick-nav-track::-webkit-scrollbar{ display:none; }
.quick-nav-item{
  position:relative; flex:none; padding:13px 0; font-size:14.5px; font-weight:700; color:var(--ink-500);
  white-space:nowrap; transition:color .15s;
}
.quick-nav-item.is-active{ color:var(--ink-900); }
.quick-nav-item.is-active::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2.5px; background:var(--green-600); border-radius:2px;
}
.quick-nav-dot{ position:absolute; top:11px; right:-8px; width:6px; height:6px; border-radius:50%; background:var(--alert-dot); }
@media (max-width:640px){
  /* 좁은 화면에서는 항목이 가로 스크롤로 잘리는데, 스크롤 가능하다는 힌트가 없으면
     "카드단말기"처럼 오른쪽 끝 항목이 그냥 잘려 보인다 — 오른쪽에 페이드를 깔아 알려준다. */
  .quick-nav::after{
    content:""; position:absolute; top:0; right:0; bottom:1px; width:28px; pointer-events:none;
    background:linear-gradient(90deg, rgba(255,255,255,0), #fff 70%);
  }
}

/* ===================== Header notification bell ===================== */
.notif-bell{
  position:relative; width:38px; height:38px; border-radius:50%; border:none; background:none;
  display:flex; align-items:center; justify-content:center; color:var(--ink-700);
}
.notif-bell svg{ width:21px; height:21px; }
.notif-bell .dot{
  position:absolute; top:7px; right:8px; width:7px; height:7px; border-radius:50%;
  background:var(--alert-dot); border:1.5px solid #fff;
}
.notif-bell-wrap{ position:relative; }
.notif-panel{
  position:absolute; top:calc(100% + 10px); right:-6px; width:280px; max-width:80vw;
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:14px; z-index:200;
}
.notif-panel[hidden]{ display:none; }
.notif-panel-head{ font-size:12.5px; font-weight:800; color:var(--ink-500); margin:0 0 10px; }
.notif-panel-list{ display:flex; flex-direction:column; gap:8px; }
.notif-item{ display:block; padding:10px 12px; border-radius:12px; background:var(--bg-tint); text-decoration:none; }
.notif-item-pin{ display:inline-block; font-size:10.5px; font-weight:800; color:#fff; background:var(--green-600); padding:2px 8px; border-radius:99px; margin-bottom:5px; }
.notif-item-title{ display:block; font-size:13px; font-weight:700; color:var(--ink-900); line-height:1.4; }
.notif-item-date{ display:block; font-size:11px; color:var(--ink-500); margin-top:3px; }
.notif-panel-more{ display:block; text-align:center; margin-top:12px; font-size:12.5px; font-weight:800; color:var(--green-700); }
.notif-empty{ font-size:12.5px; color:var(--ink-500); text-align:center; padding:12px 0; }

/* ===================== Hero (page-header banner variant, used on subpages) ===================== */
.hero{ position:relative; overflow:hidden; padding:56px 0 48px; background:linear-gradient(180deg, var(--green-50) 0%, #ffffff 80%); text-align:center; }
.hero-trust{ display:inline-flex; flex-direction:column; gap:10px; text-align:left; }
.hero-trust li{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--ink-700); font-weight:600; }
.hero-trust .ic{ width:17px; height:17px; flex:none; padding:3px; background:var(--green-100); border-radius:50%; color:var(--green-700); stroke:currentColor; fill:none; stroke-width:3; }

@keyframes float-slow{ 0%,100%{ transform:translateY(0) rotate(-8deg); } 50%{ transform:translateY(-9px) rotate(-8deg); } }
@keyframes float-med{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-13px); } }
@keyframes float-fast{ 0%,100%{ transform:translateY(0) scale(1); } 50%{ transform:translateY(-7px) scale(1.05); } }
.float-slow{ animation:float-slow 4.5s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
.float-med{ animation:float-med 3.6s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
.float-fast{ animation:float-fast 2.6s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }

/* ===================== Strip ===================== */
.strip{ background:var(--green-900); padding:16px 0; }
.strip-inner{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; text-align:center; }
.strip-item{ color:rgba(255,255,255,.85); font-size:13.5px; }
.strip-item strong{ color:var(--green-300); font-weight:800; margin-right:4px; }

/* ===================== Sections ===================== */
.section{ padding:76px 0; }
.section-tint{ background:var(--bg-tint); }
.section-head{ text-align:center; margin:0 auto 40px; }
.section-head h2{ font-size:clamp(25px,4vw,34px); font-weight:800; letter-spacing:-.025em; line-height:1.28; margin-bottom:12px; }
.section-sub{ color:var(--ink-500); font-size:15px; }

.dark-section{ position:relative; overflow:hidden; background:linear-gradient(165deg,var(--green-800),var(--green-900)); padding:76px 0; }
.dark-section::before{
  content:""; position:absolute; top:-160px; left:50%; transform:translateX(-50%);
  width:520px; height:340px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(147,183,245,.18), rgba(147,183,245,0));
  pointer-events:none;
}
.dark-section .container{ position:relative; z-index:1; }
.on-dark{ color:#fff; }
.on-dark-sub{ color:rgba(255,255,255,.68); }

/* ===================== Cards ===================== */
.stack-list{ display:flex; flex-direction:column; gap:14px; }

.stack-card{
  display:flex; align-items:flex-start; gap:16px;
  background:#fff; border-radius:var(--radius-lg); padding:22px;
  box-shadow:var(--shadow-sm); transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stack-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.stack-icon{
  width:46px; height:46px; border-radius:14px; background:linear-gradient(160deg,var(--green-100),var(--green-50)); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.stack-icon svg{ width:23px; height:23px; }
.stack-body strong{ display:block; font-size:16.5px; font-weight:800; margin-bottom:5px; }
.stack-body p{ font-size:14px; color:var(--ink-500); line-height:1.6; }

.card-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.grey-card{
  display:flex; align-items:flex-start; gap:16px;
  background:#fff; border-radius:var(--radius-lg); padding:24px;
  box-shadow:var(--shadow-sm); transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.grey-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.grey-card-icon{
  width:42px; height:42px; border-radius:13px; background:linear-gradient(160deg,var(--green-100),var(--green-50)); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.grey-card-icon svg{ width:21px; height:21px; }
.grey-card-eyebrow{ font-size:11.5px; font-weight:800; letter-spacing:.06em; color:var(--green-600); margin-bottom:4px; }
.grey-card-body strong{ display:block; font-size:16px; font-weight:800; margin-bottom:4px; }
.grey-card-body p{ font-size:13.5px; color:var(--ink-500); line-height:1.6; }

.dark-card{
  display:flex; align-items:flex-start; gap:16px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.09); border-radius:var(--radius-lg); padding:20px;
  transition:transform .25s var(--ease), background .25s var(--ease);
}
.dark-card:hover{ transform:translateY(-4px); background:rgba(255,255,255,.1); }
.dark-card-icon{
  width:40px; height:40px; border-radius:12px; background:rgba(147,183,245,.18); color:var(--green-300);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.dark-card-icon svg{ width:20px; height:20px; }
.dark-card-body strong{ display:block; font-size:15.5px; font-weight:800; color:#fff; margin-bottom:4px; }
.dark-card-body p{ font-size:13.5px; color:rgba(255,255,255,.6); line-height:1.6; }

/* ===================== Bento grid (features, 아시메트릭 타일) ===================== */
.bento{ display:grid; grid-template-columns:repeat(2,1fr); grid-auto-rows:minmax(120px,auto); gap:12px; }
.bento-tile{
  position:relative; overflow:hidden; border-radius:var(--radius-lg); padding:20px;
  background:#fff; border:1px solid var(--border); box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:14px;
  transition:transform .28s var(--ease), box-shadow .28s var(--ease);
}
.bento-tile:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.bento-tile > .bento-body{ margin-top:auto; }
.bento-tall{ grid-row:span 2; }
.bento-wide{ grid-column:span 2; }
.bento-ico{
  width:42px; height:42px; border-radius:13px; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg,var(--green-100),var(--green-50)); color:var(--green-700);
}
.bento-ico svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.8; }
.bento-tile h3{ font-size:16.5px; font-weight:800; letter-spacing:-.01em; line-height:1.35; margin-bottom:6px; }
.bento-tile p{ font-size:13px; color:var(--ink-500); line-height:1.6; }
.bento-stat{ font-size:clamp(28px,8vw,38px); font-weight:800; letter-spacing:-.03em; color:var(--green-600); line-height:1; margin-bottom:8px; }

.bento-feature{
  border:none; color:#fff;
  background:radial-gradient(130% 130% at 100% 0%, var(--green-500), var(--green-700) 58%, var(--green-900));
}
.bento-feature h3{ color:#fff; font-size:19px; }
.bento-feature p{ color:rgba(255,255,255,.82); font-size:13.5px; }
.bento-feature .bento-ico{ background:rgba(255,255,255,.18); color:#fff; }
.bento-tint{ background:var(--bg-tint); border-color:transparent; }
.bento-tint .bento-stat{ color:var(--green-700); }

@media (max-width:400px){
  .bento{ gap:10px; }
  .bento-tile{ padding:16px; }
}

/* Hero carousel (아정당 2-slide banner, index.html) */
.hero-carousel{ position:relative; display:grid; }
.hero-slide{ grid-area:1/1; visibility:hidden; opacity:0; pointer-events:none; transition:opacity .25s var(--ease); }
.hero-slide.is-active{ visibility:visible; opacity:1; pointer-events:auto; }
.hero-counter{
  position:absolute; top:16px; right:18px; z-index:2; background:rgba(0,0,0,.28); color:#fff;
  font-size:11.5px; font-weight:700; padding:3px 10px; border-radius:99px;
}
.hero-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.85); color:var(--ink-900);
  border:none; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm); transition:background .15s;
}
.hero-nav:hover{ background:#fff; }
.hero-nav svg{ width:16px; height:16px; }
.hero-prev{ left:10px; }
.hero-next{ right:10px; }
.hero-dots{ display:flex; justify-content:center; gap:6px; margin-top:14px; }
.hero-dots button{ width:6px; height:6px; border-radius:50%; background:var(--border); border:none; padding:0; transition:all .25s; }
.hero-dots button.is-active{ width:18px; border-radius:4px; background:var(--green-600); }
.merchant-cta{ margin-top:28px; display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.merchant-cta .btn{ width:auto; padding-inline:28px; }

/* ===================== Calculator ===================== */
.calc-result{ text-align:center; padding:8px 0 32px; border-bottom:1px solid var(--border); margin-bottom:28px; }
.calc-result-label{ font-size:14px; color:var(--ink-500); font-weight:600; margin-bottom:6px; }
.calc-result-total{ font-size:clamp(40px,8vw,56px); font-weight:800; letter-spacing:-.03em; color:var(--green-600); margin-bottom:20px; transition:transform .25s var(--spring); display:inline-block; }
.calc-result-total.is-pulsing{ transform:scale(1.06); }

.calc-inputs{ max-width:320px; margin-inline:auto; background:var(--bg-grey); border-radius:var(--radius-xl); padding:28px 26px; }
.calc-field{ display:flex; flex-direction:column; margin-bottom:26px; }
.calc-field:last-of-type{ margin-bottom:0; }
.calc-field-label{ font-size:14px; font-weight:700; color:var(--ink-700); margin-bottom:8px; }
.calc-field-value{ font-size:24px; font-weight:800; color:var(--ink-900); margin-bottom:16px; }

.range-input{ -webkit-appearance:none; appearance:none; width:100%; height:4px; border-radius:99px; background:var(--border); outline:none; }
.range-input::-webkit-slider-thumb{
  -webkit-appearance:none; width:22px; height:22px; border-radius:50%; background:var(--green-600);
  box-shadow:0 2px 8px rgba(20,92,230,.45); cursor:pointer; transition:transform .15s; border:3px solid #fff;
}
.range-input::-webkit-slider-thumb:hover{ transform:scale(1.12); }
.range-input::-moz-range-thumb{ width:22px; height:22px; border-radius:50%; background:var(--green-600); cursor:pointer; border:3px solid #fff; }
.range-input::-moz-range-track{ height:4px; border-radius:99px; background:var(--border); }

.select-wrap{ position:relative; }
.select-wrap select{
  width:100%; appearance:none; -webkit-appearance:none; background:#fff; border:1.5px solid var(--border);
  border-radius:14px; padding:15px 44px 15px 16px; font-size:15px; font-weight:700; color:var(--ink-900);
  font-family:inherit; cursor:pointer; transition:border-color .15s;
}
.select-wrap select:focus{ outline:none; border-color:var(--green-500); }
.select-wrap select:focus-visible{ outline:2.5px solid var(--green-500); outline-offset:2px; }
.select-chevron{ position:absolute; right:16px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:var(--ink-500); pointer-events:none; }

.calc-disclaimer{ font-size:12px; color:var(--ink-500); line-height:1.6; margin-top:20px; text-align:center; }

/* ===================== Fee compare ===================== */
.fee-compare{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fee-card{ position:relative; background:#fff; border-radius:var(--radius-lg); padding:26px 18px; text-align:center; box-shadow:var(--shadow-sm); }
.fee-card-mine{ box-shadow:0 0 0 2.5px var(--green-500), var(--shadow-md); }
.fee-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--green-900); color:#fff; font-size:11.5px; font-weight:700; padding:5px 12px; border-radius:99px; white-space:nowrap;
}
.fee-tag{ font-size:12.5px; font-weight:700; color:var(--ink-500); margin-bottom:10px; }
.fee-rate{ font-size:32px; font-weight:800; margin-bottom:6px; color:var(--ink-900); }
.fee-card-mine .fee-rate{ color:var(--green-600); }
.fee-amount{ font-size:13px; color:var(--ink-500); }

/* ===================== Reviews ===================== */
.review-summary{ display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:20px; font-weight:800; font-size:18px; }
.review-summary .stars{ color:var(--gold-500); }
.review-summary .count{ color:var(--ink-500); font-weight:600; font-size:14px; }
.review-list{ display:flex; justify-content:safe center; gap:14px; overflow-x:auto; padding:2px 2px 10px; margin:0 -2px; scrollbar-width:thin; }
.review-item{
  flex:0 0 260px; background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:20px;
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:10px;
}
.review-top{ display:flex; justify-content:space-between; align-items:center; }
.review-stars{ color:var(--gold-500); font-size:14px; letter-spacing:2px; }
.review-date{ font-size:12px; color:var(--ink-500); }
.review-text{ font-size:14px; color:var(--ink-700); line-height:1.65; flex:1; }
.review-meta{ display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--ink-500); border-top:1px solid var(--border); padding-top:10px; }
.review-meta svg{ width:14px; height:14px; flex:none; }
.review-tag-pill{
  display:inline-block; font-size:11px; font-weight:700; color:var(--green-700); background:var(--green-50);
  padding:3px 10px; border-radius:99px; align-self:flex-start;
}

/* Board layout (full-width stacked list, used on reviews.html) */
.review-board{ display:flex; flex-direction:column; gap:14px; overflow-x:visible; padding:0; margin:0; }
.review-board .review-item{ flex:none; width:100%; }

/* ===================== Board pages (events / tips / Q&A category groups) ===================== */
.board-section{ margin-bottom:36px; }
.board-section:last-child{ margin-bottom:0; }
.board-section-title{ font-size:16px; font-weight:800; margin-bottom:14px; padding-left:2px; }
.qna-group{ margin-bottom:32px; }
.qna-group:last-child{ margin-bottom:0; }
.qna-group-title{ font-size:13px; font-weight:800; color:var(--green-700); letter-spacing:.04em; margin-bottom:6px; }

/* ===================== FAQ / Accordion ===================== */
.accordion-item{ border-bottom:1px solid var(--border); }
.accordion-trigger{ width:100%; display:flex; align-items:center; gap:12px; background:none; border:none; text-align:left; padding:20px 4px; font-size:15.5px; font-weight:700; color:var(--ink-900); }
.q-badge{ width:24px; height:24px; border-radius:50%; background:var(--green-50); color:var(--green-700); font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; flex:none; }
.accordion-trigger .ic{ width:18px; height:18px; flex:none; stroke:var(--ink-500); fill:none; stroke-width:2; margin-left:auto; transition:transform .25s var(--ease); }
.accordion-trigger[aria-expanded="true"] .ic{ transform:rotate(180deg); stroke:var(--green-600); }
.accordion-panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .28s var(--ease); }
.accordion-panel > p{ overflow:hidden; }
.accordion-item.is-open .accordion-panel{ grid-template-rows:1fr; }
.accordion-panel p{ color:var(--ink-500); font-size:14px; line-height:1.7; padding-bottom:0; padding-left:36px; min-height:0; transition:padding-bottom .28s var(--ease); }
.accordion-item.is-open .accordion-panel p{ padding-bottom:20px; }

/* ===================== Steps flow ===================== */
.steps-flow{ display:flex; align-items:flex-start; justify-content:center; gap:6px; }
.steps-flow-item{ display:flex; flex-direction:column; align-items:center; gap:10px; flex:1; text-align:center; }
.steps-flow-icon{
  width:56px; height:56px; border-radius:16px; background:var(--green-50); color:var(--green-700);
  display:flex; align-items:center; justify-content:center;
}
.steps-flow-icon svg{ width:26px; height:26px; }
.steps-flow-label{ font-size:11px; font-weight:800; color:var(--green-600); letter-spacing:.04em; }
.steps-flow-text{ font-size:13.5px; font-weight:700; color:var(--ink-900); }
.steps-flow-arrow{ color:var(--ink-300); padding-top:18px; flex:none; }
.steps-flow-arrow svg{ width:16px; height:16px; }

/* ===================== CTA ===================== */
.cta-section{ padding:80px 0 100px; background:var(--bg); }
.cta-inner{ text-align:center; max-width:520px; }
.cta-inner h2{ font-size:clamp(24px,3.6vw,32px); font-weight:800; margin-bottom:12px; letter-spacing:-.02em; }
.cta-inner > p{ color:var(--ink-500); margin-bottom:28px; font-size:14.5px; }
.cta-actions{ display:flex; flex-direction:column; gap:10px; }
.cta-note{ font-size:12px; color:var(--ink-500); margin-top:14px; }
.cta-note a{ text-decoration:underline; }

.cta-bold{ position:relative; overflow:hidden; background:radial-gradient(120% 140% at 50% -10%, var(--green-500), var(--green-700) 55%, var(--green-900) 100%); }
.cta-bold .cta-inner h2{ color:#fff; }
.cta-bold .cta-inner > p{ color:rgba(255,255,255,.78); }
.cta-bold .cta-note{ color:rgba(255,255,255,.55); }
.cta-bold .cta-note a{ color:#fff; }
.cta-bold .btn-primary{ background:#fff; color:var(--green-800); }
.cta-bold .btn-primary:hover{ background:var(--green-50); }

/* ===================== Footer ===================== */
.site-footer{ background:var(--green-900); color:rgba(255,255,255,.68); padding:44px 0 110px; }
.footer-inner{ display:flex; flex-direction:column; gap:22px; padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand-link{ display:inline-flex; align-items:center; gap:9px; }
.footer-disclaimer{ margin-top:10px; opacity:.6; font-size:12.5px; line-height:1.8; }
.footer-bottom{ padding-top:18px; font-size:12px; }

.footer-nav{ display:flex; gap:16px; flex-wrap:wrap; font-size:13px; font-weight:600; }
.footer-nav a:hover{ color:#fff; }
.footer-info{ display:grid; grid-template-columns:1fr; gap:6px 24px; font-size:12.5px; line-height:1.9; margin:0; }
.footer-info > div{ display:flex; gap:6px; }
.footer-info dt{ flex:none; margin:0; color:rgba(255,255,255,.45); }
.footer-info dd{ margin:0; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.8);
  transition:background .15s, color .15s;
}
.footer-social a:hover{ background:rgba(255,255,255,.16); color:#fff; }
.footer-social svg{ width:18px; height:18px; }

@media (min-width:640px){
  .footer-info{ grid-template-columns:repeat(2,1fr); }
}

/* ===================== Scroll top ===================== */
.scroll-top{
  position:fixed; right:18px; bottom:112px; width:44px; height:44px; border-radius:50%;
  background:#fff; color:var(--ink-900); border:1px solid var(--border); box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center; opacity:0; transform:translateY(10px); pointer-events:none;
  transition:opacity .25s, transform .25s; z-index:150;
}
.scroll-top.is-visible{ opacity:1; transform:translateY(0); pointer-events:auto; }
.scroll-top svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.4; }

/* ===================== App-style bottom tab bar ===================== */
.app-tabbar{
  position:fixed; left:0; right:0; bottom:0; z-index:185; display:none;
  background:rgba(255,255,255,.98); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-top:1px solid var(--border); box-shadow:0 -6px 20px rgba(23,62,43,.07);
  padding-bottom:env(safe-area-inset-bottom);
}
.app-tabbar-inner{ display:flex; align-items:stretch; justify-content:space-around; max-width:var(--container); margin-inline:auto; }
.app-tabbar-item{
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  padding:9px 2px 8px; color:var(--ink-500); font-size:10.5px; font-weight:700; transition:color .15s;
}
.app-tabbar-item svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.8; }
.app-tabbar-item.is-active{ color:var(--green-600); }
.app-tabbar-item.is-kakao{ color:var(--ink-500); }
.app-tabbar-item.is-kakao svg{ fill:currentColor; stroke:none; }

/* Floating consult button — direct KakaoTalk channel link */
.fab-kakao{
  position:fixed; right:18px; bottom:78px; z-index:181;
  width:56px; height:56px; border-radius:50%; background:#FEE500; color:#191600;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px;
  box-shadow:var(--shadow-lg); transition:transform .2s var(--spring);
}
.fab-kakao:hover{ transform:scale(1.06); }
.fab-kakao svg{ width:20px; height:20px; }
.fab-kakao-label{ font-size:9.5px; font-weight:800; }

/* ===================== Icon quick-access grid (아정당 style: no badge box, colorful icons on white) ===================== */
.icon-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:28px 4px; max-width:400px; margin-inline:auto; }
.icon-grid-item{ display:flex; flex-direction:column; align-items:center; gap:5px; text-align:center; }
.icon-grid-badge{
  width:clamp(44px, 11vw, 64px); height:clamp(44px, 11vw, 64px); display:flex; align-items:center; justify-content:center;
  transition:transform .25s var(--spring);
}
.icon-grid-item:hover .icon-grid-badge{ transform:translateY(-4px) scale(1.08); }
.icon-grid-badge svg{ width:100%; height:100%; }
.icon-grid-item span{ font-size:12.5px; font-weight:700; color:var(--ink-700); }
.icon-grid-dot{ display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--alert-dot); margin-left:2px; vertical-align:top; }

/* ===================== Hero banner card (아정당 style dark inset card) ===================== */
.hero-banner{
  position:relative; overflow:hidden; text-align:left;
  background:radial-gradient(120% 160% at 100% 0%, var(--green-600), var(--green-800) 55%, var(--green-900) 100%);
  border-radius:var(--radius-xl); padding:22px 22px 20px; color:#fff;
  box-shadow:var(--shadow-lg);
}
.hero-banner-badge{
  display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:800; letter-spacing:.02em;
  color:#fff; background:rgba(255,255,255,.16); padding:5px 12px; border-radius:999px; margin-bottom:10px;
}
.hero-banner h1{ color:#fff; font-size:clamp(19px,5vw,24px); line-height:1.3; font-weight:800; letter-spacing:-.02em; margin-bottom:6px; }
.hero-banner p{ color:rgba(255,255,255,.78); font-size:13px; line-height:1.5; margin-bottom:14px; max-width:300px; }
.hero-banner .btn-pill{
  display:inline-flex; align-items:center; gap:6px; background:#fff; color:var(--green-800);
  padding:10px 18px; border-radius:999px; font-weight:800; font-size:13.5px; width:auto;
}
.hero-banner-illust{ position:absolute; right:-10px; bottom:-10px; opacity:.9; pointer-events:none; width:110px; height:auto; }

/* Real photo banner slot — drop <img class="hero-banner-photo"> as the first child of .hero-banner and add class="has-photo" */
.hero-banner-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; border-radius:inherit; }
.hero-banner.has-photo::after{
  content:""; position:absolute; inset:0; z-index:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(100deg, rgba(10,25,60,.86) 40%, rgba(10,25,60,.35) 75%, rgba(10,25,60,.15) 100%);
}
.hero-banner.has-photo .hero-banner-badge,
.hero-banner.has-photo h1,
.hero-banner.has-photo p,
.hero-banner.has-photo .btn-pill{ position:relative; z-index:1; }

/* ---- 메인 히어로: 밝은 회색 모던 카드(좌측 정렬, 일러스트 없음) ---- */
#top .hero-carousel{ max-width:460px; margin-inline:auto; }
.hero-banner--light{
  background:linear-gradient(135deg,#F6F8FC 0%,#E7EEF9 100%);
  color:var(--ink-900); box-shadow:var(--shadow-md);
  min-height:238px; padding:34px 36px;
  display:flex; align-items:center; justify-content:flex-start;
}
.hero-banner--light .hero-banner-text{ position:relative; z-index:2; max-width:100%; text-align:left; }
.hero-banner--light h1{ color:var(--ink-900); font-size:clamp(20px,4.4vw,27px); line-height:1.32; margin-bottom:8px; }
.hero-banner--light p{ color:var(--ink-500); font-size:13.5px; line-height:1.6; margin:0 0 16px; max-width:280px; }
.hero-banner--light .hero-counter{
  top:auto; bottom:14px; right:16px; background:rgba(20,92,230,.10); color:var(--green-700);
}
@media (max-width:640px){
  .hero-banner--light{ flex-direction:column; align-items:flex-start; min-height:0; padding:20px 18px 16px; }
  .hero-banner--light .hero-banner-text{ max-width:100%; }
  .hero-banner--light .hero-counter{ top:14px; bottom:auto; }
  .hero-nav{ display:none; }
}

/* Chip-style benefit tags (아정당 style scattered pills) */
.chip-row{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.chip-tag{
  display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid var(--border);
  padding:9px 14px; border-radius:999px; font-size:13px; font-weight:700; color:var(--ink-700); box-shadow:var(--shadow-sm);
}
.chip-tag strong{ color:var(--green-700); }
.chip-tag.is-muted{ opacity:.55; }
.chip-tag.is-muted strong{ color:var(--ink-300); }

/* ===================== Reveal animation ===================== */
.reveal{ opacity:0; transform:translateY(20px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-stagger.is-visible > *{ animation:stagger-in .55s var(--ease) both; }
.reveal-stagger.is-visible > *:nth-child(1){ animation-delay:.02s; }
.reveal-stagger.is-visible > *:nth-child(2){ animation-delay:.08s; }
.reveal-stagger.is-visible > *:nth-child(3){ animation-delay:.14s; }
.reveal-stagger.is-visible > *:nth-child(4){ animation-delay:.2s; }
.reveal-stagger.is-visible > *:nth-child(5){ animation-delay:.26s; }
.reveal-stagger.is-visible > *:nth-child(6){ animation-delay:.32s; }
@keyframes stagger-in{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:translateY(0); } }

.hub-card-link{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:800; color:var(--green-700); }
.hub-card-link svg{ width:15px; height:15px; transition:transform .2s var(--ease); }
.feature-grid-more{ text-align:center; margin-top:16px; }

/* Top rotating promo banner carousel (아정당 style multi-slide) */
.promo-carousel{ position:relative; background:linear-gradient(90deg,#6C4FD6,#8B6FE8); overflow:hidden; }
.promo-carousel.is-hidden{ display:none; }
.promo-track{ position:relative; height:40px; }
.promo-slide{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:0 44px; font-size:13px; font-weight:700; text-align:center; color:#fff;
  opacity:0; pointer-events:none; transition:opacity .4s ease;
}
.promo-slide.is-active{ opacity:1; pointer-events:auto; }
.promo-close{
  position:absolute; right:12px; top:50%; transform:translateY(-50%); width:24px; height:24px; z-index:2;
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.85); background:none; border:none;
}
.promo-close svg{ width:16px; height:16px; }

/* Contact banner (아정당 "365일 24시간" style) */
.contact-banner{ text-align:center; color:var(--ink-900); }
.contact-banner h3{ font-size:clamp(20px,4vw,26px); font-weight:800; line-height:1.4; margin-bottom:18px; }
.contact-banner .btn{ width:auto; }
.contact-banner .cta-note{ color:var(--ink-500); }
.contact-banner .cta-note a{ color:var(--ink-500); }

/* ===================== Ad banner carousel (아정당 광고 배너 스타일: 닫기 X + 하단 좌측 CTA pill, 스와이프 가능) ===================== */
/* Mobile: sits fixed to the bottom, directly attached above the app tab bar. Desktop: floating popup card. */
.mobile-bottom-stack{ display:contents; }
#adBannerSection{ padding:8px 12px 6px; }
.ad-banner-carousel{ position:relative; display:grid; }
.ad-banner-carousel.is-hidden{ display:none; }
.ad-banner-slide{ grid-area:1/1; visibility:hidden; opacity:0; pointer-events:none; transition:opacity .25s var(--ease); }
.ad-banner-slide.is-active{ visibility:visible; opacity:1; pointer-events:auto; }
.ad-banner-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.22); color:#fff;
  border:none; display:flex; align-items:center; justify-content:center; transition:background .15s;
}
.ad-banner-nav:hover{ background:rgba(255,255,255,.36); }
.ad-banner-nav svg{ width:14px; height:14px; }
.ad-banner-prev{ left:6px; }
.ad-banner-next{ right:6px; }
.ad-banner-dots{ display:flex; justify-content:center; gap:6px; margin-top:8px; }
.ad-banner-dots button{ width:6px; height:6px; border-radius:50%; background:var(--border); border:none; padding:0; transition:all .25s; }
.ad-banner-dots button.is-active{ width:18px; border-radius:4px; background:var(--green-600); }
.ad-banner{
  position:relative; overflow:hidden; border-radius:var(--radius-lg); padding:12px 14px; min-height:80px;
  background:linear-gradient(120deg,#0C1B3A,#14265E 55%,#1B3A8C); box-shadow:var(--shadow-md);
}
.ad-banner.is-hidden{ display:none; }
#adBannerSection.is-hidden{ display:none; }
.ad-banner-close{
  position:absolute; top:9px; right:9px; z-index:2; width:22px; height:22px; border-radius:50%;
  background:rgba(255,255,255,.14); color:#fff; border:none; display:flex; align-items:center; justify-content:center;
}
.ad-banner-close svg{ width:12px; height:12px; }
.ad-banner-tag{
  position:relative; z-index:1; display:inline-flex; font-size:10px; font-weight:800; color:#fff;
  background:rgba(255,255,255,.14); padding:3px 9px; border-radius:99px; margin-bottom:6px;
}
.ad-banner h3{ position:relative; z-index:1; color:#fff; font-size:14.5px; font-weight:800; line-height:1.34; margin-bottom:6px; max-width:60%; }
.ad-banner p{ position:relative; z-index:1; color:rgba(255,255,255,.78); font-size:11.5px; font-weight:600; line-height:1.42; margin:0 0 10px; max-width:60%; }
.ad-banner-cta{
  position:relative; z-index:1; display:inline-flex; align-items:center; gap:5px; background:var(--gold-400);
  color:#4A2E06; font-weight:800; font-size:11.5px; padding:6px 12px; border-radius:99px;
}
.ad-banner-illust{ position:absolute; right:10px; bottom:10px; opacity:.95; width:64px; height:64px; }

/* Real photo slot for the ad banner — drop <img class="ad-banner-photo"> as the first child of .ad-banner */
.ad-banner-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; border-radius:inherit; }
.ad-banner.has-photo::after{
  content:""; position:absolute; inset:0; z-index:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg, rgba(10,20,45,.15), rgba(10,20,45,.6));
}

@media (max-width:859px){
  .mobile-bottom-stack{
    display:flex; flex-direction:column; position:fixed; left:0; right:0; bottom:0; z-index:185;
  }
  .mobile-bottom-stack .app-tabbar{ position:static; }
  body.has-ad-banner{ padding-bottom:calc(64px + 104px); }
  body.has-ad-banner.ad-banner-dismissed{ padding-bottom:64px; }
}

@media (min-width:860px){
  #adBannerSection{ position:fixed; left:24px; bottom:24px; z-index:170; width:360px; padding:0; margin:0; }
}

/* ===================== Notices (정적) ===================== */
.notice-list{ display:flex; flex-direction:column; gap:12px; }
.notice-item{ position:relative; background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:18px 20px; box-shadow:var(--shadow-sm); }
.notice-item strong{ display:block; font-size:15px; font-weight:800; margin-bottom:6px; padding-right:40px; }
.notice-item p{ font-size:13.5px; color:var(--ink-500); line-height:1.6; margin-bottom:8px; }
.notice-date{ font-size:12px; color:var(--ink-500); }
.notice-pin{
  position:absolute; top:18px; right:20px; font-size:10.5px; font-weight:800; color:var(--green-700);
  background:var(--green-50); padding:2px 8px; border-radius:99px;
}
.notice-pin-ended{ color:var(--ink-500); background:var(--bg-tint); }

/* ===================== Content search / filter (reviews, FAQ, Q&A, tips) ===================== */
.content-search{ position:relative; margin-bottom:16px; }
.content-search svg{
  position:absolute; left:16px; top:50%; transform:translateY(-50%); width:18px; height:18px;
  stroke:var(--ink-300); fill:none; stroke-width:2; pointer-events:none;
}
.content-search input{
  width:100%; padding:14px 16px 14px 44px; border-radius:var(--radius-lg); border:1.5px solid var(--border);
  background:#fff; font-size:15px; font-family:inherit; color:var(--ink-900); outline:none;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.content-search input:focus{ border-color:var(--green-400); box-shadow:0 0 0 4px var(--green-50); }
.content-search input::placeholder{ color:var(--ink-300); }

.filter-pills{ display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; margin-bottom:20px; scrollbar-width:none; }
.filter-pills::-webkit-scrollbar{ display:none; }
.filter-pill{
  flex:none; border:1.5px solid var(--border); background:#fff; color:var(--ink-700); font-size:13.5px; font-weight:700;
  padding:9px 16px; border-radius:99px; white-space:nowrap; transition:all .2s var(--ease);
}
.filter-pill.is-active{ background:var(--green-600); border-color:var(--green-600); color:#fff; }

.result-count{ font-size:13px; color:var(--ink-500); font-weight:600; margin-bottom:14px; }
.result-count strong{ color:var(--green-700); }

.no-results{ text-align:center; padding:56px 20px; color:var(--ink-500); font-size:14.5px; }
.no-results strong{ display:block; font-size:16px; color:var(--ink-900); margin-bottom:6px; }

.load-more-btn{
  display:block; width:100%; margin-top:8px; padding:15px; border-radius:var(--radius-lg); border:1.5px solid var(--border);
  background:#fff; color:var(--ink-700); font-size:14.5px; font-weight:700; text-align:center; transition:all .2s var(--ease);
}
.load-more-btn:hover{ border-color:var(--green-400); color:var(--green-700); }

.qna-group.is-hidden{ display:none; }
.accordion-item.is-hidden{ display:none; }

/* Tips board cards */
.tip-grid{ display:flex; flex-direction:column; gap:14px; }
.tip-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:20px;
  box-shadow:var(--shadow-sm); cursor:pointer;
}
.tip-card-top{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.tip-card-cat{
  font-size:11px; font-weight:700; color:var(--green-700); background:var(--green-50);
  padding:3px 10px; border-radius:99px;
}
.tip-card h3{ font-size:15.5px; font-weight:800; line-height:1.5; margin-bottom:8px; }
.tip-card-excerpt{ font-size:13.5px; color:var(--ink-500); line-height:1.65; }
.tip-card-body{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .28s var(--ease); }
.tip-card-body > div{ overflow:hidden; }
.tip-card-body p{ font-size:13.5px; color:var(--ink-700); line-height:1.75; padding-top:12px; min-height:0; }
.tip-card.is-open .tip-card-body{ grid-template-rows:1fr; }
.tip-card.is-open .tip-card-excerpt{ display:none; }

/* Review board rating filter */
.review-item .review-tag-pill{ margin-bottom:2px; }

/* ===================== Responsive ===================== */
@media (min-width:640px){
  .hero{ padding:80px 0 64px; }
  .fee-compare{ max-width:460px; margin-inline:auto; }
}

@media (min-width:860px){
  .main-nav{ display:flex; }
}

@media (max-width:859px){
  .main-nav{ display:none; }
  :root{ --header-h:60px; }
  .section{ padding:56px 0; }
  .dark-section{ padding:56px 0; }
  body{ padding-bottom:64px; }
  .app-tabbar{ display:block; }
  .fab-kakao{ bottom:calc(84px + env(safe-area-inset-bottom)); }
  .scroll-top{ bottom:calc(84px + env(safe-area-inset-bottom)); right:78px; width:40px; height:40px; }
  .steps-flow{ gap:2px; }
  .steps-flow-icon{ width:46px; height:46px; }
  .steps-flow-text{ font-size:12px; }
}

@media (min-width:860px){
  .app-tabbar{ display:none; }
  .fab-kakao{ bottom:24px; }
  .scroll-top{ bottom:24px; }
  body{ padding-bottom:0; }
}

@media (max-width:420px){
  .container{ padding-inline:20px; }
  .card-grid{ grid-template-columns:1fr; }
  .icon-grid{ gap:22px 2px; }
  .icon-grid-item span{ font-size:11px; }
}

/* ===================== Service lineup (홈 서비스 5종 섹션) ===================== */
.hl{ background:linear-gradient(180deg, transparent 62%, #FFE066 62%); padding:0 2px; font-weight:800; }

.svc-intro{ text-align:center; padding:56px 0 32px; }
.svc-intro h2{ font-size:clamp(24px,5.4vw,31px); font-weight:800; letter-spacing:-.025em; line-height:1.32; margin-bottom:14px; }
.svc-intro h2 .svc-name{ display:block; font-size:.46em; font-weight:800; letter-spacing:-.01em; color:var(--green-600); margin-bottom:8px; }
.svc-intro p{ font-size:14.5px; color:var(--ink-500); max-width:400px; margin-inline:auto; line-height:1.6; }

.svc-stage{ padding:40px 20px 36px; }
.svc-stage-caption{ text-align:center; font-size:13.5px; color:var(--ink-500); margin-top:18px; font-weight:600; }

/* 월세페이 — 영수증 카드 */
.svc-stage.stage-rent{ background:var(--green-50); }
.receipt{ max-width:320px; margin-inline:auto; background:#fff; border-radius:18px; padding:28px 26px; box-shadow:0 18px 34px rgba(15,35,75,.14); }
.receipt-head{ text-align:center; margin-bottom:16px; }
.receipt-head strong{ display:block; font-size:16px; font-weight:800; }
.receipt-head span{ font-size:12.5px; color:var(--ink-500); }
.receipt-div{ border-top:1.5px dashed var(--border); margin:16px 0; }
.receipt-list{ display:flex; flex-direction:column; gap:14px; }
.receipt-item{ display:flex; align-items:flex-start; gap:10px; font-size:14px; font-weight:600; }
.receipt-num{ width:20px; height:20px; border-radius:50%; background:var(--green-600); color:#fff; font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; flex:none; margin-top:1px; }
.receipt-barcode{ height:34px; margin:18px 0 4px; background-image:repeating-linear-gradient(90deg, var(--ink-900) 0 2px, transparent 2px 5px); }
.receipt-footer{ text-align:center; font-size:11px; letter-spacing:.08em; color:var(--ink-300); font-weight:700; margin-top:8px; }

.svc-calc-block{ padding:44px 0 8px; }
.svc-calc-block .eyebrow{ text-align:center; margin-bottom:8px; }
.svc-calc-block h3{ text-align:center; font-size:19px; font-weight:800; margin-bottom:28px; }

/* 대금페이 — 대금 결제 완료 카드 */
.svc-stage.stage-labor{ background:#FFF6E9; }
.transfer{ max-width:340px; margin-inline:auto; background:#fff; border-radius:20px; padding:28px 26px 24px; box-shadow:0 18px 34px rgba(80,55,10,.14); }
.transfer-status{ display:flex; align-items:center; gap:8px; font-size:13px; font-weight:800; color:var(--success); margin-bottom:14px; }
.transfer-status svg{ width:18px; height:18px; }
.transfer-cat{ margin-left:auto; background:#FFF1DA; color:var(--gold-600); font-size:11px; font-weight:800; padding:4px 10px; border-radius:99px; }
.transfer-more{ text-align:center; font-size:12.5px; color:var(--ink-500); margin-top:18px; }
.transfer-more b{ color:var(--ink-700); }
.transfer-amt{ font-size:30px; font-weight:800; letter-spacing:-.02em; margin-bottom:4px; }
.transfer-to{ font-size:13.5px; color:var(--ink-500); margin-bottom:18px; }
.transfer-div{ border-top:1px solid var(--bg-tint); margin:0 0 14px; }
.transfer-row{ display:flex; justify-content:space-between; font-size:13px; padding:6px 0; color:var(--ink-700); }
.transfer-row span:last-child{ font-weight:700; color:var(--ink-900); }
.transfer-row .ok{ color:var(--success); }
.svc-stage-chips{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; max-width:340px; margin:18px auto 0; }
.svc-stage-chip{ background:#FFF1DA; color:var(--gold-600); font-size:12.5px; font-weight:800; padding:7px 14px; border-radius:99px; }

.paypath{ max-width:340px; margin-inline:auto; background:#fff; border-radius:20px; padding:26px 22px 24px; box-shadow:0 18px 34px rgba(80,55,10,.14); }
.paypath-node{ display:flex; align-items:flex-start; gap:14px; }
.paypath-ico{ flex:none; width:42px; height:42px; border-radius:13px; background:#FFF1DA; color:var(--gold-600); display:flex; align-items:center; justify-content:center; }
.paypath-ico svg{ width:21px; height:21px; }
.paypath-ico-settle{ background:#E4F7EC; color:var(--success); }
.paypath-node p{ margin:0; }
.paypath-label{ font-size:12px; font-weight:800; color:var(--ink-500); margin-bottom:3px; }
.paypath-amt{ font-size:21px; font-weight:800; letter-spacing:-.02em; color:var(--ink-900); margin-bottom:3px; }
.paypath-amt-good{ color:var(--success); }
.paypath-sub{ font-size:12px; color:var(--ink-500); }
.paypath-link{ display:flex; align-items:center; min-height:26px; margin:6px 0 6px 21px; padding-left:20px; border-left:2px dashed #F0D9AE; }
.paypath-link-tag{ background:#FFF6E9; color:var(--gold-600); font-size:11px; font-weight:800; padding:5px 11px; border-radius:99px; white-space:nowrap; }

/* 수기결제 — 결제 화면 카드 */
.svc-stage.stage-manual{ background:var(--green-50); }
.payform{ max-width:320px; margin-inline:auto; background:#fff; border-radius:20px; padding:26px 24px 24px; box-shadow:0 20px 40px rgba(15,35,75,.16); }
.payform-amt{ font-size:12.5px; color:var(--ink-500); margin-bottom:2px; }
.payform-amt strong{ display:block; font-size:25px; font-weight:800; color:var(--ink-900); margin-top:2px; }
.payform-field{ margin-top:16px; }
.payform-field label{ display:block; font-size:11.5px; color:var(--ink-500); font-weight:700; margin-bottom:6px; }
.payform-input{ border:1.5px solid var(--green-400); border-radius:10px; padding:11px 13px; font-size:14.5px; font-weight:700; letter-spacing:.04em; color:var(--ink-900); }
.payform-row{ display:flex; gap:10px; }
.payform-row .payform-field{ flex:1; }
.payform-row .payform-input{ font-size:13.5px; }
.payform-btn{ margin-top:18px; width:100%; text-align:center; background:var(--green-600); color:#fff; font-weight:800; font-size:14.5px; padding:13px; border-radius:10px; cursor:pointer; user-select:none; transition:transform .15s ease, box-shadow .15s ease; }
.payform-btn:active{ transform:scale(.98); }
.payform-toast{ margin-top:0; display:flex; align-items:flex-start; gap:8px; background:#EAFBF3; color:#0F7A57; border-radius:14px 14px 14px 4px; padding:0 14px; font-size:13px; font-weight:600; line-height:1.55; box-shadow:0 10px 22px rgba(21,146,120,.14); opacity:0; transform:translateY(-6px); max-height:0; overflow:hidden; transition:opacity .3s ease, transform .3s ease, max-height .3s ease, padding .3s ease, margin .3s ease; }
.payform-toast strong{ color:#0C6B4B; white-space:nowrap; }
.payform-toast.is-visible{ opacity:1; transform:translateY(0); max-height:100px; padding:13px 14px; margin-top:14px; }
.payform-toast-icon{ display:inline-flex; align-items:center; justify-content:center; width:19px; height:19px; border-radius:50%; background:var(--sms-accent); color:#fff; font-size:11px; flex:none; margin-top:1px; }

/* SMS링크결제 — 메시지 말풍선 */
.svc-stage.stage-sms{ background:#E9FBF5; }
.msg-thread{ max-width:320px; margin-inline:auto; }
.msg-bubble{ width:fit-content; background:#fff; border-radius:16px 16px 16px 4px; padding:13px 16px; font-size:13.5px; line-height:1.6; box-shadow:0 10px 22px rgba(21,146,120,.12); margin-bottom:8px; max-width:86%; }
.msg-bubble strong{ display:block; font-size:11.5px; color:var(--sms-accent); margin-bottom:4px; }
.msg-link{ color:var(--sms-accent); font-weight:700; text-decoration:underline; }
.msg-bubble.done{ background:var(--sms-accent); color:#fff; border-radius:16px 16px 4px 16px; margin-left:auto; text-align:right; box-shadow:0 10px 22px rgba(21,146,120,.22); }
.msg-bubble.done strong{ color:rgba(255,255,255,.8); }
.msg-time{ font-size:10.5px; color:var(--ink-300); text-align:center; margin:6px 0 12px; }

/* 카드단말기 — 통장 입출금 내역 */
.svc-stage.stage-terminal{ background:#EEF2FA; }
.bankbook{ max-width:340px; margin-inline:auto; background:#fff; border-radius:20px; padding:22px 24px 24px; box-shadow:0 18px 34px rgba(15,35,75,.14); }
.bankbook-head{ display:flex; justify-content:space-between; align-items:baseline; padding-bottom:16px; margin-bottom:6px; border-bottom:1px solid var(--bg-tint); }
.bankbook-head strong{ font-size:14px; font-weight:800; }
.bankbook-head span{ font-size:12px; color:var(--ink-300); font-weight:700; }
.bb-row{ display:flex; align-items:center; gap:12px; padding:13px 0; }
.bb-row + .bb-row{ border-top:1px dashed var(--bg-tint); }
.bb-time{ font-size:12px; color:var(--ink-300); font-weight:700; width:38px; flex:none; }
.bb-desc{ flex:1; font-size:13.5px; font-weight:800; color:var(--ink-900); }
.bb-desc small{ display:block; font-size:11.5px; color:var(--ink-500); font-weight:600; margin-top:2px; }
.bb-amt{ font-size:14.5px; font-weight:800; color:var(--ink-500); flex:none; }
.bb-amt.plus{ color:var(--success); }
.bb-row.highlight{ background:#F1FBF6; margin:0 -14px; padding:13px 14px; border-radius:12px; border-top:none !important; }
.bankbook-balance{ display:flex; justify-content:space-between; align-items:baseline; margin-top:10px; padding-top:14px; border-top:1.5px solid var(--ink-900); font-size:13px; color:var(--ink-500); font-weight:700; }
.bankbook-balance strong{ font-size:18px; color:var(--ink-900); font-weight:800; }
/* ===================================================================
   월세페이 전용 테마 (.rp) — 화이트 미니멀(토스풍) + 홈 파랑 포인트 1색
   모바일 우선 · 모든 규칙 .rp 스코프(다른 페이지 영향 없음)
   =================================================================== */
.rp{
  --bg:#FFFFFF; --bg-soft:#F7F8FA; --bg-blue:#EEF4FE;
  --ink:#191F28; --ink-2:#4E5968; --muted:#8B95A1;
  --line:#EAEDF0; --blue:#145CE6; --blue-600:#1150CE; --blue-weak:#E9F1FE;
  background:var(--bg); color:var(--ink); letter-spacing:-.01em;
}
.rp ::selection{ background:var(--blue); color:#fff; }
.rp em{ font-style:normal; color:var(--blue); }

/* 대금페이 전용 포인트 컬러 (.lp, .rp 위에 얹어서 씀) — 블루 대신 골드 톤 1색으로 구분 */
.lp{ --blue:#92400E; --blue-600:#78350F; --blue-weak:#FBEEDC; }
.lp .rp-hero{ background:var(--blue-weak); }

/* 상단/헤더/퀵내비 — 화이트 정리 */
.rp .promo-carousel{ background:var(--ink); }
.rp .site-header{ background:rgba(255,255,255,.9); border-bottom:1px solid var(--line); }
.rp .quick-nav{ background:#fff; border-bottom:1px solid var(--line); }
.rp .quick-nav-item.is-active{ color:var(--ink); }
.rp .quick-nav-item.is-active::after{ background:var(--blue); }

/* 공통 헤드/버튼/섹션 */
.rp .rp-section{ padding:72px 0; }
.rp .rp-section.is-soft{ background:var(--bg-soft); }
.rp .rp-section.is-blue{ background:var(--bg-blue); }
.rp .rp-head{ text-align:center; max-width:600px; margin:0 auto 38px; }
.rp .rp-head h2{ font-size:clamp(24px,5.8vw,35px); font-weight:800; line-height:1.3; letter-spacing:-.03em; color:var(--ink); }
.rp .rp-head p{ margin-top:12px; color:var(--muted); font-size:15px; line-height:1.66; }
.rp .btn-kakao{ background:#FEE500; color:#181600; }
.rp .btn-primary{ background:var(--blue); color:#fff; }
.rp .btn-primary:hover{ background:var(--blue-600); }
.rp .btn-block{ width:100%; padding:16px; font-size:16px; border-radius:14px; }

/* ---------- HERO + 계산기 ---------- */
.rp-hero{ padding:32px 0 18px; background:#fff; text-align:center; }
.rp-hero-badge{ display:inline-flex; align-items:center; gap:7px; background:var(--blue-weak); color:var(--blue); font-size:13px; font-weight:700; padding:7px 14px; border-radius:99px; margin-bottom:18px; }
.rp-hero h1{ font-size:clamp(26px,6.6vw,40px); font-weight:800; line-height:1.28; letter-spacing:-.035em; color:var(--ink); }
.rp-hero-sub{ margin-top:14px; color:var(--ink-2); font-size:15.5px; line-height:1.6; }

.rp-calc{ max-width:460px; margin:26px auto 0; background:#fff; border:1px solid var(--line); border-radius:24px; box-shadow:0 16px 44px -20px rgba(25,31,40,.2); overflow:hidden; text-align:left; }
.rp-calc-result{ background:var(--blue); color:#fff; padding:26px 24px 22px; text-align:center; }
.rp-calc-result .lbl{ font-size:13.5px; font-weight:600; color:rgba(255,255,255,.82); }
.rp-calc-total{ font-size:clamp(38px,9vw,50px); font-weight:800; letter-spacing:-.03em; margin:6px 0 14px; line-height:1; display:inline-block; transition:transform .25s var(--spring); }
.rp-calc-total.is-pulsing{ transform:scale(1.06); }
.rp-calc-chips{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.rp-calc-chips .c{ background:rgba(255,255,255,.16); color:#fff; font-size:12.5px; font-weight:700; padding:6px 12px; border-radius:99px; }
.rp-calc-chips .c strong{ font-weight:800; margin-left:2px; }
.rp-calc-chips .c.is-muted{ opacity:.5; }
.rp-calc-body{ padding:24px; }
.rp-calc-field{ margin-bottom:22px; }
.rp-calc-field:last-of-type{ margin-bottom:0; }
.rp-calc-field .top{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:12px; }
.rp-calc-field .top .k{ font-size:14px; font-weight:700; color:var(--ink-2); }
.rp-calc-field .top .v{ font-size:20px; font-weight:800; color:var(--ink); }
.rp .range-input{ height:6px; }
.rp .range-input::-webkit-slider-thumb{ width:26px; height:26px; background:var(--blue); box-shadow:0 2px 10px rgba(20,92,230,.45); }
.rp .range-input::-moz-range-thumb{ width:26px; height:26px; background:var(--blue); }
.rp .select-wrap select{ border-radius:14px; padding:16px; }
.rp .select-wrap select:focus{ border-color:var(--blue); box-shadow:0 0 0 4px var(--blue-weak); }
.rp-calc-note{ font-size:11.5px; color:var(--muted); line-height:1.55; margin-top:16px; }
.rp-calc-cta{ margin-top:18px; }
.rp-proof{ margin-top:18px; font-size:13.5px; color:var(--ink-2); font-weight:600; }
.rp-proof b{ color:var(--blue); font-weight:800; }

/* ---------- 핵심혜택: 영수증/명세서 비주얼 ---------- */
.rp-receipt{ max-width:380px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:10px; padding:26px 26px 20px; box-shadow:0 26px 56px -28px rgba(25,31,40,.32); position:relative; }
.rp-receipt-head{ text-align:center; padding-bottom:16px; border-bottom:2px dashed var(--line); }
.rp-receipt-head .t{ font-size:16.5px; font-weight:800; letter-spacing:-.02em; }
.rp-receipt-head .s{ font-size:10.5px; font-weight:700; letter-spacing:.2em; color:var(--muted); margin-top:5px; }
.rp-rc-line{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:14px 0 10px; font-size:14.5px; }
.rp-rc-line .k{ color:var(--ink-2); font-weight:600; }
.rp-rc-line .v{ font-weight:800; color:var(--ink); font-variant-numeric:tabular-nums; }
.rp-rc-div{ border-top:2px dashed var(--line); }
.rp-rc-benefit{ display:flex; align-items:center; gap:11px; padding:13px 0; border-top:1px solid var(--line); }
.rp-rc-benefit:first-of-type{ border-top:none; padding-top:15px; }
.rp-rc-check{ width:21px; height:21px; flex:none; border-radius:50%; background:var(--blue); display:flex; align-items:center; justify-content:center; }
.rp-rc-check svg{ width:12px; height:12px; stroke:#fff; fill:none; stroke-width:3.2; }
.rp-rc-benefit .txt{ display:flex; flex-direction:column; min-width:0; }
.rp-rc-benefit .bk{ font-size:14.5px; font-weight:800; color:var(--ink); }
.rp-rc-benefit .bd{ font-size:12px; color:var(--muted); margin-top:2px; line-height:1.4; }
.rp-rc-benefit .btag{ margin-left:auto; font-size:13.5px; font-weight:800; color:var(--blue); white-space:nowrap; }
.rp-rc-total{ margin-top:6px; padding-top:16px; border-top:2px solid var(--ink); text-align:center; }
.rp-rc-total .lbl{ font-size:12.5px; font-weight:600; color:var(--ink-2); }
.rp-rc-total .num{ font-size:clamp(30px,8vw,38px); font-weight:800; letter-spacing:-.03em; color:var(--blue); margin-top:5px; }
.rp-rc-barcode{ height:36px; margin-top:20px; background:repeating-linear-gradient(90deg, var(--ink) 0 2px, #fff 2px 4px, var(--ink) 4px 5px, #fff 5px 9px, var(--ink) 9px 10px, #fff 10px 13px); }
.rp-rc-foot{ text-align:center; font-size:10px; font-weight:700; letter-spacing:.24em; color:var(--muted); margin-top:9px; }
.rp-rc-benefit.is-key .bk{ color:var(--blue); }
.rp-rc-benefit.is-key .btag{ background:var(--blue); color:#fff; padding:4px 11px; border-radius:99px; }

/* 영수증 혜택을 '글 대신 큰 아이콘'으로 (한눈에 + 팝 모션) */
.rp-rc-icons{ display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:16px 0 8px; }
.rp-rc-ic{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; padding:16px 6px; border-radius:16px; background:var(--bg-soft); }
.rp-rc-ic .ic{ width:46px; height:46px; border-radius:14px; background:var(--blue-weak); display:flex; align-items:center; justify-content:center; }
.rp-rc-ic .ic svg{ width:26px; height:26px; stroke:var(--blue); fill:none; stroke-width:1.9; }
.rp-rc-ic .key{ font-size:13px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
.rp-rc-ic.key-hi{ background:var(--blue); }
.rp-rc-ic.key-hi .ic{ background:rgba(255,255,255,.18); }
.rp-rc-ic.key-hi .ic svg{ stroke:#fff; }
.rp-rc-ic.key-hi .key{ color:#fff; }
.rp-rc-icons.reveal-stagger.is-visible > *{ animation:rc-pop .5s var(--spring) both; }
.rp-rc-icons.reveal-stagger.is-visible > *:nth-child(1){ animation-delay:.04s; }
.rp-rc-icons.reveal-stagger.is-visible > *:nth-child(2){ animation-delay:.12s; }
.rp-rc-icons.reveal-stagger.is-visible > *:nth-child(3){ animation-delay:.2s; }
.rp-rc-icons.reveal-stagger.is-visible > *:nth-child(4){ animation-delay:.28s; }
@keyframes rc-pop{ 0%{ opacity:0; transform:scale(.6); } 60%{ transform:scale(1.08); } 100%{ opacity:1; transform:scale(1); } }

/* 어른·초보도 한눈에 — 크고 쉬운 혜택(이모지 + 쉬운 한 문장) */
.rp-easy{ max-width:470px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.rp-easy-item{ display:flex; align-items:center; gap:16px; background:#fff; border:1.5px solid var(--line); border-radius:18px; padding:20px 22px; box-shadow:0 12px 28px -20px rgba(25,31,40,.3); }
.rp-easy-emoji{ font-size:34px; line-height:1; flex:none; }
.rp-easy-txt{ font-size:clamp(16.5px,4.6vw,20px); font-weight:800; color:var(--ink); letter-spacing:-.02em; line-height:1.4; text-align:left; }
.rp-easy-txt em{ color:var(--blue); }
.rp-easy-item.hi{ background:var(--blue); border-color:var(--blue); box-shadow:0 16px 32px -18px rgba(20,92,230,.6); }
.rp-easy-item.hi .rp-easy-txt{ color:#fff; }
.rp-easy-item.hi .rp-easy-txt em{ color:#fff; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:2px; }
.rp-easy.reveal-stagger.is-visible > *{ animation:rc-pop .5s var(--spring) both; }
.rp-easy.reveal-stagger.is-visible > *:nth-child(1){ animation-delay:.05s; }
.rp-easy.reveal-stagger.is-visible > *:nth-child(2){ animation-delay:.14s; }
.rp-easy.reveal-stagger.is-visible > *:nth-child(3){ animation-delay:.23s; }
.rp-easy.reveal-stagger.is-visible > *:nth-child(4){ animation-delay:.32s; }
.rp-money{ text-align:center; margin-top:28px; }
.rp-money .s{ font-size:15.5px; color:var(--ink-2); font-weight:700; }
.rp-money .b{ font-size:clamp(26px,7.4vw,38px); font-weight:800; color:var(--blue); letter-spacing:-.03em; line-height:1.25; margin-top:5px; }
.rp-money .b em{ color:var(--blue); }

/* Before -> After 스토리 (이모지 없이 깔끔, 색 대비) */
.rp-ba{ max-width:480px; margin:0 auto; }
.rp-ba-card{ border-radius:22px; padding:26px 24px; }
.rp-ba-before{ background:var(--bg-soft); border:1px solid var(--line); }
.rp-ba-after{ background:var(--blue); color:#fff; box-shadow:0 26px 50px -22px rgba(20,92,230,.55); }
.rp-ba-tag{ display:inline-block; font-size:12.5px; font-weight:800; padding:5px 13px; border-radius:99px; margin-bottom:14px; }
.rp-ba-before .rp-ba-tag{ background:#E6E9ED; color:var(--muted); }
.rp-ba-after .rp-ba-tag{ background:rgba(255,255,255,.22); color:#fff; }
.rp-ba-title{ font-size:clamp(18px,4.9vw,22px); font-weight:800; letter-spacing:-.02em; line-height:1.36; margin-bottom:18px; text-align:left; }
.rp-ba-before .rp-ba-title{ color:var(--ink-2); }
.rp-ba-after .rp-ba-title{ color:#fff; }
.rp-ba-list{ display:flex; flex-direction:column; gap:13px; }
.rp-ba-li{ display:flex; align-items:center; gap:12px; font-size:15.5px; font-weight:700; text-align:left; }
.rp-ba-before .rp-ba-li{ color:var(--muted); }
.rp-ba-after .rp-ba-li{ color:#fff; }
.rp-ba-mk{ width:24px; height:24px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; }
.rp-ba-before .rp-ba-mk{ background:#CFD4DA; color:#fff; }
.rp-ba-after .rp-ba-mk{ background:rgba(255,255,255,.25); color:#fff; }
.rp-ba-mk svg{ width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:3.2; }
.rp-ba-arrow{ text-align:center; padding:15px 0 13px; font-size:13.5px; font-weight:800; color:var(--blue); }
.rp-ba-arrow .a{ display:block; font-size:22px; line-height:1; margin-top:3px; }
.rp-ba-total{ margin-top:20px; padding-top:18px; border-top:1px solid rgba(255,255,255,.28); text-align:center; }
.rp-ba-total .s{ font-size:14px; color:rgba(255,255,255,.85); font-weight:700; }
.rp-ba-total .b{ font-size:clamp(25px,7vw,33px); font-weight:800; letter-spacing:-.03em; margin-top:5px; }
.rp-ba.reveal-stagger.is-visible > *{ animation:rc-pop .5s var(--spring) both; }
.rp-ba.reveal-stagger.is-visible > *:nth-child(2){ animation-delay:.12s; }
.rp-ba.reveal-stagger.is-visible > *:nth-child(3){ animation-delay:.22s; }

/* 형광펜 명세서 (핵심 혜택 — 프리미엄 + 어르신 친화) */
.rp-hl{ position:relative; max-width:400px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:8px; padding:30px 26px 22px; box-shadow:0 26px 56px -28px rgba(25,31,40,.32); }
.rp-hl-head{ text-align:center; padding-bottom:18px; border-bottom:2px dashed var(--line); }
.rp-hl-head .t{ font-size:17px; font-weight:800; letter-spacing:-.02em; }
.rp-hl-head .s{ font-size:11.5px; color:var(--muted); font-weight:700; letter-spacing:.02em; margin-top:6px; }
.rp-hl-item{ display:flex; gap:14px; align-items:flex-start; padding:19px 2px; border-bottom:1px dashed var(--line); }
.rp-hl-no{ width:27px; height:27px; flex:none; border-radius:50%; background:var(--blue); color:#fff; font-size:14px; font-weight:800; display:flex; align-items:center; justify-content:center; margin-top:3px; }
.rp-hl-txt{ font-size:18.5px; font-weight:800; color:var(--ink); line-height:1.55; letter-spacing:-.02em; }
.rp-hl .hl{ background-image:linear-gradient(104deg, rgba(255,222,87,0) 0.5%, var(--highlight) 2%, var(--highlight) 98%, rgba(255,222,87,0) 99.5%); background-repeat:no-repeat; background-size:100% 50%; background-position:0 80%; padding:0 3px; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.rp-hl-item.climax .rp-hl-txt{ font-size:21px; }
.rp-hl .hl-strong{ background-image:linear-gradient(104deg, rgba(255,222,87,0) 0.5%, var(--highlight) 2%, var(--highlight) 98%, rgba(255,222,87,0) 99.5%); background-repeat:no-repeat; background-size:100% 50%; background-position:0 78%; padding:0 3px 3px; -webkit-box-decoration-break:clone; box-decoration-break:clone; border-bottom:3px solid var(--blue); }
.rp-hl-foot{ margin-top:20px; padding-top:16px; border-top:2px solid var(--ink); }
.rp-hl-barcode{ height:34px; background:repeating-linear-gradient(90deg, var(--ink) 0 2px, #fff 2px 4px, var(--ink) 4px 5px, #fff 5px 9px, var(--ink) 9px 10px, #fff 10px 13px); }
.rp-hl-foot .fx{ text-align:center; font-size:10px; font-weight:700; letter-spacing:.22em; color:var(--muted); margin-top:10px; }

/* ===================================================================
   대금페이 전용 컴포넌트 (.rp 스코프, rp-lp-*) — 다른 페이지 영향 없음
   =================================================================== */
/* 대금 5종 칩 */
.rp-lp-chips{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; max-width:470px; margin:20px auto 0; }
.rp-lp-chip{ background:var(--blue-weak); color:var(--blue); font-size:13px; font-weight:800; padding:9px 15px; border-radius:99px; }
/* 신뢰 바 */
.rp-lp-trust{ background:var(--bg-soft); border-block:1px solid var(--line); }
.rp-lp-trust-inner{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px 0; padding:14px 0; }
.rp-lp-trust-item{ position:relative; padding:0 17px; font-size:12.5px; font-weight:700; color:var(--ink-2); white-space:nowrap; }
.rp-lp-trust-item strong{ color:var(--blue); }
.rp-lp-trust-item + .rp-lp-trust-item::before{ content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:11px; background:var(--line); }
/* 공감 페인 */
.rp-lp-pain{ display:flex; flex-direction:column; gap:12px; max-width:520px; margin:0 auto; }
.rp-lp-pain-item{ background:#fff; border:1px solid var(--line); border-left:3px solid var(--blue); border-radius:14px; padding:18px 20px; font-size:15px; font-weight:700; color:var(--ink-2); line-height:1.5; }
.rp-lp-pain-item b{ color:var(--ink); font-weight:800; }
.rp-lp-vs{ margin:24px auto 0; text-align:center; background:var(--blue-weak); border-radius:18px; padding:22px; max-width:520px; }
.rp-lp-vs .k{ font-size:12.5px; font-weight:800; color:var(--blue); }
.rp-lp-vs .b{ font-size:clamp(16px,4.4vw,19px); font-weight:800; color:var(--ink); margin-top:8px; line-height:1.5; }
.rp-lp-vs .b em{ color:var(--blue); }
/* 사용사례 5종 */
.rp-lp-cases{ display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:560px; margin:0 auto; }
.rp-lp-case{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px 18px; box-shadow:0 10px 26px -20px rgba(25,31,40,.24); }
.rp-lp-case.wide{ grid-column:span 2; }
.rp-lp-case-ico{ width:44px; height:44px; border-radius:13px; background:var(--blue-weak); display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.rp-lp-case-ico svg{ width:23px; height:23px; stroke:var(--blue); fill:none; stroke-width:1.8; }
.rp-lp-case h3{ font-size:16px; font-weight:800; letter-spacing:-.02em; }
.rp-lp-case p{ font-size:12.5px; color:var(--ink-2); line-height:1.55; margin-top:5px; }
.rp-lp-case .tag{ display:inline-block; margin-top:11px; font-size:11px; font-weight:700; color:var(--muted); background:var(--bg-soft); padding:3px 10px; border-radius:99px; }
.rp-lp-case.hi{ background:var(--blue); border-color:var(--blue); }
.rp-lp-case.hi h3{ color:#fff; }
.rp-lp-case.hi p{ color:rgba(255,255,255,.85); }
.rp-lp-case.hi .rp-lp-case-ico{ background:rgba(255,255,255,.18); }
.rp-lp-case.hi .rp-lp-case-ico svg{ stroke:#fff; }
.rp-lp-case.hi .tag{ background:rgba(255,255,255,.18); color:#fff; }
/* 혜택 3 */
.rp-lp-benefits{ display:flex; flex-direction:column; gap:12px; max-width:520px; margin:0 auto; }
.rp-lp-benefit{ display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; box-shadow:0 10px 26px -20px rgba(25,31,40,.22); }
.rp-lp-benefit-ico{ width:46px; height:46px; border-radius:13px; background:var(--blue-weak); display:flex; align-items:center; justify-content:center; flex:none; }
.rp-lp-benefit-ico svg{ width:24px; height:24px; stroke:var(--blue); fill:none; stroke-width:1.8; }
.rp-lp-benefit h3{ font-size:16.5px; font-weight:800; }
.rp-lp-benefit p{ font-size:13.5px; color:var(--ink-2); line-height:1.6; margin-top:4px; }
/* 지급·증빙 대장 */
.rp-lp-ledger{ max-width:520px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 22px 46px -26px rgba(25,31,40,.28); }
.rp-lp-ledger-top{ background:var(--blue); color:#fff; padding:15px 18px; display:flex; justify-content:space-between; align-items:center; }
.rp-lp-ledger-top .t{ font-size:14px; font-weight:800; }
.rp-lp-ledger-top .s{ font-size:11px; font-weight:700; opacity:.85; }
.rp-lp-ledger table{ width:100%; border-collapse:collapse; font-size:13px; }
.rp-lp-ledger th{ background:var(--bg-soft); color:var(--muted); font-weight:700; padding:11px 12px; text-align:left; font-size:11.5px; }
.rp-lp-ledger th:last-child, .rp-lp-ledger td:last-child{ text-align:center; }
.rp-lp-ledger td{ padding:14px 12px; border-top:1px solid var(--line); color:var(--ink); font-weight:700; }
.rp-lp-ledger td .amt{ color:var(--ink); font-variant-numeric:tabular-nums; }
.rp-lp-ledger td .ok{ display:inline-block; color:var(--blue); font-weight:800; }
.rp-lp-ledger .hlc{ background:linear-gradient(transparent 52%, var(--highlight) 52%); }
.rp-lp-ledger-foot{ padding:12px 18px; font-size:11.5px; color:var(--muted); font-weight:600; text-align:center; border-top:1px solid var(--line); }
/* 수수료 단일 */
.rp-lp-fee{ text-align:center; max-width:460px; margin:0 auto; }
.rp-lp-fee-num{ font-size:clamp(46px,13vw,74px); font-weight:800; color:var(--blue); letter-spacing:-.03em; line-height:1; }
.rp-lp-fee-num small{ font-size:.28em; color:var(--ink); font-weight:800; margin-left:7px; letter-spacing:-.02em; }
.rp-lp-fee-cap{ font-size:13px; color:var(--muted); margin-top:12px; }
.rp-lp-fee-list{ display:flex; flex-direction:column; gap:11px; max-width:340px; margin:26px auto 0; }
.rp-lp-fee-li{ display:flex; align-items:center; gap:11px; font-size:14.5px; font-weight:700; color:var(--ink-2); }
.rp-lp-fee-li .ck{ width:21px; height:21px; border-radius:50%; background:var(--blue-weak); display:flex; align-items:center; justify-content:center; flex:none; }
.rp-lp-fee-li .ck svg{ width:11px; height:11px; stroke:var(--blue); fill:none; stroke-width:3; }
.rp-lp-fee-li b{ color:var(--ink); font-weight:800; }
/* 합법성 2열 */
.rp-lp-legal{ display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:560px; margin:0 auto; }
.rp-lp-legal-col{ border-radius:18px; padding:22px 20px; }
.rp-lp-legal-do{ background:var(--blue-weak); }
.rp-lp-legal-dont{ background:var(--bg-soft); border:1px solid var(--line); }
.rp-lp-legal-h{ font-size:14.5px; font-weight:800; margin-bottom:14px; }
.rp-lp-legal-do .rp-lp-legal-h{ color:var(--blue); }
.rp-lp-legal-dont .rp-lp-legal-h{ color:var(--muted); }
.rp-lp-legal-li{ font-size:13px; font-weight:600; line-height:1.5; padding:9px 0; border-top:1px solid rgba(0,0,0,.06); }
.rp-lp-legal-do .rp-lp-legal-li{ color:var(--ink); }
.rp-lp-legal-dont .rp-lp-legal-li{ color:var(--ink-2); }

/* 사용사례 — 취급 대금 전표(체크리스트 + 도장) */
.rp-lp-voucher{ max-width:440px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:8px; padding:28px 26px 24px; box-shadow:0 24px 52px -28px rgba(25,31,40,.3); }
.rp-lp-voucher-head{ text-align:center; padding-bottom:16px; border-bottom:2px dashed var(--line); }
.rp-lp-voucher-head .t{ font-size:16px; font-weight:800; letter-spacing:-.02em; }
.rp-lp-voucher-head .s{ font-size:11px; color:var(--muted); font-weight:700; letter-spacing:.04em; margin-top:5px; }
.rp-lp-vrow{ display:flex; align-items:center; gap:13px; padding:15px 2px; border-bottom:1px dashed var(--line); }
.rp-lp-vcheck{ width:24px; height:24px; flex:none; border-radius:50%; background:var(--blue); display:flex; align-items:center; justify-content:center; }
.rp-lp-vcheck svg{ width:13px; height:13px; stroke:#fff; fill:none; stroke-width:3.2; }
.rp-lp-vbody{ flex:1; min-width:0; }
.rp-lp-vname{ font-size:16.5px; font-weight:800; color:var(--ink); }
.rp-lp-vdesc{ font-size:11.5px; color:var(--muted); font-weight:600; margin-top:2px; }
.rp-lp-vtag{ margin-left:auto; flex:none; font-size:11px; font-weight:700; color:var(--blue); background:var(--blue-weak); padding:4px 10px; border-radius:99px; white-space:nowrap; }
.rp-lp-voucher-foot{ margin-top:18px; padding-top:16px; border-top:2px solid var(--ink); text-align:center; }
.rp-lp-voucher-foot .b{ font-size:14.5px; font-weight:800; color:var(--ink); }
.rp-lp-stamp{ display:inline-block; margin-top:13px; border:2.5px solid var(--blue); color:var(--blue); font-weight:800; font-size:13px; padding:7px 17px; border-radius:9px; transform:rotate(-5deg); letter-spacing:.1em; }

/* 혜택 — 체크리스트 (예전엔 큰 볼드 문장 3연속이라 화면이 무거워 보였음) */
.rp-lp-hlpoints{ max-width:440px; margin:0 auto; display:flex; flex-direction:column; gap:16px; }
.rp-lp-hlpoint{ display:flex; gap:12px; align-items:flex-start; }
.rp-lp-hlpoint .no{
  flex:none; width:22px; height:22px; margin-top:1px; border-radius:50%; background:var(--blue-weak); color:var(--blue);
  font-size:10.5px; font-weight:800; display:flex; align-items:center; justify-content:center;
}
.rp-lp-hlpoint .tx{ font-size:15px; font-weight:600; color:var(--ink-2); line-height:1.6; letter-spacing:-.01em; }

/* 결제 3종 공통 — 정산 배지·안심띠·무선유선 2열·시나리오 */
.rp-lp-badges{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; max-width:470px; margin:18px auto 0; }
.rp-lp-badge{ display:inline-flex; align-items:center; gap:6px; background:var(--blue-weak); color:var(--blue); font-size:12.5px; font-weight:800; padding:8px 14px; border-radius:99px; }
.rp-lp-note{ max-width:520px; margin:24px auto 0; text-align:center; font-size:13px; font-weight:700; color:var(--ink-2); background:var(--bg-soft); border:1px solid var(--line); border-radius:14px; padding:15px 18px; line-height:1.5; }
.rp-lp-note b{ color:var(--blue); }
.rp-lp-duo{ display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:560px; margin:0 auto; }
.rp-lp-duo-card{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:24px 20px; box-shadow:0 12px 30px -22px rgba(25,31,40,.26); }
.rp-lp-duo-card.hi{ background:var(--blue); border-color:var(--blue); }
.rp-lp-duo-tag{ display:inline-block; font-size:12px; font-weight:800; color:var(--blue); background:var(--blue-weak); padding:5px 12px; border-radius:99px; margin-bottom:14px; }
.rp-lp-duo-card.hi .rp-lp-duo-tag{ background:rgba(255,255,255,.2); color:#fff; }
.rp-lp-duo-card h3{ font-size:18px; font-weight:800; letter-spacing:-.02em; margin-bottom:8px; }
.rp-lp-duo-card p{ font-size:12.5px; color:var(--ink-2); line-height:1.6; }
.rp-lp-duo-card.hi h3{ color:#fff; }
.rp-lp-duo-card.hi p{ color:rgba(255,255,255,.85); }
.rp-lp-duo-card .use{ margin-top:12px; padding-top:12px; border-top:1px dashed var(--line); font-size:12.5px; font-weight:800; color:var(--ink); }
.rp-lp-duo-card.hi .use{ border-color:rgba(255,255,255,.25); color:#fff; }
.rp-lp-duo-card .use span{ color:var(--muted); font-weight:600; }
.rp-lp-duo-card.hi .use span{ color:rgba(255,255,255,.7); }
.rp-lp-scenes{ display:flex; flex-direction:column; gap:11px; max-width:520px; margin:0 auto; }
.rp-lp-scene{ display:flex; align-items:flex-start; gap:14px; background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 20px; box-shadow:0 10px 26px -20px rgba(25,31,40,.22); }
.rp-lp-scene p{ margin:0; font-size:14.5px; font-weight:700; color:var(--ink-2); line-height:1.55; }
.rp-lp-scene b{ color:var(--ink); font-weight:800; }
.rp-lp-scene .em{ color:var(--blue); font-weight:800; }
.rp-lp-scene-ic{ width:38px; height:38px; border-radius:11px; background:var(--blue-weak); color:var(--blue); display:flex; align-items:center; justify-content:center; flex:none; }
.rp-lp-scene-ic svg{ width:19px; height:19px; }

/* ===== 페이지별 히어로 시그니처 목업 ===== */
/* 수기결제 — 카드번호 입력 결제창 */
.rp-si-keyin{ max-width:330px; margin:24px auto 0; background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; box-shadow:0 26px 52px -26px rgba(25,31,40,.32); text-align:left; }
.rp-si-keyin .row{ display:flex; justify-content:space-between; align-items:baseline; padding-bottom:14px; margin-bottom:16px; border-bottom:1px dashed var(--line); }
.rp-si-keyin .row .k{ font-size:13px; color:var(--muted); font-weight:700; }
.rp-si-keyin .row .v{ font-size:21px; font-weight:800; color:var(--ink); }
.rp-si-field{ margin-bottom:12px; }
.rp-si-field .lbl{ font-size:11px; font-weight:700; color:var(--muted); margin-bottom:5px; }
.rp-si-field .box{ border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; font-size:15px; font-weight:800; color:var(--ink); letter-spacing:.08em; font-variant-numeric:tabular-nums; }
.rp-si-field .box.on{ border-color:var(--blue); box-shadow:0 0 0 4px var(--blue-weak); color:var(--blue); }
.rp-si-half{ display:flex; gap:10px; }
.rp-si-half .rp-si-field{ flex:1; }
.rp-si-pay{ display:block; text-align:center; background:var(--blue); color:#fff; font-weight:800; font-size:15px; padding:14px; border-radius:12px; margin-top:6px; }
/* SMS결제 — 대화창 */
.rp-si-chat{ max-width:320px; margin:24px auto 0; background:var(--bg-soft); border:1px solid var(--line); border-radius:22px; padding:20px 16px; text-align:left; }
.rp-si-time{ font-size:10.5px; color:var(--muted); text-align:center; margin-bottom:12px; font-weight:700; }
.rp-si-bubble{ max-width:82%; padding:12px 15px; border-radius:16px; font-size:13.5px; font-weight:700; line-height:1.5; margin-bottom:10px; }
.rp-si-bubble.me{ background:var(--blue); color:#fff; margin-left:auto; border-bottom-right-radius:5px; }
.rp-si-bubble.you{ background:#fff; color:var(--ink); border:1px solid var(--line); border-bottom-left-radius:5px; }
.rp-si-bubble .lk{ display:inline-block; margin-top:7px; font-size:12.5px; font-weight:800; text-decoration:underline; }
.rp-si-bubble.you .ok{ color:var(--blue); font-weight:800; }
.rp-si-bubble.sys{ background:var(--blue-weak); color:var(--blue); font-size:12.5px; font-weight:800; text-align:center; max-width:100%; margin-bottom:0; }
/* 카드단말기 — 무선/유선 실물 */
.rp-si-devices{ display:flex; justify-content:center; align-items:flex-end; gap:26px; margin:26px auto 2px; }
.rp-si-dev{ text-align:center; }
.rp-si-dev-body{ margin:0 auto 11px; border-radius:14px; background:linear-gradient(165deg,#33425f,#1b2236); box-shadow:0 20px 36px -18px rgba(25,31,40,.55); padding:11px; display:flex; flex-direction:column; gap:7px; }
.rp-si-dev.wireless .rp-si-dev-body{ width:78px; height:126px; }
.rp-si-dev.wired .rp-si-dev-body{ width:106px; height:92px; }
.rp-si-dev-screen{ background:var(--blue); border-radius:5px; height:30px; display:flex; align-items:center; justify-content:center; }
.rp-si-dev-screen span{ color:#fff; font-size:9px; font-weight:800; letter-spacing:.14em; }
.rp-si-dev-keys{ flex:1; display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }
.rp-si-dev-keys i{ background:rgba(255,255,255,.18); border-radius:3px; }
.rp-si-dev .lb{ font-size:12.5px; font-weight:800; color:var(--ink); }
.rp-si-dev .sb{ font-size:10.5px; color:var(--muted); margin-top:1px; }

/* ===== 수기결제 테마: 정산 캘린더 + 폰 3컷 ===== */
.rp-cal{ display:flex; align-items:center; justify-content:center; gap:12px; max-width:440px; margin:0 auto; }
.rp-cal-day{ flex:1; background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px 12px; text-align:center; box-shadow:0 12px 30px -22px rgba(25,31,40,.26); }
.rp-cal-day.hi{ background:var(--blue); border-color:var(--blue); }
.rp-cal-day .d{ font-size:12px; font-weight:800; color:var(--muted); }
.rp-cal-day.hi .d{ color:rgba(255,255,255,.85); }
.rp-cal-day .big{ font-size:clamp(17px,4.4vw,21px); font-weight:800; color:var(--ink); margin:6px 0 3px; letter-spacing:-.02em; }
.rp-cal-day.hi .big{ color:#fff; }
.rp-cal-day .sm{ font-size:11.5px; color:var(--muted); font-weight:700; }
.rp-cal-day.hi .sm{ color:rgba(255,255,255,.82); }
.rp-cal-arrow{ flex:none; color:var(--blue); font-weight:800; font-size:20px; }
.rp-phones{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; max-width:520px; margin:0 auto; }
.rp-phone{ text-align:center; }
.rp-phone-frame{ background:#fff; border:2px solid var(--ink); border-radius:18px; padding:7px 7px 12px; margin:0 auto 12px; max-width:108px; box-shadow:0 14px 30px -20px rgba(25,31,40,.35); }
.rp-phone-notch{ width:28px; height:4px; background:var(--ink); border-radius:99px; margin:2px auto 7px; }
.rp-phone-scr{ background:var(--bg-soft); border-radius:10px; padding:14px 6px; min-height:94px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; }
.rp-phone-scr .ic{ width:32px; height:32px; border-radius:50%; background:var(--blue-weak); display:flex; align-items:center; justify-content:center; }
.rp-phone-scr .ic svg{ width:17px; height:17px; stroke:var(--blue); fill:none; stroke-width:2.2; }
.rp-phone-scr .t{ font-size:11px; font-weight:800; color:var(--ink); line-height:1.3; }
.rp-phone .cap{ font-size:12.5px; font-weight:800; color:var(--ink); }
/* ===== SMS 테마: 정산 알림 카드 ===== */
.rp-notif{ max-width:420px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.rp-notif-card{ display:flex; gap:12px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:16px; padding:15px 18px; box-shadow:0 12px 30px -22px rgba(25,31,40,.22); }
.rp-notif-ic{ width:36px; height:36px; border-radius:10px; background:var(--blue); color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; flex:none; }
.rp-notif-ic svg{ width:19px; height:19px; }
.rp-notif-tx .b{ font-size:13.5px; font-weight:800; color:var(--ink); }
.rp-notif-tx .s{ font-size:12px; color:var(--muted); font-weight:600; margin-top:2px; }
.rp-notif-t{ margin-left:auto; font-size:10.5px; color:var(--muted); flex:none; }
/* 카드단말기 — 히어로 실물 사진 (무선/유선) */
.rp-ct-devices{ display:grid; grid-template-columns:1fr 1fr; gap:14px; max-width:380px; margin:26px auto 4px; }
.rp-ct-device{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:16px 12px 14px; text-align:center; box-shadow:0 14px 30px -20px rgba(25,31,40,.28); }
.rp-ct-device img{ width:100%; height:112px; object-fit:contain; margin-bottom:8px; }
.rp-ct-device .lb{ font-size:13px; font-weight:800; color:var(--ink); }
.rp-ct-device .sb{ font-size:11px; color:var(--muted); font-weight:600; margin-top:1px; }
/* ===== 카드단말기 테마: 결제수단 그리드 ===== */
.rp-methods{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; max-width:460px; margin:0 auto; }
.rp-method{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 8px; text-align:center; font-size:13px; font-weight:800; color:var(--ink); box-shadow:0 8px 22px -18px rgba(25,31,40,.2); }
.rp-method span{ display:block; font-size:10.5px; color:var(--muted); font-weight:600; margin-top:3px; }
.rp-cardco{ max-width:520px; margin:28px auto 0; background:var(--bg-soft); border:1px solid var(--line); border-radius:16px; padding:22px 20px; text-align:center; }
.rp-cardco-title{ font-size:13px; font-weight:800; color:var(--ink-2); margin-bottom:14px; }
.rp-cardco-list{ display:flex; flex-wrap:wrap; gap:9px 10px; justify-content:center; }
.rp-cardco-list span{ background:#fff; border:1.5px solid var(--line); color:var(--ink); font-size:12.5px; font-weight:700; padding:8px 14px; border-radius:99px; }

@media (max-width:520px){ .rp-lp-duo{ grid-template-columns:1fr; } }
@media (max-width:420px){ .rp-phones{ gap:8px; } .rp-phone-scr{ padding:10px 4px; } }

@media (max-width:520px){
  .rp-lp-cases{ grid-template-columns:1fr; }
  .rp-lp-case.wide{ grid-column:span 1; }
  .rp-lp-legal{ grid-template-columns:1fr; }
  .rp-lp-ledger table{ font-size:12px; }
  .rp-lp-ledger th, .rp-lp-ledger td{ padding-inline:9px; }
}

/* ---------- 여러 카드 분할 결제 (읽기형 비주얼) ---------- */
.rp-split{ max-width:520px; margin:0 auto; }
.rp-split-top{ text-align:center; }
.rp-split-amount{ font-size:clamp(24px,6.5vw,32px); font-weight:800; letter-spacing:-.03em; color:var(--ink); }
.rp-split-amount small{ font-size:.5em; color:var(--muted); font-weight:700; margin-left:7px; }
.rp-split-arrow{ text-align:center; color:var(--muted); font-size:13px; font-weight:700; margin:12px 0 18px; }
.rp-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:11px; }
.rp-card{ aspect-ratio:1.6; min-width:0; border-radius:13px; padding:13px; color:#fff; display:flex; flex-direction:column; justify-content:space-between; box-shadow:0 14px 28px -16px rgba(25,31,40,.55); }
.rp-card.c1{ background:linear-gradient(135deg,#4A86F2,#145CE6); }
.rp-card.c2{ background:linear-gradient(135deg,#2C3A5A,#1B2236); }
.rp-card.c3{ background:linear-gradient(135deg,#6E7EA3,#46567F); }
.rp-card-chip{ width:24px; height:18px; border-radius:4px; background:rgba(255,255,255,.5); }
.rp-card-name{ display:block; font-size:10.5px; font-weight:700; opacity:.82; }
.rp-card-amt{ display:block; font-size:clamp(13px,3.8vw,17px); font-weight:800; letter-spacing:-.02em; margin-top:2px; }
.rp-split-benefits{ display:flex; flex-direction:column; gap:13px; margin:28px auto 0; max-width:450px; }
.rp-split-benefit{ display:flex; align-items:center; gap:11px; font-size:14px; color:var(--ink-2); font-weight:600; line-height:1.5; }
.rp-split-benefit .ck{ width:22px; height:22px; border-radius:50%; background:var(--blue-weak); display:flex; align-items:center; justify-content:center; flex:none; }
.rp-split-benefit .ck svg{ width:12px; height:12px; stroke:var(--blue); fill:none; stroke-width:3; }
.rp-split-benefit b{ color:var(--ink); font-weight:800; }

/* ---------- 세액공제 하이라이트(라이트 블루) ---------- */
.rp-tax-num{ text-align:center; font-size:clamp(48px,13vw,86px); font-weight:800; letter-spacing:-.04em; line-height:1; color:var(--blue); margin:10px 0; }
.rp-tax-num small{ font-size:.36em; font-weight:800; color:var(--ink); letter-spacing:-.02em; margin-right:.15em; vertical-align:.14em; }
.rp-tax-cap{ text-align:center; color:var(--ink-2); font-size:14.5px; line-height:1.66; max-width:420px; margin:0 auto 28px; }
.rp-tax-grid{ display:flex; flex-direction:column; gap:10px; max-width:560px; margin:0 auto; }
.rp-tax-card{ display:flex; justify-content:space-between; align-items:center; gap:14px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px 18px; }
.rp-tax-card b{ font-size:13.5px; font-weight:700; color:var(--ink); }
.rp-tax-card span{ font-size:12.5px; color:var(--ink-2); text-align:right; }
.rp-tax-card em{ color:var(--blue); font-weight:800; }

/* ---------- 사용법 스텝: 카드 3개가 아니라 연결된 흐름으로 ---------- */
.rp-steps{ position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; max-width:600px; margin:0 auto; }
.rp-steps::before{
  content:""; position:absolute; top:26px; left:16.6667%; right:16.6667%; height:2px;
  background-image:repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 13px);
  z-index:0;
}
.rp-step{ position:relative; z-index:1; background:none; border:none; border-radius:0; padding:0; text-align:center; }
.rp-step-no{
  position:absolute; top:-4px; left:calc(50% + 15px); z-index:2;
  width:19px; height:19px; border-radius:50%; background:var(--blue); color:#fff;
  font-weight:800; font-size:10.5px; display:flex; align-items:center; justify-content:center;
  border:2px solid #fff;
}
.rp-step-ico{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; margin:0 auto 12px; border-radius:50%;
  background:var(--blue-weak); color:var(--blue);
}
.rp-step-ico svg{ width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:1.7; }
.rp-step h4{ font-size:14px; font-weight:800; margin-bottom:4px; }
.rp-step p{ font-size:12px; color:var(--muted); line-height:1.5; }
@media (max-width:560px){
  .rp-steps::before{ display:none; }
}
.rp .merchant-cta{ margin-top:30px; }
.rp .btn-lg-auto{ width:auto; padding:16px 28px; font-size:15.5px; border-radius:14px; }

/* ---------- 수수료/후기/FAQ 재채색 ---------- */
.rp .section{ padding:64px 0; }
.rp .section-tint{ background:var(--bg-soft); }
.rp .section-head h2{ color:var(--ink); letter-spacing:-.03em; }
.rp .section-sub{ color:var(--muted); }
.rp .fee-card{ border:1px solid var(--line); box-shadow:none; }
.rp .fee-card-mine{ box-shadow:0 0 0 2px var(--blue); }
.rp .fee-card-mine .fee-rate{ color:var(--blue); }
.rp .fee-badge{ background:var(--blue); }
.rp .review-item{ border-color:var(--line); box-shadow:none; }
.rp .review-tag-pill{ background:var(--blue-weak); color:var(--blue); }
.rp .review-summary .stars,.rp .review-stars{ color:#FFB020; }
.rp .q-badge{ background:var(--blue-weak); color:var(--blue); }
.rp .accordion-item{ border-color:var(--line); }
.rp .accordion-trigger[aria-expanded="true"] .ic{ stroke:var(--blue); }

/* ---------- 마무리 CTA + 푸터 ---------- */
.rp-cta{ background:var(--bg-blue); text-align:center; padding:58px 0 66px; }
.rp-cta h2{ font-size:clamp(23px,5vw,32px); font-weight:800; letter-spacing:-.03em; line-height:1.36; color:var(--ink); }
.rp-cta p{ margin:12px 0 24px; color:var(--ink-2); font-size:15px; }
.rp-cta .rp-cta-btn{ display:block; max-width:360px; margin:0 auto; }
.rp .site-footer{ background:var(--ink); }

.app-download{ max-width:360px; margin:22px auto 0; }
.app-download-label{ font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:10px; }
.app-download-badges{ display:flex; gap:10px; }
.app-badge{
  flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 12px; border-radius:12px; background:var(--ink); color:#fff;
  transition:transform .18s var(--spring), background .18s;
}
.app-badge:hover{ background:#000; transform:translateY(-2px); }
.app-badge svg{ width:20px; height:20px; flex-shrink:0; }
.app-badge span{ display:flex; flex-direction:column; align-items:flex-start; line-height:1.2; font-size:13.5px; font-weight:700; }
.app-badge span small{ font-size:9.5px; font-weight:500; opacity:.75; }

/* ---------- 데스크톱 향상(모바일 우선) ---------- */
@media (min-width:768px){
  .rp .rp-section{ padding:92px 0; }
  .rp .section{ padding:92px 0; }
  .rp-hero{ padding:52px 0 26px; }
  .rp-hero h1{ line-height:1.2; }
  .rp-benefit{ padding:28px 6px; }
}
@media (max-width:560px){
  .rp-steps{ grid-template-columns:1fr; }
}

/* ===================== 카드단말기 쇼핑몰 ===================== */
.shop-list-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:18px; }
.shop-cart-btn{
  flex:none; position:relative; width:42px; height:42px; border-radius:50%; background:#fff;
  border:1.5px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--ink-700);
  transition:border-color .2s var(--ease), color .2s var(--ease), transform .15s;
}
.shop-cart-btn:hover{ border-color:var(--green-400); color:var(--green-700); }
.shop-cart-btn:active{ transform:scale(.94); }
.shop-cart-btn svg{ width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.8; }
.shop-cart-btn .shop-cart-badge{
  position:absolute; top:-3px; right:-3px; min-width:17px; height:17px; padding:0 4px; border-radius:99px;
  background:var(--green-600); color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center;
}
.shop-cart-btn .shop-cart-badge:empty{ display:none; }

#shopCategoryPills .filter-pill{ padding:10px 18px; font-size:13.5px; }
#shopCategoryPills .filter-pill.is-active{ background:var(--green-700); border-color:var(--green-700); }

.shop-result-count{ font-size:13px; color:var(--ink-500); font-weight:600; margin:2px 2px 14px; }
.shop-result-count strong{ color:var(--ink-900); }

.shop-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px 12px; }
@media (min-width:640px){ .shop-grid{ grid-template-columns:repeat(3,1fr); gap:18px; } }
@media (min-width:960px){ .shop-grid{ grid-template-columns:repeat(4,1fr); } }

.shop-card{
  display:flex; flex-direction:column; background:#fff; border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--border); position:relative; transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.shop-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
.shop-card-thumb{
  aspect-ratio:1/1; background:var(--bg-tint); display:flex; align-items:center; justify-content:center;
  color:var(--ink-300); font-size:12.5px; font-weight:700; padding:20px;
}
.shop-card-thumb img{ width:100%; height:100%; object-fit:contain; }
.shop-card.is-soldout .shop-card-thumb img{ opacity:.42; filter:grayscale(.4); }
.shop-card-soldout-tag{
  position:absolute; top:12px; right:12px; z-index:1; font-size:10.5px; font-weight:800; color:#fff;
  background:var(--ink-700); padding:4px 10px; border-radius:99px;
}
/* 카드마다 이름·가격·안내문 길이가 달라도 각 줄이 항상 같은 위치에 오도록,
   margin-top:auto로 아래에 밀어붙이는 대신 위에서부터 고정된 자리를 예약해서 쌓는다. */
.shop-card-body{ padding:12px 14px 16px; display:flex; flex-direction:column; flex:1; }
.shop-card-cat{
  align-self:flex-start; font-size:10.5px; font-weight:800; color:var(--green-700); background:var(--green-50);
  padding:3px 9px; border-radius:99px; margin-bottom:8px;
}
.shop-card-name{
  font-size:14.5px; font-weight:700; line-height:1.42; color:var(--ink-900); margin-bottom:8px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.84em;
}
.shop-card-price-row{ margin-top:0; display:flex; align-items:baseline; gap:6px; }
.shop-card-price{ font-size:18px; font-weight:800; color:var(--ink-900); letter-spacing:-.01em; font-variant-numeric:tabular-nums; }
.shop-card-note{
  font-size:11px; color:var(--ink-500); margin-top:3px; line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:3em;
}
.shop-card-note:empty{ min-height:0; margin-top:0; }

/* 아주 좁은 화면(구형/작은 폰)에서는 2열 그리드가 너무 빡빡해 보여서, 1열 가로형 리스트 카드로 바꾼다 */
@media (max-width:399px){
  .shop-grid{ grid-template-columns:1fr; gap:10px; }
  .shop-card{ flex-direction:row; }
  .shop-card-thumb{ width:112px; height:112px; aspect-ratio:auto; flex:none; padding:12px; }
  .shop-card-body{ flex:1; min-width:0; justify-content:center; }
  .shop-card-name{ min-height:0; }
  .shop-card-soldout-tag{ top:8px; right:8px; }
}

.shop-skeleton-card{ aspect-ratio:1/1.62; border-radius:var(--radius-lg); background:var(--bg-tint); position:relative; overflow:hidden; }
.shop-skeleton-card::after{
  content:""; position:absolute; inset:0; transform:translateX(-100%);
  background:linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  animation:shop-skeleton-shimmer 1.3s ease-in-out infinite;
}
@keyframes shop-skeleton-shimmer{ to{ transform:translateX(100%); } }
@media (prefers-reduced-motion:reduce){ .shop-skeleton-card::after{ animation:none; } }

.shop-detail-crumb{ display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:700; color:var(--ink-500); margin-bottom:18px; }
.shop-detail-crumb:hover{ color:var(--green-700); }
.shop-detail-crumb svg{ width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2.4; }

.shop-detail{ display:grid; grid-template-columns:1fr; gap:8px; }
.shop-detail-thumb{
  aspect-ratio:1/1; background:var(--bg-tint); border-radius:var(--radius-lg); overflow:hidden;
  display:flex; align-items:center; justify-content:center; color:var(--ink-300); font-size:13px; font-weight:700;
  padding:32px;
}
.shop-detail-thumb img{ width:100%; height:100%; object-fit:contain; }
.shop-detail-info{ padding-top:22px; }
.shop-detail-cat{
  display:inline-flex; font-size:12px; font-weight:800; color:var(--green-700); background:var(--green-50);
  padding:4px 11px; border-radius:99px; margin-bottom:12px;
}
.shop-detail-name{ font-size:clamp(20px,5vw,25px); font-weight:800; letter-spacing:-.02em; line-height:1.4; margin-bottom:6px; }
.shop-detail-model{ font-size:13px; color:var(--ink-500); margin-bottom:18px; }
.shop-detail-price{ font-size:clamp(25px,6vw,30px); font-weight:800; color:var(--ink-900); font-variant-numeric:tabular-nums; }
.shop-detail-price-note{ font-size:12.5px; color:var(--ink-500); margin-top:4px; margin-bottom:22px; }
.shop-detail-desc{ font-size:14.5px; line-height:1.7; color:var(--ink-700); margin-bottom:22px; padding-bottom:22px; border-bottom:1px solid var(--border); white-space:pre-line; }
.shop-spec-list{ background:var(--bg-tint); border-radius:var(--radius-md); padding:18px 20px; margin-bottom:24px; }
.shop-spec-row{ display:flex; gap:10px; font-size:13.5px; padding:7px 0; border-bottom:1px dashed var(--border); }
.shop-spec-row:last-child{ border-bottom:none; }
.shop-spec-row-label{ flex:none; width:88px; color:var(--ink-500); font-weight:700; }
.shop-spec-row-value{ color:var(--ink-900); }

.shop-soldout-notice{ font-size:13.5px; font-weight:700; color:var(--ink-500); background:var(--bg-tint); padding:13px 16px; border-radius:var(--radius-md); margin-bottom:6px; }
.btn:disabled{ opacity:.45; cursor:not-allowed; pointer-events:none; }

.shop-qty-row{ display:flex; align-items:center; gap:10px; margin-bottom:4px; }
.shop-qty-row-label{ font-size:13.5px; font-weight:700; color:var(--ink-700); }
/* 원형 컬러 버튼 + 숫자는 박스 없이 텍스트로만 (세그먼트 박스 대신, 버튼과 숫자를 명확히 구분) */
.shop-qty-stepper{ display:inline-flex; align-items:center; gap:12px; }
.shop-qty-stepper button{
  width:34px; height:34px; border-radius:50%; background:var(--green-50); border:1.5px solid var(--green-200);
  font-size:17px; font-weight:800; color:var(--green-700); line-height:1;
  display:flex; align-items:center; justify-content:center; flex:none;
}
.shop-qty-stepper button:hover{ background:var(--green-100); }
.shop-qty-stepper span{
  min-width:24px; text-align:center; font-size:16px; font-weight:800; color:var(--ink-900); font-family:inherit;
}

.shop-detail-actions{ display:flex; gap:10px; margin-top:22px; }
.shop-detail-actions .btn{ flex:1; width:auto; }

@media (max-width:767px){
  body.shop-detail-page{ padding-bottom:calc(86px + env(safe-area-inset-bottom)); }
  body.shop-detail-page .shop-detail-actions{
    position:fixed; left:0; right:0; bottom:0; z-index:186; margin:0; gap:12px; align-items:center;
    background:rgba(255,255,255,.98); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    border-top:1px solid var(--border); padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow:0 -6px 20px rgba(23,62,43,.07);
  }
  body.shop-detail-page .shop-detail-actions::before{
    content:attr(data-total); flex:none; font-size:16px; font-weight:800; color:var(--ink-900);
    font-variant-numeric:tabular-nums; white-space:nowrap;
  }
  body.shop-detail-page .shop-detail-actions:not([data-total])::before{ display:none; }
  body.shop-detail-page .fab-kakao{ bottom:calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width:768px){
  .shop-detail{ grid-template-columns:1fr 1fr; gap:44px; align-items:start; }
  .shop-detail-info{ padding-top:0; }
  .shop-detail-richbody{ grid-column:1 / -1; }
}

/* 관리자가 상품 상세페이지에 자유롭게 넣는 리치 콘텐츠(HTML/이미지) 영역 */
.shop-detail-richbody{ margin-top:36px; padding-top:32px; border-top:1px solid var(--border); }
.shop-detail-richbody img{ display:block; width:100%; border-radius:var(--radius-md); margin-bottom:16px; }
.shop-detail-richbody p{ margin:0 0 16px; line-height:1.75; color:var(--ink-700); font-size:14.5px; }
.shop-detail-richbody h2,.shop-detail-richbody h3{ margin:24px 0 12px; font-weight:800; }
.shop-detail-richbody h2:first-child,.shop-detail-richbody h3:first-child{ margin-top:0; }
.shop-detail-richbody ul{ margin:0 0 16px; padding-left:20px; list-style:disc; }
.shop-detail-richbody li{ margin-bottom:6px; line-height:1.65; color:var(--ink-700); font-size:14.5px; }
.shop-detail-richbody table{ width:100%; border-collapse:collapse; margin:0 0 16px; font-size:14px; }
.shop-detail-richbody th,.shop-detail-richbody td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--border); }
.shop-detail-richbody th{ width:100px; color:var(--ink-500); font-weight:700; white-space:nowrap; }
.shop-detail-richbody td{ color:var(--ink-900); }
.shop-detail-richbody > *:last-child{ margin-bottom:0; }

/* 장바구니 */
.cart-row{ display:flex; align-items:center; gap:14px; background:#fff; border-radius:var(--radius-md); padding:14px; box-shadow:var(--shadow-sm); margin-bottom:12px; }
.cart-row-thumb{ flex:none; width:64px; height:64px; border-radius:12px; background:var(--bg-tint); overflow:hidden; display:flex; align-items:center; justify-content:center; color:var(--ink-300); font-size:10px; }
.cart-row-thumb img{ width:100%; height:100%; object-fit:cover; }
.cart-row-body{ flex:1; min-width:0; }
.cart-row-name{ font-size:14px; font-weight:700; margin-bottom:2px; }
.cart-row-price{ font-size:13px; color:var(--ink-500); }
.cart-row-actions{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.cart-row-remove{ font-size:12px; color:var(--ink-500); text-decoration:underline; }
.cart-row-remove:hover{ color:var(--ink-700); }
.cart-summary{ background:var(--bg-tint); border-radius:var(--radius-lg); padding:20px; margin-top:20px; }
.cart-summary-row{ display:flex; justify-content:space-between; font-size:14px; color:var(--ink-700); padding:5px 0; }
.cart-summary-row.total{ font-size:18px; font-weight:800; color:var(--ink-900); border-top:1px solid var(--border); margin-top:8px; padding-top:14px; }
.cart-empty{ text-align:center; padding:60px 20px; color:var(--ink-500); }
.cart-empty a{ color:var(--green-700); font-weight:700; text-decoration:underline; }

/* 주문완료 */
.order-complete-box{ text-align:center; padding:20px 0; }
.order-complete-icon{ width:64px; height:64px; border-radius:50%; background:var(--green-50); color:var(--green-700); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.order-complete-icon svg{ width:32px; height:32px; }
.order-no-box{ background:var(--bg-tint); border-radius:var(--radius-md); padding:16px; margin:20px 0; font-size:15px; }
.order-no-box strong{ font-size:18px; letter-spacing:.02em; }

/* ===================== 서비스 페이지 마이크로 애니메이션 ===================== */

/* 수기결제 3단계 목업 — "승인" 아이콘이 도장 찍히듯 내려찍힘 */
.rp-phones.is-visible .rp-phone:nth-child(2) .rp-phone-scr .ic{
  animation: stamp-hit .5s cubic-bezier(.34,1.56,.64,1) .55s both;
}
@keyframes stamp-hit{
  0%{ transform:scale(1.8) rotate(-16deg); opacity:0; }
  55%{ transform:scale(.9) rotate(4deg); opacity:1; }
  100%{ transform:scale(1) rotate(0deg); opacity:1; }
}

/* 월세페이 영수증 — 항목이 인쇄되듯 한 줄씩 나타나고, 바코드는 스캔선이 훑고 지나감 */
.rp-hl-barcode{ position:relative; overflow:hidden; }
.rp-hl.is-visible .rp-hl-barcode::after{
  content:""; position:absolute; inset:0; width:40%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  animation: barcode-scan 1.1s ease-out 1.2s 1;
}
@keyframes barcode-scan{
  from{ transform:translateX(-120%); }
  to{ transform:translateX(280%); }
}

/* 대금페이 결제완료 카드 — 체크마크가 실제로 그어지는 느낌 */
.transfer-status svg{ stroke-dasharray:26; stroke-dashoffset:26; }
.transfer.is-visible .transfer-status svg{
  animation: draw-check .5s ease-out .3s forwards;
}
@keyframes draw-check{ to{ stroke-dashoffset:0; } }

/* SMS결제 카톡 말풍선 — 실제 대화처럼 하나씩 통통 튀며 등장 */
.rp-si-chat.reveal-stagger.is-visible > *{
  animation: stagger-in .5s var(--spring) both;
}

/* 정산 카드 사이 화살표 — 결제금이 이동하는 느낌의 작은 점 */
.rp-cal{ position:relative; }
.rp-cal-arrow{ position:relative; }
.rp-cal.is-visible .rp-cal-arrow::after{
  content:""; position:absolute; top:50%; left:-3px; width:6px; height:6px; border-radius:50%;
  background:var(--blue); transform:translateY(-50%); opacity:0;
  animation: cal-dot-move 1.1s var(--ease) .5s 1;
}
@keyframes cal-dot-move{
  0%{ opacity:0; left:-6px; }
  18%{ opacity:1; }
  82%{ opacity:1; }
  100%{ opacity:0; left:24px; }
}

/* 카드단말기 기기 사진 — 제품샷처럼 빛이 한 번 훑고 지나감 */
.rp-ct-device{ position:relative; overflow:hidden; }
.rp-ct-device::after{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform:skewX(-18deg); opacity:0; pointer-events:none;
}
.rp-ct-devices.is-visible .rp-ct-device::after{
  animation: device-shine 1s ease-out 1.4s 1;
}
@keyframes device-shine{
  0%{ opacity:0; left:-60%; }
  15%{ opacity:1; }
  60%{ opacity:1; }
  100%{ opacity:0; left:130%; }
}

/* CTA 버튼 — 화면에 처음 들어올 때 한 번만 은은하게 빛남 */
.rp-cta .rp-cta-btn{ position:relative; overflow:hidden; }
.rp-cta .container.is-visible .rp-cta-btn::after{
  content:""; position:absolute; top:0; left:-60%; width:30%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform:skewX(-16deg);
  animation: cta-shine 1s ease-out 1.6s 1;
}
@keyframes cta-shine{
  0%{ left:-60%; }
  100%{ left:140%; }
}

/* 헤더 알림종 — 새 소식 점(dot)이 있을 때 페이지 로드 후 한 번 살짝 딸랑거림 */
.notif-bell:has(.dot) svg{
  animation: bell-ring 2s var(--ease) 1.2s 1;
  transform-origin:50% 4px;
}
@keyframes bell-ring{
  0%,100%{ transform:rotate(0); }
  8%{ transform:rotate(13deg); }
  16%{ transform:rotate(-11deg); }
  24%{ transform:rotate(8deg); }
  32%{ transform:rotate(-6deg); }
  40%{ transform:rotate(3deg); }
  48%{ transform:rotate(0); }
}

/* 수기결제 결제 데모 — 실제로 눌러볼 수 있는 토스트 */
.rp-si-pay{ cursor:pointer; user-select:none; transition:transform .15s ease; }
.rp-si-pay:active{ transform:scale(.97); }
.rp-si-toast{
  display:flex; align-items:flex-start; gap:8px; background:#EAFBF3; color:#0F7A57; border-radius:14px 14px 14px 4px;
  font-size:12.5px; font-weight:600; line-height:1.55; box-shadow:0 10px 22px rgba(21,146,120,.14);
  opacity:0; transform:translateY(-6px); max-height:0; overflow:hidden; padding:0 14px;
  transition:opacity .3s ease, transform .3s ease, max-height .3s ease, padding .3s ease, margin .3s ease;
}
.rp-si-toast.is-visible{ opacity:1; transform:translateY(0); max-height:100px; padding:12px 14px; margin-top:12px; }
.rp-si-toast strong{ color:#0C6B4B; white-space:nowrap; }
.rp-si-toast-icon{ display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:var(--sms-accent); color:#fff; font-size:10px; flex:none; margin-top:1px; }

/* ===================== 홈페이지 목업 애니메이션 (서비스 페이지와 통일감) ===================== */

/* 월세페이 영수증 — 항목이 인쇄되듯 한 줄씩, 바코드는 스캔선 */
.receipt-barcode{ position:relative; overflow:hidden; }
.receipt.is-visible .receipt-barcode::after{
  content:""; position:absolute; inset:0; width:40%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  animation: barcode-scan 1.1s ease-out 1.1s 1;
}

/* 대금페이 흐름 — 카드결제에서 거래처입금으로 돈이 내려가는 느낌의 점 */
.paypath-link{ position:relative; }
.paypath.is-visible .paypath-link::after{
  content:""; position:absolute; top:-2px; left:-2px; width:6px; height:6px; border-radius:50%;
  background:var(--gold-500); opacity:0;
  animation: paypath-dot-move 1s var(--ease) .4s 1;
}
@keyframes paypath-dot-move{
  0%{ opacity:0; top:-4px; }
  15%{ opacity:1; }
  85%{ opacity:1; }
  100%{ opacity:0; top:calc(100% - 2px); }
}

/* SMS결제 채팅 — 말풍선이 하나씩 통통 튀며 등장 */
.msg-thread.reveal-stagger.is-visible > *{
  animation: stagger-in .5s var(--spring) both;
}

/* 카드단말기 통장 — 정산 입금 줄이 도착하듯 한 번 밝아짐 */
.bankbook.is-visible .bb-row.highlight{
  animation: bb-arrive .7s ease-out .5s both;
}
@keyframes bb-arrive{
  0%{ background:#CFF3DE; transform:scale(1.02); }
  100%{ background:#F1FBF6; transform:scale(1); }
}

/* 홈 CTA 버튼 — 처음 보일 때 한 번 반짝 */
.contact-banner .btn-kakao{ position:relative; overflow:hidden; }
.cta-section .container.is-visible .contact-banner .btn-kakao::after{
  content:""; position:absolute; top:0; left:-60%; width:30%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(0,0,0,.12), transparent);
  transform:skewX(-16deg);
  animation: cta-shine 1s ease-out 1.6s 1;
}

/* ---------- 월세 납부 방법 비교표 (rent-pay) ---------- */
.rp-cmp{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.rp-cmp-table{
  width:100%; border-collapse:separate; border-spacing:0; min-width:600px;
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden;
}
.rp-cmp-table th,
.rp-cmp-table td{
  padding:14px 16px; text-align:left; font-size:14px; line-height:1.6;
  border-bottom:1px solid var(--border); vertical-align:top;
}
.rp-cmp-table thead th{
  background:var(--bg-soft); font-size:13px; font-weight:700; color:var(--ink-700);
  white-space:nowrap; letter-spacing:-.02em;
}
.rp-cmp-table thead th.is-mine{ background:var(--green-50); color:var(--green-800); }
.rp-cmp-table tbody th{
  font-weight:700; color:var(--ink-700); white-space:nowrap; background:#fff;
}
.rp-cmp-table td.is-mine{ background:var(--green-50); color:var(--ink); font-weight:600; }
.rp-cmp-table tbody tr:last-child th,
.rp-cmp-table tbody tr:last-child td{ border-bottom:0; }
.rp-cmp-note{
  margin-top:14px; font-size:13px; line-height:1.7; color:var(--muted); text-align:center;
}

/* 모바일: 표를 옆으로 퍼뜨리지 않고 방법별 카드로 쌓는다 */
@media (max-width:767px){
  .rp-cmp{ overflow:visible; }
  .rp-cmp-table{ min-width:0; border:0; background:transparent; }
  .rp-cmp-table thead{ display:none; }
  .rp-cmp-table tbody,
  .rp-cmp-table tr,
  .rp-cmp-table th,
  .rp-cmp-table td{ display:block; width:100%; }
  .rp-cmp-table tr{
    background:#fff; border:1px solid var(--border); border-radius:var(--radius-md);
    margin-bottom:12px; overflow:hidden;
  }
  .rp-cmp-table tbody th{
    background:var(--bg-soft); font-size:13px; padding:10px 14px;
    border-bottom:1px solid var(--border); white-space:normal;
  }
  .rp-cmp-table td{
    padding:10px 14px; border-bottom:1px solid var(--border);
    display:flex; gap:10px; align-items:baseline;
  }
  .rp-cmp-table td::before{
    content:attr(data-label); flex:0 0 84px;
    font-size:12px; font-weight:700; color:var(--muted);
  }
  .rp-cmp-table td.is-mine::before{ color:var(--green-700); }
  .rp-cmp-table tr td:last-child{ border-bottom:0; }
}
