/* ultmods.com hub. Colors and fonts come from brand/tokens.css (shared with status.ultmods.com). Light only. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.55 var(--font-text); }
a { color: inherit; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

.top { background: var(--night); color: var(--night-ink); }
.top-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; }
.logo img { display: block; height: 34px; width: auto; }
.top nav { display: flex; gap: 18px; font-size: 14px; white-space: nowrap; }
.top nav a { color: var(--night-muted); text-decoration: none; }
.top nav a:hover { color: var(--night-ink); }
.top nav .nav-store { color: var(--sodium); }

.intro { padding: 44px 0 8px; }
h1 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 10px; }
.lede { color: var(--muted); margin: 0; font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 22px 0 6px; }
.btn { background: var(--sodium); color: var(--on-sodium); font-weight: 700; padding: 10px 18px; border-radius: 8px; text-decoration: none; }
.btn:hover { background: var(--sodium-deep); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.overall { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; }
.overall:hover span { text-decoration: underline; }

.grp h2 { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 34px 0 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.tile > a { display: block; padding: 14px 16px; text-decoration: none; height: 100%; border-radius: inherit; }
.tile > a:hover { background: var(--panel-2); }
.tile b { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.tile .desc { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; overflow-wrap: anywhere; }
.tile .label { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; margin-top: 8px; }
.tile-building { border-style: dashed; border-color: var(--line-strong); }

.tile-night { background: var(--night); border-color: var(--night); color: var(--night-ink); padding: 14px 16px; }
.tile-night .night-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tile-night a { text-decoration: none; }
.tile-night .ext, .tile-night .desc a { color: var(--sodium); }
.tile-night .desc { color: var(--night-muted); }
.tile-night .label { margin: 8px 8px 0 0; }

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; background: var(--unknown); }
.st-operational .dot, .dot.st-operational { background: var(--ok); }
.st-degraded .dot, .dot.st-degraded { background: var(--sodium); }
.st-outage .dot, .dot.st-outage { background: var(--red); }
.st-maintenance .dot, .dot.st-maintenance { background: var(--maint); }
.st-building .dot, .dot.st-building { background: var(--blue); }
.label.st-operational, .overall.st-operational { color: var(--ok-text); }
.label.st-degraded, .overall.st-degraded { color: var(--warn-text); }
.label.st-outage, .overall.st-outage { color: var(--red-text); }
.label.st-maintenance, .overall.st-maintenance { color: var(--blue-text); }
.label.st-unknown, .overall.st-unknown { color: var(--muted); }
.label.st-building { color: var(--blue-text); }
.tile-night .label.st-operational { color: #6FD6A2; }
.tile-night .label.st-degraded { color: #F5BE6B; }
.tile-night .label.st-outage { color: #FF8A8E; }
.tile-night .label.st-maintenance, .tile-night .label.st-building { color: #9CC1FF; }
.tile-night .label.st-unknown { color: var(--night-muted); }

.foot { margin-top: 56px; padding: 22px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--ink-2); }

@media (max-width: 480px) {
  .top nav { gap: 12px; font-size: 13px; }
  .logo img { height: 28px; }
  .intro { padding-top: 32px; }
}
