/* ============================================================
   EchoX — Design System
   仅使用 Inter + JetBrains Mono（字体与旧版保持一致）
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
    --bg: #050807;
    --bg-soft: #090e0c;
    --panel: #0d1412;
    --panel-2: #111a17;
    --panel-3: #16211d;

    --line: #1b2622;
    --line-soft: rgba(255, 255, 255, 0.06);
    --line-strong: #26332e;

    --text: #e9efec;
    --text-2: #b6c4be;
    --muted: #84958e;
    --dim: #5c6d66;

    --accent: #22c55e;
    --accent-hi: #4ade80;
    --accent-deep: #16301f;
    --accent-ink: #05130a;
    --amber: #f0b429;

    --r-xs: 6px;
    --r-sm: 9px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.9);
    --shadow-2: 0 30px 80px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line);

    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --nav-h: 68px;
    --pad: 28px;
    --max: 1240px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 520px at 78% -8%, rgba(34, 197, 94, 0.10), transparent 68%),
        radial-gradient(700px 460px at 8% 6%, rgba(34, 197, 94, 0.05), transparent 70%);
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* 细网格底纹 */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 999;
    padding: 10px 18px;
    border-radius: var(--r-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 14px;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- 3. Layout ---------- */
.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    position: relative;
    z-index: 1;
}

main {
    position: relative;
    z-index: 1;
}

.section {
    padding: 104px 0;
    position: relative;
}

.section--tight {
    padding: 72px 0;
}

.hair {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}

/* ---------- 4. Type helpers ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.kicker::before {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

.h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.14;
    margin-top: 14px;
}

.h2 em {
    font-style: normal;
    color: var(--accent);
}

/* 长标题：不写死 <br>，用宽度 + 均衡换行保证稳定两行，避免被挤成三行 */
.h2--split {
    max-width: 12em;
    text-wrap: balance;
}

/* 标题里的数字（mono）压到与中文视觉同高，避免"M"字比汉字大一圈 */
.h2 .mono {
    font-size: 0.92em;
    letter-spacing: 0;
}

.lede {
    color: var(--muted);
    font-size: 16px;
    max-width: 60ch;
    margin-top: 14px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

/* 短标题区块：说明直接压在标题下面，不在右侧悬空 */
.section-head--stack {
    display: block;
}

.section-head--stack .lede {
    margin-top: 18px;
    max-width: 70ch;
    text-wrap: pretty;
}

.section-head--center {
    display: block;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}

.section-head--center .lede {
    margin-left: auto;
    margin-right: auto;
}

.mono {
    font-family: var(--mono);
}

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 22px;
    border-radius: var(--r-sm);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 10px 30px -14px rgba(34, 197, 94, 0.75);
}

.btn--primary:hover {
    background: var(--accent-hi);
    transform: translateY(-1px);
    box-shadow: 0 16px 36px -14px rgba(34, 197, 94, 0.85);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--line-strong);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(34, 197, 94, 0.06);
}

.btn--sm {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: var(--r-xs);
}

.btn--block {
    width: 100%;
}

/* ---------- 6. Nav ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    background: rgba(5, 8, 7, 0.82);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: var(--line);
}

.nav__inner {
    height: var(--nav-h);
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    flex: none;
}

.brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--accent-deep), #0b1710 70%);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: -1.5px;
    padding-right: 1px;
    box-shadow: 0 0 22px -8px rgba(34, 197, 94, 0.6);
}

.brand__name b {
    font-weight: 500;
}

.brand__name i {
    font-style: normal;
    color: var(--dim);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    flex: 1;
}

.nav__links a {
    position: relative;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--muted);
    transition: color 0.18s, background 0.18s;
}

.nav__links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav__links a.is-active {
    color: var(--accent);
    background: rgba(34, 197, 94, 0.10);
}

.nav__links a.is-out::after {
    content: '↗';
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.6;
    vertical-align: 1px;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.nav__burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--r-xs);
    border: 1px solid var(--line-strong);
    color: var(--text-2);
    place-items: center;
}

.nav__burger svg {
    width: 18px;
    height: 18px;
}

/* mobile drawer */
.drawer {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    z-index: 89;
    background: rgba(7, 11, 9, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 26px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer.is-open {
    display: block;
    animation: drawerIn 0.22s var(--ease);
}

@keyframes drawerIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px;
    font-size: 15px;
    color: var(--text-2);
    border-bottom: 1px solid var(--line-soft);
}

.drawer a:last-of-type {
    border-bottom: none;
}

.drawer a span:last-child {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
}

.drawer__cta {
    margin-top: 18px;
}

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 76px) 0 32px;
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 10%, transparent 75%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 30px;
    padding: 0 12px 0 6px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-2);
    margin-bottom: 26px;
}

