:root {
  --fl-accent: #4f7df9;
  --fl-bg: #0a0a0c;
  --fl-surface: #141418;
  --fl-card: #1a1a20;
  --fl-border: rgba(255,255,255,0.08);
  --fl-text: #f0f0f2;
  --fl-text-mid: #a0a0ae;
  --fl-text-dim: #6a6a78;
  --fl-green: #34d399;
  --fl-amber: #fbbf24;
  --fl-red: #f87171;
  --fl-purple: #a78bfa;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.brand-mark img,
.brand-mark svg {
  height: 1.4em;
  width: auto;
}
.brand-mark-sm img,
.brand-mark-sm svg { height: 1em; }
.brand-mark-lg img,
.brand-mark-lg svg { height: 2.4em; }
.brand-mark-xl img,
.brand-mark-xl svg { height: 3.6em; }

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-icon img,
.brand-icon svg {
  height: 1.4em;
  width: auto;
}

.glow-ring {
  position: relative;
  overflow: hidden;
}
.glow-ring::before,
.glow-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow-ring > * {
  position: relative;
  z-index: 1;
}

.glow-ring[data-intensity="1"]::before,
.glow-ring[data-intensity="1"]::after {
  display: none;
}

.glow-ring[data-intensity="2"]::before {
  width: 240px;
  height: 240px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,125,249,0.06), transparent 70%);
}
.glow-ring[data-intensity="2"]::after { display: none; }

.glow-ring[data-intensity="3"]::before {
  width: 340px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,125,249,0.08), transparent 70%);
}
.glow-ring[data-intensity="3"]::after { display: none; }

.glow-ring[data-intensity="4"]::before {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,125,249,0.09), transparent 60%);
}
.glow-ring[data-intensity="4"]::after {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 58%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,125,249,0.09), transparent 60%);
}

.glow-ring[data-intensity="5"]::before {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,125,249,0.11), transparent 55%);
  animation: glow-pulse 4s ease-in-out infinite;
}
.glow-ring[data-intensity="5"]::after {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,125,249,0.11), transparent 55%);
  animation: glow-pulse 4s ease-in-out infinite 2s;
}

@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.8; }
}

@media (prefers-reduced-motion: reduce) {
  .glow-ring::before,
  .glow-ring::after {
    animation: none !important;
  }
  .perry-mark-pulse {
    animation: none !important;
  }
}

.perry-mark {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
}
.perry-mark--xs { height: 14px; width: 14px; }
.perry-mark--sm { height: 16px; width: 16px; }
.perry-mark--md { height: 24px; width: 24px; }
.perry-mark--lg { height: 42px; width: 42px; }
.perry-mark--xl { height: 72px; width: 72px; border-radius: 18px; }
.perry-mark--hero { height: 96px; width: 96px; border-radius: 22px; }

@keyframes perry-pulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px rgba(79,125,249,0.2)); }
  50% { opacity: 0.8; filter: drop-shadow(0 0 12px rgba(79,125,249,0.4)); }
}
.perry-mark-pulse {
  animation: perry-pulse 2s ease-in-out infinite;
}
