:root {
    --paper: #f4f6f2;
    --paper-deep: #e9eee8;
    --surface: #ffffff;
    --ink: #111719;
    --muted: #69736f;
    --line: #dce4dd;
    --line-strong: #c3cec6;
    --dark: #101719;
    --dark-soft: #1a2425;
    --cyan: #55d5f4;
    --lime: #c9f36b;
    --orange: #ffb16c;
    --shadow: 0 22px 70px rgba(31, 53, 44, 0.09);
    --shadow-dark: 0 30px 90px rgba(16, 23, 25, 0.22);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --content-width: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 7% 8%, rgba(201, 243, 107, 0.2), transparent 24rem),
        radial-gradient(circle at 92% 25%, rgba(85, 213, 244, 0.13), transparent 28rem),
        var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(18, 28, 28, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 28, 28, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 80%);
    pointer-events: none;
}

::selection {
    color: var(--dark);
    background: var(--lime);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-shell {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 34px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 26px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: var(--dark);
    box-shadow: 0 10px 24px rgba(16, 23, 25, 0.17);
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    width: 24px;
    height: 1px;
    background: var(--cyan);
    content: "";
    transform: rotate(-34deg);
}

.brand-mark::after {
    width: 17px;
    background: var(--lime);
    transform: rotate(38deg) translate(2px, 4px);
}

.brand-mark i {
    position: absolute;
    z-index: 1;
    width: 5px;
    height: 5px;
    border: 1px solid var(--dark);
    border-radius: 50%;
    background: var(--cyan);
}

.brand-mark i:nth-child(1) {
    top: 9px;
    left: 9px;
}

.brand-mark i:nth-child(2) {
    right: 8px;
    bottom: 10px;
    background: var(--lime);
}

.brand-mark i:nth-child(3) {
    right: 7px;
    top: 8px;
    background: var(--orange);
}

.brand-copy {
    display: grid;
    min-width: 0;
    line-height: 1.1;
}

.brand-copy strong {
    overflow: hidden;
    font-size: 15px;
    font-weight: 760;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-link {
    padding: 9px 12px;
    color: var(--muted);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
}

.site-search {
    display: flex;
    align-items: center;
    width: 168px;
    height: 38px;
    margin-left: 9px;
    padding: 0 8px 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-search:focus-within {
    border-color: var(--line-strong);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(85, 213, 244, 0.12);
}

.site-search input {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: var(--ink);
    outline: none;
    border: 0;
    background: transparent;
    font-size: 12px;
}

.site-search input::placeholder {
    color: #98a29d;
}

.site-search button {
    width: 25px;
    height: 25px;
    padding: 0;
    color: var(--dark);
    outline: none;
    border: 0;
    border-radius: 50%;
    background: var(--lime);
    font-size: 16px;
    line-height: 1;
}

.page-wrap {
    width: min(100%, var(--content-width));
    margin: 0 auto;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: clamp(38px, 7vw, 92px);
    min-height: 570px;
    padding: 76px 0 88px;
}

.eyebrow,
.side-card-label,
.console-code,
.console-live,
.post-type,
.post-card-top time,
.hero-footnote,
.console-bottomline,
.lab-metrics span {
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: #71807a;
}

.live-dot,
.status-label i,
.console-live i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(201, 243, 107, 0.18);
}

.hero-copy h1 {
    max-width: 670px;
    margin: 0;
    color: var(--dark);
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 760;
    letter-spacing: -0.075em;
    line-height: 1.04;
}

.hero-copy h1 span {
    color: #738077;
}

.hero-intro {
    max-width: 480px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 740;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    color: #fff;
    background: var(--dark);
    box-shadow: 0 14px 28px rgba(16, 23, 25, 0.16);
}

.button-dark:hover {
    box-shadow: 0 18px 34px rgba(16, 23, 25, 0.22);
}

.button-dark span,
.post-read span,
.inline-link span {
    color: var(--cyan);
    font-size: 17px;
    line-height: 1;
}

.text-link,
.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 720;
}

.text-link:hover,
.inline-link:hover,
.post-read:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-footnote {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 72px;
    color: #95a19a;
}

.hero-footnote span {
    position: relative;
}

.hero-footnote span + span::before {
    position: absolute;
    top: 50%;
    left: -14px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
    transform: translateY(-50%);
}

.hero-console {
    position: relative;
    min-height: 420px;
    padding: 22px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    color: #f2f8f4;
    background:
        radial-gradient(circle at 16% 12%, rgba(85, 213, 244, 0.2), transparent 18rem),
        radial-gradient(circle at 88% 84%, rgba(201, 243, 107, 0.16), transparent 18rem),
        var(--dark);
    box-shadow: var(--shadow-dark);
}

.hero-console::before {
    position: absolute;
    inset: 0;
    opacity: 0.37;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 95%);
}