.hero__badge b {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
    color: var(--accent);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 0.06em;
}

.hero__badge b i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.35;
    }
}

.hero h1 {
    font-size: clamp(40px, 5.6vw, 74px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 22px;
}

.hero h1 .line {
    display: block;
}

.hero h1 .accent {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 0.12em;
    text-decoration-color: rgba(34, 197, 94, 0.38);
    text-decoration-skip-ink: none;
}

.hero h1 .outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--dim);
}

.hero__desc {
    font-size: 16.5px;
    color: var(--text-2);
    max-width: 47ch;
    line-height: 1.75;
}

.hero__desc strong {
    color: var(--text);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 11px 15px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.014);
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    width: fit-content;
    max-width: 100%;
}

.hero__meta svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex: none;
}

.hero__meta b {
    color: var(--text);
    font-weight: 500;
}

.hero__meta .sep {
    color: var(--line-strong);
}

/* —— 右侧模拟窗口 —— */
.hero__visual {
    position: relative;
    perspective: 1400px;
}

.window {
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    overflow: hidden;
    transform: rotateX(2deg) rotateY(-3deg) rotateZ(0.3deg);
    transition: transform 0.6s var(--ease);
}

.hero__visual:hover .window {
    transform: rotateX(0) rotateY(0) rotateZ(0) translateY(-4px);
}

.window__bar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.28);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2a3531;
}

.dots i:nth-child(1) {
    background: #3d4a45;
}

.dots i:nth-child(2) {
    background: #33403b;
}

.dots i:nth-child(3) {
    background: rgba(34, 197, 94, 0.55);
}

.window__url {
    flex: 1;
    margin-left: 6px;
    height: 24px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--muted);
    overflow: hidden;
    white-space: nowrap;
}

.window__url svg {
    width: 10px;
    height: 10px;
    margin-right: 6px;
    color: var(--accent);
    flex: none;
}

/* mock forum */
.mock {
    display: grid;
    grid-template-columns: 138px 1fr;
    min-height: 344px;
}

.mock__side {
    border-right: 1px solid var(--line);
    padding: 16px 12px;
    background: rgba(0, 0, 0, 0.16);
}

.mock__side-t {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    padding: 0 8px 10px;
}

.mock__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mock__nav span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    color: var(--muted);
}

.mock__nav span::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
    flex: none;
}

.mock__nav span.on {
    background: rgba(34, 197, 94, 0.11);
    color: var(--accent);
}

.mock__nav span.on::before {
    opacity: 1;
    box-shadow: 0 0 8px var(--accent);
}

.mock__main {
    padding: 14px 16px 18px;
    min-width: 0;
}

.mock__tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 4px;
}

.mock__tab {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--muted);
    border: 1px solid transparent;
}

.mock__tab.on {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--line);
}

.mock__new {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--accent-ink);
    background: var(--accent);
    border-radius: 5px;
    padding: 3px 8px;
}

