/* ============================================================
   페이대장 — 링크결제 상세안내 페이지 전용 스타일
   (css/style.css의 디자인 토큰/.container/.section-badge/.mo-br/
    .footer-*/.quick-menu/.subpage-header 등을 그대로 재사용하며,
    이 파일은 이 페이지(link-payment.html)에서만 쓰는 클래스를 정의함)

   사용자가 제공한 "링크결제 상세페이지" 시안(HTML)의 구조/카피/인터랙션은
   그대로 유지하되, 색상·타이포·컴포넌트 스타일은 페이대장 사이트의
   망고 오렌지 디자인 시스템 + 사이트에서 "링크결제"를 상징하는
   --link-ink(바이올렛) 포인트 컬러에 맞춰 전면 재작성했습니다.
   (청구서결제 상세페이지(invoice-payment.css)와 동일한 작업 방식)
   ============================================================ */

.link-page { background: var(--white); }

/* ── 공통 유틸 ── */
.link-page .num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.link-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; color: var(--link-ink);
  background: #fff; border: 1px solid #ddd6fe;
  border-radius: var(--r-full);
  padding: 7px 16px 7px 14px;
  box-shadow: var(--sh-sm);
}
.link-eyebrow i { color: var(--link-ink); }

/* ── 히어로 ── */
.link-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(124,58,237,0.10) 0%, transparent 65%),
    linear-gradient(180deg, #f8f7fb 0%, #ffffff 100%);
}
.link-hero__orb {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); z-index: 0;
}
.link-hero__orb--a {
  width: 460px; height: 460px; top: -160px; right: -100px;
  background: radial-gradient(circle, rgba(124,58,237,0.20) 0%, transparent 70%);
}
.link-hero__orb--b {
  width: 340px; height: 340px; bottom: -130px; left: -70px;
  background: radial-gradient(circle, rgba(109,40,217,0.14) 0%, transparent 70%);
}
.link-hero__grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 52px;
}
.link-hero__badge { margin-bottom: 22px; }
.link-hero__title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 900; color: var(--text-heading);
  line-height: 1.32; letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.link-hero__title .tag {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: .02em;
  font-size: .62em; padding: .14em .55em .18em .4em; border-radius: 99px;
  border: 2px solid var(--link-ink); color: var(--link-ink); background: #fff;
}
.link-hero__sub {
  font-size: 1.02rem; color: var(--text-muted); line-height: 1.8;
  max-width: 560px; margin: 0 0 28px;
}
.link-hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding-top: 24px; border-top: 1px dashed var(--gray-300);
  font-size: .86rem; color: var(--text-muted);
}
.link-hero__facts div { display: flex; align-items: baseline; gap: 8px; }
.link-hero__facts strong { color: var(--text-heading); font-size: 1.08rem; font-weight: 800; }
.link-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.link-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: var(--r-full);
  font-weight: 700; font-size: .95rem; font-family: var(--font);
  text-decoration: none; cursor: pointer; transition: var(--transition);
  border: 1.5px solid transparent;
}
.link-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff; box-shadow: 0 10px 28px rgba(124,58,237,.3);
}
.link-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(124,58,237,.4); }
.link-btn-ghost { background: #fff; color: var(--ink-900); border-color: var(--gray-300); }
.link-btn-ghost:hover { border-color: var(--link-ink); color: var(--link-ink); transform: translateY(-3px); box-shadow: var(--sh-sm); }

/* ── 히어로 — 포스터 + 폰 스테이지 ── */
.link-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.link-stage::before {
  content: ''; position: absolute; inset: 6% 4% 4% 8%; border-radius: 32px;
  background: repeating-linear-gradient(90deg, transparent 0 31px, rgba(124,58,237,0.08) 31px 32px), var(--link-tint);
}
.link-poster {
  position: relative; z-index: 1; width: 170px; background: #fff; color: var(--text-heading);
  border-radius: 10px; padding: 16px 14px 14px; box-shadow: var(--sh-lg);
  transform: rotate(-5deg) translate(26px, 20px); text-align: center; display: grid; gap: 7px; justify-items: center;
}
.link-poster .store { font-size: .6rem; letter-spacing: .1em; color: var(--text-muted); font-weight: 700; }
.link-poster h4 { margin: 0; font-size: .86rem; line-height: 1.35; color: var(--text-heading); }
.link-poster p { font-size: .62rem; color: var(--text-muted); line-height: 1.5; }
.link-poster .qr-box { width: 96px; height: 96px; background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.link-poster .qr-box svg { width: 100%; height: 100%; display: block; }
.link-poster .scan { font-size: .62rem; font-weight: 700; background: var(--link-ink); color: #fff; border-radius: 99px; padding: 3px 10px; }
.link-demo-label { font-size: .58rem; color: var(--text-light); line-height: 1.5; }

.link-phone {
  position: relative; z-index: 2; width: 250px; max-width: 100%; aspect-ratio: 270/552;
  border-radius: 42px; background: var(--ink-900); padding: 11px; box-shadow: var(--sh-xl);
}
.link-screen { height: 100%; border-radius: 32px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }

.link-float {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px;
  padding: 12px 14px; box-shadow: var(--sh-lg); font-size: .76rem;
  display: flex; gap: 10px; align-items: center; max-width: 220px;
}
.link-float .ic {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .85rem;
}
.link-float strong { display: block; font-size: .76rem; color: var(--text-heading); }
.link-float span { color: var(--text-muted); font-size: .66rem; }
.link-float--paid { right: -8px; top: 12%; }
.link-float--paid .ic { background: var(--link-tint); color: var(--link-ink); }
.link-float--manage { left: -8px; bottom: 10%; }
.link-float--manage .ic { background: var(--mint-50); color: var(--mint-600); }
.link-amt-accent { color: var(--mint-600); }
.link-eyebrow--fit { width: fit-content; }

/* ── 히어로 폰 화면 — SNS/블로그 광고 게시물 → 구매 버튼 → 배송정보 입력 → 결제하기 → 결제완료 ── */
.link-adflow { position: relative; overflow: hidden; }
.link-adpost, .link-adshipping, .link-adcheckout {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: #fff; transition: transform .45s ease, opacity .3s ease;
}
.link-adpost { transform: translateX(0); opacity: 1; z-index: 1; }
.link-adshipping { transform: translateX(100%); opacity: 0; z-index: 2; }
.link-adcheckout { transform: translateX(100%); opacity: 0; z-index: 3; }
/* 상태 1→2: 구매하기 → 배송정보 입력 화면 */
.link-adflow.is-shipping .link-adpost { transform: translateX(-28%); opacity: 0; }
.link-adflow.is-shipping .link-adshipping { transform: translateX(0); opacity: 1; }
/* 상태 2→3: 결제하기 → 결제 진행/완료 화면 */
.link-adflow.is-checkout .link-adpost { transform: translateX(-28%); opacity: 0; }
.link-adflow.is-checkout .link-adshipping { transform: translateX(-28%); opacity: 0; }
.link-adflow.is-checkout .link-adcheckout { transform: translateX(0); opacity: 1; }

/* 상태 1: 광고 게시물(인스타/블로그 피드 카드) */
.link-adpost__top { display: flex; align-items: center; gap: 7px; padding: 10px 12px; }
.link-adpost__avatar {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--link-ink), #c4b5fd);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: .6rem;
}
.link-adpost__name { font-size: .68rem; font-weight: 700; color: var(--text-heading); display: flex; align-items: center; gap: 4px; flex: 1; }
.link-adpost__name i { color: var(--link-ink); font-size: .62rem; }
.link-adpost__more { color: var(--text-light); font-size: .6rem; letter-spacing: 1px; }
.link-adpost__media {
  position: relative; flex-shrink: 0; height: 190px; overflow: hidden;
  background: linear-gradient(150deg, #ede9fe 0%, #ddd6fe 55%, #c4b5fd 100%);
  display: flex; align-items: center; justify-content: center;
}
.link-adpost__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.link-adpost__tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-size: .56rem; font-weight: 700; color: #fff;
  background: var(--link-ink); padding: 3px 9px; border-radius: 99px;
}
.link-adpost__actions { display: flex; gap: 12px; padding: 9px 12px 4px; color: var(--text-heading); font-size: .92rem; }
.link-adpost__likes { padding: 0 12px; font-size: .64rem; font-weight: 700; color: var(--text-heading); }
.link-adpost__caption { padding: 4px 12px 8px; font-size: .64rem; line-height: 1.6; color: var(--text-body); }
.link-adpost__caption strong { color: var(--text-heading); margin-right: 4px; }
.link-adpost__hint { display: block; color: var(--text-muted); margin-top: 2px; }
.link-adpost__buy {
  margin: auto 12px 12px; font: inherit; font-size: .76rem; font-weight: 700;
  background: var(--link-ink); color: #fff; border: 0; border-radius: 99px;
  padding: 11px; display: flex; align-items: center; justify-content: center; gap: 7px;
  cursor: pointer; box-shadow: 0 8px 20px rgba(124,58,237,.32);
  animation: linkBuyPulse 1.8s ease-in-out infinite;
}
@keyframes linkBuyPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(124,58,237,.32); }
  50% { transform: scale(1.035); box-shadow: 0 10px 26px rgba(124,58,237,.42); }
}

