:root {
  --bg: #0a0a0f;
  --bg-alt: #0d1a2d;
  --surface: rgba(20, 20, 30, 0.65); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  --surface-strong: rgba(13, 28, 53, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(145, 176, 223, 0.34);
  --text: #f4efe6;
  --muted: #9fb2ca;
  --accent-cyan: #79ddff;
  --accent-teal: #59f0cf;
  --accent-gold: #ffbf57;
  --accent-coral: #ff8b62;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell-width: min(1180px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(89, 240, 207, 0.08), transparent 36%),
    radial-gradient(circle at 84% 14%, rgba(255, 191, 87, 0.08), transparent 36%),
    radial-gradient(circle at 50% 88%, rgba(121, 221, 255, 0.06), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, rgba(12, 12, 18, 1) 40%, #050508 100%);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

body.page-is-ready {
  opacity: 1;
  transform: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 164, 223, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 164, 223, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 92%);
  opacity: 0.16;
  pointer-events: none;
  z-index: -4;
  animation: grid-shift 22s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%);
  pointer-events: none;
  z-index: -5;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.page-aura {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
  z-index: -3;
  animation: aura-float 18s ease-in-out infinite;
}

.page-aura-left {
  top: -8rem;
  left: -10rem;
  background: rgba(89, 240, 207, 0.55);
}

.page-aura-right {
  right: -9rem;
  top: 8rem;
  background: rgba(255, 191, 87, 0.48);
  animation-delay: -8s;
}

.page-transition-curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  background:
    radial-gradient(circle at 20% 20%, rgba(89, 240, 207, 0.24), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 191, 87, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(3, 10, 18, 0.98), rgba(8, 17, 31, 0.94));
  transform: translateY(110%);
  transition: transform 420ms cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

body.page-is-leaving .page-transition-curtain {
  transform: translateY(0);
}

.section-shell,
.topbar,
.site-footer {
  width: var(--shell-width);
}

.topbar {
  margin: 1rem auto 0;
  position: sticky;
  top: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 15, 29, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.9rem;
  height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: #07101c;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
  box-shadow: 0 10px 24px rgba(89, 240, 207, 0.2);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.auth-chip::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(159, 178, 202, 0.6);
  box-shadow: 0 0 0 0 rgba(159, 178, 202, 0.32);
  animation: auth-pulse 2.6s ease-in-out infinite;
}

.auth-chip[data-auth-state="authenticated"] {
  color: #d8fff5;
  border-color: rgba(89, 240, 207, 0.36);
  background: rgba(89, 240, 207, 0.1);
}

.auth-chip[data-auth-state="authenticated"]::before {
  background: var(--accent-teal);
}

.auth-chip[data-auth-state="guest"] {
  color: #ffe2c4;
  border-color: rgba(255, 191, 87, 0.36);
  background: rgba(255, 191, 87, 0.1);
}

.auth-chip[data-auth-state="guest"]::before {
  background: var(--accent-gold);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.24) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 400ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(130%);
}

.button-primary {
  color: #08111d;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
  box-shadow: 0 14px 36px rgba(89, 240, 207, 0.18);
}

.button-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button-inline {
  min-width: 8rem;
}

.hero {
  padding: 5.4rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.display-title {
  max-width: 10ch;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.display-title em {
  display: block;
  font-style: italic;
  color: var(--accent-gold);
}

.display-title-compact {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.lead-compact {
  max-width: 38rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-metrics,
.dashboard-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 1.3rem 1.2rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: auto 1.2rem 0.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.metric-card-accent {
  border-color: rgba(89, 240, 207, 0.34);
  background: linear-gradient(180deg, rgba(89, 240, 207, 0.11), rgba(255, 191, 87, 0.06));
}

.metric-card-compact {
  min-height: 11.5rem;
}

.metric-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  display: block;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.metric-value-numeric {
  font-variant-numeric: tabular-nums;
}

.metric-copy {
  margin-top: 0.85rem;
  max-width: 30ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.hero-visual {
  min-height: 36rem;
}

.signal-frame {
  position: relative;
  min-height: 36rem;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 2.25rem;
  background:
    radial-gradient(circle at top, rgba(89, 240, 207, 0.16), transparent 36%),
    radial-gradient(circle at bottom, rgba(255, 191, 87, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(10, 22, 43, 0.88), rgba(6, 13, 24, 0.96));
  box-shadow: var(--shadow);
}

.signal-beam {
  position: absolute;
  top: -30%;
  left: 38%;
  width: 12rem;
  height: 160%;
  background: linear-gradient(180deg, transparent, rgba(121, 221, 255, 0.22), transparent);
  transform: rotate(26deg);
  filter: blur(8px);
  animation: beam-sweep 7s linear infinite;
}

.signal-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(121, 221, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-ring-1 {
  width: 14rem;
  height: 14rem;
  animation: spin-clockwise 18s linear infinite;
}

.signal-ring-2 {
  width: 22rem;
  height: 22rem;
  border-style: dashed;
  animation: spin-counter 22s linear infinite;
}

.signal-ring-3 {
  width: 30rem;
  height: 30rem;
  border-color: rgba(255, 191, 87, 0.12);
  animation: spin-clockwise 32s linear infinite;
}

.signal-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11.5rem;
  height: 11.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.45rem;
  text-align: center;
  border: 1px solid rgba(89, 240, 207, 0.28);
  border-radius: 50%;
  background: rgba(8, 18, 34, 0.86);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px rgba(89, 240, 207, 0.04);
}

.signal-center span,
.signal-center small {
  color: var(--muted);
  font-size: 0.82rem;
}

.signal-center strong {
  font-size: 1.5rem;
}

.hero-card {
  position: absolute;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(7, 16, 29, 0.84);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.hero-card p,
.hero-card small {
  color: var(--muted);
}

.hero-card-primary {
  left: 1.5rem;
  bottom: 1.5rem;
  width: min(22rem, calc(100% - 3rem));
}

.hero-card-primary h2 {
  margin-top: 0.35rem;
  font-size: 1.55rem;
}

.mini-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #dce7f7;
}

.mini-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
  flex-shrink: 0;
}

.hero-card-floating {
  top: 1.5rem;
  right: 1.5rem;
  width: 13.5rem;
}

.hero-card-floating strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.12rem;
  line-height: 1.3;
}

.status-dot {
  display: inline-flex;
  width: 0.7rem;
  height: 0.7rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 0 0 rgba(89, 240, 207, 0.4);
  animation: auth-pulse 2.6s ease-in-out infinite;
}

.marquee-shell {
  overflow: hidden;
  margin-top: 0.5rem;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
  animation: marquee 24s linear infinite;
}

.content-block {
  padding: 5.2rem 0 0;
}

.content-block-contrast {
  padding-bottom: 0.5rem;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-copy {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.feature-grid,
.service-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-panel,
.service-card,
.flow-card,
.search-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-sheen]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), var(--panel-accent, rgba(121, 221, 255, 0.18)), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

[data-sheen]:hover::before {
  opacity: 1;
}

.feature-panel,
.flow-card,
.service-card {
  padding: 1.35rem;
}

.feature-panel,
.service-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-panel:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.feature-code,
.service-badge,
.service-state,
.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-panel h3,
.service-card h3,
.flow-card h3 {
  margin-top: 1rem;
  font-size: 1.28rem;
}

.feature-panel p,
.service-card p,
.flow-card p {
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

.feature-meta,
.service-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.feature-meta span,
.service-card-footer span {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.flow-card {
  min-height: 15rem;
}

.flow-index {
  color: var(--accent-gold);
  border-color: rgba(255, 191, 87, 0.3);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 5rem;
  margin-bottom: 4.5rem;
  padding: 1.6rem;
  border: 1px solid rgba(89, 240, 207, 0.22);
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(89, 240, 207, 0.08), rgba(255, 191, 87, 0.08));
}

.private-invite,
.private-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 1.6rem;
  border: 1px solid rgba(255, 191, 87, 0.2);
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(255, 191, 87, 0.09), rgba(121, 221, 255, 0.07));
}

.private-invite-copy,
.private-callout > div:first-child {
  max-width: 40rem;
}

.private-callout {
  margin-top: 1.2rem;
}

.private-callout-security {
  margin-bottom: 1rem;
  border-color: rgba(121, 221, 255, 0.22);
  background: linear-gradient(135deg, rgba(121, 221, 255, 0.09), rgba(255, 139, 98, 0.08));
}

.private-callout-title {
  margin-top: 0.35rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}

.private-callout-copy {
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

.dashboard-hero {
  padding: 4.8rem 0 0;
}

.dashboard-overview {
  margin-top: 2rem;
}

.search-panel {
  margin-top: 1rem;
  padding: 1.35rem;
}

.search-form {
  display: grid;
  gap: 0.85rem;
}

.search-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-row input {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.search-row input:focus {
  border-color: rgba(121, 221, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(121, 221, 255, 0.08);
}

.service-grid {
  margin-top: 0.4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  text-decoration: none;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-badge {
  color: var(--text);
}

.service-state {
  min-width: 0;
  color: var(--accent-teal);
  border-color: rgba(89, 240, 207, 0.24);
}

.service-card-footer {
  margin-top: auto;
  justify-content: space-between;
}

.private-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.private-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.private-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.private-service-card.is-active {
  border-color: rgba(89, 240, 207, 0.28);
}

.private-service-card.is-offline,
.private-service-card-error {
  border-color: rgba(255, 139, 98, 0.28);
}

.private-service-card-loading {
  min-height: 14rem;
}

.private-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.private-service-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.service-logo-frame {
  width: 3.8rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(121, 221, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(7, 16, 28, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  flex: 0 0 auto;
}

.service-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-health-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.service-health-pill.is-active {
  border-color: rgba(89, 240, 207, 0.28);
  color: #d8fff5;
  background: rgba(89, 240, 207, 0.12);
}

.service-health-pill.is-offline {
  border-color: rgba(255, 139, 98, 0.28);
  color: #ffd8c9;
  background: rgba(255, 139, 98, 0.12);
}

.private-service-card h3 {
  font-size: 1.28rem;
}

.private-service-card p {
  color: var(--muted);
  line-height: 1.75;
}

.private-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.private-service-meta span {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.private-service-link {
  margin-top: auto;
  width: fit-content;
}

.service-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(121, 221, 255, 0.16);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(8, 20, 38, 0.9), rgba(6, 14, 26, 0.95));
}

.service-preview-metric,
.service-preview-note {
  padding: 1rem 1rem 0.95rem;
}

.service-preview-image {
  display: grid;
  gap: 0.8rem;
}

.service-preview-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(121, 221, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.service-preview-copy {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.32rem;
}

.service-preview-eyebrow {
  display: inline-block;
  color: var(--accent-teal);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-preview-value {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
  color: #eefdf8;
}

.service-preview-title {
  display: block;
  margin-top: 0.25rem;
  color: #f4efe6;
  line-height: 1.45;
}

.service-preview-caption {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  line-height: 1.55;
}

body.page-control-room-security {
  --security-state-solid: #67f2d1;
  --security-state-glow: rgba(103, 242, 209, 0.22);
  --security-state-border: rgba(103, 242, 209, 0.34);
  --security-state-soft: rgba(103, 242, 209, 0.1);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 109, 88, 0.16), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(103, 242, 209, 0.18), transparent 28%),
    radial-gradient(circle at 50% 88%, rgba(255, 191, 87, 0.08), transparent 34%),
    linear-gradient(180deg, #03060d 0%, #07101b 38%, #02050b 100%);
}

body.page-control-room-security[data-security-state="alert"] {
  --security-state-solid: #ff7a5d;
  --security-state-glow: rgba(255, 122, 93, 0.24);
  --security-state-border: rgba(255, 122, 93, 0.38);
  --security-state-soft: rgba(255, 122, 93, 0.12);
}

body.page-control-room-security[data-security-state="booting"],
body.page-control-room-security[data-security-state="offline"] {
  --security-state-solid: #ffbf57;
  --security-state-glow: rgba(255, 191, 87, 0.22);
  --security-state-border: rgba(255, 191, 87, 0.34);
  --security-state-soft: rgba(255, 191, 87, 0.1);
}

.page-control-room-security .page-aura-left {
  background: rgba(255, 96, 96, 0.44);
}

.page-control-room-security .page-aura-right {
  background: rgba(103, 242, 209, 0.42);
}

.page-control-room-security .eyebrow {
  color: var(--security-state-solid);
}

.security-command-shell {
  padding: 4.8rem 0 0;
}

.security-command-grid,
.security-operations-grid {
  display: grid;
  gap: 1rem;
}

.security-command-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 0.94fr);
  align-items: stretch;
}

.security-command-copy,
.security-radar-card,
.security-incident-card,
.security-watch-card,
.security-history-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 172, 197, 0.2);
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(180deg, rgba(6, 12, 20, 0.94), rgba(7, 13, 23, 0.84));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.security-command-copy,
.security-radar-card,
.security-incident-card,
.security-watch-card {
  padding: 1.45rem;
}

.security-command-copy::before,
.security-radar-card::before,
.security-incident-card::before,
.security-watch-card::before,
.security-history-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%);
  pointer-events: none;
}

.security-command-copy::after,
.security-radar-card::after,
.security-incident-card::after,
.security-watch-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--security-state-border), transparent);
  pointer-events: none;
}

.security-alert-ribbon {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--security-state-border);
  border-radius: 1.45rem;
  background: linear-gradient(135deg, var(--security-state-soft), rgba(255, 255, 255, 0.03));
}

.security-alert-ribbon-label,
.security-command-label,
.security-card-tag,
.security-history-status {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.security-alert-ribbon-label {
  display: block;
  color: var(--muted);
}

.security-alert-ribbon-value {
  display: block;
  margin-top: 0.45rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: #fdf8f1;
  text-shadow: 0 0 24px var(--security-state-glow);
}

.security-alert-ribbon-copy {
  max-width: 24rem;
  color: #dbe7f5;
  line-height: 1.7;
}

.security-display-title {
  max-width: 9ch;
  margin-top: 1.35rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.7rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.security-command-panels,
.security-radar-grid,
.security-watch-list,
.security-stat-grid {
  display: grid;
  gap: 0.9rem;
}

.security-command-panels,
.security-radar-grid,
.security-watch-list,
.security-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.security-command-panels {
  margin-top: 1.5rem;
}

.security-command-panel,
.security-radar-stat,
.security-watch-row,
.security-stat-tile,
.security-history-item {
  position: relative;
  border: 1px solid rgba(148, 172, 197, 0.18);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.security-command-panel,
.security-radar-stat,
.security-watch-row,
.security-stat-tile {
  padding: 1rem;
}

.security-command-label,
.security-card-tag {
  color: var(--muted);
}

.security-command-panel strong,
.security-radar-stat strong,
.security-watch-row strong,
.security-stat-tile strong {
  display: block;
  margin-top: 0.55rem;
  color: #eef7ff;
}

.security-command-panel strong {
  font-size: clamp(1.35rem, 2vw, 1.78rem);
}

.security-command-panel p,
.security-watch-row p {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}

.security-radar {
  position: relative;
  min-height: 22.5rem;
  overflow: hidden;
  border: 1px solid rgba(148, 172, 197, 0.18);
  border-radius: 1.65rem;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(160, 181, 205, 0.1) calc(50% - 1px), rgba(160, 181, 205, 0.1) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(transparent calc(50% - 1px), rgba(160, 181, 205, 0.1) calc(50% - 1px), rgba(160, 181, 205, 0.1) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(circle at center, var(--security-state-soft) 0, transparent 24%),
    linear-gradient(180deg, rgba(3, 9, 16, 0.98), rgba(8, 13, 22, 0.96));
}

.security-radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(160, 181, 205, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.security-radar-ring-1 {
  width: 10rem;
  height: 10rem;
}

.security-radar-ring-2 {
  width: 16rem;
  height: 16rem;
  border-style: dashed;
  animation: spin-counter 22s linear infinite;
}

.security-radar-ring-3 {
  width: 22rem;
  height: 22rem;
  animation: spin-clockwise 32s linear infinite;
}

.security-radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 47%;
  height: 2px;
  background: linear-gradient(90deg, var(--security-state-glow), transparent);
  transform-origin: left center;
  transform: translateY(-50%) rotate(0deg);
  filter: drop-shadow(0 0 10px var(--security-state-glow));
  animation: security-radar-sweep 7s linear infinite;
}

.security-radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 10.2rem;
  height: 10.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid var(--security-state-border);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 18, 30, 0.98), rgba(5, 10, 16, 0.94));
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.03), 0 0 34px var(--security-state-glow);
  text-align: center;
  transform: translate(-50%, -50%);
}

.security-radar-core small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.security-radar-core strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.security-radar-core span {
  color: #dceaf8;
  font-size: 0.84rem;
}

.security-radar-blip {
  position: absolute;
  z-index: 1;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--security-state-solid);
  box-shadow: 0 0 0 0 var(--security-state-glow);
  animation: security-beacon 2.8s ease-out infinite;
}