.thread {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.thread:last-child {
    border-bottom: none;
}

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    flex: none;
    color: var(--accent);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.avatar.v2 {
    color: #7dd3fc;
    background: rgba(125, 211, 252, 0.1);
    border-color: rgba(125, 211, 252, 0.26);
}

.avatar.v3 {
    color: var(--amber);
    background: rgba(240, 180, 41, 0.1);
    border-color: rgba(240, 180, 41, 0.26);
}

.thread__body {
    min-width: 0;
    flex: 1;
}

.thread__t {
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.thread__m {
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--dim);
    margin-top: 2px;
}

.chip {
    font-family: var(--mono);
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    flex: none;
    background: rgba(255, 255, 255, 0.02);
}

.chip--on {
    color: var(--accent);
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
}

/* floating cards */
.float {
    position: absolute;
    background: rgba(13, 20, 18, 0.94);
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    box-shadow: var(--shadow-1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
    50% {
        transform: translateY(-9px);
    }
}

.float--badge {
    left: -26px;
    bottom: 34px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.float--badge .ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(240, 180, 41, 0.12);
    border: 1px solid rgba(240, 180, 41, 0.28);
    color: var(--amber);
}

.float--badge .ico svg {
    width: 16px;
    height: 16px;
}

.float--badge .tt {
    font-size: 11.5px;
    color: var(--text);
    line-height: 1.3;
}

.float--badge .ss {
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--dim);
    margin-top: 2px;
}

.float--stat {
    right: 26px;
    top: -18px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    animation-delay: -3.5s;
}

.float--stat .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
    flex: none;
}

.float--stat .tt {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--text-2);
    white-space: nowrap;
}

/* ---------- 8. Marquee ---------- */
.marquee {
    margin-top: 64px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.012);
    overflow: hidden;
    position: relative;
    z-index: 1;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: slide 34s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes slide {
    to {
        transform: translateX(-50%);
    }
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
    white-space: nowrap;
}

.marquee__item::after {
    content: '/';
    color: var(--line-strong);
    margin-left: 18px;
}

.marquee__item b {
    color: var(--text-2);
    font-weight: 500;
}

/* ---------- 9. Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent);
}

.stat {
    padding: 26px 26px 24px;
    border-right: 1px solid var(--line);
    position: relative;
}

.stat:last-child {
    border-right: none;
}

.stat__v {
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.stat__v small {
    font-size: 12px;
    color: var(--dim);
    letter-spacing: 0;
}

.stat__k {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 6px;
}

/* ---------- 10. Bento features ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, var(--panel-2), var(--panel) 62%);
    padding: 28px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.3s var(--ease), background 0.25s;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(420px 220px at 50% -20%, rgba(34, 197, 94, 0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    border-color: rgba(34, 197, 94, 0.42);
    transform: translateY(-3px);
}

.card:hover::after {
    opacity: 1;
}

.card__ico {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(34, 197, 94, 0.09);
    border: 1px solid rgba(34, 197, 94, 0.24);
    color: var(--accent);
    margin-bottom: 18px;
}

.card__ico svg {
    width: 20px;
    height: 20px;
}

.card h3 {
    font-size: 17.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.card p {
    font-size: 13.8px;
    color: var(--muted);
    line-height: 1.68;
}

.card__n {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--dim);
    letter-spacing: 0.08em;
}

.span-3 {
    grid-column: span 3;
}

.span-2 {
    grid-column: span 2;
}

.span-4 {
    grid-column: span 4;
}

.span-6 {
    grid-column: span 6;
}

/* 卡片内的可视化小件 */
.viz-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.viz-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.025);
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--text-2);
}

.viz-chip svg {
    width: 12px;
    height: 12px;
    color: var(--amber);
}

.viz-chip.g svg {
    color: var(--accent);
}

.viz-bar {
    margin-top: auto;
    padding-top: 20px;
}

.viz-bar__row {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--dim);
    margin-bottom: 7px;
}

.viz-bar__row b {
    color: var(--accent);
    font-weight: 500;
}

.bar {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.bar i {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent));
    width: 0;
    transition: width 1.1s var(--ease);
}

.is-in .bar i {
    width: var(--w, 60%);
}

.viz-code {
    margin-top: 18px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.34);
    padding: 12px 13px;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.85;
    color: var(--muted);
    overflow-x: auto;
    white-space: nowrap;
}

.tk-k {
    color: var(--accent);
}

.tk-s {
    color: var(--amber);
}

.tk-c {
    color: var(--dim);
}

.tk-f {
    color: #7dd3fc;
}

/* ---------- 11. Split / compare ---------- */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px 30px 26px;
    background: var(--panel);
}

