:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0d0d0e;
  --surface-raised: #141415;
  --line: #303033;
  --line-gold: #6f5926;
  --gold: #f0c552;
  --gold-bright: #ffe28a;
  --silver: #d7d9dc;
  --muted: #a3a6ad;
  --success: #74d5a7;
  --warning: #f0c552;
  --danger: #ff8e86;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(240, 197, 82, 0.055), transparent 420px),
    var(--bg);
  color: #f8f8f8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.ops-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line-gold);
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(16px);
}

.ops-header-inner,
.ops-main,
.ops-footer {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.ops-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ops-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.ops-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-gold);
  border-radius: 7px;
  box-shadow: 0 0 18px rgba(255, 226, 138, 0.14);
}

.ops-brand span {
  color: var(--gold);
}

.ops-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.ops-nav a {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--silver);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ops-nav a:hover,
.ops-nav a:focus-visible,
.ops-nav a[aria-current="page"] {
  border-color: var(--line-gold);
  background: rgba(240, 197, 82, 0.08);
  color: var(--gold-bright);
  outline: none;
}

.ops-main {
  padding: 72px 0 96px;
}

.ops-hero {
  max-width: 800px;
  padding-bottom: 48px;
}

.ops-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: 25px;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

p,
li {
  color: var(--silver);
  font-size: 16px;
  line-height: 1.65;
}

.ops-lead {
  max-width: 720px;
  color: #fff;
  font-size: 19px;
}

.ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ops-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gold-bright), #d5a936);
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.ops-button.secondary {
  border-color: var(--line);
  background: var(--surface-raised);
  color: #fff;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ops-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-card,
.ops-band,
.ops-table-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.ops-card {
  min-width: 0;
  padding: 22px;
}

.ops-card strong {
  color: var(--gold-bright);
}

.ops-card p:last-child {
  margin-bottom: 0;
}

.ops-band {
  margin-bottom: 16px;
  padding: 22px;
}

.ops-band.gold {
  border-color: var(--line-gold);
  background: rgba(240, 197, 82, 0.07);
}

.ops-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.status-pill {
  display: inline-flex;
  min-width: 96px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #1b1b1c;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.status-pill.ok {
  border-color: #315f4a;
  background: #10291e;
  color: var(--success);
}

.status-pill.error {
  border-color: #763932;
  background: #301310;
  color: var(--danger);
}

.status-pill.degraded {
  border-color: var(--line-gold);
  background: #2b230f;
  color: var(--warning);
}

.ops-list {
  margin: 0;
  padding-left: 20px;
}

.ops-list li + li {
  margin-top: 8px;
}

.ops-meta {
  color: var(--muted);
  font-size: 13px;
}

.ops-table-shell {
  overflow-x: auto;
}

.ops-table-shell:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ops-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.ops-table th,
.ops-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--silver);
  text-align: left;
  vertical-align: top;
}

.ops-table th {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.ops-price {
  display: block;
  margin: 8px 0 16px;
  color: #fff;
  font-size: 40px;
  font-weight: 900;
}

.ops-price small {
  color: var(--muted);
  font-size: 14px;
}

.ops-section {
  padding-top: 52px;
}

.ops-section > header {
  max-width: 760px;
  margin-bottom: 20px;
}

.ops-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.ops-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.ops-footer a:hover {
  color: var(--gold);
}

@media (max-width: 820px) {
  .ops-header {
    position: static;
  }

  .ops-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .ops-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }

  .ops-nav a {
    flex: 0 0 auto;
  }

  .ops-main {
    padding-top: 48px;
  }

  .ops-grid,
  .ops-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ops-header-inner,
  .ops-main,
  .ops-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .ops-main {
    padding-bottom: 64px;
  }

  h1 {
    font-size: 43px;
  }

  .ops-card,
  .ops-band {
    padding: 18px;
  }

  .ops-status,
  .ops-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ops-footer {
    justify-content: center;
    padding: 24px 0;
  }

  .ops-footer nav {
    justify-content: flex-start;
  }

  .ops-button {
    width: 100%;
  }
}