/* 상태 2: 구매 버튼을 누르면 나오는 배송정보 입력 화면 */
.link-adshipping__bar {
  display: flex; align-items: center; gap: 8px; padding: 12px;
  font-size: .72rem; font-weight: 700; color: var(--text-heading);
  border-bottom: 1px solid var(--gray-200); flex-shrink: 0;
}
.link-adshipping__bar i { color: var(--text-muted); font-size: .68rem; }
.link-adshipping__body { flex: 1; overflow-y: auto; padding: 12px; display: grid; gap: 12px; align-content: start; }
.link-adshipping__order {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--gray-200); border-radius: 12px; padding: 9px 10px;
  background: var(--gray-50);
}
.link-adshipping__thumb {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--link-ink), #c4b5fd);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.link-adshipping__order strong { display: block; font-size: .68rem; color: var(--text-heading); line-height: 1.4; }
.link-adshipping__order span { font-size: .62rem; color: var(--text-muted); }
.link-adshipping__fields { display: grid; gap: 8px; }
.link-adshipping__field span { display: block; font-size: .6rem; color: var(--text-muted); margin-bottom: 3px; font-weight: 700; }
.link-adshipping__field div { border: 1px solid var(--gray-200); border-radius: 9px; padding: 7px 9px; background: #fff; color: var(--text-body); font-size: .68rem; }
.link-adshipping__pay {
  margin: 0 12px 12px; font: inherit; font-size: .76rem; font-weight: 700;
  background: var(--link-ink); color: #fff; border: 0; border-radius: 99px;
  padding: 11px; display: flex; align-items: center; justify-content: center; gap: 7px;
  cursor: pointer; box-shadow: 0 8px 20px rgba(124,58,237,.32); flex-shrink: 0;
}

/* 상태 3: 결제하기 버튼을 누르면 진행되는 결제 처리 · 완료 화면 */
.link-adcheckout__bar {
  display: flex; align-items: center; gap: 8px; padding: 12px;
  font-size: .72rem; font-weight: 700; color: var(--text-heading);
  border-bottom: 1px solid var(--gray-200); flex-shrink: 0;
}
.link-adcheckout__bar i { color: var(--text-muted); font-size: .68rem; }
.link-adcheckout__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; }
.link-adcheckout__thumb {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--link-ink), #c4b5fd);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 4px;
}
.link-adcheckout__name { font-size: .84rem; color: var(--text-heading); }
.link-adcheckout__price { font-size: 1.1rem; font-weight: 800; color: var(--text-heading); }
.link-adcheckout__spinner {
  width: 26px; height: 26px; margin-top: 10px; border-radius: 50%;
  border: 3px solid var(--gray-200); border-top-color: var(--link-ink);
  animation: linkSpin .7s linear infinite;
}
@keyframes linkSpin { to { transform: rotate(360deg); } }
.link-adcheckout__done {
  display: none; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px;
}
.link-adcheckout__doneicon { font-size: 2.4rem; color: var(--mint-500); }
.link-adcheckout__done strong { font-size: 1rem; color: var(--text-heading); }
.link-adcheckout__done span { font-size: .78rem; color: var(--text-muted); }
.link-adflow.is-paid .link-adcheckout__spinner { display: none; }
.link-adflow.is-paid .link-adcheckout__done { display: flex; }

