*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #1e1e2e;
  --surface: #252537;
  --surface-2: #2e2e45;
  --surface-3: #363655;
  --text: #cdd6f4;
  --text-sub: #a6adc8;
  --text-muted: #6c7086;
  --accent: #89b4fa;
  --accent-dim: rgba(137, 180, 250, 0.12);
  --accent-glow: rgba(137, 180, 250, 0.25);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header {
  padding: 0 0 2rem;
}

.wordmark {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.wordmark em {
  color: var(--accent);
  font-style: normal;
}

.tagline {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 0.875rem;
}

.status-left {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-sub);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a6e3a1;
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(166, 227, 161, 0.4);
  }
  60% {
    opacity: 0.5;
    box-shadow: 0 0 0 7px rgba(166, 227, 161, 0);
  }
}

.section {
  padding: 1.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-head {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pill {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.pill:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.pill:focus-visible,
.contact a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .pill,
  .pulse,
  .pill-arrow {
    animation: none;
    transition: none;
  }
}

.pill-domain {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.pill-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pill-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}

.pill:hover .pill-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.pill.own {
  border-color: rgba(137, 180, 250, 0.25);
  background: var(--accent-dim);
}

.pill.own:hover {
  border-color: rgba(137, 180, 250, 0.4);
  background: rgba(137, 180, 250, 0.18);
}

.pill.own .pill-domain {
  color: var(--accent);
}

.pill.own .pill-arrow {
  color: rgba(137, 180, 250, 0.45);
}

.pill.own:hover .pill-arrow {
  color: var(--accent);
}

.contact {
  padding: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact a {
  color: var(--text-sub);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.contact a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 540px) {
  html,
  body {
    overflow: auto;
    height: auto;
  }

  body {
    padding: 28px 16px;
    align-items: flex-start;
  }

  .header {
    padding: 0 0 1.25rem;
  }

  .section {
    padding: 1.1rem 0;
  }

  .pill {
    grid-template-columns: 140px 1fr auto;
    gap: 8px;
    padding: 9px 13px;
  }

  .pill-domain {
    font-size: 0.82rem;
  }

  .pill-desc {
    font-size: 0.72rem;
  }

  .status-row {
    padding: 0.75rem 0;
  }
}