.console-topline,
.console-bottomline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.console-code {
    color: #93a49d;
}

.console-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lime);
    font-size: 9px;
}

.console-visual {
    position: relative;
    min-height: 315px;
}

.core-chip {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(58%, 260px);
    min-height: 185px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(39, 55, 55, 0.96), rgba(23, 34, 35, 0.94));
    box-shadow: 0 0 0 8px rgba(201, 243, 107, 0.07), 0 24px 40px rgba(0, 0, 0, 0.24);
    transform: translate(-50%, -50%);
}

.core-chip::before,
.core-chip::after {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--lime);
    border-radius: 50%;
    background: var(--dark);
    content: "";
}

.core-chip::before {
    top: 18px;
    right: 18px;
}

.core-chip::after {
    right: 18px;
    bottom: 18px;
    border-color: var(--cyan);
}

.chip-label,
.chip-version {
    color: #8ea19a;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.core-chip strong {
    color: #f0f8f2;
    font-size: 23px;
    font-weight: 740;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.chip-version {
    color: var(--cyan);
}

.circuit-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 213, 244, 0.9), transparent);
    transform-origin: left center;
}

.line-a {
    top: 28%;
    left: 8%;
    width: 31%;
    transform: rotate(21deg);
}

.line-b {
    top: 31%;
    right: 7%;
    width: 27%;
    background: linear-gradient(90deg, transparent, rgba(201, 243, 107, 0.9), transparent);
    transform: rotate(-28deg);
}

.line-c {
    bottom: 26%;
    left: 9%;
    width: 31%;
    background: linear-gradient(90deg, transparent, rgba(255, 177, 108, 0.9), transparent);
    transform: rotate(-27deg);
}

.line-d {
    right: 8%;
    bottom: 26%;
    width: 29%;
    transform: rotate(26deg);
}

.line-e {
    top: 50%;
    left: 6%;
    width: 88%;
    background: rgba(255, 255, 255, 0.15);
}

.circuit-node,
.console-pin {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--dark);
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 1px rgba(85, 213, 244, 0.8), 0 0 18px rgba(85, 213, 244, 0.45);
}

.node-a {
    top: 21%;
    left: 11%;
}

.node-b {
    top: 20%;
    right: 11%;
    background: var(--lime);
    box-shadow: 0 0 0 1px rgba(201, 243, 107, 0.8), 0 0 18px rgba(201, 243, 107, 0.42);
}

.node-c {
    bottom: 18%;
    left: 14%;
    background: var(--orange);
    box-shadow: 0 0 0 1px rgba(255, 177, 108, 0.8), 0 0 18px rgba(255, 177, 108, 0.42);
}

.node-d {
    right: 14%;
    bottom: 20%;
}

.console-pin {
    width: 4px;
    height: 34px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.33);
    box-shadow: none;
}

.pin-1 {
    top: 26%;
    left: 3%;
}

.pin-2 {
    top: 35%;
    left: 3%;
}

.pin-3 {
    right: 3%;
    bottom: 29%;
}

.pin-4 {
    right: 3%;
    bottom: 20%;
}

