nav { font-family: monospace; font-size: 0.85em; padding: 12px 20px; }
nav a { color: inherit; text-decoration: none; }
nav a:hover { text-decoration: underline; }

body { margin: 0; font-family: monospace; background: #f8f8f8; }

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 { font-size: 1.4em; margin: 0 0 12px; }
p { color: #555; line-height: 1.6; margin: 0 0 24px; }

.open-btn {
  font-family: monospace;
  font-size: 0.9em;
  padding: 10px 24px;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.open-btn:hover { opacity: 0.8; }

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.overlay.active {
  display: flex;
  animation: overlay-in 0.2s ease forwards;
}

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal */
.modal {
  background: #fff;
  padding: 40px;
  max-width: 480px;
  width: calc(100% - 40px);
  animation: modal-in 0.25s ease forwards;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal h2 {
  margin: 0 0 16px;
  font-size: 1.2em;
}

.modal p {
  font-size: 0.9em;
  margin: 0 0 12px;
}

.modal code, .modal kbd {
  background: #f0f0f0;
  padding: 2px 6px;
  font-family: monospace;
}

.close-btn {
  margin-top: 24px;
  font-family: monospace;
  font-size: 0.85em;
  padding: 8px 20px;
  background: none;
  border: 1px solid #222;
  color: #222;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.close-btn:hover {
  background: #222;
  color: #fff;
}
