@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  /* ficio.kr 과 같은 토큰: 흰 바탕 · 먹색 글자 · 포인트 한 색 · 가는 선 */
  --page: #f5f6f7;
  --surface: #ffffff;
  --surface-2: #f5f6f7;
  --line: #e4e7eb;
  --line-strong: #cdd2d8;
  --text: #16181c;
  --text-2: #40464f;
  --muted: #646b75;
  --brand: #1f55d6;
  --brand-strong: #1846b4;
  --brand-soft: #edf2fc;
  --fg: var(--text);
  --bg: var(--surface-2);
  --ok: #12b886;
  --ok-soft: #e6f8f1;
  --warn: #f08c00;
  --warn-soft: #fff4e2;
  --err: #f03e3e;
  --err-soft: #ffecec;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(22, 24, 28, 0.06);
  --shadow-sm: 0 1px 2px rgba(22, 24, 28, 0.05);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--page);
  color: var(--text);
  min-height: 100vh;
  overflow-x: clip;   /* 풀블리드(100vw) 가로 넘침 차단 — sticky nav는 유지(clip은 스크롤박스 미생성) */
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--brand-soft); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

/* ── 내비게이션 ── */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
  padding: 10px max(20px, calc((100% - 70rem) / 2 + 32px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--line);
}
.nav-inner, .wrap, .hero, .center-wrap { margin: 0 auto; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.brand span { color: var(--text); }
.nav .links { display: flex; align-items: center; gap: 4px; }
.nav .links a { color: var(--text-2); font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 6px; }
.nav .links a:hover { color: var(--text); background: transparent; }
/* 브랜드 로고가 .links 내부에 있을 때 nav-link 패딩·호버 무력화 */
.nav .links .brand { margin-right: 4px; }
.nav .links .brand a { padding: 0; font-weight: inherit; }
.nav .links .brand a:hover { background: transparent; color: inherit; }
/* 상단바의 대시보드 버튼(.btn): 위 `.nav .links a`(우선순위 0,2,1)가 .btn 흰 글씨를 덮어
   회색으로 보이던 것 보정 — 평상시·호버 모두 흰 글씨 + 파란 배경 유지 */
.nav .links a.btn { color: #fff; height: 36px; padding: 0 14px; margin-left: 6px; font-size: 14px; font-weight: 600; }
.nav .links a.btn:hover { color: #fff; background: var(--brand-strong); }

.wrap { max-width: 1040px; padding: 28px 24px 96px; }
.center-wrap { max-width: 420px; margin: 8vh auto; padding: 0 20px; }

/* ── 히어로 ── */
.hero {
  max-width: 1040px; padding: 72px 24px 36px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-soft); color: var(--brand-strong);
  font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 42px; line-height: 1.22; margin: 0 0 16px; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 .grad { color: var(--brand); }
.hero p.lead { color: var(--text-2); font-size: 17px; margin: 0 0 28px; max-width: 500px; }
.hero .row { gap: 10px; }

/* 히어로 비주얼 (문서 + 동시편집 느낌) */
.hero-visual { position: relative; height: 320px; }
.doc-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 18px;
}
.doc-card.back { inset: 24px 0 auto 40px; height: 250px; right: 8px; opacity: 0.6; transform: rotate(3deg); }
.doc-card.front { inset: 0 36px auto 0; height: 250px; }
.doc-line { height: 10px; border-radius: 6px; background: var(--surface-2); margin: 12px 0; }
.doc-line.w70 { width: 70%; } .doc-line.w90 { width: 90%; } .doc-line.w50 { width: 50%; }
.doc-line.hl { background: var(--brand-soft); }
.doc-line.blur { filter: blur(3.5px); opacity: 0.85; }
.mine-box { background: var(--brand-soft); border: 1px solid #cfe2ff; border-radius: 9px; padding: 9px 10px; margin: 9px 0; position: relative; }
.lock-tag { position: absolute; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; display: inline-flex; align-items: center; gap: 4px; }
.doc-title { height: 14px; width: 45%; border-radius: 6px; background: #cdd6e2; margin-bottom: 16px; }
.editors { position: absolute; right: 14px; bottom: 14px; display: flex; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700;
}
.cursor-tag {
  position: absolute; font-size: 11px; font-weight: 700; color: #fff; padding: 2px 7px;
  border-radius: 6px; border-top-left-radius: 0; box-shadow: var(--shadow-sm);
}

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; font-family: inherit; cursor: pointer; transition: 0.15s;
  background: var(--brand); color: #fff; box-shadow: none;
}
.btn:hover { background: var(--brand-strong); color: #fff; }
.btn.secondary { background: var(--surface); border-color: var(--line-strong); color: var(--text); box-shadow: none; }
.btn.secondary:hover { background: var(--surface); border-color: var(--muted); }
.btn.ghost { background: var(--surface-2); color: var(--text-2); box-shadow: none; }
.btn.ghost:hover { background: #e6eaf0; color: var(--text); }
.btn.danger { background: var(--surface); border-color: var(--line-strong); color: var(--err); box-shadow: none; }
.btn.danger:hover { background: var(--err-soft); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.block { width: 100%; }

/* ── 카드 ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 16px; }
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { color: var(--text-2); margin: 0; font-size: 14px; }

.plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 24px; }
.plan { position: relative; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.plan .tag-best {
  position: absolute; top: -11px; left: 24px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -0.03em; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; color: var(--text-2); font-size: 14px; }
.plan ul li { padding: 6px 0 6px 24px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* ── 폼 ── */
label { display: block; font-size: 13px; color: var(--text-2); margin: 16px 0 7px; font-weight: 600; }
input, select {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font-size: 15px; font-family: inherit; outline: none; transition: 0.15s;
}
input::placeholder { color: #b0b8c1; }
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sub-input { display: flex; align-items: stretch; }
.sub-input input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.sub-input .suffix {
  display: flex; align-items: center; padding: 0 14px; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-left: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; white-space: nowrap; font-weight: 600;
}
.hint { font-size: 13px; margin-top: 7px; min-height: 18px; }
.hint.ok { color: var(--ok); }
.hint.err { color: var(--err); }

h1.title { font-size: 24px; margin: 0 0 6px; letter-spacing: -0.03em; font-weight: 800; }
.sub { color: var(--text-2); margin: 0 0 20px; font-size: 15px; }
.section-head { margin: 56px 0 0; }
.section-head h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.03em; }

/* ── 테이블 ── */
.table-card { padding: 6px 6px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.active { background: var(--ok-soft); color: var(--ok); }
.badge.pending_payment { background: var(--warn-soft); color: var(--warn); }
.badge.provisioning { background: var(--brand-soft); color: var(--brand-strong); }
.badge.failed, .badge.suspended { background: var(--err-soft); color: var(--err); }

.alert { padding: 13px 15px; border-radius: var(--radius-sm); font-size: 14px; margin: 12px 0; line-height: 1.6; }
.alert.ok { background: var(--ok-soft); color: #0c7a55; border: 1px solid #bdebd8; }
.alert.err { background: var(--err-soft); color: #c92a2a; border: 1px solid #ffd3d3; }
.alert.info { background: var(--brand-soft); color: #1c5bb8; border: 1px solid #cfe2ff; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, "D2Coding", monospace; }

.modal-bg {
  position: fixed; inset: 0; background: rgba(26, 31, 39, 0.45); display: none;
  align-items: center; justify-content: center; padding: 20px; z-index: 50;
  backdrop-filter: blur(2px);
}
.modal-bg.show { display: flex; }
.modal { width: 100%; max-width: 460px; }
.code-box {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; font-family: ui-monospace, monospace; word-break: break-all; font-size: 14px;
}
/* ── 요금제 월간/연간 토글 ── */
.cycle-toggle-wrap { display: flex; justify-content: flex-end; margin-top: 18px; }
.cycle-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.cycle-toggle button { border: none; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 700; padding: 8px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: 0.15s; }
.cycle-toggle button:hover { color: var(--text); }
.cycle-toggle button.active { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.cycle-toggle button .save { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.22); color: inherit; padding: 2px 7px; border-radius: 999px; }
.cycle-toggle button:not(.active) .save { background: var(--brand-soft); color: var(--brand-strong); }

/* 요금제 카드 가격 보조 줄 */
.plan .price-sub { font-size: 12px; color: var(--muted); line-height: 1.55; margin: 2px 0 2px; min-height: 32px; }
.plan .price-sub s { opacity: .7; }
.plan .price-sub .save-pill { display: inline-block; font-size: 11px; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); padding: 1px 7px; border-radius: 999px; }

/* ── 결제 방식 카드 ── */
.billing-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1120px; margin: 28px auto 0; padding: 0 20px; align-items: stretch; }
@media (max-width: 820px) { .billing-options { grid-template-columns: 1fr; } }
.bopt { display: flex; flex-direction: column; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; }
.bopt-ico { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.bopt h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bopt-tag { font-size: 11px; font-weight: 600; color: var(--brand-strong); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; }
.bopt p { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.bopt-cta { margin-top: 16px; align-self: flex-start; }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 56px 32px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
@media (max-width: 1040px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; } .footer-col:last-child { display: none; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-col:last-child { display: block; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* 로고 */
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { display: none !important; width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo-name { font-size: 16px; font-weight: 800; color: var(--fg); letter-spacing: -0.3px; line-height: 1.2; }
.footer-logo-sub { font-size: 12px; color: var(--muted); }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.footer-hr { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.footer-meta { font-size: 12px; color: var(--muted); line-height: 2; }
.footer-meta a { color: var(--muted); text-decoration: underline; }
.footer-meta a:hover { color: var(--fg); }

/* 컬럼 공통 */
.footer-col-title { font-size: 12px; font-weight: 700; color: var(--fg); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--fg); }

/* 패밀리 사이트 카드 */
.footer-family { display: flex; flex-direction: column; gap: 8px; }
.footer-family-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--fg); transition: background .15s, border-color .15s; }
.footer-family-item:hover { background: var(--surface-2); border-color: var(--brand); }
.footer-family-name { font-size: 13px; font-weight: 600; color: var(--fg); }
.footer-family-desc { font-size: 11px; color: var(--muted); margin-top: 2px; }
.footer-family-arrow { font-size: 14px; color: var(--muted); }

/* 하단 바 */
.footer-bar { border-top: 1px solid var(--line); background: var(--bg); }
.footer-bar-inner { max-width: 1120px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bar-left { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.footer-bar-right { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.footer-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

/* ════════════ 기능 쇼케이스 (교차 레이아웃) ════════════ */
.showcase-head { text-align: center; max-width: 640px; margin: 64px auto 0; }
.showcase-head .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-soft); color: var(--brand-strong);
  font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.showcase-head h2 { font-size: 30px; letter-spacing: -0.035em; margin: 0 0 10px; font-weight: 800; }
.showcase-head p { color: var(--text-2); font-size: 16px; margin: 0; }

.feature-row {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; padding: 44px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.reverse .fr-text { order: 2; }
.fr-text .step {
  display: inline-flex; align-items: center; gap: 7px; color: var(--brand-strong);
  font-weight: 800; font-size: 13px; letter-spacing: 0.02em; margin-bottom: 12px;
}
.fr-text .step .n {
  width: 22px; height: 22px; border-radius: 7px; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.fr-text h3 { font-size: 23px; letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 800; line-height: 1.3; }
.fr-text p { color: var(--text-2); font-size: 15.5px; margin: 0 0 16px; }
.fr-text ul { list-style: none; padding: 0; margin: 0; }
.fr-text ul li { padding: 6px 0 6px 26px; position: relative; color: var(--text); font-size: 15px; }
.fr-text ul li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--ok); font-weight: 800; }

.fr-visual {
  background: linear-gradient(160deg, #eaf2ff 0%, #f7fbff 60%, #fff 100%);
  border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  min-height: 290px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.fr-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.35;
}

/* 문서 목업 (기능1: 내 영역만 또렷) */
.mock { position: relative; z-index: 1; width: 100%; max-width: 340px; }
.mock-doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 18px; }
.mock-doc .doc-title { height: 13px; width: 42%; border-radius: 6px; background: #cdd6e2; margin-bottom: 15px; }

/* 표 목업 (기능2,3) */
.mock-table { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); font-size: 12.5px; position: relative; z-index: 1; width: 100%; max-width: 360px; }
.mt-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.mt-row:last-child { border-bottom: 0; }
.mt-cell { padding: 10px 12px; border-right: 1px solid var(--line); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-cell:last-child { border-right: 0; }
.mt-head .mt-cell { background: var(--surface-2); font-weight: 700; color: var(--text); }
.mt-cell.editing { background: #fff7e6; box-shadow: inset 0 0 0 2px var(--warn); color: var(--text); font-weight: 600; position: relative; }
.mt-cell.mine { background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-strong); font-weight: 700; }
.mt-cell.blur { color: transparent; }
.mt-cell.blur::after { content: ""; position: absolute; }
.mt-cell.blurline { position: relative; }
.mt-cell.blurline span { display: inline-block; height: 8px; width: 70%; border-radius: 4px; background: var(--surface-2); filter: blur(2.5px); }

/* 실시간 커서/포인터 깃발 */
.flag { position: absolute; z-index: 3; font-size: 11px; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 7px; border-top-left-radius: 0; box-shadow: var(--shadow-sm); white-space: nowrap; }
.flag::before { content: ""; position: absolute; top: -1px; left: -1px; width: 0; height: 0; }
.lock-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--warn-soft); color: #b25e00; }

/* 표 도구 버튼 (기능3) */
.mock-tools { display: flex; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.mock-tools .tool { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 11px; font-size: 12.5px; font-weight: 700; color: var(--text-2); box-shadow: var(--shadow-sm); }
.mock-tools .tool.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.ghost-table { position: absolute; right: -14px; bottom: -14px; width: 130px; height: 70px; background: #fff; border: 1px dashed var(--brand); border-radius: 9px; opacity: 0.55; z-index: 0; box-shadow: var(--shadow-sm); }

/* ════════════ 보안 섹션 ════════════ */
.sec-wrap {
  /* 화면 전체 폭(풀블리드) 다크 밴드 */
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-top: 80px; padding: 64px clamp(20px, 4vw, 56px); box-sizing: border-box;
  background: linear-gradient(155deg, #101a33 0%, #16264a 100%);
  color: #e6ecf6; position: relative; overflow: hidden;
}
.sec-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 300px at 80% -10%, rgba(49,130,246,0.35), transparent 70%);
}
.sec-inner { position: relative; max-width: 1140px; margin: 0 auto; }
.sec-head { position: relative; max-width: 600px; }
.sec-head .eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(143,192,255,0.18); color: #aed4ff; font-weight: 700; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.sec-head h2 { font-size: 33px; letter-spacing: -0.035em; margin: 0 0 14px; font-weight: 800; color: #fff; }
.sec-head p { color: #b7c4da; font-size: 17px; margin: 0; line-height: 1.6; }
.sec-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.sec-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 32px 28px; backdrop-filter: blur(6px); }
.sec-card .ico {
  width: 58px; height: 58px; border-radius: 16px; background: rgba(143,192,255,0.16);
  border: 1px solid rgba(143,192,255,0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.sec-card .ico svg { width: 28px; height: 28px; stroke: #cfe3ff; }
.sec-card h3 { margin: 0 0 10px; font-size: 20px; color: #fff; letter-spacing: -0.02em; font-weight: 800; }
.sec-card p { margin: 0; font-size: 15.5px; color: #c2cee2; line-height: 1.68; }
.sec-card .tag { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: #aed4ff; background: rgba(143,192,255,0.16); padding: 5px 12px; border-radius: 999px; }

@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .feature-row.reverse .fr-text { order: 0; }
  .sec-wrap { padding: 40px 22px; }
  .sec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 34px; }
}

/* ════════════ 큰 CTA 버튼 + 고스트 ════════════ */
.btn.lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn.ghost-cta {
  background: transparent; color: var(--text-2); box-shadow: none; border-color: transparent;
  font-weight: 700;
}
.btn.ghost-cta:hover { background: var(--surface-2); color: var(--text); }
.hero .row { gap: 14px; align-items: center; }
.hero .trust-line { margin-top: 18px; color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero .trust-line b { color: var(--text-2); }

/* ════════════ 기능2: 합쳐지는 인포그래픽 ════════════ */
.merge { position: relative; z-index: 1; width: 100%; max-width: 360px; display: grid; grid-template-columns: 1fr auto 1.1fr; align-items: center; gap: 0; }
.merge-sources { display: flex; flex-direction: column; gap: 10px; }
.src-chip {
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 9px 12px; font-size: 12.5px; font-weight: 700; color: var(--text-2);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px;
}
.src-chip .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.merge-arrows { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 4px; }
.merge-arrows svg { width: 40px; height: 90px; }
.merge-arrows .ln { stroke-dasharray: 5 5; animation: merge-flow 1.1s linear infinite; }
@keyframes merge-flow { to { stroke-dashoffset: -20; } }
.merge-out {
  background: #fff; border: 2px solid var(--brand); border-radius: 12px;
  box-shadow: 0 6px 18px rgba(49,130,246,0.18); padding: 14px; position: relative;
}
.merge-out .badge-merged {
  position: absolute; top: -11px; left: 12px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
}
.merge-out .ml { height: 9px; border-radius: 5px; margin: 8px 0; }

/* ════════════ 기능3: 엑셀 스프레드시트 UI ════════════ */
.xls { position: relative; z-index: 1; width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.xls-row { display: grid; grid-template-columns: 28px 1.3fr 1fr 1fr; }
.xls-cell { border-right: 1px solid #e5e9f0; border-bottom: 1px solid #e5e9f0; padding: 8px 10px; font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; }
.xls-cell:last-child { border-right: 0; }
.xls-corner, .xls-rownum { background: #eef2f7; color: var(--muted); font-weight: 700; text-align: center; font-size: 11.5px; }
.xls-colhead { background: #eef2f7; color: var(--text-2); font-weight: 700; text-align: center; font-size: 11.5px; }
.xls-cell.fill { background: #e6f8f1; color: #0c7a55; font-weight: 700; position: relative; }
.xls-cell.typing { box-shadow: inset 0 0 0 2px var(--ok); }
.xls-cell.typing::after { content: ""; display: inline-block; width: 1.5px; height: 13px; background: var(--ok); margin-left: 1px; vertical-align: -2px; animation: caret 0.9s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }
.xls-caption { position: absolute; z-index: 2; right: -10px; bottom: -12px; background: var(--ok); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* ════════════ 도입 효과 (스탯 밴드) ════════════ */
.stats-band {
  margin: 64px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
}
.stat-cell { padding: 28px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat-cell:last-child { border-right: 0; }
.stat-cell .num { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; color: var(--brand); line-height: 1; }
.stat-cell .num small { font-size: 20px; }
.stat-cell .lbl { margin-top: 9px; font-size: 13.5px; color: var(--text-2); font-weight: 600; }

/* ════════════ 고객 후기 ════════════ */
.tmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.tmt {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.tmt .stars { color: var(--warn); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.tmt .quote { font-size: 15px; color: var(--text); line-height: 1.65; margin: 0 0 18px; flex: 1; }
.tmt .who { display: flex; align-items: center; gap: 11px; }
.tmt .who .ava { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.tmt .who .meta { font-size: 13px; }
.tmt .who .meta b { display: block; color: var(--text); font-size: 14px; }
.tmt .who .meta span { color: var(--muted); }

/* ════════════ 요금제 서열 ════════════ */
/* 카드 영역을 화면 전체 폭으로 확장(풀블리드). 좁으면 가로 스크롤. */
.plans-bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 0 clamp(20px, 4vw, 56px); box-sizing: border-box; }
.plans-bleed .cycle-toggle-wrap { margin-top: 20px; }
.plans-bleed #plan-contact-box { margin-top: 16px; }

.plans-std {
  display: flex; align-items: stretch; gap: 16px;
  margin-top: 14px;
  padding: 16px 6px 16px;          /* 위: BEST 태그 여유 / 아래: 스크롤바 자리 */
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.plans-std .plan {
  flex: 1 0 clamp(248px, 17vw, 340px);  /* 절대 얇아지지 않음(shrink 0), 넓으면 늘어남 */
  padding: 24px 20px; scroll-snap-align: start;
}
.plans-std .plan h3 { font-size: 17px; }
.plans-std .plan .price { font-size: 27px; }
.plans-std .plan .price small { font-size: 12px; }
.plans-std .plan ul { font-size: 13.5px; }
/* 모바일: 카드 폭을 화면에 맞춰 한 장씩 스와이프 */
@media (max-width: 560px) { .plans-std .plan { flex-basis: 82vw; } }
.plan { display: flex; flex-direction: column; transition: 0.18s; }
.plan ul { flex: 1; }
.plan.featured {
  border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), 0 12px 30px rgba(49,130,246,0.22);
  transform: translateY(-10px); background: linear-gradient(180deg, #f5f9ff, #fff);
}
.plan.featured .tag-best {
  top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 16px; font-size: 12.5px;
  letter-spacing: 0.03em; box-shadow: 0 4px 12px rgba(49,130,246,0.35);
}
.plan .price { color: var(--text); }
.plan.featured .price { color: var(--brand-strong); }

/* 데이터센터(별도문의) 분리 배너 */
.plan-contact {
  margin-top: 22px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.plan-contact .pc-ico { width: 52px; height: 52px; border-radius: 14px; background: #e2e8f1; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.plan-contact .pc-body { flex: 1; min-width: 220px; }
.plan-contact .pc-body h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.02em; }
.plan-contact .pc-body p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ════════════ FAQ 아코디언 ════════════ */
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-size: 16px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { color: var(--muted); font-size: 20px; transition: transform 0.2s; flex-shrink: 0; }
.faq[open] summary .chev { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; line-height: 1.7; margin: 0; }

@media (max-width: 820px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .tmt-grid { grid-template-columns: 1fr; }
  .merge { max-width: 320px; }
  .plan.featured { transform: none; }
}


/* ── ficio.kr 디자인 맞춤 (2026-10-28) — 바닥글·카드·배지를 장식 없이 ── */
.footer, .footer-bar { background: var(--surface-2); }
.footer-logo-name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.footer-logo-sub { font-size: 13px; }
.footer-col-title { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; text-transform: none; }
.footer-nav a { font-size: 14px; color: var(--text-2); }
.footer-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-family { gap: 10px; }
.footer-family-item { padding: 0; border: 0; border-radius: 0; background: transparent; }
.footer-family-item:hover { background: transparent; border-color: transparent; }
.footer-family-item:hover .footer-family-name { text-decoration: underline; text-underline-offset: 3px; }
.footer-family-name { font-size: 14px; font-weight: 400; color: var(--text-2); }
.footer-family-desc, .footer-family-arrow { display: none; }
.footer-bar-right { display: none; }
.card { box-shadow: none; }
.plan.featured { box-shadow: 0 0 0 1px var(--brand); }
.badge { border-radius: 4px; font-weight: 600; }


/* ════════════════════════════════════════════════════════════════════════════
   사이트 공통 (2026-10-28) — ficio.kr 과 같은 디자인. 모든 페이지가 같은 상단바·바닥글·글자 위계를 쓴다.
   흰 바탕 · 먹색 글자 · 포인트 한 색 · 가는 선. 그라데이션·그림자 장식·이모지 없음.
   ════════════════════════════════════════════════════════════════════════════ */
body.site { background: #fff; color: var(--text); font-size: 16px; line-height: 1.7; }
body.site.app { background: var(--page); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border: 1px solid var(--line-strong); }

/* 상단바 */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(4px); border-bottom: 1px solid var(--line); }
.site-head-in { max-width: 70rem; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 24px; }
@media (min-width: 640px) { .site-head-in { padding: 0 32px; } }
.site-brand { display: inline-flex; align-items: baseline; gap: 8px; flex-shrink: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.site-brand:hover { color: var(--text); }
.site-brand small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.site-nav a, .site-auth a { position: relative; padding: 8px 10px; font-size: 15px; color: var(--text-2); white-space: nowrap; border-radius: 6px; }
.site-nav a:hover, .site-auth a:hover { color: var(--text); }
.site-nav a[aria-current="page"], .site-auth a[aria-current="page"] { color: var(--text); font-weight: 600; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -13px; height: 2px; background: var(--brand); }
.site-auth { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-auth .site-who { font-size: 14px; color: var(--muted); padding: 0 6px; white-space: nowrap; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; }
.site-auth a.site-cta { margin-left: 8px; height: 36px; padding: 0 14px; display: inline-flex; align-items: center; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; }
.site-auth a.site-cta:hover { background: var(--brand-strong); color: #fff; }
.site-menu-btn { display: none; margin-left: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--text); border-radius: 6px; cursor: pointer; }
.site-mnav { border-top: 1px solid var(--line); background: #fff; }
.site-mnav a { display: flex; justify-content: space-between; align-items: center; max-width: 70rem; margin: 0 auto; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 16px; }
.site-mnav a::after { content: "→"; color: var(--muted); }
.site-mnav a[aria-current="page"] { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .site-nav, .site-auth a[data-auth], .site-auth .site-who { display: none; }
  .site-menu-btn { display: inline-flex; }
  .site-head-in { gap: 12px; }
}
[hidden] { display: none !important; }

/* 바닥글 */
.site-foot { background: var(--surface-2); border-top: 1px solid var(--line); }
.site-foot-in { max-width: 70rem; margin: 0 auto; padding: 56px 20px 48px; }
@media (min-width: 640px) { .site-foot-in { padding-left: 32px; padding-right: 32px; } }
.site-foot-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .site-foot-grid { grid-template-columns: 5fr 7fr; } }
.site-foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 640px) { .site-foot-cols { grid-template-columns: repeat(3, 1fr); } }
.site-foot h2 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 16px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot ul a { font-size: 14px; color: var(--text-2); }
.site-foot ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site-foot .about { margin: 16px 0 0; max-width: 24rem; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.site-foot .biz { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: var(--muted); }
.site-foot .biz p { margin: 0; }
.site-foot .biz a { color: var(--muted); }
.site-foot .biz a:hover { color: var(--text); }
.site-foot .bottom { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-foot .bottom img { height: 36px; vertical-align: middle; }

/* ── 글자 위계·구획·버튼·그림 틀·정의 목록·단계·표 (첫 화면에서 쓰던 것을 전 페이지 공통으로) ── */
.lp-wrap { max-width: 70rem; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 640px) { .lp-wrap { padding-left: 32px; padding-right: 32px; } }

.lp-label { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.lp-display { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); line-height: 1.2; letter-spacing: -0.03em; font-weight: 700; margin: 0; max-width: 22ch; }
.lp-h2 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.32; letter-spacing: -0.02em; font-weight: 700; margin: 0; }
.lp-h3 { font-size: 1.125rem; line-height: 1.45; letter-spacing: -0.01em; font-weight: 650; margin: 0; }
.lp-lead { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); line-height: 1.75; color: var(--text-2); max-width: 46rem; margin: 16px 0 0; }
.lp-small { font-size: 14px; line-height: 1.6; color: var(--muted); }
.lp-num { font-variant-numeric: tabular-nums; }
.lp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, "D2Coding", monospace; font-size: .95em; color: var(--text); }
.lp-link { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(31, 85, 214, .3); text-underline-offset: 3px; }
.lp-link:hover { color: var(--brand-strong); }

/* 버튼 */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 6px;
  font-weight: 600; font-size: 15px; white-space: nowrap; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, color .15s; }
.lp-btn.primary { background: var(--brand); color: #fff; }
.lp-btn.primary:hover { background: var(--brand-strong); color: #fff; }
.lp-btn.secondary { background: #fff; color: var(--text); border-color: var(--line-strong); }
.lp-btn.secondary:hover { border-color: var(--muted); color: var(--text); }
.lp-btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.lp-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 구획 */
.lp-head { border-bottom: 1px solid var(--line); }
.lp-head > .lp-wrap { padding-top: 56px; padding-bottom: 48px; }
@media (min-width: 640px) { .lp-head > .lp-wrap { padding-top: 80px; padding-bottom: 64px; } }
.lp-sec { border-bottom: 1px solid var(--line); }
.lp-sec > .lp-wrap { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .lp-sec > .lp-wrap { padding-top: 80px; padding-bottom: 80px; } }
.lp-sec.muted { background: var(--surface-2); }
.lp-sec-head { max-width: 46rem; margin-bottom: 40px; }
.lp-split { display: grid; gap: 32px; }
.lp-split > * { min-width: 0; }
.lp-cols { display: grid; gap: 40px; }
.lp-cols > * { min-width: 0; }
@media (min-width: 1024px) {
  .lp-split { grid-template-columns: 4fr 8fr; gap: 48px; }
  .lp-split .lp-sec-head { margin-bottom: 0; }
  .lp-cols { grid-template-columns: 7fr 5fr; }
}

/* 사실 한 줄 (가입 무료 · 카드 등록 없음 …) */
.lp-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-2); }
.lp-facts li { position: relative; padding-left: 14px; }
.lp-facts li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--muted); }

/* 실제 화면 틀 */
.lp-shot { margin: 0; min-width: 0; }
.lp-shot .frame { overflow: hidden; border-radius: 6px; border: 1px solid var(--line-strong); background: #fff; box-shadow: 0 1px 2px rgba(22, 24, 28, .06); }
.lp-shot .bar { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.lp-shot .bar i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.lp-shot .bar span { margin-left: 4px; font-size: 12px; color: var(--muted); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* 정의 목록 */
.lp-dl { margin: 0; border-top: 1px solid var(--line); }
.lp-dl > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lp-dl dt { font-weight: 600; color: var(--text); }
.lp-dl dd { margin: 0; color: var(--text-2); }
@media (min-width: 640px) {
  .lp-dl > div { grid-template-columns: 11rem 1fr; gap: 24px; }
  .lp-dl.compact > div { grid-template-columns: 7.5rem 1fr; gap: 16px; }
}

/* 번호 단계 */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--line); }
.lp-steps li { background: #fff; padding: 20px; }
.lp-steps .n { display: block; font-size: 14px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.lp-steps .lp-h3 { margin-top: 8px; }
.lp-steps p { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
@media (min-width: 640px) { .lp-steps { grid-template-columns: 1fr 1fr; } .lp-steps li { padding: 24px; } }
@media (min-width: 1024px) { .lp-steps { grid-template-columns: repeat(4, 1fr); } }

/* 표 */
.lp-scroll { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
@media (min-width: 640px) { .lp-scroll { margin: 0; padding: 0; } }
.lp-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.lp-table th { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--muted); padding: 10px 16px 10px 0; border-bottom: 1px solid rgba(22, 24, 28, .8); vertical-align: bottom; white-space: nowrap; }
.lp-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.lp-table td.name { color: var(--text); font-weight: 600; white-space: nowrap; }
.lp-table tr:last-child td { border-bottom: 1px solid var(--line); }

/* 요금제 */
.lp-seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.lp-seg button { border: 0; background: #fff; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; cursor: pointer; }
.lp-seg button + button { border-left: 1px solid var(--line-strong); }
.lp-seg button.active { background: var(--text); color: #fff; }
.lp-plans td { vertical-align: middle; }
.lp-plans .desc { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; white-space: normal; }
.lp-plans .price { color: var(--text); font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-plans .price s { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.lp-plans .price small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.lp-plans td.go { text-align: right; padding-right: 0; }
.lp-plans .mob { display: none; }
/* 좁은 화면: 표 대신 요금제마다 한 덩어리 (이름·계정/문서 → 요금·버튼) */
@media (max-width: 639px) {
  .lp-plans thead, .lp-plans td.cnt { display: none; }
  .lp-plans tr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .lp-plans td, .lp-plans tr:last-child td { border: 0; padding: 0; }
  .lp-plans td.name { grid-column: 1 / -1; white-space: normal; }
  .lp-plans .mob { display: block; }
}

/* FAQ */
.lp-faq { border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .pm { flex-shrink: 0; color: var(--muted); transition: transform .15s; }
.lp-faq details[open] summary .pm { transform: rotate(45deg); }
.lp-faq p { margin: 0; padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--text-2); }



/* ── 문서형 페이지 (서비스 가이드·에디터 가이드·약관): 왼쪽 목차 + 본문 ── */
.doc-head { border-bottom: 1px solid var(--line); }
.doc-head > .lp-wrap { padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 640px) { .doc-head > .lp-wrap { padding-top: 64px; padding-bottom: 48px; } }
.doc-tabs { display: flex; gap: 4px; margin-top: 28px; flex-wrap: wrap; }
.doc-tabs a { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 14px; color: var(--text-2); }
.doc-tabs a:hover { color: var(--text); border-color: var(--muted); }
.doc-tabs a[aria-current="page"] { background: var(--text); border-color: var(--text); color: #fff; font-weight: 600; }
.doc-wrap { max-width: 70rem; margin: 0 auto; padding: 40px 20px 80px; display: grid; gap: 32px; }
@media (min-width: 640px) { .doc-wrap { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { .doc-wrap { grid-template-columns: 13.5rem minmax(0, 1fr); gap: 56px; padding-top: 56px; } }
.doc-wrap.single { grid-template-columns: minmax(0, 1fr); }
.doc-toc { font-size: 14px; line-height: 1.5; }
.doc-toc details > summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; padding: 12px 16px; }
.doc-toc details > summary::-webkit-details-marker { display: none; }
.doc-toc details { border: 1px solid var(--line); border-radius: 6px; }
.doc-toc .toc-in { padding: 0 16px 12px; }
.doc-toc .grp { margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.doc-toc a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); color: var(--text-2); }
.doc-toc a:hover { color: var(--text); }
.doc-toc a.on { border-left-color: var(--brand); color: var(--text); font-weight: 600; }
@media (min-width: 1024px) {
  .doc-toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
  .doc-toc details { border: 0; }
  .doc-toc details > summary { display: none; }
  .doc-toc .toc-in { padding: 0; }
  .doc-toc .grp:first-child { margin-top: 0; }
}
.doc-body { min-width: 0; max-width: 46rem; font-size: 16px; }
.doc-body > section { scroll-margin-top: 88px; }
.doc-body > section + section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.doc-body h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 12px; color: var(--text); }
.doc-body h3 { font-size: 1.125rem; line-height: 1.45; font-weight: 650; margin: 36px 0 10px; color: var(--text); scroll-margin-top: 88px; }
.doc-body p { margin: 10px 0; color: var(--text-2); }
.doc-body ul, .doc-body ol { margin: 10px 0; padding-left: 22px; color: var(--text-2); }
.doc-body li { margin: 6px 0; }
.doc-body b, .doc-body strong { color: var(--text); font-weight: 600; }
.doc-body a:not(.lp-btn):not(.btn) { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(31,85,214,.3); text-underline-offset: 3px; }
.doc-body .lp-shot { margin: 20px 0 8px; }
.doc-body .lp-shot.narrow { max-width: 28rem; }
.doc-body .lp-dl { margin: 16px 0; }
.doc-body .lp-table { margin: 12px 0; }
.doc-body code, .doc-body .ui { font-family: inherit; font-weight: 600; color: var(--text); }
.doc-body .mono { font-family: ui-monospace, SFMono-Regular, Menlo, "D2Coding", monospace; font-size: .92em; color: var(--text); }
ol.steps { list-style: none; padding: 0; margin: 14px 0; counter-reset: st; }
ol.steps > li { counter-increment: st; position: relative; padding-left: 36px; margin: 10px 0; color: var(--text-2); }
ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; color: var(--brand); background: #fff; font-variant-numeric: tabular-nums; }
.note { margin: 16px 0; padding: 12px 16px; border-left: 2px solid var(--brand); background: var(--surface-2); font-size: 15px; line-height: 1.7; color: var(--text-2); }
.note.warn { border-left-color: #b45309; }
.note b { color: var(--text); }
.doc-faq { border-top: 1px solid var(--line); margin-top: 12px; }
.doc-faq details { border-bottom: 1px solid var(--line); }
.doc-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; }
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::after { content: "+"; color: var(--muted); flex-shrink: 0; }
.doc-faq details[open] summary::after { content: "−"; }
.doc-faq details > div { padding: 0 0 16px; font-size: 15px; color: var(--text-2); }
.doc-next { margin-top: 56px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.doc-next p { margin: 0; color: var(--text-2); }

/* ── 로그인·가입 같은 작은 양식 페이지 ── */
.form-page { max-width: 26rem; margin: 0 auto; padding: 48px 20px 80px; }
.form-page h1 { font-size: 1.6rem; line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 8px; }
.form-page .lead { margin: 0 0 24px; color: var(--text-2); font-size: 15px; }
.form-page .panel { border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: #fff; }
.form-page .below { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }

/* ── 로그인 뒤 화면(대시보드·마이페이지·관리자)의 본문 폭을 상단바와 맞춘다 ── */
body.site .wrap { max-width: 70rem; padding: 32px 20px 96px; }
@media (min-width: 640px) { body.site .wrap { padding-left: 32px; padding-right: 32px; } }
body.site h1.title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.doc-body.legal h2 { font-size: 1.05rem; margin: 32px 0 8px; }
.doc-body.legal p, .doc-body.legal li { font-size: 15px; line-height: 1.85; }
.menu-grid { display: grid; gap: 24px; align-items: start; }
.menu-grid > * { min-width: 0; }
@media (min-width: 640px) { .menu-grid { grid-template-columns: auto minmax(0, 1fr); } }
.af-gallery { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); align-items: start; }
.af-gallery .lp-shot img { max-height: 340px; object-fit: contain; background: #fff; }
.doc-body.af { max-width: 46rem; }
.doc-body.af .card { box-shadow: none; }
.site-auth a.site-tel { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .site-auth a.site-tel { display: none; } }
.site-brand { align-items: center; }
.site-brand .site-mark { width: 26px; height: 26px; flex-shrink: 0; margin-right: 2px; border-radius: 6px; }
.site-brand small { align-self: flex-end; margin-bottom: 2px; }
.af-buy { display: grid; gap: 20px; }
@media (min-width: 768px) { .af-buy { grid-template-columns: 1fr 1fr; } }
.af-plan { border: 1px solid var(--line-strong); border-radius: 8px; padding: 24px; background: #fff; scroll-margin-top: 88px; display: flex; flex-direction: column; }
.af-plan.biz { background: var(--surface-2); border-color: var(--line); }
.af-plan .lp-label { margin: 0; }
.af-price { margin: 6px 0 4px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.af-plan .lp-actions { margin-top: auto; padding-top: 20px; }
.af-list { margin: 14px 0 0; padding-left: 18px; color: var(--text-2); }
.af-list li { margin: 8px 0; }
