:root {
  color-scheme: dark;
  --bg: #070712;
  --ink: #f9f8ff;
  --muted: #c7c3d8;
  --subtle: #9893aa;
  --glass: rgba(17, 15, 39, .60);
  --glass-strong: rgba(24, 21, 52, .74);
  --line: rgba(222, 217, 255, .14);
  --line-strong: rgba(222, 217, 255, .23);
  --purple: #aa91ff;
  --blue: #83d7ff;
  --pink: #ff9ed2;
  --green: #79e7b1;
  --amber: #f3c977;
  --red: #ff8f9e;
  --shadow: 0 24px 70px rgba(0,0,0,.26);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.official-banner {
  position: relative;
  z-index: 50;
  min-height: 44px;
  border-bottom: 1px solid rgba(222,217,255,.11);
  background: rgba(8,7,20,.90);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.official-banner details {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}
.official-banner summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  list-style: none;
  cursor: pointer;
  color: #dcd8eb;
  font-size: 12px;
  user-select: none;
}
.official-banner summary::-webkit-details-marker { display: none; }
.official-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(176,156,255,.34);
  border-radius: 50%;
  color: #d9cdff;
  background: rgba(148,112,255,.12);
  font-size: 11px;
  font-weight: 800;
}
.official-label { font-weight: 700; color: #f6f3ff; }
.official-how { color: #aaa4ba; margin-left: 5px; }
.official-chevron { margin-left: auto; color: #9891aa; transition: transform .2s ease; }
.official-banner details[open] .official-chevron { transform: rotate(180deg); }
.official-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(680px, 100%);
  padding: 17px;
  border: 1px solid rgba(222,217,255,.16);
  border-radius: 16px;
  background: rgba(13,11,31,.97);
  box-shadow: 0 20px 55px rgba(0,0,0,.34);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}
.official-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.official-panel strong { display: block; margin-bottom: 5px; color: #fff; font-size: 12px; }
.official-panel span { display: block; color: #aaa5b7; font-size: 11px; line-height: 1.5; }
.official-learn {
  display: inline-flex;
  margin-top: 14px;
  color: #c7e7ff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.official-learn:hover { color: #fff; }

.ambient {
  position: fixed;
  inset: -12%;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 32%, #161131 0%, #070712 72%);
}
.orb-wrap { position: absolute; will-change: transform; }
.orb { width: 100%; height: 100%; border-radius: 50%; filter: blur(62px); mix-blend-mode: screen; animation: float 18s ease-in-out infinite alternate; }
.orb-wrap:nth-child(1) { width: min(76vw, 980px); height: min(76vw, 980px); left: -18%; top: -35%; }
.orb-wrap:nth-child(1) .orb { background: radial-gradient(circle, rgba(146,68,255,.72), rgba(77,43,194,.28) 42%, transparent 72%); }
.orb-wrap:nth-child(2) { width: min(70vw, 900px); height: min(70vw, 900px); right: -20%; top: 3%; }
.orb-wrap:nth-child(2) .orb { background: radial-gradient(circle, rgba(35,171,255,.67), rgba(26,82,211,.28) 43%, transparent 73%); animation-delay: -8s; animation-duration: 22s; }
.orb-wrap:nth-child(3) { width: min(60vw, 760px); height: min(60vw, 760px); left: 22%; bottom: -32%; }
.orb-wrap:nth-child(3) .orb { background: radial-gradient(circle, rgba(237,62,170,.42), rgba(115,45,180,.18) 44%, transparent 72%); animation-delay: -4s; animation-duration: 20s; }
.pointer-light {
  position: absolute;
  width: 440px;
  height: 440px;
  left: 0;
  top: 0;
  border-radius: 50%;
  opacity: .58;
  pointer-events: none;
  background: radial-gradient(circle, rgba(188,166,255,.21), rgba(99,91,225,.10) 35%, transparent 67%);
  filter: blur(26px);
  transform: translate3d(calc(50vw - 220px), calc(30vh - 220px), 0);
  will-change: transform;
  mix-blend-mode: screen;
}
.vignette { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse at center, transparent 8%, rgba(3,3,14,.28) 64%, rgba(3,3,13,.82) 100%); }
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .085;
  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='.27'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: max(16px, env(safe-area-inset-top));
  pointer-events: none;
}
.header-inner {
  min-height: 64px;
  padding: 8px 9px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12,10,29,.70);
  box-shadow: 0 12px 42px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  pointer-events: auto;
}
.brand { display: flex; align-items: center; gap: 0; text-decoration: none; font-weight: 760; letter-spacing: -.025em; white-space: nowrap; }
.brand-main { color: #fff; }
.brand-dot { color: #a7c8ff; }
.brand-divider { width: 1px; height: 18px; margin: 0 10px; background: var(--line-strong); }
.brand-section { color: var(--muted); font-size: 13px; font-weight: 620; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 3px; }
.nav-link {
  padding: 10px 14px;
  border-radius: 13px;
  color: #d8d4e8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 590;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.09); }
.nav-link:hover { transform: translateY(-1px); }
.nav-link:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #bcaaff; outline-offset: 3px; }

.site-main { min-height: calc(100vh - 170px); padding-bottom: 72px; }
.hero { padding-top: clamp(74px, 11vw, 132px); padding-bottom: 54px; text-align: center; }
.hero-kicker, .eyebrow { color: #b7a8ff; font-size: 11px; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .page-head h1, .article-card h1, .not-found h1 {
  margin: 12px 0 15px;
  color: #fff;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.7rem); background: linear-gradient(112deg, #fff 10%, #e7e0ff 40%, #c8ecff 82%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { width: min(680px, 100%); margin: 0 auto 32px; color: var(--muted); font-size: clamp(16px, 2.1vw, 19px); line-height: 1.6; }

.search-form {
  width: min(720px, 100%);
  margin: 26px auto 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(20,17,45,.74);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  transition: border .2s ease, background .2s ease, transform .2s ease;
}
.search-form:focus-within { border-color: rgba(183,164,255,.55); background: rgba(25,21,55,.82); transform: translateY(-1px); }
.search-form svg { width: 22px; height: 22px; fill: none; stroke: #aaa3c2; stroke-width: 1.8; stroke-linecap: round; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.search-form input::placeholder { color: #8f8aa2; }
.search-form kbd { padding: 3px 7px; border: 1px solid var(--line); border-bottom-color: rgba(255,255,255,.25); border-radius: 7px; background: rgba(255,255,255,.06); color: #a9a4b8; font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.search-large { min-height: 66px; border-radius: 20px; }
.live-search-results { width: min(720px,100%); margin: 8px auto 0; position: relative; text-align: left; }
.live-results-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13,11,32,.94);
  box-shadow: 0 20px 55px rgba(0,0,0,.34);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.live-result { display: block; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07); text-decoration: none; }
.live-result:last-child { border-bottom: 0; }
.live-result:hover { background: rgba(255,255,255,.06); }
.live-result small { display: block; color: #9f94cf; font-size: 10px; font-weight: 760; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.live-result strong { display: block; color: #fff; font-size: 14px; }
.live-result span { display: block; color: #aaa6b8; font-size: 12px; margin-top: 3px; line-height: 1.45; }
.live-result.empty { color: #aaa6b8; }

.section { padding-top: 38px; padding-bottom: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading.compact { margin-bottom: 14px; }
.section-heading h2, .status-preview h2 { margin: 7px 0 0; color: #fff; font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.032em; }

.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.glass-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(27,23,58,.67), rgba(13,12,31,.58));
  box-shadow: 0 18px 52px rgba(0,0,0,.17), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.category-card { min-height: 138px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 22px; border-radius: 20px; text-decoration: none; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.category-card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(145deg, rgba(34,29,72,.77), rgba(16,14,38,.68)); }
.category-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(183,164,255,.22); border-radius: 12px; color: #cfbfff; background: rgba(156,110,255,.10); font-size: 18px; }
.category-text strong { display: block; color: #fff; font-size: 16px; margin: 2px 0 7px; }
.category-text span { display: block; color: #aaa6b8; font-size: 13px; line-height: 1.5; }
.card-arrow, .row-arrow { color: #8f89a3; transition: transform .2s ease, color .2s ease; }
.category-card:hover .card-arrow, .article-row:hover .row-arrow { color: #fff; transform: translateX(3px); }

.split-section { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: 18px; align-items: start; }
.article-list { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(12,11,30,.48); }
.article-row { display: flex; justify-content: space-between; gap: 16px; padding: 19px 20px; border-bottom: 1px solid rgba(255,255,255,.075); text-decoration: none; transition: background .18s ease; }
.article-row:last-child { border-bottom: 0; }
.article-row:hover { background: rgba(255,255,255,.045); }
.article-row small { display: block; color: #998fd0; font-size: 10px; font-weight: 760; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.article-row strong { display: block; color: #fff; font-size: 15px; margin-bottom: 5px; }
.article-row span span { color: #9f9aaf; font-size: 13px; line-height: 1.45; }
.row-arrow { align-self: center; }
.status-preview { padding: 24px; border-radius: 20px; min-height: 246px; }
.status-preview-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.status-preview p { color: #aaa6b8; font-size: 14px; line-height: 1.55; margin: 14px 0 26px; }
.text-link { color: #b7dfff; text-decoration: none; font-weight: 650; font-size: 13px; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }

.page-head { padding-top: clamp(64px, 8vw, 92px); padding-bottom: 24px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); }
.page-head > p { color: var(--muted); font-size: 16px; margin: 0; }
.page-head .search-form { margin-left: 0; }
.article-results { padding-top: 12px; }
.empty-state { text-align: center; padding: 48px 24px; border-radius: 22px; }
.empty-icon { font-size: 34px; color: #baa9ff; }
.empty-state h2 { margin: 12px 0 8px; }
.empty-state p { color: var(--muted); max-width: 500px; margin: 0 auto 20px; }

.article-shell { padding-top: clamp(54px, 8vw, 82px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; color: #9f9aaf; font-size: 12px; }
.breadcrumbs a { color: #c5bfdf; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.article-card { border-radius: 24px; padding: clamp(28px, 5vw, 54px); }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8f899f; font-size: 11px; }
.article-card h1 { font-size: clamp(2.45rem, 5.5vw, 4.5rem); max-width: 850px; }
.article-lead { color: #c9c4da; font-size: clamp(17px,2vw,20px); line-height: 1.62; max-width: 820px; margin: 0 0 34px; }
.article-body { max-width: 790px; color: #c4bfd2; font-size: 15px; line-height: 1.78; }
.article-body h2 { color: #fff; font-size: 21px; margin: 34px 0 10px; letter-spacing: -.02em; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 10px 0 20px; padding-left: 22px; }
.article-body li { margin: 7px 0; }
.article-body a { color: #9edaff; }
.article-body code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.06); color: #eeeaff; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-callout { margin: 24px 0 4px; padding: 16px 18px; border: 1px solid rgba(157,134,255,.22); border-radius: 14px; background: rgba(124,92,214,.09); color: #cec7e5; }
.article-end { display: flex; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: #9c96aa; font-size: 12px; }
.article-end-note { color: #777284; }
.feedback-block {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px 18px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.feedback-copy strong { display: block; color: #fff; font-size: 13px; margin-bottom: 4px; }
.feedback-copy span { display: block; color: #858090; font-size: 11px; line-height: 1.45; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.feedback-button {
  appearance: none;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.055);
  color: #ded9eb;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}
.feedback-button:hover:not(:disabled) { background: rgba(255,255,255,.10); border-color: var(--line-strong); transform: translateY(-1px); }
.feedback-button:focus-visible { outline: 2px solid #bcaaff; outline-offset: 3px; }
.feedback-button.selected { background: rgba(167,144,255,.16); border-color: rgba(188,170,255,.36); color: #fff; }
.feedback-button:disabled { cursor: default; opacity: .68; }
.feedback-button.selected:disabled { opacity: 1; }
.feedback-message { grid-column: 1 / -1; min-height: 16px; margin: 0; color: #9d97aa; font-size: 11px; }
.article-actions { display: flex; justify-content: space-between; gap: 20px; padding: 18px 4px; }

.status-shell { padding-top: 8px; }
.overall-status { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 18px; margin-bottom: 14px; }
.overall-status > .status-dot { width: 12px; height: 12px; }
.overall-status strong, .overall-status span { display: block; }
.overall-status strong { color: #fff; font-size: 15px; margin-bottom: 3px; }
.overall-status div span { color: #9893a7; font-size: 12px; }
.status-list { display: grid; gap: 10px; }
.service-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-radius: 16px; }
.service-row strong, .service-row span { display: block; }
.service-row strong { color: #fff; font-size: 14px; margin-bottom: 4px; }
.service-row div span { color: #8f8a9d; font-size: 11px; }
.status-pill { display: inline-flex !important; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #b8b3c6; background: rgba(255,255,255,.04); font-size: 11px !important; font-weight: 680; white-space: nowrap; }
.status-dot { display: inline-block !important; width: 7px; height: 7px; border-radius: 50%; background: #777381; box-shadow: 0 0 0 3px rgba(119,115,129,.08); }
.status-dot.operational { background: var(--green); box-shadow: 0 0 0 3px rgba(121,231,177,.1); }
.status-dot.restricted { background: var(--amber); box-shadow: 0 0 0 3px rgba(243,201,119,.1); }
.status-dot.unavailable, .status-dot.degraded { background: var(--red); box-shadow: 0 0 0 3px rgba(255,143,158,.1); }
.status-dot.pending { animation: pulse 1.25s ease-in-out infinite; }
.status-meta { display: flex; justify-content: space-between; gap: 20px; color: #817c8e; font-size: 11px; padding: 14px 4px; }
.status-meta p { margin: 0; }
.status-meta a { color: #aaa1d3; text-decoration: none; }

.not-found { display: grid; place-items: center; min-height: 68vh; padding-top: 56px; }
.not-found-card { width: min(700px,100%); padding: clamp(32px,6vw,58px); border-radius: 26px; text-align: center; }
.error-code { margin-top: 6px; font-size: clamp(5rem,15vw,9rem); font-weight: 800; letter-spacing: -.07em; line-height: .98; color: transparent; -webkit-text-stroke: 1px rgba(222,217,255,.34); }
.not-found h1 { font-size: clamp(2rem,5vw,3.4rem); }
.not-found p { color: var(--muted); }
.not-found small { display: block; color: #797484; margin-top: 28px; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(193,180,255,.26); border-radius: 12px; background: linear-gradient(135deg, #a790ff, #7abfff); color: #0c0a1b; text-decoration: none; font-size: 13px; font-weight: 760; }
.button.secondary { background: rgba(255,255,255,.07); color: #eeeaff; border-color: var(--line); }

.site-footer { padding: 22px 0 max(24px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.07); color: #777184; font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #8d879b; text-decoration: none; }
.footer-links a:hover { color: #fff; }

@keyframes float {
  from { transform: translate3d(-5%,-3%,0) rotate(-8deg) scale(.95); }
  to { transform: translate3d(7%,6%,0) rotate(9deg) scale(1.14); }
}
@keyframes pulse { 50% { opacity: .4; transform: scale(.82); } }

@media (max-width: 760px) {
  .official-banner details { width: min(100% - 28px, 1120px); }
  .official-how { display: none; }
  .official-panel-grid { grid-template-columns: 1fr; }
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { padding-top: 10px; }
  .header-inner { min-height: 58px; padding: 7px 8px 7px 13px; border-radius: 18px; }
  .brand-section, .nav-link:nth-child(2) { display: none; }
  .brand-divider { display: none; }
  .nav-link { padding: 9px 10px; font-size: 12px; }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: clamp(3rem,17vw,5.6rem); }
  .category-grid, .split-section { grid-template-columns: 1fr; }
  .category-card { min-height: 120px; }
  .status-preview { min-height: 0; }
  .article-meta, .article-end, .status-meta, .footer-inner { align-items: flex-start; flex-direction: column; }
  .feedback-block { grid-template-columns: 1fr; }
  .feedback-actions { justify-content: flex-start; }
  .footer-inner { gap: 12px; }
}
@media (max-width: 460px) {
  .nav-link:first-child { display: none; }
  .search-form kbd { display: none; }
  .category-card { grid-template-columns: auto 1fr; }
  .category-card .card-arrow { display: none; }
  .service-row { align-items: flex-start; flex-direction: column; }
  .status-pill { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .orb-wrap, .pointer-light { will-change: auto; }
}
