@charset "utf-8";
/* ============================================================
   업튜브 — 공통 스타일
   가독성 우선: 본문 17px / 행간 1.75 / 최대 폭 제한
   ============================================================ */

/* ── 디자인 토큰 ─────────────────────────────────────────── */
:root {
  --ink:        #14161a;
  --ink-soft:   #3d434d;
  --ink-mute:   #6b7280;
  --ink-faint:  #9aa1ab;

  --bg:         #ffffff;
  --bg-soft:    #f6f7f9;
  --bg-sunken:  #eef0f4;
  --bg-warm:    #f5f5f2;   /* 상세페이지 인포그래픽 밴드 — 따뜻한 오프화이트 */
  --line-warm:  #e4e4de;
  --bg-dark:    #101317;
  --bg-dark-2:  #181c22;

  --line:       #e3e6ec;
  --line-soft:  #eef0f4;
  --line-dark:  #2a2f38;

  --accent:      #ec1b23;
  --accent-deep: #c1121a;
  --accent-soft: #fff0f0;

  --ok:      #0f9d58;
  --ok-soft: #e8f6ee;
  --warn:      #b7791f;
  --warn-soft: #fdf5e4;
  --info:      #1a73e8;
  --info-soft: #eaf2fe;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(16,19,23,.06), 0 1px 3px rgba(16,19,23,.05);
  --shadow:    0 4px 16px rgba(16,19,23,.07), 0 1px 3px rgba(16,19,23,.05);
  --shadow-lg: 0 18px 50px rgba(16,19,23,.13), 0 4px 12px rgba(16,19,23,.06);

  --wrap:   1120px;
  --header: 66px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── 리셋 ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid rgba(236,27,35,.45); outline-offset: 2px; border-radius: 4px; }

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

/* ── 레이아웃 ────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.section-dark .eyebrow { color: #ff6b6f; }
.section-title { font-size: clamp(26px, 4.2vw, 38px); }
.section-desc { margin-top: 16px; font-size: 17px; color: var(--ink-mute); }
.section-dark .section-desc { color: #b6bcc6; }

/* ── 버튼 ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--bg-sunken); color: var(--ink);
  font-size: 16px; font-weight: 700; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              box-shadow .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(236,27,35,.28); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 26px rgba(236,27,35,.34); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); border-color: #d3d8e0; }
.btn-on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-on-dark:hover { background: rgba(255,255,255,.18); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 36px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* ── 헤더 ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(16,19,23,.05); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header); }

.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-mark { display: inline-flex; color: var(--accent); }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 9px 14px; border-radius: 9px;
  font-size: 15.5px; font-weight: 600; color: var(--ink-soft);
  transition: background-color .15s, color .15s;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav a.is-active { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }

/* 헤더 CTA — 화살표가 호버 때 미끄러져 나온다 */
.hd-cta {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 800; letter-spacing: -.02em;
  text-decoration: none; white-space: nowrap; overflow: hidden;
  box-shadow: 0 6px 18px rgba(236,27,35,.3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.hd-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%);
  transform: translateX(-120%);
}
.hd-cta:hover {
  background: var(--accent-deep); transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(236,27,35,.38);
}
.hd-cta:hover::before { animation: hdShine .7s var(--ease); }
.hd-cta .arw {
  display: inline-flex; width: 0; opacity: 0;
  transition: width .22s var(--ease), opacity .18s var(--ease);
}
.hd-cta:hover .arw { width: 15px; opacity: 1; }
@keyframes hdShine { to { transform: translateX(120%); } }

@media (prefers-reduced-motion: reduce) {
  .hd-cta, .hd-cta .arw { transition: none; }
  .hd-cta:hover::before { animation: none; }
}

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  background: none; border: 0; border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .22s var(--ease), opacity .18s; }
.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); }

.nav-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(16,19,23,.4); }