/* ── 섹션 공통 ── */
.link-section { padding: 80px 0; }
.link-section--tint { background: var(--gray-50); }
.link-section-header { margin-bottom: 44px; }
.link-section-header.link-center { text-align: center; }
.link-section-header h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800; color: var(--text-heading); line-height: 1.42; margin-top: 12px;
}
.link-section-header p { font-size: .96rem; color: var(--text-muted); margin-top: 12px; max-width: 560px; }
.link-section-header.link-center p { margin-left: auto; margin-right: auto; }

/* ── 이런 곳에서 씁니다 ── */
.link-uses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.link-use-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.link-use {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px;
  border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--gray-200); transition: var(--transition);
}
.link-use:hover { border-color: transparent; box-shadow: var(--sh-md); transform: translateY(-2px); }
.link-use .ic {
  width: 40px; height: 40px; border-radius: 11px; background: var(--link-tint); color: var(--link-ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem;
}
.link-use strong { display: block; font-size: .96rem; color: var(--text-heading); }
.link-use span { font-size: .82rem; color: var(--text-muted); }

.link-benefit-board {
  padding: 32px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--link-tint), #fff);
  border: 1.5px solid #ddd6fe; display: grid; gap: 20px; align-content: start;
}
.link-benefit-board h3 { font-size: 1.5rem; font-weight: 800; color: var(--text-heading); line-height: 1.4; }
.link-benefit-board > div { border-top: 1px solid #ddd6fe; padding-top: 18px; }
.link-benefit-board > div:first-of-type { border-top: none; padding-top: 0; }
.link-benefit-board b { font-size: .92rem; color: var(--link-ink); font-weight: 800; }
.link-benefit-board p { font-size: .88rem; color: var(--text-muted); margin-top: 7px; line-height: 1.6; }

/* ── 이용 흐름 (4단계) ── */
.link-flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.link-flow-step {
  padding: 26px 26px 26px 0; border-top: 2px solid var(--gray-200);
  position: relative; display: grid; gap: 10px; align-content: start;
}
.link-flow-step::before {
  content: ''; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--link-ink);
}
.link-flow-step .n { font-size: .78rem; color: var(--link-ink); font-weight: 800; }
.link-flow-step h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-heading); }
.link-flow-step p { color: var(--text-muted); font-size: .88rem; line-height: 1.65; }
.link-flow-note {
  background: var(--link-tint); border-left: 3px solid var(--link-ink);
  padding: 22px 26px; margin-top: 26px; border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.link-flow-note b { color: var(--text-heading); font-size: .95rem; }
.link-flow-note p { margin-top: 6px; color: var(--text-muted); font-size: .88rem; line-height: 1.65; }

/* ── 공유 방법 (탭 + 패널) ── */
.link-share { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.link-tabs { display: grid; gap: 10px; }
.link-tab {
  text-align: left; font: inherit; color: inherit; background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 18px 20px; cursor: pointer; display: flex; gap: 14px; align-items: flex-start;
  transition: var(--transition); width: 100%;
}
.link-tab .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--gray-100); color: var(--text-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem; }
.link-tab strong { display: block; font-size: .98rem; color: var(--text-heading); }
.link-tab span { font-size: .82rem; color: var(--text-muted); }
.link-tab[aria-selected="true"] { border-color: var(--link-ink); background: var(--link-tint); }
.link-tab[aria-selected="true"] .ic { background: var(--link-ink); color: #fff; }

.link-panel { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; min-width: 0; }
.link-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--gray-200); flex-wrap: wrap; }
.link-panel-head strong { font-size: .92rem; color: var(--text-heading); display: flex; align-items: center; gap: 8px; }
.link-panel-head strong i { color: var(--link-ink); }
.link-chip { font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; background: var(--gray-100); color: var(--text-muted); white-space: nowrap; }
.link-chip--mint { background: var(--mint-100); color: var(--mint-700); }
.link-pane { padding: 22px; display: grid; gap: 14px; }
.link-urlbox { display: flex; align-items: center; gap: 10px; border: 1px solid var(--gray-200); border-radius: 12px; padding: 6px 6px 6px 14px; background: var(--gray-50); min-width: 0; }
.link-urlbox code { font-family: monospace; font-size: .82rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-urlbox button { font: inherit; font-size: .78rem; font-weight: 700; border: 0; border-radius: 9px; padding: 8px 14px; background: var(--link-ink); color: #fff; cursor: pointer; white-space: nowrap; }
.link-where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.link-where div { border: 1px solid var(--gray-200); border-radius: 12px; padding: 12px; font-size: .82rem; display: grid; gap: 6px; color: var(--text-body); }
.link-where i { color: var(--link-ink); }
.link-hint { padding: 10px 12px; border-radius: 10px; font-size: .82rem; display: flex; gap: 8px; align-items: flex-start; background: var(--gray-50); color: var(--text-body); }
.link-hint i { color: var(--link-ink); margin-top: 2px; }

.link-posterwrap { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.link-poster.flat { transform: none; border: 1px solid var(--gray-200); }
.link-fields { display: grid; gap: 10px; font-size: .86rem; }
.link-field span { display: block; font-size: .74rem; color: var(--text-muted); margin-bottom: 3px; }
.link-field div { border: 1px solid var(--gray-200); border-radius: 9px; padding: 8px 11px; background: var(--gray-50); color: var(--text-body); }
.link-seg { display: inline-flex; background: var(--gray-100); border-radius: 9px; padding: 3px; gap: 2px; font-size: .8rem; }
.link-seg b { padding: 5px 11px; border-radius: 7px; font-weight: 600; color: var(--text-muted); }
.link-seg b.on { background: #fff; color: var(--text-heading); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.link-recips { display: grid; gap: 8px; }
.link-recip { display: grid; grid-template-columns: 1fr 110px; gap: 8px; font-size: .86rem; }
.link-recip div { border: 1px solid var(--gray-200); border-radius: 9px; padding: 8px 11px; background: var(--gray-50); color: var(--text-body); }
.link-add { font-size: .8rem; color: var(--link-ink); font-weight: 700; }
.link-smsprev { background: var(--gray-100); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: .86rem; line-height: 1.7; max-width: 30em; color: var(--text-body); }
.link-smsprev u { color: var(--link-ink); text-underline-offset: 3px; }

/* ── 스토어 섹션 ── */
.link-store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.link-store-grid h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 800; color: var(--text-heading); margin-top: 12px; }
.link-store-grid .copy > p { color: var(--text-muted); margin-top: 16px; font-size: .95rem; max-width: 30em; line-height: 1.75; }
.link-sgroups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.link-sgroup { border: 1px solid var(--gray-200); border-radius: 14px; padding: 16px; background: var(--gray-50); display: grid; gap: 6px; align-content: start; }
.link-sgroup strong { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--text-heading); }
.link-sgroup strong i { color: var(--link-ink); }
.link-sgroup span { font-size: .8rem; color: var(--text-muted); }

.link-sf { width: 100%; max-width: 320px; justify-self: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: 28px; box-shadow: var(--sh-lg); overflow: hidden; }
.link-sf-url { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--gray-100); font-family: monospace; font-size: .72rem; color: var(--text-muted); }
.link-sf-cover { position: relative; height: 92px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: .66rem; color: #fff; }
.link-sf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.link-sf-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(76,29,149,.05) 0%, rgba(30,15,60,.55) 100%); }
.link-sf-cover span { position: relative; z-index: 1; background: rgba(255,255,255,.2); backdrop-filter: blur(2px); padding: 2px 8px; border-radius: 99px; }
.link-sf-head { padding: 14px 18px 12px; display: grid; gap: 4px; }
.link-sf-head h4 { margin: 0; font-size: 1.04rem; color: var(--text-heading); }
.link-sf-head p { font-size: .76rem; color: var(--text-muted); }
.link-sf-status { display: flex; gap: 8px; align-items: center; font-size: .72rem; margin-top: 2px; flex-wrap: wrap; }
.link-sf-status .open { color: var(--mint-600); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.link-sf-status .open::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-600); }
.link-sf-status__time { color: var(--text-muted); }
.link-ticker { background: var(--link-tint); color: var(--link-ink); font-size: .72rem; font-weight: 600; padding: 8px 0; overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.link-ticker .track { display: inline-block; padding-left: 18px; padding-right: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .link-ticker .track { animation: linkTick 16s linear infinite; }
  @keyframes linkTick { 0%, 12% { transform: translateX(0); } 100% { transform: translateX(-60%); } }
}
.link-cats { display: flex; gap: 6px; padding: 12px 18px 4px; overflow-x: auto; }
.link-cats button { font: inherit; font-size: .76rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--gray-200); background: #fff; color: var(--text-muted); cursor: pointer; white-space: nowrap; }
.link-cats button[aria-pressed="true"] { background: var(--ink-900); color: #fff; border-color: var(--ink-900); font-weight: 700; }
.link-sf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 18px 14px; }
.link-sf-item { display: grid; gap: 4px; }
.link-sf-item__photo { display: block; aspect-ratio: 1; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--gray-100); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.link-sf-item__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-sf-item strong { font-size: .76rem; line-height: 1.35; font-weight: 700; color: var(--text-heading); }
.link-sf-item em { font-style: normal; font-size: .76rem; font-weight: 800; color: var(--text-heading); }
.link-sf-block { margin: 0 18px 12px; border: 1px solid var(--gray-200); border-radius: 12px; padding: 11px 12px; display: flex; gap: 10px; align-items: center; font-size: .78rem; }
.link-sf-block .ic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--link-tint); color: var(--link-ink); }
.link-sf-block b { display: block; font-size: .78rem; color: var(--text-heading); }
.link-sf-block span { color: var(--text-muted); font-size: .72rem; }
.link-sf-actions { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-200); }
.link-sf-actions span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 0; font-size: .68rem; color: var(--text-muted); }
.link-sf-actions span + span { border-left: 1px solid var(--gray-200); }
.link-sf-actions i { color: var(--text-heading); }