.panel--bad {
    background: rgba(255, 255, 255, 0.012);
}

.panel--good {
    background: linear-gradient(170deg, rgba(34, 197, 94, 0.075), var(--panel) 55%);
    border-color: rgba(34, 197, 94, 0.32);
}

.panel__h {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}

.panel--good .panel__h {
    color: var(--accent);
}

.panel__h .tag {
    font-size: 9.5px;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--line-strong);
    color: var(--dim);
    letter-spacing: 0.06em;
}

.panel--good .panel__h .tag {
    border-color: rgba(34, 197, 94, 0.35);
    color: var(--accent);
}

.plist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plist li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    color: var(--text-2);
}

.plist svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 4px;
}

.plist--bad svg {
    color: #6b7a74;
}

.plist--good svg {
    color: var(--accent);
}

.plist small {
    display: block;
    color: var(--dim);
    font-size: 12.5px;
    margin-top: 2px;
}

/* ---------- 12. Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: step;
}

/* ---------- 12.5 后台模块（一张表，四栏 24 行） ---------- */
.stack {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background:
        radial-gradient(760px 340px at 50% -25%, rgba(34, 197, 94, 0.07), transparent 72%),
        var(--panel);
}

.stack__col {
    padding: 24px 20px 14px;
    border-left: 1px solid var(--line);
    min-width: 0;
}

.stack__col:first-child {
    border-left: none;
}

.stack__head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 13px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--line);
}

.stack__ico {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: rgba(34, 197, 94, 0.09);
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: var(--accent);
    flex: none;
}

.stack__ico svg {
    width: 13px;
    height: 13px;
}

.stack__t {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.stack__n {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--dim);
    letter-spacing: 0.06em;
}

.stack__list {
    display: flex;
    flex-direction: column;
}

.stack__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 2px;
    font-size: 13.5px;
    color: var(--text-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.16s var(--ease), padding 0.16s var(--ease);
}

.stack__list li:last-child {
    border-bottom: none;
}

.stack__list li:hover {
    color: var(--text);
    padding-left: 6px;
}

.stack__list li:hover .stack__i {
    color: var(--accent);
}

.stack__i {
    font-family: var(--mono);
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--dim);
    flex: none;
    width: 15px;
}

.stack__foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 13px 22px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.018);
    font-size: 12.5px;
    color: var(--dim);
}

.stack__foot b {
    font-family: var(--mono);
    font-weight: 500;
    color: var(--accent);
}

.stack__foot a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-2);
    transition: color 0.18s;
}

.stack__foot a:hover {
    color: var(--accent);
}

.stack__foot svg {
    width: 13px;
    height: 13px;
}

.step {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--panel);
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.25s, background 0.25s;
}

.step:hover {
    border-color: var(--line-strong);
    background: var(--panel-2);
}

.step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step__n {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.step__ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.02);
}

.step__ico svg {
    width: 16px;
    height: 16px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.step p {
    font-size: 13.5px;
    color: var(--muted);
    flex: 1;
}

.step__foot {
    padding-top: 4px;
}

.code {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #070b09;
    overflow: hidden;
    margin-top: 16px;
}

.code__bar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.code__name {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--dim);
    letter-spacing: 0.04em;
}

.code__copy {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: color 0.18s, border-color 0.18s;
}

.code__copy:hover {
    color: var(--accent);
    border-color: rgba(34, 197, 94, 0.35);
}

.code__copy svg {
    width: 11px;
    height: 11px;
}

.code pre {
    padding: 14px 16px;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 2;
    color: var(--text-2);
}

.code pre .p {
    color: var(--accent);
    user-select: none;
    margin-right: 8px;
}

/* ---------- 13. Tech spec ---------- */
.spec {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--panel);
}

.spec__row {
    display: grid;
    grid-template-columns: 210px 132px 1fr;
    gap: 24px;
    align-items: center;
    padding: 22px 26px;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s;
}

.spec__row:last-child {
    border-bottom: none;
}

.spec__row:hover {
    background: rgba(255, 255, 255, 0.018);
}

