:root {
  color-scheme: dark;
  --bg: #06100e;
  --bg-soft: #091915;
  --panel: rgba(12, 31, 26, 0.72);
  --panel-strong: rgba(14, 36, 30, 0.94);
  --line: rgba(224, 246, 233, 0.11);
  --line-strong: rgba(224, 246, 233, 0.2);
  --text: #f3f7f3;
  --muted: #9db0a8;
  --dim: #6f837b;
  --mint: #75e5b3;
  --mint-bright: #9cf6cd;
  --gold: #e6c878;
  --outage: #ff8f88;
  --degraded: #f2cc6b;
  --unknown: #84978f;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -18%, rgba(75, 204, 151, 0.12), transparent 40%),
    linear-gradient(180deg, #071713 0%, var(--bg) 42%, #050d0b 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.aurora {
  position: fixed;
  z-index: 0;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
}

.aurora-one { top: 6vh; left: -25vw; background: #44e1a5; }
.aurora-two { top: 34vh; right: -28vw; background: #d5a950; opacity: 0.08; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header,
main,
footer { position: relative; z-index: 1; }

.site-header {
  width: min(1160px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  padding-top: max(18px, env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 52px; }
.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 229, 179, 0.22);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(117, 229, 179, 0.13), rgba(230, 200, 120, 0.06));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 10px 35px rgba(0, 0, 0, 0.18);
}
.brand-mark svg { width: 31px; height: 31px; fill: none; stroke: var(--mint); stroke-width: 1.6; }
.brand-mark svg circle { fill: var(--gold); stroke: none; }
.brand-copy { display: grid; gap: 2px; }
.brand-name { font-size: 0.71rem; font-weight: 760; letter-spacing: 0.19em; color: var(--mint-bright); }
.brand-section { font-size: 0.92rem; font-weight: 580; color: #d9e4df; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.quiet-link { color: var(--muted); font-size: 0.9rem; transition: color 160ms ease; }
.quiet-link:hover { color: var(--text); }
.subscribe-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(117, 229, 179, 0.2);
  border-radius: 999px;
  background: rgba(117, 229, 179, 0.07);
  color: #dff8ec;
  font-size: 0.86rem;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.subscribe-button:hover { transform: translateY(-1px); background: rgba(117, 229, 179, 0.12); border-color: rgba(117, 229, 179, 0.38); }
.subscribe-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

main { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 510px;
  padding: 110px 20px 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-orbit { position: absolute; top: 50px; left: 50%; width: 320px; height: 320px; transform: translateX(-50%); opacity: 0.7; pointer-events: none; }
.orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(117, 229, 179, 0.1); border-radius: 50%; }
.orbit-ring-a { transform: rotateX(64deg) rotateZ(-14deg); animation: orbit-a 18s linear infinite; }
.orbit-ring-b { inset: 56px; border-color: rgba(230, 200, 120, 0.1); transform: rotateY(64deg) rotateZ(24deg); animation: orbit-b 15s linear infinite reverse; }
.status-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 78px; height: 78px;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(117, 229, 179, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 229, 179, 0.2), rgba(117, 229, 179, 0.03) 65%, transparent 66%);
  box-shadow: 0 0 60px rgba(117, 229, 179, 0.2);
}
.status-core span { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 9px rgba(117, 229, 179, 0.09), 0 0 38px var(--mint); animation: pulse 2.3s ease-in-out infinite; }

@keyframes orbit-a { to { transform: rotateX(64deg) rotateZ(346deg); } }
@keyframes orbit-b { to { transform: rotateY(64deg) rotateZ(384deg); } }
@keyframes pulse { 50% { transform: scale(0.8); opacity: 0.8; } }

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow { z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
.hero h1 { z-index: 1; max-width: 760px; margin: 0; font-size: clamp(2.55rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 650; text-wrap: balance; }
.hero-message { z-index: 1; max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.65; text-wrap: balance; }
.hero-meta { z-index: 1; min-height: 44px; margin-top: 30px; padding: 0 16px; display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 17, 14, 0.62); backdrop-filter: blur(16px); color: var(--dim); font-size: 0.78rem; }
.meta-divider { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.refresh-button { min-height: 44px; padding: 0; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.refresh-button:hover { color: var(--text); }
.refresh-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.refresh-button.is-loading svg { animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.status-shell,
.incident-section {
  border-top: 1px solid var(--line);
  padding: 72px 0 12px;
}
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.section-heading-row h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -0.035em; font-weight: 620; }
.history-key { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 14px; color: var(--dim); font-size: 0.72rem; }
.history-key span { display: inline-flex; align-items: center; gap: 6px; }
.history-key i { width: 7px; height: 7px; border-radius: 2px; background: var(--mint); }
.history-key .key-degraded { background: var(--degraded); }
.history-key .key-outage { background: var(--outage); }
.date-range { margin: 38px 0 12px; display: grid; grid-template-columns: 1fr auto 1fr; color: var(--dim); font-size: 0.7rem; }
.date-range span:nth-child(2) { text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.62rem; }
.date-range span:last-child { text-align: right; }

.component-groups { display: grid; gap: 16px; }
.group-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(18, 42, 35, 0.76), rgba(8, 24, 20, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 18px 50px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(18px);
}
.group-header { min-height: 72px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.group-title { display: flex; align-items: center; gap: 11px; }
.group-emblem { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--gold); background: rgba(230, 200, 120, 0.05); font-size: 0.9rem; }
.group-header h3 { margin: 0; font-size: 0.97rem; font-weight: 640; }
.group-summary { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); font-size: 0.72rem; font-weight: 650; }
.group-summary::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.group-summary.degraded { color: var(--degraded); }
.group-summary.outage { color: var(--outage); }
.group-summary.unknown { color: var(--unknown); }

.component-row { min-height: 126px; padding: 21px 22px; display: grid; grid-template-columns: minmax(180px, 1.35fr) minmax(250px, 2.4fr) 110px; align-items: center; gap: 22px; }
.component-row + .component-row { border-top: 1px solid var(--line); }
.component-name { min-width: 0; }
.component-name strong { display: block; margin-bottom: 7px; font-size: 0.94rem; font-weight: 620; }
.component-name p { margin: 0; color: var(--dim); font-size: 0.75rem; line-height: 1.45; }
.component-history { min-width: 0; }
.bars { height: 38px; display: grid; grid-template-columns: repeat(90, minmax(1px, 1fr)); align-items: end; gap: 2px; }
.bar { width: 100%; min-width: 1px; height: 27px; border-radius: 2px; background: rgba(132, 151, 143, 0.13); transition: height 160ms ease, opacity 160ms ease; }
.bar:hover { height: 36px; opacity: 0.8; }
.bar.operational { background: linear-gradient(180deg, var(--mint), #399b74); }
.bar.degraded { background: linear-gradient(180deg, #f7d97d, #b68a25); }
.bar.outage { background: linear-gradient(180deg, #ff9a91, #c95252); }
.component-history-meta { margin-top: 8px; display: flex; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 0.67rem; }
.component-state { text-align: right; }
.state-label { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); font-size: 0.77rem; font-weight: 690; }
.state-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 11px currentColor; }
.state-label.degraded { color: var(--degraded); }
.state-label.outage { color: var(--outage); }
.state-label.unknown { color: var(--unknown); }
.latency { display: block; margin-top: 8px; color: var(--dim); font-size: 0.67rem; }

.loading-card { height: 126px; padding: 24px; display: grid; grid-template-columns: 1fr 2fr 0.6fr; align-items: center; gap: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(18, 42, 35, 0.45); }
.loading-card span { height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04)); background-size: 220% 100%; animation: shimmer 1.8s infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

.incident-section { margin-top: 80px; }
.incident-heading-row { align-items: center; }
.api-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.8rem; }
.api-link:hover { color: var(--text); }
.incident-list { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(10, 27, 22, 0.55); }
.empty-incidents { min-height: 126px; padding: 26px; display: flex; align-items: center; gap: 18px; }
.empty-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(117, 229, 179, 0.16); border-radius: 15px; background: rgba(117, 229, 179, 0.06); color: var(--mint); font-size: 1.3rem; }
.empty-incidents strong { font-size: 0.93rem; }
.empty-incidents p { margin: 7px 0 0; color: var(--dim); font-size: 0.78rem; }
.incident-item { position: relative; padding: 24px 26px 24px 59px; }
.incident-item + .incident-item { border-top: 1px solid var(--line); }
.incident-marker { position: absolute; top: 29px; left: 27px; width: 10px; height: 10px; border: 2px solid var(--bg); border-radius: 50%; background: var(--outage); box-shadow: 0 0 0 4px rgba(255, 143, 136, 0.1); }
.incident-item.resolved .incident-marker { background: var(--mint); box-shadow: 0 0 0 4px rgba(117, 229, 179, 0.1); }
.incident-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.incident-top strong { font-size: 0.94rem; }
.incident-badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: rgba(255, 143, 136, 0.08); color: var(--outage); font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.incident-item.resolved .incident-badge { background: rgba(117, 229, 179, 0.08); color: var(--mint); }
.incident-item p { margin: 10px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.incident-time { display: block; margin-top: 10px; color: var(--dim); font-size: 0.66rem; }

.promise-card {
  position: relative;
  overflow: hidden;
  margin-top: 96px;
  padding: 40px;
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(230, 200, 120, 0.16);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(34, 46, 34, 0.78), rgba(14, 29, 25, 0.84));
  box-shadow: var(--shadow);
}
.promise-glow { position: absolute; top: -100px; right: 2%; width: 270px; height: 200px; border-radius: 50%; background: rgba(230, 200, 120, 0.1); filter: blur(60px); pointer-events: none; }
.promise-icon { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid rgba(230, 200, 120, 0.18); border-radius: 22px; background: rgba(230, 200, 120, 0.07); }
.promise-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.promise-copy h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.025em; }
.promise-copy p:last-child { max-width: 560px; margin: 10px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.65; }
.promise-stats { display: grid; grid-template-columns: repeat(3, 88px); gap: 10px; }
.promise-stats div { min-height: 72px; padding: 12px 9px; display: grid; align-content: center; text-align: center; border-left: 1px solid var(--line); }
.promise-stats strong { color: var(--gold); font-size: 1.08rem; font-weight: 650; }
.promise-stats span { margin-top: 4px; color: var(--dim); font-size: 0.6rem; line-height: 1.35; }

footer { width: min(1060px, calc(100% - 48px)); min-height: 180px; margin: 84px auto 0; padding: 38px 0 max(44px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.72rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark.small { width: 34px; height: 34px; border-radius: 11px; }
.brand-mark.small svg { width: 23px; height: 23px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a:hover { color: var(--text); }
.noscript { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 5; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #10251e; text-align: center; font-size: 0.8rem; }

body.state-degraded .status-core span { background: var(--degraded); box-shadow: 0 0 0 9px rgba(242, 204, 107, 0.09), 0 0 38px var(--degraded); }
body.state-outage .status-core span { background: var(--outage); box-shadow: 0 0 0 9px rgba(255, 143, 136, 0.09), 0 0 38px var(--outage); }
body.state-unknown .status-core span { background: var(--unknown); box-shadow: 0 0 0 9px rgba(132, 151, 143, 0.09), 0 0 38px var(--unknown); }
body.state-degraded .eyebrow { color: var(--degraded); }
body.state-outage .eyebrow { color: var(--outage); }
body.state-unknown .eyebrow { color: var(--unknown); }

@media (max-width: 860px) {
  .component-row { grid-template-columns: minmax(170px, 1fr) minmax(260px, 1.75fr); }
  .component-state { grid-column: 1; grid-row: 2; text-align: left; }
  .component-history { grid-row: span 2; }
  .promise-card { grid-template-columns: 70px 1fr; }
  .promise-stats { grid-column: 1 / -1; width: 100%; }
  .promise-stats div { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 640px) {
  :root { --radius-xl: 24px; --radius-lg: 18px; }
  .site-header, main, footer { width: min(100% - 28px, 1060px); }
  .site-header { min-height: 76px; }
  .brand-mark { width: 41px; height: 41px; border-radius: 13px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .brand-name { font-size: 0.63rem; }
  .brand-section { font-size: 0.8rem; }
  .quiet-link { display: none; }
  .subscribe-button { width: 44px; padding: 0; justify-content: center; font-size: 0; }
  .subscribe-button svg { width: 18px; height: 18px; }
  .hero { min-height: 470px; padding: 100px 8px 76px; }
  .hero-orbit { top: 55px; width: 255px; height: 255px; }
  .orbit-ring-b { inset: 44px; }
  .status-core { width: 66px; height: 66px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.45rem); }
  .hero-message { margin-top: 19px; font-size: 0.96rem; }
  .hero-meta { margin-top: 24px; padding: 0 13px; gap: 10px; font-size: 0.68rem; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .history-key { justify-content: flex-start; }
  .date-range span:nth-child(2) { display: none; }
  .date-range { grid-template-columns: 1fr 1fr; }
  .group-header { min-height: 64px; padding: 0 15px; }
  .group-emblem { width: 31px; height: 31px; }
  .group-header h3 { font-size: 0.86rem; }
  .group-summary { font-size: 0.65rem; }
  .component-row { min-height: 166px; padding: 18px 15px; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 17px 12px; }
  .component-name { grid-column: 1; }
  .component-state { grid-column: 2; grid-row: 1; align-self: start; }
  .component-name p { max-width: 245px; }
  .component-history { grid-column: 1 / -1; grid-row: 2; }
  .bars { gap: 1.5px; }
  .bar { height: 24px; }
  .latency { margin-top: 6px; }
  .status-shell, .incident-section { padding-top: 58px; }
  .incident-section { margin-top: 62px; }
  .incident-heading-row { flex-direction: row; align-items: flex-end; }
  .api-link { font-size: 0.72rem; }
  .promise-card { margin-top: 72px; padding: 27px 21px; grid-template-columns: 54px 1fr; gap: 18px; }
  .promise-icon { width: 54px; height: 54px; border-radius: 17px; }
  .promise-icon svg { width: 31px; height: 31px; }
  .promise-copy h2 { font-size: 1.12rem; }
  .promise-copy .section-kicker { font-size: 0.61rem; }
  .promise-stats { gap: 0; grid-template-columns: repeat(3, 1fr); }
  .promise-stats div { min-height: 66px; }
  footer { min-height: 210px; margin-top: 64px; flex-direction: column; justify-content: center; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .brand-name { letter-spacing: 0.13em; }
  .hero-meta #services-meta { display: none; }
  .hero-meta .meta-divider { display: none; }
  .group-summary { max-width: 120px; text-align: right; }
  .component-name strong { font-size: 0.87rem; }
  .component-name p { font-size: 0.7rem; }
  .state-label { font-size: 0.69rem; }
  .incident-heading-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
