:root {
  color-scheme: light;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color: #211d2f;
  background: #fff;
  --iris: #5540a6;
  --muted: #625c71;
  --line: #e9e5f0;
  --lavender: #f2edff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #755de0; outline-offset: 4px; border-radius: 3px; }
.wrap { width: min(100% - 48px, 1060px); margin-inline: auto; }
.skip { position: absolute; top: -80px; padding: 10px 16px; background: white; z-index: 10; }
.skip:focus { top: 8px; left: 8px; }
.masthead { border-bottom: 1px solid var(--line); background: white; }
.mastrow, .footrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.04em; }
.mark { display: grid; place-items: center; width: 31px; height: 31px; background: var(--iris); color: white; border-radius: 10px; font-size: 14px; }
.service, .footrow > a:last-child { color: var(--iris); font-size: 14px; font-weight: 680; }
.service:hover, .footrow a:hover { text-decoration: underline; }
.hero { background: #f5f1ff; overflow: hidden; }
.hero-inner { min-height: 282px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.hero-inner > div:first-child { position: relative; z-index: 1; padding: 46px 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.35rem, 6vw, 4.15rem); line-height: 1.14; letter-spacing: -.075em; overflow-wrap: anywhere; }
h2 { font-size: 24px; letter-spacing: -.045em; line-height: 1.3; }
.hero p, .topic-hero p { max-width: 29rem; margin-top: 16px; color: var(--muted); line-height: 1.7; word-break: keep-all; }
.hero-art { position: absolute; right: 7%; top: 50%; width: 245px; height: 214px; transform: translateY(-50%) rotate(-14deg); }
.hero-art i { position: absolute; width: 146px; height: 182px; left: 51px; top: 14px; border: 1px solid #d1bfef; border-radius: 20px; background: #e6d9ff; transform: rotate(-16deg); box-shadow: 0 12px 34px #51407c16; }
.hero-art i:nth-child(2) { transform: translateX(22px) rotate(7deg); background: #f8f3ff; }
.hero-art i:nth-child(3) { transform: translateX(44px) rotate(27deg); background: linear-gradient(#fff, #f9f5ff); }
.hero-art i:nth-child(3)::after { content: ""; position: absolute; inset: 40px 22px auto; height: 68px; border-radius: 5px; background: repeating-linear-gradient(to bottom, #dfd2fa 0 5px, transparent 5px 20px); }
.main-wrap { padding: 42px 0 64px; min-height: 310px; }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 17px; }
.topic-card { position: relative; min-width: 0; display: grid; min-height: 124px; align-content: center; gap: 9px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.topic-card:hover { border-color: #bdaaf1; background: #fcfaff; }
.topic-name { padding-right: 22px; font-weight: 760; letter-spacing: -.03em; }
.arrow { position: absolute; top: 16px; right: 17px; color: var(--iris); }
.topic-description, .post-row p { font-size: 14px; color: var(--muted); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.recent { margin-top: 45px; }
.empty { margin-top: 17px; padding: 25px 20px; border: 1px dashed #ded6ed; border-radius: 14px; color: var(--muted); background: #fbfaff; font-size: 14px; }
.post-list { margin-top: 12px; }
.post-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--iris); font-size: 13px; font-weight: 750; }
.post-row h3 { font-size: clamp(1.12rem, 3vw, 1.45rem); margin: 7px 0; letter-spacing: -.035em; overflow-wrap: anywhere; }
.post-row h3 a:hover, .related a:hover { text-decoration: underline; }
.post-row time, .byline { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }
.post-cover img { display: block; width: clamp(80px, 16vw, 132px); height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 11px; background: var(--lavender); }
.pagination { display: flex; gap: 16px; margin-top: 25px; color: var(--iris); }
.pagination a { text-decoration: underline; }
.crumb { color: var(--muted); line-height: 1.6; margin-bottom: 27px; font-size: 13px; }
.crumb a { color: var(--iris); }
.topic-hero { margin-bottom: 42px; }
.article-wrap { max-width: 760px; padding: 32px 0 68px; }
.article-header h1 { font-size: clamp(2.15rem, 6vw, 3.65rem); }
.deck { font-size: clamp(1rem, 3vw, 1.25rem); line-height: 1.65; color: var(--muted); margin-top: 17px; }
.byline { margin-top: 17px; }
.article-cover { width: 100%; height: auto; border-radius: 18px; margin-top: 27px; }
.prose { font-size: clamp(1rem, 2.2vw, 1.12rem); line-height: 1.85; overflow-wrap: anywhere; margin-top: 28px; }
.prose h2, .prose h3, .prose h4 { margin: 1.45em 0 .45em; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--iris); text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: 9px; }
.prose [data-font-size="12"] { font-size: 12px; }
.prose [data-font-size="14"] { font-size: 14px; }
.prose [data-font-size="16"] { font-size: 16px; }
.prose [data-font-size="18"] { font-size: 18px; }
.prose [data-font-size="20"] { font-size: 20px; }
.prose [data-font-size="24"] { font-size: 24px; }
.prose [data-font-size="28"] { font-size: 28px; }
.prose [data-font-size="32"] { font-size: 32px; }
.prose blockquote { margin: 1em 0; border-left: 3px solid #c8b6f6; padding: 8px 16px; background: #faf8ff; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose pre, .prose table { display: block; overflow-x: auto; }
.prose table { border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose pre { padding: 13px; background: #faf8ff; }
.related { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 26px; }
.related li { margin: 10px 0; color: var(--iris); }
.footer { border-top: 1px solid var(--line); background: #faf9fd; }
@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .mastrow, .footrow { min-height: 59px; }
  .hero-inner { min-height: 217px; }
  .hero p { max-width: 235px; }
  .hero-art { right: -9%; transform: translateY(-50%) scale(.64) rotate(-14deg); opacity: .60; }
  .topics-grid { grid-template-columns: 1fr; gap: 8px; }
  .topic-card { min-height: auto; padding: 15px; gap: 5px; }
  .main-wrap { padding-top: 31px; }
  .recent { margin-top: 32px; }
}
@media (max-width: 365px) { .hero-art { right: -18%; opacity: .38; } }