.spec__name {
    display: flex;
    align-items: center;
    gap: 13px;
}

.spec__name .g {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.02);
    flex: none;
}

.spec__name .g svg {
    width: 16px;
    height: 16px;
}

.spec__name b {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: block;
}

.spec__name span {
    font-size: 12px;
    color: var(--dim);
}

.spec__ver {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--accent);
    padding: 4px 9px;
    border-radius: 5px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.07);
    justify-self: start;
    white-space: nowrap;
}

.spec__desc {
    font-size: 13.5px;
    color: var(--muted);
}

/* ---------- 13.5 Pricing ---------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, var(--panel-2), var(--panel) 70%);
    padding: 32px;
    transition: border-color 0.25s, transform 0.3s var(--ease);
}

.plan:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.plan--pro {
    border-color: rgba(34, 197, 94, 0.45);
    background:
        radial-gradient(620px 280px at 50% -30%, rgba(34, 197, 94, 0.15), transparent 70%),
        linear-gradient(170deg, var(--panel-2), var(--panel) 70%);
}

.plan--pro:hover {
    border-color: var(--accent);
}

.plan__badge {
    position: absolute;
    top: -10px;
    right: 22px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    background: var(--accent);
    color: var(--accent-ink);
}

.plan__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.plan__name {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.plan__desc {
    font-size: 13.2px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.65;
}

.plan__price {
    display: flex;
    align-items: baseline;
    font-family: var(--mono);
    margin-top: 24px;
}

.plan__price .cur {
    font-size: 17px;
    color: var(--text-2);
    margin-right: 2px;
}

.plan__price .num {
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.055em;
    color: var(--text);
}

.plan--pro .plan__price .num {
    color: var(--accent);
}

.plan__price .per {
    font-size: 12px;
    color: var(--dim);
    margin-left: 8px;
    letter-spacing: 0.02em;
}

.plan__old {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 11px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--dim);
}

.plan__old s {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    opacity: 0.85;
}

.plan__old .save {
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
    padding: 2px 7px;
    border-radius: 4px;
}

.plan__list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 24px 0 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    flex: 1;
}

.plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.55;
}

.plan__list svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex: none;
    margin-top: 3px;
}

.pricing__note {
    margin-top: 20px;
    text-align: center;
    font-size: 12.5px;
    color: var(--dim);
}

.pricing__note a {
    color: var(--text-2);
    border-bottom: 1px dotted var(--line-strong);
    transition: color 0.18s, border-color 0.18s;
}

.pricing__note a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.pricing__note b {
    color: var(--text-2);
    font-weight: 600;
}

/* ---------- 14. CTA ---------- */
.cta {
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-xl);
    padding: 56px 48px;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 12% 0%, rgba(34, 197, 94, 0.14), transparent 70%),
        linear-gradient(160deg, var(--panel-2), #080c0a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 70% 100% at 20% 50%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at 20% 50%, #000, transparent 75%);
    pointer-events: none;
}

.cta__txt {
    position: relative;
    max-width: 560px;
}

.cta h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta p {
    color: var(--muted);
    font-size: 14.5px;
}

.cta__acts {
    position: relative;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------- 15. Footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 30px;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.03));
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer__brand p {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 14px;
    max-width: 30ch;
    line-height: 1.7;
}

.footer__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.footer__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.footer__col h4 {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 16px;
    font-weight: 500;
}

.footer__col a {
    display: block;
    font-size: 13.5px;
    color: var(--muted);
    padding: 5px 0;
    transition: color 0.18s, transform 0.18s;
    width: fit-content;
}

.footer__col a:hover {
    color: var(--accent);
    transform: translateX(2px);
}

/* 授权价格小卡片 */
.footer__col a.footer__plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 11px;
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.022);
    font-size: 12.5px;
    color: var(--text-2);
}

.footer__col a.footer__plan:hover {
    border-color: rgba(34, 197, 94, 0.42);
    background: rgba(34, 197, 94, 0.06);
    color: var(--accent);
    transform: none;
}

.footer__plan b {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--accent);
    white-space: nowrap;
}

.footer__plan b span {
    font-size: 10px;
    color: var(--dim);
}

