/* 첫 화면 밖의 페이지(새 소식·요금제·FAQ·도움글·무료 도구·도움글 모음·개인정보·약관) — DESIGN §122.
   색·글꼴·단추·머리글·바닥글은 styles.css 그대로 쓰고, 이 페이지들에만 있는 모양만 여기 둔다. */

.site-page p,.site-page h1,.site-page h2,.site-page h3,.site-page li,.site-page summary,.site-page th,.site-page td{word-break:keep-all;overflow-wrap:anywhere}
.top-nav a[aria-current]{color:var(--ink);background:var(--surface-strong)}
.site-tabs{display:none}
.site-page .footer-inner nav a{color:var(--muted)}
.site-page .site-section{border-top:0;padding-top:64px;padding-bottom:96px}
.page-col.narrow{max-width:820px;margin:0 auto}

/* 페이지 제목 줄 */
.page-head{margin-bottom:36px}
.page-head h1{margin-top:8px;font-size:40px;line-height:48px}
.page-head .lede{margin-top:12px;max-width:620px;font-size:16px;line-height:26px;color:var(--ink-2)}
.page-head.center{text-align:center}.page-head.center .lede{margin-left:auto;margin-right:auto}

/* 요금제 */
.site-page .plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.site-page .plan-card{min-height:0}
.site-page .plan-card .plan-guest-note{text-align:center;margin-bottom:12px}
.beta-callout{margin-top:14px;display:flex;gap:14px;align-items:flex-start;padding:18px 20px;border:1px solid #cfe0fb;border-radius:var(--radius-md);background:var(--blue-soft)}
.beta-callout strong{display:block;font-size:14px;line-height:22px}
.beta-callout p{font-size:13px;line-height:21px;color:var(--ink-2)}
.beta-callout .badge{flex:none;font-family:var(--font-mono);font-size:10px;line-height:16px;font-weight:700;letter-spacing:.06em;color:#fff;background:var(--blue);border-radius:999px;padding:3px 9px;margin-top:2px}
.page-more{margin-top:40px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:28px;border-top:1px solid var(--border)}
.page-more p{font-size:14px;line-height:22px;color:var(--ink-2)}

/* 자주 묻는 질문 */
.faq-group{margin-bottom:40px}
.faq-group>h2{font-size:14px;line-height:20px;font-weight:700;color:var(--muted);letter-spacing:0}
.site-page .faq-list{margin-top:10px;max-width:none}
.site-page .faq-list summary{padding-right:28px;position:relative}
.site-page .faq-list summary::after{position:absolute;right:2px;top:20px;float:none;font-size:18px}
.site-page .faq-list details p{padding:0 0 22px;color:var(--ink-2)}

/* 새 소식 */
.news-list{border-top:1px solid var(--border)}
.news-item{padding:28px 0;border-bottom:1px solid var(--border)}
.news-meta{display:flex;align-items:center;gap:10px}
.news-meta time{font-family:var(--font-mono);font-size:12px;line-height:18px;color:var(--muted)}
.news-tag{font-size:11px;line-height:18px;font-weight:700;padding:1px 8px;border-radius:999px;background:var(--surface-strong);color:var(--ink-2)}
.news-tag.new{background:var(--ink);color:#fff}
.news-item h2{margin-top:10px;font-size:19px;line-height:28px;letter-spacing:-.015em}
.news-item p{margin-top:6px;font-size:14px;line-height:24px;color:var(--ink-2)}

.site-page .faq-list a,.news-item a,.article a:not(.cta):not(.read-card),.hub-group p a,.legal-doc a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

/* ── 도움글 · 무료 도구 본문 ───────────────────────────────────────────── */
.article{max-width:720px;margin:0 auto;padding:56px 0 0}
.crumb{font-size:13px;line-height:20px;font-weight:600}
.crumb a{color:var(--blue)!important;text-decoration:none!important}
.crumb a::after{content:"›";margin-left:6px;color:var(--muted)}
.article h1{margin:10px 0 0;font-size:36px;line-height:46px;letter-spacing:-.032em}
.article .lede{margin-top:16px;font-size:18px;line-height:31px;color:var(--ink-2)}
.article h2{margin:56px 0 0;font-size:22px;line-height:32px;letter-spacing:-.02em}
.article h2+p,.article h2+table,.article h2+figure,.article h2+ul,.article h2+ol{margin-top:14px}
.article p,.article li{font-size:16px;line-height:29px;color:var(--ink-2)}
.article p+p{margin-top:16px}
.article ul,.article ol{margin:14px 0 0;padding-left:22px}
.article li+li{margin-top:6px}
.article strong{color:var(--ink)}
.article figure{margin:28px 0 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px}
.article figcaption{margin-top:12px;font-size:13px;line-height:21px;color:var(--muted)}
.article svg{display:block;width:100%;height:auto}
.article table{width:100%;margin-top:20px;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;font-size:15px;line-height:24px}
.article th,.article td{text-align:left;vertical-align:top;padding:13px 16px;border-bottom:1px solid var(--border)}
.article tr:last-child th,.article tr:last-child td{border-bottom:0}
.article th{width:34%;font-weight:650;color:var(--ink);background:#fafafa}
.article td{color:var(--ink-2)}
.article .src{margin-top:12px;font-size:13px;line-height:21px;color:var(--muted)}
.article .src a{color:var(--muted)!important}
.article>table+p:not(.src),.article>figure+p,.article>.src+p{margin-top:22px}

/* 글 끝 안내 상자 — 단추는 원문의 a.cta 그대로 */
.cta-panel{margin-top:56px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;border-radius:var(--radius-lg);background:var(--ink);color:#fff}
.cta-panel strong{display:block;font-size:18px;line-height:27px;color:#fff;letter-spacing:-.01em}
.cta-panel p{margin-top:4px!important;font-size:14px!important;line-height:22px!important;color:#b9bfc7!important}
.cta-panel .cta{flex:none;display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:var(--radius-md);background:var(--blue);color:#fff;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
.cta-panel .cta:hover{background:var(--blue-hover)}

/* 이어서 읽기 · 도움글 모음 카드 */
.read-more{max-width:1040px;margin:80px auto 0;padding:40px 0 96px;border-top:1px solid var(--border)}
.read-more-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.read-more-head h2{font-size:20px;line-height:28px}
.read-more-head a{font-size:14px;font-weight:600;color:var(--ink-2);text-decoration:none}
.read-more-head a::after{content:" →"}
.read-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.read-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.read-card{display:flex;flex-direction:column;gap:8px;padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s}
.read-card:hover{border-color:var(--border-strong);transform:translateY(-2px)}
.read-kind{align-self:flex-start;font-size:11px;line-height:18px;font-weight:700;padding:1px 8px;border-radius:999px;background:var(--surface-strong);color:var(--ink-2)}
.read-card.is-tool .read-kind{background:var(--blue-soft);color:var(--blue)}
.read-card strong{font-size:16px;line-height:24px;letter-spacing:-.01em}
.read-desc{font-size:14px;line-height:22px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hub-group+.hub-group{margin-top:56px}
.hub-group>h2{font-size:22px;line-height:30px}
.hub-group>p{margin-top:6px;font-size:14px;line-height:22px;color:var(--muted)}

/* ── 무료 도구 입력 상자 ───────────────────────────────────────────────── */
.site-page .tool{margin:32px 0 0;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 1px 2px rgba(21,25,31,.04)}
.site-page .tool label{display:block;font-size:14px;line-height:20px;font-weight:700;color:var(--ink);margin-bottom:10px}
.site-page .tool textarea,.site-page .tool input[type=text]{width:100%;font:inherit;font-size:17px;line-height:1.55;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--ink);resize:vertical}
.site-page .tool textarea:focus,.site-page .tool input[type=text]:focus{outline:0;border-color:var(--blue);box-shadow:var(--focus)}
.site-page .tool input[type=file]{font:inherit;font-size:15px;max-width:100%}
.site-page .tool .counts{display:flex;flex-wrap:wrap;gap:4px 22px;align-items:baseline;margin-top:18px}
.site-page .tool .counts p{margin:0}
.site-page .tool .count{font-size:16px;line-height:24px;color:var(--ink-2)}
.site-page .tool .count b{font-size:34px;line-height:40px;letter-spacing:-.03em;color:var(--ink)}
.site-page .tool .count2{font-size:15px;color:var(--muted)}
.site-page .tool .count2 b{color:var(--ink)}
.site-page .tool .sub{margin-top:4px;font-size:14px;line-height:22px;color:var(--muted)}
.site-page .tool .actions{display:flex;gap:8px;margin-top:14px}
.site-page .tool .actions button{font:inherit;font-size:14px;font-weight:600;min-height:38px;padding:0 14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--ink);cursor:pointer}
.site-page .tool .actions button:hover{border-color:var(--border-strong);background:var(--surface-subtle)}
.site-page .tool .scale{position:relative;height:30px;margin:22px 0 4px;border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--surface-strong) 0 23%,#cfe0fa 23% 48%,var(--surface-strong) 48% 100%)}
.site-page .tool .scale span{position:absolute;top:36px;font-family:var(--font-mono);font-size:11px;color:var(--muted);transform:translateX(-50%)}
.site-page .tool .marker{position:absolute;top:-4px;width:3px;height:38px;background:var(--ink);border-radius:2px;transform:translateX(-50%)}
.site-page .tool .legend{margin-top:30px;font-size:13px;line-height:20px;color:var(--muted)}
.site-page .tool .note{margin-top:16px;padding:14px 16px;border-radius:var(--radius-md);background:var(--surface-subtle);font-size:15px;line-height:24px;color:var(--ink)}
.site-page .tool .drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:16/9;max-height:340px;width:100%;margin:0;border:1.5px dashed var(--border-strong);border-radius:var(--radius-md);background:var(--surface-subtle);cursor:pointer;text-align:center;transition:background .15s,border-color .15s}
.site-page .tool .drop:hover,.site-page .tool .drop.over{background:var(--blue-soft);border-color:var(--blue)}
.site-page .tool .drop strong{font-size:18px;line-height:26px;color:var(--ink)}
.site-page .tool .drop span{font-size:14px;color:var(--muted)}
.site-page .tool .drop::before{content:"";width:40px;height:40px;margin-bottom:6px;border-radius:50%;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f444b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E") center/18px no-repeat;border:1px solid var(--border)}
.site-page .tool .facts{margin-top:18px}
.site-page .tool .pv{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start;margin-top:18px}
.site-page .tool .pv figure{margin:0;padding:0;border:0;background:none;border-radius:0}
.site-page .tool .pv .box{aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:var(--surface-strong)}
.site-page .tool .pv img{width:100%;height:100%;object-fit:cover;display:block}
.site-page .tool .pv .pv-title{margin-top:6px;font-size:13px;line-height:1.4;font-weight:600;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.site-page .tool .pv figcaption{margin-top:2px;font-size:12px}
.site-page .tool .dark{background:#16181c;border-radius:var(--radius-md);padding:16px;color:#f1f3f5}
.site-page .tool .dark .pv-title{color:#f1f3f5}
.site-page .tool .dark figcaption{color:#9aa3ad}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ── 개인정보처리방침 · 이용약관 ──────────────────────────────────────── */
.legal-doc{max-width:760px;margin:0 auto;padding:56px 0 96px}
.legal-doc .langs{font-size:13px;line-height:20px;color:var(--muted)}
.legal-doc h1{margin-top:10px;font-size:34px;line-height:44px;letter-spacing:-.03em}
.legal-doc h3{margin-top:36px;font-size:18px;line-height:28px}
.legal-doc p{margin-top:14px;font-size:15px;line-height:27px;color:var(--ink-2)}
.legal-doc p strong{color:var(--ink)}
.legal-doc a{word-break:break-all}
.legal-doc ul{margin-top:12px;padding-left:20px}
.legal-doc li{font-size:15px;line-height:27px;color:var(--ink-2)}

@media(max-width:1000px){
  .site-tabs{display:flex;gap:6px;overflow-x:auto;padding:10px 13px;border-bottom:1px solid var(--border);background:var(--canvas);scrollbar-width:none}
  .site-tabs a{flex:none;font-size:13px;line-height:20px;font-weight:600;color:var(--ink-2);padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}
  .site-tabs a[aria-current]{background:var(--ink);border-color:var(--ink);color:#fff}
  .read-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .site-page .site-section{padding-top:32px;padding-bottom:64px}
  .site-page .content-shell{padding-left:16px;padding-right:16px}
  .page-head{margin-bottom:24px}
  .page-head h1{font-size:30px;line-height:38px}
  .page-head .lede{font-size:15px;line-height:24px}
  .site-page .plan-grid{grid-template-columns:1fr}
  .page-more{flex-direction:column;align-items:flex-start}
  .news-item{padding:22px 0}
  .news-item h2{font-size:17px;line-height:26px}
  .article{padding-top:28px}
  .article h1{font-size:28px;line-height:37px}
  .article .lede{font-size:16px;line-height:28px}
  .article h2{margin-top:44px;font-size:20px;line-height:29px}
  .article figure{padding:14px}
  .article th,.article td{padding:11px 12px;font-size:14px}
  .cta-panel{flex-direction:column;align-items:stretch;padding:22px}
  .cta-panel .cta{justify-content:center}
  .read-more{margin-top:56px;padding:32px 0 64px}
  .read-grid,.read-grid.two{grid-template-columns:1fr}
  .site-page .tool{padding:18px}
  .site-page .tool .count b{font-size:30px}
  .legal-doc{padding:28px 0 64px}
  .legal-doc h1{font-size:28px;line-height:37px}
}