.security-radar-blip-a {
  left: 24%;
  top: 38%;
}

.security-radar-blip-b {
  right: 22%;
  top: 28%;
  animation-delay: -0.9s;
}

.security-radar-blip-c {
  right: 28%;
  bottom: 24%;
  animation-delay: -1.7s;
}

.security-radar-grid {
  margin-top: 1rem;
}

.security-radar-stat strong {
  line-height: 1.45;
}

.security-operations-block {
  padding-top: 1.9rem;
}

.security-operations-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.security-card-top,
.security-history-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.security-health-pill,
.security-watch-pill,
.security-history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--security-state-border);
  background: var(--security-state-soft);
}

.security-health-pill {
  color: var(--security-state-solid);
}

.security-health-pill.is-active {
  border-color: rgba(255, 122, 93, 0.38);
  background: rgba(255, 122, 93, 0.14);
  color: #ffe3db;
  box-shadow: 0 0 24px rgba(255, 122, 93, 0.12);
}

.security-health-pill.is-offline {
  border-color: rgba(255, 191, 87, 0.38);
  background: rgba(255, 191, 87, 0.14);
  color: #ffe7b8;
}

.security-watch-pill,
.security-history-status {
  color: #dbe8f7;
}

.security-card-title,
.security-section-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.security-card-title {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.security-incident-summary {
  max-width: 54ch;
  margin-top: 1rem;
  color: #d8e6f5;
  line-height: 1.75;
}

.security-stat-grid,
.security-watch-list {
  margin-top: 1.35rem;
}

.security-stat-tile,
.security-watch-row {
  min-height: 7rem;
}

.security-stat-tile strong,
.security-watch-row strong {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.35;
  word-break: break-word;
}

.security-stat-tile span,
.security-watch-row span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.security-stat-tile-wide,
.security-watch-row-wide {
  grid-column: 1 / -1;
}

.security-stat-tile-wide strong {
  font-size: 1.02rem;
  line-height: 1.7;
}

.security-history-heading {
  margin-top: 2.35rem;
}

.security-history-shell {
  padding: 1.35rem;
}

.security-history-list {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 1.15rem;
}

.security-history-list::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--security-state-border), rgba(255, 255, 255, 0));
}