.footer__bot {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--dim);
}

.footer__bot .mono {
    font-size: 11.5px;
}

.footer__credits {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer__credits span.dot {
    color: var(--line-strong);
}

/* 运行时长：页脚里最显眼的一块 */
.uptime {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    flex-wrap: wrap;
    padding: 22px 28px;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background:
        radial-gradient(560px 130px at 8% 0%, rgba(34, 197, 94, 0.11), transparent 72%),
        var(--panel);
    overflow: hidden;
}

.uptime::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 100%;
    mask-image: linear-gradient(to right, transparent 38%, #000);
    -webkit-mask-image: linear-gradient(to right, transparent 38%, #000);
    pointer-events: none;
}

.uptime__label,
.uptime__clock {
    position: relative;
    z-index: 1;
}

.uptime__label {
    display: flex;
    align-items: center;
    gap: 13px;
}

.uptime__ping {
    position: relative;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.uptime__ping::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.5);
    animation: uptimePing 2.6s var(--ease) infinite;
}

@keyframes uptimePing {
    0% {
        transform: scale(0.55);
        opacity: 0.9;
    }

    72%,
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.uptime__label h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
}

.uptime__label p {
    margin-top: 3px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
}

.uptime__clock {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.uptime__days {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.045em;
    color: var(--accent);
    text-shadow: 0 0 38px rgba(34, 197, 94, 0.32);
}

.uptime__unit {
    font-size: 13px;
    color: var(--muted);
    margin-right: 6px;
}

.uptime__time {
    font-size: clamp(17px, 2.2vw, 25px);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-2);
}

/* ============================================================
   子页面通用
   ============================================================ */
.page-head {
    padding: calc(var(--nav-h) + 68px) 0 44px;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.page-head::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -40%;
    width: 760px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(34, 197, 94, 0.13), transparent);
    pointer-events: none;
}

.page-head__in {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-head h1 {
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
    margin-top: 16px;
}

.page-head h1 em {
    font-style: normal;
    color: var(--accent);
}

.page-head__aside {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--dim);
    text-align: right;
    line-height: 2;
    padding-bottom: 6px;
}

.page-head__aside b {
    color: var(--text-2);
    font-weight: 500;
}

/* ---------- changelog ---------- */
.log {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.log__rail {
    position: sticky;
    top: calc(var(--nav-h) + 28px);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.log__rail-t {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 12px;
}

.log__rail a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: var(--r-xs);
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--muted);
    border-left: 1px solid var(--line);
    transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.log__rail a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line-strong);
    flex: none;
    transition: background 0.18s, box-shadow 0.18s;
}

.log__rail a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.log__rail a.on {
    color: var(--accent);
    border-left-color: var(--accent);
}

.log__rail a.on::before {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.log__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-left: 1px solid var(--line);
    padding-left: 32px;
    margin-left: 4px;
}

.entry {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, var(--panel-2), var(--panel) 70%);
    padding: 26px 28px;
    transition: border-color 0.25s;
}

.entry:hover {
    border-color: var(--line-strong);
}

.entry::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 30px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--panel-3);
    border: 1px solid var(--line-strong);
    box-shadow: 0 0 0 4px var(--bg);
}

.entry.is-new::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(34, 197, 94, 0.7);
}

.entry__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.entry__ver {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.entry__ver b {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.tag {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
    text-transform: uppercase;
    white-space: nowrap;
}

.tag--hot {
    color: var(--accent);
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.09);
}

.entry__date {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    white-space: nowrap;
}

.entry h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.entry p {
    font-size: 13.8px;
    color: var(--muted);
}

.entry__list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.entry__list li {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.6;
}

.entry__list svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex: none;
    margin-top: 4px;
    opacity: 0.85;
}

