:root {
  --bg: #07090b;
  --surface: #0f1418;
  --surface-2: #151b20;
  --border: #1f272e;
  --text: #f3f5f6;
  --muted: #9aa4ad;
  --lime: #c4f82a;
  --lime-strong: #b4ec12;
  --lime-glow: rgba(196, 248, 42, 0.22);
  --teal: #5fe3cf;
  --danger: #ff5a5f;
  --radius: 18px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 50% -120px, rgba(196, 248, 42, 0.08), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

/* ---------- alert ---------- */

.alert-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--lime);
  color: #0a0d06;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-align: center;
}

.alert-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0d06;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* ---------- topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px 0;
}

.topbar--center {
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 26px;
}

.brand-path {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- author ---------- */

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 0;
  padding: 0 20px;
}

.author-photo {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 3px rgba(196, 248, 42, 0.14);
}

.author-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.footer p {
  margin: 0 0 8px;
}

.footer-disclaimer {
  opacity: 0.7;
  font-size: 11px;
}

@media (prefers-reduced-motion: reduce) {
  .alert-dot {
    animation: none;
  }
}
