:root {
  --bg: #06101c;
  --panel: rgba(10, 26, 43, .78);
  --line: rgba(159, 190, 217, .16);
  --text: #f4f8fb;
  --muted: #91a8bc;
  --cyan: #3bd8ff;
  --blue: #3578ff;
  --green: #47e6a5;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 30%, rgba(43, 108, 255, .22), transparent 29rem),
    radial-gradient(circle at 12% 12%, rgba(26, 194, 221, .11), transparent 25rem),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.shell { position: relative; width: min(1180px, calc(100% - 40px)); margin: auto; }
.topline { min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(59,216,255,.55); border-radius: 11px; color: var(--cyan); background: rgba(59,216,255,.08); font-weight: 800; }
.brand b { display: block; font-size: 14px; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.server-state { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.server-state i { width: 8px; height: 8px; border-radius: 50%; background: #f1b84b; box-shadow: 0 0 0 5px rgba(241,184,75,.08); }
.online .server-state i { background: var(--green); box-shadow: 0 0 0 5px rgba(71,230,165,.08), 0 0 18px rgba(71,230,165,.6); }
.offline .server-state i { background: #ff677d; }

.hero { min-height: 545px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding: 68px 4%; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; max-width: 710px; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.intro { max-width: 610px; margin: 26px 0 31px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.server-card { display: grid; grid-template-columns: 1.5fr 1fr 1fr; max-width: 650px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.server-card div { padding: 0 18px; border-right: 1px solid var(--line); }
.server-card div:first-child { padding-left: 0; }
.server-card div:last-child { border: 0; }
.server-card dt { margin-bottom: 5px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.server-card dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }

.dial-wrap { display: flex; flex-direction: column; align-items: center; }
.start { position: relative; width: 232px; height: 232px; padding: 14px; border: 1px solid rgba(59,216,255,.32); border-radius: 50%; color: var(--text); background: radial-gradient(circle, rgba(42,105,255,.2), rgba(12,27,48,.72) 65%); cursor: pointer; box-shadow: 0 0 0 12px rgba(46,110,255,.035), 0 0 90px rgba(39,108,255,.2); transition: transform .25s, border-color .25s, box-shadow .25s; }
.start::before, .start::after { content: ""; position: absolute; inset: -8px; border: 1px dashed rgba(117,191,255,.22); border-radius: inherit; }
.start::after { inset: 17px; border-style: solid; border-color: rgba(255,255,255,.08); }
.start:hover { transform: scale(1.035); border-color: var(--cyan); box-shadow: 0 0 0 12px rgba(46,110,255,.05), 0 0 110px rgba(39,108,255,.32); }
.start:disabled { cursor: wait; }
.start.running::before { animation: spin 5s linear infinite; }
.start-ring { position: relative; z-index: 1; display: grid; place-content: center; width: 100%; height: 100%; border-radius: inherit; }
.start-ring > span { font-size: 25px; font-weight: 650; letter-spacing: -.02em; }
.start-ring small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.phase { min-height: 22px; margin: 31px 0 12px; color: var(--muted); font-size: 13px; text-align: center; }
.progress { width: 220px; height: 2px; overflow: hidden; background: var(--line); }
.progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .35s ease; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); backdrop-filter: blur(14px); }
.metrics article { min-height: 150px; padding: 27px 34px; border-right: 1px solid var(--line); }
.metrics article:last-child { border: 0; }
.metric-head { margin-bottom: 15px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.arrow, .pulse { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; color: var(--cyan); background: rgba(59,216,255,.08); }
.arrow.up { color: var(--green); background: rgba(71,230,165,.08); }
.metrics strong { font-size: clamp(39px, 5vw, 58px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.metrics small { margin-left: 10px; color: var(--muted); font-size: 12px; }
.notes { display: flex; justify-content: space-between; gap: 30px; padding: 26px 4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.notes p { margin: 0; }
.notes p:first-child { max-width: 700px; }
.notes b { color: #c9d7e2; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 44px; border-top: 1px solid var(--line); color: #647b8e; font-size: 11px; }
footer a { color: #7e99ad; text-decoration: none; }
footer a:hover { color: var(--cyan); }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 55px; padding: 58px 0; }
  .hero-copy { text-align: center; }
  .intro { margin-left: auto; margin-right: auto; }
  .server-card { margin: auto; text-align: left; }
  .metrics article { padding: 24px; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topline { min-height: 74px; }
  .server-state span { display: none; }
  .hero { padding: 48px 0; }
  h1 { font-size: 43px; }
  .intro { font-size: 14px; }
  .server-card { grid-template-columns: 1fr; gap: 14px; }
  .server-card div { padding: 0; border: 0; }
  .start { width: 205px; height: 205px; }
  .metrics { grid-template-columns: 1fr; }
  .metrics article { min-height: 115px; border-right: 0; border-bottom: 1px solid var(--line); }
  .notes, footer { flex-direction: column; }
}
