/* status.jackdehaan.com — matches the dark "light-pillar" brand used across the
   other sites (black bg, Spectral serif, glassy purple-outlined cards). */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --outline: rgba(98, 31, 109, 0.92);
  --card-bg: rgba(8, 12, 24, 0.55);
  --up: #34d399;
  --down: #fe0000;
  --checking: #fbbf24;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Spectral", ui-serif, Georgia, "Times New Roman", Times, serif;
  color: #fff;
  background:
    radial-gradient(900px 600px at 70% 30%, rgba(64, 128, 255, 0.12), rgba(0, 0, 0, 0)),
    radial-gradient(700px 500px at 20% 80%, rgba(255, 120, 200, 0.08), rgba(0, 0, 0, 0)),
    #000;
  min-height: 100dvh;
  padding: 48px 20px 64px;
  display: flex;
  justify-content: center;
}

.shell {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header */
.head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 4px 4px;
}
.brand {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.4px;
  color: #fff;
  text-decoration: none;
}
.brand:hover {
  opacity: 0.85;
}
.brand__tag {
  font-size: 13px;
  letter-spacing: 0.6px;
  opacity: 0.6;
  text-transform: lowercase;
}

/* Cards */
.card {
  border: 1px solid var(--outline);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border-radius: 20px;
  padding: 26px 26px 22px;
}
.accent {
  width: 44px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #621f6d, #fe0000);
}
.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.card__title {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3px;
  text-transform: lowercase;
}
.card__hint {
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0.6;
}

/* "What I'm up to" */
.now__text {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  white-space: pre-line;
}
.now__meta {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0.5;
}

/* Services list */
.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.svc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.svc:first-child {
  border-top: 0;
}
.svc__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--checking);
  box-shadow: 0 0 0 0 currentColor;
  color: var(--checking);
}
.svc.is-up .svc__dot {
  background: var(--up);
  color: var(--up);
  animation: pulse 2.6s ease-out infinite;
}
.svc.is-down .svc__dot {
  background: var(--down);
  color: var(--down);
}
.svc.is-checking .svc__dot {
  background: var(--checking);
  color: var(--checking);
  animation: blink 1.1s ease-in-out infinite;
}
.svc__body {
  flex: 1 1 auto;
  min-width: 0;
}
.svc__name {
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.2px;
  color: #fff;
  text-decoration: none;
}
.svc__name:hover {
  border-bottom: 1px solid rgba(254, 0, 0, 0.5);
}
.svc__blurb {
  font-size: 12.5px;
  opacity: 0.55;
  font-weight: 300;
  margin-top: 1px;
}
.svc__state {
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0.7;
  flex: 0 0 auto;
  text-transform: lowercase;
}
.svc.is-up .svc__state {
  color: var(--up);
}
.svc.is-down .svc__state {
  color: var(--down);
}

.foot {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  opacity: 0.45;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 currentColor;
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
    opacity: 0.85;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    opacity: 1;
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 480px) {
  body {
    padding: 32px 14px 48px;
  }
  .card {
    padding: 22px 18px 18px;
  }
}