/* ---------- team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.member {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, var(--panel-2), var(--panel) 65%);
    padding: 30px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.3s var(--ease);
}

.member:hover {
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-3px);
}

.member__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.member__ava {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 21px;
    font-weight: 500;
    color: var(--accent);
    background: linear-gradient(150deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.04));
    border: 1px solid rgba(34, 197, 94, 0.3);
    flex: none;
}

.member:nth-child(2) .member__ava {
    color: #7dd3fc;
    background: linear-gradient(150deg, rgba(125, 211, 252, 0.16), rgba(125, 211, 252, 0.04));
    border-color: rgba(125, 211, 252, 0.3);
}

.member__name {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member__handle {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    margin-top: 4px;
}

.member p {
    font-size: 13.8px;
    color: var(--muted);
    line-height: 1.7;
    min-height: 48px;
}

.member__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.qq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-2);
    padding: 6px 10px;
    border-radius: var(--r-xs);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
    transition: color 0.18s, border-color 0.18s;
}

.qq:hover {
    color: var(--accent);
    border-color: rgba(34, 197, 94, 0.4);
}

.qq svg {
    width: 13px;
    height: 13px;
    opacity: 0.7;
}

.member__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* progress block */
.progress {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(120deg, var(--panel-2), var(--panel) 60%);
    padding: 34px;
}

.ring {
    --p: 9;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    background:
        conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, 0.06) 0);
    margin: 0 auto;
    transition: background 1s var(--ease);
}

.ring::before {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--line);
}

.ring__in {
    position: relative;
    text-align: center;
}

.ring__v {
    font-family: var(--mono);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--text);
}

.ring__v small {
    font-size: 13px;
    color: var(--accent);
}

.ring__k {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 2px;
}

.progress__body h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.progress__body .ver {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    padding: 3px 9px;
    border-radius: 5px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.07);
}

.progress__body ul {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress__body li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.8px;
    color: var(--muted);
}

.progress__body li svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex: none;
    margin-top: 4px;
}

/* ---------- donate ---------- */
.donate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.qr-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, var(--panel-2), var(--panel) 65%);
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: border-color 0.25s, transform 0.3s var(--ease);
}

.qr-card:hover {
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-3px);
}

.qr-card__img {
    width: 148px;
    height: 148px;
    border-radius: var(--r);
    overflow: hidden;
    background: #fff;
    padding: 6px;
    flex: none;
    border: 1px solid var(--line-strong);
}

.qr-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-card__body h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.qr-card__body p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.qr-card__body .tag {
    margin-top: 12px;
    display: inline-block;
}

.note {
    border: 1px solid var(--line);
    border-left: 2px solid var(--accent);
    border-radius: 0 var(--r) var(--r) 0;
    background: rgba(34, 197, 94, 0.045);
    padding: 22px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.note svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex: none;
    margin-top: 2px;
}

.note h4 {
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.note p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
}

.note p b {
    color: var(--text-2);
    font-weight: 600;
}

.table-wrap {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--panel);
}

table.sponsors {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

table.sponsors thead th {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--dim);
    font-weight: 500;
    text-align: left;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.022);
    border-bottom: 1px solid var(--line);
}

table.sponsors tbody td {
    padding: 17px 24px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text-2);
}

table.sponsors tbody tr:last-child td {
    border-bottom: none;
}

table.sponsors tbody tr {
    transition: background 0.18s;
}

table.sponsors tbody tr:hover {
    background: rgba(34, 197, 94, 0.035);
}

table.sponsors td.amount {
    font-family: var(--mono);
    color: var(--accent);
    font-size: 13px;
}

table.sponsors td.muted {
    color: var(--muted);
    font-size: 13px;
}

.who {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.who .avatar {
    width: 24px;
    height: 24px;
    font-size: 9px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-strong);
}

/* ---------- 16. Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .hero__visual {
        max-width: 620px;
    }

    .window {
        transform: none;
    }

    .hero__desc {
        max-width: 60ch;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .log {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .log__rail {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .log__rail-t {
        width: 100%;
        margin-bottom: 4px;
    }

    .log__rail a {
        border-left: none;
        border: 1px solid var(--line);
    }

    .spec__row {
        grid-template-columns: 1fr 100px;
        row-gap: 8px;
    }

    .spec__desc {
        grid-column: 1 / -1;
    }

    .steps,
    .stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* 中等宽度下标题与说明改上下排，避免两侧互相挤压导致标题换行 */
    .section-head {
        display: block;
    }

    .section-head .lede {
        margin-top: 14px;
        max-width: 62ch;
    }

    .stack__col {
        border-left: 1px solid var(--line);
    }

    .stack__col:nth-child(2n + 1) {
        border-left: none;
    }

    .stack__col:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 1020px) {
    .nav__links {
        display: none;
    }

    .nav__actions .btn {
        display: none;
    }

    .nav__burger {
        display: grid;
    }

    .nav__inner {
        justify-content: space-between;
        gap: 16px;
    }
}

