:root {
  color-scheme: dark;
  --black: #000;
  --surface: #0b1117;
  --line: #26333d;
  --text: #f4f7fb;
  --muted: #c2cdd8;
  --subtle: #96a5b1;
  --green: #49e1c1;
  --red: #ff6b78;
  --amber: #ffd166;
  --violet: #c1a8ff;
  --cyan: #00d4dc;
  --blue: #2384e8;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; min-height: 100%; background: var(--black); }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--text); background: var(--black); font-size: 16px; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.app-shell { width: min(1080px, calc(100% - 64px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #26313a; }
.brand { width: 232px; display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 100%; height: auto; display: block; }
.topbar-label { color: #d0d9e2; font-size: 14px; }
main { flex: 1; padding: 54px 0 72px; }
.page-intro { margin-bottom: 36px; }
h1 { margin: 0; color: var(--text); font-size: clamp(38px, 5vw, 50px); font-weight: 570; letter-spacing: -.045em; line-height: 1.08; }
.page-intro > p:last-child, .section-heading > div > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card { min-height: 166px; padding: 21px 22px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: linear-gradient(145deg, #0d151c, #080c10); text-align: left; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.category-card:hover { transform: translateY(-2px); border-color: var(--cyan); background: #0e1820; box-shadow: 0 0 0 1px #00d4dc22, 0 12px 32px #0008; }
.card-top { width: 100%; margin-bottom: auto; display: flex; align-items: center; justify-content: space-between; }
.card-icon { color: var(--cyan); }
.card-icon svg { width: 22px; height: 22px; display: block; }
.card-arrow { color: #9aabb9; }
.card-arrow svg { width: 18px; height: 18px; display: block; }
.category-card > strong { margin-top: 20px; font-size: 22px; font-weight: 580; letter-spacing: -.02em; }
.card-summary { margin-top: 7px; color: #bdc9d4; font-size: 14px; }
.category-card:hover .card-arrow { color: var(--cyan); }
.section-view { max-width: 860px; margin: 0 auto; padding-top: 0; }
body.section-open main { padding-top: 18px; }
.back-button { margin-bottom: 25px; padding: 0; display: inline-flex; align-items: center; gap: 10px; border: 0; color: #c4d0da; background: transparent; font-size: 14px; cursor: pointer; }
.back-button:hover { color: var(--cyan); }
.back-button span { font-size: 21px; line-height: 1; }
.section-heading { margin-bottom: 28px; display: flex; align-items: center; gap: 17px; }
.section-icon { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; color: var(--cyan); }
.section-icon svg { width: 32px; height: 32px; }
.section-heading .eyebrow { margin: 0 0 7px; color: var(--cyan); font-size: 11px; font-weight: 650; letter-spacing: .16em; }
.section-heading h1 { font-size: clamp(34px, 4vw, 42px); }
.section-heading > div > p:last-child { margin-top: 8px; font-size: 15px; }
.item-list { margin: 0; padding: 0; border-top: 1px solid #2b3842; list-style: none; }
.asset-row { min-height: 75px; padding: 15px 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid #27343e; }
.item-main { min-width: 0; display: flex; align-items: flex-start; gap: 14px; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; }
.status-online { color: var(--green); }
.status-dot.status-online { background: var(--green); box-shadow: 0 0 11px #49e1c177; }
.status-offline { color: var(--red); }
.status-dot.status-offline { background: var(--red); box-shadow: 0 0 11px #ff6b7877; }
.status-planned { color: var(--amber); }
.status-dot.status-planned { background: var(--amber); }
.status-building { color: var(--violet); }
.status-dot.status-building { background: var(--violet); }
.item-copy { min-width: 0; display: grid; gap: 5px; }
.item-copy strong { color: #f0f5fa; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.item-copy > span { color: #b8c5d0; font-size: 14px; line-height: 1.45; }
.status-label { color: #cad5df; font-size: 13px; white-space: nowrap; }
.section-note { margin: 19px 0 0; color: #9cabb7; font-size: 12px; line-height: 1.5; }
.footer { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #26313a; color: #aab7c2; font-size: 12px; }
@media (max-width: 850px) {
  .app-shell { width: min(100% - 48px, 720px); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .app-shell { width: calc(100% - 36px); }
  .topbar { min-height: 68px; }
  .brand { width: 192px; }
  .topbar-label { font-size: 12px; }
  main { padding: 40px 0 52px; }
  .page-intro { margin-bottom: 27px; }
  h1 { font-size: 38px; }
  .page-intro > p:last-child { font-size: 16px; }
  .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .category-card { min-height: 139px; padding: 18px 19px; }
  .category-card > strong { margin-top: 14px; font-size: 21px; }
  body.section-open main { padding-top: 14px; }
  .section-view { padding-top: 0; }
  .back-button { margin-bottom: 21px; }
  .section-heading { align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .section-icon { width: 32px; height: 32px; margin-top: 2px; }
  .section-icon svg { width: 26px; height: 26px; }
  .section-heading h1 { font-size: 34px; }
  .section-heading > div > p:last-child { font-size: 14px; }
  .asset-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 15px 4px; }
  .item-main { gap: 11px; }
  .item-copy strong { font-size: 15px; }
  .item-copy > span { font-size: 13px; }
  .status-label { padding-left: 20px; font-size: 12px; white-space: normal; }
  .section-note { font-size: 12px; }
  .footer { min-height: 66px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 5px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