/* ── feature row (좌 카피 / 우 패널) ── */
.link-feature { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.link-feature + .link-feature { margin-top: clamp(64px, 8vw, 104px); }
.link-feature.flip > :first-child { order: 2; }
.link-feature .link-eyebrow { margin-bottom: 14px; }
.link-feature h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 800; color: var(--text-heading); line-height: 1.42; }
.link-feature .copy > p { color: var(--text-muted); margin-top: 16px; font-size: .95rem; line-height: 1.75; max-width: 30em; }
.link-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.link-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-body); line-height: 1.6; }
.link-points li i { margin-top: 3px; color: var(--link-ink); font-size: .8rem; }

/* 옵션 선택 picker */
.link-picker { padding: 20px; display: grid; gap: 16px; }
.link-og { display: grid; gap: 8px; }
.link-og > span { font-size: .8rem; font-weight: 700; color: var(--text-heading); }
.link-og > span em { font-style: normal; color: #d23b3b; margin-left: 2px; }
.link-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.link-choices button { font: inherit; font-size: .84rem; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--gray-200); background: #fff; color: var(--text-body); cursor: pointer; }
.link-choices button small { color: var(--text-muted); margin-left: 4px; }
.link-choices button[aria-pressed="true"] { border-color: var(--link-ink); background: var(--link-tint); color: var(--link-ink); font-weight: 700; }
.link-choices button:disabled { color: var(--text-light); text-decoration: line-through; cursor: not-allowed; opacity: .7; }
.link-qrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.link-qrow div:first-child b { color: var(--text-heading); }
.link-qrow small { color: var(--text-muted); font-size: .76rem; display: block; }
.link-qty { display: inline-flex; align-items: center; border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; }
.link-qty button { width: 36px; height: 36px; border: 0; background: #fff; color: var(--text-heading); font-size: 1.1rem; cursor: pointer; }
.link-qty button:disabled { color: var(--gray-300); cursor: not-allowed; }
.link-qty output { min-width: 32px; text-align: center; font-weight: 700; }
.link-sum { display: grid; gap: 6px; font-size: .88rem; border-top: 1px solid var(--gray-200); padding-top: 14px; }
.link-sum .row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-body); }
.link-sum .row span:first-child { color: var(--text-muted); }
.link-sum .total { border-top: 1px dashed var(--gray-200); padding-top: 10px; margin-top: 4px; font-size: 1.08rem; font-weight: 800; color: var(--text-heading); }