/* ── 플래시 ──────────────────────────────────────────────── */
.flash-zone { padding-top: 18px; }
.flash {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 15.5px; font-weight: 600; border: 1px solid;
}
.flash + .flash { margin-top: 10px; }
.flash-ok    { background: var(--ok-soft);   border-color: #bfe4cd; color: #0b6b3d; }
.flash-error { background: var(--accent-soft); border-color: #f7c6c8; color: #a4141a; }
.flash-info  { background: var(--info-soft); border-color: #c6dcfb; color: #14539f; }

/* ── 히어로 ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 8%, #2b1114 0%, transparent 58%), var(--bg-dark);
  color: #fff;
  padding: 84px 0 96px;
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: -180px; width: 760px; height: 420px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(236,27,35,.28), transparent 70%);
  filter: blur(20px);
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 52px; grid-template-columns: 1.08fr .92fr; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  font-size: 14px; font-weight: 600; color: #ffd9da;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #45d483; box-shadow: 0 0 0 4px rgba(69,212,131,.18); }

.hero-title { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.24; letter-spacing: -.035em; }
.hero-title em { font-style: normal; color: #ff5a5f; }
.hero-desc { margin-top: 22px; font-size: clamp(16px, 2vw, 18.5px); line-height: 1.8; color: #c2c8d2; max-width: 30em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #aeb5c0; }
.hero-trust svg { color: #45d483; flex-shrink: 0; }

/* 히어로 우측 가격 카드 */
.hero-card {
  background: linear-gradient(170deg, #23272f 0%, #171a20 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hero-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-card-head h2 { font-size: 18px; }
.hero-card-head .save { font-size: 14px; font-weight: 700; color: #45d483; }
.hero-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.hero-price-row:last-of-type { border-bottom: 0; }
.hero-price-row .label { font-size: 15.5px; color: #aeb5c0; }
.hero-price-row .value { font-size: 17px; font-weight: 700; }
.hero-price-row.is-official .value { color: #8b929c; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.hero-price-row.is-ours .label { color: #fff; font-weight: 700; }
.hero-price-row.is-ours .value { font-size: 25px; color: #ff5a5f; letter-spacing: -.03em; }
.hero-card .btn { margin-top: 20px; }
.hero-card-note { margin-top: 14px; font-size: 13.5px; line-height: 1.65; color: #8b929c; text-align: center; }

/* ── 신뢰 배지 바 ────────────────────────────────────────── */
.trustbar { background: var(--bg-dark-2); color: #fff; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.trustbar-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trustbar-list li strong { display: block; font-size: 21px; letter-spacing: -.03em; }
.trustbar-list li span { font-size: 14px; color: #98a0ab; }

/* ── 요금제 카드 ─────────────────────────────────────────── */
.plan-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3d8e0; }
.plan-card.is-best { border-color: var(--accent); box-shadow: 0 12px 40px rgba(236,27,35,.14); }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(236,27,35,.3);
}
.plan-term { font-size: 20px; font-weight: 800; }
.plan-compare { margin-top: 6px; font-size: 15px; color: var(--ink-faint); text-decoration: line-through; min-height: 26px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.plan-price .num { font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.plan-price .unit { font-size: 17px; font-weight: 700; color: var(--ink-soft); }
.plan-monthly { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--ink-mute); }
.plan-monthly b { color: var(--accent); font-weight: 800; }
.plan-save {
  display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--ok-soft); color: #0b6b3d; font-size: 13.5px; font-weight: 700;
}
.plan-card .btn { margin-top: auto; margin-top: 22px; }

/* ── 가격 비교 ───────────────────────────────────────────── */
.compare {
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 860px; margin: 0 auto;
}
.compare-item {
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1.5px solid var(--line); text-align: center;
}
.compare-item.is-ours { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.compare-item h3 { font-size: 16px; font-weight: 700; color: var(--ink-mute); }
.compare-item.is-ours h3 { color: #c2c8d2; }
.compare-item .amount { display: block; margin-top: 12px; font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.compare-item .per { font-size: 15px; font-weight: 600; color: var(--ink-faint); }
.compare-item.is-ours .amount { color: #ff5a5f; }
.compare-item .yearly { margin-top: 10px; font-size: 14.5px; color: var(--ink-mute); }
.compare-item.is-ours .yearly { color: #aeb5c0; }
.compare-note { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--ink-mute); }

/* ── 3단계 안내 ─────────────────────────────────────────── */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: 32px 26px 28px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
}
.section-dark .step { background: var(--bg-dark-2); border-color: var(--line-dark); }
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent); font-size: 18px; font-weight: 800;
}
.section-dark .step-no { background: rgba(236,27,35,.18); color: #ff7b7f; }
.step h3 { font-size: 19px; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.75; color: var(--ink-mute); }
.section-dark .step p { color: #a9b0ba; }

/* ── 혜택 그리드 ─────────────────────────────────────────── */
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 22px 20px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.section-soft .feature { background: var(--bg); }
.feature-ico {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
}
.feature strong { display: block; font-size: 16.5px; font-weight: 700; }
.feature span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.7; color: var(--ink-mute); }

/* ── 후기 ────────────────────────────────────────────────── */
.review-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review {
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.review-stars { color: #f5a623; font-size: 15px; letter-spacing: 2px; }
.review-body { margin-top: 12px; font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.review-meta { margin-top: 16px; font-size: 14px; color: var(--ink-faint); }

/* ── FAQ 아코디언 ────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  padding: 24px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 17.5px; font-weight: 700; line-height: 1.6; color: var(--ink);
}
.faq-q .mark { flex-shrink: 0; color: var(--accent); font-weight: 800; }
.faq-q .chev {
  margin-left: auto; flex-shrink: 0; width: 20px; height: 20px; margin-top: 4px;
  color: var(--ink-faint); transition: transform .24s var(--ease);
}
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { overflow: hidden; height: 0; transition: height .26s var(--ease); }
.faq-a-inner { padding: 0 4px 26px 34px; font-size: 16px; line-height: 1.85; color: var(--ink-soft); }
.faq-cat {
  display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 6px;
  background: var(--bg-sunken); font-size: 12.5px; font-weight: 700; color: var(--ink-mute);
}

/* ── 하단 CTA ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #8f0d14 100%);
  color: #fff; text-align: center; padding: 74px 0;
}
.cta-band h2 { font-size: clamp(25px, 4vw, 36px); }
.cta-band p { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.86); }
.cta-band .btn { margin-top: 30px; background: #fff; color: var(--accent-deep); }
.cta-band .btn:hover { background: #fff4f4; }

/* ── 페이지 헤더 (서브페이지) ────────────────────────────── */
.page-head { padding: 56px 0 44px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(26px, 4vw, 36px); }
.page-head p { margin-top: 12px; font-size: 16.5px; color: var(--ink-mute); }
.breadcrumb { margin-bottom: 14px; font-size: 14px; color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ── 카드 / 패널 ─────────────────────────────────────────── */
.panel {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 20px; }
.panel-title { font-size: 20px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.panel-narrow { max-width: 620px; margin: 0 auto; }

/* ── 폼 ──────────────────────────────────────────────────── */
.field { margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field-label {
  display: block; margin-bottom: 8px; font-size: 15.5px; font-weight: 700;
}
.field .req { color: var(--accent); margin-left: 3px; }
.field .hint { display: block; margin-top: 7px; font-size: 14px; line-height: 1.65; color: var(--ink-mute); }
.input, .textarea, .select {
  display: block; width: 100%; height: 54px; padding: 0 16px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 130px; padding: 14px 16px; line-height: 1.75; resize: vertical; }
.input:focus, .textarea:focus, .select:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(236,27,35,.12);
}
.input::placeholder, .textarea::placeholder { color: #b3b9c2; }
.input[readonly] { background: var(--bg-soft); color: var(--ink-mute); }
.field.has-error .input, .field.has-error .textarea { border-color: var(--accent); }
.field-error { margin-top: 7px; font-size: 14px; font-weight: 600; color: var(--accent); }

.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.7; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.check a { text-decoration: underline; color: var(--ink-soft); }

.error-box {
  margin-bottom: 24px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid #f7c6c8; color: #a4141a;
}
.error-box strong { display: block; margin-bottom: 6px; font-size: 15.5px; }
.error-box li { font-size: 14.5px; line-height: 1.7; }
.error-box li::before { content: "· "; }

/* 기간 선택 라디오 카드 */
.term-picker { display: grid; gap: 12px; }
.term-option { position: relative; }
.term-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.term-option label {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.term-option label:hover { border-color: #cfd5de; background: var(--bg-soft); }
.term-option input:checked + label {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(236,27,35,.1);
}
.term-option input:focus-visible + label { outline: 3px solid rgba(236,27,35,.45); outline-offset: 2px; }
.term-radio {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #c8cdd6; transition: border-color .15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.term-option input:checked + label .term-radio { border-color: var(--accent); }
.term-option input:checked + label .term-radio::after {
  content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--accent);
}
.term-info { flex: 1; min-width: 0; }
.term-info .name { font-size: 17px; font-weight: 700; }
.term-info .sub { font-size: 14px; color: var(--ink-mute); }
.term-cost { text-align: right; flex-shrink: 0; }
.term-cost .now { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.term-cost .was { display: block; font-size: 13.5px; color: var(--ink-faint); text-decoration: line-through; }
.term-tag {
  display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px;
}

/* 주문 요약 */
.summary { position: sticky; top: calc(var(--header) + 20px); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15.5px; }
.summary-row .k { color: var(--ink-mute); }
.summary-row .v { font-weight: 600; text-align: right; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 12px; padding-top: 18px; border-top: 2px solid var(--ink);
}
.summary-total .k { font-size: 16.5px; font-weight: 700; }
.summary-total .v { font-size: 27px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }

/* 계좌 안내 박스 */
.bank-box {
  padding: 24px; border-radius: var(--radius); background: var(--bg-soft);
  border: 1.5px dashed var(--line);
}
.bank-line { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 16px; }
.bank-line .k { flex-shrink: 0; width: 78px; color: var(--ink-mute); font-size: 15px; }
.bank-line .v { font-weight: 700; }
.bank-line .v.big { font-size: 21px; letter-spacing: -.02em; }
.bank-line .v.amount { color: var(--accent); }
.copy-btn {
  margin-left: 6px; padding: 3px 10px; border-radius: 7px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.copy-btn:hover { background: #fff; border-color: #c8cdd6; }
.copy-btn.is-done { background: var(--ok-soft); border-color: #bfe4cd; color: #0b6b3d; }

/* ── 상태 배지 ───────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-wait { background: var(--warn-soft); color: #8a5a10; }
.badge-work { background: var(--info-soft); color: #14539f; }
.badge-done { background: var(--ok-soft); color: #0b6b3d; }
.badge-dead { background: var(--bg-sunken); color: var(--ink-mute); }

/* ── 진행 단계 표시 ──────────────────────────────────────── */
.progress { display: flex; gap: 6px; margin: 24px 0 8px; }
.progress-step { flex: 1; text-align: center; }
.progress-bar { height: 6px; border-radius: 999px; background: var(--bg-sunken); }
.progress-step.is-done .progress-bar { background: var(--accent); }
.progress-step .t { display: block; margin-top: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-faint); }
.progress-step.is-done .t { color: var(--ink); }

/* ── 정의형 테이블 ───────────────────────────────────────── */
.dl { border-top: 1px solid var(--line); }
.dl-row { display: flex; gap: 16px; padding: 15px 2px; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
.dl-row dt { flex-shrink: 0; width: 130px; color: var(--ink-mute); }
.dl-row dd { margin: 0; flex: 1; min-width: 0; font-weight: 600; }

/* ── 안내 목록 ───────────────────────────────────────────── */
.notice-list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.notice-list li + li { margin-top: 8px; }
.notice-list li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-faint);
}
.check-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.8; }
.check-list li + li { margin-top: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ec1b23'/%3E%3Cpath d='M5.6 10.3l2.8 2.8 6-6' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── 문서형 본문 (약관) ──────────────────────────────────── */
.doc { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.9; color: var(--ink-soft); }
.doc h2 { margin: 40px 0 14px; font-size: 20px; color: var(--ink); }
.doc h2:first-child { margin-top: 0; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0; }
.doc li { position: relative; padding-left: 18px; }
.doc li::before { content: "·"; position: absolute; left: 5px; color: var(--ink-faint); }

/* ── 빈 상태 ─────────────────────────────────────────────── */
.empty { padding: 64px 20px; text-align: center; color: var(--ink-mute); }
.empty strong { display: block; margin-bottom: 8px; font-size: 18px; color: var(--ink); }

/* ── 푸터 ────────────────────────────────────────────────── */
.site-footer { background: var(--bg-dark); color: #9aa1ab; padding: 60px 0 40px; font-size: 15px; }
.footer-inner { display: grid; gap: 44px; grid-template-columns: 1.2fr 2fr; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.brand-footer .brand-name { color: #fff; }
.footer-tagline { margin-top: 12px; line-height: 1.75; }
.footer-hours { margin-top: 20px; font-size: 14.5px; line-height: 1.8; }
.footer-hours strong { color: #d6dae0; }
.footer-links { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.footer-col h3 { margin-bottom: 14px; font-size: 15px; color: #fff; }
.footer-col a { display: block; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-legal { padding-top: 28px; font-size: 13.5px; line-height: 1.8; color: #6f7681; }
.biz-info + .biz-info { margin-top: 2px; }
.disclaimer { margin-top: 14px; }
.copyright { margin-top: 12px; }

/* ── 플로팅 CTA (모바일) ─────────────────────────────────── */
.floating-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  display: none; align-items: center; justify-content: center; height: 56px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 16.5px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(236,27,35,.4);
  opacity: 0; transform: translateY(90px); transition: opacity .25s, transform .25s var(--ease);
}
.floating-cta.is-visible { opacity: 1; transform: translateY(0); }

/* ── 등장 애니메이션 ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── 반응형 ──────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  :root { --header: 60px; }
  .site-nav {
    position: fixed; z-index: 85; top: 0; right: 0; bottom: 0; width: min(300px, 82vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: calc(var(--header) + 20px) 18px 24px;
    background: #fff; box-shadow: -8px 0 40px rgba(16,19,23,.16);
    transform: translateX(100%); transition: transform .28s var(--ease);
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn, .hd-cta { display: none; }
  .header-actions { margin-left: auto; }

  .section { padding: 62px 0; }
  .hero { padding: 54px 0 66px; }
  .trustbar-list { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .form-row { grid-template-columns: 1fr; }
  .summary { position: static; }
  .panel { padding: 24px 20px; }
  .floating-cta { display: flex; }
  body { padding-bottom: 80px; }
  .dl-row { flex-direction: column; gap: 4px; }
  .dl-row dt { width: auto; font-size: 14px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 50px 0; }
  .hero-actions .btn { width: 100%; }
  .compare-item .amount { font-size: 28px; }
  .plan-price .num { font-size: 30px; }
  .faq-q { font-size: 16.5px; padding: 20px 2px; }
  .faq-a-inner { padding-left: 30px; font-size: 15.5px; }
  .bank-line { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .floating-cta, .nav-toggle, .btn { display: none !important; }
  body { padding: 0; font-size: 12pt; }
}
