:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  color: #f4efe7;
  background: #070a10;
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 92, 170, .32), transparent 34rem),
    radial-gradient(circle at 85% 18%, rgba(37, 120, 158, .16), transparent 28rem),
    linear-gradient(135deg, #070a10 0%, #0a0f19 42%, #05070b 100%);
}
a { color: inherit; text-decoration: none; }
button, a, input, textarea { font: inherit; }
button { cursor: pointer; }
button, input, textarea { border: 0; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; color: #000; padding: .7rem 1rem; border-radius: .75rem; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: .95rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7, 10, 16, .78);
  backdrop-filter: blur(20px);
}
.brand { color: #fff; font-weight: 850; letter-spacing: -.035em; font-size: 1.08rem; text-align: left; }
.brand span { color: #8eb4ff; }
.nav, .footer-nav { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.nav { justify-content: center; }
.nav a, .footer-nav a, .textlink, .pager a, .ghost {
  background: none; color: #cdd8ea; border-radius: 999px; padding: .55rem .75rem;
}
.nav a[aria-current='page'], .nav a:hover, .footer-nav a:hover, .textlink:hover { color: #fff; background: rgba(255,255,255,.07); }
.menu-button { display: none; background: rgba(255,255,255,.07); color: #fff; border-radius: 999px; padding: .55rem .75rem; }
.nav-cta, .btn, .category-tile, .search-submit {
  border: 1px solid rgba(142,180,255,.34);
  background: linear-gradient(135deg, rgba(39, 67, 122, .94), rgba(17, 24, 39, .94));
  color: #f8fbff; border-radius: 999px; padding: .78rem 1rem;
  box-shadow: 0 16px 44px rgba(12, 24, 50, .2);
}
.ghost { border: 1px solid rgba(255,255,255,.13); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #81d4ff; outline-offset: 3px; }
.site-main { width: min(1160px, 100%); margin: auto; padding: clamp(1.1rem, 4vw, 4rem); }
section { margin: 0 0 clamp(3rem, 7vw, 5rem); }
.hero-copy, .hero-panel, .featured > *, .card, .section-head > * { min-width: 0; }
.layout-grid, .featured { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; }
.hero { min-height: 56vh; padding: clamp(2rem, 7vw, 6rem) 0; }
.eyebrow, .meta, .panel-kicker { color: #83c5ff; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 750; overflow-wrap: anywhere; }
h1, h2, h3 { color: #fff; letter-spacing: -.055em; line-height: 1.02; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.45rem, 7vw, 5.8rem); margin: .22em 0; }
h2 { font-size: clamp(1.7rem, 4vw, 3.1rem); margin: .25em 0 .55em; }
h3 { font-size: 1.28rem; line-height: 1.22; margin: .55rem 0; }
.hero h1 span { display: block; }
.hero-lead, .lead, .featured p, .prose p, .entry-content p { color: #c4ccda; font-size: clamp(1.03rem, 2vw, 1.18rem); line-height: 1.76; max-width: 760px; overflow-wrap: anywhere; word-break: break-all; }
.hero-actions, .section-head { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hero-actions { justify-content: flex-start; margin-top: 1.4rem; }
.hero-panel, .featured, .card, .empty, .note, .visual, .toc, .search-form {
  border: 1px solid rgba(255,255,255,.11);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.032));
  border-radius: 28px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(22px) saturate(125%);
}
.hero-panel ol { color: #dce6f5; line-height: 2; padding-left: 1.25rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { overflow: hidden; padding: 0; }
.card-body { padding: 1.15rem; }
.card p, .entry-content li { color: #c7cfdd; line-height: 1.76; overflow-wrap: anywhere; word-break: break-all; }
.card.compact .thumb { min-height: 110px; }
.thumb, .feature-visual, .visual {
  min-height: 180px; width: 100%; display: grid; place-items: end start; padding: 1rem;
  color: #f8fbff; border-radius: 24px; text-align: left;
  background: radial-gradient(circle at 30% 0%, rgba(142,180,255,.56), transparent 18rem), linear-gradient(135deg, #10223d, #090d15);
}
.thumb { border-radius: 28px 28px 0 0; }
.thumb span, .feature-visual span, .visual span { padding: .35rem .55rem; border-radius: 999px; background: rgba(0,0,0,.32); color: #ddecff; }
.feature-visual { min-height: 300px; place-items: end stretch; }
.feature-visual strong, .visual strong { display: block; margin-top: .8rem; font-size: clamp(1.3rem, 3vw, 2rem); }
.tone-cyan { background: radial-gradient(circle at 30% 0%, rgba(59, 201, 219, .55), transparent 18rem), linear-gradient(135deg, #0d2634, #080d14); }
.tone-violet, .tone-indigo { background: radial-gradient(circle at 30% 0%, rgba(158, 120, 255, .55), transparent 18rem), linear-gradient(135deg, #211238, #080d14); }
.tone-green { background: radial-gradient(circle at 30% 0%, rgba(94, 224, 160, .45), transparent 18rem), linear-gradient(135deg, #102b22, #080d14); }
.tone-orange, .tone-amber { background: radial-gradient(circle at 30% 0%, rgba(245, 169, 87, .48), transparent 18rem), linear-gradient(135deg, #33200f, #080d14); }
.tone-slate { background: radial-gradient(circle at 30% 0%, rgba(148, 163, 184, .4), transparent 18rem), linear-gradient(135deg, #1b2432, #080d14); }
.tags, .category-grid { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.tags a, .badge { color: #bad7ff; background: #102033; border: 1px solid rgba(150,190,255,.18); padding: .35rem .55rem; border-radius: 999px; font-size: .82rem; }
.tags a:hover { color: #fff; border-color: rgba(129,212,255,.65); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-tile { border-radius: 24px; text-align: left; display: grid; gap: .35rem; }
.category-tile span { font-size: 1.25rem; font-weight: 800; }
.category-tile small { color: #b8c5d8; }
.article { max-width: 880px; }
.article h1 { font-size: clamp(2.2rem, 5.2vw, 4.7rem); }
.visual { position: relative; min-height: 250px; margin: 2rem 0; place-items: end start; overflow: hidden; border: 1px solid rgba(178, 210, 255, .16); }
.toc { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1rem 0 2rem; }
.toc a { color: #a8c7ff; }
.entry-content h2 { margin-top: 2.5rem; }
.entry-content blockquote {
  margin: 2.2rem 0; padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid rgba(178, 210, 255, .14); border-radius: 24px;
  background: radial-gradient(circle at 12% 18%, rgba(142,180,255,.10), transparent 14rem), linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  box-shadow: 0 18px 54px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
  color: #eef5ff; font-size: clamp(1.05rem, 2vw, 1.28rem); font-weight: 680; letter-spacing: -.025em; line-height: 1.65;
}
.entry-content ul { color: #d4dceb; line-height: 1.95; }
.pager { display: flex; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
input, textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); background: #0c111c; color: #fff; border-radius: 16px; padding: .9rem; }
.search-form { display: flex; gap: .75rem; align-items: center; margin-bottom: 2rem; }
.prose { max-width: 820px; }
.site-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 2rem clamp(1rem, 4vw, 4rem); color: #aeb8c8; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer strong { color: #fff; }
.site-footer p { max-width: 440px; line-height: 1.65; }
@media (max-width: 1200px) {
  .site-main { padding-inline: 1rem; }
  .layout-grid, .featured, .grid, .category-grid { grid-template-columns: 1fr; }
  .hero-copy, .article, .prose, .entry-content, .hero-lead, .lead, .visual, .featured, .card, .hero-panel, .category-grid, .grid { max-width: min(100%, 358px); }
  h1 { font-size: clamp(2.05rem, 9vw, 2.85rem); }
  .article h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: inline-flex; justify-self: end; }
  .nav { grid-column: 1 / -1; display: none; justify-content: flex-start; }
  .nav.open { display: flex; }
  .nav-cta { display: none; }
  .layout-grid, .featured, .grid, .category-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  h1, .article h1 { letter-spacing: -.045em; overflow-wrap: anywhere; }
  .hero h1 span { display: inline; }
  .brand { font-size: 1rem; }
  .feature-visual, .visual { min-height: 220px; }
}
@media (max-width: 520px) {
  .site-main { padding-inline: 1rem; }
  .hero-actions, .section-head, .pager, .search-form { align-items: stretch; flex-direction: column; }
  .btn, .ghost, .textlink, .pager a, .search-submit { width: 100%; text-align: center; }
  .tags { gap: .42rem; }
  .tags a, .badge { font-size: .86rem; padding: .42rem .58rem; }
  .hero-lead, .lead, .featured p, .prose p, .entry-content p, .card p, .entry-content li, .meta, .eyebrow { word-break: break-all; overflow-wrap: anywhere; }
  .hero-panel, .featured, .card, .empty, .note, .visual, .toc { border-radius: 22px; }
  .site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .brand { max-width: calc(100% - 5rem); white-space: normal; }
  .nav.open { width: 100%; }
  h1 { font-size: clamp(2.05rem, 12vw, 2.95rem); line-height: 1.05; }
  h2 { font-size: clamp(1.45rem, 8vw, 2.15rem); }
  .hero h1 span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