.security-history-item {
  min-height: auto;
  padding: 1.3rem 1.35rem 1.3rem 1.9rem;
}

.security-history-item::before {
  content: "";
  position: absolute;
  left: -0.05rem;
  top: 1.35rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: var(--security-state-solid);
  box-shadow: 0 0 0 0 var(--security-state-glow);
  animation: security-beacon 2.8s ease-out infinite;
}

.security-history-item h3 {
  margin-top: 0.9rem;
  font-size: 1.16rem;
  line-height: 1.42;
}

.security-history-item p {
  margin-top: 0.72rem;
  color: var(--muted);
  line-height: 1.72;
}

.security-history-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.security-history-stats span {
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(148, 172, 197, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce7f7;
  font-size: 0.78rem;
}

.security-history-item.is-scan::before {
  background: var(--accent-gold);
}

.security-history-item.is-burst::before {
  background: var(--accent-coral);
}

.security-history-item-empty,
.security-history-item-error {
  border-color: var(--security-state-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.site-footer {
  margin: 0 auto;
  padding: 0 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.has-js [data-reveal="fade"] {
  transform: scale(0.96);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes grid-shift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, 72px, 0);
  }
}

@keyframes aura-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(2rem, -1rem, 0) scale(1.04);
  }

  66% {
    transform: translate3d(-1.5rem, 1.6rem, 0) scale(0.96);
  }
}