@media (max-width: 860px) {
    :root {
        --pad: 20px;
        --nav-h: 62px;
    }

    .section {
        padding: 76px 0;
    }

    .hero {
        padding-top: calc(var(--nav-h) + 52px);
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        border-bottom: 1px solid var(--line);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-bottom: none;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .span-2,
    .span-3,
    .span-4,
    .span-6 {
        grid-column: span 1;
    }

    .compare,
    .steps,
    .stack,
    .pricing,
    .team-grid,
    .donate-grid {
        grid-template-columns: 1fr;
    }

    .stack__col {
        border-left: none;
        border-top: 1px solid var(--line);
        padding: 20px 18px 12px;
    }

    .stack__col:first-child {
        border-top: none;
    }

    .progress {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .progress__body li {
        text-align: left;
    }

    .cta {
        padding: 36px 24px;
    }

    /* 页脚：手机端改为 2 列，品牌与授权整行 */
    .footer {
        padding: 44px 0 26px;
    }

    .footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
        padding-bottom: 26px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        padding-bottom: 22px;
        border-bottom: 1px solid var(--line);
    }

    .footer__brand p {
        margin-top: 12px;
        max-width: 34ch;
    }

    .footer__status {
        margin-top: 14px;
    }

    .uptime {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 22px;
        margin-bottom: 24px;
    }

    .uptime__clock {
        gap: 6px;
    }

    .footer__col h4 {
        margin-bottom: 10px;
    }

    .footer__col a {
        font-size: 13px;
        padding: 6px 0;
    }

    .footer__col--wide {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 4px;
        border-top: 1px solid var(--line);
    }

    .footer__col--wide h4 {
        grid-column: 1 / -1;
        margin: 12px 0 2px;
    }

    .footer__col--wide a.footer__plan {
        margin-bottom: 0;
    }

    .footer__col--wide > a:not(.footer__plan) {
        padding: 8px 0;
    }

    .footer__bot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 20px;
    }

    .page-head__aside {
        text-align: left;
    }

    .donate-grid .qr-card,
    .qr-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .float--badge {
        left: 8px;
        bottom: -12px;
    }

    .float--stat {
        right: 8px;
        top: -12px;
        bottom: auto;
    }

    .mock {
        grid-template-columns: 1fr;
    }

    .mock__side {
        display: none;
    }

    .marquee {
        margin-top: 48px;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 38px;
    }

    .hero__meta {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero__actions .btn {
        flex: 1;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .window__url {
        font-size: 9.5px;
    }

    .thread:nth-child(n + 4) {
        display: none;
    }

    .qr-card {
        padding: 20px;
    }

    .table-wrap {
        overflow-x: auto;
    }

    table.sponsors {
        min-width: 520px;
    }

    .entry {
        padding: 20px;
    }

    .log__list {
        padding-left: 20px;
    }

    .entry::before {
        left: -25px;
    }

    /* 小屏页脚再收一档 */
    .footer__top {
        gap: 22px 16px;
    }

    .footer__brand p {
        font-size: 13px;
        max-width: none;
    }

    .footer__col a {
        font-size: 12.5px;
    }

    .footer__col a.footer__plan {
        padding: 7px 9px;
        font-size: 12px;
    }

    .footer__plan b {
        font-size: 10.5px;
    }

    .footer__credits {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .uptime {
        padding: 18px 16px;
        border-radius: var(--r);
    }

    .uptime__label h4 {
        font-size: 13px;
    }

    .uptime__days {
        font-size: 32px;
    }

    .uptime__time {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
