:root {
  --ink: #202020;
  --muted: #797979;
  --muted-deep: #434343;
  --paper: #f3f3f3;
  --white: #ffffff;
  --line: rgba(32, 32, 32, 0.14);
  --night: #181818;
  --page-pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --ok: #2f8f4e;
  --down: #b3402f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--page-pad);
  background: var(--night);
  color: var(--white);
}

.hub-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-header__brand img {
  height: 22px;
  width: auto;
}

.hub-header__brand span {
  font-family: "Instrument Sans", "Noto Sans JP", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.hub-header__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 10px;
  margin-left: 2px;
}

.hub-header__date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px var(--page-pad) 96px;
}

.hub-category {
  margin-bottom: 48px;
}

.hub-category__heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.hub-category__heading .icon {
  font-size: 18px;
}

.hub-category__heading h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.hub-card {
  display: block;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:hover {
  border-color: var(--muted-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hub-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.hub-card__name {
  font-weight: 700;
  font-size: 14.5px;
}

.hub-card__desc {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.hub-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.hub-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
}

.hub-status[data-state="up"] i {
  background: var(--ok);
}

.hub-status[data-state="down"] i {
  background: var(--down);
}

.hub-status[data-state="up"] { color: var(--ok); }
.hub-status[data-state="down"] { color: var(--down); }

.hub-footer {
  padding: 24px var(--page-pad) 40px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.hub-footer a {
  color: var(--muted-deep);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hub-header {
    padding: 16px 20px;
  }
  .hub-header__label {
    display: none;
  }
  main {
    padding: 32px 20px 64px;
  }
  .hub-grid {
    grid-template-columns: 1fr;
  }
}
