:root {
    --utomo-surface: #fafaf8;
    --utomo-ink: #252a27;
    --utomo-muted: #59635f;
    --utomo-line: #d7dcda;
    --utomo-subtle: #f0f2ef;
    --utomo-accent: #0b6d85;
    --code-bg: #f6f6f6;
    --code-line: #dddddd;
    --code-ink: #c7254e;
    --utomo-sans: var(--gh-font-body, "Pretendard", "SUIT", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    /* Latin mono first; Hangul falls through to the body sans instead of a wide CJK mono fallback. */
    --utomo-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Pretendard", "SUIT", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", monospace;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 40px;
    --space-6: 64px;
}

* { box-sizing: border-box; }
html { background: var(--utomo-surface); }
body { margin: 0; background: var(--utomo-surface); color: var(--utomo-ink); font-family: var(--utomo-sans); font-size: 16px; line-height: 1.7; }
a { color: var(--utomo-accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--utomo-ink); }
a:focus-visible { outline: 3px solid var(--utomo-accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.site-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); border-bottom: 1px solid var(--utomo-line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--utomo-ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; }
.brand-copy { display: grid; gap: 0; line-height: 1.25; }
.brand-copy strong { font-size: 1rem; font-weight: 700; letter-spacing: -.04em; }
.brand-copy small { color: var(--utomo-muted); font-size: .75rem; letter-spacing: -.02em; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.site-nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.site-nav li { display: contents; }
.site-nav a { color: var(--utomo-muted); font-size: .87rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav .nav-current a { color: var(--utomo-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.site-main { padding: 76px 0 90px; }
.section-label, .post-meta { margin: 0; color: var(--utomo-muted); font-size: .78rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.5; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); column-gap: clamp(40px, 8vw, 120px); row-gap: var(--space-4); padding-bottom: 92px; }
.home-intro .section-label { grid-column: 1 / -1; }
.home-intro h1 { max-width: 13ch; margin: 0; color: var(--utomo-ink); font-size: clamp(2.65rem, 6vw, 5.5rem); font-weight: 700; letter-spacing: -.065em; line-height: 1.12; text-wrap: balance; }
.intro-copy { align-self: end; max-width: 38ch; margin: 0 0 9px; color: var(--utomo-muted); font-size: 1.05rem; line-height: 1.8; }
.reading-criteria { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin: var(--space-5) 0 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--utomo-line); }
.reading-criteria div { min-width: 0; }
.reading-criteria dt { color: var(--utomo-ink); font-size: .9rem; font-weight: 700; }
.reading-criteria dd { margin: var(--space-1) 0 0; color: var(--utomo-muted); font-size: .88rem; line-height: 1.65; }
.post-feed { border-top: 1px solid var(--utomo-line); }
.feed-header { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--utomo-line); }
.feed-header h2 { margin: 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -.03em; }
.feed-header p { margin: 0; color: var(--utomo-muted); font-size: .88rem; }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: var(--space-5) 0 var(--space-6); border-bottom: 1px solid var(--utomo-line); }
.lead-story:has(.lead-image:empty) { grid-template-columns: minmax(0, 1fr); }
.lead-image { display: block; overflow: hidden; background: var(--utomo-subtle); }
.lead-image:empty { display: none; }
.lead-image img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; transition: transform .25s ease; }
.lead-image:hover img, .card-image:hover img { transform: scale(1.02); }
.lead-copy h2, .story-card h2 { margin: 10px 0 0; font-size: clamp(1.55rem, 2.8vw, 2.55rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.27; text-wrap: pretty; }
.lead-copy h2 a, .story-card h2 a { color: var(--utomo-ink); text-decoration: none; }
.lead-copy h2 a:hover, .story-card h2 a:hover { color: var(--utomo-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.lead-copy > p:not(.post-meta), .card-copy p { max-width: 58ch; margin: var(--space-3) 0 0; color: var(--utomo-muted); font-size: .98rem; line-height: 1.75; }
.read-link { display: inline-block; margin-top: var(--space-4); color: var(--utomo-accent); font-size: .92rem; font-weight: 700; text-decoration: underline; }
.story-card { display: grid; grid-template-columns: 170px minmax(0, 1fr) 180px; gap: var(--space-4); align-items: start; padding: 30px 0; border-bottom: 1px solid var(--utomo-line); }
.story-card .post-meta { padding-top: 5px; }
.story-card h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.card-copy p { margin-top: var(--space-2); font-size: .92rem; }
.card-image { display: block; overflow: hidden; background: var(--utomo-subtle); }
.card-image img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; transition: transform .25s ease; }
.article { width: min(100%, 760px); margin: 0 auto; }
.article-header { margin: 0 0 50px; }
.article-header h1, .archive-header h1 { margin: var(--space-2) 0 0; font-size: clamp(2.4rem, 5.5vw, 4.7rem); font-weight: 700; letter-spacing: -.065em; line-height: 1.15; text-wrap: balance; }
.article-header h1 { word-break: keep-all; overflow-wrap: break-word; }
.article-dek { max-width: 60ch; margin: var(--space-4) 0 0; color: var(--utomo-muted); font-size: 1.08rem; line-height: 1.8; }
.article-image { width: min(1100px, calc(100vw - 48px)); margin: 0 50% 52px; transform: translateX(-50%); }
.article-image img { width: 100%; max-height: 680px; object-fit: cover; }
.article-image figcaption { margin-top: var(--space-2); color: var(--utomo-muted); font-size: .82rem; text-align: left; }
.article-content { font-size: 1.08rem; line-height: 1.9; }
.article-content > * + * { margin-top: 1.65em; }
.article-content h2, .article-content h3 { margin-top: 2.5em; color: var(--utomo-ink); font-weight: 700; letter-spacing: -.04em; line-height: 1.3; }
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.35rem; }
.article-content a { text-decoration-thickness: 1px; }
.article-content hr { width: 36px; margin: 42px 0 10px; border: 0; border-top: 1px solid var(--utomo-line); }
.article-content hr + p { margin-top: 0; color: var(--utomo-muted); font-size: .78rem; line-height: 1.55; }
.article-content hr + p a { color: inherit; text-decoration: none; }
.article-content hr + p a:hover { color: var(--utomo-accent); text-decoration: underline; }
.article-content blockquote { margin-right: 0; margin-left: 0; padding-left: var(--space-4); border-left: 3px solid var(--utomo-accent); color: var(--utomo-ink); font-size: 1.2rem; font-weight: 700; line-height: 1.7; }
.article-content code { font-family: var(--utomo-mono); letter-spacing: 0; }
.article-content :not(pre) > code { padding: .1em .32em; border: 1px solid var(--code-line); border-radius: 3px; background: var(--code-bg); color: var(--code-ink); font-size: .86em; font-weight: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: break-word; }
.article-content a > code { color: inherit; }
.article-content h2 code, .article-content h3 code { font-size: .84em; }
.article-content pre { overflow-x: auto; padding: 1.25rem 1.5rem; border: 1px solid var(--code-line); border-radius: 4px; background: var(--code-bg); color: var(--utomo-ink); font-size: .9rem; line-height: 1.7; scrollbar-width: thin; scrollbar-color: var(--utomo-line) transparent; }
.article-content pre code { padding: 0; background: none; font-size: inherit; white-space: pre; }
.code-copy-wrap { position: relative; margin: 1.65em 0; }
.code-copy-wrap pre { margin: 0; padding-right: 3.75rem; }
.code-copy { position: absolute; top: .6rem; right: .6rem; display: grid; width: 2rem; height: 2rem; place-items: center; padding: 0; border: 1px solid var(--utomo-line); border-radius: 6px; background: var(--utomo-surface); color: var(--utomo-muted); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.code-copy svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.code-copy:hover { background: #fff; color: var(--utomo-ink); }
.code-copy:focus-visible { outline: 3px solid var(--utomo-accent); outline-offset: 2px; }
.article-content .kg-width-wide { width: min(1080px, calc(100vw - 48px)); margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.article-content .kg-width-full { width: 100vw; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.article-content .kg-width-full img, .article-content .kg-width-wide img { width: 100%; }
.article-content .kg-image-card img { width: 100%; height: auto; }

/* Editorial diagrams need their full pixel width on phones; captions retain reading gutters. */
@media (max-width: 600px) {
  .article-content .kg-image-card { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .article-content .kg-image-card figcaption { margin-left: 24px; margin-right: 24px; }
}
.article-footer { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--utomo-line); }
.article-footer p { margin: 0 var(--space-2) 0 0; color: var(--utomo-muted); font-size: .82rem; }
.article-footer a { color: var(--utomo-accent); font-size: .82rem; }
.post-pagination { max-width: 760px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-4) auto 0; padding-top: var(--space-4); border-top: 1px solid var(--utomo-line); }
.post-pagination a { font-size: .78rem; color: var(--utomo-muted); }
.post-pagination__next { text-align: right; }
.post-pagination strong { color: var(--utomo-ink); font-size: .95rem; line-height: 1.45; }
.related-posts { max-width: 760px; margin: var(--space-4) auto 0; padding-top: var(--space-4); border-top: 1px solid var(--utomo-line); }
.related-posts h2 { margin: 0 0 var(--space-3); font-size: .82rem; font-weight: 700; color: var(--utomo-muted); }
.related-posts ul { margin: 0; padding: 0; list-style: none; }
.related-posts li + li { margin-top: var(--space-2); }
.related-posts a { font-size: .95rem; font-weight: 700; line-height: 1.45; }
.reliability-demo { --reliability-accent: #6c4fd8; margin: 2rem 0; padding: 1.25rem; border: 1px solid var(--utomo-line); border-radius: .75rem; background: #fff; }
.reliability-demo__title { margin: 0 0 1.1rem; font-size: .95rem; font-weight: 700; }
.reliability-demo__label { margin: 1rem 0 .45rem; color: var(--utomo-muted); font-size: .82rem; }
.reliability-demo__rates { display: flex; flex-wrap: wrap; gap: .4rem; }
.reliability-demo__rates button { min-height: 2.5rem; padding: .35rem .75rem; border: 1px solid var(--utomo-line); border-radius: .4rem; background: #fff; color: var(--utomo-ink); font: inherit; cursor: pointer; }
.reliability-demo__rates button[aria-pressed="true"] { border-color: var(--reliability-accent); background: var(--reliability-accent); color: #fff; font-weight: 700; }
.reliability-demo input[type="range"] { width: 100%; accent-color: var(--reliability-accent); }
.reliability-demo__value { margin: 1rem 0 .2rem; color: var(--reliability-accent); font-size: 2rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.reliability-demo__description, .reliability-demo__context { margin: .25rem 0 0; color: var(--utomo-muted); font-size: .88rem; line-height: 1.55; }
.reliability-demo__bar { height: .6rem; margin-top: .9rem; overflow: hidden; border-radius: 1rem; background: #eee; }
.reliability-demo__bar i { display: block; height: 100%; border-radius: inherit; background: var(--reliability-accent); transition: width .2s ease; }
@media (prefers-reduced-motion: reduce) { .reliability-demo__bar i { transition: none; } }
.archive-header { max-width: 760px; margin-bottom: var(--space-6); }
.archive-header > p:not(.section-label) { max-width: 52ch; margin: var(--space-3) 0 0; color: var(--utomo-muted); }
.archive-grid { border-top: 1px solid var(--utomo-line); }
.pagination { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); }
.pagination a { font-size: .9rem; font-weight: 700; }
.empty-state { max-width: 680px; padding: 50px 0 90px; }
.empty-state h2 { margin: var(--space-2) 0 0; font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 700; letter-spacing: -.06em; line-height: 1.18; }
.empty-state p:not(.section-label) { max-width: 42ch; margin: var(--space-3) 0 0; color: var(--utomo-muted); }
.site-footer { display: flex; justify-content: space-between; gap: var(--space-4); padding: 26px 0 40px; border-top: 1px solid var(--utomo-line); color: var(--utomo-muted); font-size: .78rem; }
.site-footer p { margin: 0; }
.footer-title { color: var(--utomo-ink); font-weight: 700; margin-bottom: 6px !important; }
.footer-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 10px; text-align: right; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
.footer-legal a { color: var(--utomo-muted); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--utomo-ink); }
.article-content table { width: 100%; margin: 0; border-collapse: collapse; }
.article-content th, .article-content td { padding: 15px 0; border-top: 1px solid var(--utomo-line); text-align: left; vertical-align: top; }
.article-content tr:last-child th, .article-content tr:last-child td { border-bottom: 1px solid var(--utomo-line); }
.article-content th { width: 168px; padding-right: var(--space-3); color: var(--utomo-muted); font-weight: 700; }
.article-content td { padding-left: 0; }
/* Comparison tables retain their authored label/data proportions after Ghost removes draft-local CSS. */
.article-content table.gates { table-layout: fixed; }
.article-content table.gates th:first-child,
.article-content table.gates td:first-child { width: 22%; padding-right: var(--space-3); }
.article-content table.gates th:not(:first-child),
.article-content table.gates td:not(:first-child) { width: 39%; }
.article-content table.gates th + th,
.article-content table.gates td + td { padding-left: var(--space-3); border-left: 1px solid var(--utomo-line); }

@media (max-width: 780px) {
    .site-shell { width: min(100% - 32px, 1180px); }
    .site-header { align-items: flex-start; flex-direction: column; padding: 18px 0; gap: 14px; }
    .site-nav { justify-content: flex-start; gap: 16px; }
    .site-main { padding: 48px 0 64px; }
    .home-intro { display: block; padding-bottom: 64px; }
    .home-intro h1 { margin-top: var(--space-3); }
    .intro-copy { margin-top: var(--space-4); }
    .reading-criteria { grid-template-columns: 1fr; gap: var(--space-3); }
    .lead-story { grid-template-columns: 1fr; padding: 32px 0 48px; }
    .story-card { grid-template-columns: 1fr; gap: var(--space-2); }
    .story-card .post-meta { padding-top: 0; }
    .card-image { display: none; }
    .article-content { font-size: 1rem; }
    .article-image { width: 100%; margin: 0 0 40px; transform: none; }
    .site-footer { flex-direction: column; }
    .footer-meta { align-items: flex-start; text-align: left; }
    .footer-legal { justify-content: flex-start; }
    .article-content th, .article-content td { display: block; width: 100%; padding: 10px 0; border: 0; }
    .article-content th { padding-top: 14px; }
    .article-content td { padding-bottom: 14px; border-bottom: 1px solid var(--utomo-line); }
    .article-content table[data-utomo-responsive-table] { display: block; width: 100%; max-width: 100%; table-layout: auto; }
    .article-content table[data-utomo-responsive-table] thead {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }
    .article-content table[data-utomo-responsive-table] tbody,
    .article-content table[data-utomo-responsive-table] tr { display: block; width: 100%; }
    .article-content table[data-utomo-responsive-table] tbody tr { padding: var(--space-3) 0; border-bottom: 1px solid var(--utomo-line); }
    .article-content table[data-utomo-responsive-table] tbody th,
    .article-content table[data-utomo-responsive-table] tbody td { border: 0; }
    .article-content table.gates th + th,
    .article-content table.gates td + td { padding-left: 0; border-left: 0; }
    .article-content table[data-utomo-responsive-table] tbody th::before,
    .article-content table[data-utomo-responsive-table] tbody td::before { content: attr(data-utomo-label); display: block; margin-bottom: 4px; color: var(--utomo-muted); font-size: .82rem; font-weight: 700; }
    .article-content table[data-utomo-responsive-table] tbody th:first-child,
    .article-content table[data-utomo-responsive-table] tbody td:first-child { padding-top: 0; color: var(--utomo-muted); font-weight: 700; }
    .article-content table[data-utomo-responsive-table] code { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.utomo-lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; flex-direction: column; gap: var(--space-3); padding: var(--space-4); background: rgba(20, 24, 22, .92); cursor: zoom-out; }
.utomo-lightbox.is-open { display: flex; }
.utomo-lightbox img { display: block; width: auto; height: auto; max-width: min(96vw, 1600px); max-height: 88vh; object-fit: contain; cursor: default; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.utomo-lightbox-caption { max-width: 80ch; margin: 0; color: #f0f2ef; font-size: .88rem; line-height: 1.6; text-align: center; }
.utomo-lightbox-caption:empty { display: none; }
body.utomo-lightbox-lock { overflow: hidden; }