/* 테이블 */
.link-tscroll { overflow-x: auto; }
.link-table { width: 100%; border-collapse: collapse; font-size: .82rem; min-width: 500px; }
.link-table th { text-align: left; font-weight: 700; font-size: .74rem; color: var(--text-muted); padding: 10px 18px; background: var(--gray-50); white-space: nowrap; }
.link-table td { padding: 11px 18px; border-top: 1px solid var(--gray-200); white-space: nowrap; color: var(--text-body); }
.link-table td.r, .link-table th.r { text-align: right; }
.link-table td .sub { display: block; font-size: .66rem; color: var(--text-muted); }

/* ── 비교 / 결제 이후 / FAQ / 준비 ── */
.link-compare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.link-cmp { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; transition: var(--transition); }
a.link-cmp:hover { border-color: var(--link-ink); box-shadow: var(--sh-md); transform: translateY(-4px); }
.link-cmp.me { border: 2px solid var(--link-ink); }
.link-cmp .lbl { font-size: .72rem; font-weight: 700; color: var(--text-muted); }
.link-cmp.me .lbl { color: var(--link-ink); }
.link-cmp h3 { font-size: 1.2rem; font-weight: 800; color: var(--text-heading); }
.link-cmp p { font-size: .84rem; color: var(--text-muted); }
.link-cmp .q { font-size: .84rem; background: var(--gray-100); border-radius: 8px; padding: 9px 11px; color: var(--text-body); }

