@charset "utf-8";
/* ============================================================
   liveserver 디자인 시스템
   레퍼런스: ncloud.com 제품 페이지에서 **실측**한 값을 그대로 옮겼다.
     텍스트 #222222 · 뮤트 #707070 · 면 #F6F7F8
     포인트 틸 #0F766E · 다크 밴드 #222222
     카드 : #F6F7F8 채움, 테두리 없음, radius 20px
     버튼 : 알약형 radius 100px, 높이 44px
     탭   : #F6F7F8 세그먼트 바(radius 12px) + 활성 #222 알약
   ============================================================ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css');

:root {
  /* 대비 기준: 작은 글자는 흰 배경·회색 면 양쪽에서 4.5:1 을 넘겨야 한다.
     --muted-2 는 2.5 였고, --ok 위의 흰 글자는 2.27 이었다. 읽히지 않던 값이다. */
  --brand:        #0f766e;
  --brand-hover:  #0c625b;
  --brand-dark:   #0b5551;
  --brand-soft:   #d9f0ed;
  --brand-softer: #f0faf9;

  --ink:      #222222;
  --ink-2:    #444548;
  --muted:    #5c5c5c;
  --muted-2:  #6f6f6f;

  --line:     #dadada;
  --line-2:   #e7e8ea;
  --line-3:   #f0f1f2;

  --surface:  #ffffff;
  --tint:     #f6f7f8;
  --tint-2:   #eef0f2;

  /* 다크 밴드. 레퍼런스는 #222 위에 어두운 남색 기하 이미지를 얹는다.
     이미지 대신 같은 인상의 대각 그라디언트로 재현한다 (.band-dark 참고). */
  --dark:      #222222;
  --dark-navy: #21423f;

  --ok:       #0c7a35;
  --warn:     #ff8409;
  --danger:   #d92d20;

  --r-sm:     6px;
  --r:        8px;
  --r-md:     12px;
  --r-lg:     20px;
  --r-pill:   100px;

  --shadow:    0 2px 12px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .10);

  --wrap:     1200px;
  --wrap-wide: 1360px;
  --header-h: 68px;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
          'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

/* 다크 밴드 배경. 히어로와 CTA가 같은 인상을 공유한다. */
.band-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 420px at 88% -10%, rgba(42, 110, 104, .55) 0%, rgba(34, 34, 34, 0) 62%),
    linear-gradient(104deg, #1d1f24 0%, #222222 46%, #1e3532 72%, #21423f 100%);
  color: #fff;
}
.band-dark > .wrap { position: relative; z-index: 1; }

/* ── 다크 밴드의 신호 흐름 ──────────────────────────────── */
/*
 * 글이 놓이는 왼쪽은 흐리게 깔고 오른쪽으로 갈수록 살린다.
 * 빛줄기가 제목을 가로지르면 읽는 데 걸리는데, 이 마스크 하나로 해결된다.
 */
.bandflow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.28) 26%, #000 58%);
          mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.28) 26%, #000 58%);
}

.bandflow svg { width: 100%; height: 100%; display: block; }

/* 고정된 길. 보일 듯 말 듯해야 빛이 지나갈 때 살아난다. */
.bandflow__rails use { fill: none; stroke: rgba(255, 255, 255, .085); stroke-width: 1; }

/* 합류점. 빛이 모이는 곳이라 아주 느린 맥박만 준다. */
.bandflow__hub {
  transform-origin: 720px 210px;
  animation: bandHub 5s ease-in-out infinite;
}
@keyframes bandHub {
  0%, 100% { transform: scale(.72); opacity: .4; }
  50%      { transform: scale(1.25); opacity: .85; }
}

/* 움직임을 줄여 달라고 설정한 사람에게는 길만 남긴다. */
@media (prefers-reduced-motion: reduce) {
  .bandflow__dots, .bandflow__hub { display: none; }
}