@keyframes auth-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(89, 240, 207, 0.3);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(89, 240, 207, 0);
  }
}

@keyframes beam-sweep {
  from {
    transform: translate3d(-4rem, 0, 0) rotate(26deg);
  }

  50% {
    transform: translate3d(4rem, 0, 0) rotate(26deg);
  }

  to {
    transform: translate3d(-4rem, 0, 0) rotate(26deg);
  }
}

@keyframes spin-clockwise {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin-counter {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes security-radar-sweep {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes security-beacon {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--security-state-glow);
    opacity: 0.95;
  }

  60% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .feature-grid,
  .service-grid,
  .flow-grid,
  .private-service-grid,
  .hero-metrics,
  .dashboard-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-command-grid,
  .security-operations-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .signal-frame,
  .hero-visual {
    min-height: 32rem;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .private-invite,
  .private-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 1.4rem;
  }

  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-chip,
  .button {
    width: 100%;
  }

  .hero,
  .dashboard-hero,
  .content-block {
    padding-top: 3.8rem;
  }

  .hero-grid,
  .feature-grid,
  .service-grid,
  .flow-grid,
  .private-service-grid,
  .hero-metrics,
  .dashboard-overview {
    grid-template-columns: 1fr;
  }

  .security-alert-ribbon,
  .security-command-panels,
  .security-radar-grid,
  .security-stat-grid,
  .security-watch-list {
    grid-template-columns: 1fr;
  }

  .security-alert-ribbon {
    flex-direction: column;
  }

  .security-command-copy,
  .security-radar-card,
  .security-incident-card,
  .security-watch-card,
  .security-history-shell {
    padding: 1.15rem;
    border-radius: 1.5rem;
  }

  .security-radar {
    min-height: 19rem;
  }

  .security-radar-core {
    width: 9rem;
    height: 9rem;
  }

  .security-history-list {
    padding-left: 0.95rem;
  }

  .security-history-item {
    padding-left: 1.65rem;
  }

  .signal-frame,
  .hero-visual {
    min-height: 31rem;
  }

  .hero-card-floating {
    width: 12.5rem;
  }

  .search-row {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .topbar,
  .site-footer {
    width: min(100% - 1rem, var(--shell-width));
  }

  .display-title {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .lead,
  .section-copy,
  .metric-copy,
  .feature-panel p,
  .service-card p,
  .flow-card p {
    font-size: 0.95rem;
  }

  .security-display-title {
    font-size: clamp(2.5rem, 15vw, 3.8rem);
  }

  .security-alert-ribbon-value {
    font-size: clamp(2rem, 14vw, 3rem);
  }

  .signal-center {
    width: 9.7rem;
    height: 9.7rem;
  }

  .signal-ring-1 {
    width: 11rem;
    height: 11rem;
  }

  .signal-ring-2 {
    width: 17rem;
    height: 17rem;
  }

  .signal-ring-3 {
    width: 23rem;
    height: 23rem;
  }

  .hero-card-primary,
  .hero-card-floating {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .hero-card-floating {
    top: 1rem;
  }

  .hero-card-primary {
    bottom: 1rem;
  }
}

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

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ╔══════════════════════════════════════════════════════════════╗
   ║  SERVER OPS PAGE                                             ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ── Page-level overrides ─────────────────────────────────────── */
body.page-server-ops {
  background:
    radial-gradient(circle at 10% 15%, rgba(89, 240, 207, 0.14), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(255, 191, 87, 0.12), transparent 26%),
    radial-gradient(circle at 50% 92%, rgba(121, 221, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #03070f 0%, #06101c 40%, #020509 100%);
}

body.page-server-ops .page-aura-left { background: rgba(89, 240, 207, 0.5); }
body.page-server-ops .page-aura-right { background: rgba(255, 191, 87, 0.42); }

/* ── Hero ─────────────────────────────────────────────────────── */
.ops-hero {
  padding: 4.6rem 0 0;
}

.ops-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.ops-hero-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.ops-vitals-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.ops-vital-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.ops-vital-chip-refresh {
  border-color: rgba(89, 240, 207, 0.22);
  background: rgba(89, 240, 207, 0.06);
  color: #b0f7e6;
}

.ops-vital-icon {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ── Arc gauges ───────────────────────────────────────────────── */
.ops-gauges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ops-gauge-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.ops-gauge-card::after {
  content: "";
  position: absolute;
  inset: 0 1.2rem auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.ops-gauge-svg {
  width: 100%;
  max-width: 8.8rem;
  overflow: visible;
}

.ops-gauge-track {
  stroke: rgba(255, 255, 255, 0.07);
}

.ops-gauge-arc {
  stroke: var(--accent-cyan);
  stroke-dasharray: 0 314.16;
  transition: stroke-dasharray 550ms cubic-bezier(0.2, 0.8, 0.2, 1), stroke 280ms ease;
}

.ops-gauge-card[data-warn] .ops-gauge-arc { stroke: var(--accent-gold); }
.ops-gauge-card[data-danger] .ops-gauge-arc { stroke: var(--accent-coral); }

.ops-gauge-val {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  fill: #f4efe6;
}

.ops-gauge-unit-txt {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 11px;
  fill: #9fb2ca;
}

.ops-gauge-label {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Metrics section ──────────────────────────────────────────── */
.ops-metrics-section {
  padding-top: 1.5rem;
}

/* ── Sparkline cards ──────────────────────────────────────────── */
.ops-spark-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.ops-spark-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018));
}

.ops-spark-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.9rem 1rem 0.5rem;
}

.ops-spark-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ops-spark-current {
  font-size: 0.88rem;
  font-weight: 500;
  color: #e4f0ff;
}

.ops-spark-svg {
  display: block;
  width: 100%;
  height: 3rem;
}

.ops-spark-fill {
  fill: rgba(121, 221, 255, 0.14);
}

.ops-spark-fill-teal {
  fill: rgba(89, 240, 207, 0.14);
}

.ops-spark-fill-gold {
  fill: rgba(255, 191, 87, 0.14);
}

.ops-spark-line {
  stroke: #79ddff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ops-spark-line-teal { stroke: #59f0cf; }
.ops-spark-line-gold { stroke: #ffbf57; }

/* ── Detail cards (storage + system) ─────────────────────────── */
.ops-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.ops-detail-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ops-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.ops-detail-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.ops-detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: #e4f0ff;
}

.ops-detail-badge-hdd[data-mounted="true"] {
  border-color: rgba(89, 240, 207, 0.32);
  background: rgba(89, 240, 207, 0.1);
  color: #d0fff3;
}

.ops-detail-badge-hdd[data-mounted="false"] {
  border-color: rgba(255, 139, 98, 0.32);
  background: rgba(255, 139, 98, 0.1);
  color: #ffe5d9;
}

/* Storage bar */
.ops-bar-shell {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.ops-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-cyan), rgba(121, 221, 255, 0.7));
  transition: width 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ops-bar-fill-gold {
  background: linear-gradient(90deg, var(--accent-gold), rgba(255, 191, 87, 0.7));
}

.ops-bar-fill[data-warn] {
  background: linear-gradient(90deg, var(--accent-gold), rgba(255, 191, 87, 0.7));
}

.ops-bar-fill[data-danger] {
  background: linear-gradient(90deg, var(--accent-coral), rgba(255, 139, 98, 0.7));
}

.ops-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.ops-detail-stats span {
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: #d8e6f5;
}

.ops-io-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ops-io-chip {
  font-size: 0.78rem;
  color: var(--muted);
}

.ops-io-chip strong {
  color: #e4f0ff;
}

/* System info grid */
.ops-sysinfo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ops-sysinfo-tile {
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(148, 172, 197, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.ops-sysinfo-tile span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.ops-sysinfo-tile strong {
  font-size: 0.92rem;
  color: #e4f0ff;
}

/* ── Operator actions ─────────────────────────────────────────── */
.ops-actions-section {
  padding-top: 3.8rem;
}

.ops-section-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ops-actions-header {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.ops-actions-hint {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

.ops-actions-hint code {
  font-size: 0.84em;
  padding: 0.12em 0.45em;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c8dff5;
}

.ops-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ops-action-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018));
}

.ops-action-card-danger {
  border-color: rgba(255, 139, 98, 0.24);
  background: linear-gradient(180deg, rgba(255, 139, 98, 0.08), rgba(255, 139, 98, 0.03));
}

.ops-action-card-backup {
  border-color: rgba(255, 191, 87, 0.24);
  background: linear-gradient(180deg, rgba(255, 191, 87, 0.08), rgba(255, 191, 87, 0.03));
}

.ops-action-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ops-action-icon {
  font-style: normal;
  font-size: 1.45rem;
  line-height: 1;
}

.ops-action-top h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ops-action-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.94rem;
  margin-bottom: 1.35rem;
}

.ops-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background 220ms ease, border-color 220ms ease;
}

.ops-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.ops-action-btn:not(:disabled):hover {
  transform: translateY(-2px);
}

.ops-action-btn-danger {
  color: #07101c;
  background: var(--accent-coral);
  border-color: rgba(255, 139, 98, 0.4);
  box-shadow: 0 10px 30px rgba(255, 139, 98, 0.2);
}

.ops-action-btn-danger[data-confirm="pending"] {
  background: #ff4d1c;
  box-shadow: 0 0 0 4px rgba(255, 77, 28, 0.22);
  animation: ops-confirm-pulse 0.8s ease-in-out infinite;
}

.ops-action-btn-backup {
  color: #07101c;
  background: var(--accent-gold);
  border-color: rgba(255, 191, 87, 0.4);
  box-shadow: 0 10px 30px rgba(255, 191, 87, 0.16);
}

.ops-action-btn-backup[data-confirm="pending"] {
  background: #f5a800;
  box-shadow: 0 0 0 4px rgba(245, 168, 0, 0.22);
  animation: ops-confirm-pulse 0.8s ease-in-out infinite;
}

@keyframes ops-confirm-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 77, 28, 0.22); }
  50% { box-shadow: 0 0 0 12px rgba(255, 77, 28, 0); }
}

/* ── Backup health ────────────────────────────────────────────── */
.ops-health-section {
  padding-top: 3.8rem;
  padding-bottom: 4rem;
}

.ops-health-header {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.ops-health-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ops-health-meta-card {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018));
}