.link-after-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.link-after-grid > div { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.link-after-grid .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--link-tint); color: var(--link-ink); }
.link-after-grid h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-heading); }
.link-after-grid p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

.link-faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.link-faq details { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--r-lg); padding: 0 22px; transition: var(--transition); }
.link-faq details[open] { border-color: #ddd6fe; }
.link-faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--text-heading); list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.link-faq summary::-webkit-details-marker { display: none; }
.link-faq summary::after { content: '+'; color: var(--link-ink); font-size: 1.3rem; line-height: 1; }
.link-faq details[open] summary::after { content: '\2212'; }
.link-faq details p { padding-bottom: 18px; color: var(--text-muted); font-size: .88rem; line-height: 1.7; }

.link-prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.link-prep-grid article { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--r-lg); padding: 26px; }
.link-prep-grid b { display: block; font-size: 1rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; }
.link-prep-grid p { color: var(--text-muted); font-size: .88rem; line-height: 1.7; }
.link-prep-note { margin-top: 24px; color: var(--text-muted); font-size: .78rem; text-align: center; }

/* ── CTA ── */
.link-cta {
  padding: 88px 0;
  background: linear-gradient(135deg, #1c1033 0%, #3b2066 55%, #6d28d9 100%);
  color: #fff; text-align: center;
}
.link-cta__inner h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.55; margin-bottom: 24px; }
.link-cta__points { list-style: none; display: flex; flex-direction: column; gap: 10px; align-items: center; margin-bottom: 36px; padding: 0; }
.link-cta__points li { font-size: 1rem; display: flex; align-items: flex-start; justify-content: center; gap: 8px; text-align: left; max-width: 420px; margin: 0 auto; }
.link-cta__points i { color: #c4b5fd; margin-top: 3px; flex-shrink: 0; }
.link-example-note {
  margin-top: 22px; display: flex; align-items: flex-start; gap: 8px; text-align: left;
  color: rgba(255,255,255,.7); font-size: .74rem; line-height: 1.6;
  max-width: 640px; margin-left: auto; margin-right: auto;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-md);
  background: rgba(255,255,255,.06); padding: 12px 16px;
}
.link-example-note i { color: #c4b5fd; margin-top: 2px; flex-shrink: 0; }

/* CTA 하단 버튼 2개(가입문의/사용법 보기) — 히어로의 .link-btn 계열 그대로 재사용 */
.link-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.link-cta .link-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.link-cta .link-btn-ghost:hover { border-color: rgba(255,255,255,.3); color: #fff; transform: none; box-shadow: none; }
.link-cta .link-btn-ghost[aria-disabled="true"] { cursor: default; opacity: .65; }

/* ── 반응형 ── */
@media (max-width: 960px) {
  .link-hero__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .link-hero__content { text-align: center; }
  .link-hero__sub { margin-left: auto; margin-right: auto; }
  .link-hero__ctas { justify-content: center; }
  .link-hero__facts { justify-content: center; }
  .link-stage { order: -1; min-height: 420px; }
  .link-uses-grid, .link-share, .link-store-grid, .link-feature, .link-feature.flip { grid-template-columns: 1fr; }
  .link-feature.flip > :first-child { order: 0; }
  .link-flow-steps { grid-template-columns: repeat(2, 1fr); }
  .link-compare-grid { grid-template-columns: repeat(2, 1fr); }
  .link-after-grid, .link-prep-grid { grid-template-columns: 1fr; }
  .link-where, .link-sgroups { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .link-use-list { grid-template-columns: 1fr; }
  .link-flow-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .link-compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .link-hero { padding: 48px 0 48px; }
  .link-phone { width: 215px; }
  .link-poster { width: 140px; }
  .link-float { max-width: 76%; font-size: .7rem; padding: 10px 12px; }
  .link-float strong { font-size: .7rem; }
  .link-float--paid { right: -4px; top: 6%; }
  .link-float--manage { left: -4px; bottom: 15%; }
  .link-section { padding: 56px 0; }
  .link-posterwrap { grid-template-columns: 1fr; justify-items: center; }
  .link-recip { grid-template-columns: 1fr 80px; }
}
@media (max-width: 480px) {
  .link-hero__ctas .link-btn { width: 100%; max-width: 280px; }
}