.console-bottomline {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    color: #84968f;
    font-size: 9px;
}

.console-bottomline b {
    color: #f3faf5;
    font-weight: 700;
}

.console-signal {
    display: inline-flex;
    align-items: end;
    gap: 3px;
    height: 14px;
}

.console-signal i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: var(--cyan);
}

.console-signal i:nth-child(1) {
    height: 5px;
    opacity: 0.45;
}

.console-signal i:nth-child(2) {
    height: 8px;
    opacity: 0.65;
}

.console-signal i:nth-child(3) {
    height: 11px;
    opacity: 0.82;
}

.console-signal i:nth-child(4) {
    height: 14px;
}

.notes-section {
    padding: 12px 0 84px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    padding: 0 0 26px;
    border-bottom: 1px solid var(--line);
}

.section-heading .eyebrow {
    margin-bottom: 9px;
}

.section-heading h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.1;
}

.section-heading > p {
    max-width: 230px;
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    text-align: right;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 294px;
    gap: 70px;
    padding-top: 36px;
}

.post-feed {
    counter-reset: posts;
}

.post-card {
    position: relative;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 28px;
    padding: 24px 0 27px;
    border-bottom: 1px solid var(--line);
    counter-increment: posts;
}

.post-card:first-child {
    padding-top: 0;
}

.post-card-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #8a9690;
}

.post-index {
    display: inline-flex;
    align-items: center;
    width: 42px;
    height: 42px;
    color: var(--dark);
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.55);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
}

.post-index::before {
    content: counter(posts, decimal-leading-zero);
}

.post-type {
    color: #9aa49e;
    font-size: 9px;
    line-height: 1.4;
}

.post-card-top time {
    color: #7b8881;
    font-size: 9px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.post-card-main {
    min-width: 0;
}

.post-title {
    margin: 0;
    color: var(--dark);
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 740;
    letter-spacing: -0.055em;
    line-height: 1.2;
}

.post-title a {
    transition: color 180ms ease;
}

.post-title a:hover {
    color: #5b7468;
}

.post-excerpt {
    max-width: 630px;
    margin-top: 13px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.post-card-bottom {
    display: flex;
    grid-column: 2;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}

.post-category {
    min-width: 0;
    overflow: hidden;
    color: #71807a;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-category a {
    border-bottom: 1px solid rgba(113, 128, 122, 0.3);
}

.post-read {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 740;
}

.page-navigator {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.page-navigator li {
    margin: 0;
}

.page-navigator a,
.page-navigator span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.page-navigator a:hover {
    color: var(--dark);
    border-color: var(--line-strong);
    background: var(--surface);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 12px 36px rgba(31, 53, 44, 0.035);
}

.side-card-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #89958e;
    font-size: 9px;
}

.status-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #627267;
    font-size: 9px;
}

.status-label i {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 3px rgba(201, 243, 107, 0.17);
}

.lab-card {
    color: #eaf6ed;
    border-color: transparent;
    background:
        linear-gradient(140deg, rgba(29, 48, 45, 0.98), rgba(16, 25, 26, 0.98)),
        var(--dark);
    box-shadow: var(--shadow-dark);
}

.lab-card .side-card-label {
    color: #8fa29a;
}

.lab-card h2 {
    margin: 48px 0 15px;
    color: #f3faf4;
    font-size: 28px;
    font-weight: 720;
    letter-spacing: -0.06em;
    line-height: 1.1;
}

.lab-card p {
    margin: 0;
    color: #a9b9b0;
    font-size: 13px;
    line-height: 1.8;
}

.lab-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 30px;
}

