@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --accent: #0071e3;
  --ok: #30a14e;
  --warn: #e8a317;
  --bad: #e5484d;
  --idle: #a1a1a6;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 30px rgba(0, 0, 0, .05);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, .05), 0 18px 48px rgba(0, 0, 0, .10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #98989d;
    --line: rgba(255, 255, 255, .10);
    --accent: #2997ff;
    --ok: #32d74b;
    --warn: #ffd60a;
    --bad: #ff453a;
    --idle: #636366;
    --shadow: none;
    --shadow-hover: 0 18px 48px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-feature-settings: "cv11", "ss01", "calt", "kern";
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--text);
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; height: 52px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.mark { font-size: 15px; font-weight: 600; letter-spacing: -0.016em; }
.seg {
  position: relative; display: inline-flex; padding: 2px; border-radius: 9px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}
.seg button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--text);
  padding: 5px 16px; border-radius: 7px; letter-spacing: -0.008em;
}
.seg-thumb {
  position: absolute; top: 2px; bottom: 2px; left: 0; width: 0; border-radius: 7px;
  background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 .5px rgba(0, 0, 0, .04);
  transition: transform .35s cubic-bezier(.32, .72, 0, 1), width .35s cubic-bezier(.32, .72, 0, 1);
}

/* Hero */
main { max-width: 1080px; margin: 0 auto; padding: 0 24px 40px; }
.hero { text-align: center; padding: 88px 0 64px; }
.eyebrow {
  font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: -0.018em;
  margin-bottom: 10px;
}
h1 {
  font-size: clamp(40px, 7.2vw, 80px); line-height: 1.04; font-weight: 700;
  letter-spacing: -0.035em;
}
.lead {
  max-width: 640px; margin: 22px auto 0; font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.38; color: var(--muted); letter-spacing: -0.017em; font-weight: 400;
}
.summary {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  padding: 9px 18px 9px 14px; border-radius: 980px; background: var(--card);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 500;
}

/* Groups and cards */
.group { margin-top: 56px; }
.group h2 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.026em; margin: 0 4px 20px;
  display: flex; align-items: baseline; gap: 12px;
}
.group h2 small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: -0.012em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 218px;
  padding: 26px 26px 22px; background: var(--card); border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.32, .72, 0, 1), box-shadow .45s cubic-bezier(.32, .72, 0, 1);
}
a.card:hover { transform: translateY(-4px) scale(1.012); box-shadow: var(--shadow-hover); }
a.card:active { transform: scale(.99); }
a.card:focus-visible { outline: 3px solid var(--a, var(--accent)); outline-offset: 3px; }
a.card:hover .go { color: var(--a, var(--accent)); }
/* Icon tile: one accent colour per application (--a is set on the card) */
.icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 13px; color: #fff; margin-bottom: 18px; flex: none;
  background: linear-gradient(145deg, color-mix(in srgb, var(--a) 78%, #fff) 0%, var(--a) 58%, color-mix(in srgb, var(--a) 82%, #000) 100%);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--a) 35%, transparent), 0 8px 20px -6px color-mix(in srgb, var(--a) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .45s cubic-bezier(.32, .72, 0, 1);
}
.icon svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
a.card:hover .icon { transform: translateY(-2px) scale(1.04); }
.card.static .icon { background: linear-gradient(145deg, color-mix(in srgb, var(--a) 70%, #fff), var(--a)); }
.card .kind { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.026em; line-height: 1.15; margin-top: 8px; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); letter-spacing: -0.012em; flex: 1; }
.card .foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px;
}
.host { color: var(--muted); font-feature-settings: "tnum"; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go { color: var(--accent); font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.go svg { width: 12px; height: 12px; transition: transform .3s cubic-bezier(.32, .72, 0, 1); }
a.card:hover .go svg { transform: translateX(3px); }
.card.static { opacity: .92; }

/* Status */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.card .status { position: absolute; top: 24px; right: 24px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--idle); flex: none; position: relative; }
.online .dot, .dot.online { background: var(--ok); }
.degraded .dot, .dot.degraded { background: var(--warn); }
.offline .dot, .dot.offline { background: var(--bad); }
.online .dot::after, .dot.online::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok);
  animation: pulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.checking { animation: blink 1.2s ease-in-out infinite; }
.online { color: var(--ok); }
.degraded { color: var(--warn); }
.offline { color: var(--bad); }
.none, .checking-t { color: var(--muted); }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }

footer { max-width: 1080px; margin: 0 auto; padding: 24px 24px 64px; text-align: center; color: var(--muted); font-size: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
a.card.reveal.in:hover { transform: translateY(-4px) scale(1.012); transition-delay: 0ms; }

@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .nav-in { padding: 0 16px; }
  main { padding: 0 16px 24px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 0; padding: 22px; border-radius: 20px; }
  .icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
  .icon svg { width: 22px; height: 22px; }
  .group { margin-top: 44px; }
  .group h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
