:root {
  --bg: #0d1017;
  --panel: rgba(29, 34, 46, 0.82);
  --panel-strong: #1d2230;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f7fa;
  --muted: #bec5d1;
  --orange: #ee4400;
  --orange-soft: #ffb18e;
  --green: #58c49d;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 12% 10%, rgba(238, 68, 0, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 84%, rgba(65, 102, 145, 0.16), transparent 32rem),
    linear-gradient(135deg, #0b0e14 0%, #141925 48%, #0d1119 100%);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}
a { color: inherit; text-decoration: none; }
.page-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 32px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(28px, 5vw, 58px);
}
.topbar {
  min-height: 68px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(19, 23, 32, 0.76);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 46px; height: 46px; border-radius: 15px; overflow: hidden; }
.brand-logo { width: 100%; height: 100%; display: block; object-fit: cover; }
.brand-title { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 760; white-space: nowrap; }
.brand-title span { font-weight: 420; }
.service-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e4e8ef;
  font-size: 0.88rem;
  font-weight: 720;
}
.state-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(238, 68, 0, 0.13), 0 0 18px rgba(238, 68, 0, 0.85);
  animation: pulse 2.2s ease-in-out infinite;
}
main {
  display: grid;
  align-content: center;
  gap: 16px;
}
.maintenance-card {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(35, 40, 54, 0.94), rgba(19, 23, 32, 0.84));
  box-shadow: var(--shadow);
}
.message {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-soft);
  font-size: 0.79rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.55rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.6;
}
.actions { margin-top: 32px; }
.btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn.primary {
  color: #fff;
  border-color: #ff5b1b;
  background: linear-gradient(135deg, #ff5715, var(--orange));
  box-shadow: 0 12px 32px rgba(238, 68, 0, 0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(238, 68, 0, 0.32); }
.btn:focus-visible { outline: 3px solid rgba(255, 177, 142, 0.72); outline-offset: 4px; }
.reassurance {
  margin: 18px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #d4dae4;
  font-size: 0.91rem;
  line-height: 1.45;
}
.reassurance span { color: #7addb9; font-weight: 900; }
.system-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at center, rgba(238, 68, 0, 0.12), transparent 40%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.005));
}
.system-visual::before,
.system-visual::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
}
.system-visual::before { width: 1px; inset: 0 auto 0 50%; }
.system-visual::after { height: 1px; inset: 50% 0 auto; }
.ambient { position: absolute; border-radius: 50%; filter: blur(26px); opacity: 0.65; }
.ambient-one { width: 140px; height: 140px; top: 8%; right: 8%; background: rgba(238, 68, 0, 0.16); }
.ambient-two { width: 180px; height: 180px; bottom: 4%; left: 2%; background: rgba(74, 122, 180, 0.12); }
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-outer { width: min(78%, 390px); aspect-ratio: 1; animation: rotate 28s linear infinite; }
.orbit-inner { width: min(52%, 250px); aspect-ratio: 1; animation: rotateReverse 18s linear infinite; }
.node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(238, 68, 0, 0.12), 0 0 24px rgba(238, 68, 0, 0.8);
}
.node-one { top: 50%; left: 0; transform: translate(-50%, -50%); }
.node-two { top: 50%; right: 0; transform: translate(50%, -50%); }
.node-three { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  padding: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(20, 24, 34, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46), 0 0 50px rgba(238, 68, 0, 0.12);
  transform: translate(-50%, -50%);
}
.core img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; position: relative; z-index: 1; }
.core-glow { position: absolute; inset: -28px; border: 1px solid rgba(238, 68, 0, 0.16); border-radius: 50%; animation: corePulse 3s ease-in-out infinite; }
.signal-card {
  position: absolute;
  width: 116px;
  padding: 12px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(22, 27, 38, 0.8);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}
.signal-card span { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.13); }
.signal-card span:first-child { width: 68%; background: rgba(238, 68, 0, 0.72); }
.signal-card span:last-child { width: 44%; }
.signal-top { top: 12%; right: 9%; }
.signal-bottom { left: 8%; bottom: 12%; }
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}
.status-item {
  min-height: 108px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  background: rgba(25, 30, 41, 0.94);
}
.status-number { color: var(--orange-soft); font: 750 0.72rem/1 var(--font); letter-spacing: 0.08em; margin-top: 4px; }
.status-item strong { display: block; margin-bottom: 6px; font-size: 0.98rem; }
.status-item p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
footer {
  padding-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #969fac;
  font-size: 0.86rem;
}
.footer-note { color: #c9ced7; }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotateReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes pulse { 50% { opacity: 0.65; transform: scale(0.82); } }
@keyframes corePulse { 50% { transform: scale(1.08); opacity: 0.45; } }
@media (max-width: 860px) {
  .maintenance-card { grid-template-columns: 1fr; }
  .system-visual { min-height: 360px; border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .status-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-shell { width: 100%; padding: 0 0 24px; gap: 22px; }
  .topbar { min-height: 64px; border-top: 0; border-right: 0; border-left: 0; border-radius: 0; padding-inline: 16px; }
  .brand-mark { width: 42px; height: 42px; }
  .service-state { font-size: 0; gap: 0; }
  .service-state .state-dot { display: block; }
  main { padding: 0 16px; }
  .maintenance-card { min-height: auto; border-radius: 14px; }
  .message { padding: 34px 24px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .actions, .btn { width: 100%; }
  .system-visual { min-height: 300px; }
  .core { width: 94px; height: 94px; border-radius: 27px; }
  .core img { border-radius: 18px; }
  .signal-card { transform: scale(0.84); }
  footer { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