.lab-metrics > div {
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lab-metrics span {
    display: block;
    color: #799087;
    font-size: 8px;
}

.lab-metrics strong {
    display: block;
    margin-top: 3px;
    color: var(--lime);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.topics-card .side-card-label > span:last-child {
    color: var(--cyan);
    font-size: 17px;
}

.topic-list {
    display: grid;
    margin-top: 18px;
}

.topic-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    transition: color 180ms ease, padding 180ms ease;
}

.topic-list a:last-child {
    border-bottom: 0;
}

.topic-list a:hover {
    padding-right: 4px;
    color: var(--ink);
}

.topic-list small {
    color: #9aa59e;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.feed-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(201, 243, 107, 0.26);
}

.feed-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border-radius: 10px;
    background: var(--lime);
    font-size: 17px;
    font-weight: 800;
}

.feed-card strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.feed-card p {
    margin: 3px 0 12px;
    color: #68766c;
    font-size: 12px;
    line-height: 1.65;
}

.inline-link {
    font-size: 12px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 10px;
    padding: 26px 0 34px;
    color: #89958e;
    border-top: 1px solid var(--line);
    font-size: 11px;
}

.site-footer > div:first-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer strong {
    color: var(--dark);
    font-size: 12px;
}

.site-footer span {
    font-size: 11px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 9px;
    letter-spacing: 0.04em;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 17px 0 0;
    padding: 0;
    color: #7b8881;
    list-style: none;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    letter-spacing: 0.02em;
}

.post-meta li {
    margin: 0;
}

.post-meta a {
    color: #4f766d;
}

.archive-heading {
    padding: 76px 0 45px;
    border-bottom: 1px solid var(--line);
}

.archive-heading .eyebrow {
    margin-bottom: 14px;
}

.archive-heading h1 {
    max-width: 820px;
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 750;
    letter-spacing: -0.07em;
    line-height: 1.08;
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 294px;
    gap: 70px;
    padding: 76px 0 100px;
}

.single-post {
    min-width: 0;
}

