/* 소식지 호수형 — 종이 같은 미색, IBM Plex Sans KR, 남색 잉크 하나 */
:root {
  --paper: #F6F2E9; --sheet: #FFFDF8; --ink: #1F1D19; --ink2: #4B473F; --muted: #8A8478; --line: #E4DDCD; --line2: #D3CAB6;
  --blue: #2A4F7A; --blue-d: #1E3B5D; --blue-soft: #E6ECF2;
  --font: 'IBM Plex Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15.5px/1.7 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 머리글 */
.nl-top { border-bottom: 1px solid var(--line); background: var(--paper); }
.nl-top__in { max-width: 960px; margin: 0 auto; padding: 0 20px; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nl-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.nl-logo .brand__mark { width: 24px; height: 24px; color: var(--blue); }
.nl-nav { display: flex; gap: 4px; }
.nl-nav a { padding: 6px 10px; border-radius: 4px; text-decoration: none; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.nl-nav a:hover { background: var(--sheet); }
.nl-nav a.is-on { color: var(--blue); font-weight: 600; }

/* 버튼·구독칸 */
.nl-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--blue); border-radius: 4px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.nl-btn:hover { background: var(--blue-d); }
.nl-btn--line { background: transparent; color: var(--ink2); border-color: var(--line2); }
.nl-btn--line:hover { background: var(--sheet); }
.nl-btn--wide { width: 100%; padding: 13px; }
.nl-link { padding: 0; border: 0; background: none; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nl-link:hover { color: var(--ink); }
.nl-sub { display: flex; gap: 6px; margin-top: 14px; }
.nl-sub input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 4px; background: #fff; font-size: 15px; outline: 0; }
.nl-sub input:focus { border-color: var(--blue); }
.nl-sub--big { max-width: 440px; margin: 24px auto 0; }
.nl-sub--big input { padding: 13px 14px; font-size: 16px; }
.nl-sub--big .nl-btn { padding: 0 22px; }

/* 첫 방문 구독칸 */
.nl-hello { max-width: 640px; margin: 0 auto; padding: 64px 20px 44px; text-align: center; border-bottom: 1px solid var(--line); }
.nl-hello__mark { width: 64px; height: 64px; margin: 0 auto 20px; }
.nl-hello__mark .brand__mark { width: 64px; height: 64px; color: var(--blue); }
.nl-hello__t { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.nl-hello__s { max-width: 460px; margin: 12px auto 0; color: var(--ink2); }
.nl-hello__n { margin: 14px 0 10px; font-size: 13.5px; color: var(--muted); }
.nl-mini { max-width: 600px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--ink2); border-bottom: 1px solid var(--line); }

/* 아카이브 */
.nl-wrap { max-width: 600px; margin: 0 auto; padding: 26px 20px 60px; }
.nl-tabs { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line2); }
.nl-tabs__main { display: flex; gap: 22px; }
.nl-tabs__main a { padding: 12px 0; text-decoration: none; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.nl-tabs__main a.is-on { color: var(--ink); font-weight: 600; border-color: var(--ink); }
.nl-find { display: flex; align-items: center; gap: 6px; color: var(--muted); min-width: 0; }
.nl-find input { width: 150px; min-width: 0; padding: 6px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; font-size: 14px; outline: 0; }
.nl-find input:focus { border-color: var(--blue); }
.nl-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; }
.nl-cats a { padding: 4px 11px; border: 1px solid var(--line2); border-radius: 99px; font-size: 13px; text-decoration: none; color: var(--ink2); white-space: nowrap; }
.nl-cats a:hover { border-color: var(--ink2); }
.nl-cats a.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.nl-tags { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 12px 0 6px; font-size: 13px; color: var(--muted); }
.nl-tags span { font-weight: 600; color: var(--ink2); margin-right: 2px; }
.nl-tags a { text-decoration: none; }
.nl-tags a:hover { color: var(--ink); }
.nl-tags a.is-on { color: var(--blue); font-weight: 600; }
.nl-sum { padding: 16px 0 0; font-size: 14px; color: var(--ink2); }
.nl-sum a { margin-left: 6px; color: var(--blue); }
.nl-empty { padding: 36px 0; color: var(--muted); }
.nl-month { margin: 30px 0 0; padding-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue); border-bottom: 1px solid var(--line); }
.nl-row > a { display: grid; grid-template-columns: 1fr 150px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.nl-row--text > a { grid-template-columns: 1fr; }
.nl-row__no { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.nl-row__t { font-size: 18.5px; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; }
.nl-row > a:hover .nl-row__t { color: var(--blue); }
.nl-row__s { margin-top: 4px; font-size: 14.5px; color: var(--ink2); }
.nl-row__m { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.nl-row__img { width: 150px; height: 84px; object-fit: cover; border-radius: 3px; display: block; }

/* 글 보기 */
.nl-read { max-width: 660px; margin: 0 auto; padding: 36px 20px 64px; }
.nl-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.nl-back:hover { color: var(--ink); }
.nl-read__no { margin-top: 26px; font-size: 13px; font-weight: 600; color: var(--blue); }
.nl-read__no a { text-decoration: none; }
.nl-read__t { margin-top: 8px; font-size: 32px; font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; }
.nl-read__s { margin-top: 10px; font-size: 18px; color: var(--ink2); line-height: 1.55; }
.nl-byline { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.5; }
.nl-byline b { color: var(--ink); font-weight: 600; }
.nl-byline__pic .brand__mark { width: 34px; height: 34px; color: var(--blue); display: block; }
.nl-read__img { display: block; width: 100%; height: auto; margin-top: 28px; border-radius: 3px; }
.nl-prose { margin-top: 28px; font-size: 17px; line-height: 1.85; color: #2A2723; }
.nl-prose p, .nl-prose ul, .nl-prose ol { margin: 0 0 1.25em; }
.nl-prose h2 { margin: 1.9em 0 .6em; font-size: 22px; line-height: 1.4; letter-spacing: -0.02em; }
.nl-prose h3 { margin: 1.5em 0 .5em; font-size: 18px; }
.nl-prose ul, .nl-prose ol { padding-left: 1.3em; }
.nl-prose strong { font-weight: 700; }
.nl-prose a { color: var(--blue); }
.nl-box { margin: 36px 0; padding: 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; text-align: center; font-size: 15px; color: var(--ink2); }
.nl-box--mid { margin: 30px 0 34px; }
.nl-box__t { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.nl-box .nl-sub { max-width: 420px; margin-left: auto; margin-right: auto; }
.nl-tags--post a { padding: 3px 10px; background: var(--sheet); border: 1px solid var(--line); border-radius: 99px; }
.nl-cta { margin-top: 30px; padding: 26px; background: var(--blue); color: #E9EEF4; border-radius: 4px; font-size: 15px; }
.nl-cta__t { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.nl-cta .nl-btn { margin-top: 16px; background: #fff; color: var(--blue); border-color: #fff; }
.nl-cta .nl-btn:hover { background: var(--paper); }
.nl-next { display: grid; gap: 10px; }
.nl-next a, .nl-next__none { display: block; padding: 18px 20px; border: 1px solid var(--line2); border-radius: 4px; text-decoration: none; background: var(--sheet); }
.nl-next a:hover { border-color: var(--blue); }
.nl-next small { display: block; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.nl-next span { display: block; margin-top: 2px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.nl-next__none span { font-size: 14.5px; font-weight: 400; color: var(--ink2); }
.nl-next .nl-next__prev { background: transparent; }
.nl-next .nl-next__prev small { color: var(--muted); }
.nl-next .nl-next__prev span { font-size: 15px; font-weight: 600; }

/* 상담 */
.nl-from { margin-top: 18px; padding: 12px 14px; background: var(--blue-soft); border-radius: 4px; font-size: 14px; color: var(--ink2); }
.nl-from b { color: var(--ink); }
.nl-form { margin-top: 26px; display: grid; gap: 16px; padding: 26px; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; }
.nl-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nl-field { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.nl-field input, .nl-field select, .nl-field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line2); border-radius: 4px; background: #fff; font-size: 15.5px; font-weight: 400; outline: 0; }
.nl-field textarea { resize: vertical; }
.nl-field input:focus, .nl-field select:focus, .nl-field textarea:focus { border-color: var(--blue); }
.nl-err { color: #A63A2E; font-size: 14px; }
.nl-err:empty { display: none; }
.nl-hint { font-size: 12.5px; color: var(--muted); }
.nl-thanks { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }

/* 바닥글 */
.nl-foot { border-top: 1px solid var(--line2); background: #EFE9DC; }
.nl-foot__in { max-width: 600px; margin: 0 auto; padding: 30px 20px 36px; font-size: 13px; color: var(--ink2); display: grid; gap: 10px; justify-items: start; }
.nl-foot__note { color: var(--muted); }
.nl-foot .nl-btn--line { padding: 7px 14px; font-size: 13px; }
.nl-dock { display: none; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 60; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .nl-nav a { padding: 6px 7px; font-size: 13.5px; }
  .nl-hello { padding: 44px 20px 32px; }
  .nl-hello__t { font-size: 29px; }
  .nl-find input { width: 110px; }
  .nl-row > a { grid-template-columns: 1fr 72px; gap: 14px; align-items: start; }
  .nl-row__img { width: 72px; height: 72px; }
  .nl-row__t { font-size: 16.5px; }
  .nl-row__s { font-size: 14px; }
  .nl-read__t { font-size: 26px; }
  .nl-read__s { font-size: 16px; }
  .nl-prose { font-size: 16px; }
  .nl-form { padding: 18px; }
  .nl-form__two { grid-template-columns: 1fr; }
  .nl-sub--big { flex-direction: column; }
  .nl-sub--big .nl-btn { padding: 12px; }
  /* 구독칸은 아래 고정 띠로 */
  .nl-dock { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; }
  .nl-dock > span { white-space: nowrap; }
  .nl-sub--dock { flex: 1; margin: 0; }
  .nl-sub--dock input { padding: 8px 10px; font-size: 14px; border-color: transparent; }
  .nl-sub--dock .nl-btn { padding: 8px 12px; background: #fff; color: var(--ink); border-color: #fff; }
  .nl-foot { padding-bottom: 60px; }
}
