/* 억울하오 화면 공통 스타일 (2026-10-25 리빌드).
   디자인 정본은 캔버스 "사이트" 페이지(plans/eogulhao-rebuild-2026-10-25.md).
   흰 바탕, 짙은 녹흑 글자, 직사각형 버튼, 제목은 Noto Serif KR 900.
   관리자 화면은 이 파일이 아니라 style.css 를 쓴다. */

:root {
  --ink: #15211C;
  --muted: #5B665F;
  --line: #DCE1DD;
  --field: #9AA49E;
  --soft: #F7F8F6;
  --soft2: #EBEEE9;
  --gold: #F6C177;
  --rust: #B4441C;
  --rust-bg: #FBF1EC;
  --rust-ink: #8A2E0F;
  --serif: 'Noto Serif KR', serif;
  --sans: 'Noto Sans KR', system-ui, sans-serif;
  --wrap: 964px;   /* 본문 900px + 좌우 여백. 첫 화면 사진만 --wrap-wide (2026-10-26) */
  --wrap-wide: 1320px;
  --gut: 32px;
}
@media (max-width: 760px) { :root { --gut: 20px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: var(--ink); }
a:hover { color: var(--rust); }
h1, h2, h3, p, span, strong, label, legend, li, td, th { word-break: keep-all; overflow-wrap: anywhere; }
input, textarea, button, select { font-family: inherit; font-size: 16px; color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.hero .wrap { max-width: var(--wrap-wide); }

/* ---------- 머리말·꼬리말 ---------- */
.s-header { border-bottom: 1px solid var(--line); }
.s-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { text-decoration: none; font-family: var(--serif); font-weight: 900; font-size: 24px; white-space: nowrap; }
.s-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; min-height: 24px; }
.s-nav a { text-decoration: none; padding: 6px 0; }
.s-nav a.on { font-weight: 700; border-bottom: 2px solid var(--ink); }
/* 메뉴가 넷이 된 뒤(무료 기능) 좁은 휴대폰에서도 이름과 한 줄에 둔다 */
@media (max-width: 420px) { .s-nav { gap: 4px 14px; font-size: 14px; } .brand { font-size: 22px; } }

footer.site { border-top: 1px solid var(--line); }
footer.site .wrap { padding-top: 32px; padding-bottom: 48px; font-size: 13px; line-height: 1.9; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 700; }
footer.site nav a { text-decoration: none; }

/* ---------- 본문 ---------- */
main.page { padding-top: 56px; padding-bottom: 96px; }
@media (max-width: 760px) { main.page { padding-top: 36px; padding-bottom: 64px; } }
.page-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 40px; }
.page-title h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.2; }
@media (max-width: 760px) { .page-title h1 { font-size: 32px; } .page-title { margin-bottom: 28px; } }
.page-title .aside-link { font-size: 14px; color: var(--muted); }
.page-title .aside-link a { font-weight: 700; color: var(--ink); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 26px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* 왼쪽 입력 + 오른쪽 상자 */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > .main { flex: 3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.split > .side { flex: 2 1 300px; min-width: 0; }
@media (max-width: 760px) { .split { gap: 32px; } .split > .main { flex-basis: 100%; } }

/* ---------- 입력 ---------- */
.field { display: flex; flex-direction: column; gap: 10px; }
.field > label, .field > .label, fieldset > legend { font-size: 17px; font-weight: 700; padding: 0; }
.field .opt-tag { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.field .hint { font-size: 13px; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset > legend { margin-bottom: 12px; }
.in, .ta { width: 100%; border: 1px solid var(--field); border-radius: 0; background: #fff; padding: 0 14px; font-size: 16px; }
.in { height: 52px; }
.ta { padding: 12px 14px; line-height: 1.7; resize: vertical; min-height: 120px; }
.in:focus, .ta:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.row2 { display: flex; flex-wrap: wrap; gap: 24px; }
.row2 > * { flex: 1 1 240px; min-width: 0; }
.autosave { font-size: 13px; color: var(--muted); min-height: 18px; }

/* 선택 버튼 묶음 */
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt { min-height: 56px; border: 1px solid var(--field); background: #fff; color: var(--ink); cursor: pointer; padding: 10px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 15px; text-align: center; }
.opt small { font-size: 13px; color: var(--muted); }
.opt[aria-pressed="true"] { border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.opt[aria-pressed="true"] small { color: #CFD6D2; }

/* 체크 */
.chk { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; font-size: 15px; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: 0 0 auto; }

/* 파일 올리기: 누르면 탐색기, 끌어 놓으면 바로 올라간다 */
.dz { position: relative; min-height: 260px; border: 2px dashed var(--field); background: var(--soft); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 17px; text-align: center; padding: 28px 16px; transition: border-color .15s, background-color .15s; }
.dz.small { min-height: 190px; font-size: 16px; }
.dz:hover { border-color: var(--muted); }
.dz.drag { border-color: var(--ink); border-style: solid; background: var(--soft2); }
.dz-ic { width: 80px; height: 80px; padding: 14px; border-radius: 50%; background: #FDF3E2; margin-bottom: 4px; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.dz.small .dz-ic { width: 66px; height: 66px; padding: 12px; }
.dz.drag .dz-ic { transform: translateY(-4px) scale(1.06); }
.dz input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dz:focus-within { outline: 3px solid var(--gold); outline-offset: 1px; }
.dz .sub { font-size: 14px; color: var(--muted); }
.file { border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.file.main-file { border-color: var(--ink); padding: 18px 20px; }
.file .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.file .name { font-weight: 700; overflow-wrap: anywhere; }
.file .meta { font-size: 14px; color: var(--muted); }
.bar { height: 3px; background: #E3E6E3; }
.bar > i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .15s linear; }
.files { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn:hover { color: #fff; background: #0c1511; }
.btn.block { display: flex; width: 100%; min-height: 56px; font-size: 17px; }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { color: var(--ink); filter: brightness(.97); }
.btn.line { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn.line:hover { background: var(--soft); color: var(--ink); }
.btn.mini { min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; }
.btn[disabled], .btn.off { opacity: .45; cursor: not-allowed; pointer-events: none; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- 상자 ---------- */
.box { border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.box .title { font-family: var(--serif); font-weight: 900; font-size: 22px; }
.box .ln { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.box .ln > :first-child { color: var(--muted); }
.box .sum { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.box .sum strong:last-child { font-family: var(--serif); font-weight: 900; font-size: 34px; white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; }

/* 알림 줄 */
.alert { margin: 0; padding: 12px 14px; border-left: 3px solid var(--rust); background: var(--rust-bg); font-size: 14px; color: var(--rust-ink); }
.alert.info { border-left-color: var(--ink); background: var(--soft); color: var(--ink); }
[hidden] { display: none !important; }
/* 펼치고 접기. SITE.fold 가 hidden 을 풀면서 fold-show 를, 접을 때 fold-hide 를 붙였다가 끝나면 hidden 으로 돌린다 */
@keyframes foldShow { from { opacity: 0; transform: translateY(-6px); max-height: 0; margin-top: 0; } to { opacity: 1; transform: none; max-height: 120px; } }
@keyframes foldHide { from { opacity: 1; transform: none; max-height: 120px; } to { opacity: 0; transform: translateY(-6px); max-height: 0; margin-top: 0; } }
.fold-show { animation: foldShow .28s cubic-bezier(.2,.7,.2,1); overflow: hidden; }
.fold-hide { animation: foldHide .22s ease-in forwards; overflow: hidden; }

/* 표 */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th { text-align: left; font-weight: 500; font-size: 14px; color: var(--muted); padding: 0 12px 12px 0; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.tbl td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl .r { text-align: right; }
.badge { display: inline-block; padding: 3px 10px; font-size: 14px; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.badge.wait { background: #EDEFEC; }
.badge.work { border-color: var(--ink); }
.badge.done { background: var(--ink); color: #fff; }
.badge.stop { color: var(--muted); border-color: var(--line); }
.empty { padding: 48px 0; color: var(--muted); }

/* 행 목록(계산 기준 등) */
.rows { border-top: 1px solid var(--ink); }
.rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.rows > div > :first-child { color: var(--muted); }
.sect { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.sect > h2 { flex: 1 1 240px; }
.sect > .body { flex: 3 1 600px; min-width: 0; }

/* 원문·수정본 대조 */
.cmp { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.cmp > div { flex: 1 1 320px; min-width: 0; padding: 28px; }
.cmp > div + div { border-left: 1px solid var(--line); }
@media (max-width: 760px) { .cmp > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.cmp .cap { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.cmp .opinion { background: #F4F5F2; white-space: pre-wrap; font-size: 15px; line-height: 1.8; }

/* ---------- 나타나기 ---------- */
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }
.fx > * { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.fx > *:nth-child(2) { animation-delay: .12s; }
.fx > *:nth-child(3) { animation-delay: .24s; }
.fx > *:nth-child(4) { animation-delay: .36s; }
.fx > *:nth-child(5) { animation-delay: .48s; }
/* 스크롤 나타나기. .rv 와 .rv-g 의 자식은 화면에 들어올 때 올라온다. site.js 가 html 에 rv-on 을 붙이고
   보이는 요소에 rv-in 을, 다 올라오면 rv-done 을 단다. 스크립트가 없으면 처음부터 보인다.
   표시 클래스를 .in 으로 했다가 입력칸 스타일(.in, 높이 52px)과 겹쳐 상자가 뭉개졌다(2026-10-26) */
.rv-on .rv:not(.rv-in), .rv-on .rv-g > *:not(.rv-in) { opacity: 0; }
.rv-on .rv.rv-in, .rv-on .rv-g > .rv-in { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
.rv-on .rv.rv-done, .rv-on .rv-g > .rv-done { animation: none; }

/* ---------- 첫 화면 히어로 ---------- */
.hero { position: relative; height: 840px; max-height: 100svh; min-height: 620px; overflow: hidden; background: #1B211E; color: #fff; }
.hero .hs { position: absolute; inset: 0; opacity: 0; animation: hsFade 42s infinite; overflow: hidden; }
.hero .hs img { width: 100%; height: 100%; object-fit: cover; display: block; animation: hsZoom 42s infinite; }
@keyframes hsFade { 0% { opacity: 0; } 3% { opacity: 1; } 16.7% { opacity: 1; } 20% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hsZoom { 0% { transform: scale(1.12); } 20% { transform: scale(1); } 100% { transform: scale(1); } }
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,12,.5) 0%, rgba(10,14,12,.3) 30%, rgba(10,14,12,0) 56%, rgba(10,14,12,0) 68%, rgba(10,14,12,.25) 100%); }
.hero .vname { position: absolute; left: 80%; top: 42%; transform: translate(-50%, -50%); writing-mode: vertical-rl; white-space: nowrap; font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 8vw, 112px); line-height: 1; letter-spacing: .06em; color: #fff; text-shadow: 0 4px 34px rgba(0,0,0,.45); }
.hero .in-wrap { position: relative; height: 100%; display: flex; flex-direction: column; }
.hero header { display: flex; justify-content: flex-end; padding: 24px 0; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero a { color: #fff; }
.hero a:hover { color: #fff; text-decoration: underline; }
.hero .htext { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 640px; text-shadow: 0 1px 14px rgba(0,0,0,.35); animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .2s both; }
/* 두 줄이 각각 한 줄로 서도록 줄바꿈을 막고, 긴 둘째 줄(약 13.4em)이 칸에 들어가게 글자 크기를 정한다 */
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.3; letter-spacing: -.02em; white-space: nowrap; }
.hero .bars { display: flex; align-self: center; gap: 8px; margin-bottom: 18px; }
.hero .bars i { display: block; width: 28px; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255,255,255,.35); }
.hero .bars i b { display: block; height: 100%; width: 0; background: #fff; animation: hsBar 42s infinite linear; }
@keyframes hsBar { 0% { width: 0; } 16.7% { width: 100%; } 16.71% { width: 0; } 100% { width: 0; } }
.hero .pbar { align-self: center; width: 100%; max-width: 620px; margin-bottom: 32px; background: rgba(14,20,17,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.16); padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; animation: fadeUp .8s ease-out .6s both; }
.hero .pbar .lbl { font-size: 13px; color: #CFD6D2; }
.hero .pbar .amt { font-family: var(--serif); font-weight: 900; font-size: 34px; }
.hero .pbar .btn { margin-left: auto; }
@media (max-width: 760px) {
  .hero .scrim { background: rgba(10,14,12,.42); }
  /* 세로 이름의 오른쪽 여백은 폭에 비례한다(390px 에서 12px, 760px 에서 약 86px). 고정 12px 이면 중간 폭에서 끝에 붙어 보였다(2026-11-08) */
  .hero { --vn-r: clamp(12px, calc(20vw - 66px), 90px); }
  .hero .vname { left: auto; right: var(--vn-r); top: 84px; transform: none; font-size: 74px; }
  .hero .htext { padding-right: calc(var(--vn-r) + 84px); }
  .hero h1 { font-size: min(22px, calc((100vw - 112px - var(--vn-r)) / 13.6)); line-height: 1.45; }  /* 112px = 왼쪽 여백 20 + 세로 이름 글자 74 + 사이 18 */
  .hero .pbar .btn { margin-left: 0; width: 100%; }
}
/* ---------- 첫 화면 본문 (2026-10-26) ---------- */
.hs-sect { padding: 112px 0; }
.hs-sect.tint { background: var(--soft); }
.hs-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 56px; }
.hs-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--rust); letter-spacing: .02em; }
.hs-kick::before { content: ''; width: 28px; height: 2px; background: var(--rust); }
.hs-head h2 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; letter-spacing: -.01em; }
.hs-lede { margin: 4px 0 0; font-size: 17px; color: var(--muted); }
.hs-note { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.hs-note a { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .hs-sect { padding: 72px 0; } .hs-head { margin-bottom: 36px; } }

.cover-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cover-card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 22px; padding: 30px 26px 30px; }
.ic { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
.cc-ic { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: #FDF3E2; }
.cc-body { border-top: 2px solid var(--ink); padding-top: 18px; }
.cc-body h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 900; font-size: 22px; }
.cc-body p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
@media (max-width: 560px) {
  .cover-grid { grid-template-columns: 1fr; gap: 14px; }
  .cover-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px 18px; }
  .cc-ic { flex: 0 0 52px; width: 52px; height: 52px; padding: 11px; }
  .cc-body { border-top: 0; padding-top: 2px; }
  .cc-body h3 { font-size: 19px; margin-bottom: 6px; }
  .cc-body p { font-size: 14px; }
}

.why-no { display: block; font-family: var(--serif); font-weight: 900; font-size: 15px; color: var(--rust); letter-spacing: .04em; margin-bottom: 10px; }
.why-lead { max-width: 820px; }
.why-text h3 { margin: 0 0 18px; font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; }
.why-text p { margin: 0 0 14px; font-size: 18px; line-height: 1.85; }
@media (max-width: 900px) { .why-text p { font-size: 17px; } }

.tr-flow { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.tr-flow li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; background: #fff; border: 1px solid var(--line); }
.tf-ic { width: 52px; height: 52px; padding: 11px; border-radius: 50%; background: #FDF3E2; margin-bottom: 10px; }
.tf-mid .tf-ic { background: rgba(255,255,255,.1); }
.tf-mid .ic { stroke: #fff; }
.tr-flow li + li { margin-left: 28px; }
.tr-flow li + li::before { content: ''; position: absolute; left: -29px; top: 50%; width: 29px; height: 2px; background: var(--ink); }
.tr-flow li + li::after { content: ''; position: absolute; left: -9px; top: calc(50% - 5px); border: 6px solid transparent; border-left: 8px solid var(--ink); border-right: 0; }
.tr-flow .tf-mid { background: var(--ink); color: #fff; border-color: var(--ink); }
.tf-k { font-size: 13px; font-weight: 700; color: var(--muted); }
.tf-mid .tf-k { color: var(--gold); }
.tr-flow strong { font-size: 19px; font-weight: 800; }
.tf-s { font-size: 14px; color: var(--muted); }
.tf-mid .tf-s { color: #C9D1CC; }
@media (max-width: 760px) {
  .tr-flow { grid-template-columns: 1fr; margin-top: 36px; }
  .tr-flow li + li { margin-left: 0; margin-top: 26px; }
  .tr-flow li + li::before { left: 50%; top: -27px; width: 2px; height: 27px; }
  .tr-flow li + li::after { left: calc(50% - 5px); top: -9px; border: 6px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; }
}

.tr-ex { margin-top: 28px; background: #fff; border: 1px solid var(--line); }
.tr-ex-h { display: grid; grid-template-columns: 1fr 1.4fr; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--ink); }
.tr-ex-h span { padding: 14px 28px; }
.tr-row { display: grid; grid-template-columns: 1fr 1.4fr; border-bottom: 1px solid var(--line); }
.tr-row:last-child { border-bottom: 0; }
.tr-row p { margin: 0; padding: 22px 28px; font-size: 16px; line-height: 1.75; }
.tr-from { color: var(--muted); position: relative; }
.tr-from::after { content: ''; position: absolute; right: -7px; top: calc(50% - 7px); width: 12px; height: 12px; border-top: 2px solid var(--rust); border-right: 2px solid var(--rust); transform: rotate(45deg); background: #fff; }
.tr-to { font-family: var(--serif); font-weight: 600; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .tr-ex-h { display: none; }
  .tr-row { grid-template-columns: 1fr; }
  .tr-row p { padding: 16px 18px; font-size: 15px; }
  .tr-from::before { content: '일상어'; display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
  .tr-to::before { content: '법률 언어'; display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--rust); margin-bottom: 4px; }
  .tr-from::after { right: auto; left: 24px; top: auto; bottom: -7px; transform: rotate(135deg); }
  .tr-to { border-left: 0; border-top: 1px solid var(--line); }
}

.why-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); padding: 28px 26px 30px; }
.wc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.wc-top .why-no { margin: 0; }
.wc-ic { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: #FDF3E2; }
.why-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.why-card p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; } .why-card { padding: 22px 20px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.steps li { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 0 0; }
.st-n { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 900; font-size: 17px; margin-top: -48px; margin-bottom: 8px; box-shadow: 0 0 0 6px #fff; }
.steps strong { font-size: 19px; font-weight: 800; }
.steps li > span:last-child { font-size: 15px; color: var(--muted); line-height: 1.7; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); margin-left: 19px; }
  .steps li { padding: 0 0 30px 32px; position: relative; }
  .steps li:last-child { padding-bottom: 0; }
  .st-n { position: absolute; left: -21px; top: -4px; margin: 0; }
  .steps strong { padding-top: 4px; }
}

.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tools a { text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s; }
.tools a:hover { border-color: var(--ink); color: var(--ink); }
.tools strong { font-size: 19px; font-weight: 800; }
.tools strong::after { content: ' →'; color: var(--rust); }
.tools span { font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; gap: 12px; } }

.gov { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gov a { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border: 1px solid var(--line); text-decoration: none; }
.gov a:hover { border-color: var(--ink); color: var(--ink); }
.gov img { width: 28px; height: 28px; object-fit: contain; margin-bottom: 6px; }
.gov b { font-size: 17px; }
.gov span { font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) { .gov { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gov { grid-template-columns: 1fr; gap: 10px; } .gov a { display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; align-items: center; padding: 16px 18px; } .gov img { grid-row: span 2; margin: 0; } }

.hs-cta { background: var(--ink); color: #fff; }
.hs-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 56px; padding-bottom: 56px; }
.hs-cta .lbl { display: block; font-size: 14px; color: #C9D1CC; margin-bottom: 6px; }
.hs-cta .amt { font-family: var(--serif); font-weight: 900; font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.hs-cta-go { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.line-w { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn.line-w:hover { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 560px) { .hs-cta-go { width: 100%; } .hs-cta-go .btn { flex: 1 1 140px; padding: 0 12px; white-space: nowrap; } }

/* ---------- 로그인·가입 ---------- */
.auth { min-height: 100svh; display: flex; }
.auth .photo { flex: 1 1 520px; position: relative; overflow: hidden; background: #1B211E; }
.auth .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth .photo .vn { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; white-space: nowrap; font-family: var(--serif); font-weight: 900; font-size: 96px; line-height: 1; letter-spacing: .06em; color: #fff; text-shadow: 0 4px 34px rgba(0,0,0,.45); }
.auth .side { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; padding: 24px var(--gut) 0; }
.auth .form { flex: 1; width: 100%; max-width: 400px; margin: 0 auto; padding: 56px 0 72px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.auth .form h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 34px; }
.auth footer.site { margin: 0 calc(var(--gut) * -1); }
.auth footer.site .wrap { padding-top: 28px; padding-bottom: 40px; }
@media (max-width: 959px) { .auth .photo { display: none; } }
.sbtn { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 6px; text-decoration: none; font-size: 16px; font-weight: 700; }
.sbtn svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; }
.sbtn.kakao { background: #FEE500; color: rgba(0,0,0,.85); }
.sbtn.naver { background: #03C75A; color: #fff; }
.sbtn.google { background: #fff; color: #1F1F1F; border: 1px solid #747775; font-weight: 500; }
.sbtn.kakao:hover { color: rgba(0,0,0,.85); filter: brightness(.97); }
.sbtn.naver:hover { color: #fff; filter: brightness(.95); }
.sbtn.google:hover { color: #1F1F1F; background: #F6F8F6; }
.has-last { position: relative; }
/* 최근 로그인 방식 말풍선(social.js LAST_LOGIN). 버튼 안쪽 오른쪽에 겹쳐 띄워 흐름에서 빠진다 */
.last-badge { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: 0; white-space: nowrap; pointer-events: none; animation: lastIn .35s ease-out both; }
.last-badge::before { content: ''; position: absolute; left: -4px; top: 50%; transform: translateY(-50%); border: 4px solid transparent; border-left: 0; border-right-color: var(--ink); }
.btn .last-badge { background: #fff; color: var(--ink); }
.btn .last-badge::before { border-right-color: #fff; }
@keyframes lastIn { from { opacity: 0; transform: translate(4px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pw { position: relative; }
.pw .in { padding-right: 56px; }
.pw .eye { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.auth-links { display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 14px; }
.auth-links .sep { color: #C7CDC9; }

/* ---------- 담당변호사 ---------- */
.lawyer { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.lawyer .pic { flex: 0 0 190px; width: 190px; }
.lawyer .pic img { display: block; width: 100%; aspect-ratio: 900 / 1274; object-fit: cover; filter: grayscale(1); background: #E7E9E6; }
.lawyer .info { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.lawyer .head { display: flex; flex-direction: column; gap: 8px; border-bottom: 2px solid var(--ink); padding-bottom: 28px; }
.lawyer .head h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 44px; line-height: 1.1; }
.lawyer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.6; }
.lawyer .yr { display: inline-block; width: 64px; color: var(--muted); }
.lawyer .blk { display: flex; flex-wrap: wrap; gap: 24px; }
.lawyer .blk + .blk { border-top: 1px solid var(--line); padding-top: 32px; }
.lawyer .blk > .k { flex: 0 0 120px; font-size: 17px; font-weight: 700; margin: 0; }
.lawyer .blk > ul { flex: 1 1 360px; }

/* ---------- 법적 문서(약관·방침) ---------- */
.doc { max-width: 820px; }
.doc h2 { font-family: var(--serif); font-weight: 900; font-size: 22px; margin: 40px 0 12px; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.85; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); font-weight: 700; }

/* ---------- 계정 화면(로그인·가입·비밀번호 찾기·메일 확인) — 계정 화면 담당 ---------- */
.auth .photo .scrim { position: absolute; inset: 0; background: rgba(10,14,12,.22); }
.auth .side > .brand { align-self: flex-start; }
.auth .field { gap: 8px; }
.auth .field > label, .auth .field > .label, .auth fieldset > legend { font-size: 15px; }
.auth .in[readonly] { background: var(--soft); color: var(--muted); }
.auth .form p { margin: 0; }
.acct-form { display: flex; flex-direction: column; gap: 16px; }
.acct-social { display: flex; flex-direction: column; gap: 10px; }
.acct-checks { display: flex; flex-wrap: wrap; gap: 0 20px; }
.acct-checks .chk { align-items: center; padding: 0; }
.acct-checks .chk input { margin: 0; }
.acct-caps { font-size: 13px; color: var(--rust); }
.acct-step { display: flex; flex-direction: column; gap: 16px; }
.acct-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 18px; }
.acct-name .muted { font-size: 14px; }
.acct-agree { border-top: 1px solid var(--line); padding-top: 12px; }
.acct-agree > legend { float: left; width: 100%; margin-bottom: 4px; }
.acct-agree .row { clear: both; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acct-agree .row .chk { flex: 1 1 auto; }
.acct-agree .row a { flex: 0 0 auto; font-size: 14px; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: flex-start; }
.acct-done { display: flex; flex-direction: column; gap: 20px; }

/* ---------- 서면 화면: 첨삭 받기·서면 작성 의뢰·내 서면·서면 하나 (서면 담당, 2026-10-25) ---------- */
.alert.verify { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.alert.verify .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.alert a { color: inherit; font-weight: 700; }
.file .top .right { display: inline-flex; align-items: center; gap: 12px; }
.file .info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file .meta.err { color: var(--rust-ink); }
.file .rm { min-height: 44px; font-size: 14px; color: var(--muted); }
.box .note { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.box .msg { font-size: 15px; line-height: 1.7; margin: 0; }
.box .btn[disabled] { pointer-events: none; }
/* 쿠폰 입력(2026-10-26). 결제 상자 안에서만 보인다 */
.box .cp-link { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.box .cp-link:hover { color: var(--ink); }
.box .cp-form { display: flex; gap: 8px; }
.box .cp-form input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.box .cp-form .btn { flex: none; padding: 0 18px; }
.otp { display: flex; flex-direction: column; gap: 12px; }
.otp-row { display: flex; gap: 8px; }
.otp-row .in { flex: 1 1 auto; min-width: 0; }
.otp-row .btn { flex: none; padding: 0 16px; white-space: nowrap; }
.box .cp-on .cp-link { flex: none; white-space: nowrap; }
.box .cp-own { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); font-size: 14px; }
.box .cp-own-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.box .cp-own-row small { display: block; color: var(--muted); font-size: 12px; }
.box .cp-own-row .btn { flex: none; padding: 0 16px; min-height: 36px; }
.box .cp-on { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; }
.review-speed-err, .review-file-err { margin-top: 2px; }
.draft-custom { margin-top: 10px; }

.mine-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.mine-head h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.2; }
.mine-tbl tbody tr { cursor: pointer; }
.mine-tbl tbody tr:hover td { background: var(--soft); }
.mine-tbl td { vertical-align: middle; }
.mine-tbl th.r, .mine-tbl td.r { padding-right: 32px; }
.dz:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.mine-tbl td:first-child a { text-decoration: none; font-weight: 700; }
.mine-tbl .act { text-align: left; padding-right: 0; white-space: nowrap; }
.mine-tbl .act a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; }
.mine-kind { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.mine-empty { display: flex; flex-direction: column; gap: 20px; padding: 48px 0; }
.mine-empty p { margin: 0; font-size: 17px; color: var(--muted); }
.mine-empty .links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .mine-head h1 { font-size: 32px; }
  .mine-tbl, .mine-tbl tbody, .mine-tbl tr, .mine-tbl td { display: block; width: 100%; }
  .mine-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mine-tbl { border-top: 2px solid var(--ink); }
  .mine-tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mine-tbl td { padding: 0; border: 0; font-size: 15px; }
  .mine-tbl tbody tr:hover td { background: none; }
  .mine-tbl td.t { grid-column: 1 / -1; font-size: 16px; }
  .mine-tbl td[data-k]::before { content: attr(data-k) ' '; color: var(--muted); font-size: 13px; margin-right: 4px; }
  .mine-tbl .r { text-align: left; }
  .mine-tbl td.st { grid-column: 1; }
  .mine-tbl .act { grid-column: 2; grid-row: span 1; text-align: right; }
}

.doc-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; text-decoration: none; }
.doc-back svg { width: 14px; height: 14px; }
.doc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 8px 0 32px; }
.doc-head .ttl { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.doc-head h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 36px; line-height: 1.25; overflow-wrap: anywhere; }
.doc-head .sub { color: var(--muted); }
.doc-head .sub a { font-weight: 700; }
.doc-head .acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .doc-head h1 { font-size: 28px; } .doc-head .acts, .doc-head .acts .btn { width: 100%; } }
.doc-sec { display: flex; flex-direction: column; gap: 12px; }
.doc-sec h2 { margin: 0; font-size: 17px; font-weight: 700; }
.doc-flist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.doc-flist li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.doc-flist a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.doc-flist .meta { font-size: 13px; color: var(--muted); }
.doc-text { margin: 0; white-space: pre-wrap; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.cmp .doc-sub { margin: 20px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.doc-confirm { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.doc-confirm p { margin: 0; font-size: 15px; }
.doc-confirm .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-confirm .btns .btn { flex: 1 1 140px; }

/* ---------- 안내: 요금 (fees) ---------- */
main.fees { display: flex; flex-direction: column; gap: 64px; }
@media (max-width: 760px) { main.fees { gap: 48px; } }
.fees-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; border-bottom: 2px solid var(--ink); padding-bottom: 40px; }
.fees-top > div { display: flex; flex-direction: column; gap: 12px; }
.fees-top h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.2; }
.fees-price { white-space: nowrap; }
.fees-price .lbl { font-size: 17px; color: var(--muted); margin-right: 10px; }
.fees-price .amt { font-family: var(--serif); font-weight: 900; font-size: clamp(48px, 6vw, 72px); line-height: 1; }
.fees-top .btn { min-height: 58px; padding: 0 34px; font-size: 17px; }
@media (max-width: 760px) { .fees-top .btn { width: 100%; } .fees-top { padding-bottom: 32px; } }
.fees-tbl { width: 100%; border-collapse: collapse; font-size: 17px; }
.fees-tbl th { text-align: left; font-weight: 500; font-size: 14px; color: var(--muted); padding: 0 0 10px; border-bottom: 1px solid var(--ink); }
.fees-tbl td { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fees-tbl .r { text-align: right; }
.fees-tbl td.amt { font-weight: 700; white-space: nowrap; }
.fees-r { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.rows .fees-go { font-weight: 700; color: var(--ink); }
.rows .fees-go:hover { color: var(--rust); }

/* ---------- 안내: 담당변호사 (lawyer) ---------- */
.lawyer .pic img { height: auto; }
.lawyer .head .who { font-size: 15px; color: var(--muted); }
.lawyer .head .role { font-size: 16px; }
.lawyer .career li { display: flex; gap: 20px; }
.lawyer .career .yr { flex: 0 0 44px; width: auto; }
@media (max-width: 760px) {
  .lawyer { gap: 32px; }
  .lawyer .pic { flex-basis: 160px; width: 160px; }
  .lawyer .head h1 { font-size: 36px; }
  .lawyer .blk > .k:empty { display: none; }
  .lawyer .blk { gap: 16px; }
}

/* ---------- 안내: 계산기 (calc) ---------- */
.calc-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.calc-in { flex: 3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.calc-out { flex: 2 1 320px; min-width: 0; background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
@media (max-width: 760px) { .calc-grid { gap: 32px; } .calc-in { flex-basis: 100%; } .calc-out { padding: 28px 24px; } .calc-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.calc-kind { min-height: 64px; border: 1px solid var(--field); background: #fff; color: var(--ink); cursor: pointer; padding: 10px 14px; text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.calc-kind strong { font-size: 16px; }
.calc-kind span { font-size: 13px; color: var(--muted); }
.calc-kind:hover { border-color: var(--ink); }
.calc-kind[aria-pressed="true"] { border: 2px solid var(--ink); background: var(--ink); color: #fff; }
.calc-kind[aria-pressed="true"] span { color: #CFD6D2; }
.calc-fields { display: flex; flex-direction: column; gap: 24px; }
.calc-fields .in, .calc-in .calc-date, .calc-in .calc-num { max-width: 280px; }
.calc-in .calc-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.calc-notes { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.75; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.calc-res, .calc-res > div { display: flex; flex-direction: column; gap: 8px; }
.calc-out .cap { font-size: 14px; color: #CFD6D2; }
.calc-out .due { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; white-space: nowrap; }
.calc-out .due.wait { font-size: clamp(24px, 2.6vw, 32px); white-space: normal; color: #CFD6D2; }
.calc-out .due.note { font-size: 20px; line-height: 1.5; white-space: normal; margin: 0; }
.calc-out .sub { margin: 0; font-size: 14px; line-height: 1.7; color: #CFD6D2; }
.calc-lines { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.calc-line span { color: #CFD6D2; font-size: 14px; }
.calc-line strong { white-space: nowrap; }
.calc-claim { margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.calc-claim p { margin: 0; font-size: 15px; line-height: 1.75; }
.calc-out .calc-copy { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.calc-out .calc-copy:hover { background: rgba(255,255,255,.08); color: #fff; }
.calc-out a, .calc-out a:hover { color: var(--ink); }
/* ---------- 기한 계산기 (2026-10-26 개편: 받은 문서로 고르기) ---------- */
.dl { display: flex; flex-direction: column; gap: 40px; }
.dl-step { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.dl-q { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 19px; font-weight: 800; }
.dl-q b { flex: 0 0 auto; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.dl-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.dl-tab { flex: 0 0 auto; padding: 12px 16px 11px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.dl-tab em { font-style: normal; font-weight: 500; font-size: 13px; margin-left: 4px; }
.dl-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.dl-group { margin: 18px 0 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.dl-group:first-child { margin-top: 4px; }
.dl-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dl-doc { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 4px 14px; padding: 14px 16px; border: 1px solid var(--field); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.dl-doc:hover { border-color: var(--ink); }
.dl-doc .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #FDF3E2; }
.dl-doc .ic svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
.dl-doc strong { display: block; font-size: 16px; }
.dl-doc small { font-size: 13px; color: var(--muted); }
.dl-doc .per { font-size: 13px; font-weight: 700; color: var(--rust); white-space: nowrap; }
.dl-doc[aria-pressed="true"] { border: 2px solid var(--ink); padding: 13px 15px; background: var(--ink); color: #fff; }
.dl-doc[aria-pressed="true"] small { color: #CFD6D2; }
.dl-doc[aria-pressed="true"] .per { color: var(--gold); }
.dl-doc[aria-pressed="true"] .ic { background: rgba(255,255,255,.12); }
.dl-doc[aria-pressed="true"] .ic svg { stroke: #fff; }
.dl-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-opt { padding: 10px 16px; border: 1px solid var(--field); background: #fff; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.dl-opt[aria-pressed="true"] { border: 2px solid var(--ink); padding: 9px 15px; font-weight: 700; }
.dl-inputs { display: flex; flex-direction: column; gap: 28px; }
.dl-inputs .field { gap: 12px; }
.dl-q2 { font-size: 16px; font-weight: 700; }
.dl-inputs .in { max-width: 280px; }
.dl-hint { margin: 0; font-size: 13px; color: var(--muted); }
.dl-out { background: var(--ink); color: #fff; padding: 36px 36px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px 40px; }
.dl-out .cap { font-size: 14px; color: #CFD6D2; }
.dl-due { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.dl-due strong { font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.15; white-space: nowrap; }
.dl-dday { display: inline-block; padding: 3px 10px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.dl-dday.past { background: #CFD6D2; }
.dl-law, .dl-sub { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: #CFD6D2; }
.dl-legacy { margin: 8px 0 0; font-size: 18px; line-height: 1.6; }
.dl-chain h3, .dl-notes h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #CFD6D2; }
.dl-chain ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(255,255,255,.25); }
.dl-chain li { position: relative; padding: 0 0 18px 22px; }
.dl-chain li:last-child { padding-bottom: 0; }
.dl-chain li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.6); }
.dl-chain li.now::before { background: var(--gold); border-color: var(--gold); }
.dl-chain li strong { display: block; font-size: 16px; }
.dl-chain li span { font-size: 14px; color: #CFD6D2; }
.dl-notes ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.7; color: #CFD6D2; }
.dl-full { grid-column: 1 / -1; }
.dl-rows { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.2); }
.dl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.dl-row strong { font-size: 17px; }
.dl-row small { display: block; font-size: 13px; color: #CFD6D2; }
.dl-row .d { font-family: var(--serif); font-weight: 900; font-size: 22px; white-space: nowrap; }
.dl-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-acts .btn.line-w { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.dl-acts .btn.line-w:hover { background: rgba(255,255,255,.08); color: #fff; }
.dl-acts .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; margin-right: 8px; }
.dl-out a.btn.gold, .dl-out a.btn.gold:hover { color: var(--ink); }
@media (max-width: 760px) {
  .dl { gap: 32px; }
  .dl-docs { grid-template-columns: 1fr; }
  .dl-out { grid-template-columns: 1fr; padding: 28px 22px; }
  .dl-due strong { font-size: 32px; }
  .dl-inputs .in { max-width: none; }
  .dl-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dl-row > span:first-child { grid-column: 1 / -1; }
  .dl-acts .btn { flex: 1 1 100%; }
}

/* ---------- 안내: 약관·방침·환불 규정 (article.doc) ---------- */
article.doc h1 { margin: 0 0 12px; font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.2; }
article.doc .lede { margin: 0; font-size: 17px; color: var(--muted); }
article.doc small { font-size: 14px; color: var(--muted); }
article.doc hr.rule { border: 0; border-top: 2px solid var(--ink); margin: 28px 0 0; }
article.doc ol, article.doc ul { padding-left: 1.4em; }
article.doc ol li, article.doc ul li { margin-bottom: 6px; }
article.doc ul.plain { list-style: none; padding-left: 0; }
article.doc .notice { background: var(--soft); border-left: 3px solid var(--ink); padding: 16px 20px; margin: 24px 0; }
article.doc .notice > :first-child { margin-top: 0; }
article.doc .notice > :last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  article.doc h1 { font-size: 32px; }
  article.doc table.stack, article.doc table.stack tbody, article.doc table.stack tr, article.doc table.stack th, article.doc table.stack td { display: block; width: 100%; }
  article.doc table.stack tr { border: 1px solid var(--line); margin-bottom: 10px; }
  article.doc table.stack th, article.doc table.stack td { border: 0; }
  article.doc table.stack th { border-bottom: 1px solid var(--line); }
}

/* kit — 셀프 작성 키트. kit.js 가 옛 style.css 의 kit-* 클래스를 쓰므로 kit 화면만 style.css 를 먼저 읽고
   이 묶음이 옛 색·둥근 모서리·그림자를 새 디자인으로 덮는다. 다른 화면에는 영향이 없다(body.kit-page) */
body.kit-page { --paper: #fff; --paper-2: var(--soft); --card: #fff; --surface: #fff; --ground: #fff; --text: var(--ink); --ink-2: #0c1511;
  --seal: var(--rust); --line-2: var(--field); --r-card: 0; --r-pill: 0; --shadow: none; --shadow-s: none; background: #fff; font-size: 16px; line-height: 1.6; }
.kit-page footer.site { background: #fff; margin-top: 0; padding: 0; font-size: inherit; }
.kit-page footer.site .wrap > div + div { margin-top: 0; }
.kit-page main.kit { max-width: var(--wrap); padding-top: 56px; padding-bottom: 96px; }
.kit-page main.kit > * { max-width: 880px; }
@media (max-width: 760px) { .kit-page main.kit { padding-top: 36px; padding-bottom: 64px; } }
.kit-page .kit-title { margin-bottom: 16px; }
.kit-page main.kit .lede { margin: 0; font-size: 17px; }
.kit-page .kit-step.card { border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.kit-page .kit-kind { border: 1px solid var(--field); border-radius: 0; box-shadow: none; background: #fff; min-height: 64px; }
.kit-page .kit-kind:hover { border-color: var(--ink); }
.kit-page .kit-kind[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.kit-page .kit-kind[aria-pressed="true"] small { color: #CFD6D2; }
.kit-page .kit-ways > div, .kit-page .kit-next > div { border-radius: 0; }
.kit-page .kit-next > div { background: var(--soft); }
.kit-page input[type=text], .kit-page input[type=date], .kit-page input[type=email], .kit-page input[type=tel], .kit-page input[type=number], .kit-page select, .kit-page textarea {
  border-radius: 0; border: 1px solid var(--field); background: #fff; color: var(--ink); font-size: 16px; }
.kit-page input:focus, .kit-page select:focus, .kit-page textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; box-shadow: none; border-color: var(--field); }
.kit-page .btn { border-radius: 0; min-height: 48px; padding: 0 22px; font-size: 16px; font-weight: 700; line-height: 1.2; display: inline-flex; align-items: center; justify-content: center; }
.kit-page .btn.seal.solid, .kit-page .btn.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.kit-page .btn.seal.solid:hover, .kit-page .btn.solid:hover { background: #0c1511; border-color: #0c1511; color: #fff; }
.kit-page .btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.kit-page .btn.ghost:hover { background: var(--soft); color: var(--ink); }
.kit-page .err { color: var(--rust-ink); background: var(--rust-bg); border-left: 3px solid var(--rust); padding: 12px 14px; font-size: 14px; }
@media (max-width: 760px) {
  article.doc th { min-width: 5.5em; overflow-wrap: break-word; }
  article.doc th, article.doc td { padding: 8px 10px; }
}
.review-speeds { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 내 정보 (account-) */
.account { display: flex; flex-direction: column; gap: 56px; }
.account .sect > h2 { flex: 0 0 240px; margin: 0; font-family: var(--serif); font-weight: 900; font-size: 22px; }
.account .sect > .body { flex: 1 1 400px; }
.account-form { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.account-note { margin: 0; font-size: 15px; }
.account-note a { font-weight: 700; }
.account-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--muted); }
.mine-acts { display: flex; align-items: center; gap: 20px; }
.mine-acct { font-size: 15px; font-weight: 700; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.account-link { font-weight: 700; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.account .rows > div { align-items: center; }

/* 보완 요청 (doc-ask) */
.doc-ask { border: 2px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.doc-ask h2 { margin: 0; }
.doc-ask-q { margin: 0; white-space: pre-wrap; font-size: 16px; line-height: 1.7; }
.doc-ask-item { border-top: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.doc-ask-item:first-of-type { border-top: 0; padding-top: 0; }

/* ---------- 소개 (2026-10-26) ---------- */
main.about { display: flex; flex-direction: column; gap: 64px; }
.about-top { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.about-top h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.2; }
.about-top p { margin: 0; font-size: 19px; line-height: 1.85; }
.about-rows > div > strong { font-weight: 700; text-align: right; }
.ab-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.ab-r > span { font-size: 15px; color: var(--muted); }
.ab-r a, .about-note a { color: var(--ink); font-weight: 700; }
.about-note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.about-text p { margin: 0 0 12px; font-size: 17px; line-height: 1.85; }
/* 소개 상단 사진. 아래쪽을 흰색으로 풀어 본문과 잇는다 (2026-10-26) */
.about-hero { position: relative; overflow: hidden; background: #F3F1EC; }
.about-hero img { width: 100%; height: auto; aspect-ratio: 2000 / 886; max-height: 620px; object-fit: cover; object-position: 50% 80%; display: block; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 76%, rgba(255,255,255,.75) 90%, #fff 100%); }
.about-hero + main.page { position: relative; margin-top: -56px; padding-top: 0; }
.ab-l { display: inline-flex; align-items: center; gap: 12px; }
.ab-ic { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #FDF3E2; }
.about-rows > div:has(.ab-l) { align-items: center; }
.about-off, .about-off .h2 { color: #737B76; }
.about-off .about-text p { font-size: 16px; }
.about-cta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; border-top: 2px solid var(--ink); padding-top: 40px; }
@media (max-width: 760px) {
  main.about { gap: 48px; }
  .about-top h1 { font-size: 32px; }
  .about-top p { font-size: 17px; }
    .about-rows > div { flex-direction: column; }
  .about-rows > div > strong, .ab-r { text-align: left; align-items: flex-start; }
  .about-cta .btn { flex: 1 1 140px; }
  .about-hero img { aspect-ratio: 900 / 724; max-height: none; }
  .about-hero + main.page { margin-top: -24px; }
  .about-rows > div:has(.ab-l) { align-items: flex-start; }
  .ab-ic { width: 36px; height: 36px; padding: 8px; }
}
.hs-cta .from { font-size: 17px; font-weight: 700; margin-left: 6px; }

/* ---------- 무료 기능 (2026-10-26) ---------- */
.tl-list { display: flex; flex-direction: column; gap: 16px; }
.tl-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: start; gap: 8px 24px; padding: 28px; border: 1px solid var(--line); background: #fff; }
.tl-ic { width: 64px; height: 64px; padding: 15px; border-radius: 50%; background: #FDF3E2; }
.tl-body h2 { margin: 2px 0 6px; font-family: var(--serif); font-weight: 900; font-size: 26px; line-height: 1.3; }
.tl-sub { margin: 0; font-size: 16px; color: var(--muted); }
.tl-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chips li { padding: 4px 10px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; }
.tl-meta { margin: 14px 0 0; font-size: 13px; font-weight: 700; color: var(--rust); }
.tl-go { align-self: center; white-space: nowrap; }
@media (max-width: 760px) {
  .tl-card { grid-template-columns: 52px minmax(0, 1fr); padding: 22px 20px; gap: 8px 16px; }
  .tl-ic { width: 52px; height: 52px; padding: 12px; }
  .tl-body h2 { font-size: 22px; }
  .tl-go { grid-column: 1 / -1; width: 100%; margin-top: 8px; }
}

/* 관리자 쿠폰(2026-10-26) */
.adm-coupons { margin-top: 40px; }
.adm-cp-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin: 12px 0; }
.adm-cp-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.adm-cp-form input, .adm-cp-form select { height: 40px; font-size: 14px; }
.adm-cp-form input[type=number] { width: 90px; }
.adm-cp-made { margin: 12px 0; padding: 14px 16px; background: var(--soft); border: 1px solid var(--line); }
.adm-cp-made p { margin: 8px 0 0; word-break: break-all; }
.adv-table tr.muted td { color: var(--muted); }

/* ---------- 베타 테스트 설문(/beta/, 2026-11-10). 구글 폼처럼 카드 하나에 문항 하나 ---------- */
.bf { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.bf-head { background: #fff; border: 1px solid var(--line); border-top: 8px solid var(--ink); border-radius: 8px; padding: 24px 24px 20px; }
.bf-head h1 { font-size: 26px; margin: 0 0 10px; }
.bf-head p { margin: 0 0 8px; color: var(--muted); }
.bf-req-note { font-size: 13px; }
.bf-req { color: var(--rust); font-weight: 700; }
.bf-sec { font-size: 15px; font-family: var(--sans); color: var(--muted); margin: 18px 4px 0; }
.bf-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; margin: 0; min-width: 0; }
.bf-card.bad { border-color: var(--rust); }
.bf-q { float: left; width: 100%; font-size: 16px; font-weight: 700; padding: 0; margin-bottom: 12px; line-height: 1.5; }
.bf-card > :not(legend) { clear: both; }
.bf-hint { margin: -6px 0 12px; font-size: 13px; color: var(--muted); }
.bf-opts { display: flex; flex-direction: column; gap: 8px; }
.bf-opt { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.bf-opt input[type=radio], .bf-opt input[type=checkbox], .bf-num input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.bf-other { flex-wrap: wrap; }
.bf-other-in { flex: 1 1 200px; min-width: 0; height: 40px; }
.bf-scale { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bf-end { font-size: 13px; color: var(--muted); flex: 0 1 auto; }
.bf-nums { display: flex; gap: 6px; flex-wrap: wrap; }
.bf-num { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; min-width: 30px; font-size: 13px; }
.bf-num span { order: -1; }
.bf-na { margin-top: 10px; font-size: 14px; color: var(--muted); }
.bf-text { width: 100%; min-height: 96px; resize: vertical; }
.bf-err { margin: 10px 0 0; font-size: 13px; color: var(--rust); }
.bf-send { display: flex; justify-content: flex-start; margin-top: 6px; }
.bf-send .btn { min-width: 160px; }
@media (max-width: 560px) {
  .bf-card, .bf-head { padding: 18px 16px; }
  .bf-scale { flex-direction: column; align-items: stretch; }
  .bf-scale .bf-end:first-child { order: 0; }
  .bf-nums { justify-content: space-between; }
  .bf-scale.nps .bf-nums { gap: 2px; }
  .bf-num { min-width: 24px; }
}
