:root {
    --bg: #0b0d10;
    --surface: #14181d;
    --surface-hover: #1a2026;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);
    --text: #f2f5f6;
    --muted: #929ba4;
    --cyan: #64d9dc;
    --amber: #e7b96d;
    --header-height: 76px;
    --content-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 100;
    padding: 10px 14px; background: var(--text); color: var(--bg);
    transform: translateY(-160%); transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.site-shell { min-height: 100vh; overflow: hidden; }

.site-header {
    position: relative; z-index: 20; display: grid;
    grid-template-columns: 1fr auto 1fr; align-items: center;
    height: var(--header-height);
    padding: 0 max(24px, calc((100vw - var(--content-width)) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(11, 13, 16, 0.92); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark {
    display: grid; grid-template-columns: repeat(2, 7px); gap: 3px;
    width: 22px; height: 22px; padding: 2px; transform: rotate(45deg);
}
.brand-mark span { border: 1px solid var(--cyan); }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { background: var(--cyan); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: stretch; height: 100%; }
.desktop-nav a {
    position: relative; display: grid; place-items: center; min-width: 76px;
    color: var(--muted); font-size: 13px; transition: color 180ms ease;
}
.desktop-nav a::after {
    position: absolute; right: 18px; bottom: -1px; left: 18px;
    height: 1px; background: var(--cyan); content: "";
    opacity: 0; transform: scaleX(0.4); transition: opacity 180ms ease, transform 180ms ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { opacity: 1; transform: scaleX(1); }

.header-meta { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.clock { display: flex; align-items: flex-end; flex-direction: column; font-variant-numeric: tabular-nums; line-height: 1; }
.clock span { font-size: 13px; font-weight: 600; }
.clock small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.icon-button {
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer;
}
.icon-button svg { width: 18px; height: 18px; }
.menu-button { display: none; }
.mobile-nav {
    position: absolute; z-index: 19; top: var(--header-height); right: 0; left: 0;
    padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: #111419;
}
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.hero {
    position: relative; min-height: min(690px, calc(100vh - var(--header-height)));
    overflow: hidden; border-bottom: 1px solid var(--line); background: #101318;
}
.hero::before, .hero::after { position: absolute; z-index: 2; content: ""; pointer-events: none; }
.hero::before {
    top: 0; bottom: 0; left: max(24px, calc((100vw - var(--content-width)) / 2));
    width: 1px; background: var(--line);
}
.hero::after {
    right: max(24px, calc((100vw - var(--content-width)) / 2)); bottom: 112px;
    left: max(24px, calc((100vw - var(--content-width)) / 2)); height: 1px; background: var(--line);
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media {
    background: #14171b url("assets/server-node.jpg") center / cover no-repeat;
    filter: saturate(0.72) contrast(1.06); transform: scale(1.01);
}
.hero-shade { background: rgba(8, 10, 12, 0.46); box-shadow: inset 48vw 0 0 rgba(8, 10, 12, 0.5); }
.hero-content {
    position: relative; z-index: 3; display: flex; align-items: flex-start; flex-direction: column; justify-content: center;
    min-height: min(690px, calc(100vh - var(--header-height))); max-width: var(--content-width);
    margin: 0 auto; padding: 64px 72px 132px;
}
.eyebrow, .section-kicker { color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(100, 217, 220, 0.9); }
.hero h1 {
    max-width: 760px; margin: 28px 0 24px;
    font-size: 104px; font-weight: 600; line-height: 0.88; text-transform: uppercase;
}
.hero p { margin: 0; color: #bac1c7; font-size: 15px; line-height: 1.9; }
.primary-action {
    display: inline-flex; align-items: center; justify-content: space-between;
    width: 160px; height: 48px; margin-top: 34px; padding: 0 17px;
    border: 1px solid var(--line-strong); border-radius: 4px;
    background: rgba(255, 255, 255, 0.06); font-size: 13px;
    transition: background 180ms ease, border-color 180ms ease;
}
.primary-action:hover { border-color: var(--cyan); background: rgba(100, 217, 220, 0.1); }
.primary-action svg { width: 17px; height: 17px; transition: transform 180ms ease; }
.primary-action:hover svg { transform: translateX(3px); }
.hero-index {
    position: absolute; z-index: 3;
    right: max(48px, calc((100vw - var(--content-width)) / 2 + 48px)); bottom: 55px;
    left: max(48px, calc((100vw - var(--content-width)) / 2 + 48px));
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
    color: var(--muted); font-size: 9px;
}
.hero-index div { height: 1px; background: rgba(255, 255, 255, 0.25); }

.services-section, .about-section { max-width: var(--content-width); margin: 0 auto; padding: 112px 48px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-heading h2, .about-copy h2 { margin: 12px 0 0; font-size: 34px; font-weight: 600; line-height: 1.25; }
.section-heading p { max-width: 360px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; text-align: right; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-card {
    position: relative; display: grid; grid-template-columns: 32px 52px 1fr auto 28px;
    align-items: center; gap: 18px; min-height: 154px; padding: 26px 28px;
    border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: transparent; text-align: left; cursor: pointer; transition: background 180ms ease;
}
.service-card:nth-child(even) { border-right: 0; }
.service-card:hover, .service-card:focus-visible { background: var(--surface-hover); outline: none; }
.service-number { align-self: start; color: #5f6870; font-size: 9px; }
.service-icon {
    display: grid; place-items: center; width: 52px; height: 52px;
    border: 1px solid var(--line); border-radius: 4px; color: var(--cyan);
    transition: border-color 180ms ease, background 180ms ease;
}
.service-card:hover .service-icon { border-color: rgba(100, 217, 220, 0.4); background: rgba(100, 217, 220, 0.07); }
.service-icon svg { width: 22px; height: 22px; }
.service-copy { display: flex; flex-direction: column; min-width: 0; }
.service-copy strong { overflow-wrap: anywhere; font-size: 16px; font-weight: 600; }
.service-copy small { margin-top: 7px; color: var(--muted); font-size: 8px; }
.service-status { padding: 5px 8px; border: 1px solid rgba(231, 185, 109, 0.28); border-radius: 3px; color: var(--amber); font-size: 9px; }
.service-card-live .service-status { border-color: rgba(100, 217, 220, 0.32); color: var(--cyan); }
.service-arrow { color: var(--muted); transition: color 180ms ease, transform 180ms ease; }
.service-arrow svg { width: 18px; height: 18px; }
.service-card:hover .service-arrow { color: var(--text); transform: translate(2px, -2px); }
.service-card-muted .service-icon, .service-card-muted .service-copy, .service-card-muted .service-arrow { opacity: 0.62; }

.about-section { display: grid; grid-template-columns: 0.6fr 1.25fr 1fr; gap: 70px; border-top: 1px solid var(--line); }
.about-label { display: flex; flex-direction: column; }
.about-label span { color: var(--muted); font-size: 9px; }
.about-label strong { margin-top: 8px; color: var(--cyan); font-size: 28px; font-weight: 500; }
.about-copy p { max-width: 500px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.node-facts { border-top: 1px solid var(--line); }
.node-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.node-facts span { color: var(--muted); }
.node-facts strong { overflow-wrap: anywhere; font-weight: 500; text-align: right; }

.site-footer {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 108px;
    padding: 0 max(24px, calc((100vw - var(--content-width)) / 2));
    border-top: 1px solid var(--line); color: var(--muted); font-size: 9px;
}
.footer-brand { color: var(--text); font-weight: 600; }
.site-footer p { margin: 0; }
.site-footer > span { text-align: right; }
.toast {
    position: fixed; z-index: 50; right: 24px; bottom: 24px;
    display: flex; align-items: center; gap: 10px; max-width: min(380px, calc(100vw - 48px));
    padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 4px;
    background: #171b20; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32); font-size: 12px;
    opacity: 0; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease;
}
.toast[hidden] { display: none; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--amber); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 900px) {
    .site-header { grid-template-columns: 1fr auto; }
    .desktop-nav { display: none; }
    .menu-button { display: grid; }
    .hero-content { padding-right: 48px; padding-left: 48px; }
    .hero h1 { font-size: 78px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card, .service-card:nth-child(even) { border-right: 0; }
    .about-section { grid-template-columns: 0.45fr 1.3fr; }
    .node-facts { grid-column: 2; }
}

@media (max-width: 640px) {
    :root { --header-height: 68px; }
    .site-header { padding: 0 18px; }
    .brand-copy small, .clock { display: none; }
    .hero { min-height: 650px; }
    .hero::before { left: 20px; }
    .hero::after { right: 20px; bottom: 82px; left: 20px; }
    .hero-media { background-position: 64% center; }
    .hero-shade { background: rgba(8, 10, 12, 0.62); box-shadow: inset 45vw 0 0 rgba(8, 10, 12, 0.22); }
    .hero-content { justify-content: flex-end; min-height: 650px; padding: 80px 30px 126px; }
    .hero h1 { margin-top: 22px; font-size: 58px; }
    .hero p { font-size: 13px; }
    .hero p br { display: none; }
    .hero-index { right: 28px; bottom: 40px; left: 28px; }
    .services-section, .about-section { padding: 80px 20px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 34px; }
    .section-heading h2, .about-copy h2 { font-size: 28px; }
    .section-heading p { max-width: none; text-align: left; }
    .service-card { grid-template-columns: 44px 1fr auto; gap: 14px; min-height: 126px; padding: 22px 12px; }
    .service-number, .service-status { display: none; }
    .service-icon { width: 44px; height: 44px; }
    .service-arrow { justify-self: end; }
    .about-section { grid-template-columns: 1fr; gap: 44px; }
    .about-label { flex-direction: row; align-items: baseline; gap: 12px; }
    .about-label strong { margin-top: 0; }
    .node-facts { grid-column: auto; }
    .site-footer { grid-template-columns: 1fr auto; min-height: 92px; padding: 0 20px; }
    .site-footer p { display: none; }
    .toast { right: 16px; bottom: 16px; max-width: calc(100vw - 32px); }
}

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