[hidden] { display: none !important; }
:root {
  --floor: #EEF1EC;
  --tile: #DDE3DA;
  --paper: #FFFFFF;
  --ink: #10232E;
  --ink-soft: #3F5361;
  --muted: #6D7E88;
  --line: #D3DBD6;
  --brand: #0E9F6E;
  --brand-deep: #08734F;
  --brand-wash: #DDF2E8;
  --amber: #C27C0E;
  --desk: #FFFFFF;
  --screen: #CDEEDF;
  --head: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", system-ui, sans-serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--floor);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }

h1, h2, h3 { font-family: var(--head); line-height: 1.3; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; max-width: 28ch; }
h3 { font-size: 19px; font-weight: 600; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border-radius: 10px; border: 1.5px solid var(--ink);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-large { min-height: 58px; padding: 0 30px; font-size: 18px; background: var(--brand); border-color: var(--brand); }
.btn-large:hover { background: var(--brand-deep); }
.btn-disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.btn-disabled:hover { background: transparent; border-color: var(--line); }

/* 상단 */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--floor) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 20px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav-links a[aria-current] { color: var(--ink); font-weight: 600; }
.nav-user { background: none; border: 0; padding: 0; font: inherit; font-size: 14.5px; color: var(--ink-soft); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav-user:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

/* 첫 화면 */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-kicker { margin: 0 0 18px; color: var(--brand-deep); font-weight: 600; font-size: 15.5px; }
.lede { font-size: 19px; color: var(--ink-soft); margin: 24px 0 32px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; }

.floor { margin: 0; }
.floor svg { width: 100%; height: auto; overflow: visible; }
.floor text { font-family: var(--body); font-size: 13px; fill: var(--ink-soft); text-anchor: middle; font-weight: 500; }
.seat.admin text { fill: var(--brand-deep); font-weight: 700; }
.seat.admin use { --desk: var(--brand-wash); }
.seat.off { opacity: .55; }
.seat.off use { --screen: #E6E2D8; }
.seat.off text { fill: var(--amber); }
.pkt { fill: var(--brand); stroke: var(--paper); stroke-width: 1.5; transform: translate(-6px, -7.5px); transform-box: fill-box; }
.exit-label { font-size: 13px !important; fill: var(--muted) !important; }
.exit-value { font-family: var(--head) !important; font-size: 26px !important; font-weight: 700 !important; fill: var(--ink) !important; }

/* 섹션 공통 */
.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section-lede { font-size: 18px; color: var(--ink-soft); max-width: 38em; margin: 18px 0 0; }

/* 비교표 */
.table-scroll { overflow-x: auto; margin-top: 44px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15.5px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 18%; }
.compare td { color: var(--ink-soft); }
.compare .us { background: var(--brand-wash); color: var(--ink); font-weight: 600; }
.compare thead .us { color: var(--brand-deep); font-weight: 700; }

/* 외부 전송 0 */
.zero { background: var(--ink); color: #E8EEEA; border-top: 0; }
.zero h2 { color: #fff; }
.zero .section-lede { color: #B9C7C0; }
.zero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.note { margin: 28px 0 0; padding-left: 16px; border-left: 3px solid var(--brand); color: #B9C7C0; font-size: 15.5px; max-width: 34em; }
.ledger { border: 1px solid #2D4452; border-radius: 14px; overflow: hidden; font-size: 16px; }
.ledger > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 15px 22px; border-bottom: 1px solid #2D4452; }
.ledger > div:last-child { border-bottom: 0; }
.ledger-head { background: #172F3C; color: #8FA3AD; font-size: 14px; }
.ledger .no { color: #5EE0AE; font-weight: 600; }
.ledger .opt { color: #F2C46D; font-weight: 600; }

/* 특징 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 48px; margin-top: 52px; }
.features article { border-top: 2px solid var(--ink); padding-top: 22px; }
.features .icon { width: 104px; height: 104px; margin: -10px 0 4px -18px; }
.features p { color: var(--ink-soft); margin: 10px 0 0; font-size: 16px; }

/* 시작하기 — 실제 순서이므로 번호 사용 */
.how { background: var(--floor); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; font-size: 18px;
  background: var(--brand); color: #fff;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -16px; border-top: 2px dashed var(--line); }
.steps p { color: var(--ink-soft); font-size: 15.5px; margin: 10px 0 0; }

/* 요금제 */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--ink); box-shadow: 6px 6px 0 var(--brand); }
.plan h3 { font-size: 18px; color: var(--ink-soft); }
.price { margin: 14px 0 2px; font-size: 16px; color: var(--muted); }
.price strong { font-family: var(--head); font-size: 34px; color: var(--ink); font-weight: 700; }
.seats { margin: 0; font-weight: 600; color: var(--brand-deep); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; color: var(--ink-soft); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.fine { margin: 22px 0 0; color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 24px; font-weight: 400; color: var(--brand-deep); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; color: var(--ink-soft); }

/* 다운로드 */
.download { background: var(--brand-wash); }
.download-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.download-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.download-meta { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.text-link { color: var(--brand-deep); font-size: 15px; }

.footer { padding: 44px 0 52px; background: var(--ink); color: #93A6AF; font-size: 14px; line-height: 1.75; }
.footer p { margin: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.footer-company { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 10px !important; }
.footer-right { text-align: right; }
.footer-fine { margin-top: 10px !important; font-size: 12.5px; color: #6E838D; }
@media (max-width: 760px) { .footer-right { text-align: left; } }

/* 릴리스 노트 */
.releases { padding: 64px 0 96px; }
.release { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin-top: 18px; }
.release h2 { font-size: 22px; max-width: none; }
.release .meta { color: var(--muted); font-size: 14px; margin: 4px 0 12px; }
.release .notes { white-space: pre-line; color: var(--ink-soft); }
.release code { font-size: 12.5px; word-break: break-all; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid, .zero-grid { grid-template-columns: 1fr; gap: 48px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li::after { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .nav-user { margin-left: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 44px 0 56px; }
  .section { padding: 72px 0; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .lede { font-size: 17.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .packets { display: none; }
}

/* 폼 공통 */
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; line-height: 1.7; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.form .btn { margin-top: 14px; align-self: flex-start; }
.form .btn[disabled] { opacity: .5; cursor: progress; }
.btn-block { width: 100%; align-self: stretch !important; }
.form-error { margin: 6px 0 0; padding: 10px 14px; background: #FDECEC; color: #9B1C1C; border-radius: 10px; font-size: 14.5px; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.check span { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.text-btn { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14.5px; color: var(--brand-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; align-self: center; }
.text-btn.danger { color: #9B1C1C; }

/* 로그인 */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; }
.auth { width: min(420px, 100%); }
.auth-brand { justify-content: center; margin-bottom: 26px; font-size: 22px; }
.auth-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 18px; padding: 36px 32px; box-shadow: 6px 6px 0 var(--brand); }
.auth-card h1 { font-size: 26px; }
.auth-sub { color: var(--ink-soft); font-size: 15px; margin: 8px 0 22px; }
.social { display: flex; flex-direction: column; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink); background: var(--paper); }
.social-btn:hover { border-color: var(--ink); }
.social-btn[hidden], .divider[hidden] { display: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.code-sent { margin: 0; padding: 12px 14px; background: var(--brand-wash); border-radius: 10px; font-size: 14.5px; color: var(--ink); }
.code-input { font-size: 26px !important; letter-spacing: 10px; text-align: center; font-weight: 700; }
.auth-foot { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 20px; }

/* 질문답변 */
.qna { padding: 56px 0 96px; min-height: 70vh; }
.qna h1 { font-size: clamp(28px, 3.4vw, 38px); }
.qna-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.qna-head .section-lede { font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 8px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); text-decoration: none; font-size: 14.5px; color: var(--ink-soft); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.qna-list { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1.5px solid var(--ink); }
.qna-item { border-bottom: 1px solid var(--line); }
.qna-link { display: flex; flex-direction: column; gap: 6px; padding: 20px 4px; text-decoration: none; }
a.qna-link:hover .qna-title { text-decoration: underline; text-underline-offset: 4px; }
div.qna-link { color: var(--muted); }
.qna-title { font-size: 17.5px; font-weight: 600; }
.qna-sub { color: var(--muted); font-size: 14px; }
.qna-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.tag { padding: 2px 9px; border-radius: 6px; background: var(--floor); border: 1px solid var(--line); color: var(--ink-soft); }
.tag-muted { color: var(--muted); }
.status { font-weight: 600; color: var(--amber); }
.status.answered { color: var(--brand-deep); }
.qna-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.qna-empty .btn { margin-top: 8px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.page { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; color: var(--ink-soft); }
.page[aria-current] { background: var(--ink); color: #fff; }
.back { display: inline-block; margin-bottom: 18px; color: var(--ink-soft); font-size: 14.5px; }
.back::before { content: "‹ "; }
.form-wide { margin-top: 18px; }
.form-wide .btn { align-self: flex-start; }
.post { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 16px; padding: 30px 32px; }
.post h1 { font-size: 26px; margin: 12px 0 6px; }
.post-body { white-space: pre-line; margin-top: 18px; color: var(--ink); overflow-wrap: anywhere; }
.replies { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 8px; }
.reply { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-left: 28px; }
.reply.official { border: 1.5px solid var(--brand); background: #F6FCF9; }
.reply-head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.reply-head strong { color: var(--ink); font-size: 15px; }
.reply .post-body { margin-top: 10px; }
@media (max-width: 600px) {
  .post { padding: 24px 20px; }
  .reply { margin-left: 0; }
  .auth-card { padding: 28px 22px; }
}

/* 약관·방침 */
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(28px, 3.4vw, 36px); }
.legal h2 { font-size: 19px; margin: 36px 0 10px; max-width: none; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal a { color: var(--brand-deep); }
.legal-date { color: var(--muted) !important; font-size: 14.5px !important; margin-top: 8px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; background: var(--paper); }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal-table th { background: var(--floor); color: var(--ink); }
.auth-foot a { color: var(--muted); }

/* 사무실 일 묶음 */
.office { background: var(--paper); }

/* 구매 */
.buy { padding: 56px 0 96px; }
.buy h1 { font-size: clamp(28px, 3.4vw, 38px); }
.buy-sec { margin-top: 40px; }
.buy-sec h2 { font-size: 20px; margin-bottom: 14px; max-width: none; }
.test-mode { margin: 18px 0 0; padding: 12px 16px; border-radius: 10px; background: #FFF4E5; color: #8A4B00; font-size: 15px; }
.hint { color: var(--muted); font-weight: 400; font-size: 13.5px; margin-left: 6px; }
.plan-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.plan-opt { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); }
.plan-opt:hover { border-color: var(--ink-soft); }
.plan-opt[aria-checked="true"] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--brand); }
.plan-opt strong { font-size: 18px; }
.plan-opt .seats { color: var(--brand-deep); font-weight: 600; font-size: 14.5px; }
.plan-opt .price { font-size: 22px; font-weight: 700; margin-top: 6px; }
.plan-opt .sub { color: var(--muted); font-size: 13px; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.buy-actions .btn { margin-top: 0 !important; }
.key-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.key-card.is-expired { opacity: .7; }
.key-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.key-meta { color: var(--muted); font-size: 14px; }
.key-text { width: 100%; margin-top: 10px; font: 12.5px/1.5 Consolas, monospace; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--floor); color: var(--ink-soft); resize: none; overflow-wrap: anywhere; }
.key-actions { display: flex; gap: 8px; margin-top: 10px; }
.fine-print ul { padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.fine-print li { margin: 6px 0; }
.fine-print a { color: var(--brand-deep); }
.result .key-text { margin: 4px 0 12px; }
.steps-mini { color: var(--ink-soft); font-size: 14.5px; padding-left: 20px; margin: 18px 0 0; }
@media (max-width: 600px) { .plan-pick { grid-template-columns: 1fr; } }
.price-year { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
