:root {
    --ink: #171a1b;
    --muted: #64716a;
    --paper: #f4f6f1;
    --white: #ffffff;
    --line: #d6ddd5;
    --night: #171a1b;
    --mint: #d9f66d;
    --mint-deep: #126b55;
    --coral: #d16a4e;
    --yellow: #e4ad59;
    --green: #126b55;
    --red: #b4493e;
    --shadow: 0 16px 42px rgba(23, 26, 27, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--mint-deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 20; padding: 8px 14px; color: var(--white); background: var(--night); }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(246, 248, 246, .96); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: 0; text-decoration: none; }
.brand em { color: var(--muted); font-style: normal; font-weight: 500; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--night); background: var(--mint); font-weight: 850; font-size: 1.2rem; }
nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .93rem; }
nav a { padding: 24px 0 20px; border-bottom: 2px solid transparent; text-decoration: none; }
nav a:hover, nav a.is-active { color: var(--ink); border-bottom-color: var(--coral); }

.eyebrow { display: inline-block; color: var(--mint-deep); font-size: .72rem; font-weight: 800; letter-spacing: 0; line-height: 1.4; }
.status-hero { color: var(--white); background: var(--night); border-bottom: 1px solid #39433e; }
.hero-grid { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 72px; padding-block: 72px 80px; }
.status-hero .eyebrow { color: var(--mint); }
.status-hero h1 { max-width: 700px; margin: 18px 0 18px; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.04; letter-spacing: 0; }
.status-hero h1 em { color: var(--yellow); font-style: normal; }
.status-hero p { max-width: 650px; margin: 0; color: #c2cbc4; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 10px 18px; color: var(--night); background: var(--mint); border: 1px solid var(--mint); border-radius: 5px; font-weight: 800; text-decoration: none; }
.button:hover { color: var(--night); background: var(--yellow); border-color: var(--yellow); }
.button span { font-size: 1.2rem; line-height: 1; }
.quiet-link { color: var(--white); font-weight: 700; text-decoration: none; }
.quiet-link::after { content: ""; display: block; width: 100%; height: 1px; margin-top: 2px; background: var(--coral); }
.quiet-link:hover { color: var(--mint); }
.summary-panel { padding: 28px; border: 1px solid #405048; border-radius: 8px; background: #28312d; box-shadow: var(--shadow); }
.summary-panel > strong { display: block; margin-top: 18px; font-size: 1.06rem; }
.summary-panel > small { display: block; margin-top: 22px; color: #aab7ae; font-size: .76rem; }
.summary-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #405048; }
.summary-counts span { display: flex; flex-direction: column; color: #b0beb5; font-size: .75rem; }
.summary-counts b { color: var(--white); font-size: 1.65rem; line-height: 1.1; }

.status-dot { display: inline-block; flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px rgba(100, 115, 131, .13); }
.status-dot-up { background: var(--green); box-shadow: 0 0 0 5px rgba(32, 132, 91, .14); }
.status-dot-attention { background: var(--yellow); box-shadow: 0 0 0 5px rgba(244, 208, 111, .15); }
.status-dot-down { background: var(--coral); box-shadow: 0 0 0 5px rgba(233, 103, 82, .15); }
.summary-panel .status-dot { width: 16px; height: 16px; }
.summary-panel .status-dot-attention { background: var(--yellow); }

.services-section { padding-block: 82px 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: 0; }
.section-note { color: var(--muted); font-size: .84rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; }
.service-card.service-attention { border-left-color: var(--yellow); }
.service-card.service-down { border-left-color: var(--coral); }
.service-top { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.service-name { display: flex; align-items: start; gap: 14px; min-width: 0; }
.service-name .status-dot { margin-top: 8px; }
.service-name h2 { margin: 0; font-size: 1.18rem; line-height: 1.3; }
.service-name p { margin: 5px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.state-label { flex: 0 0 auto; color: var(--green); font-size: .77rem; font-weight: 800; text-align: right; }
.service-attention .state-label { color: #8a6d19; }
.service-down .state-label { color: var(--red); }
.service-bottom { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font: .75rem/1.5 "SFMono-Regular", Consolas, monospace; }
.service-bottom a { overflow-wrap: anywhere; color: var(--ink); font-family: inherit; text-decoration: none; }
.service-bottom a:hover { color: var(--mint-deep); }
.service-bottom span { text-align: right; }

.limits-section { border-top: 1px solid var(--line); background: var(--mint); }
.limits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 68px; }
.limits-grid h2 { margin: 14px 0 0; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.12; letter-spacing: 0; }
.limits-copy { max-width: 550px; color: #28584c; }
.limits-copy p { margin: 0 0 18px; }
.limits-copy ul { margin: 0; padding-left: 20px; }
.limits-copy li { margin: 8px 0; }
.limits-copy li::marker { color: var(--coral); }

.not-found { min-height: 58vh; display: flex; flex-direction: column; align-items: start; justify-content: center; padding-block: 80px; }
.not-found h1 { margin: 16px 0 12px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; letter-spacing: 0; }
.not-found p { margin: 0 0 26px; color: var(--muted); }
.site-footer { padding-block: 40px; color: #c1ccd2; background: var(--night); }
.footer-grid { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.site-footer strong { color: var(--white); font-size: .95rem; }
.site-footer p { margin: 6px 0 0; font-size: .84rem; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-size: .8rem; }
.footer-meta a { color: var(--mint); }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 60px 68px; }
    .summary-panel { max-width: 520px; }
    .limits-grid { gap: 38px; }
}
@media (max-width: 620px) {
    .container { width: min(100% - 32px, 1120px); }
    .nav-wrap { min-height: 66px; }
    .brand { font-size: .9rem; }
    .brand em { display: none; }
    nav { gap: 14px; font-size: .82rem; }
    nav a { padding: 20px 0 17px; }
    .status-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .status-hero p { font-size: 1rem; }
    .services-section { padding-block: 58px 70px; }
    .section-heading { align-items: start; flex-direction: column; gap: 10px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { padding: 20px; }
    .service-top { flex-direction: column; gap: 12px; }
    .state-label { padding-left: 25px; text-align: left; }
    .service-bottom { align-items: start; flex-direction: column; }
    .service-bottom span { text-align: left; }
    .limits-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 52px; }
    .footer-grid { align-items: start; flex-direction: column; }
    .footer-meta { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
