@charset "UTF-8";
:root { color-scheme: light; --bg: #f7f8fa; --surface: #fff; --ink: #17202e; --muted: #626d7e; --line: #dce1e8; --accent: #254bdf; --tint: #eaf0ff; --code: #edf0f5; --max: 1160px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #11151d; --surface: #191f2a; --ink: #e5eaf3; --muted: #a0acbe; --line: #303a49; --accent: #91acff; --tint: #222f50; --code: #242c39; }
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #11151d; --surface: #191f2a; --ink: #e5eaf3; --muted: #a0acbe; --line: #303a49; --accent: #91acff; --tint: #222f50; --code: #242c39; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
[hidden] { display: none !important; }
::selection { background: #cad8ff; color: #17202e; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 10px; left: 10px; padding: 8px 16px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: white; background: #254bdf; font: 700 18px/1 Consolas, monospace; }
.brand small { font: 400 12px/1.2 Consolas, monospace; color: var(--muted); letter-spacing: 0; padding-left: 9px; border-left: 1px solid var(--line); }
.site-nav { display: flex; gap: 29px; margin-left: auto; font-size: 14px; font-weight: 600; }
.site-nav a { position: relative; padding-block: 12px; color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 16px; height: 2px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.icon-button svg { width: 17px; height: 17px; }
.github-link { color: var(--muted); font: 12px Consolas, monospace; }
.eyebrow, .mono, .section-kicker { font-family: Consolas, "SFMono-Regular", monospace; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 72px; padding-block: 75px 65px; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(38px, 4.3vw, 58px); line-height: 1.35; letter-spacing: -3.1px; font-weight: 750; margin-block: 22px 20px; }
.hero h1 span { color: var(--accent); }
.hero-copy { color: var(--muted); font-size: 15px; line-height: 1.95; margin-bottom: 28px; }
.text-link { font-size: 13px; font-weight: 650; display: inline-flex; align-items: center; gap: 23px; }
.text-link span { color: var(--accent); }
.lab-panel { position: relative; overflow: hidden; color: #f1f5ff; background: #17233a; border-radius: 3px; padding: 26px 29px 22px; min-height: 286px; box-shadow: 12px 12px 0 var(--tint); }
.lab-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#9eb4da33 1px, transparent 1px); background-size: 18px 18px; }
.lab-panel > * { position: relative; }
.panel-label { display: flex; justify-content: space-between; color: #becce7; font: 10px Consolas, monospace; letter-spacing: 1px; }
.panel-label .status-dot { background: #87d4b8; margin-right: 5px; }
.signal { width: 100%; height: 105px; margin-block: 15px 6px; }
.pipeline { display: flex; align-items: center; gap: 10px; }
.pipeline span { flex: 1; padding: 9px 4px; text-align: center; border: 1px solid #536688; background: #1e2d49; font: 10px Consolas, monospace; letter-spacing: 1.5px; }
.pipeline span:nth-of-type(2) { background: #355ee7; border-color: #7795fa; }
.pipeline b { font: 12px Consolas, monospace; color: #a1b3d4; }
.panel-footer { display: flex; justify-content: space-between; margin-top: 21px; color: #aabbd9; font: 10px Consolas, monospace; }
.panel-footer strong { color: #bcd0ff; font-weight: 400; }
.topic-strip { display: flex; align-items: center; gap: 22px; border-block: 1px solid var(--line); padding-block: 17px; margin-bottom: 56px; }
.topic-strip .mono { font-size: 10px; color: var(--muted); letter-spacing: 1.3px; }
.topic-strip a { font-size: 12px; color: var(--muted); }
.topic-strip a:hover { color: var(--accent); }
.topic-strip a::before { content: "#"; margin-right: 6px; color: var(--accent); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 65px; padding-bottom: 64px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; gap: 12px; }
.section-heading h2 { font-size: 21px; letter-spacing: -.8px; margin: 0; }
.section-heading .mono { color: var(--muted); font-size: 11px; }
.featured { display: grid; grid-template-columns: 1fr 220px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 26px; overflow: hidden; }
.featured-copy { padding: 27px; }
.entry-type { font-size: 10px; font-weight: 650; color: var(--accent); letter-spacing: .6px; }
.featured h3 { font-size: 22px; letter-spacing: -.8px; margin-block: 14px 9px; }
.featured p { font-size: 13px; color: var(--muted); margin-bottom: 25px; }
.entry-meta { font: 11px/1.6 Consolas, "Malgun Gothic", monospace; color: var(--muted); display: flex; gap: 15px; flex-wrap: wrap; }
.featured-image { display: flex; align-items: center; background: #0b151c; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.search-controls { margin-bottom: 8px; }
.search-field { position: relative; display: flex; align-items: center; margin-bottom: 19px; }
.search-field svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-field input { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 4px; padding: 11px 14px 11px 41px; width: 100%; font-size: 13px; }
.filters { display: flex; align-items: center; gap: 6px; padding-bottom: 13px; }
.filters button { border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--muted); padding: 6px 11px; font-size: 12px; }
.filters button[aria-pressed="true"] { color: var(--accent); background: var(--tint); border-color: var(--tint); font-weight: 700; }
.filters button:hover { border-color: var(--line); }
.result-count { margin-left: auto; font-size: 10px; color: var(--muted); }
.entry-row { display: grid; grid-template-columns: 1fr 27px; gap: 20px; border-bottom: 1px solid var(--line); padding-block: 23px; }
.entry-row:first-child { border-top: 1px solid var(--line); }
.entry-row h3 { font-size: 17px; letter-spacing: -.45px; margin-block: 7px; }
.entry-row p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.entry-arrow { align-self: center; color: var(--muted); font-size: 20px; transition: transform .2s; }
.entry-row:hover .entry-arrow { color: var(--accent); transform: translateX(3px); }
.entry-row:hover h3 { color: var(--accent); }
.empty-state { border: 1px dashed var(--line); padding: 32px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.reset-button { background: var(--tint); border: 0; color: var(--accent); border-radius: 4px; padding: 8px 14px; margin-top: 10px; }
.sidebar { padding-top: 2px; }
.sidebar-heading { text-transform: uppercase; font: 11px Consolas, monospace; letter-spacing: 1.5px; margin-bottom: 25px; }
.author-monogram { display: grid; place-items: center; width: 47px; height: 47px; background: var(--ink); color: var(--bg); font: 18px Consolas, monospace; border-radius: 50%; margin-bottom: 18px; }
.author-name { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.author-role { font: 10px Consolas, monospace; color: var(--accent); letter-spacing: 1px; }
.sidebar p { margin-block: 16px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.sidebar .text-link { font-size: 11px; }
.sidebar-section { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 28px; }
.sidebar-link { display: flex; justify-content: space-between; font-size: 12px; padding-bottom: 14px; }
.sidebar-link span { color: var(--muted); font: 11px Consolas, monospace; }
.note { padding: 18px; background: var(--tint); border-left: 2px solid var(--accent); }
.note p { margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 27px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 22px; }
.page-heading { padding-block: 64px 39px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.page-heading h1 { font-size: 42px; line-height: 1.4; letter-spacing: -2px; margin-block: 14px; }
.page-heading p { color: var(--muted); font-size: 15px; margin-bottom: 0; max-width: 620px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-bottom: 64px; }
.project-card { border: 1px solid var(--line); background: var(--surface); }
.project-cover { aspect-ratio: 16/8; background: #e8ebf1; padding: 18px; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-cover img { width: 100%; height: 100%; object-fit: contain; }
.project-card-copy { padding: 25px; }
.project-card h2 { font-size: 21px; letter-spacing: -.6px; margin-block: 9px; }
.project-card p { color: var(--muted); font-size: 13px; min-height: 45px; }
.project-card:hover h2 { color: var(--accent); }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) 220px; gap: 70px; padding-block: 35px 75px; }
.breadcrumbs { display: flex; gap: 10px; color: var(--muted); font-size: 12px; margin-block: 2px 34px; }
.article-header { border-bottom: 1px solid var(--line); margin-bottom: 35px; padding-bottom: 29px; }
.article-header h1 { font-size: clamp(30px, 3vw, 43px); line-height: 1.45; letter-spacing: -1.7px; margin-block: 15px 19px; }
.article-summary { font-size: 15px; color: var(--muted); line-height: 1.9; margin-bottom: 20px; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.tag-list a { color: var(--accent); font-size: 11px; background: var(--tint); padding: 3px 8px; border-radius: 3px; }
.article-body { font-size: 16px; line-height: 1.95; }
.article-body h2 { font-size: 25px; margin-block: 50px 20px; letter-spacing: -.8px; }
.article-body h3 { font-size: 20px; margin-block: 35px 16px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-block: 12px 20px; }
.article-body li { margin-block: 6px; }
.article-body li > ul, .article-body li > ol { margin-block: 7px 12px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { max-height: 620px; object-fit: contain; margin: 24px auto; border-radius: 3px; background: white; }
.article-body pre { padding: 20px; border: 1px solid var(--line); border-radius: 5px; background: var(--code); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font-size: 13px; line-height: 1.8; }
.article-body code { font-family: Consolas, "SFMono-Regular", monospace; background: var(--code); padding: 2px 4px; border-radius: 3px; font-size: .87em; }
.article-body pre code { background: none; padding: 0; font-size: inherit; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin-inline: 0; color: var(--muted); }
.article-body table { display: block; overflow-x: auto; border-collapse: collapse; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 13px; }
.article-end { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; font-size: 13px; color: var(--muted); }
.toc { position: sticky; top: 30px; padding-left: 20px; border-left: 1px solid var(--line); }
.toc p { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 15px; }
.toc a { display: block; font-size: 12px; color: var(--muted); margin-block: 12px; }
.toc a:hover { color: var(--accent); }
.article-aside { padding-top: 60px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 60px; }
.topic-card { border-top: 2px solid var(--ink); padding-top: 20px; }
.topic-card h2 { font-size: 20px; margin-bottom: 5px; }
.topic-card .mono { font-size: 10px; color: var(--muted); }
.topic-card ul { padding: 0; list-style: none; }
.topic-card li { border-bottom: 1px solid var(--line); padding-block: 14px; font-size: 13px; }
.about-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 85px; padding-bottom: 65px; }
.identity { background: #17233a; color: #eef3ff; padding: 32px; align-self: start; }
.identity .author-monogram { width: 80px; height: 80px; color: #dfe9ff; background: #2b436d; font-size: 30px; margin-bottom: 45px; }
.identity h2 { font-size: 28px; letter-spacing: -1px; margin-bottom: 4px; }
.identity .mono { color: #b9cafa; font-size: 11px; }
.identity p { font-size: 13px; color: #c2cee3; margin-top: 30px; }
.identity a { display: block; margin-top: 12px; font-size: 12px; color: #dfe9ff; }
.about-copy h2 { font-size: 24px; margin-bottom: 18px; }
.about-copy p { color: var(--muted); line-height: 2; font-size: 15px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin-block: 20px 35px; }
.skill-list li { border: 1px solid var(--line); padding: 7px 13px; font-size: 12px; background: var(--surface); }
.error-page { text-align: center; padding-block: 90px 120px; }
.error-page h1 { font: 100px/1 Consolas, monospace; color: var(--accent); margin-bottom: 25px; }
.error-page p { color: var(--muted); }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 36px; }
  .hero h1 { letter-spacing: -2px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 205px; gap: 35px; }
  .featured { grid-template-columns: 1fr 155px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 185px; gap: 35px; }
  .about-layout { gap: 40px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 19px 12px; }
  .brand { font-size: 19px; }
  .brand small { display: none; }
  .header-actions { margin-left: auto; }
  .github-link { display: none; }
  .site-nav { order: 3; width: 100%; margin: 14px 0 0; justify-content: space-between; gap: 14px; }
  .site-nav a { padding-block: 8px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 44px; }
  .hero h1 { font-size: 44px; margin-top: 18px; }
  .hero-copy { font-size: 14px; }
  .lab-panel { min-height: 255px; padding: 22px; box-shadow: 7px 7px 0 var(--tint); }
  .signal { height: 90px; }
  .topic-strip { gap: 14px; flex-wrap: wrap; margin-bottom: 35px; }
  .topic-strip .mono { width: 100%; }
  .topic-strip a { font-size: 11px; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
  .sidebar-section { margin-top: 0; }
  .sidebar .note { grid-column: 1/-1; }
  .featured { grid-template-columns: 1fr 125px; }
  .featured-copy { padding: 20px; }
  .featured h3 { font-size: 19px; }
  .featured p { font-size: 12px; }
  .featured .entry-meta { font-size: 10px; }
  .entry-row h3 { font-size: 16px; }
  .filters { gap: 1px; }
  .filters button { padding-inline: 9px; }
  .result-count { font-size: 9px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-heading { padding-top: 40px; }
  .page-heading h1 { font-size: 34px; }
  .page-heading p { font-size: 14px; }
  .project-grid { grid-template-columns: 1fr; gap: 25px; }
  .article-layout { grid-template-columns: 1fr; gap: 0; padding-top: 25px; }
  .article-aside { grid-row: 1; padding: 0; margin-bottom: 25px; }
  .toc { position: static; padding: 15px 18px; border: 1px solid var(--line); }
  .toc p { margin-bottom: 8px; }
  .toc nav { display: flex; flex-wrap: wrap; gap: 5px 17px; }
  .toc a { font-size: 11px; margin-block: 4px; }
  .breadcrumbs { margin-bottom: 23px; }
  .article-body { font-size: 15px; }
  .article-body ul { padding-left: 19px; }
  .article-body h2 { font-size: 23px; }
  .article-body h3 { font-size: 19px; }
  .topic-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-layout { grid-template-columns: 1fr; gap: 35px; }
  .identity .author-monogram { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