.single-header {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.single-header .eyebrow {
    margin-bottom: 14px;
}

.single-title {
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 750;
    letter-spacing: -0.075em;
    line-height: 1.08;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 20px 0 0;
    padding: 0;
    color: #7b8881;
    list-style: none;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.single-meta li {
    margin: 0;
}

.single-meta a,
.single-meta li a {
    color: #4f766d;
}

.empty-state {
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
}

.empty-state-code {
    color: #8b9991;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.empty-state h2 {
    margin: 14px 0 8px;
    color: var(--dark);
    font-size: 27px;
    letter-spacing: -0.05em;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.post-tags {
    margin: 28px 0 0;
    color: #7b8881;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.post-tags a {
    color: #4f766d;
}

.post-near {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 42px;
}

.post-near > div {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.post-near > div:last-child {
    text-align: right;
}

.post-near span {
    color: #8c9991;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-near a {
    overflow: hidden;
    color: var(--dark);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#comments {
    margin-top: 58px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

#comments h2,
#comments h3,
#response {
    margin: 0 0 18px;
    color: var(--dark);
    font-size: 22px;
    letter-spacing: -0.04em;
}

.comment-list {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.comment-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.comment-list .comment-author {
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

.comment-list .comment-meta {
    color: #8a9690;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 9px;
}

.comment-list .comment-content {
    margin-top: 9px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

#comment-form {
    display: grid;
    gap: 10px;
}

#comment-form p {
    margin: 0;
}

#comment-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
}

#comment-form input,
#comment-form textarea {
    width: 100%;
    padding: 11px 13px;
    color: var(--ink);
    outline: none;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

#comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

#comment-form input:focus,
#comment-form textarea:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 4px rgba(85, 213, 244, 0.12);
}

#comment-form .button {
    border: 0;
}

.cancel-comment-reply {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
}

/* Typecho single posts and pages keep the same visual language. */
.post,
.page {
    max-width: 840px;
    margin: 70px auto 100px;
}

.post-header,
.page-header {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.post-header h1,
.page-header h1 {
    margin: 14px 0 0;
    color: var(--dark);
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 750;
    letter-spacing: -0.07em;
    line-height: 1.08;
}

.post-content,
.page-content {
    color: #4d5b55;
    font-size: 17px;
    line-height: 2;
}

.post-content > *:first-child,
.page-content > *:first-child {
    margin-top: 0;
}

.post-content h2,
.post-content h3,
.post-content h4,
.page-content h2,
.page-content h3,
.page-content h4 {
    margin-top: 2em;
    color: var(--dark);
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.post-content a,
.page-content a {
    color: #2d7f8f;
    text-decoration: underline;
    text-decoration-color: rgba(45, 127, 143, 0.35);
    text-underline-offset: 4px;
}

.post-content blockquote,
.page-content blockquote {
    margin: 28px 0;
    padding: 2px 0 2px 22px;
    color: #63716a;
    border-left: 3px solid var(--cyan);
}

.post-content pre,
.page-content pre {
    padding: 20px;
    overflow-x: auto;
    color: #edf8f0;
    border-radius: 15px;
    background: var(--dark);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
}

.post-content code,
.page-content code {
    padding: 2px 5px;
    color: #2b6975;
    border-radius: 5px;
    background: rgba(85, 213, 244, 0.13);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.88em;
}

.post-content pre code,
.page-content pre code {
    padding: 0;
    color: inherit;
    background: transparent;
}

.post-content img,
.page-content img {
    margin: 28px 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

@media (max-width: 980px) {
    .single-layout {
        grid-template-columns: minmax(0, 1fr) 255px;
        gap: 38px;
    }


    .site-shell {
        padding: 0 24px;
    }

    .site-header {
        align-items: flex-start;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .site-search {
        width: 154px;
        margin-left: 0;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 52px;
        min-height: 0;
        padding-top: 54px;
    }

    .hero-copy h1 {
        max-width: 720px;
    }

    .hero-console {
        min-height: 390px;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr) 255px;
        gap: 38px;
    }
}

@media (max-width: 720px) {
    .archive-heading {
        padding: 46px 0 32px;
    }

    .single-layout {
        display: block;
        padding: 46px 0 70px;
    }

    .single-title {
        font-size: clamp(38px, 12vw, 58px);
    }

    .post-near {
        grid-template-columns: 1fr;
    }

    .post-near > div:last-child {
        text-align: left;
    }


    .site-shell {
        padding: 0 18px;
    }

    .site-header {
        display: grid;
        gap: 20px;
        padding: 19px 0;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .nav-link {
        padding: 7px 9px;
    }

    .site-search {
        flex: 1 1 150px;
        width: auto;
    }

    .hero-section {
        padding: 46px 0 64px;
    }

    .hero-copy h1 {
        font-size: clamp(44px, 13vw, 64px);
    }

    .hero-intro {
        font-size: 15px;
    }

    .hero-footnote {
        margin-top: 48px;
    }

    .hero-console {
        min-height: 350px;
        padding: 18px;
        border-radius: 24px;
    }

    .console-visual {
        min-height: 270px;
    }

    .core-chip {
        width: min(64%, 240px);
        min-height: 160px;
        padding: 18px;
    }

    .core-chip strong {
        font-size: 20px;
    }

    .console-bottomline {
        right: 18px;
        bottom: 16px;
        left: 18px;
        font-size: 8px;
    }

    .console-bottomline > span:nth-child(2) {
        display: none;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        max-width: 300px;
        margin-top: 15px;
        text-align: left;
    }

    .content-layout {
        display: block;
        padding-top: 28px;
    }

    .post-card {
        grid-template-columns: 62px minmax(0, 1fr);
        column-gap: 15px;
        padding: 22px 0 24px;
    }

    .post-card-top {
        gap: 9px;
    }

    .post-index {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 10px;
    }

    .post-type,
    .post-card-top time {
        font-size: 8px;
        letter-spacing: 0.02em;
    }

    .post-title {
        font-size: 23px;
    }

    .post-excerpt {
        font-size: 13px;
        line-height: 1.75;
    }

    .post-card-bottom {
        grid-column: 2;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 19px;
    }

    .sidebar {
        margin-top: 52px;
    }

    .site-footer {
        display: block;
    }

    .footer-meta {
        margin-top: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
