:root {
  color-scheme: dark;
  --bg: #0a0d13;
  --surface: #111720;
  --surface-raised: #151c27;
  --surface-soft: #111820;
  --line: #27303c;
  --line-soft: #202832;
  --text: #f3f6fa;
  --muted: #a6b0bd;
  --quiet: #75808d;
  --mint: #8ce6c6;
  --mint-strong: #49cfa5;
  --blue: #a0b9ff;
  --violet: #b2a2fb;
  --amber: #ffcf83;
  --red: #ff8998;
  --up-fill: #69dcb1;
  --degraded-fill: #e7b66d;
  --down-fill: #e87b8a;
  --unknown-fill: #303a47;
  --shadow: 0 28px 100px #0005;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef1f4;
  --surface: #fff;
  --surface-raised: #f7f9fb;
  --surface-soft: #f4f7f8;
  --line: #d8e0e7;
  --line-soft: #e5eaf0;
  --text: #16202b;
  --muted: #576575;
  --quiet: #8793a0;
  --mint: #2c9b78;
  --mint-strong: #238a68;
  --blue: #5874be;
  --violet: #7865bd;
  --amber: #a66819;
  --red: #c54e61;
  --up-fill: #45b98d;
  --degraded-fill: #d89a45;
  --down-fill: #db6e7d;
  --unknown-fill: #dce3e9;
  --shadow: 0 24px 70px #283c521b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-glow {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 860px;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 55% at 48% -10%, #5379bd1b, transparent 80%);
}
.site-shell { width: min(1184px, calc(100% - 64px)); margin: auto; }
.topbar {
  display: flex;
  align-items: center;
  height: 92px;
  gap: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { filter: drop-shadow(0 4px 12px #70b3ec26); }
.brand-name { display: flex; align-items: baseline; font-size: 21px; font-weight: 760; letter-spacing: -.075em; white-space: nowrap; }
.brand-name > span:first-child { color: var(--blue); }
.brand-divider { margin: 0 8px 0 10px; color: var(--quiet); font-weight: 350; }
.brand-name em { color: var(--muted); font-size: 16px; font-style: normal; font-weight: 470; letter-spacing: -.025em; }
.topnav { display: flex; align-items: center; gap: 30px; height: 100%; margin-left: 56px; }
.topnav a { color: var(--muted); font-size: 13px; font-weight: 590; transition: color .2s; }
.topnav a:hover, .topnav a:focus-visible { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.language-switch button { min-width: 32px; height: 28px; padding: 0 6px; border: 0; border-radius: 7px; background: none; color: var(--quiet); font-size: 11px; font-weight: 750; transition: color .2s, background .2s, box-shadow .2s; }
.language-switch button[aria-pressed="true"] { background: var(--surface-raised); color: var(--text); box-shadow: 0 1px 5px #0002; }
.theme-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); transition: background .2s, color .2s, transform .2s; }
.theme-button svg, .site-link svg, .service-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-button:hover { background: var(--surface-raised); color: var(--text); transform: translateY(-1px); }
.site-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 36px; margin-left: 3px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 660; transition: border-color .2s, transform .2s, background .2s; }
.site-link:hover { border-color: var(--blue); background: var(--surface-raised); transform: translateY(-2px); }
.site-link svg { transform: rotate(-45deg); }

main { padding-bottom: 100px; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  min-height: 393px;
  margin-top: 35px;
  overflow: hidden;
  border: 1px solid #354354;
  border-radius: 25px;
  background:
    radial-gradient(ellipse 55% 95% at 86% 43%, #334d6c47, transparent 78%),
    radial-gradient(ellipse 45% 90% at 20% 108%, #172b3d5c, transparent 82%),
    linear-gradient(110deg, #14212c, #111b28 65%, #142136);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero::before { position: absolute; z-index: 0; inset: 0; content: ""; pointer-events: none; background: linear-gradient(125deg, #fff6, transparent 16%, transparent 78%, #a8aaff0d); opacity: .18; }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: .28; 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 56px 0 56px 62px; color: #f4f7fc; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #adc4d9; font-size: 10px; font-weight: 770; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #84e2c4; box-shadow: 0 0 13px #84e2c470; }
.eyebrow-index { margin-left: 9px; color: #91a5bd7e; letter-spacing: .06em; }
.hero h1 { max-width: 650px; margin: 23px 0 17px; font-size: clamp(38px, 4.4vw, 59px); font-weight: 720; letter-spacing: -.065em; line-height: 1.08; }
.heading-gradient { background: linear-gradient(95deg, #dbfdf0 4%, #9bd6ef 45%, #b1a5fb 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 490px; margin: 0; color: #b0bece; font-size: 14px; line-height: 1.75; }
.hero-status-row { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 30px; }
.overall-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 14px; border: 1px solid #8293a039; border-radius: 100px; background: #b9d1e60d; color: #d4deeb; font-size: 12px; font-weight: 670; backdrop-filter: blur(12px); }
.overall-pill.operational { border-color: #8ce6c643; background: #8ce6c614; color: #abf1d8; }
.overall-pill.degraded { border-color: #ffcf8360; background: #ffcf8313; color: #ffdca4; }
.overall-pill.outage { border-color: #ff89985c; background: #ff899813; color: #ffb1b9; }
.status-light { width: 8px; height: 8px; border-radius: 50%; background: #a5afbd; box-shadow: 0 0 0 4px #a5afbd20; }
.operational .status-light { background: #7ce2bb; box-shadow: 0 0 0 4px #7ce2bb25, 0 0 13px #7ce2bb80; animation: soft-pulse 2.8s ease-in-out infinite; }
.degraded .status-light { background: #ffcf83; box-shadow: 0 0 0 4px #ffcf8327; }
.outage .status-light { background: #ff8998; box-shadow: 0 0 0 4px #ff899827; }
.hero-update { color: #91a2b3; font-size: 11px; }
.hero-visual { position: relative; min-height: 390px; overflow: hidden; }
.visual-grid { position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(#99b1db0e 1px, transparent 1px), linear-gradient(90deg, #99b1db0e 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 77%); }
.orbit { position: absolute; top: 50%; left: 49%; border: 1px solid #b2d4ff24; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-outer { width: 420px; height: 420px; border-style: dashed; opacity: .56; }
.orbit-middle { width: 318px; height: 318px; border-color: #a7c8e12c; }
.orbit-inner { width: 225px; height: 225px; border-color: #a0c1ff3b; background: radial-gradient(circle, #8fc4ff0c, transparent 68%); }
.orbit-path { position: absolute; top: 50%; left: 49%; width: 318px; height: 318px; margin: -159px; border-radius: 50%; animation: rotate 18s linear infinite; }
.orbit-path i { position: absolute; top: 19px; left: 71px; width: 8px; height: 8px; border-radius: 50%; background: #8de6d0; box-shadow: 0 0 0 5px #8de6d022, 0 0 22px #8de6d070; }
.orbit-path-b { width: 225px; height: 225px; margin: -112.5px; animation-duration: 13s; animation-direction: reverse; }
.orbit-path-b i { top: 26px; left: 20px; width: 6px; height: 6px; background: #b9a8ff; box-shadow: 0 0 0 5px #b9a8ff20, 0 0 20px #b9a8ff88; }
.visual-core { position: absolute; top: 50%; left: 49%; display: grid; width: 145px; height: 145px; place-items: center; border: 1px solid #b2d7ef42; border-radius: 38px; background: linear-gradient(140deg, #324b62a8, #1a2b3c8c); box-shadow: 0 23px 50px #0004, 0 0 55px #8ecafa21, inset 0 1px #ffffff35; transform: translate(-50%, -50%) rotate(-10deg); }
.visual-core-inner { display: grid; width: 100%; height: 100%; place-items: center; transform: rotate(10deg); }
.visual-core img { width: 75px; height: 75px; filter: drop-shadow(0 12px 24px #9faafa4d); }
.visual-coord { position: absolute; color: #a5bdd583; font-size: 9px; font-weight: 680; letter-spacing: .15em; }
.coord-a { top: 62px; right: 48px; }
.coord-b { right: 44px; bottom: 51px; }

.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.metric-card { min-height: 151px; padding: 22px 25px 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); transition: border-color .25s, transform .25s, box-shadow .25s; }
.metric-card:hover { border-color: #788fa956; transform: translateY(-3px); box-shadow: 0 16px 32px #0002; }
.metric-primary { background: linear-gradient(135deg, var(--surface-raised), var(--surface)); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 560; }
.metric-mark { color: var(--mint); font-size: 20px; font-weight: 350; line-height: 12px; }
.metric-small-dot { width: 7px; height: 7px; border-radius: 50%; }
.metric-small-dot.cyan { background: var(--mint); box-shadow: 0 0 0 5px #69dcb10f; }
.metric-small-dot.violet { background: var(--violet); box-shadow: 0 0 0 5px #b2a2fb14; }
.metric-value { margin-top: 13px; font-size: 33px; font-weight: 720; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-primary .metric-value { color: var(--mint); }
.metric-denominator { color: var(--quiet); font-size: 21px; font-weight: 500; }
.metric-time { font-size: 28px; }
.metric-foot { margin-top: 13px; color: var(--quiet); font-size: 11px; }

.section-block { margin-top: 79px; scroll-margin-top: 35px; }
.section-heading, .panel-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-kicker { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.kicker-line { width: 16px; height: 1px; background: currentColor; }
h2, h3, p { margin-top: 0; }
.section-heading h2, .panel-header h2 { margin: 11px 0 0; font-size: clamp(27px, 2.7vw, 36px); font-weight: 660; letter-spacing: -.05em; line-height: 1.16; }
.section-side-note { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 3px; color: var(--quiet); font-size: 11px; white-space: nowrap; }
.live-spark { width: 5px; height: 5px; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 0 4px #73d2ad18; }
.service-list { margin-top: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.service-row { display: grid; grid-template-columns: minmax(255px, 1.1fr) minmax(240px, 1fr) 135px; align-items: center; gap: 20px; min-height: 105px; padding: 18px 27px; border-bottom: 1px solid var(--line-soft); transition: background .2s; }
.service-row:last-child { border-bottom: 0; }
.service-row:hover { background: var(--surface-raised); }
.service-identity { display: flex; align-items: center; min-width: 0; gap: 16px; }
.service-icon { display: grid; width: 45px; height: 45px; flex-shrink: 0; place-items: center; border: 1px solid #a0b9ff2d; border-radius: 13px; background: #a0b9ff0b; color: var(--blue); }
.service-icon svg { width: 22px; height: 22px; }
.service-name { overflow: hidden; color: var(--text); font-size: 14px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.service-description { overflow: hidden; margin-top: 6px; color: var(--quiet); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.service-history { min-width: 0; }
.bar-track { display: grid; grid-template-columns: repeat(30, minmax(2px, 1fr)); gap: 3px; height: 27px; align-items: stretch; }
.history-bar { min-width: 2px; border-radius: 3px; background: var(--unknown-fill); transition: filter .2s, transform .2s; }
.history-bar.operational { background: var(--up-fill); }
.history-bar.degraded { background: var(--degraded-fill); }
.history-bar.outage { background: var(--down-fill); }
.history-bar:hover { filter: brightness(1.22); transform: scaleY(1.16); }
.bar-caption { display: flex; justify-content: space-between; margin-top: 8px; color: var(--quiet); font-size: 10px; }
.service-outcome { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; text-align: right; }
.service-state { display: inline-flex; align-items: center; gap: 7px; color: var(--quiet); font-size: 11px; font-weight: 690; white-space: nowrap; }
.service-state.operational { color: var(--mint); }
.service-state.degraded { color: var(--amber); }
.service-state.outage { color: var(--red); }
.service-state-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 13%, transparent); }
.service-latency { color: var(--quiet); font-size: 10px; font-variant-numeric: tabular-nums; }
.history-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 16px; padding: 0 4px; color: var(--quiet); font-size: 10px; }
.history-legend > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.history-legend i { width: 7px; height: 11px; border-radius: 2px; }
.legend-up { background: var(--up-fill); }
.legend-degraded { background: var(--degraded-fill); }
.legend-down { background: var(--down-fill); }
.legend-unknown { background: var(--unknown-fill); }
.history-legend small { margin-left: auto; color: var(--quiet); font-size: 10px; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1.43fr) minmax(310px, .9fr); gap: 17px; margin-top: 81px; scroll-margin-top: 35px; }
.incidents-panel, .about-panel { min-height: 310px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.incidents-panel { padding: 26px 29px 20px; }
.panel-header { align-items: flex-start; }
.panel-header h2 { font-size: 27px; }
.panel-number { display: grid; min-width: 37px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.incident-list { margin-top: 28px; }
.empty-incidents { display: flex; align-items: center; gap: 17px; min-height: 127px; padding: 23px; border: 1px dashed var(--line); border-radius: 13px; background: var(--surface-soft); }
.empty-orb { display: grid; width: 41px; height: 41px; flex-shrink: 0; place-items: center; border-radius: 50%; background: #69dcb114; color: var(--mint); font-size: 22px; }
.empty-orb.unknown { background: #a0b9ff14; color: var(--blue); }
.empty-incidents strong { display: block; font-size: 13px; font-weight: 670; }
.empty-incidents p { margin: 5px 0 0; color: var(--quiet); font-size: 11px; line-height: 1.5; }
.incident-item { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.incident-item:last-child { border-bottom: 0; }
.incident-indicator { width: 8px; height: 8px; flex-shrink: 0; margin-top: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #ff899820; }
.incident-item.resolved .incident-indicator { background: var(--mint); box-shadow: 0 0 0 4px #69dcb120; }
.incident-info { flex: 1; min-width: 0; }
.incident-info strong { display: block; font-size: 12px; font-weight: 650; }
.incident-info p { margin: 5px 0 0; color: var(--quiet); font-size: 11px; }
.incident-time { color: var(--quiet); font-size: 10px; white-space: nowrap; }
.about-panel { display: flex; flex-direction: column; padding: 27px 30px; background: radial-gradient(circle at 90% 0%, #9ba9ff12, transparent 45%), var(--surface); }
.about-top { display: flex; align-items: center; justify-content: space-between; }
.about-symbol { color: var(--mint); font-size: 27px; line-height: 1; }
.about-index { color: var(--quiet); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.about-panel h3 { max-width: 320px; margin: 26px 0 12px; font-size: 24px; font-weight: 650; letter-spacing: -.048em; line-height: 1.18; }
.about-panel p { margin-bottom: 23px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-panel .about-limit { margin-top: -7px; color: var(--quiet); font-size: 10px; line-height: 1.6; }
.about-divider { height: 1px; margin-top: auto; background: var(--line); }
.observed-row { display: flex; justify-content: space-between; gap: 10px; padding-top: 19px; color: var(--quiet); font-size: 11px; }
.observed-row strong { color: var(--text); font-size: 11px; font-weight: 610; white-space: nowrap; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 105px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 680; }
.footer-muted { color: var(--quiet); font-weight: 450; }
.footer a { color: var(--text); font-weight: 610; }
.footer a span { margin-left: 5px; color: var(--blue); }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes soft-pulse { 50% { box-shadow: 0 0 0 6px #7ce2bb11, 0 0 16px #7ce2bb88; } }
@media (max-width: 1050px) {
  .topnav { margin-left: 14px; }
  .hero-content { padding-left: 40px; }
  .service-row { grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) 105px; gap: 12px; padding-inline: 20px; }
}
@media (max-width: 780px) {
  .site-shell { width: min(100% - 36px, 620px); }
  .topbar { height: 78px; gap: 10px; }
  .topnav, .site-link { display: none; }
  .hero { display: block; min-height: 455px; margin-top: 21px; }
  .hero-content { min-height: 455px; padding: 44px 35px; }
  .hero-visual { position: absolute; inset: 0; z-index: -1; opacity: .31; transform: translateX(36%); }
  .hero-description { max-width: 380px; }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card:last-child { grid-column: 1 / -1; min-height: 132px; }
  .section-block { margin-top: 67px; }
  .section-side-note { display: none; }
  .service-row { grid-template-columns: 1fr auto; min-height: 138px; row-gap: 15px; }
  .service-history { grid-column: 1 / -1; grid-row: 2; }
  .service-outcome { align-self: start; margin-top: 6px; }
  .history-legend small { width: 100%; margin-left: 0; }
  .lower-grid { grid-template-columns: 1fr; margin-top: 65px; }
  .incidents-panel, .about-panel { min-height: 280px; }
}
@media (max-width: 500px) {
  .site-shell { width: calc(100% - 28px); }
  .topbar { height: 70px; }
  .brand img { width: 31px; height: 31px; }
  .brand-name { font-size: 19px; }
  .brand-name em { font-size: 14px; }
  .brand-divider { margin-inline: 5px; }
  .header-actions { gap: 6px; }
  .language-switch button { min-width: 29px; }
  .theme-button { width: 35px; height: 35px; }
  .hero { min-height: 425px; border-radius: 19px; }
  .hero-content { min-height: 425px; padding: 35px 25px; }
  .hero h1 { font-size: clamp(39px, 10vw, 51px); }
  .hero-description { font-size: 13px; }
  .hero-status-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .overview { gap: 9px; margin-top: 10px; }
  .metric-card { min-height: 134px; padding: 17px 17px 14px; border-radius: 14px; }
  .metric-top { font-size: 10px; }
  .metric-value { margin-top: 17px; font-size: 28px; }
  .metric-time { font-size: 25px; }
  .metric-foot { font-size: 10px; line-height: 1.3; }
  .service-row { padding: 17px; }
  .service-identity { gap: 11px; }
  .service-icon { width: 39px; height: 39px; border-radius: 11px; }
  .service-icon svg { width: 19px; height: 19px; }
  .service-name { font-size: 12px; }
  .service-description { font-size: 10px; }
  .service-state { font-size: 10px; }
  .bar-track { gap: 2px; height: 23px; }
  .history-legend { gap: 10px 16px; }
  .incidents-panel, .about-panel { padding: 22px; }
  .panel-header h2 { font-size: 24px; }
  .footer { flex-wrap: wrap; padding: 25px 0; }
  .footer > span { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