.ops-health-meta-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.98rem;
  color: #e4f0ff;
  line-height: 1.45;
  word-break: break-word;
}

.ops-health-result-ok {
  color: #b0f7e6 !important;
}

.ops-health-result-fail {
  color: #ffb8a0 !important;
}

.ops-health-task-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}

.ops-health-empty {
  padding: 2.5rem 1.5rem;
  color: var(--muted);
  text-align: center;
}

.ops-health-empty .eyebrow {
  margin-bottom: 0.75rem;
}

.ops-health-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1px;
  background: var(--border);
}

.ops-health-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(6, 13, 24, 0.86);
}

.ops-health-task-name {
  font-size: 0.88rem;
  color: #d8e6f5;
}

.ops-health-task-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.ops-health-task-pill.is-ok {
  border: 1px solid rgba(89, 240, 207, 0.3);
  background: rgba(89, 240, 207, 0.1);
  color: #b8ffe9;
}

.ops-health-task-pill.is-fail {
  border: 1px solid rgba(255, 139, 98, 0.36);
  background: rgba(255, 139, 98, 0.12);
  color: #ffcfba;
}

.ops-health-task-pill.is-skip {
  border: 1px solid rgba(255, 191, 87, 0.28);
  background: rgba(255, 191, 87, 0.08);
  color: #ffe7b4;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .ops-gauges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 760px) {
  .ops-hero-top {
    flex-direction: column;
  }

  .ops-gauges,
  .ops-spark-grid,
  .ops-details-grid,
  .ops-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ops-health-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ops-gauges,
  .ops-spark-grid,
  .ops-action-grid {
    grid-template-columns: 1fr;
  }

  .ops-details-grid,
  .ops-health-meta {
    grid-template-columns: 1fr;
  }

  .ops-hero-title {
    font-size: clamp(2.8rem, 18vw, 4.2rem);
  }
}