/* ── 리셋 ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.34; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; vertical-align: middle; }
button { font: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ── 레이아웃 ───────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
/* 이용권 카드는 5장이라 기본 폭(1200)에서는 글자가 자꾸 접힌다. 이 섹션만 넓게 쓴다. */
.wrap--wide { max-width: var(--wrap-wide); }
.section { padding: 80px 0; }
.section.tint { background: var(--tint); }
.section--tight { padding: 52px 0; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ── 타이포 ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px;
}
.h-display { font-size: 44px; line-height: 1.24; letter-spacing: -.03em; }
.h-section { font-size: 38px; letter-spacing: -.03em; }
.h-card    { font-size: 20px; }
.lead { font-size: 17px; color: var(--muted); line-height: 1.72; }
.sub  { font-size: 15px; color: var(--muted); }
.tiny { font-size: 13px; color: var(--muted-2); }
.brand-text { color: var(--brand); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 14px; }

/* ── 버튼 (알약형) ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #3a3a3a; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }
/* 다크 밴드 위에서 쓰는 두 종류 */
.btn--onDark { background: #fff; color: var(--ink); }
.btn--onDark:hover { background: #eceef0; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { height: 34px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.link-more:hover { text-decoration: underline; }

/* ── 배지 / 태그 / 상태 ─────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: var(--r-sm); font-size: 12px; font-weight: 700; letter-spacing: -.01em;
}
.badge--hot  { background: var(--danger); color: #fff; }
.badge--free { background: var(--ok); color: #fff; }
.badge--soft { background: var(--brand-soft); color: var(--brand-dark); }
.badge--gray { background: var(--tint-2); color: var(--muted); }
.tag { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: var(--r-pill);
       background: var(--tint); font-size: 13px; color: var(--muted); }

.state { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state--on   { color: var(--ok); }
.state--off  { color: var(--muted-2); }
.state--warn { color: var(--warn); }
.state--err  { color: var(--danger); }

/* ── 상단 유틸바 (밝은 톤) ──────────────────────────────── */
.utilbar { background: #fff; border-bottom: 1px solid var(--line-3); font-size: 13px; color: var(--muted); }
.utilbar .wrap { display: flex; align-items: center; height: 34px; gap: 18px; }
.utilbar a:hover { color: var(--ink); }
.utilbar .util-left { display: flex; gap: 16px; }
.utilbar .util-right { display: flex; gap: 16px; margin-left: auto; }

/* ── 헤더 ───────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line-3); }
.header .wrap { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
/* 로고는 워드마크 SVG 한 장. 뚫린 'LIVE' 는 마스크로 판 구멍이라
   배경이 무엇이든 비쳐 보이고, 색은 currentColor 로 따라온다. */
.logo { display: inline-flex; align-items: center; color: var(--brand); }
.logo svg { display: block; height: 21px; width: auto; }
.gnb { display: flex; gap: 2px; }
.gnb a {
  display: flex; align-items: center; height: var(--header-h); padding: 0 15px;
  font-size: 16px; font-weight: 600; color: var(--ink); position: relative;
}
.gnb a:hover { color: var(--brand); }
.gnb a[aria-current='page'] { color: var(--brand); }
.gnb a[aria-current='page']::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 3px; background: var(--brand);
}
.header-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }

/* ── 섹션 탭 (세그먼트 바) ──────────────────────────────── */
.subnav { position: sticky; top: var(--header-h); z-index: 80; background: #fff; padding: 14px 0; }
.subnav .tabs {
  display: flex; width: 100%; background: var(--tint); border-radius: var(--r-md); overflow: hidden;
}
.subnav .tabs a {
  flex: 1; display: flex; align-items: center; justify-content: center; height: 44px;
  font-size: 15px; font-weight: 600; color: var(--ink); border-radius: var(--r-md); white-space: nowrap;
  transition: background .15s, color .15s;
}
.subnav .tabs a:hover { background: var(--tint-2); }
.subnav .tabs a.is-active { background: var(--ink); color: #fff; }

/* ── 히어로 (다크 밴드) ─────────────────────────────────── */
.hero { padding: 58px 0 66px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 640px; gap: 36px; align-items: center; }
.hero--plain .wrap { grid-template-columns: 1fr; }
/* 밝은 배경이 기본, 다크 밴드 위에서는 .band-dark 가 색을 뒤집는다 */
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb li::after { content: '›'; margin-left: 8px; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb li:last-child { color: var(--ink); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.band-dark .breadcrumb { color: rgba(255, 255, 255, .6); }
.band-dark .breadcrumb li:last-child { color: #fff; }
.hero h1 { font-size: 46px; letter-spacing: -.035em; }
.hero .lead { margin-top: 18px; font-size: 17px; }
/*
 * 다크 밴드 위의 글자.
 *
 * `.hero` 와 `.band-dark` 는 **같은 요소**에 붙는다(`<section class="hero band-dark">`).
 * 그래서 `.band-dark .hero .lead` 같은 후손 선택자는 영영 맞지 않는다. 제목은 상속으로
 * 흰색이 되지만 `.lead` `.sub` `.tiny` 는 자기 색을 갖고 있어 어두운 채로 남는다.
 */
.band-dark h1, .band-dark h2 { color: #fff; }
.band-dark .lead { color: rgba(255, 255, 255, .86); }
.band-dark .lead b, .band-dark .lead strong { color: #fff; }
.band-dark .sub  { color: rgba(255, 255, 255, .78); }
.band-dark .tiny { color: rgba(255, 255, 255, .68); }
.hero-cta { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 34px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-facts dt { font-size: 13px; color: rgba(255, 255, 255, .58); }
.hero-facts dd { margin: 5px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
/* 히어로 안의 개념도. 배경 위에 그대로 얹는다 (카드로 감싸지 않는다) */
.hero-visual { padding: 0; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }

/* ── 카드 (회색 채움, 테두리 없음) ──────────────────────── */
.card {
  background: var(--tint); border: 1px solid transparent; border-radius: var(--r-lg);
  padding: 30px; transition: background .15s, border-color .15s, box-shadow .15s;
}
.card--hover:hover { background: #fff; border-color: var(--line-2); box-shadow: var(--shadow); }
/* 회색 섹션 안에서는 카드가 흰색이 된다 (대비 유지) */
.section.tint .card { background: #fff; }
.section.tint .card--hover:hover { border-color: var(--line); box-shadow: var(--shadow); }
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.72; }
.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); }
.card__list li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }

/* 번호가 붙는 단계 카드 */
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }
.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps-flow .step { padding: 28px 26px; background: var(--tint); border-radius: var(--r-lg); }
.section.tint .steps-flow .step { background: #fff; }
.steps-flow .step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 12px; font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em;
}

/* ── 표 ─────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line-2); background: #fff; }
table.spec { font-size: 15px; }
table.spec th, table.spec td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-3); }
table.spec thead th { background: var(--tint); font-weight: 700; color: var(--ink); font-size: 14px; white-space: nowrap; border-bottom: 1px solid var(--line-2); }
table.spec tbody tr:last-child td, table.spec tbody tr:last-child th { border-bottom: 0; }
table.spec tbody tr:hover { background: #fcfcfd; }
table.spec .num { text-align: right; font-variant-numeric: tabular-nums; }
table.spec th[scope='row'] { background: #fbfbfc; font-weight: 600; width: 210px; }
/* 가장 많이 고르는 이용권. 배지를 얹으면 표에서 혼자 튀고 숫자 정렬도 밀린다. */
table.spec thead th.is-pick { color: var(--brand); }

/* ── 요금제 ─────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plans--5 { grid-template-columns: repeat(5, 1fr); }
.plan {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 30px 26px; position: relative;
}
.plan--featured { border: 2px solid var(--brand); }
.plan--featured::before {
  content: '가장 많이 선택'; position: absolute; top: -13px; left: 26px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill);
}
.plan__name { font-size: 19px; font-weight: 700; }
.plan__tagline { margin-top: 6px; font-size: 13px; color: var(--muted); min-height: 38px; }
.plan__price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.plan__price b { font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__note { font-size: 12px; color: var(--muted-2); min-height: 18px; }
.plan__features { margin: 22px 0 26px; display: grid; gap: 10px; }
.plan__features li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.plan__features li::before {
  content: ''; position: absolute; left: 1px; top: 5px; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

/* ── FAQ 아코디언 ───────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; gap: 12px; padding: 24px 46px 24px 0;
  font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; font-weight: 800; color: var(--brand); font-size: 17px; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq__body { padding: 0 40px 26px 30px; font-size: 15px; color: var(--muted); line-height: 1.78; }
.faq .faq__body p + p { margin-top: 12px; }

/* ── CTA 밴드 ───────────────────────────────────────────── */
.cta-band { padding: 72px 0; }
.cta-band .wrap { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 32px; letter-spacing: -.03em; color: #fff; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .75); font-size: 16px; }
.cta-band .row { margin-left: auto; }

/* ── 푸터 ───────────────────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); font-size: 14px; padding: 54px 0 40px; }
.footer a:hover { color: #fff; }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer ul { display: grid; gap: 9px; }
.footer .logo { color: #fff; }
.footer .logo svg { height: 24px; }
.footer__biz { margin-top: 24px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .45); }
.footer__biz b { color: rgba(255, 255, 255, .72); font-weight: 600; }
.footer__bottom { display: flex; gap: 18px; margin-top: 20px; font-size: 13px; flex-wrap: wrap; }

/* ── 폼 ─────────────────────────────────────────────────── */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field > label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r);
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(17, 124, 233, .14); outline: none; }
.input::placeholder { color: #bdbdbd; }
.field .help { font-size: 13px; color: var(--muted-2); }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); }
.radio-cards { display: grid; gap: 10px; }
.radio-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-2);
  border-radius: var(--r-md); cursor: pointer; background: #fff; transition: border-color .15s, background .15s;
}
.radio-card:hover { border-color: var(--brand); }
.radio-card input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); }
/* 라벨 본문은 두 줄. 제목과 설명이 한 줄에 붙지 않게 한다 */
.radio-card > span { display: grid; gap: 3px; min-width: 0; }
.radio-card .rc-main { font-weight: 600; }
.radio-card .rc-sub { font-size: 13px; color: var(--muted); line-height: 1.45; }
.radio-card .rc-price { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ── 알림 박스 ──────────────────────────────────────────── */
/*
 * 안내문. **면은 언제나 같은 회색**이고, 종류는 글자 색으로만 구분한다.
 * 파스텔 면을 네 가지 깔면 회색·흰색 위주인 화면에서 이것들만 색 덩어리로 튄다.
 *
 * 다만 오류·완료는 글자에도 색을 준다. `<b>` 없이 한 줄만 들어오는 경우가 많아
 * 굵은 글자에만 색을 주면 오류가 일반 안내와 구분되지 않는다.
 */
.note {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r); font-size: 14px; line-height: 1.7;
  background: var(--tint); color: var(--ink-2);
}
.note--warn { color: #92550a; }
.note--err  { color: #b8281a; }
.note--ok   { color: #0c7a35; }

.note b { font-weight: 700; color: var(--ink); }
.note--info b { color: var(--brand-dark); }
.note--warn b { color: #7d4808; }
.note--err  b { color: #9c2015; }
.note--ok   b { color: #0a6a2d; }
/*
 * 안내문 안의 링크는 글자색을 따라간다. 면이 회색 하나라 파란 링크만 튀기 때문이다.
 * **버튼은 제외한다** — 버튼은 자기 배경과 글자색을 이미 갖고 있어서, 여기에 걸리면
 * 파란 버튼 위에 어두운 글자가 얹혀 읽히지 않는다.
 */
.note a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* 안내문 앞 아이콘. 글자색을 따라가므로 종류가 바뀌면 아이콘 색도 같이 바뀐다. */
.note__i { width: 18px; height: 18px; flex: none; margin-top: 3px; opacity: .85; }

/* ── 복사 가능한 자격증명 ───────────────────────────────── */
.copybox { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.copybox code {
  flex: 1; min-width: 0; padding: 13px 15px; font-size: 13px; line-height: 1.5; color: var(--ink);
  overflow-x: auto; white-space: nowrap; background: #fff;
}
.copybox button { border: 0; border-left: 1px solid var(--line-2); background: var(--tint); padding: 0 18px; font-size: 14px; font-weight: 600; color: var(--brand); }
.copybox button:hover { background: var(--brand-soft); }

/* ── 진행 게이지 ────────────────────────────────────────── */
.meter { height: 8px; border-radius: 4px; background: var(--tint-2); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--brand); border-radius: 4px; transition: width .4s; }
.meter--warn > span { background: var(--warn); }
.meter--err  > span { background: var(--danger); }

/* ── 통계 타일 ──────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--tint); border-radius: var(--r-lg); padding: 22px 24px; }
.tile dt { font-size: 13px; color: var(--muted); }
.tile dd { margin: 8px 0 0; font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* ── 연결 상태 스트립 (관리자) ──────────────────────────── */
/* "지금 진짜 x-ui 에 붙어 있는가" 를 숫자보다 먼저 보여준다. */
.conn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.conn__item {
  display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--tint); border: 1px solid var(--line-2); border-left: 4px solid var(--line);
}
.conn__k { font-size: 12px; color: var(--muted); }
.conn__v { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.conn__sub { font-size: 12px; color: var(--muted-2); word-break: break-all; }
.conn__item--ok   { border-left-color: var(--ok);     background: #f4fbf6; }
.conn__item--warn { border-left-color: var(--warn);   background: #fffaf3; }
.conn__item--err  { border-left-color: var(--danger); background: #fef6f5; }
.conn__item--err .conn__v { color: var(--danger); }

/* ── 사이드바 레이아웃 (설정 / 관리자) ──────────────────── */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.app__side { border-right: 1px solid var(--line-3); padding: 24px 0; }
.app__side h5 { padding: 0 22px 10px; font-size: 12px; font-weight: 700; color: var(--muted-2); letter-spacing: .04em; }
.app__side a {
  display: flex; align-items: center; margin: 0 10px; padding: 10px 12px; font-size: 15px; color: var(--ink-2);
  border-radius: var(--r);
}
.app__side a:hover { background: var(--tint); }
.app__side a.is-active { color: #fff; font-weight: 600; background: var(--ink); }
.app__main { padding: 32px 36px 80px; min-width: 0; }
.app__head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.app__head h1 { font-size: 28px; }
.app__head .sub { margin-top: 6px; }
.app__head .row { margin-left: auto; }
.panel { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); margin-bottom: 20px; overflow: hidden; }
.panel__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-3); }
.panel__head h2 { font-size: 17px; }
.panel__head .row { margin-left: auto; }
.panel__body { padding: 22px; }
.panel__body > * + * { margin-top: 18px; }
.panel .table-wrap { border: 0; border-radius: 0; }
.dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); row-gap: 14px; column-gap: 16px; font-size: 15px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; min-width: 0; }

/* ── 블로그 ─────────────────────────────────────────────── */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.post-item:hover h3 { color: var(--brand); }
.post-item .meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted-2); margin-bottom: 10px; }
.post-item h3 { font-size: 23px; letter-spacing: -.03em; }
.post-item p { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 720px; }
.post-item .arrow { color: var(--line); font-size: 22px; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 60px; padding: 52px 0 80px; }
.article__toc { position: sticky; top: 108px; align-self: start; font-size: 14px; background: var(--tint); border-radius: var(--r-md); padding: 20px 18px; }
.article__toc h4 { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 10px; }
.article__toc a { display: block; padding: 5px 0; color: var(--muted); }
.article__toc a:hover { color: var(--brand); }
.article__toc .lv3 { padding-left: 12px; font-size: 13px; }

.prose { font-size: 17px; line-height: 1.85; color: #2f3033; min-width: 0; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: 27px; margin-top: 52px; letter-spacing: -.03em; color: var(--ink); }
.prose h3 { font-size: 20px; margin-top: 36px; color: var(--ink); }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 2px; }
.prose ul li { position: relative; padding-left: 17px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 28px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose code { background: var(--tint); border-radius: 4px; padding: 2px 6px; font-size: .88em; }
.prose pre.code {
  background: var(--ink); color: #e9eaec; padding: 22px 24px; border-radius: var(--r-md);
  overflow-x: auto; font-size: 14px; line-height: 1.7;
}
.prose pre.code code { background: none; padding: 0; color: inherit; font-size: inherit; }
/* 인용문도 같은 결. 본문 사이에서 면 하나로만 구분된다. */
.prose blockquote {
  margin: 0; padding: 20px 24px; background: var(--tint); border-radius: var(--r-md);
  font-size: 16px; color: var(--ink-2);
}
.prose blockquote b, .prose blockquote strong { color: var(--ink); }

/*
 * 본문 그림. 폭을 넘기지 않고 모바일에서도 그대로 줄어든다.
 * 여백은 `.prose > * + *`(22px) 보다 구체적으로 잡아야 덮이지 않는다.
 */
.prose .fig { margin: 34px 0 10px; }
.fig img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.prose table { font-size: 15px; }
.prose th, .prose td { padding: 13px 16px; border-bottom: 1px solid var(--line-3); text-align: left; }
.prose thead th { background: var(--tint); font-size: 14px; white-space: nowrap; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 44px 0; }
.prose .table-wrap { border: 1px solid var(--line-2); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 54px; }
.post-nav a { background: var(--tint); border-radius: var(--r-lg); padding: 22px 24px; }
.post-nav a:hover { background: var(--tint-2); }
.post-nav .dir { font-size: 12px; color: var(--muted-2); font-weight: 700; }
.post-nav strong { display: block; margin-top: 8px; font-size: 16px; }
.post-nav .next { text-align: right; }

/* ── 인증 화면 ──────────────────────────────────────────── */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; background: var(--tint); padding: 56px 20px; }
.auth__box { width: 100%; max-width: 420px; background: #fff; border-radius: var(--r-lg); padding: 38px 34px; }
.auth__box h1 { font-size: 24px; text-align: center; }
.auth__box .sub { text-align: center; margin: 10px 0 26px; }
.auth__alt { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.auth__alt a { color: var(--brand); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: 13px; color: var(--muted-2); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }

/* ── 반응형 ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  /* 좁은 화면에서는 개념도를 제목 바로 아래에 둔다.
     본문 묶음을 display:contents 로 풀어 자식들을 직접 순서 지정한다. */
  .hero .wrap { grid-template-columns: 1fr; gap: 18px; }
  .hero__copy { display: contents; }
  .hero .breadcrumb { order: 1; margin-bottom: 0; }
  .hero h1        { order: 2; }
  .hero-visual    { order: 3; }
  .hero .lead     { order: 4; margin-top: 0; }
  .hero-cta       { order: 5; margin-top: 2px; }
  .hero-facts     { order: 6; margin-top: 4px; }
  .grid--4, .plans, .plans--5, .tiles, .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; gap: 0; }
  .article__toc { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr; }
  .app__side { border-right: 0; border-bottom: 1px solid var(--line-3); display: flex; overflow-x: auto; padding: 10px; gap: 4px; }
  .app__side h5 { display: none; }
  .app__side a { white-space: nowrap; margin: 0; }
  .app__main { padding: 24px 20px 60px; }
  .subnav .tabs { overflow-x: auto; }
  .subnav .tabs a { flex: none; padding: 0 18px; }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .h-display, .hero h1 { font-size: 31px; }
  .h-section { font-size: 25px; }
  .lead, .hero .lead { font-size: 16px; }
  .gnb, .utilbar .util-left { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .header .wrap { gap: 12px; }
  .header-cta .btn--line { display: none; }
  .grid--2, .grid--3, .grid--4, .plans, .plans--5, .tiles, .steps-flow { grid-template-columns: 1fr; }
  .hero-facts { flex-wrap: wrap; gap: 18px 30px; }
  .cta-band .row { margin-left: 0; }
  .post-item { grid-template-columns: 1fr; }
  .post-item .arrow { display: none; }
  .post-nav { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; row-gap: 4px; }
  .dl dd { margin-bottom: 10px; }
  .prose { font-size: 16px; }
  .footer__cols { grid-template-columns: 1fr; }
  .gnb--open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow); }
  .gnb--open a { height: 50px; padding: 0 20px; }
  .gnb--open a[aria-current='page']::after { display: none; }
}
@media print { .header, .subnav, .utilbar, .footer, .cta-band, .article__toc { display: none; } }
